summaryrefslogtreecommitdiffstats
path: root/sys/modules/3dfx/Makefile
blob: 13d658a120a0bf9a76b80b4586a3d1fbcc5c11a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $FreeBSD$

MAINTAINER=	cokane@FreeBSD.org

.PATH: $(.CURDIR)/../../dev/tdfx

KMOD=	3dfx
NOMAN=	YES
SRCS=	opt_tdfx.h  bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
	tdfx_vars.h tdfx_pci.c
INCSRC=	../../sys

.if ${MACHINE_ARCH} == "i386"
# This line enables linux ioctl handling by default
# comment out if you don't want it
TDFX_OPTS=	"\#define TDFX_LINUX"
.endif

# Uncomment this for debugging messages
#CFLAGS+=	-DDEBUG

opt_tdfx.h:
	echo $(TDFX_OPTS) > opt_tdfx.h

.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud