summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/modules/3dfx/Makefile18
-rw-r--r--sys/modules/tdfx/Makefile18
2 files changed, 36 insertions, 0 deletions
diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile
new file mode 100644
index 0000000..6f97d3e
--- /dev/null
+++ b/sys/modules/3dfx/Makefile
@@ -0,0 +1,18 @@
+.PATH: $(.CURDIR)/../../dev/tdfx
+KMOD = tdfx
+NOMAN = YES
+SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
+ tdfx_vars.h tdfx_pci.c
+INCSRC = ../../sys
+
+# Uncomment this for debugging messages
+TDFX_VERBOSE = "\#define TDFX_VERBOSE"
+
+# kludge to allow opt_tdfx.h to exist
+pci.h: opt_tdfx.h
+ echo "#define NPCI 1" > pci.h
+
+opt_tdfx.h:
+ echo $(TDFX_VERBOSE) > opt_tdfx.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/tdfx/Makefile b/sys/modules/tdfx/Makefile
new file mode 100644
index 0000000..6f97d3e
--- /dev/null
+++ b/sys/modules/tdfx/Makefile
@@ -0,0 +1,18 @@
+.PATH: $(.CURDIR)/../../dev/tdfx
+KMOD = tdfx
+NOMAN = YES
+SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
+ tdfx_vars.h tdfx_pci.c
+INCSRC = ../../sys
+
+# Uncomment this for debugging messages
+TDFX_VERBOSE = "\#define TDFX_VERBOSE"
+
+# kludge to allow opt_tdfx.h to exist
+pci.h: opt_tdfx.h
+ echo "#define NPCI 1" > pci.h
+
+opt_tdfx.h:
+ echo $(TDFX_VERBOSE) > opt_tdfx.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud