diff options
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/rl/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/modules/rl/Makefile b/sys/modules/rl/Makefile new file mode 100644 index 000000000000..a7c836b629ea --- /dev/null +++ b/sys/modules/rl/Makefile @@ -0,0 +1,34 @@ +# $FreeBSD$ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = rl +SRCS = if_rl.c rl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS += miibus_if.h +CLEANFILES += rl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CLEANFILES += miibus_if.h + +CFLAGS += ${DEBUG_FLAGS} + +rl.h: + echo "#define NRL 1" > rl.h + +bpf.h: + echo "#define NBPF 1" > bpf.h + +opt_bdg.h: + touch opt_bdg.h + +device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m + perl $S/kern/makedevops.pl -h $S/kern/device_if.m + +bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m + perl $S/kern/makedevops.pl -h $S/kern/bus_if.m + +pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m + perl $S/kern/makedevops.pl -h $S/pci/pci_if.m + +miibus_if.h: $S/kern/makedevops.pl $S/dev/mii/miibus_if.m + perl $S/kern/makedevops.pl -h $S/dev/mii/miibus_if.m + +.include <bsd.kmod.mk> |
