Imported Upstream version 1.11.4
[ubuntu-omap:xserver.git] / hw / xfree86 / xaa / Makefile.am
1 LSB_FIRST = l-xaaBitmap.c l-xaaStipple.c l-xaaTEGlyph.c
2 LSB_3_FIRST = l3-xaaBitmap.c l3-xaaStipple.c
3 MSB_FIRST = m-xaaBitmap.c m-xaaStipple.c m-xaaTEGlyph.c
4 MSB_3_FIRST = m3-xaaBitmap.c m3-xaaStipple.c
5 LSB_FIXED = lf-xaaBitmap.c lf-xaaStipple.c lf-xaaTEGlyph.c
6 LSB_3_FIXED = lf3-xaaBitmap.c lf3-xaaStipple.c
7 MSB_FIXED = mf-xaaBitmap.c mf-xaaStipple.c mf-xaaTEGlyph.c
8 MSB_3_FIXED = mf3-xaaBitmap.c mf3-xaaStipple.c
9 POLYSEG = s-xaaLine.c s-xaaDashLine.c
10
11 libxaa_la_LDFLAGS = -avoid-version
12 if COMPOSITE
13 libxaa_la_LIBADD = $(top_builddir)/miext/cw/libcw.la
14 endif
15
16 module_LTLIBRARIES = libxaa.la
17 libxaa_la_SOURCES = xaaInit.c xaaGC.c xaaInitAccel.c xaaFallback.c \
18                    xaaBitBlt.c xaaCpyArea.c xaaGCmisc.c xaaCpyWin.c \
19                    xaaCpyPlane.c xaaFillRect.c xaaTEText.c xaaNonTEText.c \
20                    xaaPCache.c xaaSpans.c xaaROP.c xaaImage.c \
21                    xaaRect.c xaaLineMisc.c xaaBitOrder.c \
22                    xaaFillPoly.c xaaWideLine.c xaaTables.c xaaFillArc.c \
23                    xaaLine.c xaaDashLine.c xaaOverlay.c xaaOffscreen.c \
24                    xaaOverlayDF.c xaaStateChange.c xaaPict.c $(POLYSEG) \
25                    $(LSB_FIRST) $(MSB_FIRST) $(LSB_FIXED) $(MSB_FIXED) \
26                    $(LSB_3_FIRST) $(MSB_3_FIRST) $(LSB_3_FIXED) $(MSB_3_FIXED)
27 ${POLYSEG}:
28         $(AM_V_GEN)echo "#define POLYSEGMENT" > $@
29         $(AM_V_GEN)echo '#include "$(srcdir)/${@:s-%=%}"' >> $@
30 ${LSB_FIRST}:
31         $(AM_V_GEN)echo "#define LSBFIRST" > $@
32         $(AM_V_GEN)echo '#include "$(srcdir)/${@:l-%=%}"' >> $@
33 ${LSB_3_FIRST}:
34         $(AM_V_GEN)echo "#define LSBFIRST" > $@
35         $(AM_V_GEN)echo "#define TRIPLE_BITS" >> $@
36         $(AM_V_GEN)echo '#include "$(srcdir)/${@:l3-%=%}"' >> $@
37 ${LSB_FIXED}:
38         $(AM_V_GEN)echo "#define LSBFIRST" > $@
39         $(AM_V_GEN)echo "#define FIXEDBASE" >> $@
40         $(AM_V_GEN)echo '#include "$(srcdir)/${@:lf-%=%}"' >> $@
41 ${LSB_3_FIXED}:
42         $(AM_V_GEN)echo "#define LSBFIRST" > $@
43         $(AM_V_GEN)echo "#define TRIPLE_BITS" >> $@
44         $(AM_V_GEN)echo "#define FIXEDBASE" >> $@
45         $(AM_V_GEN)echo '#include "$(srcdir)/${@:lf3-%=%}"' >> $@
46 ${MSB_FIRST}:
47         $(AM_V_GEN)echo "#define MSBFIRST" > $@
48         $(AM_V_GEN)echo '#include "$(srcdir)/${@:m-%=%}"' >> $@
49 ${MSB_3_FIRST}:
50         $(AM_V_GEN)echo "#define MSBFIRST" > $@
51         $(AM_V_GEN)echo "#define TRIPLE_BITS" >> $@
52         $(AM_V_GEN)echo '#include "$(srcdir)/${@:m3-%=%}"' >> $@
53 ${MSB_FIXED}:
54         $(AM_V_GEN)echo "#define MSBFIRST" > $@
55         $(AM_V_GEN)echo "#define FIXEDBASE" >> $@
56         $(AM_V_GEN)echo '#include "$(srcdir)/${@:mf-%=%}"' >> $@
57 ${MSB_3_FIXED}:
58         $(AM_V_GEN)echo "#define MSBFIRST" > $@
59         $(AM_V_GEN)echo "#define TRIPLE_BITS" >> $@
60         $(AM_V_GEN)echo "#define FIXEDBASE" >> $@
61         $(AM_V_GEN)echo '#include "$(srcdir)/${@:mf3-%=%}"' >> $@
62
63 DISTCLEANFILES = $(POLYSEG) \
64         $(LSB_FIRST) $(LSB_FIXED) $(MSB_FIRST) $(MSB_FIXED) \
65         $(LSB_3_FIRST) $(LSB_3_FIXED) $(MSB_3_FIRST) $(MSB_3_FIXED)
66
67 sdk_HEADERS = xaa.h xaalocal.h xaarop.h
68 EXTRA_DIST = xaacexp.h xaawrap.h xaaLine.c xaaDashLine.c \
69              xaaStipple.c xaaTEGlyph.c xaaNonTEGlyph.c xaaBitmap.c \
70              XAA.HOWTO
71
72 INCLUDES = $(XORG_INCS) -I$(srcdir)/../../../miext/cw
73
74 AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)