xref: /freebsd/sys/modules/3dfx/Makefile (revision ebbd4fa8c8427d3dd847ba33c45c996e0500e6ff)
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