summaryrefslogtreecommitdiff
path: root/sys/modules/lmc
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2005-10-03 07:05:34 +0000
committerScott Long <scottl@FreeBSD.org>2005-10-03 07:05:34 +0000
commit2bc6081c9f794b7a0f33fc5f9e1b62b2a8c86cb6 (patch)
treeb27cd7ba5a306d23510b8cb37c4036f2efc7405a /sys/modules/lmc
parent56e5a87a5547ecf8eeb7ce2ff37b1cdfed9a939a (diff)
Notes
Diffstat (limited to 'sys/modules/lmc')
-rw-r--r--sys/modules/lmc/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/modules/lmc/Makefile b/sys/modules/lmc/Makefile
new file mode 100644
index 000000000000..fa565794e9f4
--- /dev/null
+++ b/sys/modules/lmc/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+KMOD = if_lmc
+.PATH: ${.CURDIR}/../../dev/lmc
+
+SRCS = if_lmc.c if_lmc.h
+SRCS += device_if.h bus_if.h pci_if.h
+SRCS += opt_inet.h opt_inet6.h
+SRCS += opt_netgraph.h
+SRCS += opt_global.h
+SRCS += opt_bpf.h
+
+opt_inet.h:
+ echo "#define INET 1" > ${.TARGET}
+opt_inet6.h:
+ echo "#define INET6 0" > ${.TARGET}
+opt_netgraph.h:
+ echo "#define NETGRAPH 1" > ${.TARGET}
+opt_global.h:
+ echo "#define ALTQ 1" > ${.TARGET}
+ echo "#define DEVICE_POLLING 1" >> ${.TARGET}
+opt_bpf.h: # FreeBSD-5:
+ echo "#define DEV_BPF 1" > ${.TARGET}
+
+.include <bsd.kmod.mk>