You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.in 51 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240
  1. # Makefile.in generated by automake 1.14.1 from Makefile.am.
  2. # @configure_input@
  3. # Copyright (C) 1994-2013 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. VPATH = @srcdir@
  13. am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
  14. am__make_running_with_option = \
  15. case $${target_option-} in \
  16. ?) ;; \
  17. *) echo "am__make_running_with_option: internal error: invalid" \
  18. "target option '$${target_option-}' specified" >&2; \
  19. exit 1;; \
  20. esac; \
  21. has_opt=no; \
  22. sane_makeflags=$$MAKEFLAGS; \
  23. if $(am__is_gnu_make); then \
  24. sane_makeflags=$$MFLAGS; \
  25. else \
  26. case $$MAKEFLAGS in \
  27. *\\[\ \ ]*) \
  28. bs=\\; \
  29. sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  30. | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  31. esac; \
  32. fi; \
  33. skip_next=no; \
  34. strip_trailopt () \
  35. { \
  36. flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  37. }; \
  38. for flg in $$sane_makeflags; do \
  39. test $$skip_next = yes && { skip_next=no; continue; }; \
  40. case $$flg in \
  41. *=*|--*) continue;; \
  42. -*I) strip_trailopt 'I'; skip_next=yes;; \
  43. -*I?*) strip_trailopt 'I';; \
  44. -*O) strip_trailopt 'O'; skip_next=yes;; \
  45. -*O?*) strip_trailopt 'O';; \
  46. -*l) strip_trailopt 'l'; skip_next=yes;; \
  47. -*l?*) strip_trailopt 'l';; \
  48. -[dEDm]) skip_next=yes;; \
  49. -[JT]) skip_next=yes;; \
  50. esac; \
  51. case $$flg in \
  52. *$$target_option*) has_opt=yes; break;; \
  53. esac; \
  54. done; \
  55. test $$has_opt = yes
  56. am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  57. am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  58. pkgdatadir = $(datadir)/@PACKAGE@
  59. pkgincludedir = $(includedir)/@PACKAGE@
  60. pkglibdir = $(libdir)/@PACKAGE@
  61. pkglibexecdir = $(libexecdir)/@PACKAGE@
  62. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  63. install_sh_DATA = $(install_sh) -c -m 644
  64. install_sh_PROGRAM = $(install_sh) -c
  65. install_sh_SCRIPT = $(install_sh) -c
  66. INSTALL_HEADER = $(INSTALL_DATA)
  67. transform = $(program_transform_name)
  68. NORMAL_INSTALL = :
  69. PRE_INSTALL = :
  70. POST_INSTALL = :
  71. NORMAL_UNINSTALL = :
  72. PRE_UNINSTALL = :
  73. POST_UNINSTALL = :
  74. build_triplet = @build@
  75. host_triplet = @host@
  76. check_PROGRAMS = $(am__EXEEXT_1) test1Formatted$(EXEEXT) \
  77. test2Formatted$(EXEEXT)
  78. subdir = tests
  79. DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
  80. $(top_srcdir)/depcomp $(top_srcdir)/test-driver
  81. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  82. am__aclocal_m4_deps = \
  83. $(top_srcdir)/autoconf-archive/m4/ax_append_compile_flags.m4 \
  84. $(top_srcdir)/autoconf-archive/m4/ax_append_flag.m4 \
  85. $(top_srcdir)/autoconf-archive/m4/ax_check_compile_flag.m4 \
  86. $(top_srcdir)/autoconf-archive/m4/ax_compile_check_sizeof.m4 \
  87. $(top_srcdir)/autoconf-archive/m4/ax_require_defined.m4 \
  88. $(top_srcdir)/configure.ac
  89. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  90. $(ACLOCAL_M4)
  91. mkinstalldirs = $(install_sh) -d
  92. CONFIG_HEADER = $(top_builddir)/config.h $(top_builddir)/json_config.h
  93. CONFIG_CLEAN_FILES =
  94. CONFIG_CLEAN_VPATH_FILES =
  95. am__EXEEXT_1 = test_util_file$(EXEEXT) test_float$(EXEEXT) \
  96. test1$(EXEEXT) test2$(EXEEXT) test4$(EXEEXT) \
  97. testReplaceExisting$(EXEEXT) test_parse_int64$(EXEEXT) \
  98. test_deep_copy$(EXEEXT) test_null$(EXEEXT) test_cast$(EXEEXT) \
  99. test_double_serializer$(EXEEXT) test_parse$(EXEEXT) \
  100. test_locale$(EXEEXT) test_charcase$(EXEEXT) \
  101. test_printbuf$(EXEEXT) test_set_serializer$(EXEEXT) \
  102. test_compare$(EXEEXT) test_set_value$(EXEEXT) \
  103. test_visit$(EXEEXT) test_json_pointer$(EXEEXT) \
  104. test_int_add$(EXEEXT)
  105. test1_SOURCES = test1.c
  106. test1_OBJECTS = test1.$(OBJEXT)
  107. test1_LDADD = $(LDADD)
  108. test1_DEPENDENCIES = $(LIBJSON_LA)
  109. AM_V_lt = $(am__v_lt_@AM_V@)
  110. am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  111. am__v_lt_0 = --silent
  112. am__v_lt_1 =
  113. am_test1Formatted_OBJECTS = test1Formatted-test1.$(OBJEXT) \
  114. test1Formatted-parse_flags.$(OBJEXT)
  115. test1Formatted_OBJECTS = $(am_test1Formatted_OBJECTS)
  116. test1Formatted_LDADD = $(LDADD)
  117. test1Formatted_DEPENDENCIES = $(LIBJSON_LA)
  118. test2_SOURCES = test2.c
  119. test2_OBJECTS = test2.$(OBJEXT)
  120. test2_LDADD = $(LDADD)
  121. test2_DEPENDENCIES = $(LIBJSON_LA)
  122. am_test2Formatted_OBJECTS = test2Formatted-test2.$(OBJEXT) \
  123. test2Formatted-parse_flags.$(OBJEXT)
  124. test2Formatted_OBJECTS = $(am_test2Formatted_OBJECTS)
  125. test2Formatted_LDADD = $(LDADD)
  126. test2Formatted_DEPENDENCIES = $(LIBJSON_LA)
  127. test4_SOURCES = test4.c
  128. test4_OBJECTS = test4.$(OBJEXT)
  129. test4_LDADD = $(LDADD)
  130. test4_DEPENDENCIES = $(LIBJSON_LA)
  131. testReplaceExisting_SOURCES = testReplaceExisting.c
  132. testReplaceExisting_OBJECTS = testReplaceExisting.$(OBJEXT)
  133. testReplaceExisting_LDADD = $(LDADD)
  134. testReplaceExisting_DEPENDENCIES = $(LIBJSON_LA)
  135. test_cast_SOURCES = test_cast.c
  136. test_cast_OBJECTS = test_cast.$(OBJEXT)
  137. test_cast_LDADD = $(LDADD)
  138. test_cast_DEPENDENCIES = $(LIBJSON_LA)
  139. test_charcase_SOURCES = test_charcase.c
  140. test_charcase_OBJECTS = test_charcase.$(OBJEXT)
  141. test_charcase_LDADD = $(LDADD)
  142. test_charcase_DEPENDENCIES = $(LIBJSON_LA)
  143. test_compare_SOURCES = test_compare.c
  144. test_compare_OBJECTS = test_compare.$(OBJEXT)
  145. test_compare_LDADD = $(LDADD)
  146. test_compare_DEPENDENCIES = $(LIBJSON_LA)
  147. test_deep_copy_SOURCES = test_deep_copy.c
  148. test_deep_copy_OBJECTS = test_deep_copy.$(OBJEXT)
  149. test_deep_copy_LDADD = $(LDADD)
  150. test_deep_copy_DEPENDENCIES = $(LIBJSON_LA)
  151. test_double_serializer_SOURCES = test_double_serializer.c
  152. test_double_serializer_OBJECTS = test_double_serializer.$(OBJEXT)
  153. test_double_serializer_LDADD = $(LDADD)
  154. test_double_serializer_DEPENDENCIES = $(LIBJSON_LA)
  155. test_float_SOURCES = test_float.c
  156. test_float_OBJECTS = test_float.$(OBJEXT)
  157. test_float_LDADD = $(LDADD)
  158. test_float_DEPENDENCIES = $(LIBJSON_LA)
  159. test_int_add_SOURCES = test_int_add.c
  160. test_int_add_OBJECTS = test_int_add.$(OBJEXT)
  161. test_int_add_LDADD = $(LDADD)
  162. test_int_add_DEPENDENCIES = $(LIBJSON_LA)
  163. test_json_pointer_SOURCES = test_json_pointer.c
  164. test_json_pointer_OBJECTS = test_json_pointer.$(OBJEXT)
  165. test_json_pointer_LDADD = $(LDADD)
  166. test_json_pointer_DEPENDENCIES = $(LIBJSON_LA)
  167. test_locale_SOURCES = test_locale.c
  168. test_locale_OBJECTS = test_locale.$(OBJEXT)
  169. test_locale_LDADD = $(LDADD)
  170. test_locale_DEPENDENCIES = $(LIBJSON_LA)
  171. test_null_SOURCES = test_null.c
  172. test_null_OBJECTS = test_null.$(OBJEXT)
  173. test_null_LDADD = $(LDADD)
  174. test_null_DEPENDENCIES = $(LIBJSON_LA)
  175. test_parse_SOURCES = test_parse.c
  176. test_parse_OBJECTS = test_parse.$(OBJEXT)
  177. test_parse_LDADD = $(LDADD)
  178. test_parse_DEPENDENCIES = $(LIBJSON_LA)
  179. test_parse_int64_SOURCES = test_parse_int64.c
  180. test_parse_int64_OBJECTS = test_parse_int64.$(OBJEXT)
  181. test_parse_int64_LDADD = $(LDADD)
  182. test_parse_int64_DEPENDENCIES = $(LIBJSON_LA)
  183. test_printbuf_SOURCES = test_printbuf.c
  184. test_printbuf_OBJECTS = test_printbuf.$(OBJEXT)
  185. test_printbuf_LDADD = $(LDADD)
  186. test_printbuf_DEPENDENCIES = $(LIBJSON_LA)
  187. test_set_serializer_SOURCES = test_set_serializer.c
  188. test_set_serializer_OBJECTS = test_set_serializer.$(OBJEXT)
  189. test_set_serializer_LDADD = $(LDADD)
  190. test_set_serializer_DEPENDENCIES = $(LIBJSON_LA)
  191. test_set_value_SOURCES = test_set_value.c
  192. test_set_value_OBJECTS = test_set_value.$(OBJEXT)
  193. test_set_value_LDADD = $(LDADD)
  194. test_set_value_DEPENDENCIES = $(LIBJSON_LA)
  195. am_test_util_file_OBJECTS = test_util_file.$(OBJEXT)
  196. test_util_file_OBJECTS = $(am_test_util_file_OBJECTS)
  197. test_util_file_LDADD = $(LDADD)
  198. test_util_file_DEPENDENCIES = $(LIBJSON_LA)
  199. test_visit_SOURCES = test_visit.c
  200. test_visit_OBJECTS = test_visit.$(OBJEXT)
  201. test_visit_LDADD = $(LDADD)
  202. test_visit_DEPENDENCIES = $(LIBJSON_LA)
  203. AM_V_P = $(am__v_P_@AM_V@)
  204. am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  205. am__v_P_0 = false
  206. am__v_P_1 = :
  207. AM_V_GEN = $(am__v_GEN_@AM_V@)
  208. am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  209. am__v_GEN_0 = @echo " GEN " $@;
  210. am__v_GEN_1 =
  211. AM_V_at = $(am__v_at_@AM_V@)
  212. am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  213. am__v_at_0 = @
  214. am__v_at_1 =
  215. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  216. depcomp = $(SHELL) $(top_srcdir)/depcomp
  217. am__depfiles_maybe = depfiles
  218. am__mv = mv -f
  219. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  220. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  221. LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  222. $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  223. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  224. $(AM_CFLAGS) $(CFLAGS)
  225. AM_V_CC = $(am__v_CC_@AM_V@)
  226. am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  227. am__v_CC_0 = @echo " CC " $@;
  228. am__v_CC_1 =
  229. CCLD = $(CC)
  230. LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  231. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  232. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  233. AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  234. am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  235. am__v_CCLD_0 = @echo " CCLD " $@;
  236. am__v_CCLD_1 =
  237. SOURCES = test1.c $(test1Formatted_SOURCES) test2.c \
  238. $(test2Formatted_SOURCES) test4.c testReplaceExisting.c \
  239. test_cast.c test_charcase.c test_compare.c test_deep_copy.c \
  240. test_double_serializer.c test_float.c test_int_add.c \
  241. test_json_pointer.c test_locale.c test_null.c test_parse.c \
  242. test_parse_int64.c test_printbuf.c test_set_serializer.c \
  243. test_set_value.c $(test_util_file_SOURCES) test_visit.c
  244. DIST_SOURCES = test1.c $(test1Formatted_SOURCES) test2.c \
  245. $(test2Formatted_SOURCES) test4.c testReplaceExisting.c \
  246. test_cast.c test_charcase.c test_compare.c test_deep_copy.c \
  247. test_double_serializer.c test_float.c test_int_add.c \
  248. test_json_pointer.c test_locale.c test_null.c test_parse.c \
  249. test_parse_int64.c test_printbuf.c test_set_serializer.c \
  250. test_set_value.c $(test_util_file_SOURCES) test_visit.c
  251. am__can_run_installinfo = \
  252. case $$AM_UPDATE_INFO_DIR in \
  253. n|no|NO) false;; \
  254. *) (install-info --version) >/dev/null 2>&1;; \
  255. esac
  256. am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  257. # Read a list of newline-separated strings from the standard input,
  258. # and print each of them once, without duplicates. Input order is
  259. # *not* preserved.
  260. am__uniquify_input = $(AWK) '\
  261. BEGIN { nonempty = 0; } \
  262. { items[$$0] = 1; nonempty = 1; } \
  263. END { if (nonempty) { for (i in items) print i; }; } \
  264. '
  265. # Make sure the list of sources is unique. This is necessary because,
  266. # e.g., the same source file might be shared among _SOURCES variables
  267. # for different programs/libraries.
  268. am__define_uniq_tagged_files = \
  269. list='$(am__tagged_files)'; \
  270. unique=`for i in $$list; do \
  271. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  272. done | $(am__uniquify_input)`
  273. ETAGS = etags
  274. CTAGS = ctags
  275. am__tty_colors_dummy = \
  276. mgn= red= grn= lgn= blu= brg= std=; \
  277. am__color_tests=no
  278. am__tty_colors = { \
  279. $(am__tty_colors_dummy); \
  280. if test "X$(AM_COLOR_TESTS)" = Xno; then \
  281. am__color_tests=no; \
  282. elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
  283. am__color_tests=yes; \
  284. elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
  285. am__color_tests=yes; \
  286. fi; \
  287. if test $$am__color_tests = yes; then \
  288. red=''; \
  289. grn=''; \
  290. lgn=''; \
  291. blu=''; \
  292. mgn=''; \
  293. brg=''; \
  294. std=''; \
  295. fi; \
  296. }
  297. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  298. am__vpath_adj = case $$p in \
  299. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  300. *) f=$$p;; \
  301. esac;
  302. am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  303. am__install_max = 40
  304. am__nobase_strip_setup = \
  305. srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  306. am__nobase_strip = \
  307. for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  308. am__nobase_list = $(am__nobase_strip_setup); \
  309. for p in $$list; do echo "$$p $$p"; done | \
  310. sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  311. $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  312. if (++n[$$2] == $(am__install_max)) \
  313. { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  314. END { for (dir in files) print dir, files[dir] }'
  315. am__base_list = \
  316. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  317. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  318. am__uninstall_files_from_dir = { \
  319. test -z "$$files" \
  320. || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  321. || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  322. $(am__cd) "$$dir" && rm -f $$files; }; \
  323. }
  324. am__recheck_rx = ^[ ]*:recheck:[ ]*
  325. am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
  326. am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
  327. # A command that, given a newline-separated list of test names on the
  328. # standard input, print the name of the tests that are to be re-run
  329. # upon "make recheck".
  330. am__list_recheck_tests = $(AWK) '{ \
  331. recheck = 1; \
  332. while ((rc = (getline line < ($$0 ".trs"))) != 0) \
  333. { \
  334. if (rc < 0) \
  335. { \
  336. if ((getline line2 < ($$0 ".log")) < 0) \
  337. recheck = 0; \
  338. break; \
  339. } \
  340. else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
  341. { \
  342. recheck = 0; \
  343. break; \
  344. } \
  345. else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
  346. { \
  347. break; \
  348. } \
  349. }; \
  350. if (recheck) \
  351. print $$0; \
  352. close ($$0 ".trs"); \
  353. close ($$0 ".log"); \
  354. }'
  355. # A command that, given a newline-separated list of test names on the
  356. # standard input, create the global log from their .trs and .log files.
  357. am__create_global_log = $(AWK) ' \
  358. function fatal(msg) \
  359. { \
  360. print "fatal: making $@: " msg | "cat >&2"; \
  361. exit 1; \
  362. } \
  363. function rst_section(header) \
  364. { \
  365. print header; \
  366. len = length(header); \
  367. for (i = 1; i <= len; i = i + 1) \
  368. printf "="; \
  369. printf "\n\n"; \
  370. } \
  371. { \
  372. copy_in_global_log = 1; \
  373. global_test_result = "RUN"; \
  374. while ((rc = (getline line < ($$0 ".trs"))) != 0) \
  375. { \
  376. if (rc < 0) \
  377. fatal("failed to read from " $$0 ".trs"); \
  378. if (line ~ /$(am__global_test_result_rx)/) \
  379. { \
  380. sub("$(am__global_test_result_rx)", "", line); \
  381. sub("[ ]*$$", "", line); \
  382. global_test_result = line; \
  383. } \
  384. else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
  385. copy_in_global_log = 0; \
  386. }; \
  387. if (copy_in_global_log) \
  388. { \
  389. rst_section(global_test_result ": " $$0); \
  390. while ((rc = (getline line < ($$0 ".log"))) != 0) \
  391. { \
  392. if (rc < 0) \
  393. fatal("failed to read from " $$0 ".log"); \
  394. print line; \
  395. }; \
  396. printf "\n"; \
  397. }; \
  398. close ($$0 ".trs"); \
  399. close ($$0 ".log"); \
  400. }'
  401. # Restructured Text title.
  402. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
  403. # Solaris 10 'make', and several other traditional 'make' implementations,
  404. # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
  405. # by disabling -e (using the XSI extension "set +e") if it's set.
  406. am__sh_e_setup = case $$- in *e*) set +e;; esac
  407. # Default flags passed to test drivers.
  408. am__common_driver_flags = \
  409. --color-tests "$$am__color_tests" \
  410. --enable-hard-errors "$$am__enable_hard_errors" \
  411. --expect-failure "$$am__expect_failure"
  412. # To be inserted before the command running the test. Creates the
  413. # directory for the log if needed. Stores in $dir the directory
  414. # containing $f, in $tst the test, in $log the log. Executes the
  415. # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
  416. # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
  417. # will run the test scripts (or their associated LOG_COMPILER, if
  418. # thy have one).
  419. am__check_pre = \
  420. $(am__sh_e_setup); \
  421. $(am__vpath_adj_setup) $(am__vpath_adj) \
  422. $(am__tty_colors); \
  423. srcdir=$(srcdir); export srcdir; \
  424. case "$@" in \
  425. */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
  426. *) am__odir=.;; \
  427. esac; \
  428. test "x$$am__odir" = x"." || test -d "$$am__odir" \
  429. || $(MKDIR_P) "$$am__odir" || exit $$?; \
  430. if test -f "./$$f"; then dir=./; \
  431. elif test -f "$$f"; then dir=; \
  432. else dir="$(srcdir)/"; fi; \
  433. tst=$$dir$$f; log='$@'; \
  434. if test -n '$(DISABLE_HARD_ERRORS)'; then \
  435. am__enable_hard_errors=no; \
  436. else \
  437. am__enable_hard_errors=yes; \
  438. fi; \
  439. case " $(XFAIL_TESTS) " in \
  440. *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
  441. am__expect_failure=yes;; \
  442. *) \
  443. am__expect_failure=no;; \
  444. esac; \
  445. $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
  446. # A shell command to get the names of the tests scripts with any registered
  447. # extension removed (i.e., equivalently, the names of the test logs, with
  448. # the '.log' extension removed). The result is saved in the shell variable
  449. # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
  450. # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
  451. # since that might cause problem with VPATH rewrites for suffix-less tests.
  452. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
  453. am__set_TESTS_bases = \
  454. bases='$(TEST_LOGS)'; \
  455. bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
  456. bases=`echo $$bases`
  457. RECHECK_LOGS = $(TEST_LOGS)
  458. AM_RECURSIVE_TARGETS = check recheck
  459. TEST_SUITE_LOG = test-suite.log
  460. TEST_EXTENSIONS = @EXEEXT@ .test
  461. am__test_logs1 = $(TESTS:=.log)
  462. am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
  463. TEST_LOGS = $(am__test_logs2:.test.log=.log)
  464. TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
  465. TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
  466. $(TEST_LOG_FLAGS)
  467. am__set_b = \
  468. case '$@' in \
  469. */*) \
  470. case '$*' in \
  471. */*) b='$*';; \
  472. *) b=`echo '$@' | sed 's/\.log$$//'`; \
  473. esac;; \
  474. *) \
  475. b='$*';; \
  476. esac
  477. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  478. ACLOCAL = @ACLOCAL@
  479. AMTAR = @AMTAR@
  480. AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  481. AR = @AR@
  482. AUTOCONF = @AUTOCONF@
  483. AUTOHEADER = @AUTOHEADER@
  484. AUTOMAKE = @AUTOMAKE@
  485. AWK = @AWK@
  486. CC = @CC@
  487. CCDEPMODE = @CCDEPMODE@
  488. CFLAGS = @CFLAGS@
  489. CPP = @CPP@
  490. CPPFLAGS = @CPPFLAGS@
  491. CYGPATH_W = @CYGPATH_W@
  492. DEFS = @DEFS@
  493. DEPDIR = @DEPDIR@
  494. DLLTOOL = @DLLTOOL@
  495. DSYMUTIL = @DSYMUTIL@
  496. DUMPBIN = @DUMPBIN@
  497. ECHO_C = @ECHO_C@
  498. ECHO_N = @ECHO_N@
  499. ECHO_T = @ECHO_T@
  500. EGREP = @EGREP@
  501. EXEEXT = @EXEEXT@
  502. FGREP = @FGREP@
  503. GREP = @GREP@
  504. INSTALL = @INSTALL@
  505. INSTALL_DATA = @INSTALL_DATA@
  506. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  507. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  508. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  509. JSON_BSYMBOLIC_LDFLAGS = @JSON_BSYMBOLIC_LDFLAGS@
  510. LD = @LD@
  511. LDFLAGS = @LDFLAGS@
  512. LIBOBJS = @LIBOBJS@
  513. LIBS = @LIBS@
  514. LIBTOOL = @LIBTOOL@
  515. LIPO = @LIPO@
  516. LN_S = @LN_S@
  517. LTLIBOBJS = @LTLIBOBJS@
  518. MAKEINFO = @MAKEINFO@
  519. MANIFEST_TOOL = @MANIFEST_TOOL@
  520. MKDIR_P = @MKDIR_P@
  521. NM = @NM@
  522. NMEDIT = @NMEDIT@
  523. OBJDUMP = @OBJDUMP@
  524. OBJEXT = @OBJEXT@
  525. OTOOL = @OTOOL@
  526. OTOOL64 = @OTOOL64@
  527. PACKAGE = @PACKAGE@
  528. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  529. PACKAGE_NAME = @PACKAGE_NAME@
  530. PACKAGE_STRING = @PACKAGE_STRING@
  531. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  532. PACKAGE_URL = @PACKAGE_URL@
  533. PACKAGE_VERSION = @PACKAGE_VERSION@
  534. PATH_SEPARATOR = @PATH_SEPARATOR@
  535. RANLIB = @RANLIB@
  536. SED = @SED@
  537. SET_MAKE = @SET_MAKE@
  538. SHELL = @SHELL@
  539. STRIP = @STRIP@
  540. VERSION = @VERSION@
  541. abs_builddir = @abs_builddir@
  542. abs_srcdir = @abs_srcdir@
  543. abs_top_builddir = @abs_top_builddir@
  544. abs_top_srcdir = @abs_top_srcdir@
  545. ac_ct_AR = @ac_ct_AR@
  546. ac_ct_CC = @ac_ct_CC@
  547. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  548. am__include = @am__include@
  549. am__leading_dot = @am__leading_dot@
  550. am__quote = @am__quote@
  551. am__tar = @am__tar@
  552. am__untar = @am__untar@
  553. bindir = @bindir@
  554. build = @build@
  555. build_alias = @build_alias@
  556. build_cpu = @build_cpu@
  557. build_os = @build_os@
  558. build_vendor = @build_vendor@
  559. builddir = @builddir@
  560. datadir = @datadir@
  561. datarootdir = @datarootdir@
  562. docdir = @docdir@
  563. dvidir = @dvidir@
  564. exec_prefix = @exec_prefix@
  565. host = @host@
  566. host_alias = @host_alias@
  567. host_cpu = @host_cpu@
  568. host_os = @host_os@
  569. host_vendor = @host_vendor@
  570. htmldir = @htmldir@
  571. includedir = @includedir@
  572. infodir = @infodir@
  573. install_sh = @install_sh@
  574. libdir = @libdir@
  575. libexecdir = @libexecdir@
  576. localedir = @localedir@
  577. localstatedir = @localstatedir@
  578. mandir = @mandir@
  579. mkdir_p = @mkdir_p@
  580. oldincludedir = @oldincludedir@
  581. pdfdir = @pdfdir@
  582. prefix = @prefix@
  583. program_transform_name = @program_transform_name@
  584. psdir = @psdir@
  585. sbindir = @sbindir@
  586. sharedstatedir = @sharedstatedir@
  587. srcdir = @srcdir@
  588. sysconfdir = @sysconfdir@
  589. target_alias = @target_alias@
  590. top_build_prefix = @top_build_prefix@
  591. top_builddir = @top_builddir@
  592. top_srcdir = @top_srcdir@
  593. AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tests
  594. LDADD = $(LIBJSON_LA)
  595. LIBJSON_LA = $(top_builddir)/libjson-c.la
  596. TESTS = test_util_file.test test_float.test test1.test test2.test \
  597. test4.test testReplaceExisting.test test_parse_int64.test \
  598. test_deep_copy.test test_null.test test_cast.test \
  599. test_double_serializer.test test_parse.test test_locale.test \
  600. test_charcase.test test_printbuf.test test_set_serializer.test \
  601. test_compare.test test_set_value.test test_visit.test \
  602. test_json_pointer.test test_int_add.test
  603. EXTRA_DIST = $(TESTS) $(TESTS:.test=.expected) test-defs.sh valid.json \
  604. test1Formatted_plain.expected test1Formatted_pretty.expected \
  605. test1Formatted_spaced.expected test2Formatted_plain.expected \
  606. test2Formatted_pretty.expected test2Formatted_spaced.expected
  607. test1Formatted_SOURCES = test1.c parse_flags.c parse_flags.h
  608. test1Formatted_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_FORMATTED
  609. test2Formatted_SOURCES = test2.c parse_flags.c parse_flags.h
  610. test2Formatted_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_FORMATTED
  611. test_util_file_SOURCES = test_util_file.c
  612. testsubdir = testSubDir
  613. TESTS_ENVIRONMENT = top_builddir=$(top_builddir)
  614. all: all-am
  615. .SUFFIXES:
  616. .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
  617. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  618. @for dep in $?; do \
  619. case '$(am__configure_deps)' in \
  620. *$$dep*) \
  621. ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  622. && { if test -f $@; then exit 0; else break; fi; }; \
  623. exit 1;; \
  624. esac; \
  625. done; \
  626. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
  627. $(am__cd) $(top_srcdir) && \
  628. $(AUTOMAKE) --gnu tests/Makefile
  629. .PRECIOUS: Makefile
  630. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  631. @case '$?' in \
  632. *config.status*) \
  633. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  634. *) \
  635. echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  636. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  637. esac;
  638. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  639. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  640. $(top_srcdir)/configure: $(am__configure_deps)
  641. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  642. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  643. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  644. $(am__aclocal_m4_deps):
  645. clean-checkPROGRAMS:
  646. @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
  647. echo " rm -f" $$list; \
  648. rm -f $$list || exit $$?; \
  649. test -n "$(EXEEXT)" || exit 0; \
  650. list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  651. echo " rm -f" $$list; \
  652. rm -f $$list
  653. test1$(EXEEXT): $(test1_OBJECTS) $(test1_DEPENDENCIES) $(EXTRA_test1_DEPENDENCIES)
  654. @rm -f test1$(EXEEXT)
  655. $(AM_V_CCLD)$(LINK) $(test1_OBJECTS) $(test1_LDADD) $(LIBS)
  656. test1Formatted$(EXEEXT): $(test1Formatted_OBJECTS) $(test1Formatted_DEPENDENCIES) $(EXTRA_test1Formatted_DEPENDENCIES)
  657. @rm -f test1Formatted$(EXEEXT)
  658. $(AM_V_CCLD)$(LINK) $(test1Formatted_OBJECTS) $(test1Formatted_LDADD) $(LIBS)
  659. test2$(EXEEXT): $(test2_OBJECTS) $(test2_DEPENDENCIES) $(EXTRA_test2_DEPENDENCIES)
  660. @rm -f test2$(EXEEXT)
  661. $(AM_V_CCLD)$(LINK) $(test2_OBJECTS) $(test2_LDADD) $(LIBS)
  662. test2Formatted$(EXEEXT): $(test2Formatted_OBJECTS) $(test2Formatted_DEPENDENCIES) $(EXTRA_test2Formatted_DEPENDENCIES)
  663. @rm -f test2Formatted$(EXEEXT)
  664. $(AM_V_CCLD)$(LINK) $(test2Formatted_OBJECTS) $(test2Formatted_LDADD) $(LIBS)
  665. test4$(EXEEXT): $(test4_OBJECTS) $(test4_DEPENDENCIES) $(EXTRA_test4_DEPENDENCIES)
  666. @rm -f test4$(EXEEXT)
  667. $(AM_V_CCLD)$(LINK) $(test4_OBJECTS) $(test4_LDADD) $(LIBS)
  668. testReplaceExisting$(EXEEXT): $(testReplaceExisting_OBJECTS) $(testReplaceExisting_DEPENDENCIES) $(EXTRA_testReplaceExisting_DEPENDENCIES)
  669. @rm -f testReplaceExisting$(EXEEXT)
  670. $(AM_V_CCLD)$(LINK) $(testReplaceExisting_OBJECTS) $(testReplaceExisting_LDADD) $(LIBS)
  671. test_cast$(EXEEXT): $(test_cast_OBJECTS) $(test_cast_DEPENDENCIES) $(EXTRA_test_cast_DEPENDENCIES)
  672. @rm -f test_cast$(EXEEXT)
  673. $(AM_V_CCLD)$(LINK) $(test_cast_OBJECTS) $(test_cast_LDADD) $(LIBS)
  674. test_charcase$(EXEEXT): $(test_charcase_OBJECTS) $(test_charcase_DEPENDENCIES) $(EXTRA_test_charcase_DEPENDENCIES)
  675. @rm -f test_charcase$(EXEEXT)
  676. $(AM_V_CCLD)$(LINK) $(test_charcase_OBJECTS) $(test_charcase_LDADD) $(LIBS)
  677. test_compare$(EXEEXT): $(test_compare_OBJECTS) $(test_compare_DEPENDENCIES) $(EXTRA_test_compare_DEPENDENCIES)
  678. @rm -f test_compare$(EXEEXT)
  679. $(AM_V_CCLD)$(LINK) $(test_compare_OBJECTS) $(test_compare_LDADD) $(LIBS)
  680. test_deep_copy$(EXEEXT): $(test_deep_copy_OBJECTS) $(test_deep_copy_DEPENDENCIES) $(EXTRA_test_deep_copy_DEPENDENCIES)
  681. @rm -f test_deep_copy$(EXEEXT)
  682. $(AM_V_CCLD)$(LINK) $(test_deep_copy_OBJECTS) $(test_deep_copy_LDADD) $(LIBS)
  683. test_double_serializer$(EXEEXT): $(test_double_serializer_OBJECTS) $(test_double_serializer_DEPENDENCIES) $(EXTRA_test_double_serializer_DEPENDENCIES)
  684. @rm -f test_double_serializer$(EXEEXT)
  685. $(AM_V_CCLD)$(LINK) $(test_double_serializer_OBJECTS) $(test_double_serializer_LDADD) $(LIBS)
  686. test_float$(EXEEXT): $(test_float_OBJECTS) $(test_float_DEPENDENCIES) $(EXTRA_test_float_DEPENDENCIES)
  687. @rm -f test_float$(EXEEXT)
  688. $(AM_V_CCLD)$(LINK) $(test_float_OBJECTS) $(test_float_LDADD) $(LIBS)
  689. test_int_add$(EXEEXT): $(test_int_add_OBJECTS) $(test_int_add_DEPENDENCIES) $(EXTRA_test_int_add_DEPENDENCIES)
  690. @rm -f test_int_add$(EXEEXT)
  691. $(AM_V_CCLD)$(LINK) $(test_int_add_OBJECTS) $(test_int_add_LDADD) $(LIBS)
  692. test_json_pointer$(EXEEXT): $(test_json_pointer_OBJECTS) $(test_json_pointer_DEPENDENCIES) $(EXTRA_test_json_pointer_DEPENDENCIES)
  693. @rm -f test_json_pointer$(EXEEXT)
  694. $(AM_V_CCLD)$(LINK) $(test_json_pointer_OBJECTS) $(test_json_pointer_LDADD) $(LIBS)
  695. test_locale$(EXEEXT): $(test_locale_OBJECTS) $(test_locale_DEPENDENCIES) $(EXTRA_test_locale_DEPENDENCIES)
  696. @rm -f test_locale$(EXEEXT)
  697. $(AM_V_CCLD)$(LINK) $(test_locale_OBJECTS) $(test_locale_LDADD) $(LIBS)
  698. test_null$(EXEEXT): $(test_null_OBJECTS) $(test_null_DEPENDENCIES) $(EXTRA_test_null_DEPENDENCIES)
  699. @rm -f test_null$(EXEEXT)
  700. $(AM_V_CCLD)$(LINK) $(test_null_OBJECTS) $(test_null_LDADD) $(LIBS)
  701. test_parse$(EXEEXT): $(test_parse_OBJECTS) $(test_parse_DEPENDENCIES) $(EXTRA_test_parse_DEPENDENCIES)
  702. @rm -f test_parse$(EXEEXT)
  703. $(AM_V_CCLD)$(LINK) $(test_parse_OBJECTS) $(test_parse_LDADD) $(LIBS)
  704. test_parse_int64$(EXEEXT): $(test_parse_int64_OBJECTS) $(test_parse_int64_DEPENDENCIES) $(EXTRA_test_parse_int64_DEPENDENCIES)
  705. @rm -f test_parse_int64$(EXEEXT)
  706. $(AM_V_CCLD)$(LINK) $(test_parse_int64_OBJECTS) $(test_parse_int64_LDADD) $(LIBS)
  707. test_printbuf$(EXEEXT): $(test_printbuf_OBJECTS) $(test_printbuf_DEPENDENCIES) $(EXTRA_test_printbuf_DEPENDENCIES)
  708. @rm -f test_printbuf$(EXEEXT)
  709. $(AM_V_CCLD)$(LINK) $(test_printbuf_OBJECTS) $(test_printbuf_LDADD) $(LIBS)
  710. test_set_serializer$(EXEEXT): $(test_set_serializer_OBJECTS) $(test_set_serializer_DEPENDENCIES) $(EXTRA_test_set_serializer_DEPENDENCIES)
  711. @rm -f test_set_serializer$(EXEEXT)
  712. $(AM_V_CCLD)$(LINK) $(test_set_serializer_OBJECTS) $(test_set_serializer_LDADD) $(LIBS)
  713. test_set_value$(EXEEXT): $(test_set_value_OBJECTS) $(test_set_value_DEPENDENCIES) $(EXTRA_test_set_value_DEPENDENCIES)
  714. @rm -f test_set_value$(EXEEXT)
  715. $(AM_V_CCLD)$(LINK) $(test_set_value_OBJECTS) $(test_set_value_LDADD) $(LIBS)
  716. test_util_file$(EXEEXT): $(test_util_file_OBJECTS) $(test_util_file_DEPENDENCIES) $(EXTRA_test_util_file_DEPENDENCIES)
  717. @rm -f test_util_file$(EXEEXT)
  718. $(AM_V_CCLD)$(LINK) $(test_util_file_OBJECTS) $(test_util_file_LDADD) $(LIBS)
  719. test_visit$(EXEEXT): $(test_visit_OBJECTS) $(test_visit_DEPENDENCIES) $(EXTRA_test_visit_DEPENDENCIES)
  720. @rm -f test_visit$(EXEEXT)
  721. $(AM_V_CCLD)$(LINK) $(test_visit_OBJECTS) $(test_visit_LDADD) $(LIBS)
  722. mostlyclean-compile:
  723. -rm -f *.$(OBJEXT)
  724. distclean-compile:
  725. -rm -f *.tab.c
  726. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test1.Po@am__quote@
  727. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test1Formatted-parse_flags.Po@am__quote@
  728. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test1Formatted-test1.Po@am__quote@
  729. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test2.Po@am__quote@
  730. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test2Formatted-parse_flags.Po@am__quote@
  731. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test2Formatted-test2.Po@am__quote@
  732. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test4.Po@am__quote@
  733. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testReplaceExisting.Po@am__quote@
  734. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_cast.Po@am__quote@
  735. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_charcase.Po@am__quote@
  736. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_compare.Po@am__quote@
  737. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_deep_copy.Po@am__quote@
  738. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_double_serializer.Po@am__quote@
  739. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_float.Po@am__quote@
  740. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_int_add.Po@am__quote@
  741. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_json_pointer.Po@am__quote@
  742. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_locale.Po@am__quote@
  743. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_null.Po@am__quote@
  744. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_parse.Po@am__quote@
  745. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_parse_int64.Po@am__quote@
  746. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_printbuf.Po@am__quote@
  747. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_set_serializer.Po@am__quote@
  748. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_set_value.Po@am__quote@
  749. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_util_file.Po@am__quote@
  750. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_visit.Po@am__quote@
  751. .c.o:
  752. @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  753. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  754. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  755. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  756. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  757. .c.obj:
  758. @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  759. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  760. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  761. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  762. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  763. .c.lo:
  764. @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  765. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  766. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  767. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  768. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  769. test1Formatted-test1.o: test1.c
  770. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test1Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test1Formatted-test1.o -MD -MP -MF $(DEPDIR)/test1Formatted-test1.Tpo -c -o test1Formatted-test1.o `test -f 'test1.c' || echo '$(srcdir)/'`test1.c
  771. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test1Formatted-test1.Tpo $(DEPDIR)/test1Formatted-test1.Po
  772. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test1.c' object='test1Formatted-test1.o' libtool=no @AMDEPBACKSLASH@
  773. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  774. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test1Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test1Formatted-test1.o `test -f 'test1.c' || echo '$(srcdir)/'`test1.c
  775. test1Formatted-test1.obj: test1.c
  776. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test1Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test1Formatted-test1.obj -MD -MP -MF $(DEPDIR)/test1Formatted-test1.Tpo -c -o test1Formatted-test1.obj `if test -f 'test1.c'; then $(CYGPATH_W) 'test1.c'; else $(CYGPATH_W) '$(srcdir)/test1.c'; fi`
  777. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test1Formatted-test1.Tpo $(DEPDIR)/test1Formatted-test1.Po
  778. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test1.c' object='test1Formatted-test1.obj' libtool=no @AMDEPBACKSLASH@
  779. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  780. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test1Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test1Formatted-test1.obj `if test -f 'test1.c'; then $(CYGPATH_W) 'test1.c'; else $(CYGPATH_W) '$(srcdir)/test1.c'; fi`
  781. test1Formatted-parse_flags.o: parse_flags.c
  782. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test1Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test1Formatted-parse_flags.o -MD -MP -MF $(DEPDIR)/test1Formatted-parse_flags.Tpo -c -o test1Formatted-parse_flags.o `test -f 'parse_flags.c' || echo '$(srcdir)/'`parse_flags.c
  783. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test1Formatted-parse_flags.Tpo $(DEPDIR)/test1Formatted-parse_flags.Po
  784. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='parse_flags.c' object='test1Formatted-parse_flags.o' libtool=no @AMDEPBACKSLASH@
  785. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  786. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test1Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test1Formatted-parse_flags.o `test -f 'parse_flags.c' || echo '$(srcdir)/'`parse_flags.c
  787. test1Formatted-parse_flags.obj: parse_flags.c
  788. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test1Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test1Formatted-parse_flags.obj -MD -MP -MF $(DEPDIR)/test1Formatted-parse_flags.Tpo -c -o test1Formatted-parse_flags.obj `if test -f 'parse_flags.c'; then $(CYGPATH_W) 'parse_flags.c'; else $(CYGPATH_W) '$(srcdir)/parse_flags.c'; fi`
  789. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test1Formatted-parse_flags.Tpo $(DEPDIR)/test1Formatted-parse_flags.Po
  790. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='parse_flags.c' object='test1Formatted-parse_flags.obj' libtool=no @AMDEPBACKSLASH@
  791. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  792. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test1Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test1Formatted-parse_flags.obj `if test -f 'parse_flags.c'; then $(CYGPATH_W) 'parse_flags.c'; else $(CYGPATH_W) '$(srcdir)/parse_flags.c'; fi`
  793. test2Formatted-test2.o: test2.c
  794. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test2Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test2Formatted-test2.o -MD -MP -MF $(DEPDIR)/test2Formatted-test2.Tpo -c -o test2Formatted-test2.o `test -f 'test2.c' || echo '$(srcdir)/'`test2.c
  795. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test2Formatted-test2.Tpo $(DEPDIR)/test2Formatted-test2.Po
  796. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test2.c' object='test2Formatted-test2.o' libtool=no @AMDEPBACKSLASH@
  797. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  798. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test2Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test2Formatted-test2.o `test -f 'test2.c' || echo '$(srcdir)/'`test2.c
  799. test2Formatted-test2.obj: test2.c
  800. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test2Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test2Formatted-test2.obj -MD -MP -MF $(DEPDIR)/test2Formatted-test2.Tpo -c -o test2Formatted-test2.obj `if test -f 'test2.c'; then $(CYGPATH_W) 'test2.c'; else $(CYGPATH_W) '$(srcdir)/test2.c'; fi`
  801. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test2Formatted-test2.Tpo $(DEPDIR)/test2Formatted-test2.Po
  802. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test2.c' object='test2Formatted-test2.obj' libtool=no @AMDEPBACKSLASH@
  803. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  804. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test2Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test2Formatted-test2.obj `if test -f 'test2.c'; then $(CYGPATH_W) 'test2.c'; else $(CYGPATH_W) '$(srcdir)/test2.c'; fi`
  805. test2Formatted-parse_flags.o: parse_flags.c
  806. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test2Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test2Formatted-parse_flags.o -MD -MP -MF $(DEPDIR)/test2Formatted-parse_flags.Tpo -c -o test2Formatted-parse_flags.o `test -f 'parse_flags.c' || echo '$(srcdir)/'`parse_flags.c
  807. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test2Formatted-parse_flags.Tpo $(DEPDIR)/test2Formatted-parse_flags.Po
  808. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='parse_flags.c' object='test2Formatted-parse_flags.o' libtool=no @AMDEPBACKSLASH@
  809. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  810. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test2Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test2Formatted-parse_flags.o `test -f 'parse_flags.c' || echo '$(srcdir)/'`parse_flags.c
  811. test2Formatted-parse_flags.obj: parse_flags.c
  812. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test2Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test2Formatted-parse_flags.obj -MD -MP -MF $(DEPDIR)/test2Formatted-parse_flags.Tpo -c -o test2Formatted-parse_flags.obj `if test -f 'parse_flags.c'; then $(CYGPATH_W) 'parse_flags.c'; else $(CYGPATH_W) '$(srcdir)/parse_flags.c'; fi`
  813. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test2Formatted-parse_flags.Tpo $(DEPDIR)/test2Formatted-parse_flags.Po
  814. @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='parse_flags.c' object='test2Formatted-parse_flags.obj' libtool=no @AMDEPBACKSLASH@
  815. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  816. @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test2Formatted_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test2Formatted-parse_flags.obj `if test -f 'parse_flags.c'; then $(CYGPATH_W) 'parse_flags.c'; else $(CYGPATH_W) '$(srcdir)/parse_flags.c'; fi`
  817. mostlyclean-libtool:
  818. -rm -f *.lo
  819. clean-libtool:
  820. -rm -rf .libs _libs
  821. ID: $(am__tagged_files)
  822. $(am__define_uniq_tagged_files); mkid -fID $$unique
  823. tags: tags-am
  824. TAGS: tags
  825. tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  826. set x; \
  827. here=`pwd`; \
  828. $(am__define_uniq_tagged_files); \
  829. shift; \
  830. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  831. test -n "$$unique" || unique=$$empty_fix; \
  832. if test $$# -gt 0; then \
  833. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  834. "$$@" $$unique; \
  835. else \
  836. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  837. $$unique; \
  838. fi; \
  839. fi
  840. ctags: ctags-am
  841. CTAGS: ctags
  842. ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  843. $(am__define_uniq_tagged_files); \
  844. test -z "$(CTAGS_ARGS)$$unique" \
  845. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  846. $$unique
  847. GTAGS:
  848. here=`$(am__cd) $(top_builddir) && pwd` \
  849. && $(am__cd) $(top_srcdir) \
  850. && gtags -i $(GTAGS_ARGS) "$$here"
  851. cscopelist: cscopelist-am
  852. cscopelist-am: $(am__tagged_files)
  853. list='$(am__tagged_files)'; \
  854. case "$(srcdir)" in \
  855. [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  856. *) sdir=$(subdir)/$(srcdir) ;; \
  857. esac; \
  858. for i in $$list; do \
  859. if test -f "$$i"; then \
  860. echo "$(subdir)/$$i"; \
  861. else \
  862. echo "$$sdir/$$i"; \
  863. fi; \
  864. done >> $(top_builddir)/cscope.files
  865. distclean-tags:
  866. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  867. # Recover from deleted '.trs' file; this should ensure that
  868. # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
  869. # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
  870. # to avoid problems with "make -n".
  871. .log.trs:
  872. rm -f $< $@
  873. $(MAKE) $(AM_MAKEFLAGS) $<
  874. # Leading 'am--fnord' is there to ensure the list of targets does not
  875. # expand to empty, as could happen e.g. with make check TESTS=''.
  876. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
  877. am--force-recheck:
  878. @:
  879. $(TEST_SUITE_LOG): $(TEST_LOGS)
  880. @$(am__set_TESTS_bases); \
  881. am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
  882. redo_bases=`for i in $$bases; do \
  883. am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
  884. done`; \
  885. if test -n "$$redo_bases"; then \
  886. redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
  887. redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
  888. if $(am__make_dryrun); then :; else \
  889. rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
  890. fi; \
  891. fi; \
  892. if test -n "$$am__remaking_logs"; then \
  893. echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
  894. "recursion detected" >&2; \
  895. else \
  896. am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
  897. fi; \
  898. if $(am__make_dryrun); then :; else \
  899. st=0; \
  900. errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
  901. for i in $$redo_bases; do \
  902. test -f $$i.trs && test -r $$i.trs \
  903. || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
  904. test -f $$i.log && test -r $$i.log \
  905. || { echo "$$errmsg $$i.log" >&2; st=1; }; \
  906. done; \
  907. test $$st -eq 0 || exit 1; \
  908. fi
  909. @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
  910. ws='[ ]'; \
  911. results=`for b in $$bases; do echo $$b.trs; done`; \
  912. test -n "$$results" || results=/dev/null; \
  913. all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
  914. pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
  915. fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
  916. skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
  917. xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
  918. xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
  919. error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
  920. if test `expr $$fail + $$xpass + $$error` -eq 0; then \
  921. success=true; \
  922. else \
  923. success=false; \
  924. fi; \
  925. br='==================='; br=$$br$$br$$br$$br; \
  926. result_count () \
  927. { \
  928. if test x"$$1" = x"--maybe-color"; then \
  929. maybe_colorize=yes; \
  930. elif test x"$$1" = x"--no-color"; then \
  931. maybe_colorize=no; \
  932. else \
  933. echo "$@: invalid 'result_count' usage" >&2; exit 4; \
  934. fi; \
  935. shift; \
  936. desc=$$1 count=$$2; \
  937. if test $$maybe_colorize = yes && test $$count -gt 0; then \
  938. color_start=$$3 color_end=$$std; \
  939. else \
  940. color_start= color_end=; \
  941. fi; \
  942. echo "$${color_start}# $$desc $$count$${color_end}"; \
  943. }; \
  944. create_testsuite_report () \
  945. { \
  946. result_count $$1 "TOTAL:" $$all "$$brg"; \
  947. result_count $$1 "PASS: " $$pass "$$grn"; \
  948. result_count $$1 "SKIP: " $$skip "$$blu"; \
  949. result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
  950. result_count $$1 "FAIL: " $$fail "$$red"; \
  951. result_count $$1 "XPASS:" $$xpass "$$red"; \
  952. result_count $$1 "ERROR:" $$error "$$mgn"; \
  953. }; \
  954. { \
  955. echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
  956. $(am__rst_title); \
  957. create_testsuite_report --no-color; \
  958. echo; \
  959. echo ".. contents:: :depth: 2"; \
  960. echo; \
  961. for b in $$bases; do echo $$b; done \
  962. | $(am__create_global_log); \
  963. } >$(TEST_SUITE_LOG).tmp || exit 1; \
  964. mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
  965. if $$success; then \
  966. col="$$grn"; \
  967. else \
  968. col="$$red"; \
  969. test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
  970. fi; \
  971. echo "$${col}$$br$${std}"; \
  972. echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
  973. echo "$${col}$$br$${std}"; \
  974. create_testsuite_report --maybe-color; \
  975. echo "$$col$$br$$std"; \
  976. if $$success; then :; else \
  977. echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
  978. if test -n "$(PACKAGE_BUGREPORT)"; then \
  979. echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
  980. fi; \
  981. echo "$$col$$br$$std"; \
  982. fi; \
  983. $$success || exit 1
  984. check-TESTS:
  985. @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
  986. @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
  987. @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
  988. @set +e; $(am__set_TESTS_bases); \
  989. log_list=`for i in $$bases; do echo $$i.log; done`; \
  990. trs_list=`for i in $$bases; do echo $$i.trs; done`; \
  991. log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
  992. $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
  993. exit $$?;
  994. recheck: all $(check_PROGRAMS)
  995. @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
  996. @set +e; $(am__set_TESTS_bases); \
  997. bases=`for i in $$bases; do echo $$i; done \
  998. | $(am__list_recheck_tests)` || exit 1; \
  999. log_list=`for i in $$bases; do echo $$i.log; done`; \
  1000. log_list=`echo $$log_list`; \
  1001. $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
  1002. am__force_recheck=am--force-recheck \
  1003. TEST_LOGS="$$log_list"; \
  1004. exit $$?
  1005. .test.log:
  1006. @p='$<'; \
  1007. $(am__set_b); \
  1008. $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
  1009. --log-file $$b.log --trs-file $$b.trs \
  1010. $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
  1011. "$$tst" $(AM_TESTS_FD_REDIRECT)
  1012. @am__EXEEXT_TRUE@.test$(EXEEXT).log:
  1013. @am__EXEEXT_TRUE@ @p='$<'; \
  1014. @am__EXEEXT_TRUE@ $(am__set_b); \
  1015. @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
  1016. @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
  1017. @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
  1018. @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
  1019. distdir: $(DISTFILES)
  1020. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  1021. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  1022. list='$(DISTFILES)'; \
  1023. dist_files=`for file in $$list; do echo $$file; done | \
  1024. sed -e "s|^$$srcdirstrip/||;t" \
  1025. -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  1026. case $$dist_files in \
  1027. */*) $(MKDIR_P) `echo "$$dist_files" | \
  1028. sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  1029. sort -u` ;; \
  1030. esac; \
  1031. for file in $$dist_files; do \
  1032. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  1033. if test -d $$d/$$file; then \
  1034. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  1035. if test -d "$(distdir)/$$file"; then \
  1036. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  1037. fi; \
  1038. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  1039. cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  1040. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  1041. fi; \
  1042. cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  1043. else \
  1044. test -f "$(distdir)/$$file" \
  1045. || cp -p $$d/$$file "$(distdir)/$$file" \
  1046. || exit 1; \
  1047. fi; \
  1048. done
  1049. check-am: all-am
  1050. $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
  1051. $(MAKE) $(AM_MAKEFLAGS) check-TESTS
  1052. check: check-am
  1053. all-am: Makefile
  1054. installdirs:
  1055. install: install-am
  1056. install-exec: install-exec-am
  1057. install-data: install-data-am
  1058. uninstall: uninstall-am
  1059. install-am: all-am
  1060. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  1061. installcheck: installcheck-am
  1062. install-strip:
  1063. if test -z '$(STRIP)'; then \
  1064. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  1065. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  1066. install; \
  1067. else \
  1068. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  1069. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  1070. "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  1071. fi
  1072. mostlyclean-generic:
  1073. -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
  1074. -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
  1075. -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
  1076. clean-generic:
  1077. distclean-generic:
  1078. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  1079. -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  1080. maintainer-clean-generic:
  1081. @echo "This command is intended for maintainers to use"
  1082. @echo "it deletes files that may require special tools to rebuild."
  1083. clean: clean-am
  1084. clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
  1085. mostlyclean-am
  1086. distclean: distclean-am
  1087. -rm -rf ./$(DEPDIR)
  1088. -rm -f Makefile
  1089. distclean-am: clean-am distclean-compile distclean-generic \
  1090. distclean-local distclean-tags
  1091. dvi: dvi-am
  1092. dvi-am:
  1093. html: html-am
  1094. html-am:
  1095. info: info-am
  1096. info-am:
  1097. install-data-am:
  1098. install-dvi: install-dvi-am
  1099. install-dvi-am:
  1100. install-exec-am:
  1101. install-html: install-html-am
  1102. install-html-am:
  1103. install-info: install-info-am
  1104. install-info-am:
  1105. install-man:
  1106. install-pdf: install-pdf-am
  1107. install-pdf-am:
  1108. install-ps: install-ps-am
  1109. install-ps-am:
  1110. installcheck-am:
  1111. maintainer-clean: maintainer-clean-am
  1112. -rm -rf ./$(DEPDIR)
  1113. -rm -f Makefile
  1114. maintainer-clean-am: distclean-am maintainer-clean-generic
  1115. mostlyclean: mostlyclean-am
  1116. mostlyclean-am: mostlyclean-compile mostlyclean-generic \
  1117. mostlyclean-libtool
  1118. pdf: pdf-am
  1119. pdf-am:
  1120. ps: ps-am
  1121. ps-am:
  1122. uninstall-am:
  1123. .MAKE: check-am install-am install-strip
  1124. .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
  1125. clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \
  1126. ctags ctags-am distclean distclean-compile distclean-generic \
  1127. distclean-libtool distclean-local distclean-tags distdir dvi \
  1128. dvi-am html html-am info info-am install install-am \
  1129. install-data install-data-am install-dvi install-dvi-am \
  1130. install-exec install-exec-am install-html install-html-am \
  1131. install-info install-info-am install-man install-pdf \
  1132. install-pdf-am install-ps install-ps-am install-strip \
  1133. installcheck installcheck-am installdirs maintainer-clean \
  1134. maintainer-clean-generic mostlyclean mostlyclean-compile \
  1135. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  1136. recheck tags tags-am uninstall uninstall-am
  1137. distclean-local:
  1138. -rm -rf $(testsubdir)
  1139. -rm -f *.vg.out
  1140. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  1141. # Otherwise a system limit (for SysV at least) may be exceeded.
  1142. .NOEXPORT: