summaryrefslogtreecommitdiff
path: root/Build/source/libs/cairo/Makefile.am
blob: ca74078b94cc814e5f53cf8800967f88bf53fd83 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
## Proxy Makefile.am to build cairo for TeX Live.
##
##   Copyright (C) 2012 Taco Hoekwater <taco@metatex.org>
##   Copyright (C) 2013-2015 Peter Breitenlohner <tex-live@tug.org>
##
##   This file is free software; the copyright holder
##   gives unlimited permission to copy and/or distribute it,
##   with or without modifications, as long as this notice is preserved.
##
## We want to re-distribute the whole cairo source tree.
##
EXTRA_DIST = $(CAIRO_TREE)

## Changes applied to the original source tree
##
EXTRA_DIST += $(CAIRO_TREE)-PATCHES

CAIRO_SRC = $(CAIRO_TREE)/src

# Files not to be distributed
include $(srcdir)/../../am/dist_hook.am
NEVER_NAMES += $(NEVER_NAMES_SUB)

SUBDIRS = . cairo

AM_CPPFLAGS = -I$(top_srcdir)/$(CAIRO_SRC) $(PIXMAN_INCLUDES) -DCAIRO_NO_MUTEX
AM_CFLAGS = $(CAIRO_ATTRIBUTE_FLAG) $(VISIBILITY_CFLAGS) # $(WARNING_CFLAGS)

noinst_LIBRARIES = libcairo.a

