summaryrefslogtreecommitdiff
path: root/sys/modules/mlx
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1999-10-07 02:20:32 +0000
committerMike Smith <msmith@FreeBSD.org>1999-10-07 02:20:32 +0000
commit1ac4b82b11c460d0ef82bf760b71a8b4d34be28a (patch)
treef8f2204ad2a689f97427c291924f50daee40c604 /sys/modules/mlx
parent5c0b893d0522c21710cb4cdfb9d0cfea09a59505 (diff)
Notes
Diffstat (limited to 'sys/modules/mlx')
-rw-r--r--sys/modules/mlx/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/modules/mlx/Makefile b/sys/modules/mlx/Makefile
new file mode 100644
index 000000000000..d804e85cb047
--- /dev/null
+++ b/sys/modules/mlx/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+S = ${.CURDIR}/../..
+.PATH: $S/dev/mlx
+KMOD = mlx
+SRCS = mlx.c mlx_pci.c mlx_disk.c device_if.h bus_if.h pci_if.h
+CLEANFILES += mlx.h device_if.h bus_if.h pci_if.h
+CFLAGS += ${DEBUG_FLAGS}
+
+mlx.h:
+ echo "#define NMLX 1" > mlx.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>