xref: /freebsd/sys/modules/3dfx/Makefile (revision 365b4833a061943472716dc2929fbe916f15b589)
1365b4833SColeman Kane.PATH: $(.CURDIR)/../../dev/tdfx
2365b4833SColeman KaneKMOD		= tdfx
3365b4833SColeman KaneNOMAN		= YES
4365b4833SColeman KaneSRCS		= opt_tdfx.h  pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
5365b4833SColeman Kane		  tdfx_vars.h tdfx_pci.c
6365b4833SColeman KaneINCSRC		= ../../sys
7365b4833SColeman Kane
8365b4833SColeman Kane# Uncomment this for debugging messages
9365b4833SColeman KaneTDFX_VERBOSE = "\#define TDFX_VERBOSE"
10365b4833SColeman Kane
11365b4833SColeman Kane# kludge to allow opt_tdfx.h to exist
12365b4833SColeman Kanepci.h: opt_tdfx.h
13365b4833SColeman Kane	echo "#define NPCI 1" > pci.h
14365b4833SColeman Kane
15365b4833SColeman Kaneopt_tdfx.h:
16365b4833SColeman Kane	echo $(TDFX_VERBOSE) > opt_tdfx.h
17365b4833SColeman Kane
18365b4833SColeman Kane.include <bsd.kmod.mk>
19