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