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