Makefile (375ce6798ff677713636505c46fd0dba827341fd) Makefile (365b4833a061943472716dc2929fbe916f15b589)
1# $FreeBSD$
2
3MAINTAINER= cokane@FreeBSD.org
4
5.PATH: $(.CURDIR)/../../dev/tdfx
1.PATH: $(.CURDIR)/../../dev/tdfx
2KMOD = tdfx
3NOMAN = YES
4SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
5 tdfx_vars.h tdfx_pci.c
6INCSRC = ../../sys
6
7
7KMOD= 3dfx
8SRCS= 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# Uncomment this for debugging messages
8# Uncomment this for debugging messages
13#CFLAGS+= -DDEBUG
9TDFX_VERBOSE = "\#define TDFX_VERBOSE"
14
10
11# kludge to allow opt_tdfx.h to exist
12pci.h: opt_tdfx.h
13 echo "#define NPCI 1" > pci.h
14
15opt_tdfx.h:
16 echo $(TDFX_VERBOSE) > opt_tdfx.h
17
15.include <bsd.kmod.mk>
18.include <bsd.kmod.mk>