summaryrefslogtreecommitdiff
path: root/hw/xfree86/xaa/Makefile.am
blob: e9f5e687c4ebbef65239c55f87d9f2512a10ca54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
LSB_FIRST = l-xaaBitmap.c l-xaaStipple.c l-xaaTEGlyph.c
LSB_3_FIRST = l3-xaaBitmap.c l3-xaaStipple.c
MSB_FIRST = m-xaaBitmap.c m-xaaStipple.c m-xaaTEGlyph.c
MSB_3_FIRST = m3-xaaBitmap.c m3-xaaStipple.c
LSB_FIXED = lf-xaaBitmap.c lf-xaaStipple.c lf-xaaTEGlyph.c
LSB_3_FIXED = lf3-xaaBitmap.c lf3-xaaStipple.c
MSB_FIXED = mf-xaaBitmap.c mf-xaaStipple.c mf-xaaTEGlyph.c
MSB_3_FIXED = mf3-xaaBitmap.c mf3-xaaStipple.c
POLYSEG = s-xaaLine.c s-xaaDashLine.c

libxaa_la_LDFLAGS = -avoid-version
if COMPOSITE
libxaa_la_LIBADD = $(top_builddir)/miext/cw/libcw.la
endif

module_LTLIBRARIES = libxaa.la
libxaa_la_SOURCES = xaaInit.c xaaGC.c xaaInitAccel.c xaaFallback.c \
                   xaaBitBlt.c xaaCpyArea.c xaaGCmisc.c xaaCpyWin.c \
                   xaaCpyPlane.c xaaFillRect.c xaaTEText.c xaaNonTEText.c \
                   xaaPCache.c xaaSpans.c xaaROP.c xaaImage.c xaaWrapper.c \
                   xaaRect.c xaaLineMisc.c xaaBitOrder.c \
                   xaaFillPoly.c xaaWideLine.c xaaTables.c xaaFillArc.c \
                   xaaLine.c xaaDashLine.c xaaOverlay.c xaaOffscreen.c \
                   xaaOverlayDF.c xaaStateChange.c xaaPict.c $(POLYSEG) \
                   $(LSB_FIRST) $(MSB_FIRST) $(LSB_FIXED) $(MSB_FIXED) \
                   $(LSB_3_FIRST) $(MSB_3_FIRST) $(LSB_3_FIXED) $(MSB_3_FIXED)
${POLYSEG}:
	echo "#define POLYSEGMENT" > $@
	echo '#include "$(srcdir)/${@:s-%=%}"' >> $@
${LSB_FIRST}:
	echo "#define LSBFIRST" > $@
	echo '#include "$(srcdir)/${@:l-%=%}"' >> $@
${LSB_3_FIRST}:
	echo "#define LSBFIRST" > $@
	echo "#define TRIPLE_BITS" >> $@
	echo '#include "$(srcdir)/${@:l3-%=%}"' >> $@
${LSB_FIXED}:
	echo "#define LSBFIRST" > $@
	echo "#define FIXEDBASE" >> $@
	echo '#include "$(srcdir)/${@:lf-%=%}"' >> $@
${LSB_3_FIXED}:
	echo "#define LSBFIRST" > $@
	echo "#define TRIPLE_BITS" >> $@
	echo "#define FIXEDBASE" >> $@
	echo '#include "$(srcdir)/${@:lf3-%=%}"' >> $@
${MSB_FIRST}:
	echo "#define MSBFIRST" > $@
	echo '#include "$(srcdir)/${@:m-%=%}"' >> $@
${MSB_3_FIRST}:
	echo "#define MSBFIRST" > $@
	echo "#define TRIPLE_BITS" >> $@
	echo '#include "$(srcdir)/${@:m3-%=%}"' >> $@
${MSB_FIXED}:
	echo "#define MSBFIRST" > $@
	echo "#define FIXEDBASE" >> $@
	echo '#include "$(srcdir)/${@:mf-%=%}"' >> $@
${MSB_3_FIXED}:
	echo "#define MSBFIRST" > $@
	echo "#define TRIPLE_BITS" >> $@
	echo "#define FIXEDBASE" >> $@
	echo '#include "$(srcdir)/${@:mf3-%=%}"' >> $@

DISTCLEANFILES = $(POLYSEG) \
	$(LSB_FIRST) $(LSB_FIXED) $(MSB_FIRST) $(MSB_FIXED) \
	$(LSB_3_FIRST) $(LSB_3_FIXED) $(MSB_3_FIRST) $(MSB_3_FIXED)

sdk_HEADERS = xaa.h xaalocal.h xaarop.h xaaWrapper.h
EXTRA_DIST = xaacexp.h xaawrap.h xaaLine.c xaaDashLine.c \
             xaaStipple.c xaaTEGlyph.c xaaNonTEGlyph.c xaaBitmap.c \
             XAA.HOWTO

INCLUDES = $(XORG_INCS) -I$(srcdir)/../../../miext/cw

AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)