aboutsummaryrefslogtreecommitdiff
path: root/share/examples/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2014-11-26 21:18:52 +0000
committerEnji Cooper <ngie@FreeBSD.org>2014-11-26 21:18:52 +0000
commit0341ccf22728f358d39b1f696786e7a34ce23669 (patch)
tree5b323214bcc00b4c3273f62d04e626ed9cc1da5c /share/examples/Makefile
parent38082ac9aed3bbef5c81dfee18880c1c3fec4b06 (diff)
downloadsrc-0341ccf22728f358d39b1f696786e7a34ce23669.tar.gz
src-0341ccf22728f358d39b1f696786e7a34ce23669.zip
Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries
Notes
Notes: svn path=/projects/building-blocks/; revision=275142
Diffstat (limited to 'share/examples/Makefile')
-rw-r--r--share/examples/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 7fd8723aa30c..6d8eceba130f 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 \
@@ -213,6 +206,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
+
beforeinstall: ${SHARED} etc-examples
.ORDER: ${SHARED} etc-examples