From 93cd41f72d524d0499f2933769a610789437a2d2 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 29 Jan 2001 11:38:39 +0000 Subject: 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. --- sys/modules/3dfx/Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/modules') diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile index 5c676213a85ba..4973bb4e97dd6 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 -- cgit v1.3