2000-06-22 05:47:16 +00:00
|
|
|
# $FreeBSD$
|
2001-01-06 14:00:42 +00:00
|
|
|
|
|
|
|
MAINTAINER= cokane@FreeBSD.org
|
|
|
|
|
2000-06-21 20:32:24 +00:00
|
|
|
.PATH: $(.CURDIR)/../../dev/tdfx
|
2000-08-06 18:56:46 +00:00
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
KMOD= 3dfx
|
2001-01-29 11:38:39 +00:00
|
|
|
SRCS= opt_tdfx.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
|
2001-01-06 14:00:42 +00:00
|
|
|
tdfx_vars.h tdfx_pci.c
|
|
|
|
INCSRC= ../../sys
|
|
|
|
|
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
|
2001-01-06 14:00:42 +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
|
2001-01-06 14:00:42 +00:00
|
|
|
#CFLAGS+= -DDEBUG
|
2000-06-21 20:32:24 +00:00
|
|
|
|
|
|
|
opt_tdfx.h:
|
2001-02-04 08:23:14 +00:00
|
|
|
echo $(TDFX_OPTS) > opt_tdfx.h
|
2000-06-21 20:32:24 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|