libcairo_a_SOURCES = \
	@CAIRO_TREE@/src/cairo-analysis-surface.c \
	@CAIRO_TREE@/src/cairo-arc.c \
	@CAIRO_TREE@/src/cairo-array.c \
	@CAIRO_TREE@/src/cairo-atomic.c \
	@CAIRO_TREE@/src/cairo-base64-stream.c \
	@CAIRO_TREE@/src/cairo-base85-stream.c \
	@CAIRO_TREE@/src/cairo-bentley-ottmann.c \
	@CAIRO_TREE@/src/cairo-bentley-ottmann-rectangular.c \
	@CAIRO_TREE@/src/cairo-bentley-ottmann-rectilinear.c \
	@CAIRO_TREE@/src/cairo-botor-scan-converter.c \
	@CAIRO_TREE@/src/cairo-boxes.c \
	@CAIRO_TREE@/src/cairo-boxes-intersect.c \
	@CAIRO_TREE@/src/cairo.c \
	@CAIRO_TREE@/src/cairo-cache.c \
	@CAIRO_TREE@/src/cairo-clip.c \
	@CAIRO_TREE@/src/cairo-clip-boxes.c \
	@CAIRO_TREE@/src/cairo-clip-polygon.c \
	@CAIRO_TREE@/src/cairo-clip-region.c \
	@CAIRO_TREE@/src/cairo-clip-surface.c \
	@CAIRO_TREE@/src/cairo-color.c \
	@CAIRO_TREE@/src/cairo-composite-rectangles.c \
	@CAIRO_TREE@/src/cairo-compositor.c \
	@CAIRO_TREE@/src/cairo-contour.c \
	@CAIRO_TREE@/src/cairo-damage.c \
	@CAIRO_TREE@/src/cairo-debug.c \
	@CAIRO_TREE@/src/cairo-default-context.c \
	@CAIRO_TREE@/src/cairo-device.c \
	@CAIRO_TREE@/src/cairo-error.c \
	@CAIRO_TREE@/src/cairo-fallback-compositor.c \
	@CAIRO_TREE@/src/cairo-fixed.c \
	@CAIRO_TREE@/src/cairo-font-face.c \
	@CAIRO_TREE@/src/cairo-font-face-twin.c \
	@CAIRO_TREE@/src/cairo-font-face-twin-data.c \
	@CAIRO_TREE@/src/cairo-font-options.c \
	@CAIRO_TREE@/src/cairo-freelist.c \
	@CAIRO_TREE@/src/cairo-freed-pool.c \
	@CAIRO_TREE@/src/cairo-gstate.c \
	@CAIRO_TREE@/src/cairo-hash.c \
	@CAIRO_TREE@/src/cairo-hull.c \
	@CAIRO_TREE@/src/cairo-image-compositor.c \
	@CAIRO_TREE@/src/cairo-image-info.c \
	@CAIRO_TREE@/src/cairo-image-source.c \
	@CAIRO_TREE@/src/cairo-image-surface.c \
	@CAIRO_TREE@/src/cairo-line.c \
	@CAIRO_TREE@/src/cairo-lzw.c \
	@CAIRO_TREE@/src/cairo-matrix.c \
	@CAIRO_TREE@/src/cairo-mask-compositor.c \
	@CAIRO_TREE@/src/cairo-mesh-pattern-rasterizer.c \
	@CAIRO_TREE@/src/cairo-mempool.c \
	@CAIRO_TREE@/src/cairo-misc.c \
	@CAIRO_TREE@/src/cairo-mono-scan-converter.c \
	@CAIRO_TREE@/src/cairo-mutex.c \
	@CAIRO_TREE@/src/cairo-no-compositor.c \
	@CAIRO_TREE@/src/cairo-observer.c \
	@CAIRO_TREE@/src/cairo-output-stream.c \
	@CAIRO_TREE@/src/cairo-paginated-surface.c \
	@CAIRO_TREE@/src/cairo-path-bounds.c \
	@CAIRO_TREE@/src/cairo-path.c \
	@CAIRO_TREE@/src/cairo-path-fill.c \
	@CAIRO_TREE@/src/cairo-path-fixed.c \
	@CAIRO_TREE@/src/cairo-path-in-fill.c \
	@CAIRO_TREE@/src/cairo-path-stroke.c \
	@CAIRO_TREE@/src/cairo-path-stroke-boxes.c \
	@CAIRO_TREE@/src/cairo-path-stroke-polygon.c \
	@CAIRO_TREE@/src/cairo-path-stroke-traps.c \
	@CAIRO_TREE@/src/cairo-path-stroke-tristrip.c \
	@CAIRO_TREE@/src/cairo-pattern.c \
	@CAIRO_TREE@/src/cairo-pen.c \
	@CAIRO_TREE@/src/cairo-polygon.c \
	@CAIRO_TREE@/src/cairo-polygon-intersect.c \
	@CAIRO_TREE@/src/cairo-polygon-reduce.c \
	@CAIRO_TREE@/src/cairo-raster-source-pattern.c \
	@CAIRO_TREE@/src/cairo-recording-surface.c \
	@CAIRO_TREE@/src/cairo-rectangle.c \
	@CAIRO_TREE@/src/cairo-rectangular-scan-converter.c \
	@CAIRO_TREE@/src/cairo-region.c \
	@CAIRO_TREE@/src/cairo-rtree.c \
	@CAIRO_TREE@/src/cairo-scaled-font.c \
	@CAIRO_TREE@/src/cairo-shape-mask-compositor.c \
	@CAIRO_TREE@/src/cairo-slope.c \
	@CAIRO_TREE@/src/cairo-spans.c \
	@CAIRO_TREE@/src/cairo-spans-compositor.c \
	@CAIRO_TREE@/src/cairo-spline.c \
	@CAIRO_TREE@/src/cairo-stroke-dash.c \
	@CAIRO_TREE@/src/cairo-stroke-style.c \
	@CAIRO_TREE@/src/cairo-surface.c \
	@CAIRO_TREE@/src/cairo-surface-clipper.c \
	@CAIRO_TREE@/src/cairo-surface-fallback.c \
	@CAIRO_TREE@/src/cairo-surface-observer.c \
	@CAIRO_TREE@/src/cairo-surface-offset.c \
	@CAIRO_TREE@/src/cairo-surface-snapshot.c \
	@CAIRO_TREE@/src/cairo-surface-subsurface.c \
	@CAIRO_TREE@/src/cairo-surface-wrapper.c \
	@CAIRO_TREE@/src/cairo-time.c \
	@CAIRO_TREE@/src/cairo-tor-scan-converter.c \
	@CAIRO_TREE@/src/cairo-tor22-scan-converter.c \
	@CAIRO_TREE@/src/cairo-clip-tor-scan-converter.c \
	@CAIRO_TREE@/src/cairo-toy-font-face.c \
	@CAIRO_TREE@/src/cairo-traps.c \
	@CAIRO_TREE@/src/cairo-tristrip.c \
	@CAIRO_TREE@/src/cairo-traps-compositor.c \
	@CAIRO_TREE@/src/cairo-unicode.c \
	@CAIRO_TREE@/src/cairo-user-font.c \
	@CAIRO_TREE@/src/cairo-version.c \
	@CAIRO_TREE@/src/cairo-wideint.c

if CAIRO_HAS_XLIB_SURFACE
libcairo_a_SOURCES += \
	@CAIRO_TREE@/src/cairo-xlib-display.c \
	@CAIRO_TREE@/src/cairo-xlib-core-compositor.c \
	@CAIRO_TREE@/src/cairo-xlib-fallback-compositor.c \
	@CAIRO_TREE@/src/cairo-xlib-render-compositor.c \
	@CAIRO_TREE@/src/cairo-xlib-screen.c \
	@CAIRO_TREE@/src/cairo-xlib-source.c \
	@CAIRO_TREE@/src/cairo-xlib-surface.c \
	@CAIRO_TREE@/src/cairo-xlib-surface-shm.c \
	@CAIRO_TREE@/src/cairo-xlib-visual.c \
	@CAIRO_TREE@/src/cairo-xlib-xcb-surface.c
endif CAIRO_HAS_XLIB_SURFACE

