xref: /freebsd/sys/modules/3dfx/Makefile (revision f0adf7f5cdd241db2f2c817683191a6ef64a4e95)
1# $FreeBSD$
2
3MAINTAINER=	cokane@FreeBSD.org
4
5.PATH: $(.CURDIR)/../../dev/tdfx
6
7KMOD=	3dfx
8SRCS=	opt_tdfx.h  bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
9	tdfx_vars.h tdfx_pci.c
10INCSRC=	../../sys
11
12.if ${MACHINE_ARCH} == "i386"
13# This line enables linux ioctl handling by default
14# comment out if you don't want it
15TDFX_OPTS=	"\#define TDFX_LINUX"
16.endif
17
18# Uncomment this for debugging messages
19#CFLAGS+=	-DDEBUG
20
21opt_tdfx.h:
22	echo $(TDFX_OPTS) > opt_tdfx.h
23
24.include <bsd.kmod.mk>
25