svn commit: r275165 - projects/building-blocks/include
Garrett Cooper
ngie at FreeBSD.org
Thu Nov 27 04:01:40 UTC 2014
Author: ngie
Date: Thu Nov 27 04:01:39 2014
New Revision: 275165
URL: https://svnweb.freebsd.org/changeset/base/275165
Log:
Honor MK_ATM, MK_CUSE, and MK_NETGRAPH_SUPPORT
Shuffle around conditionals so they're better sorted
Modified:
projects/building-blocks/include/Makefile
Modified: projects/building-blocks/include/Makefile
==============================================================================
--- projects/building-blocks/include/Makefile Thu Nov 27 03:59:57 2014 (r275164)
+++ projects/building-blocks/include/Makefile Thu Nov 27 04:01:39 2014 (r275165)
@@ -36,8 +36,8 @@ PHDRS= sched.h _semaphore.h
LHDRS= aio.h errno.h fcntl.h linker_set.h poll.h stdatomic.h stdint.h \
syslog.h ucontext.h
-LDIRS= bsm cam geom net net80211 netgraph netinet netinet6 \
- netipsec netnatm netsmb nfs nfsclient nfsserver sys vm
+LDIRS= bsm cam geom net net80211 netinet netinet6 \
+ netipsec netsmb nfs nfsclient nfsserver sys vm
LSUBDIRS= cam/ata cam/scsi \
dev/acpica dev/agp dev/an dev/bktr dev/ciss dev/filemon dev/firewire \
@@ -45,24 +45,40 @@ LSUBDIRS= cam/ata cam/scsi \
dev/ic dev/iicbus ${_dev_ieee488} dev/io dev/lmc dev/mfi dev/nvme \
dev/ofw dev/pbio dev/pci ${_dev_powermac_nvram} dev/ppbus dev/smbus \
dev/speaker dev/utopia dev/vkbd dev/wi \
- fs/cuse \
fs/devfs fs/fdescfs fs/msdosfs fs/nandfs fs/nfs fs/nullfs \
fs/procfs fs/smbfs fs/udf fs/unionfs \
geom/cache geom/concat geom/eli geom/gate geom/journal geom/label \
geom/mirror geom/mountver geom/multipath geom/nop \
geom/raid geom/raid3 geom/shsec geom/stripe geom/virstor \
- netgraph/atm netgraph/netflow \
security/audit \
security/mac_biba security/mac_bsdextended security/mac_lomac \
security/mac_mls security/mac_partition \
ufs/ffs ufs/ufs
+LSUBSUBDIRS= dev/mpt/mpilib
+
+.if ${MK_ATM} != "no"
+LDIRS+= netnatm
+LSUBDIRS+= netgraph/atm
+.endif
+
+.if ${MK_BLUETOOTH} != "no"
+LSUBSUBDIRS+= netgraph/bluetooth/include
+.endif
+
+.if ${MK_CUSE} != "no"
+LSUBDIRS+= fs/cuse
+.endif
+
+.if ${MK_NETGRAPH_SUPPORT} != "no"
+LDIRS+= netgraph
+LSUBDIRS+= netgraph/netflow
+.endif
+
.if ${MK_USB} != "no"
LSUBDIRS+= dev/usb
.endif
-LSUBSUBDIRS= dev/mpt/mpilib
-
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
_dev_powermac_nvram= dev/powermac_nvram
.endif
@@ -80,10 +96,6 @@ INCS+= gssapi.h
INCS+= hesiod.h
.endif
-.if ${MK_BLUETOOTH} != "no"
-LSUBSUBDIRS+= netgraph/bluetooth/include
-.endif
-
# Handle the #define aliases for libiconv
.if ${MK_ICONV} == "yes"
INCS+= iconv.h
More information about the svn-src-projects
mailing list