1 # $NetBSD: Makefile,v 1.5 2007/04/22 23:42:38 macallan Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
/drivers
5 .
include "../../../../Makefile.serverlib"
9 .PATH
: ${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/drivers
/sunffb
11 SRCS
= ffb_driver.c ffb_accel.c ffb_attr.c ffb_stip.c ffb_bcopy.c \
12 ffb_cplane.c ffb_fspans.c ffb_point.c ffb_seg.c ffb_plygon.c \
13 ffb_line.c ffb_glyph.c ffb_frect.c ffb_circle.c ffb_checks.c \
14 ffb_stubs.c ffb_gc.c ffb_gspans.c ffb_sspans.c ffb_zeroarc.c \
15 ffb_cursor.c ffb_dga.c ffb_dac.c ffb_wid.c ffb_dbe.c
17 SRCS
+= VISmoveImage.s ffb_asm.s
19 .if
${MACHINE_ARCH} == "sparc64"
20 AFLAGS
+= -x assembler-with-cpp
-Wa
,-Av9a
23 .if
${MACHINE_ARCH} == "sparc"
24 AFLAGS
+= -x assembler-with-cpp
-Wa
,-Av8plusa
29 CPPFLAGS
+= -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/drivers
/sunffb \
30 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/common \
31 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/os-support \
32 -I
${X11SRCDIR.xc
}/programs
/Xserver
/mfb \
33 -I
${X11SRCDIR.xc
}/programs
/Xserver
/mi \
34 -I
${X11SRCDIR.xc
}/programs
/Xserver
/Xext \
35 -I
${X11SRCDIR.xc
}/programs
/Xserver
/cfb \
36 -I
${X11SRCDIR.xc
}/programs
/Xserver
/dbe \
37 -I
${X11SRCDIR.xc
}/programs
/Xserver
/render \
38 -I
${X11SRCDIR.xc
}/programs
/Xserver
/fb \
39 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/xf8_32wid \
40 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/ramdac \
41 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/ddc \
42 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/i2c \
43 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/xaa \
44 -I
${X11SRCDIR.xc
}/programs
/Xserver
/include \
45 -I
${X11SRCDIR.xc
}/include/fonts \
46 -I
${DESTDIR}${X11INCDIR}/X11 \
47 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
55 CPPFLAGS
+= -I
${X11SRCDIR.xc
}/programs
/Xserver
/GL
/dri \
56 -I
${X11SRCDIR.xc
}/lib
/GL
/dri \
57 -I
${X11SRCDIR.xc
}/include
59 CPPFLAGS
+= ${X11FLAGS.DRI
}
64 .
include "../../Makefile.drivermod"