From 98edb3e17869504d0ada58932efa96b71f899181 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Fri, 23 Jul 1999 05:48:01 +0000 Subject: Create module directories for the xl, ti, tl and sk drivers and add them to the Makefile so that modules will be generated for /modules. --- sys/modules/Makefile | 4 ++-- sys/modules/sk/Makefile | 28 ++++++++++++++++++++++++++++ sys/modules/ti/Makefile | 31 +++++++++++++++++++++++++++++++ sys/modules/tl/Makefile | 28 ++++++++++++++++++++++++++++ sys/modules/xl/Makefile | 28 ++++++++++++++++++++++++++++ 5 files changed, 117 insertions(+), 2 deletions(-) create mode 100644 sys/modules/sk/Makefile create mode 100644 sys/modules/ti/Makefile create mode 100644 sys/modules/tl/Makefile create mode 100644 sys/modules/xl/Makefile (limited to 'sys/modules') diff --git a/sys/modules/Makefile b/sys/modules/Makefile index aad6331b3d38b..1eb4e3d6b4e12 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,9 +1,9 @@ -# $Id: Makefile,v 1.64 1999/06/12 15:11:33 roger Exp $ +# $Id: Makefile,v 1.65 1999/06/24 05:21:19 grog Exp $ # XXX present but broken: atapi ip_mroute_mod joy pcic SUBDIR= ccd cd9660 coda fdesc fxp if_disc if_ppp if_sl if_tun ipfw kernfs \ - mfs msdos nfs ntfs nullfs portal procfs umapfs union vn + mfs msdos nfs ntfs nullfs portal procfs sk ti tl umapfs union vn xl # XXX some of these can move to the general case when de-i386'ed .if ${MACHINE_ARCH} == "i386" diff --git a/sys/modules/sk/Makefile b/sys/modules/sk/Makefile new file mode 100644 index 0000000000000..9c3b9ebfb50cb --- /dev/null +++ b/sys/modules/sk/Makefile @@ -0,0 +1,28 @@ +# $Id: Makefile,v 1.3 1999/07/06 19:23:01 des Exp $ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = sk +SRCS = if_sk.c sk.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CLEANFILES += sk.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CFLAGS += ${DEBUG_FLAGS} + +sk.h: + echo "#define NFXP 1" > sk.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 + +.include diff --git a/sys/modules/ti/Makefile b/sys/modules/ti/Makefile new file mode 100644 index 0000000000000..b3d2064fcff6d --- /dev/null +++ b/sys/modules/ti/Makefile @@ -0,0 +1,31 @@ +# $Id: Makefile,v 1.3 1999/07/06 19:23:01 des Exp $ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = ti +SRCS = if_ti.c ti.h bpf.h opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h +CLEANFILES += ti.h bpf.h opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h +CFLAGS += ${DEBUG_FLAGS} + +ti.h: + echo "#define NFXP 1" > ti.h + +bpf.h: + echo "#define NBPF 1" > bpf.h + +opt_bdg.h: + touch opt_bdg.h + +vlan.h: + touch vlan.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 + +.include diff --git a/sys/modules/tl/Makefile b/sys/modules/tl/Makefile new file mode 100644 index 0000000000000..515026854aeb8 --- /dev/null +++ b/sys/modules/tl/Makefile @@ -0,0 +1,28 @@ +# $Id: Makefile,v 1.3 1999/07/06 19:23:01 des Exp $ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = tl +SRCS = if_tl.c tl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CLEANFILES += tl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CFLAGS += ${DEBUG_FLAGS} + +tl.h: + echo "#define NFXP 1" > tl.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 + +.include diff --git a/sys/modules/xl/Makefile b/sys/modules/xl/Makefile new file mode 100644 index 0000000000000..d0658493e299c --- /dev/null +++ b/sys/modules/xl/Makefile @@ -0,0 +1,28 @@ +# $Id: Makefile,v 1.3 1999/07/06 19:23:01 des Exp $ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = xl +SRCS = if_xl.c xl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CLEANFILES += xl.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CFLAGS += ${DEBUG_FLAGS} + +xl.h: + echo "#define NFXP 1" > xl.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 + +.include -- cgit v1.3