summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-03-24 06:55:08 +0000
committerngie <ngie@FreeBSD.org>2015-03-24 06:55:08 +0000
commitc363eff24fce54d0e276a33350140db2cd33c11a (patch)
treec9d15c2de659df11604c5a9be8a60e9ad27c9c92 /share/examples
parent67ce9fefafb276f90f26ae1847ad17c016a27744 (diff)
downloadFreeBSD-src-c363eff24fce54d0e276a33350140db2cd33c11a.zip
FreeBSD-src-c363eff24fce54d0e276a33350140db2cd33c11a.tar.gz
MFC r278135,r278202:
r278135 (by amdmi3): - Remove more files when MK_USB == no Reviewed by: ngie Approved by: ngie Differential Revision: D1600 r278202: Clean up more usb related files when MK_USB == no when dealing with manpages, libraries, and binaries Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 32d71a1..00951d9 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -18,7 +18,6 @@ LDIRS= BSD_daemon \
ipfw \
jails \
kld \
- libusb20 \
libvgl \
mdoc \
netgraph \
@@ -92,12 +91,6 @@ XFILES= BSD_daemon/FreeBSD.pfa \
kld/syscall/module/syscall.c \
kld/syscall/test/Makefile \
kld/syscall/test/call.c \
- libusb20/Makefile \
- libusb20/README \
- libusb20/util.c \
- libusb20/util.h \
- libusb20/bulk.c \
- libusb20/control.c \
libvgl/Makefile \
libvgl/demo.c \
mdoc/POSIX-copyright \
@@ -203,6 +196,16 @@ XFILES+= hast/ucarp.sh \
hast/vip-up.sh
.endif
+.if ${MK_USB} != "no"
+LDIRS+= libusb20
+XFILES+= libusb20/Makefile \
+ libusb20/README \
+ libusb20/util.c \
+ libusb20/util.h \
+ libusb20/bulk.c \
+ libusb20/control.c
+.endif
+
.if ${MACHINE_CPUARCH} == "amd64"
.if ${MK_BHYVE} != "no"
LDIRS+= bhyve
OpenPOWER on IntegriCloud