Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / server / drivers / xf86-video-sunffb / Makefile
blob18c50a09470b3ae2fbd8af331a745ffe30024169
1 # $NetBSD: Makefile,v 1.2 2009/01/20 10:18:32 martin 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 \
8 VISmoveImage.s ffb_asm.s
10 .if ${MACHINE_ARCH} == "sparc64"
11 AFLAGS+= -x assembler-with-cpp -Wa,-Av9a
12 .endif
14 .if ${MACHINE_ARCH} == "sparc"
15 AFLAGS+= -x assembler-with-cpp -Wa,-Av8plusa
16 COPTS= -mv8plus
17 .endif
19 CPPFLAGS+= ${X11FLAGS.DRI} -DUSE_VIS
21 MAN= sunffb.4
23 .include "../Makefile.xf86-driver"