aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mx/Makefile
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1999-07-24 20:55:05 +0000
committerBill Paul <wpaul@FreeBSD.org>1999-07-24 20:55:05 +0000
commit8b1b6ae5a64c2379e8c9b47299bcc4023a29c274 (patch)
treef2e24a2765aa6d2299c7785e9e677bb556fe6b22 /sys/modules/mx/Makefile
parentd2aaa9a7a676061ed5020a8b941b11e08b79a2c8 (diff)
Add mx and ax modules for the Macronix and ASIX drivers and update the
modules Makefile so they get built.
Notes
Notes: svn path=/head/; revision=49067
Diffstat (limited to 'sys/modules/mx/Makefile')
-rw-r--r--sys/modules/mx/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys/modules/mx/Makefile b/sys/modules/mx/Makefile
new file mode 100644
index 000000000000..d1e2261a7e37
--- /dev/null
+++ b/sys/modules/mx/Makefile
@@ -0,0 +1,28 @@
+# $Id: Makefile,v 1.1 1999/07/23 05:48:01 wpaul Exp $
+
+S = ${.CURDIR}/../..
+.PATH: $S/pci
+KMOD = mx
+SRCS = if_mx.c mx.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+CLEANFILES += mx.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+CFLAGS += ${DEBUG_FLAGS}
+
+mx.h:
+ echo "#define NFXP 1" > mx.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>