Makefile revision 151350
1130803Smarcel# $FreeBSD: head/sys/modules/3dfx/Makefile 151350 2005-10-14 23:30:17Z yar $ 2130803Smarcel 3130803SmarcelMAINTAINER= cokane@FreeBSD.org 4130803Smarcel 5130803Smarcel.PATH: $(.CURDIR)/../../dev/tdfx 6130803Smarcel 7130803SmarcelKMOD= 3dfx 8130803SmarcelSRCS= opt_tdfx.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ 9130803Smarcel tdfx_vars.h tdfx_pci.c 10130803SmarcelINCSRC= ../../sys 11130803Smarcel 12130803Smarcel.if ${MACHINE_ARCH} == "i386" 13130803Smarcel# This line enables linux ioctl handling by default 14130803Smarcel# comment out if you don't want it 15130803SmarcelTDFX_OPTS= "\#define TDFX_LINUX" 16130803Smarcel.endif 17130803Smarcel 18130803Smarcel# Uncomment this for debugging messages 19130803Smarcel#CFLAGS+= -DDEBUG 20130803Smarcel 21130803Smarcel.if !defined(KERNBUILDDIR) 22130803Smarcelopt_tdfx.h: 23130803Smarcel echo $(TDFX_OPTS) > opt_tdfx.h 24130803Smarcel.endif 25130803Smarcel 26130803Smarcel.include <bsd.kmod.mk> 27130803Smarcel