aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/netgraph/iface/Makefile
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1999-10-21 09:06:11 +0000
committerJulian Elischer <julian@FreeBSD.org>1999-10-21 09:06:11 +0000
commit4cf49a43559ed9fdad601bdcccd2c55963008675 (patch)
tree722c03ee4d750dd89ed43b028c35302fbfd03bfd /sys/modules/netgraph/iface/Makefile
parent67494b1a71eccedcce178eba53e7d31f35d44016 (diff)
Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr and if_ar drivers, and PPPOE support soon. See: ftp://ftp.whistle.com/pub/archie/netgraph/index.html for on-line manual pages. Reviewed by: Doug Rabson (dfr@freebsd.org) Obtained from: Whistle CVS tree
Notes
Notes: svn path=/head/; revision=52419
Diffstat (limited to 'sys/modules/netgraph/iface/Makefile')
-rw-r--r--sys/modules/netgraph/iface/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/sys/modules/netgraph/iface/Makefile b/sys/modules/netgraph/iface/Makefile
new file mode 100644
index 000000000000..a76106996ef0
--- /dev/null
+++ b/sys/modules/netgraph/iface/Makefile
@@ -0,0 +1,39 @@
+# $FreeBSD$
+# $Whistle: Makefile,v 1.2 1999/01/19 19:39:21 archie Exp $
+
+KMOD= ng_iface
+SRCS= ng_iface.c bpfilter.h opt_inet.h opt_atalk.h opt_ipx.h
+MAN8= ng_iface.8
+KMODDEPS= netgraph
+
+IFACE_FILTER?= 0 # 0/1 - requires bpf configured in kernel
+IFACE_INET?= 1 # 0/1 - requires INET configured in kernel
+IFACE_NETATALK?= 0 # 0/1 - requires NETATALK configured in kernel
+IFACE_IPX?= 0 # 0/1 - requires IPX configured in kernel
+
+CFLAGS+= ${PROTOS}
+
+CLEANFILES+= bpfilter.h opt_inet.h opt_atalk.h opt_ipx.h
+
+bpfilter.h:
+ echo "#define NBPFILTER ${IFACE_FILTER}" > bpfilter.h
+
+opt_inet.h:
+ touch opt_inet.h
+.if ${IFACE_INET} > 0
+ echo "#define INET 1" > opt_inet.h
+.endif
+
+opt_atalk.h:
+ touch opt_atalk.h
+.if ${IFACE_NETATALK} > 0
+ echo "#define NETATALK ${IFACE_NETATALK}" > opt_atalk.h
+.endif
+
+opt_ipx.h:
+ touch opt_ipx.h
+.if ${IFACE_IPX} > 0
+ echo "#define IPX ${IFACE_IPX}" > opt_ipx.h
+.endif
+
+.include <bsd.kmod.mk>