2000-06-22 07:47:16 +02:00
|
|
|
# $FreeBSD$
|
2000-06-21 22:32:24 +02:00
|
|
|
.PATH: $(.CURDIR)/../../dev/tdfx
|
2000-08-06 20:56:46 +02: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 22:32:24 +02:00
|
|
|
|
2000-08-28 05:17:49 +02:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2000-06-23 06:30:20 +02:00
|
|
|
# This line enables linux ioctl handling by default
|
|
|
|
# comment out if you don't want it
|
2000-08-06 20:56:46 +02:00
|
|
|
TDFX_OPTS= "\#define TDFX_LINUX"
|
2000-08-28 05:17:49 +02:00
|
|
|
.endif
|
2000-08-06 20:56:46 +02:00
|
|
|
|
2000-06-21 22:32:24 +02:00
|
|
|
# Uncomment this for debugging messages
|
2000-08-06 20:56:46 +02:00
|
|
|
#CFLAGS+= -DDEBUG
|
2000-06-21 22:32:24 +02:00
|
|
|
|
2000-06-22 07:47:16 +02:00
|
|
|
pci.h:
|
2000-06-21 22:32:24 +02:00
|
|
|
echo "#define NPCI 1" > pci.h
|
|
|
|
|
|
|
|
opt_tdfx.h:
|
2000-06-22 07:47:16 +02:00
|
|
|
touch opt_tdfx.h
|
2000-06-23 07:54:26 +02:00
|
|
|
echo $(TDFX_OPTS) >> opt_tdfx.h
|
2000-06-21 22:32:24 +02:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|