Makefile (0debd63a71dfabbcf654bc344507971bf4cbaacf) Makefile (ffb7ea4913e9505f537b2ab019cd85a05f86ef61)
1# $FreeBSD$
2.PATH: $(.CURDIR)/../../dev/tdfx
1# $FreeBSD$
2.PATH: $(.CURDIR)/../../dev/tdfx
3KMOD = tdfx
3KMOD = 3dfx
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# This line enables linux ioctl handling by default
10# comment out if you don't want it
11TDFX_OPTS = "\#define TDFX_LINUX"
12# Uncomment this for debugging messages
13#CFLAGS += -DDEBUG
14
15pci.h:
16 echo "#define NPCI 1" > pci.h
17
18opt_tdfx.h:
19 touch opt_tdfx.h
20 echo $(TDFX_OPTS) >> opt_tdfx.h
21
22.include <bsd.kmod.mk>
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# This line enables linux ioctl handling by default
10# comment out if you don't want it
11TDFX_OPTS = "\#define TDFX_LINUX"
12# Uncomment this for debugging messages
13#CFLAGS += -DDEBUG
14
15pci.h:
16 echo "#define NPCI 1" > pci.h
17
18opt_tdfx.h:
19 touch opt_tdfx.h
20 echo $(TDFX_OPTS) >> opt_tdfx.h
21
22.include <bsd.kmod.mk>