aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/if_tun
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/if_tun')
-rw-r--r--sys/modules/if_tun/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/modules/if_tun/Makefile b/sys/modules/if_tun/Makefile
new file mode 100644
index 000000000000..17dbf33b9dd9
--- /dev/null
+++ b/sys/modules/if_tun/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../net
+
+KMOD= if_tun
+SRCS= if_tun.c opt_atalk.h opt_inet.h opt_inet6.h opt_ipx.h opt_mac.h
+
+.if !defined(KERNBUILDDIR)
+opt_atalk.h:
+ echo "#define NETATALK 1" > ${.TARGET}
+
+opt_inet.h:
+ echo "#define INET 1" > ${.TARGET}
+
+opt_inet6.h:
+ echo "#define INET6 1" > ${.TARGET}
+
+opt_ipx.h:
+ echo "#define IPX 1" > ${.TARGET}
+.endif
+
+.include <bsd.kmod.mk>