1# $FreeBSD$ 2 3S = ${.CURDIR}/../.. 4.PATH: $S/pci 5KMOD = ti 6SRCS = if_ti.c ti.h bpf.h opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h 7CLEANFILES += ti.h bpf.h opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h 8CFLAGS += ${DEBUG_FLAGS} 9 10ti.h: 11 echo "#define NTI 1" > ti.h 12 13bpf.h: 14 echo "#define NBPF 1" > bpf.h 15 16opt_bdg.h: 17 touch opt_bdg.h 18 19vlan.h: 20 touch vlan.h 21 22device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m 23 perl $S/kern/makedevops.pl -h $S/kern/device_if.m 24 25bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m 26 perl $S/kern/makedevops.pl -h $S/kern/bus_if.m 27 28pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m 29 perl $S/kern/makedevops.pl -h $S/pci/pci_if.m 30 31.include <bsd.kmod.mk> 32