Makefile revision 70711
161933Scokane# $FreeBSD: head/sys/modules/3dfx/Makefile 70711 2001-01-06 14:00:42Z obrien $ 270711Sobrien 370711SobrienMAINTAINER= cokane@FreeBSD.org 470711Sobrien 561914Scokane.PATH: $(.CURDIR)/../../dev/tdfx 661914Scokane 770711SobrienKMOD= 3dfx 870711SobrienNOMAN= YES 970711SobrienSRCS= opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ 1070711Sobrien tdfx_vars.h tdfx_pci.c 1170711SobrienINCSRC= ../../sys 1264301Scokane 1370711SobrienCLEANFILES= pci.h 1470711Sobrien 1565144Smarcel.if ${MACHINE_ARCH} == "i386" 1661986Scokane# This line enables linux ioctl handling by default 1761986Scokane# comment out if you don't want it 1870711SobrienTDFX_OPTS= "\#define TDFX_LINUX" 1965144Smarcel.endif 2064301Scokane 2161914Scokane# Uncomment this for debugging messages 2270711Sobrien#CFLAGS+= -DDEBUG 2361914Scokane 2461933Scokanepci.h: 2561914Scokane echo "#define NPCI 1" > pci.h 2661914Scokane 2761914Scokaneopt_tdfx.h: 2861933Scokane touch opt_tdfx.h 2961990Scokane echo $(TDFX_OPTS) >> opt_tdfx.h 3061914Scokane 3161914Scokane.include <bsd.kmod.mk> 32