svn commit: r275157 - projects/building-blocks/share/examples

Garrett Cooper ngie at FreeBSD.org
Thu Nov 27 00:10:17 UTC 2014


Author: ngie
Date: Thu Nov 27 00:10:16 2014
New Revision: 275157
URL: https://svnweb.freebsd.org/changeset/base/275157

Log:
  Honor MK_NETGRAPH for netgraph components

Modified:
  projects/building-blocks/share/examples/Makefile

Modified: projects/building-blocks/share/examples/Makefile
==============================================================================
--- projects/building-blocks/share/examples/Makefile	Thu Nov 27 00:02:42 2014	(r275156)
+++ projects/building-blocks/share/examples/Makefile	Thu Nov 27 00:10:16 2014	(r275157)
@@ -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 \


More information about the svn-src-projects mailing list