diff options
author | peter <peter@FreeBSD.org> | 2001-01-29 11:38:39 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-01-29 11:38:39 +0000 |
commit | c617fc9c7d3189887e4f9ba9fbdb43bf72e8cabd (patch) | |
tree | 04162d51a2fd4adc369836d595999159559f2e2b /sys/modules/3dfx | |
parent | 21b418d3ba25f0a01ae20c28971c7dde0a47cee4 (diff) | |
download | FreeBSD-src-c617fc9c7d3189887e4f9ba9fbdb43bf72e8cabd.zip FreeBSD-src-c617fc9c7d3189887e4f9ba9fbdb43bf72e8cabd.tar.gz |
Zap silly #if NPCI > 0 and the hoops that we jump through for the module
case. Use an 'and' case in conf/files so that it only gets compiled if
pci is present.
Diffstat (limited to 'sys/modules/3dfx')
-rw-r--r-- | sys/modules/3dfx/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile index 5c67621..4973bb4 100644 --- a/sys/modules/3dfx/Makefile +++ b/sys/modules/3dfx/Makefile @@ -6,12 +6,10 @@ MAINTAINER= cokane@FreeBSD.org KMOD= 3dfx NOMAN= YES -SRCS= opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ +SRCS= opt_tdfx.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ tdfx_vars.h tdfx_pci.c INCSRC= ../../sys -CLEANFILES= pci.h - .if ${MACHINE_ARCH} == "i386" # This line enables linux ioctl handling by default # comment out if you don't want it @@ -21,9 +19,6 @@ TDFX_OPTS= "\#define TDFX_LINUX" # Uncomment this for debugging messages #CFLAGS+= -DDEBUG -pci.h: - echo "#define NPCI 1" > pci.h - opt_tdfx.h: touch opt_tdfx.h echo $(TDFX_OPTS) >> opt_tdfx.h |