2000-06-22 05:47:16 +00:00
|
|
|
# $FreeBSD$
|
2000-06-21 20:32:24 +00:00
|
|
|
.PATH: $(.CURDIR)/../../dev/tdfx
|
2000-06-25 23:44:20 +00:00
|
|
|
KMOD = 3dfx
|
2000-06-21 20:32:24 +00:00
|
|
|
NOMAN = YES
|
|
|
|
SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
|
|
|
|
tdfx_vars.h tdfx_pci.c
|
|
|
|
INCSRC = ../../sys
|
|
|
|
|
2000-06-23 04:30:20 +00:00
|
|
|
# This line enables linux ioctl handling by default
|
|
|
|
# comment out if you don't want it
|
2000-06-23 05:54:26 +00:00
|
|
|
TDFX_OPTS = "\#define TDFX_LINUX"
|
2000-06-21 20:32:24 +00:00
|
|
|
# Uncomment this for debugging messages
|
2000-06-22 05:47:16 +00:00
|
|
|
#CFLAGS += -DDEBUG
|
2000-06-21 20:32:24 +00:00
|
|
|
|
2000-06-22 05:47:16 +00:00
|
|
|
pci.h:
|
2000-06-21 20:32:24 +00:00
|
|
|
echo "#define NPCI 1" > pci.h
|
|
|
|
|
|
|
|
opt_tdfx.h:
|
2000-06-22 05:47:16 +00:00
|
|
|
touch opt_tdfx.h
|
2000-06-23 05:54:26 +00:00
|
|
|
echo $(TDFX_OPTS) >> opt_tdfx.h
|
2000-06-21 20:32:24 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|