summaryrefslogtreecommitdiffstats
path: root/sys/modules/lmc/Makefile
blob: cdeaa6b9b0247d8563cdbb3843c729ed2b199335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 0" >> ${.TARGET}
opt_bpf.h: # FreeBSD-5:
	echo "#define DEV_BPF 1"  > ${.TARGET}

.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud