3 # This file is the canonical location listing all the source files used
4 # to build the cairo library. Every source file is categorized as one of:
7 # * private header file (must end in -private.h except for cairoint.h)
10 # Every source file should be specified exactly once, grouped with the
11 # feature that uses the source file. If more than one feature use the
12 # file (like pdf_operators or font_subset files), the files should be
13 # appended to to the base cairo files, and the code inside them
14 # enabled/disabled using C preprocessor macros defined in cairoint.h.
15 # See how pdf_operators or font_subset are handled.
17 # The sources are picked up according to the configured features
18 # by the generated file Makefile.am.features or Makefile.win32.features.
20 # These are a few special source files. Those are not included in this
21 # file to not confuse build systems. Each build system must handle them
22 # separately. These files include:
25 # This file is generated by configure and includes macros signifying
26 # which features are enabled. This file should be installed like
27 # other public headers, but should NOT be distributed in the cairo
31 # This is a dummy header file used during the build, but it should
32 # NOT be installed. Its sole purpose is to make sure changes in the
33 # cairo version do not trigger a full rebuild of the library, but
34 # just the functions actually using the version information.
36 # * $(top_srcdir)/cairo-version.h:
37 # This is the real file holding the cairo version number. This file
38 # should be installed like other public headers. This is used during
39 # the build by cairo-version.c only.
41 # * cairo-supported-features.h:
42 # This file is generated by configure and includes macros signifying
43 # all supported features. This is used by gtk-doc to generate
44 # documentation for all those macros, enabled or not.
45 # This file is NOT used during the build of the library and should
46 # NOT be installed or distributed.
48 # Please follow the strict syntax of this file, including keeping file
52 cairo_headers = cairo.h cairo-deprecated.h cairo-embed.h
55 cairo-analysis-surface-private.h \
57 cairo-atomic-private.h \
58 cairo-cache-private.h \
59 cairo-clip-private.h \
60 cairo-compiler-private.h \
61 cairo-fixed-private.h \
62 cairo-fixed-type-private.h \
63 cairo-freelist-private.h \
64 cairo-gstate-private.h \
65 cairo-hash-private.h \
66 cairo-malloc-private.h \
67 cairo-meta-surface-private.h \
68 cairo-mutex-impl-private.h \
69 cairo-mutex-list-private.h \
70 cairo-mutex-private.h \
71 cairo-mutex-type-private.h \
72 cairo-output-stream-private.h \
73 cairo-paginated-private.h \
74 cairo-paginated-surface-private.h \
75 cairo-path-fixed-private.h \
76 cairo-path-private.h \
78 cairo-reference-count-private.h \
79 cairo-region-private.h \
80 cairo-scaled-font-private.h \
81 cairo-skiplist-private.h \
82 cairo-surface-fallback-private.h \
83 cairo-surface-private.h \
84 cairo-types-private.h \
85 cairo-user-font-private.h \
86 cairo-wideint-private.h \
87 cairo-wideint-type-private.h \
90 cairo-analysis-surface.c \
94 cairo-base85-stream.c \
95 cairo-bentley-ottmann.c \
103 cairo-font-face-twin.c \
104 cairo-font-face-twin-data.c \
105 cairo-font-options.c \
110 cairo-image-surface.c \
113 cairo-meta-surface.c \
116 cairo-output-stream.c \
117 cairo-paginated-surface.c \
118 cairo-path-bounds.c \
122 cairo-path-stroke.c \
128 cairo-scaled-font.c \
132 cairo-stroke-style.c \
134 cairo-surface-fallback.c \
143 _cairo_font_subset_private = \
144 cairo-scaled-font-subsets-private.h \
145 cairo-truetype-subset-private.h \
146 cairo-type1-private.h \
147 cairo-type3-glyph-surface-private.h \
149 _cairo_font_subset_sources = \
151 cairo-scaled-font-subsets.c \
152 cairo-truetype-subset.c \
153 cairo-type1-fallback.c \
154 cairo-type1-subset.c \
155 cairo-type3-glyph-surface.c \
157 cairo_private += $(_cairo_font_subset_private)
158 cairo_sources += $(_cairo_font_subset_sources)
160 _cairo_pdf_operators_private = cairo-pdf-operators-private.h
161 _cairo_pdf_operators_sources = cairo-pdf-operators.c
162 cairo_private += $(_cairo_pdf_operators_private)
163 cairo_sources += $(_cairo_pdf_operators_sources)
165 cairo_png_sources = cairo-png.c
167 cairo_ps_headers = cairo-ps.h
168 cairo_ps_private = cairo-ps-surface-private.h
169 cairo_ps_sources = cairo-ps-surface.c
171 cairo_pdf_headers = cairo-pdf.h
172 cairo_pdf_private = cairo-pdf-surface-private.h
173 cairo_pdf_sources = cairo-pdf-surface.c cairo-deflate-stream.c
175 cairo_svg_headers = cairo-svg.h
176 cairo_svg_private = cairo-svg-surface-private.h
177 cairo_svg_sources = cairo-svg-surface.c
179 cairo_ft_headers = cairo-ft.h
180 cairo_ft_private = cairo-ft-private.h
181 cairo_ft_sources = cairo-ft-font.c
183 # These are private, even though they look like public headers
184 cairo_test_surfaces_private = \
185 test-fallback-surface.h \
186 test-meta-surface.h \
187 test-paginated-surface.h \
189 cairo_test_surfaces_sources = \
190 test-fallback-surface.c \
191 test-meta-surface.c \
192 test-paginated-surface.c \
195 cairo_xlib_headers = cairo-xlib.h
196 cairo_xlib_private = \
197 cairo-xlib-private.h \
198 cairo-xlib-surface-private.h \
199 cairo-xlib-xrender-private.h \
201 cairo_xlib_sources = \
202 cairo-xlib-display.c \
203 cairo-xlib-screen.c \
204 cairo-xlib-surface.c \
205 cairo-xlib-visual.c \
208 cairo_xlib_xrender_headers = cairo-xlib-xrender.h
210 # XXX split xcb-xrender. or better yet, merge it into xcb. xcb is so recent
211 # that it's hard to imagine having xcb but not render.
212 cairo_xcb_headers = cairo-xcb.h cairo-xcb-xrender.h
213 cairo_xcb_sources = cairo-xcb-surface.c
215 cairo_quartz_headers = cairo-quartz.h
216 cairo_quartz_private = cairo-quartz-private.h
217 cairo_quartz_sources = cairo-quartz-surface.c
219 cairo_quartz_image_headers = cairo-quartz-image.h
220 cairo_quartz_image_sources = cairo-quartz-image-surface.c
222 cairo_quartz_font_sources = cairo-quartz-font.c
224 cairo_win32_headers = cairo-win32.h
225 cairo_win32_private = cairo-win32-private.h
226 cairo_win32_sources = cairo-win32-surface.c cairo-win32-printing-surface.c
228 cairo_win32_font_sources = cairo-win32-font.c
230 cairo_os2_headers = cairo-os2.h
231 cairo_os2_private = cairo-os2-private.h
232 cairo_os2_sources = cairo-os2-surface.c
234 # automake is stupid enough to always use c++ linker if we enable the
235 # following lines, even if beos surface is not enabled. Disable it for now.
236 cairo_beos_headers = cairo-beos.h
237 #cairo_beos_sources = cairo-beos-surface.cpp
239 cairo_glitz_headers = cairo-glitz.h
240 cairo_glitz_private = cairo-glitz-private.h
241 cairo_glitz_sources = cairo-glitz-surface.c
243 cairo_directfb_headers = cairo-directfb.h
244 cairo_directfb_sources = cairo-directfb-surface.c