1 # $NetBSD: Makefile,v 1.12 2014/03/20 05:32:31 mrg Exp $
3 DRIVER
= xf86-video-tdfx
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
11 .if
${MACHINE_ARCH} == "i386" || \
12 ${MACHINE_ARCH} == "x86_64"
13 CPPFLAGS
+= -DUSE_INT10
15 CPPFLAGS
+= -DHAVE_XAA_H
18 CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR}/X11
19 CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR}/X11
/dri
20 CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR}/libdrm
22 COPTS.tdfx_driver.c
= -Wno-error
# XXX deprecated
24 CWARNFLAGS.clang
+= -Wno-format
-Wno-pointer-sign
26 .
include "../Makefile.xf86-driver"