if CAIRO_HAS_XLIB_XRENDER_SURFACE
libcairo_a_SOURCES += \
	@CAIRO_TREE@/src/cairo-xcb-connection.c \
	@CAIRO_TREE@/src/cairo-xcb-connection-core.c \
	@CAIRO_TREE@/src/cairo-xcb-connection-render.c \
	@CAIRO_TREE@/src/cairo-xcb-connection-shm.c \
	@CAIRO_TREE@/src/cairo-xcb-resources.c \
	@CAIRO_TREE@/src/cairo-xcb-screen.c \
	@CAIRO_TREE@/src/cairo-xcb-shm.c \
	@CAIRO_TREE@/src/cairo-xcb-surface.c \
	@CAIRO_TREE@/src/cairo-xcb-surface-core.c \
	@CAIRO_TREE@/src/cairo-xcb-surface-render.c
endif CAIRO_HAS_XLIB_XRENDER_SURFACE

if CAIRO_HAS_XCB_SURFACE
libcairo_a_SOURCES += \
	@CAIRO_TREE@/src/cairo-xcb-connection.c \
	@CAIRO_TREE@/src/cairo-xcb-connection-core.c \
	@CAIRO_TREE@/src/cairo-xcb-connection-render.c \
	@CAIRO_TREE@/src/cairo-xcb-connection-shm.c \
	@CAIRO_TREE@/src/cairo-xcb-screen.c \
	@CAIRO_TREE@/src/cairo-xcb-shm.c \
	@CAIRO_TREE@/src/cairo-xcb-surface.c \
	@CAIRO_TREE@/src/cairo-xcb-surface-core.c \
	@CAIRO_TREE@/src/cairo-xcb-surface-render.c
endif CAIRO_HAS_XCB_SURFACE

if CAIRO_HAS_QUARTZ_SURFACE
libcairo_a_SOURCES += @CAIRO_TREE@/src/cairo-quartz-surface.c
endif CAIRO_HAS_QUARTZ_SURFACE

if CAIRO_HAS_QUARTZ_FONT
libcairo_a_SOURCES += @CAIRO_TREE@/src/cairo-quartz-font.c
endif CAIRO_HAS_QUARTZ_FONT

if CAIRO_HAS_QUARTZ_IMAGE_SURFACE
libcairo_a_SOURCES += @CAIRO_TREE@/src/cairo-quartz-image-surface.c
endif CAIRO_HAS_QUARTZ_IMAGE_SURFACE

if CAIRO_HAS_OS2_SURFACE
libcairo_a_SOURCES += @CAIRO_TREE@/src/cairo-os2-surface.c
endif CAIRO_HAS_OS2_SURFACE

if CAIRO_HAS_PNG_FUNCTIONS
libcairo_a_SOURCES += @CAIRO_TREE@/src/cairo-png.c
endif CAIRO_HAS_PNG_FUNCTIONS

if CAIRO_HAS_GL_SURFACE
libcairo_a_SOURCES += \
	@CAIRO_TREE@/src/cairo-gl-composite.c \
	@CAIRO_TREE@/src/cairo-gl-device.c \
	@CAIRO_TREE@/src/cairo-gl-dispatch.c \
	@CAIRO_TREE@/src/cairo-gl-glyphs.c \
	@CAIRO_TREE@/src/cairo-gl-gradient.c \
	@CAIRO_TREE@/src/cairo-gl-info.c \
	@CAIRO_TREE@/src/cairo-gl-operand.c \
	@CAIRO_TREE@/src/cairo-gl-shaders.c \
	@CAIRO_TREE@/src/cairo-gl-msaa-compositor.c \
	@CAIRO_TREE@/src/cairo-gl-spans-compositor.c \
	@CAIRO_TREE@/src/cairo-gl-traps-compositor.c \
	@CAIRO_TREE@/src/cairo-gl-source.c \
	@CAIRO_TREE@/src/cairo-gl-surface.c
endif CAIRO_HAS_GL_SURFACE

if CAIRO_HAS_SVG_SURFACE
libcairo_a_SOURCES += @CAIRO_TREE@/src/cairo-svg-surface.c
endif CAIRO_HAS_SVG_SURFACE

$(libcairo_a_OBJECTS): config.force

if build
check_PROGRAMS = cairotst
dist_check_SCRIPTS = cairo.test
TESTS = cairo.test
endif build

cairotst_SOURCES = cairotst.c

cairotst_CPPFLAGS = $(PIXMAN_INCLUDES) -Icairo

cairotst_DEPENDENCIES = $(PIXMAN_DEPEND)

LDADD = libcairo.a $(PIXMAN_LIBS)

## Rebuild pixman
@PIXMAN_RULE@

# Reconfig
reconfig_prereq = $(PIXMAN_DEPEND)
DISTCLEANFILES =

include $(srcdir)/../../am/reconfig.am

# Rebuild
rebuild_prereq =
rebuild_target = all
CLEANFILES =

include $(srcdir)/../../am/rebuild.am