1# $FreeBSD: head/sys/modules/3dfx/Makefile 70711 2001-01-06 14:00:42Z obrien $ 2 3MAINTAINER= cokane@FreeBSD.org 4 |
5.PATH: $(.CURDIR)/../../dev/tdfx |
6 |
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 |
12 |
13CLEANFILES= pci.h 14 |
15.if ${MACHINE_ARCH} == "i386" 16# This line enables linux ioctl handling by default 17# comment out if you don't want it |
18TDFX_OPTS= "\#define TDFX_LINUX" |
19.endif 20 21# Uncomment this for debugging messages |
22#CFLAGS+= -DDEBUG |
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> |