From d7156780d39bcfe9261d9a092c4b4fcbf122a73e Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 28 Nov 1999 18:53:47 +0000 Subject: 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}). --- sys/modules/bktr/Makefile | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'sys/modules/bktr') diff --git a/sys/modules/bktr/Makefile b/sys/modules/bktr/Makefile index e884a35..a341d6a 100644 --- a/sys/modules/bktr/Makefile +++ b/sys/modules/bktr/Makefile @@ -11,14 +11,12 @@ # $FreeBSD$ -S= ${.CURDIR}/../.. -.PATH: $S/dev/bktr +.PATH: ${.CURDIR}/../../dev/bktr KMOD= bktr SRCS= bktr_core.c bktr_os.c bktr_audio.c bktr_tuner.c bktr_card.c \ bktr.h opt_devfs.h opt_bktr.h smbus.h bus_if.h device_if.h \ pci_if.h vnode_if.h -CLEANFILES += bktr.h opt_devfs.h opt_bktr.h smbus.h bus_if.h device_if.h \ - pci_if.h vnode_if.h vnode_if.c +CLEANFILES= bktr.h smbus.h bktr.h: echo "#define NBKTR 1" > bktr.h @@ -28,19 +26,4 @@ bktr.h: smbus.h: echo "#define NSMBUS 0" > smbus.h -opt_devfs.h: - touch opt_devfs.h - -opt_bktr.h: - touch opt_bktr.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 -- cgit v1.1