aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/fatm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/fatm/Makefile')
-rw-r--r--sys/modules/fatm/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/modules/fatm/Makefile b/sys/modules/fatm/Makefile
new file mode 100644
index 000000000000..3e0b8410fe25
--- /dev/null
+++ b/sys/modules/fatm/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+#
+# Author: Harti Brandt <harti@freebsd.org>
+#
+.PATH: ${.CURDIR}/../../dev/fatm
+
+KMOD= if_fatm
+SRCS= if_fatm.c device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h
+
+# CFLAGS+= -DFATM_DEBUG=0 -DINVARIANT_SUPPORT -DINVARIANTS
+
+.if !defined(KERNBUILDDIR)
+opt_inet.h:
+ echo "#define INET 1" > ${.TARGET}
+
+opt_natm.h:
+ echo "#define NATM 1" > ${.TARGET}
+.endif
+
+.include <bsd.kmod.mk>