Makefile revision 64049
161933Scokane# $FreeBSD: head/sys/modules/3dfx/Makefile 62096 2000-06-25 23:44:20Z cokane $
261914Scokane.PATH: $(.CURDIR)/../../dev/tdfx
362096ScokaneKMOD		= 3dfx
461914ScokaneNOMAN		= YES
561914ScokaneSRCS		= opt_tdfx.h  pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
661914Scokane		  tdfx_vars.h tdfx_pci.c
761914ScokaneINCSRC		= ../../sys
861914Scokane
961986Scokane# This line enables linux ioctl handling by default
1061986Scokane# comment out if you don't want it
1161990ScokaneTDFX_OPTS = "\#define TDFX_LINUX"
1261914Scokane# Uncomment this for debugging messages
1361933Scokane#CFLAGS += -DDEBUG
1461914Scokane
1561933Scokanepci.h:
1661914Scokane	echo "#define NPCI 1" > pci.h
1761914Scokane
1861914Scokaneopt_tdfx.h:
1961933Scokane	touch opt_tdfx.h
2061990Scokane	echo $(TDFX_OPTS) >> opt_tdfx.h
2161914Scokane
2261914Scokane.include <bsd.kmod.mk>
23