aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/3dfx/Makefile
blob: d03a6e3cd2cad9fc6c179e3a806fa9e03fcf1e06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $FreeBSD$
.PATH: $(.CURDIR)/../../dev/tdfx
KMOD		= tdfx
NOMAN		= YES
SRCS		= opt_tdfx.h  pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
		  tdfx_vars.h tdfx_pci.c
INCSRC		= ../../sys

# This line enables linux ioctl handling by default
# comment out if you don't want it
CFLAGS += -DTDFX_LINUX
# Uncomment this for debugging messages
#CFLAGS += -DDEBUG

pci.h:
	echo "#define NPCI 1" > pci.h

opt_tdfx.h:
	touch opt_tdfx.h

.include <bsd.kmod.mk>