1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
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.
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
18 # Creating ChangeLog files from git log:
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.
25 # Some custom targets to make it easier to release things.
27 # To make real stable releases or devel snapshots, use either:
29 # or make release-publish
31 # To make a quick properly named (date and git hash stamped) tarball:
39 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
40 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
42 for am__flg in $$MAKEFLAGS; do \
45 *n*) am__dry=yes; break;; \
49 test $$am__dry = yes; \
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)
67 build_triplet = @build@
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
82 # libpng is required for our test programs
83 @CAIRO_HAS_PNG_FUNCTIONS_TRUE@am__append_1 = boilerplate test perf
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) \
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@)
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 \
150 *) (install-info --version) >/dev/null 2>&1;; \
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
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)"; }; \
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"`; \
183 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
184 if test "$$first2" = "$$first"; then \
185 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
189 dir0="$$dir0"/"$$first"; \
192 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
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
203 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
206 AUTOCONF = @AUTOCONF@
207 AUTOHEADER = @AUTOHEADER@
208 AUTOMAKE = @AUTOMAKE@
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@
227 CCDEPMODE = @CCDEPMODE@
230 CPPFLAGS = @CPPFLAGS@
233 CXXDEPMODE = @CXXDEPMODE@
234 CXXFLAGS = @CXXFLAGS@
235 CYGPATH_W = @CYGPATH_W@
239 DSYMUTIL = @DSYMUTIL@
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@
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@
264 INSTALL_DATA = @INSTALL_DATA@
265 INSTALL_PROGRAM = @INSTALL_PROGRAM@
266 INSTALL_SCRIPT = @INSTALL_SCRIPT@
267 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
272 LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@
273 LIBRSVG_LIBS = @LIBRSVG_LIBS@
275 LIBSPECTRE_CFLAGS = @LIBSPECTRE_CFLAGS@
276 LIBSPECTRE_LIBS = @LIBSPECTRE_LIBS@
280 LTLIBOBJS = @LTLIBOBJS@
282 LTP_GENHTML = @LTP_GENHTML@
283 MAKEINFO = @MAKEINFO@
284 MANIFEST_TOOL = @MANIFEST_TOOL@
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@
306 SET_MAKE = @SET_MAKE@
308 SHLIB_EXT = @SHLIB_EXT@
309 SHM_LIBS = @SHM_LIBS@
312 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
313 VALGRIND_LIBS = @VALGRIND_LIBS@
317 X_CFLAGS = @X_CFLAGS@
318 X_EXTRA_LIBS = @X_EXTRA_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@
333 am__untar = @am__untar@
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@
344 datarootdir = @datarootdir@
345 directfb_CFLAGS = @directfb_CFLAGS@
346 directfb_LIBS = @directfb_LIBS@
348 drm_CFLAGS = @drm_CFLAGS@
349 drm_LIBS = @drm_LIBS@
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@
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@
364 host_alias = @host_alias@
365 host_cpu = @host_cpu@
367 host_vendor = @host_vendor@
369 includedir = @includedir@
371 install_sh = @install_sh@
373 libexecdir = @libexecdir@
374 localedir = @localedir@
375 localstatedir = @localstatedir@
376 lzo_LIBS = @lzo_LIBS@
378 mesa_DIR = @mesa_DIR@
380 oldincludedir = @oldincludedir@
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@
388 program_transform_name = @program_transform_name@
390 pthread_CFLAGS = @pthread_CFLAGS@
391 pthread_LIBS = @pthread_LIBS@
392 qt_CFLAGS = @qt_CFLAGS@
394 real_pthread_CFLAGS = @real_pthread_CFLAGS@
395 real_pthread_LIBS = @real_pthread_LIBS@
397 sharedstatedir = @sharedstatedir@
398 shm_LIBS = @shm_LIBS@
399 skia_DIR = @skia_DIR@
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@
417 CLEANFILES = *.i *.s *.gch $(EXTRA_LTLIBRARIES) $(EXTRA_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 \
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 \
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 = \
446 --enable-test-surfaces \
447 --enable-full-testing \
450 CURR_CHANGELOG_VERSION = $(CAIRO_VERSION_MAJOR).$$(echo "($(CAIRO_VERSION_MINOR)+1)/2*2" | bc)
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/')
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); \
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
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
486 am--refresh: Makefile
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)
490 case '$(am__configure_deps)' in \
492 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
493 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
498 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
499 $(am__cd) $(top_srcdir) && \
500 $(AUTOMAKE) --foreign Makefile
502 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
505 echo ' $(SHELL) ./config.status'; \
506 $(SHELL) ./config.status;; \
508 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
509 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
511 $(top_srcdir)/build/Makefile.am.common $(srcdir)/build/Makefile.am.changelog $(srcdir)/build/Makefile.am.releasing $(srcdir)/build/Makefile.am.analysis:
513 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
514 $(SHELL) ./config.status --recheck
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):
523 @if test ! -f $@; then rm -f stamp-h1; else :; fi
524 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
526 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
528 cd $(top_builddir) && $(SHELL) ./config.status config.h
529 $(srcdir)/config.h.in: $(am__configure_deps)
530 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
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 $@
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; \
623 -rm -f libtool config.lt
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 \
636 *k*) failcom='fail=yes';; \
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 \
645 local_target="$$target-am"; \
647 local_target="$$target"; \
649 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
652 if test "$$dot_seen" = "no"; then \
653 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
656 $(RECURSIVE_CLEAN_TARGETS):
657 @fail= failcom='exit 1'; \
658 for f in x $$MAKEFLAGS; do \
661 *k*) failcom='fail=yes';; \
666 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
667 *) list='$(SUBDIRS)' ;; \
669 rev=''; for subdir in $$list; do \
670 if test "$$subdir" = "."; then :; else \
671 rev="$$subdir $$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"; \
681 local_target="$$target"; \
683 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
685 done && test -z "$$fail"
687 list='$(SUBDIRS)'; for subdir in $$list; do \
688 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
691 list='$(SUBDIRS)'; for subdir in $$list; do \
692 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
700 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
701 END { if (nonempty) { for (i in files) print i; }; }'`; \
705 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
706 $(TAGS_FILES) $(LISP)
709 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
710 include_option=--etags-include; \
713 include_option=--include; \
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"; \
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; \
726 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
727 END { if (nonempty) { for (i in files) print i; }; }'`; \
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) \
735 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
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; \
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) \
753 here=`$(am__cd) $(top_builddir) && pwd` \
754 && $(am__cd) $(top_srcdir) \
755 && gtags -i $(GTAGS_ARGS) "$$here"
758 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
760 check-TESTS: $(TESTS)
761 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
762 srcdir=$(srcdir); export srcdir; \
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; \
779 col=$$grn; res=PASS; \
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; \
790 failed=`expr $$failed + 1`; \
791 col=$$red; res=FAIL; \
795 skip=`expr $$skip + 1`; \
796 col=$$blu; res=SKIP; \
798 echo "$${col}$$res$${std}: $$tst"; \
800 if test "$$all" -eq 1; then \
807 if test "$$failed" -eq 0; then \
808 if test "$$xfail" -eq 0; then \
809 banner="$$All$$all $$tests passed"; \
811 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
812 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
815 if test "$$xpass" -eq 0; then \
816 banner="$$failed of $$all $$tests failed"; \
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)"; \
824 if test "$$skip" -ne 0; then \
825 if test "$$skip" -eq 1; then \
826 skipped="($$skip test was not run)"; \
828 skipped="($$skip tests were not run)"; \
830 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
831 dashes="$$skipped"; \
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` || \
839 dashes=`echo "$$dashes" | sed s/./=/g`; \
840 if test "$$failed" -eq 0; then \
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; \
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,/[^/]*$$,,' | \
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 {} \;; \
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 {} \;; \
878 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
880 test -f "$(distdir)/$$file" \
881 || cp -p $$d/$$file "$(distdir)/$$file" \
885 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
886 if test "$$subdir" = .; then :; else \
888 || test -d "$(distdir)/$$subdir" \
889 || $(MKDIR_P) "$(distdir)/$$subdir" \
891 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
893 new_distdir=$$reldir; \
894 dir1=$$subdir; dir2="$(top_distdir)"; \
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=: \
910 $(MAKE) $(AM_MAKEFLAGS) \
911 top_distdir="$(top_distdir)" distdir="$(distdir)" \
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)"
921 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
922 $(am__remove_distdir)
925 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
926 $(am__remove_distdir)
929 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
930 $(am__remove_distdir)
933 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
934 $(am__remove_distdir)
936 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
937 $(am__remove_distdir)
940 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
941 $(am__remove_distdir)
944 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
945 $(am__remove_distdir)
948 -rm -f $(distdir).zip
949 zip -rq $(distdir).zip $(distdir)
950 $(am__remove_distdir)
952 dist dist-all: distdir
953 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
954 $(am__remove_distdir)
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
960 case '$(DIST_ARCHIVES)' in \
962 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
964 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
966 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
968 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
970 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
972 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
974 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
976 unzip $(distdir).zip ;;\
978 chmod -R a-w $(distdir); chmod u+w $(distdir)
979 mkdir $(distdir)/_build
980 mkdir $(distdir)/_inst
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-$$$$/" \
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" \
998 && chmod -R a-w "$$dc_install_base" \
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 \
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'
1017 @test -n '$(distuninstallcheck_dir)' || { \
1018 echo 'ERROR: trying to run $@ with an empty' \
1019 '$$(distuninstallcheck_dir)' >&2; \
1022 $(am__cd) '$(distuninstallcheck_dir)' || { \
1023 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
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)"; \
1031 $(distuninstallcheck_listfiles) ; \
1033 distcleancheck: distclean
1034 @if test '$(srcdir)' = . ; then \
1035 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1038 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1039 || { echo "ERROR: files left in build directory after distclean:" ; \
1040 $(distcleancheck_listfiles) ; \
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
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
1057 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1059 installcheck: installcheck-recursive
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 \
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; \
1070 mostlyclean-generic:
1073 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
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)
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
1088 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
1091 distclean: distclean-recursive
1092 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1094 distclean-am: clean-am distclean-generic distclean-hdr \
1095 distclean-libtool distclean-local distclean-tags
1101 html: html-recursive
1105 info: info-recursive
1111 install-dvi: install-dvi-recursive
1117 install-html: install-html-recursive
1121 install-info: install-info-recursive
1127 install-pdf: install-pdf-recursive
1131 install-ps: install-ps-recursive
1137 maintainer-clean: maintainer-clean-recursive
1138 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1139 -rm -rf $(top_srcdir)/autom4te.cache
1141 maintainer-clean-am: distclean-am maintainer-clean-generic
1143 mostlyclean: mostlyclean-recursive
1145 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1157 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1158 check-am ctags-recursive install install-am install-strip \
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
1180 configure: cairo-version.h
1183 cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
1184 test retest recheck: all
1185 cd test && $(MAKE) $(AM_MAKEFLAGS) $@
1187 cd perf && $(MAKE) $(AM_MAKEFLAGS) $@
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
1194 @$(MAKE) $(AM_MAKEFLAGS) $(CHANGELOGS)
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)/; \
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; } > $@; \
1216 (echo A git checkout is required to generate $@ >&2 && \
1217 echo A git checkout is required to generate this file >> $@); \
1220 ChangeLog.cache-*..: .git
1222 ChangeLog%: $(srcdir)/ChangeLog%
1224 $(srcdir)/ChangeLog.cache-% $(srcdir)/ChangeLog.pre-%:
1226 @if test -d "$(srcdir)/.git"; then \
1227 (cd "$(srcdir)" && \
1228 version=$$(echo "$@" | sed 's/.*ChangeLog\([.].*-\)\?//'); \
1229 if echo "$@" | grep -q '^ChangeLog[.]cache'; then \
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; \
1239 $(top_srcdir)/build/missing --run git log --stat "$$spec") > $@.tmp \
1240 && mv -f $@.tmp $@ \
1242 echo Failed to generate $@, your $@ may be outdated >&2); \
1244 echo A git checkout is required to generate $@ >&2; \
1247 .PHONY: changelogs ChangeLog $(srcdir)/ChangeLog
1249 dist-hook: dist-clear-sticky-bits
1251 # Clean up any sticky bits we may inherit from parent dir
1252 dist-clear-sticky-bits:
1253 chmod -R a-s $(distdir)
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
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'
1265 $(sha1_file): $(tar_file)
1268 $(gpg_file): $(sha1_file)
1269 @echo "Please enter your GPG password to sign the checksum."
1270 gpg --armor --sign $^
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
1280 release-verify-sane-tests:
1281 @echo "Checking that the test suite is sane..."
1282 @cd test && $(MAKE) $(AM_MAKEFLAGS) release-verify-sane-tests
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." \
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." \
1302 $(RM) $(tar_file) $(sha1_file) $(gpg_file)
1304 # Strict ordering enforced for parallel make to work
1306 release-verify-even-micro \
1307 release-verify-sane-changelogs \
1308 release-verify-sane-tests \
1309 release-verify-newer \
1311 $(MAKE) $(AM_MAKEFLAGS) release-remove-old
1312 TAR_OPTIONS="$(TAR_OPTIONS)" $(MAKE) $(AM_MAKEFLAGS) distcheck
1314 release-upload: $(tar_file) $(sha1_file) $(gpg_file)
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)
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:"
1325 @echo "Subject: $(PACKAGE) $(RELEASE_OR_SNAPSHOT) $(VERSION) now available"
1327 @echo "============================== CUT HERE =============================="
1328 @echo "A new $(PACKAGE) $(RELEASE_OR_SNAPSHOT) $(VERSION) is now available from:"
1330 @echo " $(RELEASE_URL_BASE)/$(tar_file)"
1332 @echo " which can be verified with:"
1334 @echo " $(RELEASE_URL_BASE)/$(sha1_file)"
1336 @cat releases/$(sha1_file)
1338 @echo " $(RELEASE_URL_BASE)/$(gpg_file)"
1339 @echo " (signed by `getent passwd "$$USER" | cut -d: -f 5 | cut -d, -f 1`)"
1341 @echo " Additionally, a git clone of the source tree:"
1343 @echo " git clone git://git.cairographics.org/git/cairo"
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 ,,'`"
1348 @echo " which can be verified with:"
1349 @echo " git verify-tag $(VERSION)"
1351 @echo " and can be checked out with a command such as:"
1352 @echo " git checkout -b build $(VERSION)"
1354 @echo "============================== CUT HERE =============================="
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)"
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"
1367 $(MAKE) $(AM_MAKEFLAGS) doc-publish-versioned
1368 @if test "$(RELEASE_OR_SNAPSHOT)" = release; then $(MAKE) $(AM_MAKEFLAGS) doc-publish-symlinks; fi
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
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
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
1386 @OS_WIN32_TRUE@zips: $(runtime_zip_file) $(developer_zip_file)
1389 dist-clear-sticky-bits \
1391 doc-publish-symlinks \
1392 doc-publish-versioned \
1395 release-publish-message \
1396 release-remove-old \
1398 release-verify-even-micro \
1399 release-verify-newer \
1400 release-verify-sane-changelogs \
1401 release-verify-sane-tests \
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
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
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
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)
1434 distclean-local: lcov-clean
1436 .PHONY: lcov lcov-perf genlcov lcov-clean
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.