971bb1a587
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
24 lines
534 B
Makefile
24 lines
534 B
Makefile
# $NetBSD: Makefile,v 1.4 2013/06/04 22:45:08 mrg Exp $
|
|
|
|
DRIVER= xf86-video-sunffb
|
|
DRIVER_NAME= sunffb_drv
|
|
|
|
SRCS= ffb_accel.c ffb_dac.c ffb_driver.c ffb_wid.c ffb_attr.c \
|
|
ffb_ddc.c ffb_cursor.c ffb_dga.c \
|
|
VISmoveImage.s ffb_asm.s
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
AFLAGS+= -x assembler-with-cpp -Wa,-Av9a
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
|
AFLAGS+= -x assembler-with-cpp -Wa,-Av8plusa
|
|
COPTS= -mv8plus
|
|
.endif
|
|
|
|
CPPFLAGS+= ${X11FLAGS.DRI} -DUSE_VIS
|
|
CPPFLAGS+= -DHAVE_XAA_H
|
|
|
|
MAN= sunffb.4
|
|
|
|
.include "../Makefile.xf86-driver"
|