1 # $NetBSD: Makefile,v 1.7 2011/08/02 09:11:38 mrg Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
5 .
include "../../../Makefile.serverlib"
6 .
include "../../../Makefile.servermod"
10 .PATH
: ${X11SRCDIR.xorg-server
}/hw
/xfree86
/${LIB}
12 SRCS
= xaaInit.c xaaGC.c xaaInitAccel.c xaaFallback.c \
13 xaaBitBlt.c xaaCpyArea.c xaaGCmisc.c xaaCpyWin.c \
14 xaaCpyPlane.c xaaFillRect.c xaaTEText.c xaaNonTEText.c \
15 xaaPCache.c xaaSpans.c xaaROP.c xaaImage.c \
16 xaaRect.c xaaLineMisc.c xaaBitOrder.c \
17 xaaFillPoly.c xaaWideLine.c xaaTables.c xaaFillArc.c \
18 xaaLine.c xaaDashLine.c xaaOverlay.c xaaOffscreen.c \
19 xaaOverlayDF.c xaaStateChange.c xaaPict.c
21 SRCS
+= l-xaaBitmap.c l-xaaStipple.c l-xaaTEGlyph.c \
22 l3-xaaBitmap.c l3-xaaStipple.c \
23 m-xaaBitmap.c m-xaaStipple.c m-xaaTEGlyph.c \
24 m3-xaaBitmap.c m3-xaaStipple.c \
25 lf-xaaBitmap.c lf-xaaStipple.c lf-xaaTEGlyph.c \
26 lf3-xaaBitmap.c lf3-xaaStipple.c \
27 mf-xaaBitmap.c mf-xaaStipple.c mf-xaaTEGlyph.c \
28 mf3-xaaBitmap.c mf3-xaaStipple.c \
29 s-xaaLine.c s-xaaDashLine.c \
31 CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR}/X11 \
32 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
33 -I
${DESTDIR}${X11INCDIR}/xorg \
34 -I
${DESTDIR}${X11INCDIR}/pixman-1 \
35 -I
${X11SRCDIR.xorg-server
}/Xext \
36 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/${LIB} \
37 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/common \
38 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/os-support \
39 -I
${X11SRCDIR.xorg-server
}/include \
40 -I
${X11SRCDIR.xorg-server
}/include/extensions \
41 -I
${X11SRCDIR.xorg-server
}/mi \
42 -I
${X11SRCDIR.xorg-server
}/miext
/cw \
43 -I
${X11SRCDIR.xorg-server
}/render \
44 -I
${X11SRCDIR.xorg-server
}/..
/include
46 # XXX to find files lokoing for "../../../../hw/something"
47 CPPFLAGS
+= -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/dixmods
/extmod \
49 CPPFLAGS
+= ${X11FLAGS.DIX
}
52 CPPFLAGS.lsb_fixed_xaaBitmap.c
= -DLSBFIRST
-DFIXEDBASE
53 CPPFLAGS.lsb_fixed_xaaBitmap3.c
= -DLSBFIRST
-DFIXEDBASE
-DTRIPLE_BITS
54 CPPFLAGS.lsb_fixed_xaaStipple.c
= -DLSBFIRST
-DFIXEDBASE
55 CPPFLAGS.lsb_fixed_xaaStipple3.c
= -DLSBFIRST
-DFIXEDBASE
-DTRIPLE_BITS
56 CPPFLAGS.lsb_fixed_xaaTEGlyph.c
= -DLSBFIRST
-DFIXEDBASE
57 CPPFLAGS.lsb_xaaBitmap.c
= -DLSBFIRST
58 CPPFLAGS.lsb_xaaBitmap3.c
= -DLSBFIRST
-DTRIPLE_BITS
59 CPPFLAGS.lsb_xaaStipple.c
= -DLSBFIRST
60 CPPFLAGS.lsb_xaaStipple3.c
= -DLSBFIRST
-DTRIPLE_BITS
61 CPPFLAGS.lsb_xaaTEGlyph.c
= -DLSBFIRST
62 CPPFLAGS.msb_fixed_xaaBitmap.c
= -DMSBFIRST
-DFIXEDBASE
63 CPPFLAGS.msb_fixed_xaaBitmap3.c
= -DMSBFIRST
-DFIXEDBASE
-DTRIPLE_BITS
64 CPPFLAGS.msb_fixed_xaaStipple.c
= -DMSBFIRST
-DFIXEDBASE
65 CPPFLAGS.msb_fixed_xaaStipple3.c
= -DMSBFIRST
-DFIXEDBASE
-DTRIPLE_BITS
66 CPPFLAGS.msb_fixed_xaaTEGlyph.c
= -DMSBFIRST
-DFIXEDBASE
67 CPPFLAGS.msb_xaaBitmap.c
= -DMSBFIRST
68 CPPFLAGS.msb_xaaBitmap3.c
= -DMSBFIRST
-DTRIPLE_BITS
69 CPPFLAGS.msb_xaaStipple.c
= -DMSBFIRST
70 CPPFLAGS.msb_xaaStipple3.c
= -DMSBFIRST
-DTRIPLE_BITS
71 CPPFLAGS.msb_xaaTEGlyph.c
= -DMSBFIRST
72 CPPFLAGS.xaaSeg.c
= -DPOLYSEGMENT
73 CPPFLAGS.xaaDashSeg.c
= -DPOLYSEGMENT