summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_gre/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/if_gre/Makefile')
-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