xref: /freebsd/sys/modules/3dfx/Makefile (revision 365b4833a061943472716dc2929fbe916f15b589)
1.PATH: $(.CURDIR)/../../dev/tdfx
2KMOD		= tdfx
3NOMAN		= YES
4SRCS		= opt_tdfx.h  pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
5		  tdfx_vars.h tdfx_pci.c
6INCSRC		= ../../sys
7
8# Uncomment this for debugging messages
9TDFX_VERBOSE = "\#define TDFX_VERBOSE"
10
11# kludge to allow opt_tdfx.h to exist
12pci.h: opt_tdfx.h
13	echo "#define NPCI 1" > pci.h
14
15opt_tdfx.h:
16	echo $(TDFX_VERBOSE) > opt_tdfx.h
17
18.include <bsd.kmod.mk>
19