1# $FreeBSD: head/sys/modules/3dfx/Makefile 65144 2000-08-28 03:17:49Z marcel $
| 1# $FreeBSD: head/sys/modules/3dfx/Makefile 70711 2001-01-06 14:00:42Z obrien $ 2 3MAINTAINER= cokane@FreeBSD.org 4
|
2.PATH: $(.CURDIR)/../../dev/tdfx
| 5.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
| 6
|
10CLEANFILES= pci.h
| 7KMOD= 3dfx 8NOMAN= YES 9SRCS= opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ 10 tdfx_vars.h tdfx_pci.c 11INCSRC= ../../sys
|
11
| 12
|
| 13CLEANFILES= pci.h 14
|
12.if ${MACHINE_ARCH} == "i386" 13# This line enables linux ioctl handling by default 14# comment out if you don't want it
| 15.if ${MACHINE_ARCH} == "i386" 16# This line enables linux ioctl handling by default 17# comment out if you don't want it
|
15TDFX_OPTS= "\#define TDFX_LINUX"
| 18TDFX_OPTS= "\#define TDFX_LINUX"
|
16.endif 17 18# Uncomment this for debugging messages
| 19.endif 20 21# Uncomment this for debugging messages
|
19#CFLAGS+= -DDEBUG
| 22#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>
| 23 24pci.h: 25 echo "#define NPCI 1" > pci.h 26 27opt_tdfx.h: 28 touch opt_tdfx.h 29 echo $(TDFX_OPTS) >> opt_tdfx.h 30 31.include <bsd.kmod.mk>
|