xref: /freebsd/sys/modules/3dfx/Makefile (revision a7769538cce4bfd9bc227d571cdb573581907ed0)
1a7769538SColeman Kane# $FreeBSD$
2365b4833SColeman Kane.PATH: $(.CURDIR)/../../dev/tdfx
3365b4833SColeman KaneKMOD		= tdfx
4365b4833SColeman KaneNOMAN		= YES
5365b4833SColeman KaneSRCS		= opt_tdfx.h  pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
6365b4833SColeman Kane		  tdfx_vars.h tdfx_pci.c
7365b4833SColeman KaneINCSRC		= ../../sys
8365b4833SColeman Kane
9365b4833SColeman Kane# Uncomment this for debugging messages
10a7769538SColeman Kane#CFLAGS += -DDEBUG
11365b4833SColeman Kane
12a7769538SColeman Kanepci.h:
13365b4833SColeman Kane	echo "#define NPCI 1" > pci.h
14365b4833SColeman Kane
15365b4833SColeman Kaneopt_tdfx.h:
16a7769538SColeman Kane	touch opt_tdfx.h
17365b4833SColeman Kane
18365b4833SColeman Kane.include <bsd.kmod.mk>
19