summaryrefslogtreecommitdiff
path: root/sys/modules/hatm
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-06-17 16:12:50 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-06-17 16:12:50 +0000
commitc594298beec2d848d0879685de5f7050e019243a (patch)
treeb68cd977110a00c4fb5cb1d12d68e24f6f76ba1a /sys/modules/hatm
parentfe5c32293186e2e9ee75cd837ed0c131b8b7b8c9 (diff)
Notes
Diffstat (limited to 'sys/modules/hatm')
-rw-r--r--sys/modules/hatm/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/modules/hatm/Makefile b/sys/modules/hatm/Makefile
new file mode 100644
index 000000000000..807740e25c0f
--- /dev/null
+++ b/sys/modules/hatm/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+#
+# Author: Harti Brandt <harti@freebsd.org>
+#
+.PATH: ${.CURDIR}/../../dev/hatm
+
+KMOD= if_hatm
+SRCS= if_hatm.c if_hatm_intr.c if_hatm_ioctl.c if_hatm_tx.c if_hatm_rx.c \
+ device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h
+
+CFLAGS+= -DENABLE_BPF
+# CFLAGS+= -DHATM_DEBUG -DINVARIANT_SUPPORT -DINVARIANTS -g
+# LDFLAGS+= -g
+
+opt_inet.h:
+ echo "#define INET 1" > opt_inet.h
+
+opt_natm.h:
+ echo "#define NATM 1" > opt_natm.h
+
+.include <bsd.kmod.mk>