summaryrefslogtreecommitdiffstats
path: root/sys/modules/mx/Makefile
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/mx/Makefile
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/mx/Makefile')
-rw-r--r--sys/modules/mx/Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/modules/mx/Makefile b/sys/modules/mx/Makefile
index 0ffb2f6..bbb49c0 100644
--- a/sys/modules/mx/Makefile
+++ b/sys/modules/mx/Makefile
@@ -1,25 +1,8 @@
# $FreeBSD$
-S = ${.CURDIR}/../..
-.PATH: $S/pci
+.PATH: ${.CURDIR}/../../pci
KMOD = if_mx
SRCS = if_mx.c opt_bdg.h device_if.h bus_if.h pci_if.h miibus_if.h
-CLEANFILES += opt_bdg.h device_if.h bus_if.h pci_if.h miibus_if.h
CFLAGS += ${DEBUG_FLAGS}
-opt_bdg.h:
- touch opt_bdg.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
-
-miibus_if.h: $S/kern/makedevops.pl $S/dev/mii/miibus_if.m
- perl $S/kern/makedevops.pl -h $S/dev/mii/miibus_if.m
-
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud