Makefile revision 65144
161933Scokane# $FreeBSD: head/sys/modules/3dfx/Makefile 65144 2000-08-28 03:17:49Z marcel $ 261914Scokane.PATH: $(.CURDIR)/../../dev/tdfx 364301ScokaneMAINTAINER= cokane@FreeBSD.org 464301ScokaneKMOD= 3dfx 564301ScokaneNOMAN= YES 664301ScokaneSRCS= opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ 764301Scokane tdfx_vars.h tdfx_pci.c 864301ScokaneINCSRC= ../../sys 961914Scokane 1064301ScokaneCLEANFILES= pci.h 1164301Scokane 1265144Smarcel.if ${MACHINE_ARCH} == "i386" 1361986Scokane# This line enables linux ioctl handling by default 1461986Scokane# comment out if you don't want it 1564301ScokaneTDFX_OPTS= "\#define TDFX_LINUX" 1665144Smarcel.endif 1764301Scokane 1861914Scokane# Uncomment this for debugging messages 1964301Scokane#CFLAGS+= -DDEBUG 2061914Scokane 2161933Scokanepci.h: 2261914Scokane echo "#define NPCI 1" > pci.h 2361914Scokane 2461914Scokaneopt_tdfx.h: 2561933Scokane touch opt_tdfx.h 2661990Scokane echo $(TDFX_OPTS) >> opt_tdfx.h 2761914Scokane 2861914Scokane.include <bsd.kmod.mk> 29