1 # $NetBSD: Makefile,v 1.6 2015/08/16 17:48:24 macallan Exp $
3 DRIVER
= xf86-video-sunffb
4 DRIVER_NAME
= sunffb_drv
6 SRCS
= ffb_accel.c ffb_dac.c ffb_driver.c ffb_wid.c ffb_attr.c \
7 ffb_ddc.c ffb_cursor.c ffb_dga.c ffb_exa.c \
9 VISmoveImage.s ffb_asm.s
11 .if
${MACHINE_ARCH} == "sparc64"
12 AFLAGS
+= -x assembler-with-cpp
-Wa
,-Av9a
15 .if
${MACHINE_ARCH} == "sparc"
16 AFLAGS
+= -x assembler-with-cpp
-Wa
,-Av8plusa
20 CPPFLAGS
+= ${X11FLAGS.DRI
} -DUSE_VIS
21 CPPFLAGS
+= -DHAVE_XAA_H
25 .
include "../Makefile.xf86-driver"