1150849Sscottl# $FreeBSD$ 2150849Sscottl 3150849SscottlKMOD = if_lmc 4150849Sscottl.PATH: ${.CURDIR}/../../dev/lmc 5150849Sscottl 6150849SscottlSRCS = if_lmc.c if_lmc.h 7150849SscottlSRCS += device_if.h bus_if.h pci_if.h 8150849SscottlSRCS += opt_inet.h opt_inet6.h 9150849SscottlSRCS += opt_netgraph.h 10150849SscottlSRCS += opt_global.h 11150849SscottlSRCS += opt_bpf.h 12150849Sscottl 13150849Sscottlopt_inet.h: 14150849Sscottl echo "#define INET 1" > ${.TARGET} 15150849Sscottlopt_inet6.h: 16150849Sscottl echo "#define INET6 0" > ${.TARGET} 17150849Sscottlopt_netgraph.h: 18150849Sscottl echo "#define NETGRAPH 1" > ${.TARGET} 19150849Sscottlopt_global.h: 20150849Sscottl echo "#define ALTQ 1" > ${.TARGET} 21150849Sscottlopt_bpf.h: # FreeBSD-5: 22150849Sscottl echo "#define DEV_BPF 1" > ${.TARGET} 23150849Sscottl 24150849Sscottl.include <bsd.kmod.mk> 25