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