1a7769538SColeman Kane# $FreeBSD$ 2365b4833SColeman Kane.PATH: $(.CURDIR)/../../dev/tdfx 3c546ab55SColeman KaneMAINTAINER= cokane@FreeBSD.org 4ffb7ea49SColeman KaneKMOD= 3dfx 5365b4833SColeman KaneNOMAN= YES 6365b4833SColeman KaneSRCS= opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ 7365b4833SColeman Kane tdfx_vars.h tdfx_pci.c 8365b4833SColeman KaneINCSRC= ../../sys 9365b4833SColeman Kane 10c546ab55SColeman KaneCLEANFILES= pci.h 11c546ab55SColeman Kane 12ad2095d0SColeman Kane# This line enables linux ioctl handling by default 13ad2095d0SColeman Kane# comment out if you don't want it 140debd63aSColeman KaneTDFX_OPTS= "\#define TDFX_LINUX" 15c546ab55SColeman Kane 16365b4833SColeman Kane# Uncomment this for debugging messages 17a7769538SColeman Kane#CFLAGS+= -DDEBUG 18365b4833SColeman Kane 19a7769538SColeman Kanepci.h: 20365b4833SColeman Kane echo "#define NPCI 1" > pci.h 21365b4833SColeman Kane 22365b4833SColeman Kaneopt_tdfx.h: 23a7769538SColeman Kane touch opt_tdfx.h 240debd63aSColeman Kane echo $(TDFX_OPTS) >> opt_tdfx.h 25365b4833SColeman Kane 26365b4833SColeman Kane.include <bsd.kmod.mk> 27