summaryrefslogtreecommitdiffstats
path: root/sys/modules/aha
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-11-28 18:53:47 +0000
committerbde <bde@FreeBSD.org>1999-11-28 18:53:47 +0000
commitd7156780d39bcfe9261d9a092c4b4fcbf122a73e (patch)
tree18228d1b21d9e19229ad8461e2b326297d531fef /sys/modules/aha
parent927cbd2a6cdb5a394f334292d5ba382cf783967f (diff)
downloadFreeBSD-src-d7156780d39bcfe9261d9a092c4b4fcbf122a73e.zip
FreeBSD-src-d7156780d39bcfe9261d9a092c4b4fcbf122a73e.tar.gz
Removed special rules for building and cleaning device interface files
and empty options files. The rules are now generated automatically in bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).
Diffstat (limited to 'sys/modules/aha')
-rw-r--r--sys/modules/aha/Makefile17
1 files changed, 2 insertions, 15 deletions
diff --git a/sys/modules/aha/Makefile b/sys/modules/aha/Makefile
index e0d4f3f..295124f6 100644
--- a/sys/modules/aha/Makefile
+++ b/sys/modules/aha/Makefile
@@ -1,29 +1,16 @@
# $FreeBSD$
-S = ${.CURDIR}/../..
-.PATH: $S/dev/aha
+.PATH: ${.CURDIR}/../../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
+CLEANFILES = aha.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