xref: /freebsd/sys/modules/3dfx/Makefile (revision 262e143bd46171a6415a5b28af260a5efa2a3db8)
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
21.if !defined(KERNBUILDDIR)
22opt_tdfx.h:
23	echo $(TDFX_OPTS) > opt_tdfx.h
24.endif
25
26.include <bsd.kmod.mk>
27