aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile4
-rw-r--r--sys/modules/sf/Makefile28
2 files changed, 30 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index eaeced95aebef..6be3e15795b47 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -1,9 +1,9 @@
-# $Id: Makefile,v 1.66 1999/07/23 05:47:55 wpaul Exp $
+# $Id: Makefile,v 1.67 1999/07/24 20:55:04 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 sk ti tl \
+ kernfs mfs msdos mx nfs ntfs nullfs portal procfs sf sk ti tl \
umapfs union vn xl
# XXX some of these can move to the general case when de-i386'ed
diff --git a/sys/modules/sf/Makefile b/sys/modules/sf/Makefile
new file mode 100644
index 0000000000000..aa3df4c2e6145
--- /dev/null
+++ b/sys/modules/sf/Makefile
@@ -0,0 +1,28 @@
+# $Id: Makefile,v 1.1 1999/07/23 05:48:01 wpaul Exp $
+
+S = ${.CURDIR}/../..
+.PATH: $S/pci
+KMOD = sf
+SRCS = if_sf.c sf.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+CLEANFILES += sf.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+CFLAGS += ${DEBUG_FLAGS}
+
+sf.h:
+ echo "#define NFXP 1" > sf.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>