Makefile (ad2095d0484e852e2ceb5cd5bfcd69b6d3eace5f) Makefile (0debd63a71dfabbcf654bc344507971bf4cbaacf)
1# $FreeBSD$
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# This line enables linux ioctl handling by default
10# comment out if you don't want it
1# $FreeBSD$
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# This line enables linux ioctl handling by default
10# comment out if you don't want it
11CFLAGS += -DTDFX_LINUX
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
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
20
21.include <bsd.kmod.mk>
21
22.include <bsd.kmod.mk>