1# $NetBSD: Makefile,v 1.6 2015/08/16 17:48:24 macallan Exp $ 2 3DRIVER= xf86-video-sunffb 4DRIVER_NAME= sunffb_drv 5 6SRCS= 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 \ 8 ffb_accel_common.c \ 9 VISmoveImage.s ffb_asm.s 10 11.if ${MACHINE_ARCH} == "sparc64" 12AFLAGS+= -x assembler-with-cpp -Wa,-Av9a 13.endif 14 15.if ${MACHINE_ARCH} == "sparc" 16AFLAGS+= -x assembler-with-cpp -Wa,-Av8plusa 17COPTS= -mv8plus 18.endif 19 20CPPFLAGS+= ${X11FLAGS.DRI} -DUSE_VIS 21CPPFLAGS+= -DHAVE_XAA_H 22 23MAN= sunffb.4 24 25.include "../Makefile.xf86-driver" 26