1a7769538SColeman Kane# $FreeBSD$ 2c68159a6SDavid E. O'Brien 3c546ab55SColeman KaneMAINTAINER= cokane@FreeBSD.org 4c68159a6SDavid E. O'Brien 5c68159a6SDavid E. O'Brien.PATH: $(.CURDIR)/../../dev/tdfx 6c68159a6SDavid E. O'Brien 7ffb7ea49SColeman KaneKMOD= 3dfx 8365b4833SColeman KaneNOMAN= YES 9365b4833SColeman KaneSRCS= opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ 10365b4833SColeman Kane tdfx_vars.h tdfx_pci.c 11365b4833SColeman KaneINCSRC= ../../sys 12365b4833SColeman Kane 13c546ab55SColeman KaneCLEANFILES= pci.h 14c546ab55SColeman Kane 1505c313d4SMarcel Moolenaar.if ${MACHINE_ARCH} == "i386" 16ad2095d0SColeman Kane# This line enables linux ioctl handling by default 17ad2095d0SColeman Kane# comment out if you don't want it 180debd63aSColeman KaneTDFX_OPTS= "\#define TDFX_LINUX" 1905c313d4SMarcel Moolenaar.endif 20c546ab55SColeman Kane 21365b4833SColeman Kane# Uncomment this for debugging messages 22a7769538SColeman Kane#CFLAGS+= -DDEBUG 23365b4833SColeman Kane 24a7769538SColeman Kanepci.h: 25365b4833SColeman Kane echo "#define NPCI 1" > pci.h 26365b4833SColeman Kane 27365b4833SColeman Kaneopt_tdfx.h: 28a7769538SColeman Kane touch opt_tdfx.h 290debd63aSColeman Kane echo $(TDFX_OPTS) >> opt_tdfx.h 30365b4833SColeman Kane 31365b4833SColeman Kane.include <bsd.kmod.mk> 32