mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-06 18:29:47 +00:00
26 lines
569 B
Makefile
26 lines
569 B
Makefile
# $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>
|