summaryrefslogtreecommitdiffstats
path: root/sys/modules/amr
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/amr
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/amr')
-rw-r--r--sys/modules/amr/Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/modules/amr/Makefile b/sys/modules/amr/Makefile
index f769bdc..b83850c 100644
--- a/sys/modules/amr/Makefile
+++ b/sys/modules/amr/Makefile
@@ -1,22 +1,12 @@
# $FreeBSD$
-S = ${.CURDIR}/../..
-.PATH: $S/dev/amr
+.PATH: ${.CURDIR}/../../dev/amr
KMOD = amr
SRCS = amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h
-CLEANFILES += amr.h device_if.h bus_if.h pci_if.h
+CLEANFILES = amr.h
CFLAGS += ${DEBUG_FLAGS}
amr.h:
echo "#define NAMR 1" > amr.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>
OpenPOWER on IntegriCloud