1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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:
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)
50 build_triplet = @build@
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
65 # libpng is required for our test programs
66 @CAIRO_HAS_PNG_FUNCTIONS_TRUE@am__append_1 = boilerplate test perf
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) \
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))
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
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)"; }; }
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"`; \
159 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
160 if test "$$first2" = "$$first"; then \
161 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
165 dir0="$$dir0"/"$$first"; \
168 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
172 DIST_ARCHIVES = $(distdir).tar.xz
173 distuninstallcheck_listfiles = find . -type f -print
174 distcleancheck_listfiles = find . -type f -print
177 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
180 AUTOCONF = @AUTOCONF@
181 AUTOHEADER = @AUTOHEADER@
182 AUTOMAKE = @AUTOMAKE@
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@
201 CCDEPMODE = @CCDEPMODE@
204 CPPFLAGS = @CPPFLAGS@
207 CXXDEPMODE = @CXXDEPMODE@
208 CXXFLAGS = @CXXFLAGS@
209 CYGPATH_W = @CYGPATH_W@
213 DSYMUTIL = @DSYMUTIL@
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@
231 GTKDOC_CHECK = @GTKDOC_CHECK@
232 GTKDOC_MKPDF = @GTKDOC_MKPDF@
233 GTKDOC_REBASE = @GTKDOC_REBASE@
234 HTML_DIR = @HTML_DIR@
236 INSTALL_DATA = @INSTALL_DATA@
237 INSTALL_PROGRAM = @INSTALL_PROGRAM@
238 INSTALL_SCRIPT = @INSTALL_SCRIPT@
239 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
244 LIBRSVG_CFLAGS = @LIBRSVG_CFLAGS@
245 LIBRSVG_LIBS = @LIBRSVG_LIBS@
247 LIBSPECTRE_CFLAGS = @LIBSPECTRE_CFLAGS@
248 LIBSPECTRE_LIBS = @LIBSPECTRE_LIBS@
252 LTLIBOBJS = @LTLIBOBJS@
254 LTP_GENHTML = @LTP_GENHTML@
255 MAKEINFO = @MAKEINFO@
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@
277 SET_MAKE = @SET_MAKE@
279 SHLIB_EXT = @SHLIB_EXT@
280 SHM_LIBS = @SHM_LIBS@
283 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
284 VALGRIND_LIBS = @VALGRIND_LIBS@
288 X_CFLAGS = @X_CFLAGS@
289 X_EXTRA_LIBS = @X_EXTRA_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@
303 am__untar = @am__untar@
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@
314 datarootdir = @datarootdir@
315 directfb_CFLAGS = @directfb_CFLAGS@
316 directfb_LIBS = @directfb_LIBS@
318 drm_CFLAGS = @drm_CFLAGS@
319 drm_LIBS = @drm_LIBS@
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@
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@
334 host_alias = @host_alias@
335 host_cpu = @host_cpu@
337 host_vendor = @host_vendor@
339 includedir = @includedir@
341 install_sh = @install_sh@
343 libexecdir = @libexecdir@
344 localedir = @localedir@
345 localstatedir = @localstatedir@
348 mesa_DIR = @mesa_DIR@
350 oldincludedir = @oldincludedir@
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@
358 program_transform_name = @program_transform_name@
360 pthread_CFLAGS = @pthread_CFLAGS@
361 pthread_LIBS = @pthread_LIBS@
362 qt_CFLAGS = @qt_CFLAGS@
364 real_pthread_CFLAGS = @real_pthread_CFLAGS@
365 real_pthread_LIBS = @real_pthread_LIBS@
367 sharedstatedir = @sharedstatedir@
368 shm_LIBS = @shm_LIBS@
369 skia_DIR = @skia_DIR@
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@
387 CLEANFILES = *.i *.s *.gch $(EXTRA_LTLIBRARIES) $(EXTRA_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 \
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 \
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 = \
416 --enable-test-surfaces \
417 --enable-full-testing \
420 CURR_CHANGELOG_VERSION = $(CAIRO_VERSION_MAJOR).$$(echo "($(CAIRO_VERSION_MINOR)+1)/2*2" | bc)
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/')
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); \
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
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
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)
460 case '$(am__configure_deps)' in \
462 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
463 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
468 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
469 $(am__cd) $(top_srcdir) && \
470 $(AUTOMAKE) --foreign Makefile
472 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
475 echo ' $(SHELL) ./config.status'; \
476 $(SHELL) ./config.status;; \
478 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
479 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
482 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
483 $(SHELL) ./config.status --recheck
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):
492 @if test ! -f $@; then \
494 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
497 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
499 cd $(top_builddir) && $(SHELL) ./config.status config.h
500 $(srcdir)/config.h.in: $(am__configure_deps)
501 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
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 $@
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; \
594 -rm -f libtool config.lt
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 \
607 *k*) failcom='fail=yes';; \
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 \
616 local_target="$$target-am"; \
618 local_target="$$target"; \
620 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
623 if test "$$dot_seen" = "no"; then \
624 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
627 $(RECURSIVE_CLEAN_TARGETS):
628 @fail= failcom='exit 1'; \
629 for f in x $$MAKEFLAGS; do \
632 *k*) failcom='fail=yes';; \
637 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
638 *) list='$(SUBDIRS)' ;; \
640 rev=''; for subdir in $$list; do \
641 if test "$$subdir" = "."; then :; else \
642 rev="$$subdir $$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"; \
652 local_target="$$target"; \
654 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
656 done && test -z "$$fail"
658 list='$(SUBDIRS)'; for subdir in $$list; do \
659 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
662 list='$(SUBDIRS)'; for subdir in $$list; do \
663 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
671 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
672 END { if (nonempty) { for (i in files) print i; }; }'`; \
676 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
677 $(TAGS_FILES) $(LISP)
680 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
681 include_option=--etags-include; \
684 include_option=--include; \
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"; \
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; \
697 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
698 END { if (nonempty) { for (i in files) print i; }; }'`; \
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) \
706 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
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; \
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) \
724 here=`$(am__cd) $(top_builddir) && pwd` \
725 && $(am__cd) $(top_srcdir) \
726 && gtags -i $(GTAGS_ARGS) "$$here"
729 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
731 check-TESTS: $(TESTS)
732 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
733 srcdir=$(srcdir); export srcdir; \
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; \
750 col=$$grn; res=PASS; \
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; \
761 failed=`expr $$failed + 1`; \
762 col=$$red; res=FAIL; \
766 skip=`expr $$skip + 1`; \
767 col=$$blu; res=SKIP; \
769 echo "$${col}$$res$${std}: $$tst"; \
771 if test "$$all" -eq 1; then \
778 if test "$$failed" -eq 0; then \
779 if test "$$xfail" -eq 0; then \
780 banner="$$All$$all $$tests passed"; \
782 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
783 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
786 if test "$$xpass" -eq 0; then \
787 banner="$$failed of $$all $$tests failed"; \
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)"; \
795 if test "$$skip" -ne 0; then \
796 if test "$$skip" -eq 1; then \
797 skipped="($$skip test was not run)"; \
799 skipped="($$skip tests were not run)"; \
801 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
802 dashes="$$skipped"; \
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` || \
810 dashes=`echo "$$dashes" | sed s/./=/g`; \
811 if test "$$failed" -eq 0; then \
812 echo "$$grn$$dashes"; \
814 echo "$$red$$dashes"; \
817 test -z "$$skipped" || echo "$$skipped"; \
818 test -z "$$report" || echo "$$report"; \
819 echo "$$dashes$$std"; \
820 test "$$failed" -eq 0; \
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,/[^/]*$$,,' | \
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 {} \;; \
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 {} \;; \
848 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
850 test -f "$(distdir)/$$file" \
851 || cp -p $$d/$$file "$(distdir)/$$file" \
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" \
862 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
863 if test "$$subdir" = .; then :; else \
864 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
866 new_distdir=$$reldir; \
867 dir1=$$subdir; dir2="$(top_distdir)"; \
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=: \
883 $(MAKE) $(AM_MAKEFLAGS) \
884 top_distdir="$(top_distdir)" distdir="$(distdir)" \
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)"
894 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
895 $(am__remove_distdir)
898 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
899 $(am__remove_distdir)
902 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
903 $(am__remove_distdir)
905 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
906 $(am__remove_distdir)
909 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
910 $(am__remove_distdir)
913 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
914 $(am__remove_distdir)
917 -rm -f $(distdir).zip
918 zip -rq $(distdir).zip $(distdir)
919 $(am__remove_distdir)
921 dist dist-all: distdir
922 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
923 $(am__remove_distdir)
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
929 case '$(DIST_ARCHIVES)' in \
931 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
933 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
935 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
937 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
939 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
941 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
943 unzip $(distdir).zip ;;\
945 chmod -R a-w $(distdir); chmod a+w $(distdir)
946 mkdir $(distdir)/_build
947 mkdir $(distdir)/_inst
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-$$$$/" \
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" \
964 && chmod -R a-w "$$dc_install_base" \
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 \
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'
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)"; \
989 $(distuninstallcheck_listfiles) ; \
991 distcleancheck: distclean
992 @if test '$(srcdir)' = . ; then \
993 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
996 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
997 || { echo "ERROR: files left in build directory after distclean:" ; \
998 $(distcleancheck_listfiles) ; \
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
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
1015 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1017 installcheck: installcheck-recursive
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:
1026 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
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)
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
1041 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
1044 distclean: distclean-recursive
1045 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1047 distclean-am: clean-am distclean-generic distclean-hdr \
1048 distclean-libtool distclean-local distclean-tags
1054 html: html-recursive
1058 info: info-recursive
1064 install-dvi: install-dvi-recursive
1070 install-html: install-html-recursive
1074 install-info: install-info-recursive
1080 install-pdf: install-pdf-recursive
1084 install-ps: install-ps-recursive
1090 maintainer-clean: maintainer-clean-recursive
1091 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1092 -rm -rf $(top_srcdir)/autom4te.cache
1094 maintainer-clean-am: distclean-am maintainer-clean-generic
1096 mostlyclean: mostlyclean-recursive
1098 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1110 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1111 check-am ctags-recursive install install-am install-strip \
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
1133 configure: cairo-version.h
1136 cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
1137 test retest recheck: all
1138 cd test && $(MAKE) $(AM_MAKEFLAGS) $@
1140 cd perf && $(MAKE) $(AM_MAKEFLAGS) $@
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
1147 @$(MAKE) $(AM_MAKEFLAGS) $(CHANGELOGS)
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)/; \
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; } > $@; \
1169 (echo A git checkout is required to generate $@ >&2 && \
1170 echo A git checkout is required to generate this file >> $@); \
1173 ChangeLog.cache-*..: .git
1175 ChangeLog%: $(srcdir)/ChangeLog%
1177 $(srcdir)/ChangeLog.cache-% $(srcdir)/ChangeLog.pre-%:
1179 @if test -d "$(srcdir)/.git"; then \
1180 (cd "$(srcdir)" && \
1181 version=$$(echo "$@" | sed 's/.*ChangeLog\([.].*-\)\?//'); \
1182 if echo "$@" | grep -q '^ChangeLog[.]cache'; then \
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; \
1192 $(top_srcdir)/build/missing --run git log --stat "$$spec") > $@.tmp \
1193 && mv -f $@.tmp $@ \
1195 echo Failed to generate $@, your $@ may be outdated >&2); \
1197 echo A git checkout is required to generate $@ >&2; \
1200 .PHONY: changelogs ChangeLog $(srcdir)/ChangeLog
1202 dist-hook: dist-clear-sticky-bits
1204 # Clean up any sticky bits we may inherit from parent dir
1205 dist-clear-sticky-bits:
1206 chmod -R a-s $(distdir)
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
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'
1218 $(sha1_file): $(tar_file)
1221 $(gpg_file): $(sha1_file)
1222 @echo "Please enter your GPG password to sign the checksum."
1223 gpg --armor --sign $^
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
1233 release-verify-sane-tests:
1234 @echo "Checking that the test suite is sane..."
1235 @cd test && $(MAKE) $(AM_MAKEFLAGS) release-verify-sane-tests
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." \
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." \
1255 $(RM) $(tar_file) $(sha1_file) $(gpg_file)
1257 # Strict ordering enforced for parallel make to work
1259 release-verify-even-micro \
1260 release-verify-sane-changelogs \
1261 release-verify-sane-tests \
1262 release-verify-newer \
1264 $(MAKE) $(AM_MAKEFLAGS) release-remove-old
1265 TAR_OPTIONS="$(TAR_OPTIONS)" $(MAKE) $(AM_MAKEFLAGS) distcheck
1267 release-upload: $(tar_file) $(sha1_file) $(gpg_file)
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)
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:"
1278 @echo "Subject: $(PACKAGE) $(RELEASE_OR_SNAPSHOT) $(VERSION) now available"
1280 @echo "============================== CUT HERE =============================="
1281 @echo "A new $(PACKAGE) $(RELEASE_OR_SNAPSHOT) $(VERSION) is now available from:"
1283 @echo " $(RELEASE_URL_BASE)/$(tar_file)"
1285 @echo " which can be verified with:"
1287 @echo " $(RELEASE_URL_BASE)/$(sha1_file)"
1289 @cat releases/$(sha1_file)
1291 @echo " $(RELEASE_URL_BASE)/$(gpg_file)"
1292 @echo " (signed by `getent passwd "$$USER" | cut -d: -f 5 | cut -d, -f 1`)"
1294 @echo " Additionally, a git clone of the source tree:"
1296 @echo " git clone git://git.cairographics.org/git/cairo"
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 ,,'`"
1301 @echo " which can be verified with:"
1302 @echo " git verify-tag $(VERSION)"
1304 @echo " and can be checked out with a command such as:"
1305 @echo " git checkout -b build $(VERSION)"
1307 @echo "============================== CUT HERE =============================="
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)"
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"
1320 $(MAKE) $(AM_MAKEFLAGS) doc-publish-versioned
1321 @if test "$(RELEASE_OR_SNAPSHOT)" = release; then $(MAKE) $(AM_MAKEFLAGS) doc-publish-symlinks; fi
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
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
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
1339 @OS_WIN32_TRUE@zips: $(runtime_zip_file) $(developer_zip_file)
1342 dist-clear-sticky-bits \
1344 doc-publish-symlinks \
1345 doc-publish-versioned \
1348 release-publish-message \
1349 release-remove-old \
1351 release-verify-even-micro \
1352 release-verify-newer \
1353 release-verify-sane-changelogs \
1354 release-verify-sane-tests \
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
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
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
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)
1387 distclean-local: lcov-clean
1389 .PHONY: lcov lcov-perf genlcov lcov-clean
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.