summaryrefslogtreecommitdiff
path: root/src/Makefile.sources
blob: 0a1ce352743dc563928f59b990cf433147b73e9f (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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
# Makefile.sources
#
# This file is the canonical location listing all the source files used
# to build the cairo library.  Every source file is categorized as one of:
#
#   * public header file
#   * private header file (must end in -private.h except for cairoint.h)
#   * source code file
#
# Every source file should be specified exactly once, grouped with the
# feature that uses the source file.  If more than one feature use the
# file (like pdf_operators or font_subset files), the files should be
# appended to to the base cairo files, and the code inside them
# enabled/disabled using C preprocessor macros defined in cairoint.h.
# See how pdf_operators or font_subset are handled.
#
# The sources are picked up according to the configured features
# by the generated file Makefile.am.features or Makefile.win32.features.
#
# These are a few special source files.  Those are not included in this
# file to not confuse build systems.  Each build system must handle them
# separately.  These files include:
#
#   * cairo-features.h:
#     This file is generated by configure and includes macros signifying
#     which features are enabled.  This file should be installed like
#     other public headers, but should NOT be distributed in the cairo
#     distribution.
#
#   * cairo-supported-features.h:
#     This file is generated by configure and includes macros signifying
#     all supported features.  This is used by gtk-doc to generate
#     documentation for all those macros, enabled or not.
#     This file is NOT used during the build of the library and should
#     NOT be installed or distributed.
#
# Please follow the strict syntax of this file, including keeping file
# lists sorted.
#

cairo_headers = cairo.h cairo-version.h cairo-deprecated.h
cairo_private = \
	cairoint.h \
	cairo-analysis-surface-private.h \
	cairo-arc-private.h \
	cairo-array-private.h \
	cairo-atomic-private.h \
	cairo-backend-private.h \
	cairo-box-inline.h \
	cairo-boxes-private.h \
	cairo-cache-private.h \
	cairo-clip-inline.h \
	cairo-clip-private.h \
	cairo-combsort-inline.h \
	cairo-compiler-private.h \
	cairo-composite-rectangles-private.h \
	cairo-compositor-private.h \
	cairo-contour-inline.h \
	cairo-contour-private.h \
	cairo-damage-private.h \
	cairo-default-context-private.h \
	cairo-device-private.h \
	cairo-error-inline.h \
	cairo-error-private.h \
	cairo-fixed-private.h \
	cairo-fixed-type-private.h \
	cairo-fontconfig-private.h \
	cairo-freed-pool-private.h \
	cairo-freelist-private.h \
	cairo-freelist-type-private.h \
	cairo-gstate-private.h \
	cairo-hash-private.h \
	cairo-image-info-private.h \
	cairo-image-surface-inline.h \
	cairo-image-surface-private.h \
	cairo-line-inline.h \
	cairo-line-private.h \
	cairo-list-inline.h \
	cairo-list-private.h \
	cairo-malloc-private.h \
	cairo-mempool-private.h \
	cairo-mutex-impl-private.h \
	cairo-mutex-list-private.h \
	cairo-mutex-private.h \
	cairo-mutex-type-private.h \
	cairo-output-stream-private.h \
	cairo-paginated-private.h \
	cairo-paginated-surface-private.h \
	cairo-path-fixed-private.h \
	cairo-path-private.h \
	cairo-pattern-inline.h \
	cairo-pattern-private.h \
	cairo-pixman-private.h \
	cairo-private.h \
	cairo-recording-surface-inline.h \
	cairo-recording-surface-private.h \
	cairo-reference-count-private.h \
	cairo-region-private.h \
	cairo-rtree-private.h \
	cairo-scaled-font-private.h \
	cairo-slope-private.h \
	cairo-spans-compositor-private.h \
	cairo-spans-private.h \
	cairo-stroke-dash-private.h \
	cairo-surface-backend-private.h \
	cairo-surface-clipper-private.h \
	cairo-surface-fallback-private.h \
	cairo-surface-inline.h \
	cairo-surface-observer-inline.h \
	cairo-surface-observer-private.h \
	cairo-surface-offset-private.h \
	cairo-surface-private.h \
	cairo-surface-snapshot-inline.h \
	cairo-surface-snapshot-private.h \
	cairo-surface-subsurface-inline.h \
	cairo-surface-subsurface-private.h \
	cairo-surface-wrapper-private.h \
	cairo-time-private.h \
	cairo-traps-private.h \
	cairo-tristrip-private.h \
	cairo-types-private.h \
	cairo-user-font-private.h \
	cairo-wideint-private.h \
	cairo-wideint-type-private.h \
	$(NULL)
cairo_sources = \
	cairo-analysis-surface.c \
	cairo-arc.c \
	cairo-array.c \
	cairo-atomic.c \
	cairo-base64-stream.c \
	cairo-base85-stream.c \
	cairo-bentley-ottmann-rectangular.c \
	cairo-bentley-ottmann-rectilinear.c \
	cairo-bentley-ottmann.c \
	cairo-botor-scan-converter.c \
	cairo-boxes-intersect.c \
	cairo-boxes.c \
	cairo-cache.c \
	cairo-clip-boxes.c \
	cairo-clip-polygon.c \
	cairo-clip-region.c \
	cairo-clip-surface.c \
	cairo-clip-tor-scan-converter.c \
	cairo-clip.c \
	cairo-color.c \
	cairo-composite-rectangles.c \
	cairo-compositor.c \
	cairo-contour.c \
	cairo-damage.c \
	cairo-debug.c \
	cairo-default-context.c \
	cairo-device.c \
	cairo-error.c \
	cairo-fallback-compositor.c \
	cairo-fixed.c \
	cairo-font-face-twin-data.c \
	cairo-font-face-twin.c \
	cairo-font-face.c \
	cairo-font-options.c \
	cairo-freed-pool.c \
	cairo-freelist.c \
	cairo-gstate.c \
	cairo-hash.c \
	cairo-hull.c \
	cairo-image-compositor.c \
	cairo-image-info.c \
	cairo-image-source.c \
	cairo-image-surface.c \
	cairo-line.c \
	cairo-lzw.c \
	cairo-mask-compositor.c \
	cairo-matrix.c \
	cairo-mempool.c \
	cairo-mesh-pattern-rasterizer.c \
	cairo-misc.c \
	cairo-mono-scan-converter.c \
	cairo-mutex.c \
	cairo-no-compositor.c \
	cairo-observer.c \
	cairo-output-stream.c \
	cairo-paginated-surface.c \
	cairo-path-bounds.c \
	cairo-path-fill.c \
	cairo-path-fixed.c \
	cairo-path-in-fill.c \
	cairo-path-stroke-boxes.c \
	cairo-path-stroke-polygon.c \
	cairo-path-stroke-traps.c \
	cairo-path-stroke-tristrip.c \
	cairo-path-stroke.c \
	cairo-path.c \
	cairo-pattern.c \
	cairo-pen.c \
	cairo-polygon-intersect.c \
	cairo-polygon-reduce.c \
	cairo-polygon.c \
	cairo-raster-source-pattern.c \
	cairo-recording-surface.c \
	cairo-rectangle.c \
	cairo-rectangular-scan-converter.c \
	cairo-region.c \
	cairo-rtree.c \
	cairo-scaled-font.c \
	cairo-shape-mask-compositor.c \
	cairo-slope.c \
	cairo-spans-compositor.c \
	cairo-spans.c \
	cairo-spline.c \
	cairo-stroke-dash.c \
	cairo-stroke-style.c \
	cairo-surface-clipper.c \
	cairo-surface-fallback.c \
	cairo-surface-observer.c \
	cairo-surface-offset.c \
	cairo-surface-snapshot.c \
	cairo-surface-subsurface.c \
	cairo-surface-wrapper.c \
	cairo-surface.c \
	cairo-time.c \
	cairo-tor-scan-converter.c \
	cairo-tor22-scan-converter.c \
	cairo-toy-font-face.c \
	cairo-traps-compositor.c \
	cairo-traps.c \
	cairo-tristrip.c \
	cairo-unicode.c \
	cairo-user-font.c \
	cairo-version.c \
	cairo-wideint.c \
	cairo.c \
	$(NULL)

_cairo_font_subset_private = \
	cairo-scaled-font-subsets-private.h \
	cairo-truetype-subset-private.h \
	cairo-type1-private.h \
        cairo-type3-glyph-surface-private.h \
	$(NULL)
_cairo_font_subset_sources = \
	cairo-cff-subset.c \
	cairo-scaled-font-subsets.c \
	cairo-truetype-subset.c \
	cairo-type1-fallback.c \
	cairo-type1-glyph-names.c \
	cairo-type1-subset.c \
        cairo-type3-glyph-surface.c \
	$(NULL)
cairo_private += $(_cairo_font_subset_private)
cairo_sources += $(_cairo_font_subset_sources)

cairo_egl_sources =
cairo_glx_sources =
cairo_wgl_sources =

_cairo_pdf_operators_private = \
	cairo-pdf-operators-private.h \
	cairo-pdf-shading-private.h \
	cairo-tag-attributes-private.h \
	$(NULL)
_cairo_pdf_operators_sources = \
	cairo-pdf-operators.c \
	cairo-pdf-shading.c \
	cairo-tag-attributes.c \
	$(NULL)
cairo_private += $(_cairo_pdf_operators_private)
cairo_sources += $(_cairo_pdf_operators_sources)

cairo_png_sources = cairo-png.c

cairo_ps_headers = cairo-ps.h
cairo_ps_private = cairo-ps-surface-private.h
cairo_ps_sources = cairo-ps-surface.c

_cairo_deflate_stream_sources = cairo-deflate-stream.c
cairo_sources += $(_cairo_deflate_stream_sources)

cairo_pdf_headers = cairo-pdf.h
cairo_pdf_private = cairo-pdf-surface-private.h cairo-tag-stack-private.h
cairo_pdf_sources = cairo-pdf-surface.c cairo-pdf-interchange.c cairo-tag-stack.c

cairo_svg_headers = cairo-svg.h
cairo_svg_private = cairo-svg-surface-private.h
cairo_svg_sources = cairo-svg-surface.c

cairo_ft_headers = cairo-ft.h
cairo_ft_private = cairo-ft-private.h
cairo_ft_sources = cairo-ft-font.c

# These are private, even though they look like public headers
cairo_test_surfaces_private = \
	test-compositor-surface.h \
	test-compositor-surface-private.h \
	test-null-compositor-surface.h \
	test-paginated-surface.h \
	$(NULL)
cairo_test_surfaces_sources = \
	test-compositor-surface.c \
	test-null-compositor-surface.c \
	test-base-compositor-surface.c \
	test-paginated-surface.c \
	$(NULL)

cairo_xlib_headers = cairo-xlib.h
cairo_xlib_private = \
	cairo-xlib-private.h \
	cairo-xlib-surface-private.h \
	cairo-xlib-xrender-private.h \
	$(NULL)
cairo_xlib_sources = \
	cairo-xlib-display.c \
	cairo-xlib-core-compositor.c \
	cairo-xlib-fallback-compositor.c \
	cairo-xlib-render-compositor.c \
	cairo-xlib-screen.c \
	cairo-xlib-source.c \
	cairo-xlib-surface.c \
	cairo-xlib-surface-shm.c \
	cairo-xlib-visual.c \
	cairo-xlib-xcb-surface.c \
	$(NULL)

cairo_xlib_xrender_headers = cairo-xlib-xrender.h

cairo_xcb_headers = cairo-xcb.h
cairo_xcb_private = cairo-xcb-private.h
cairo_xcb_sources = \
		    cairo-xcb-connection.c \
		    cairo-xcb-connection-core.c \
		    cairo-xcb-connection-render.c \
		    cairo-xcb-connection-shm.c \
		    cairo-xcb-screen.c \
		    cairo-xcb-shm.c \
		    cairo-xcb-surface.c \
		    cairo-xcb-surface-core.c \
		    cairo-xcb-surface-render.c \
		    cairo-xcb-resources.c \
		    $(NULL)

cairo_qt_headers = cairo-qt.h
cairo_qt_cxx_sources = cairo-qt-surface.cpp

cairo_quartz_headers = cairo-quartz.h
cairo_quartz_private = cairo-quartz-private.h
cairo_quartz_sources = cairo-quartz-surface.c

cairo_quartz_image_headers = cairo-quartz-image.h
cairo_quartz_image_sources = cairo-quartz-image-surface.c

cairo_quartz_font_sources = cairo-quartz-font.c

cairo_win32_headers = cairo-win32.h
cairo_win32_private = win32/cairo-win32-private.h
cairo_win32_sources = \
	win32/cairo-win32-debug.c \
	win32/cairo-win32-device.c \
	win32/cairo-win32-gdi-compositor.c \
	win32/cairo-win32-system.c \
	win32/cairo-win32-surface.c \
	win32/cairo-win32-display-surface.c \
	win32/cairo-win32-printing-surface.c \
	$(NULL)
cairo_win32_font_sources = \
	win32/cairo-win32-font.c \
	$(NULL)

cairo_os2_headers = cairo-os2.h
cairo_os2_private = cairo-os2-private.h
cairo_os2_sources = cairo-os2-surface.c

# automake is stupid enough to always use c++ linker if we enable the
# following lines, even if beos surface is not enabled.  Disable it for now.
cairo_beos_headers = cairo-beos.h
cairo_beos_cxx_sources = cairo-beos-surface.cpp

cairo_gl_headers = cairo-gl.h
cairo_gl_private = cairo-gl-private.h \
		   cairo-gl-dispatch-private.h \
		   cairo-gl-ext-def-private.h \
		   cairo-gl-gradient-private.h

cairo_gl_sources = cairo-gl-composite.c \
		   cairo-gl-device.c \
		   cairo-gl-dispatch.c \
		   cairo-gl-glyphs.c \
		   cairo-gl-gradient.c \
		   cairo-gl-info.c \
		   cairo-gl-msaa-compositor.c \
		   cairo-gl-operand.c \
		   cairo-gl-shaders.c \
		   cairo-gl-source.c \
		   cairo-gl-spans-compositor.c \
		   cairo-gl-surface.c \
		   cairo-gl-traps-compositor.c

cairo_glesv2_headers = $(cairo_gl_headers)
cairo_glesv2_private = $(cairo_gl_private)
cairo_glesv2_sources = $(cairo_gl_sources)

cairo_glesv3_headers = $(cairo_gl_headers)
cairo_glesv3_private = $(cairo_gl_private)
cairo_glesv3_sources = $(cairo_gl_sources)

cairo_egl_sources += cairo-egl-context.c
cairo_glx_sources += cairo-glx-context.c
cairo_wgl_sources += cairo-wgl-context.c

cairo_directfb_headers = cairo-directfb.h
cairo_directfb_sources = cairo-directfb-surface.c

cairo_drm_headers = cairo-drm.h
cairo_drm_private = drm/cairo-drm-private.h \
		    drm/cairo-drm-intel-private.h \
		    drm/cairo-drm-intel-brw-defines.h \
		    drm/cairo-drm-intel-brw-structs.h \
		    drm/cairo-drm-intel-brw-eu.h \
		    drm/cairo-drm-intel-command-private.h \
		    drm/cairo-drm-intel-ioctl-private.h \
		    drm/cairo-drm-i915-private.h \
		    drm/cairo-drm-i965-private.h \
		    drm/cairo-drm-radeon-private.h
cairo_drm_sources = drm/cairo-drm.c \
		    drm/cairo-drm-bo.c \
		    drm/cairo-drm-surface.c \
		    drm/cairo-drm-intel.c \
		    drm/cairo-drm-intel-debug.c \
		    drm/cairo-drm-intel-surface.c \
		    drm/cairo-drm-i915-surface.c \
		    drm/cairo-drm-i915-glyphs.c \
		    drm/cairo-drm-i915-shader.c \
		    drm/cairo-drm-i915-spans.c \
		    drm/cairo-drm-i965-surface.c \
		    drm/cairo-drm-i965-glyphs.c \
		    drm/cairo-drm-i965-shader.c \
		    drm/cairo-drm-i965-spans.c \
		    drm/cairo-drm-intel-brw-eu.c \
		    drm/cairo-drm-intel-brw-eu-emit.c \
		    drm/cairo-drm-intel-brw-eu-util.c \
		    drm/cairo-drm-radeon.c \
		    drm/cairo-drm-radeon-surface.c
cairo_gallium_sources = drm/cairo-drm-gallium-surface.c

cairo_script_headers = cairo-script.h
cairo_script_private = cairo-script-private.h
cairo_script_sources = cairo-script-surface.c

cairo_tee_headers = cairo-tee.h
cairo_tee_private = cairo-tee-surface-private.h
cairo_tee_sources = cairo-tee-surface.c

cairo_xml_headers = cairo-xml.h
cairo_xml_sources = cairo-xml-surface.c

cairo_vg_headers = cairo-vg.h
cairo_vg_sources = cairo-vg-surface.c

cairo_cogl_headers = cairo-cogl.h
cairo_cogl_private = cairo-cogl-private.h \
		     cairo-cogl-gradient-private.h
cairo_cogl_sources = cairo-cogl-surface.c \
		     cairo-cogl-gradient.c