Makefile (c546ab551c899f67d058ccfc4d35df16aacf4720) Makefile (05c313d4ec429643cbe016845efe4723a3ff6a6d)
1# $FreeBSD$
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
1# $FreeBSD$
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.if ${MACHINE_ARCH} == "i386"
12# This line enables linux ioctl handling by default
13# comment out if you don't want it
14TDFX_OPTS= "\#define TDFX_LINUX"
13# This line enables linux ioctl handling by default
14# comment out if you don't want it
15TDFX_OPTS= "\#define TDFX_LINUX"
16.endif
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>
17
18# Uncomment this for debugging messages
19#CFLAGS+= -DDEBUG
20
21pci.h:
22 echo "#define NPCI 1" > pci.h
23
24opt_tdfx.h:
25 touch opt_tdfx.h
26 echo $(TDFX_OPTS) >> opt_tdfx.h
27
28.include <bsd.kmod.mk>