1 # $NetBSD: Makefile,v 1.13 2016/07/01 23:29:17 macallan 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 .else 15 CPPFLAGS+= -DUSE_PCIVGAIO=0 16 .endif 17 CPPFLAGS+= -DHAVE_XAA_H 18 CPPFLAGS+= -DTDFXDRI 19 20 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 21 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/dri 22 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm 23 24 COPTS.tdfx_driver.c= -Wno-error # XXX deprecated 25 26 CWARNFLAGS.clang+= -Wno-format -Wno-pointer-sign 27 28 .include "../Makefile.xf86-driver" 29