1# $FreeBSD$
2
3KMOD  = if_lmc
4.PATH: ${.CURDIR}/../../dev/lmc
5
6SRCS  = if_lmc.c if_lmc.h
7SRCS += device_if.h bus_if.h pci_if.h
8SRCS += opt_inet.h opt_inet6.h
9SRCS += opt_netgraph.h
10SRCS += opt_global.h
11SRCS += opt_bpf.h
12
13opt_inet.h:
14	echo "#define INET 1"     > ${.TARGET}
15opt_inet6.h:
16	echo "#define INET6 0"    > ${.TARGET}
17opt_netgraph.h:
18	echo "#define NETGRAPH 1" > ${.TARGET}
19opt_global.h:
20	echo "#define ALTQ 1"     > ${.TARGET}
21opt_bpf.h: # FreeBSD-5:
22	echo "#define DEV_BPF 1"  > ${.TARGET}
23
24.include <bsd.kmod.mk>
25