diff --git a/sys/modules/Makefile b/sys/modules/Makefile --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -216,20 +216,20 @@ linuxkpi_wlan \ ${_lio} \ lpt \ - mac_biba \ - mac_bsdextended \ - mac_ifoff \ - mac_lomac \ - mac_mls \ - mac_none \ - mac_ntpd \ - mac_partition \ - mac_pimd \ - mac_portacl \ - mac_priority \ - mac_seeotheruids \ - mac_stub \ - mac_test \ + ${_mac_biba} \ + ${_mac_bsdextended} \ + ${_mac_ifoff} \ + ${_mac_lomac} \ + ${_mac_mls} \ + ${_mac_none} \ + ${_mac_ntpd} \ + ${_mac_partition} \ + ${_mac_pimd} \ + ${_mac_portacl} \ + ${_mac_priority} \ + ${_mac_seeotheruids} \ + ${_mac_stub} \ + ${_mac_test} \ ${_malo} \ ${_mana} \ md \ @@ -541,6 +541,24 @@ _vmware= vmware .endif +# MAC framework +.if ${KERN_OPTS:MMAC} || defined(ALL_MODULES) +_mac_biba= mac_biba +_mac_bsdextended= mac_bsdextended +_mac_ifoff= mac_ifoff +_mac_lomac= mac_lomac +_mac_mls= mac_mls +_mac_none= mac_none +_mac_ntpd= mac_ntpd +_mac_partition= mac_partition +_mac_pimd= mac_pimd +_mac_portacl= mac_portacl +_mac_priority= mac_priority +_mac_seeotheruids= mac_seeotheruids +_mac_stub= mac_stub +_mac_test= mac_test +.endif + .if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES) _netgraph= netgraph .endif