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