Update to 1.12.14
[platform/upstream/cairo.git] / Makefile.in
1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6 # Foundation, Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 # Creating ChangeLog files from git log:
19
20 # We always create a ChangeLog that contains the most recent changes, and
21 # multiple others for changes between major releases (other than the last such
22 # segment that we put in 'ChangeLog'.  The old ones are named
23 # ChangeLog.pre-X.Y where X.Y is the version number of the major release.
24
25 # Some custom targets to make it easier to release things.
26 #
27 # To make real stable releases or devel snapshots, use either:
28 #               make release-check
29 # or            make release-publish
30 #
31 # To make a quick properly named (date and git hash stamped) tarball:
32 #               make snapshot
33 VPATH = @srcdir@
34 am__make_dryrun = \
35   { \
36     am__dry=no; \
37     case $$MAKEFLAGS in \
38       *\\[\ \   ]*) \
39         echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
40           | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
41       *) \
42         for am__flg in $$MAKEFLAGS; do \
43           case $$am__flg in \
44             *=*|--*) ;; \
45             *n*) am__dry=yes; break;; \
46           esac; \
47         done;; \
48     esac; \
49     test $$am__dry = yes; \
50   }
51 pkgdatadir = $(datadir)/@PACKAGE@
52 pkgincludedir = $(includedir)/@PACKAGE@
53 pkglibdir = $(libdir)/@PACKAGE@
54 pkglibexecdir = $(libexecdir)/@PACKAGE@
55 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
56 install_sh_DATA = $(install_sh) -c -m 644
57 install_sh_PROGRAM = $(install_sh) -c
58 install_sh_SCRIPT = $(install_sh) -c
59 INSTALL_HEADER = $(INSTALL_DATA)
60 transform = $(program_transform_name)
61 NORMAL_INSTALL = :
62 PRE_INSTALL = :
63 POST_INSTALL = :
64 NORMAL_UNINSTALL = :
65 PRE_UNINSTALL = :
66 POST_UNINSTALL = :
67 build_triplet = @build@
68 host_triplet = @host@
69 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
70         $(srcdir)/Makefile.in $(srcdir)/build/Makefile.am.analysis \
71         $(srcdir)/build/Makefile.am.changelog \
72         $(srcdir)/build/Makefile.am.releasing $(srcdir)/config.h.in \
73         $(top_srcdir)/build/Makefile.am.common $(top_srcdir)/configure \
74         $(top_srcdir)/src/cairo-features-uninstalled.pc.in \
75         $(top_srcdir)/src/cairo-uninstalled.pc.in AUTHORS COPYING \
76         ChangeLog INSTALL NEWS build/compile build/config.guess \
77         build/config.sub build/depcomp build/install-sh \
78         build/ltmain.sh build/missing
79 EXTRA_PROGRAMS =
80 TESTS =
81 check_PROGRAMS =
82 # libpng is required for our test programs
83 @CAIRO_HAS_PNG_FUNCTIONS_TRUE@am__append_1 = boilerplate test perf
84 subdir = .
85 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
86 am__aclocal_m4_deps = $(top_srcdir)/build/aclocal.cairo.m4 \
87         $(top_srcdir)/build/aclocal.compare.m4 \
88         $(top_srcdir)/build/aclocal.enable.m4 \
89         $(top_srcdir)/build/aclocal.float.m4 \
90         $(top_srcdir)/build/aclocal.makefile.m4 \
91         $(top_srcdir)/build/aclocal.pkg.m4 \
92         $(top_srcdir)/build/gtk-doc.m4 $(top_srcdir)/build/libtool.m4 \
93         $(top_srcdir)/build/ltoptions.m4 \
94         $(top_srcdir)/build/ltsugar.m4 \
95         $(top_srcdir)/build/ltversion.m4 \
96         $(top_srcdir)/build/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
97         $(top_srcdir)/cairo-version.h \
98         $(top_srcdir)/build/configure.ac.version \
99         $(top_srcdir)/build/configure.ac.tools \
100         $(top_srcdir)/build/configure.ac.features \
101         $(top_srcdir)/build/configure.ac.warnings \
102         $(top_srcdir)/build/configure.ac.system \
103         $(top_srcdir)/build/configure.ac.analysis \
104         $(top_srcdir)/build/configure.ac.noversion \
105         $(top_srcdir)/build/configure.ac.pthread \
106         $(top_srcdir)/configure.ac
107 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
108         $(ACLOCAL_M4)
109 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
110  configure.lineno config.status.lineno
111 mkinstalldirs = $(install_sh) -d
112 CONFIG_HEADER = config.h
113 CONFIG_CLEAN_FILES = cairo-uninstalled.pc cairo-xlib-uninstalled.pc \
114         cairo-xlib-xrender-uninstalled.pc cairo-xcb-uninstalled.pc \
115         cairo-xlib-xcb-uninstalled.pc cairo-xcb-shm-uninstalled.pc \
116         cairo-qt-uninstalled.pc cairo-quartz-uninstalled.pc \
117         cairo-quartz-font-uninstalled.pc \
118         cairo-quartz-image-uninstalled.pc cairo-win32-uninstalled.pc \
119         cairo-win32-font-uninstalled.pc cairo-skia-uninstalled.pc \
120         cairo-os2-uninstalled.pc cairo-beos-uninstalled.pc \
121         cairo-drm-uninstalled.pc cairo-gallium-uninstalled.pc \
122         cairo-png-uninstalled.pc cairo-gl-uninstalled.pc \
123         cairo-glesv2-uninstalled.pc cairo-cogl-uninstalled.pc \
124         cairo-directfb-uninstalled.pc cairo-vg-uninstalled.pc \
125         cairo-egl-uninstalled.pc cairo-glx-uninstalled.pc \
126         cairo-wgl-uninstalled.pc cairo-script-uninstalled.pc \
127         cairo-ft-uninstalled.pc cairo-fc-uninstalled.pc \
128         cairo-ps-uninstalled.pc cairo-pdf-uninstalled.pc \
129         cairo-svg-uninstalled.pc cairo-tee-uninstalled.pc \
130         cairo-xml-uninstalled.pc cairo-gobject-uninstalled.pc
131 CONFIG_CLEAN_VPATH_FILES =
132 AM_V_GEN = $(am__v_GEN_@AM_V@)
133 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
134 am__v_GEN_0 = @echo "  GEN   " $@;
135 AM_V_at = $(am__v_at_@AM_V@)
136 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
137 am__v_at_0 = @
138 SOURCES =
139 DIST_SOURCES =
140 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
141         html-recursive info-recursive install-data-recursive \
142         install-dvi-recursive install-exec-recursive \
143         install-html-recursive install-info-recursive \
144         install-pdf-recursive install-ps-recursive install-recursive \
145         installcheck-recursive installdirs-recursive pdf-recursive \
146         ps-recursive uninstall-recursive
147 am__can_run_installinfo = \
148   case $$AM_UPDATE_INFO_DIR in \
149     n|no|NO) false;; \
150     *) (install-info --version) >/dev/null 2>&1;; \
151   esac
152 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
153   distclean-recursive maintainer-clean-recursive
154 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
155         $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
156         distdir dist dist-all distcheck
157 ETAGS = etags
158 CTAGS = ctags
159 am__tty_colors = \
160 red=; grn=; lgn=; blu=; std=
161 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
162 distdir = $(PACKAGE)-$(VERSION)
163 top_distdir = $(distdir)
164 am__remove_distdir = \
165   if test -d "$(distdir)"; then \
166     find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
167       && rm -rf "$(distdir)" \
168       || { sleep 5 && rm -rf "$(distdir)"; }; \
169   else :; fi
170 am__relativize = \
171   dir0=`pwd`; \
172   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
173   sed_rest='s,^[^/]*/*,,'; \
174   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
175   sed_butlast='s,/*[^/]*$$,,'; \
176   while test -n "$$dir1"; do \
177     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
178     if test "$$first" != "."; then \
179       if test "$$first" = ".."; then \
180         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
181         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
182       else \
183         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
184         if test "$$first2" = "$$first"; then \
185           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
186         else \
187           dir2="../$$dir2"; \
188         fi; \
189         dir0="$$dir0"/"$$first"; \
190       fi; \
191     fi; \
192     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
193   done; \
194   reldir="$$dir2"
195 GZIP_ENV = --best
196 DIST_ARCHIVES = $(distdir).tar.xz
197 distuninstallcheck_listfiles = find . -type f -print
198 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
199   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
200 distcleancheck_listfiles = find . -type f -print
201 ACLOCAL = @ACLOCAL@
202 AMTAR = @AMTAR@
203 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
204 AR = @AR@
205 AS = @AS@
206 AUTOCONF = @AUTOCONF@
207 AUTOHEADER = @AUTOHEADER@
208 AUTOMAKE = @AUTOMAKE@
209 AWK = @AWK@
210 BFD_LIBS = @BFD_LIBS@
211 CAIROBOILERPLATE_LIBS = @CAIROBOILERPLATE_LIBS@
212 CAIRO_CFLAGS = @CAIRO_CFLAGS@
213 CAIRO_LDFLAGS = @CAIRO_LDFLAGS@
214 CAIRO_LIBS = @CAIRO_LIBS@
215 CAIRO_LIBTOOL_VERSION_INFO = @CAIRO_LIBTOOL_VERSION_INFO@
216 CAIRO_NONPKGCONFIG_CFLAGS = @CAIRO_NONPKGCONFIG_CFLAGS@
217 CAIRO_NONPKGCONFIG_LIBS = @CAIRO_NONPKGCONFIG_LIBS@
218 CAIRO_RELEASE_STATUS = @CAIRO_RELEASE_STATUS@
219 CAIRO_REQUIRES = @CAIRO_REQUIRES@
220 CAIRO_TEST_MODE = @CAIRO_TEST_MODE@
221 CAIRO_TEST_UNDEFINED_LDFLAGS = @CAIRO_TEST_UNDEFINED_LDFLAGS@
222 CAIRO_VERSION_MAJOR = @CAIRO_VERSION_MAJOR@
223 CAIRO_VERSION_MICRO = @CAIRO_VERSION_MICRO@
224 CAIRO_VERSION_MINOR = @CAIRO_VERSION_MINOR@
225 CAIRO_VERSION_SONUM = @CAIRO_VERSION_SONUM@
226 CC = @CC@
227 CCDEPMODE = @CCDEPMODE@
228 CFLAGS = @CFLAGS@
229 CPP = @CPP@
230 CPPFLAGS = @CPPFLAGS@
231 CXX = @CXX@
232 CXXCPP = @CXXCPP@
233 CXXDEPMODE = @CXXDEPMODE@
234 CXXFLAGS = @CXXFLAGS@
235 CYGPATH_W = @CYGPATH_W@
236 DEFS = @DEFS@
237 DEPDIR = @DEPDIR@
238 DLLTOOL = @DLLTOOL@
239 DSYMUTIL = @DSYMUTIL@
240 DUMPBIN = @DUMPBIN@
241 ECHO_C = @ECHO_C@
242 ECHO_N = @ECHO_N@
243 ECHO_T = @ECHO_T@
244 EGREP = @EGREP@
245 EXEEXT = @EXEEXT@
246 FGREP = @FGREP@
247 FIND = @FIND@
248 FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
249 FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
250 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
251 FREETYPE_CONFIG = @FREETYPE_CONFIG@
252 FREETYPE_LIBS = @FREETYPE_LIBS@
253 GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
254 GOBJECT_LIBS = @GOBJECT_LIBS@
255 GREP = @GREP@
256 GS = @GS@
257 GTKDOC_CHECK = @GTKDOC_CHECK@
258 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
259 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
260 GTKDOC_MKPDF = @GTKDOC_MKPDF@
261 GTKDOC_REBASE = @GTKDOC_REBASE@
262 HTML_DIR = @HTML_DIR@
263 INSTALL = @INSTALL@
264 INSTALL_DATA = @INSTALL_DATA@
265 INSTALL_PROGRAM = @INSTALL_PROGRAM@
266 INSTALL_SCRIPT = @INSTALL_SCRIPT@
267 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
268 LD = @LD@
269 LDFLAGS = @LDFLAGS@
270 LIBM = @LIBM@
271 LIBOBJS = @LIBOBJS@
272 LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@
273 LIBRSVG_LIBS = @LIBRSVG_LIBS@
274 LIBS = @LIBS@
275 LIBSPECTRE_CFLAGS = @LIBSPECTRE_CFLAGS@
276 LIBSPECTRE_LIBS = @LIBSPECTRE_LIBS@
277 LIBTOOL = @LIBTOOL@
278 LIPO = @LIPO@
279 LN_S = @LN_S@
280 LTLIBOBJS = @LTLIBOBJS@
281 LTP = @LTP@
282 LTP_GENHTML = @LTP_GENHTML@
283 MAKEINFO = @MAKEINFO@
284 MANIFEST_TOOL = @MANIFEST_TOOL@
285 MKDIR_P = @MKDIR_P@
286 NM = @NM@
287 NMEDIT = @NMEDIT@
288 OBJDUMP = @OBJDUMP@
289 OBJEXT = @OBJEXT@
290 OTOOL = @OTOOL@
291 OTOOL64 = @OTOOL64@
292 PACKAGE = @PACKAGE@
293 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
294 PACKAGE_NAME = @PACKAGE_NAME@
295 PACKAGE_STRING = @PACKAGE_STRING@
296 PACKAGE_TARNAME = @PACKAGE_TARNAME@
297 PACKAGE_URL = @PACKAGE_URL@
298 PACKAGE_VERSION = @PACKAGE_VERSION@
299 PATH_SEPARATOR = @PATH_SEPARATOR@
300 PKGCONFIG_REQUIRES = @PKGCONFIG_REQUIRES@
301 PKG_CONFIG = @PKG_CONFIG@
302 POPPLER_CFLAGS = @POPPLER_CFLAGS@
303 POPPLER_LIBS = @POPPLER_LIBS@
304 RANLIB = @RANLIB@
305 SED = @SED@
306 SET_MAKE = @SET_MAKE@
307 SHELL = @SHELL@
308 SHLIB_EXT = @SHLIB_EXT@
309 SHM_LIBS = @SHM_LIBS@
310 SHTOOL = @SHTOOL@
311 STRIP = @STRIP@
312 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
313 VALGRIND_LIBS = @VALGRIND_LIBS@
314 VERSION = @VERSION@
315 XARGS = @XARGS@
316 XMKMF = @XMKMF@
317 X_CFLAGS = @X_CFLAGS@
318 X_EXTRA_LIBS = @X_EXTRA_LIBS@
319 X_LIBS = @X_LIBS@
320 X_PRE_LIBS = @X_PRE_LIBS@
321 abs_builddir = @abs_builddir@
322 abs_srcdir = @abs_srcdir@
323 abs_top_builddir = @abs_top_builddir@
324 abs_top_srcdir = @abs_top_srcdir@
325 ac_ct_AR = @ac_ct_AR@
326 ac_ct_CC = @ac_ct_CC@
327 ac_ct_CXX = @ac_ct_CXX@
328 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
329 am__include = @am__include@
330 am__leading_dot = @am__leading_dot@
331 am__quote = @am__quote@
332 am__tar = @am__tar@
333 am__untar = @am__untar@
334 bindir = @bindir@
335 build = @build@
336 build_alias = @build_alias@
337 build_cpu = @build_cpu@
338 build_os = @build_os@
339 build_vendor = @build_vendor@
340 builddir = @builddir@
341 cogl_CFLAGS = @cogl_CFLAGS@
342 cogl_LIBS = @cogl_LIBS@
343 datadir = @datadir@
344 datarootdir = @datarootdir@
345 directfb_CFLAGS = @directfb_CFLAGS@
346 directfb_LIBS = @directfb_LIBS@
347 docdir = @docdir@
348 drm_CFLAGS = @drm_CFLAGS@
349 drm_LIBS = @drm_LIBS@
350 dvidir = @dvidir@
351 egl_CFLAGS = @egl_CFLAGS@
352 egl_LIBS = @egl_LIBS@
353 exec_prefix = @exec_prefix@
354 gallium_DIR = @gallium_DIR@
355 gl_CFLAGS = @gl_CFLAGS@
356 gl_LIBS = @gl_LIBS@
357 glesv2_CFLAGS = @glesv2_CFLAGS@
358 glesv2_LIBS = @glesv2_LIBS@
359 glib_CFLAGS = @glib_CFLAGS@
360 glib_LIBS = @glib_LIBS@
361 gtk_CFLAGS = @gtk_CFLAGS@
362 gtk_LIBS = @gtk_LIBS@
363 host = @host@
364 host_alias = @host_alias@
365 host_cpu = @host_cpu@
366 host_os = @host_os@
367 host_vendor = @host_vendor@
368 htmldir = @htmldir@
369 includedir = @includedir@
370 infodir = @infodir@
371 install_sh = @install_sh@
372 libdir = @libdir@
373 libexecdir = @libexecdir@
374 localedir = @localedir@
375 localstatedir = @localstatedir@
376 lzo_LIBS = @lzo_LIBS@
377 mandir = @mandir@
378 mesa_DIR = @mesa_DIR@
379 mkdir_p = @mkdir_p@
380 oldincludedir = @oldincludedir@
381 pdfdir = @pdfdir@
382 pixman_CFLAGS = @pixman_CFLAGS@
383 pixman_LIBS = @pixman_LIBS@
384 png_CFLAGS = @png_CFLAGS@
385 png_LIBS = @png_LIBS@
386 png_REQUIRES = @png_REQUIRES@
387 prefix = @prefix@
388 program_transform_name = @program_transform_name@
389 psdir = @psdir@
390 pthread_CFLAGS = @pthread_CFLAGS@
391 pthread_LIBS = @pthread_LIBS@
392 qt_CFLAGS = @qt_CFLAGS@
393 qt_LIBS = @qt_LIBS@
394 real_pthread_CFLAGS = @real_pthread_CFLAGS@
395 real_pthread_LIBS = @real_pthread_LIBS@
396 sbindir = @sbindir@
397 sharedstatedir = @sharedstatedir@
398 shm_LIBS = @shm_LIBS@
399 skia_DIR = @skia_DIR@
400 srcdir = @srcdir@
401 sysconfdir = @sysconfdir@
402 target_alias = @target_alias@
403 top_build_prefix = @top_build_prefix@
404 top_builddir = @top_builddir@
405 top_srcdir = @top_srcdir@
406 xcb_CFLAGS = @xcb_CFLAGS@
407 xcb_LIBS = @xcb_LIBS@
408 xcb_shm_CFLAGS = @xcb_shm_CFLAGS@
409 xcb_shm_LIBS = @xcb_shm_LIBS@
410 xlib_CFLAGS = @xlib_CFLAGS@
411 xlib_LIBS = @xlib_LIBS@
412 xlib_xcb_CFLAGS = @xlib_xcb_CFLAGS@
413 xlib_xcb_LIBS = @xlib_xcb_LIBS@
414 xlib_xrender_CFLAGS = @xlib_xrender_CFLAGS@
415 xlib_xrender_LIBS = @xlib_xrender_LIBS@
416 BUILT_SOURCES = 
417 CLEANFILES = *.i *.s *.gch $(EXTRA_LTLIBRARIES) $(EXTRA_PROGRAMS) \
418         $(check_PROGRAMS)
419 DISTCLEANFILES = $(BUILT_SOURCES) config.cache \
420         $(srcdir)/ChangeLog.cache-* ChangeLog.cache-*
421 EXTRA_DIST = KNOWN_ISSUES README.win32 Makefile.win32 \
422         build/Makefile.win32.common build/Makefile.win32.inform \
423         build/Makefile.win32.features build/Makefile.win32.features-h \
424         $(NULL) AUTHORS BIBLIOGRAPHY BUGS CODING_STYLE COPYING \
425         COPYING-LGPL-2.1 COPYING-MPL-1.1 HACKING INSTALL NEWS \
426         PORTING_GUIDE README RELEASING autogen.sh cairo-version.h \
427         $(NULL)
428 EXTRA_LTLIBRARIES = 
429 MAINTAINERCLEANFILES = Makefile.in $(srcdir)/aclocal.m4 \
430         $(srcdir)/autoscan.log $(srcdir)/build/compile \
431         $(srcdir)/build/config.guess $(srcdir)/build/config.sub \
432         $(srcdir)/build/depcomp $(srcdir)/build/install-sh \
433         $(srcdir)/build/ltmain.sh $(srcdir)/build/missing \
434         $(srcdir)/build/mkinstalldirs $(srcdir)/config.h.in \
435         $(srcdir)/configure.scan $(NULL) $(srcdir)/ChangeLog \
436         $(srcdir)/ChangeLog.pre-*
437 #MAINTAINERCLEANFILES += \
438 #       $(srcdir)/build/Makefile.win32.features \
439 #       $(srcdir)/build/Makefile.win32.features-h \
440 #       $(NULL)
441 ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS}
442 DIST_SUBDIRS = src doc util boilerplate test perf
443 SUBDIRS = src doc util $(am__append_1)
444 DISTCHECK_CONFIGURE_FLAGS = \
445         --enable-gtk-doc \
446         --enable-test-surfaces \
447         --enable-full-testing \
448         $(NULL)
449
450 CURR_CHANGELOG_VERSION = $(CAIRO_VERSION_MAJOR).$$(echo "($(CAIRO_VERSION_MINOR)+1)/2*2" | bc)
451 # examines $version
452 PREV_CHANGELOG_VERSION = $$(if test "x$$(echo "($$version-0.1)*2/2"|bc)" = "x$$(echo "$$version*2/2"|bc)"; \
453                           then echo "$$version-$$(echo "$$version" | sed 's/[0-9]/0/g;s/[0-9]$$/2/')"; \
454                           else echo "$$version-1.0"; \
455                           fi | bc | sed 's/[.]0*/./;s/^0[.]\?$$/initial/;s/[.]$$/.0/')
456
457 CHANGELOGS = ChangeLog \
458         `version=$(CURR_CHANGELOG_VERSION); \
459         version=$(PREV_CHANGELOG_VERSION); \
460         while test "x$$version" != xinitial; do \
461                 echo ChangeLog.pre-$$version; \
462                 version=$(PREV_CHANGELOG_VERSION); \
463         done`
464
465 TAR_OPTIONS = --owner=0 --group=0
466 RELEASE_OR_SNAPSHOT = $$(if test "x$(CAIRO_VERSION_MINOR)" = "x$$(echo "$(CAIRO_VERSION_MINOR)/2*2" | bc)" ; then echo release; else echo snapshot; fi)
467 RELEASE_UPLOAD_HOST = cairographics.org
468 RELEASE_UPLOAD_BASE = /srv/cairo.freedesktop.org/www
469 RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/$(RELEASE_OR_SNAPSHOT)s
470 RELEASE_URL_BASE = http://cairographics.org/$(RELEASE_OR_SNAPSHOT)s
471 RELEASE_ANNOUNCE_LIST = cairo-announce@cairographics.org (and CC gnome-announce-list@gnome.org)
472 MANUAL_VERSIONED = manual-$(VERSION)
473 MANUAL_TAR_FILE = $(MANUAL_VERSIONED).tar.gz
474 MANUAL_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)
475 tar_file = $(PACKAGE)-$(VERSION).tar.xz
476 sha1_file = $(tar_file).sha1
477 gpg_file = $(sha1_file).asc
478
479 # Win32 package zipfiles
480 @OS_WIN32_TRUE@runtime_zip_file = $(PACKAGE)-$(VERSION).zip
481 @OS_WIN32_TRUE@developer_zip_file = $(PACKAGE)-dev-$(VERSION).zip
482 all: $(BUILT_SOURCES) config.h
483         $(MAKE) $(AM_MAKEFLAGS) all-recursive
484
485 .SUFFIXES:
486 am--refresh: Makefile
487         @:
488 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/build/Makefile.am.common $(srcdir)/build/Makefile.am.changelog $(srcdir)/build/Makefile.am.releasing $(srcdir)/build/Makefile.am.analysis $(am__configure_deps)
489         @for dep in $?; do \
490           case '$(am__configure_deps)' in \
491             *$$dep*) \
492               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
493               $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
494                 && exit 0; \
495               exit 1;; \
496           esac; \
497         done; \
498         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
499         $(am__cd) $(top_srcdir) && \
500           $(AUTOMAKE) --foreign Makefile
501 .PRECIOUS: Makefile
502 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
503         @case '$?' in \
504           *config.status*) \
505             echo ' $(SHELL) ./config.status'; \
506             $(SHELL) ./config.status;; \
507           *) \
508             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
509             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
510         esac;
511 $(top_srcdir)/build/Makefile.am.common $(srcdir)/build/Makefile.am.changelog $(srcdir)/build/Makefile.am.releasing $(srcdir)/build/Makefile.am.analysis:
512
513 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
514         $(SHELL) ./config.status --recheck
515
516 $(top_srcdir)/configure:  $(am__configure_deps)
517         $(am__cd) $(srcdir) && $(AUTOCONF)
518 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
519         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
520 $(am__aclocal_m4_deps):
521
522 config.h: stamp-h1
523         @if test ! -f $@; then rm -f stamp-h1; else :; fi
524         @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
525
526 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
527         @rm -f stamp-h1
528         cd $(top_builddir) && $(SHELL) ./config.status config.h
529 $(srcdir)/config.h.in:  $(am__configure_deps) 
530         ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
531         rm -f stamp-h1
532         touch $@
533
534 distclean-hdr:
535         -rm -f config.h stamp-h1
536 cairo-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-uninstalled.pc.in
537         cd $(top_builddir) && $(SHELL) ./config.status $@
538 cairo-xlib-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
539         cd $(top_builddir) && $(SHELL) ./config.status $@
540 cairo-xlib-xrender-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
541         cd $(top_builddir) && $(SHELL) ./config.status $@
542 cairo-xcb-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
543         cd $(top_builddir) && $(SHELL) ./config.status $@
544 cairo-xlib-xcb-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
545         cd $(top_builddir) && $(SHELL) ./config.status $@
546 cairo-xcb-shm-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
547         cd $(top_builddir) && $(SHELL) ./config.status $@
548 cairo-qt-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
549         cd $(top_builddir) && $(SHELL) ./config.status $@
550 cairo-quartz-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
551         cd $(top_builddir) && $(SHELL) ./config.status $@
552 cairo-quartz-font-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
553         cd $(top_builddir) && $(SHELL) ./config.status $@
554 cairo-quartz-image-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
555         cd $(top_builddir) && $(SHELL) ./config.status $@
556 cairo-win32-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
557         cd $(top_builddir) && $(SHELL) ./config.status $@
558 cairo-win32-font-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
559         cd $(top_builddir) && $(SHELL) ./config.status $@
560 cairo-skia-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
561         cd $(top_builddir) && $(SHELL) ./config.status $@
562 cairo-os2-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
563         cd $(top_builddir) && $(SHELL) ./config.status $@
564 cairo-beos-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
565         cd $(top_builddir) && $(SHELL) ./config.status $@
566 cairo-drm-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
567         cd $(top_builddir) && $(SHELL) ./config.status $@
568 cairo-gallium-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
569         cd $(top_builddir) && $(SHELL) ./config.status $@
570 cairo-png-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
571         cd $(top_builddir) && $(SHELL) ./config.status $@
572 cairo-gl-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
573         cd $(top_builddir) && $(SHELL) ./config.status $@
574 cairo-glesv2-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
575         cd $(top_builddir) && $(SHELL) ./config.status $@
576 cairo-cogl-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
577         cd $(top_builddir) && $(SHELL) ./config.status $@
578 cairo-directfb-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
579         cd $(top_builddir) && $(SHELL) ./config.status $@
580 cairo-vg-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
581         cd $(top_builddir) && $(SHELL) ./config.status $@
582 cairo-egl-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
583         cd $(top_builddir) && $(SHELL) ./config.status $@
584 cairo-glx-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
585         cd $(top_builddir) && $(SHELL) ./config.status $@
586 cairo-wgl-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
587         cd $(top_builddir) && $(SHELL) ./config.status $@
588 cairo-script-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
589         cd $(top_builddir) && $(SHELL) ./config.status $@
590 cairo-ft-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
591         cd $(top_builddir) && $(SHELL) ./config.status $@
592 cairo-fc-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
593         cd $(top_builddir) && $(SHELL) ./config.status $@
594 cairo-ps-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
595         cd $(top_builddir) && $(SHELL) ./config.status $@
596 cairo-pdf-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
597         cd $(top_builddir) && $(SHELL) ./config.status $@
598 cairo-svg-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
599         cd $(top_builddir) && $(SHELL) ./config.status $@
600 cairo-tee-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
601         cd $(top_builddir) && $(SHELL) ./config.status $@
602 cairo-xml-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
603         cd $(top_builddir) && $(SHELL) ./config.status $@
604 cairo-gobject-uninstalled.pc: $(top_builddir)/config.status $(top_srcdir)/src/cairo-features-uninstalled.pc.in
605         cd $(top_builddir) && $(SHELL) ./config.status $@
606
607 clean-checkPROGRAMS:
608         @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
609         echo " rm -f" $$list; \
610         rm -f $$list || exit $$?; \
611         test -n "$(EXEEXT)" || exit 0; \
612         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
613         echo " rm -f" $$list; \
614         rm -f $$list
615
616 mostlyclean-libtool:
617         -rm -f *.lo
618
619 clean-libtool:
620         -rm -rf .libs _libs
621
622 distclean-libtool:
623         -rm -f libtool config.lt
624
625 # This directory's subdirectories are mostly independent; you can cd
626 # into them and run `make' without going through this Makefile.
627 # To change the values of `make' variables: instead of editing Makefiles,
628 # (1) if the variable is set in `config.status', edit `config.status'
629 #     (which will cause the Makefiles to be regenerated when you run `make');
630 # (2) otherwise, pass the desired values on the `make' command line.
631 $(RECURSIVE_TARGETS):
632         @fail= failcom='exit 1'; \
633         for f in x $$MAKEFLAGS; do \
634           case $$f in \
635             *=* | --[!k]*);; \
636             *k*) failcom='fail=yes';; \
637           esac; \
638         done; \
639         dot_seen=no; \
640         target=`echo $@ | sed s/-recursive//`; \
641         list='$(SUBDIRS)'; for subdir in $$list; do \
642           echo "Making $$target in $$subdir"; \
643           if test "$$subdir" = "."; then \
644             dot_seen=yes; \
645             local_target="$$target-am"; \
646           else \
647             local_target="$$target"; \
648           fi; \
649           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
650           || eval $$failcom; \
651         done; \
652         if test "$$dot_seen" = "no"; then \
653           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
654         fi; test -z "$$fail"
655
656 $(RECURSIVE_CLEAN_TARGETS):
657         @fail= failcom='exit 1'; \
658         for f in x $$MAKEFLAGS; do \
659           case $$f in \
660             *=* | --[!k]*);; \
661             *k*) failcom='fail=yes';; \
662           esac; \
663         done; \
664         dot_seen=no; \
665         case "$@" in \
666           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
667           *) list='$(SUBDIRS)' ;; \
668         esac; \
669         rev=''; for subdir in $$list; do \
670           if test "$$subdir" = "."; then :; else \
671             rev="$$subdir $$rev"; \
672           fi; \
673         done; \
674         rev="$$rev ."; \
675         target=`echo $@ | sed s/-recursive//`; \
676         for subdir in $$rev; do \
677           echo "Making $$target in $$subdir"; \
678           if test "$$subdir" = "."; then \
679             local_target="$$target-am"; \
680           else \
681             local_target="$$target"; \
682           fi; \
683           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
684           || eval $$failcom; \
685         done && test -z "$$fail"
686 tags-recursive:
687         list='$(SUBDIRS)'; for subdir in $$list; do \
688           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
689         done
690 ctags-recursive:
691         list='$(SUBDIRS)'; for subdir in $$list; do \
692           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
693         done
694
695 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
696         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
697         unique=`for i in $$list; do \
698             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
699           done | \
700           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
701               END { if (nonempty) { for (i in files) print i; }; }'`; \
702         mkid -fID $$unique
703 tags: TAGS
704
705 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
706                 $(TAGS_FILES) $(LISP)
707         set x; \
708         here=`pwd`; \
709         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
710           include_option=--etags-include; \
711           empty_fix=.; \
712         else \
713           include_option=--include; \
714           empty_fix=; \
715         fi; \
716         list='$(SUBDIRS)'; for subdir in $$list; do \
717           if test "$$subdir" = .; then :; else \
718             test ! -f $$subdir/TAGS || \
719               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
720           fi; \
721         done; \
722         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
723         unique=`for i in $$list; do \
724             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
725           done | \
726           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
727               END { if (nonempty) { for (i in files) print i; }; }'`; \
728         shift; \
729         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
730           test -n "$$unique" || unique=$$empty_fix; \
731           if test $$# -gt 0; then \
732             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
733               "$$@" $$unique; \
734           else \
735             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
736               $$unique; \
737           fi; \
738         fi
739 ctags: CTAGS
740 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
741                 $(TAGS_FILES) $(LISP)
742         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
743         unique=`for i in $$list; do \
744             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
745           done | \
746           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
747               END { if (nonempty) { for (i in files) print i; }; }'`; \
748         test -z "$(CTAGS_ARGS)$$unique" \
749           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
750              $$unique
751
752 GTAGS:
753         here=`$(am__cd) $(top_builddir) && pwd` \
754           && $(am__cd) $(top_srcdir) \
755           && gtags -i $(GTAGS_ARGS) "$$here"
756
757 distclean-tags:
758         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
759
760 check-TESTS: $(TESTS)
761         @failed=0; all=0; xfail=0; xpass=0; skip=0; \
762         srcdir=$(srcdir); export srcdir; \
763         list=' $(TESTS) '; \
764         $(am__tty_colors); \
765         if test -n "$$list"; then \
766           for tst in $$list; do \
767             if test -f ./$$tst; then dir=./; \
768             elif test -f $$tst; then dir=; \
769             else dir="$(srcdir)/"; fi; \
770             if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
771               all=`expr $$all + 1`; \
772               case " $(XFAIL_TESTS) " in \
773               *[\ \     ]$$tst[\ \      ]*) \
774                 xpass=`expr $$xpass + 1`; \
775                 failed=`expr $$failed + 1`; \
776                 col=$$red; res=XPASS; \
777               ;; \
778               *) \
779                 col=$$grn; res=PASS; \
780               ;; \
781               esac; \
782             elif test $$? -ne 77; then \
783               all=`expr $$all + 1`; \
784               case " $(XFAIL_TESTS) " in \
785               *[\ \     ]$$tst[\ \      ]*) \
786                 xfail=`expr $$xfail + 1`; \
787                 col=$$lgn; res=XFAIL; \
788               ;; \
789               *) \
790                 failed=`expr $$failed + 1`; \
791                 col=$$red; res=FAIL; \
792               ;; \
793               esac; \
794             else \
795               skip=`expr $$skip + 1`; \
796               col=$$blu; res=SKIP; \
797             fi; \
798             echo "$${col}$$res$${std}: $$tst"; \
799           done; \
800           if test "$$all" -eq 1; then \
801             tests="test"; \
802             All=""; \
803           else \
804             tests="tests"; \
805             All="All "; \
806           fi; \
807           if test "$$failed" -eq 0; then \
808             if test "$$xfail" -eq 0; then \
809               banner="$$All$$all $$tests passed"; \
810             else \
811               if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
812               banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
813             fi; \
814           else \
815             if test "$$xpass" -eq 0; then \
816               banner="$$failed of $$all $$tests failed"; \
817             else \
818               if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
819               banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
820             fi; \
821           fi; \
822           dashes="$$banner"; \
823           skipped=""; \
824           if test "$$skip" -ne 0; then \
825             if test "$$skip" -eq 1; then \
826               skipped="($$skip test was not run)"; \
827             else \
828               skipped="($$skip tests were not run)"; \
829             fi; \
830             test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
831               dashes="$$skipped"; \
832           fi; \
833           report=""; \
834           if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
835             report="Please report to $(PACKAGE_BUGREPORT)"; \
836             test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
837               dashes="$$report"; \
838           fi; \
839           dashes=`echo "$$dashes" | sed s/./=/g`; \
840           if test "$$failed" -eq 0; then \
841             col="$$grn"; \
842           else \
843             col="$$red"; \
844           fi; \
845           echo "$${col}$$dashes$${std}"; \
846           echo "$${col}$$banner$${std}"; \
847           test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
848           test -z "$$report" || echo "$${col}$$report$${std}"; \
849           echo "$${col}$$dashes$${std}"; \
850           test "$$failed" -eq 0; \
851         else :; fi
852
853 distdir: $(DISTFILES)
854         $(am__remove_distdir)
855         test -d "$(distdir)" || mkdir "$(distdir)"
856         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
857         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
858         list='$(DISTFILES)'; \
859           dist_files=`for file in $$list; do echo $$file; done | \
860           sed -e "s|^$$srcdirstrip/||;t" \
861               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
862         case $$dist_files in \
863           */*) $(MKDIR_P) `echo "$$dist_files" | \
864                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
865                            sort -u` ;; \
866         esac; \
867         for file in $$dist_files; do \
868           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
869           if test -d $$d/$$file; then \
870             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
871             if test -d "$(distdir)/$$file"; then \
872               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
873             fi; \
874             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
875               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
876               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
877             fi; \
878             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
879           else \
880             test -f "$(distdir)/$$file" \
881             || cp -p $$d/$$file "$(distdir)/$$file" \
882             || exit 1; \
883           fi; \
884         done
885         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
886           if test "$$subdir" = .; then :; else \
887             $(am__make_dryrun) \
888               || test -d "$(distdir)/$$subdir" \
889               || $(MKDIR_P) "$(distdir)/$$subdir" \
890               || exit 1; \
891             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
892             $(am__relativize); \
893             new_distdir=$$reldir; \
894             dir1=$$subdir; dir2="$(top_distdir)"; \
895             $(am__relativize); \
896             new_top_distdir=$$reldir; \
897             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
898             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
899             ($(am__cd) $$subdir && \
900               $(MAKE) $(AM_MAKEFLAGS) \
901                 top_distdir="$$new_top_distdir" \
902                 distdir="$$new_distdir" \
903                 am__remove_distdir=: \
904                 am__skip_length_check=: \
905                 am__skip_mode_fix=: \
906                 distdir) \
907               || exit 1; \
908           fi; \
909         done
910         $(MAKE) $(AM_MAKEFLAGS) \
911           top_distdir="$(top_distdir)" distdir="$(distdir)" \
912           dist-hook
913         -test -n "$(am__skip_mode_fix)" \
914         || find "$(distdir)" -type d ! -perm -755 \
915                 -exec chmod u+rwx,go+rx {} \; -o \
916           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
917           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
918           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
919         || chmod -R a+r "$(distdir)"
920 dist-gzip: distdir
921         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
922         $(am__remove_distdir)
923
924 dist-bzip2: distdir
925         tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
926         $(am__remove_distdir)
927
928 dist-lzip: distdir
929         tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
930         $(am__remove_distdir)
931
932 dist-lzma: distdir
933         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
934         $(am__remove_distdir)
935 dist-xz: distdir
936         tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
937         $(am__remove_distdir)
938
939 dist-tarZ: distdir
940         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
941         $(am__remove_distdir)
942
943 dist-shar: distdir
944         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
945         $(am__remove_distdir)
946
947 dist-zip: distdir
948         -rm -f $(distdir).zip
949         zip -rq $(distdir).zip $(distdir)
950         $(am__remove_distdir)
951
952 dist dist-all: distdir
953         tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
954         $(am__remove_distdir)
955
956 # This target untars the dist file and tries a VPATH configuration.  Then
957 # it guarantees that the distribution is self-contained by making another
958 # tarfile.
959 distcheck: dist
960         case '$(DIST_ARCHIVES)' in \
961         *.tar.gz*) \
962           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
963         *.tar.bz2*) \
964           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
965         *.tar.lzma*) \
966           lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
967         *.tar.lz*) \
968           lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
969         *.tar.xz*) \
970           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
971         *.tar.Z*) \
972           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
973         *.shar.gz*) \
974           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
975         *.zip*) \
976           unzip $(distdir).zip ;;\
977         esac
978         chmod -R a-w $(distdir); chmod u+w $(distdir)
979         mkdir $(distdir)/_build
980         mkdir $(distdir)/_inst
981         chmod a-w $(distdir)
982         test -d $(distdir)/_build || exit 0; \
983         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
984           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
985           && am__cwd=`pwd` \
986           && $(am__cd) $(distdir)/_build \
987           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
988             $(AM_DISTCHECK_CONFIGURE_FLAGS) \
989             $(DISTCHECK_CONFIGURE_FLAGS) \
990           && $(MAKE) $(AM_MAKEFLAGS) \
991           && $(MAKE) $(AM_MAKEFLAGS) dvi \
992           && $(MAKE) $(AM_MAKEFLAGS) check \
993           && $(MAKE) $(AM_MAKEFLAGS) install \
994           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
995           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
996           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
997                 distuninstallcheck \
998           && chmod -R a-w "$$dc_install_base" \
999           && ({ \
1000                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1001                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1002                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1003                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1004                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1005               } || { rm -rf "$$dc_destdir"; exit 1; }) \
1006           && rm -rf "$$dc_destdir" \
1007           && $(MAKE) $(AM_MAKEFLAGS) dist \
1008           && rm -rf $(DIST_ARCHIVES) \
1009           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1010           && cd "$$am__cwd" \
1011           || exit 1
1012         $(am__remove_distdir)
1013         @(echo "$(distdir) archives ready for distribution: "; \
1014           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1015           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1016 distuninstallcheck:
1017         @test -n '$(distuninstallcheck_dir)' || { \
1018           echo 'ERROR: trying to run $@ with an empty' \
1019                '$$(distuninstallcheck_dir)' >&2; \
1020           exit 1; \
1021         }; \
1022         $(am__cd) '$(distuninstallcheck_dir)' || { \
1023           echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1024           exit 1; \
1025         }; \
1026         test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1027            || { echo "ERROR: files left after uninstall:" ; \
1028                 if test -n "$(DESTDIR)"; then \
1029                   echo "  (check DESTDIR support)"; \
1030                 fi ; \
1031                 $(distuninstallcheck_listfiles) ; \
1032                 exit 1; } >&2
1033 distcleancheck: distclean
1034         @if test '$(srcdir)' = . ; then \
1035           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1036           exit 1 ; \
1037         fi
1038         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1039           || { echo "ERROR: files left in build directory after distclean:" ; \
1040                $(distcleancheck_listfiles) ; \
1041                exit 1; } >&2
1042 check-am: all-am
1043         $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1044         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1045 check: $(BUILT_SOURCES)
1046         $(MAKE) $(AM_MAKEFLAGS) check-recursive
1047 all-am: Makefile config.h
1048 installdirs: installdirs-recursive
1049 installdirs-am:
1050 install: $(BUILT_SOURCES)
1051         $(MAKE) $(AM_MAKEFLAGS) install-recursive
1052 install-exec: install-exec-recursive
1053 install-data: install-data-recursive
1054 uninstall: uninstall-recursive
1055
1056 install-am: all-am
1057         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1058
1059 installcheck: installcheck-recursive
1060 install-strip:
1061         if test -z '$(STRIP)'; then \
1062           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1063             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1064               install; \
1065         else \
1066           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1067             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1068             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1069         fi
1070 mostlyclean-generic:
1071
1072 clean-generic:
1073         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1074
1075 distclean-generic:
1076         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1077         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1078         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1079
1080 maintainer-clean-generic:
1081         @echo "This command is intended for maintainers to use"
1082         @echo "it deletes files that may require special tools to rebuild."
1083         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1084         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1085 @CAIRO_HAS_LCOV_FALSE@html-local:
1086 clean: clean-recursive
1087
1088 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
1089         mostlyclean-am
1090
1091 distclean: distclean-recursive
1092         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1093         -rm -f Makefile
1094 distclean-am: clean-am distclean-generic distclean-hdr \
1095         distclean-libtool distclean-local distclean-tags
1096
1097 dvi: dvi-recursive
1098
1099 dvi-am:
1100
1101 html: html-recursive
1102
1103 html-am: html-local
1104
1105 info: info-recursive
1106
1107 info-am:
1108
1109 install-data-am:
1110
1111 install-dvi: install-dvi-recursive
1112
1113 install-dvi-am:
1114
1115 install-exec-am:
1116
1117 install-html: install-html-recursive
1118
1119 install-html-am:
1120
1121 install-info: install-info-recursive
1122
1123 install-info-am:
1124
1125 install-man:
1126
1127 install-pdf: install-pdf-recursive
1128
1129 install-pdf-am:
1130
1131 install-ps: install-ps-recursive
1132
1133 install-ps-am:
1134
1135 installcheck-am:
1136
1137 maintainer-clean: maintainer-clean-recursive
1138         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1139         -rm -rf $(top_srcdir)/autom4te.cache
1140         -rm -f Makefile
1141 maintainer-clean-am: distclean-am maintainer-clean-generic
1142
1143 mostlyclean: mostlyclean-recursive
1144
1145 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1146
1147 pdf: pdf-recursive
1148
1149 pdf-am:
1150
1151 ps: ps-recursive
1152
1153 ps-am:
1154
1155 uninstall-am:
1156
1157 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1158         check-am ctags-recursive install install-am install-strip \
1159         tags-recursive
1160
1161 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1162         all all-am am--refresh check check-TESTS check-am clean \
1163         clean-checkPROGRAMS clean-generic clean-libtool ctags \
1164         ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
1165         dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
1166         distcheck distclean distclean-generic distclean-hdr \
1167         distclean-libtool distclean-local distclean-tags \
1168         distcleancheck distdir distuninstallcheck dvi dvi-am html \
1169         html-am html-local info info-am install install-am \
1170         install-data install-data-am install-dvi install-dvi-am \
1171         install-exec install-exec-am install-html install-html-am \
1172         install-info install-info-am install-man install-pdf \
1173         install-pdf-am install-ps install-ps-am install-strip \
1174         installcheck installcheck-am installdirs installdirs-am \
1175         maintainer-clean maintainer-clean-generic mostlyclean \
1176         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1177         tags tags-recursive uninstall uninstall-am
1178
1179
1180 configure: cairo-version.h
1181
1182 doc:
1183         cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
1184 test retest recheck: all
1185         cd test && $(MAKE) $(AM_MAKEFLAGS) $@
1186 perf: all
1187         cd perf && $(MAKE) $(AM_MAKEFLAGS) $@
1188 check-valgrind: all
1189         cd test && $(MAKE) $(AM_MAKEFLAGS) check-valgrind
1190         cd perf && $(MAKE) $(AM_MAKEFLAGS) check-valgrind
1191 .PHONY: doc test retest recheck perf check-valgrind
1192
1193 changelogs:
1194         @$(MAKE) $(AM_MAKEFLAGS) $(CHANGELOGS)
1195
1196 dist-hook: changelogs
1197         changelogs="$(CHANGELOGS)"; \
1198         for changelog in $$changelogs; do \
1199                 cp $(srcdir)/$$changelog $(distdir)/ 2>/dev/null || \
1200                 cp $$changelog $(distdir)/; \
1201         done
1202
1203 $(srcdir)/ChangeLog:
1204         @if test -d "$(srcdir)/.git"; then \
1205                 version=$(CURR_CHANGELOG_VERSION); \
1206                 prev=$(PREV_CHANGELOG_VERSION).0; \
1207                 nearest_tag=`git describe | sed 's/-.*//'`; \
1208                 before=$(srcdir)/ChangeLog.cache-$$prev..$$nearest_tag; \
1209                 after=$(srcdir)/ChangeLog.cache-$$nearest_tag..; \
1210                 $(MAKE) $(AM_MAKEFLAGS) $$before $$after && \
1211                 echo Creating $@ && \
1212                 { echo '# Generated by configure.  Do not edit.'; echo; \
1213                   cat $$after; echo; cat $$before; } > $@; \
1214         else \
1215                 test -f $@ || \
1216                 (echo A git checkout is required to generate $@ >&2 && \
1217                  echo A git checkout is required to generate this file >> $@); \
1218         fi
1219
1220 ChangeLog.cache-*..: .git
1221
1222 ChangeLog%: $(srcdir)/ChangeLog%
1223
1224 $(srcdir)/ChangeLog.cache-% $(srcdir)/ChangeLog.pre-%:
1225         @echo Creating $@
1226         @if test -d "$(srcdir)/.git"; then \
1227           (cd "$(srcdir)" && \
1228           version=$$(echo "$@" | sed 's/.*ChangeLog\([.].*-\)\?//'); \
1229           if echo "$@" | grep -q '^ChangeLog[.]cache'; then \
1230                 spec=$$version; \
1231           else \
1232                 to=$$version; \
1233                 test "x$$version" = x && version=$(CURR_CHANGELOG_VERSION); \
1234                 from=$(PREV_CHANGELOG_VERSION); \
1235                 test "x$$to" = x || to=$$to.0; \
1236                 test "x$$from" = xinitial || from=$$from.0; \
1237                 spec=$$from..$$to; \
1238           fi; \
1239           $(top_srcdir)/build/missing --run git log --stat "$$spec") > $@.tmp \
1240           && mv -f $@.tmp $@ \
1241           || ($(RM) $@.tmp; \
1242               echo Failed to generate $@, your $@ may be outdated >&2); \
1243         else \
1244           echo A git checkout is required to generate $@ >&2; \
1245         fi
1246
1247 .PHONY: changelogs ChangeLog $(srcdir)/ChangeLog
1248
1249 dist-hook: dist-clear-sticky-bits
1250
1251 # Clean up any sticky bits we may inherit from parent dir
1252 dist-clear-sticky-bits:
1253         chmod -R a-s $(distdir)
1254
1255 snapshot:
1256         distdir="$(distdir)-`date '+%Y%m%d'`"; \
1257         test -d "$(srcdir)/.git" && distdir=$$distdir-`cd "$(srcdir)" && git rev-parse HEAD | cut -c 1-6`; \
1258         TAR_OPTIONS="$(TAR_OPTIONS)" $(MAKE) $(AM_MAKEFLAGS) distdir="$$distdir" snapshot-dist
1259
1260 snapshot-dist: dist
1261         @(echo "$(distdir) archives ready for distribution: "; \
1262           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1263           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1264
1265 $(sha1_file): $(tar_file)
1266         sha1sum $^ > $@
1267
1268 $(gpg_file): $(sha1_file)
1269         @echo "Please enter your GPG password to sign the checksum."
1270         gpg --armor --sign $^ 
1271
1272 release-verify-sane-changelogs: changelogs
1273         @echo -n "Checking that the ChangeLog files are sane..."
1274         @if grep -q "is required to generate" $(CHANGELOGS); then \
1275                 (echo "Ouch." && echo "Some of the ChangeLogs are not generated correctly." \
1276                 && echo "Remove ChangeLog* and make changelogs" \
1277                 && false); else :; fi
1278         @echo "Good."
1279
1280 release-verify-sane-tests:
1281         @echo "Checking that the test suite is sane..."
1282         @cd test && $(MAKE) $(AM_MAKEFLAGS) release-verify-sane-tests
1283
1284 release-verify-even-micro:
1285         @echo -n "Checking that $(VERSION) has an even micro component..."
1286         @test "$(CAIRO_VERSION_MICRO)" = "`echo $(CAIRO_VERSION_MICRO)/2*2 | bc`" \
1287                 || (echo "Ouch." && echo "The version micro component '$(CAIRO_VERSION_MICRO)' is not an even number." \
1288                 && echo "The version in configure.in must be incremented before a new release." \
1289                 && false)
1290         @echo "Good."
1291
1292 release-verify-newer:
1293         @echo -n "Checking that no $(VERSION) release already exists..."
1294         @ssh $(RELEASE_UPLOAD_HOST) test ! -e $(RELEASE_UPLOAD_DIR)/$(tar_file) \
1295                 || (echo "Ouch." && echo "Found: $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR)/$(tar_file)" \
1296                 && echo "Are you sure you have an updated checkout?" \
1297                 && echo "This should never happen." \
1298                 && false)
1299         @echo "Good."
1300
1301 release-remove-old:
1302         $(RM) $(tar_file) $(sha1_file) $(gpg_file)
1303
1304 # Strict ordering enforced for parallel make to work
1305 release-check: \
1306         release-verify-even-micro \
1307         release-verify-sane-changelogs \
1308         release-verify-sane-tests \
1309         release-verify-newer \
1310         $(NULL)
1311         $(MAKE) $(AM_MAKEFLAGS) release-remove-old
1312         TAR_OPTIONS="$(TAR_OPTIONS)" $(MAKE) $(AM_MAKEFLAGS) distcheck
1313
1314 release-upload: $(tar_file) $(sha1_file) $(gpg_file)
1315         mkdir -p releases
1316         scp $(tar_file) $(sha1_file) $(gpg_file) $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR)
1317         mv $(tar_file) $(sha1_file) $(gpg_file) releases
1318         ssh $(RELEASE_UPLOAD_HOST) "rm -f $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-[0-9]* && ln -s $(tar_file) $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-$(VERSION)"
1319         git tag -s  -m "cairo $(CAIRO_VERSION_MAJOR).$(CAIRO_VERSION_MINOR).$(CAIRO_VERSION_MICRO) release" $(CAIRO_VERSION_MAJOR).$(CAIRO_VERSION_MINOR).$(CAIRO_VERSION_MICRO)
1320
1321 release-publish-message: releases/$(sha1_file)
1322         @echo "Please follow the instructions in RELEASING to push stuff out and"
1323         @echo "send out the announcement mails.  Here is the excerpt you need:"
1324         @echo ""
1325         @echo "Subject: $(PACKAGE) $(RELEASE_OR_SNAPSHOT) $(VERSION) now available"
1326         @echo ""
1327         @echo "============================== CUT HERE =============================="
1328         @echo "A new $(PACKAGE) $(RELEASE_OR_SNAPSHOT) $(VERSION) is now available from:"
1329         @echo ""
1330         @echo " $(RELEASE_URL_BASE)/$(tar_file)"
1331         @echo ""
1332         @echo "    which can be verified with:"
1333         @echo ""
1334         @echo " $(RELEASE_URL_BASE)/$(sha1_file)"
1335         @echo -n "      "
1336         @cat releases/$(sha1_file)
1337         @echo ""
1338         @echo " $(RELEASE_URL_BASE)/$(gpg_file)"
1339         @echo " (signed by `getent passwd "$$USER" | cut -d: -f 5 | cut -d, -f 1`)"
1340         @echo ""
1341         @echo "  Additionally, a git clone of the source tree:"
1342         @echo ""
1343         @echo " git clone git://git.cairographics.org/git/cairo"
1344         @echo ""
1345         @echo "    will include a signed $(VERSION) tag which points to a commit named:"
1346         @echo " `git cat-file tag $(VERSION) | grep ^object | sed -e 's,object ,,'`"
1347         @echo ""
1348         @echo "    which can be verified with:"
1349         @echo " git verify-tag $(VERSION)"
1350         @echo ""
1351         @echo "    and can be checked out with a command such as:"
1352         @echo " git checkout -b build $(VERSION)"
1353         @echo ""
1354         @echo "============================== CUT HERE =============================="
1355
1356 doc-publish-versioned: doc
1357         rm -rf ./$(MANUAL_VERSIONED)
1358         cp -a doc/public/html $(MANUAL_VERSIONED)
1359         tar czf $(MANUAL_TAR_FILE) $(MANUAL_VERSIONED)
1360         scp $(MANUAL_TAR_FILE) $(RELEASE_UPLOAD_HOST):$(MANUAL_UPLOAD_DIR)
1361         ssh $(RELEASE_UPLOAD_HOST) "cd $(MANUAL_UPLOAD_DIR) && tar xzf $(MANUAL_TAR_FILE) && ln -sf $(MANUAL_TAR_FILE) cairo-$(MANUAL_TAR_FILE)"
1362
1363 doc-publish-symlinks:
1364         ssh $(RELEASE_UPLOAD_HOST) "cd $(MANUAL_UPLOAD_DIR) && rm -f manual && ln -s $(MANUAL_VERSIONED) manual && ln -sf $(MANUAL_TAR_FILE) cairo-manual.tar.gz"
1365
1366 doc-publish:
1367         $(MAKE) $(AM_MAKEFLAGS) doc-publish-versioned
1368         @if test "$(RELEASE_OR_SNAPSHOT)" = release; then $(MAKE) $(AM_MAKEFLAGS) doc-publish-symlinks; fi
1369
1370 # Strict ordering enforced for parallel make to work
1371 release-publish: release-check
1372         $(MAKE) $(AM_MAKEFLAGS) release-upload
1373         $(MAKE) $(AM_MAKEFLAGS) doc-publish
1374         $(MAKE) $(AM_MAKEFLAGS) release-publish-message
1375
1376 @OS_WIN32_TRUE@$(runtime_zip_file): install
1377 @OS_WIN32_TRUE@ -$(RM) $@
1378 @OS_WIN32_TRUE@ pwd=`pwd`; cd $(prefix); \
1379 @OS_WIN32_TRUE@ zip "$$pwd"/$@ bin/libcairo-$(CAIRO_VERSION_SONUM).dll
1380
1381 @OS_WIN32_TRUE@$(developer_zip_file): install
1382 @OS_WIN32_TRUE@ -$(RM) $@
1383 @OS_WIN32_TRUE@ pwd=`pwd`; cd $(prefix); \
1384 @OS_WIN32_TRUE@ zip -r "$$pwd"/$@ include/cairo lib/libcairo.dll.a lib/cairo.lib lib/pkgconfig/cairo.pc lib/pkgconfig/cairo-*.pc share/gtk-doc/html/cairo
1385
1386 @OS_WIN32_TRUE@zips: $(runtime_zip_file) $(developer_zip_file)
1387
1388 .PHONY: \
1389         dist-clear-sticky-bits \
1390         doc-publish \
1391         doc-publish-symlinks \
1392         doc-publish-versioned \
1393         release-check \
1394         release-publish \
1395         release-publish-message \
1396         release-remove-old \
1397         release-upload \
1398         release-verify-even-micro \
1399         release-verify-newer \
1400         release-verify-sane-changelogs \
1401         release-verify-sane-tests \
1402         snapshot \
1403         snapshot-dist \
1404         $(NULL)
1405 # use recursive makes in order to ignore errors during check/perf
1406 @CAIRO_HAS_LCOV_TRUE@lcov:
1407 @CAIRO_HAS_LCOV_TRUE@   -$(MAKE) $(AM_MAKEFLAGS) check
1408 @CAIRO_HAS_LCOV_TRUE@   $(MAKE) $(AM_MAKEFLAGS) genlcov
1409 @CAIRO_HAS_LCOV_TRUE@lcov-perf:
1410 @CAIRO_HAS_LCOV_TRUE@   -$(MAKE) $(AM_MAKEFLAGS) perf
1411 @CAIRO_HAS_LCOV_TRUE@   $(MAKE) $(AM_MAKEFLAGS) genlcov
1412
1413 # we have to massage the lcov.info file slightly to hide the effect of libtool
1414 # placing the objects files in the .libs/ directory separate from the *.c
1415 @CAIRO_HAS_LCOV_TRUE@genlcov:
1416 @CAIRO_HAS_LCOV_TRUE@   $(LTP) --directory $(top_builddir) --path $(top_builddir) --capture --output-file cairo-lcov.info --test-name CAIRO_TEST --no-checksum
1417 @CAIRO_HAS_LCOV_TRUE@   $(SED) -e 's#.libs/##' \
1418 @CAIRO_HAS_LCOV_TRUE@          -e 's#boilerplate/src#src#' \
1419 @CAIRO_HAS_LCOV_TRUE@          -e 's#$(shell pwd)#$(shell cd $(top_srcdir) && pwd)#' \
1420 @CAIRO_HAS_LCOV_TRUE@          < cairo-lcov.info > cairo-lcov.info.tmp
1421 @CAIRO_HAS_LCOV_TRUE@   LANG=C $(LTP_GENHTML) --prefix $(top_builddir) --output-directory cairo-lcov --title "Cairo Code Coverage" --show-details cairo-lcov.info.tmp
1422 @CAIRO_HAS_LCOV_TRUE@   $(RM) cairo-lcov.info.tmp
1423
1424 @CAIRO_HAS_LCOV_TRUE@html-local: lcov
1425 @CAIRO_HAS_LCOV_FALSE@lcov lcov-perf genlcov:
1426 @CAIRO_HAS_LCOV_FALSE@  @echo You need to configure Cairo with support for gcov enabled.
1427 @CAIRO_HAS_LCOV_FALSE@  @echo e.g, ./configure --enable-gcov
1428
1429 lcov-clean:
1430 @CAIRO_HAS_LCOV_TRUE@   -$(LTP) --directory $(top_builddir) -z
1431         -$(RM) -r cairo-lcov.info cairo-lcov
1432         -$(FIND) -name '*.gcda' -print | $(XARGS) $(RM)
1433
1434 distclean-local: lcov-clean
1435
1436 .PHONY: lcov lcov-perf genlcov lcov-clean
1437
1438 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1439 # Otherwise a system limit (for SysV at least) may be exceeded.
1440 .NOEXPORT: