summaryrefslogtreecommitdiffstats
path: root/sys/modules/aha
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/aha')
-rw-r--r--sys/modules/aha/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/sys/modules/aha/Makefile b/sys/modules/aha/Makefile
new file mode 100644
index 0000000..e0d4f3f
--- /dev/null
+++ b/sys/modules/aha/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+S = ${.CURDIR}/../..
+.PATH: $S/dev/aha
+KMOD = aha
+SRCS = aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h aha.h \
+ opt_scsi.h isa_if.h
+CLEANFILES += aha.h device_if.h bus_if.h opt_cam.h opt_scsi.h isa_if.h
+CFLAGS += ${DEBUG_FLAGS}
+
+aha.h:
+ echo "#define NAHA 1" > aha.h
+
+opt_cam.h:
+ touch opt_cam.h
+
+opt_scsi.h:
+ echo "#define SCSI_DELAY 15000" > opt_scsi.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
+
+isa_if.h: $S/kern/makedevops.pl $S/isa/isa_if.m
+ perl $S/kern/makedevops.pl -h $S/isa/isa_if.m
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud