Makefile.in 63 KB

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