summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-07-28 02:21:56 +0000
committerwpaul <wpaul@FreeBSD.org>1999-07-28 02:21:56 +0000
commit93b3dc59cda9b48f934a6b08933bb0fc5bc66e69 (patch)
tree89995d664b53ecbdfa3d1b0229158fd7ccb1e17d /sys
parent68e5873c40851692f6289ad30df176959f7b3915 (diff)
downloadFreeBSD-src-93b3dc59cda9b48f934a6b08933bb0fc5bc66e69.zip
FreeBSD-src-93b3dc59cda9b48f934a6b08933bb0fc5bc66e69.tar.gz
Add a module Makefile for the PNIC driver.
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/Makefile6
-rw-r--r--sys/modules/pn/Makefile28
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>
OpenPOWER on IntegriCloud