summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_gre
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-09-06 17:17:33 +0000
committersobomax <sobomax@FreeBSD.org>2002-09-06 17:17:33 +0000
commit5e6e3c29369ee42bd25ff1d466767eff2e34f403 (patch)
tree3f4d4e03286b95c11997a63eaaf8d3a98d95302a /sys/modules/if_gre
parent120d8027f2d5f49719c1e25827e9bf7600db4e24 (diff)
downloadFreeBSD-src-5e6e3c29369ee42bd25ff1d466767eff2e34f403.zip
FreeBSD-src-5e6e3c29369ee42bd25ff1d466767eff2e34f403.tar.gz
Add if_gre module glue.
Diffstat (limited to 'sys/modules/if_gre')
-rw-r--r--sys/modules/if_gre/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/modules/if_gre/Makefile b/sys/modules/if_gre/Makefile
new file mode 100644
index 0000000..731ffd5
--- /dev/null
+++ b/sys/modules/if_gre/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet
+
+KMOD= if_gre
+SRCS= if_gre.c ip_gre.c opt_inet.h opt_ns.h opt_atalk.h bpf.h
+
+CLEANFILES+=bpf.h
+
+opt_inet.h:
+ echo "#define INET 1" > ${.TARGET}
+
+opt_ns.h:
+ echo "#define NS 1" > ${.TARGET}
+
+opt_atalk.h:
+ echo "#define NETATALK" > ${.TARGET}
+
+bpf.h:
+ echo "#define NBPF 1" > ${.TARGET}
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud