1 # $NetBSD: Makefile,v 1.9.6.1 2013/06/23 06:28:47 tls Exp $ 2 3 DRIVER= xf86-video-tdfx 4 DRIVER_NAME= tdfx_drv 5 6 SRCS= tdfx_accel.c tdfx_dga.c tdfx_driver.c tdfx_hwcurs.c 7 SRCS+= tdfx_io.c tdfx_priv.c tdfx_sli.c tdfx_video.c 8 SRCS+= tdfx_dri.c 9 MAN= tdfx.4 10 11 .if ${MACHINE_ARCH} == "i386" || \ 12 ${MACHINE_ARCH} == "x86_64" 13 CPPFLAGS+= -DUSE_INT10 14 CPPFLAGS+= -DUSE_PCIVGAIO 15 .endif 16 CPPFLAGS+= -DHAVE_XAA_H 17 CPPFLAGS+= -DTDFXDRI 18 19 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 20 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri 21 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm 22 23 COPTS.tdfx_driver.c= -Wno-error # XXX deprecated 24 25 CWARNFLAGS.clang+= -Wno-format -Wno-pointer-sign 26 27 .include "../Makefile.xf86-driver" 28