1# $FreeBSD$ 2 3S = ${.CURDIR}/../.. 4.PATH: $S/pci 5KMOD = if_xl 6SRCS = if_xl.c xl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h 7SRCS += miibus_if.h 8CLEANFILES += xl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h 9CLEANFILES += miibus_if.h 10CFLAGS += ${DEBUG_FLAGS} 11KMODDEPS = miibus 12 13xl.h: 14 echo "#define NXL 1" > xl.h 15 16bpf.h: 17 echo "#define NBPF 1" > bpf.h 18 19opt_bdg.h: 20 touch opt_bdg.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 31miibus_if.h: $S/kern/makedevops.pl $S/dev/mii/miibus_if.m 32 perl $S/kern/makedevops.pl -h $S/dev/mii/miibus_if.m 33 34.include <bsd.kmod.mk> 35