2000-06-22 05:47:16 +00:00
|
|
|
# $FreeBSD$
|
2000-06-21 20:32:24 +00:00
|
|
|
.PATH: $(.CURDIR)/../../dev/tdfx
|
2000-08-06 18:56:46 +00:00
|
|
|
MAINTAINER= cokane@FreeBSD.org
|
|
|
|
KMOD= 3dfx
|
|
|
|
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
|
|
|
|
|
|
|
|
CLEANFILES= pci.h
|
2000-06-21 20:32:24 +00:00
|
|
|
|
2000-08-28 03:17:49 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
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-08-06 18:56:46 +00:00
|
|
|
TDFX_OPTS= "\#define TDFX_LINUX"
|
2000-08-28 03:17:49 +00:00
|
|
|
.endif
|
2000-08-06 18:56:46 +00:00
|
|
|
|
2000-06-21 20:32:24 +00:00
|
|
|
# Uncomment this for debugging messages
|
2000-08-06 18:56:46 +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>
|