Clean up more usb related files when MK_USB == no when dealing with

manpages, libraries, and binaries
This commit is contained in:
Enji Cooper
2014-11-26 21:18:52 +00:00
parent 38082ac9ae
commit 0341ccf227
6 changed files with 462 additions and 67 deletions
+10 -7
View File
@@ -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