diff options
author | bde <bde@FreeBSD.org> | 1999-11-28 18:53:47 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-11-28 18:53:47 +0000 |
commit | d7156780d39bcfe9261d9a092c4b4fcbf122a73e (patch) | |
tree | 18228d1b21d9e19229ad8461e2b326297d531fef /sys/modules/bktr | |
parent | 927cbd2a6cdb5a394f334292d5ba382cf783967f (diff) | |
download | FreeBSD-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/bktr')
-rw-r--r-- | sys/modules/bktr/Makefile | 21 |
1 files changed, 2 insertions, 19 deletions
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 <bsd.kmod.mk> |