aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1999-09-22 05:07:51 +0000
committerBill Paul <wpaul@FreeBSD.org>1999-09-22 05:07:51 +0000
commit1088f6c7c1df5ce5e48fafdca32b8444e287f330 (patch)
tree2e2533389dd8e590f0a4475bfbde86c09a9a8e23 /sys/modules
parent0cdbe88198ff03186ec4aa1f3141c9cb4984f66d (diff)
Notes
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/al/Makefile34
2 files changed, 35 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 78e797031930..b5361e54261d 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -2,7 +2,7 @@
# XXX present but broken: atapi ip_mroute_mod joy pcic
-SUBDIR= ax ccd cd9660 coda dm fdesc fxp if_disc if_ppp if_sl if_tun ipfw \
+SUBDIR= ax al ccd cd9660 coda dm fdesc fxp if_disc if_ppp if_sl if_tun ipfw \
kernfs mfs mii msdos mx nfs ntfs nullfs pn portal procfs rl sf \
sis sk ste ti tl umapfs union vn vr wb xl
diff --git a/sys/modules/al/Makefile b/sys/modules/al/Makefile
new file mode 100644
index 000000000000..7147e1438e92
--- /dev/null
+++ b/sys/modules/al/Makefile
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+S = ${.CURDIR}/../..
+.PATH: $S/pci
+KMOD = al
+SRCS = if_al.c al.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+SRCS += miibus_if.h
+CLEANFILES += al.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+CLEANFILES += miibus_if.h
+CFLAGS += ${DEBUG_FLAGS}
+KMODDEPS = miibus
+
+al.h:
+ echo "#define NAL 1" > al.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>