Honor MK_NETGRAPH for netgraph components

This commit is contained in:
Enji Cooper 2014-11-27 00:10:16 +00:00
parent 49a61f07c1
commit e26856d614
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/building-blocks/; revision=275157

View File

@ -20,7 +20,6 @@ LDIRS= BSD_daemon \
kld \
libvgl \
mdoc \
netgraph \
perfmon \
ppi \
ppp \
@ -99,13 +98,6 @@ XFILES= BSD_daemon/FreeBSD.pfa \
mdoc/example.3 \
mdoc/example.4 \
mdoc/example.9 \
netgraph/ether.bridge \
netgraph/frame_relay \
netgraph/ngctl \
netgraph/raw \
netgraph/udp.tunnel \
netgraph/virtual.chain \
netgraph/virtual.lan \
perfmon/Makefile \
perfmon/README \
perfmon/perfmon.c \
@ -206,6 +198,17 @@ XFILES+= hast/ucarp.sh \
hast/vip-up.sh
.endif
.if ${MK_NETGRAPH} != "no"
LDIRS+= netgraph
XFILES+= netgraph/ether.bridge \
netgraph/frame_relay \
netgraph/ngctl \
netgraph/raw \
netgraph/udp.tunnel \
netgraph/virtual.chain \
netgraph/virtual.lan
.endif
.if ${MK_USB} != "no"
LDIRS+= libusb20
XFILES+= libusb20/Makefile \