Makefile revision 50675
1264935Sgjb# $FreeBSD: head/sys/modules/wb/Makefile 50675 1999-08-30 23:08:32Z wpaul $ 2264935Sgjb 3264935SgjbS = ${.CURDIR}/../.. 4264935Sgjb.PATH: $S/pci 5264935SgjbKMOD = wb 6264935SgjbSRCS = if_wb.c wb.h bpf.h opt_bdg.h device_if.h 7264935SgjbSRCS += bus_if.h miibus_if.h pci_if.h 8264935SgjbCLEANFILES += wb.h bpf.h opt_bdg.h device_if.h 9264935SgjbCLEANFILES += bus_if.h miibus_if.h pci_if.h 10264935SgjbCFLAGS += ${DEBUG_FLAGS} 11264935Sgjb 12264935Sgjbwb.h: 13264935Sgjb echo "#define NWB 1" > wb.h 14264935Sgjb 15264935Sgjbbpf.h: 16264935Sgjb echo "#define NBPF 1" > bpf.h 17264935Sgjb 18264935Sgjbopt_bdg.h: 19264935Sgjb touch opt_bdg.h 20264935Sgjb 21264935Sgjbdevice_if.h: $S/kern/makedevops.pl $S/kern/device_if.m 22264935Sgjb perl $S/kern/makedevops.pl -h $S/kern/device_if.m 23264935Sgjb 24264935Sgjbbus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m 25264935Sgjb perl $S/kern/makedevops.pl -h $S/kern/bus_if.m 26264935Sgjb 27264935Sgjbpci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m 28264935Sgjb perl $S/kern/makedevops.pl -h $S/pci/pci_if.m 29264935Sgjb 30264935Sgjbmiibus_if.h: $S/kern/makedevops.pl $S/dev/mii/miibus_if.m 31264935Sgjb perl $S/kern/makedevops.pl -h $S/dev/mii/miibus_if.m 32264935Sgjb 33264935Sgjb.include <bsd.kmod.mk> 34264935Sgjb