aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/amr/Makefile
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-11-28 18:53:47 +0000
committerBruce Evans <bde@FreeBSD.org>1999-11-28 18:53:47 +0000
commit6f940b38476a3dc6ecaca7ad305eddf1f9eab154 (patch)
treea75309cf2a123fe17ec5d563ef84cd1db17898a6 /sys/modules/amr/Makefile
parentbc019cca2fb755ab66c54bc88a073e843b66bb55 (diff)
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}).
Notes
Notes: svn path=/head/; revision=53846
Diffstat (limited to 'sys/modules/amr/Makefile')
-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 f769bdcbc3b2..b83850ce094c 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>