diff options
-rw-r--r-- | sys/modules/Makefile | 6 | ||||
-rw-r--r-- | sys/modules/pn/Makefile | 28 |
2 files changed, 31 insertions, 3 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 6be3e15..031d507 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,10 +1,10 @@ -# $Id: Makefile,v 1.67 1999/07/24 20:55:04 wpaul Exp $ +# $Id: Makefile,v 1.68 1999/07/25 04:32:37 wpaul Exp $ # XXX present but broken: atapi ip_mroute_mod joy pcic SUBDIR= ax ccd cd9660 coda fdesc fxp if_disc if_ppp if_sl if_tun ipfw \ - kernfs mfs msdos mx nfs ntfs nullfs portal procfs sf sk ti tl \ - umapfs union vn xl + kernfs mfs msdos mx nfs ntfs nullfs pn portal procfs sf 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/pn/Makefile b/sys/modules/pn/Makefile new file mode 100644 index 0000000..8398326 --- /dev/null +++ b/sys/modules/pn/Makefile @@ -0,0 +1,28 @@ +# $Id: Makefile,v 1.1 1999/07/24 20:55:05 wpaul Exp $ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = pn +SRCS = if_pn.c pn.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CLEANFILES += pn.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CFLAGS += ${DEBUG_FLAGS} + +pn.h: + echo "#define NFXP 1" > pn.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 <bsd.kmod.mk> |