1 # $NetBSD: Makefile,v 1.10 2015/07/30 02:58:00 macallan Exp $
3 DRIVER
= xf86-video-r128
6 SRCS
= r128_accel.c r128_cursor.c r128_driver.c r128_exa.c \
7 r128_crtc.c r128_output.c \
8 r128_video.c r128_misc.c r128_probe.c r128_dri.c
12 .if
${MACHINE_ARCH} == "powerpc" ||
${MACHINE} == "sparc64"
13 CPPFLAGS
+= -DAVOID_FBDEV
16 # Enable VGA support (esp. hw state save/restore) on i386 / amd64 platforms
17 .if
${MACHINE} == "amd64" ||
${MACHINE} == "i386"
18 CPPFLAGS
+= -DWITH_VGAHW
21 CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR}/libdrm
23 CPPFLAGS
+= -DHAVE_XAA_H
-DUSE_EXA
-DR128DRI
25 CWARNFLAGS.clang
+= -Wno-format
-Wno-pointer-sign
27 .
include "../Makefile.xf86-driver"