Makefile.in 114 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745
  1. # Makefile.in generated by automake 1.11.1 from Makefile.am.
  2. # @configure_input@
  3. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  4. # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  5. # Inc.
  6. # This Makefile.in is free software; the Free Software Foundation
  7. # gives unlimited permission to copy and/or distribute it,
  8. # with or without modifications, as long as this notice is preserved.
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  11. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  12. # PARTICULAR PURPOSE.
  13. @SET_MAKE@
  14. VPATH = @srcdir@
  15. pkgdatadir = $(datadir)/@PACKAGE@
  16. pkgincludedir = $(includedir)/@PACKAGE@
  17. pkglibdir = $(libdir)/@PACKAGE@
  18. pkglibexecdir = $(libexecdir)/@PACKAGE@
  19. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  20. install_sh_DATA = $(install_sh) -c -m 644
  21. install_sh_PROGRAM = $(install_sh) -c
  22. install_sh_SCRIPT = $(install_sh) -c
  23. INSTALL_HEADER = $(INSTALL_DATA)
  24. transform = $(program_transform_name)
  25. NORMAL_INSTALL = :
  26. PRE_INSTALL = :
  27. POST_INSTALL = :
  28. NORMAL_UNINSTALL = :
  29. PRE_UNINSTALL = :
  30. POST_UNINSTALL = :
  31. build_triplet = @build@
  32. host_triplet = @host@
  33. noinst_PROGRAMS = testSchemas$(EXEEXT) testRelax$(EXEEXT) \
  34. testSAX$(EXEEXT) testHTML$(EXEEXT) testXPath$(EXEEXT) \
  35. testURI$(EXEEXT) testThreads$(EXEEXT) testC14N$(EXEEXT) \
  36. testAutomata$(EXEEXT) testRegexp$(EXEEXT) testReader$(EXEEXT) \
  37. testapi$(EXEEXT) testModule$(EXEEXT) runtest$(EXEEXT) \
  38. runsuite$(EXEEXT) testchar$(EXEEXT) testdict$(EXEEXT) \
  39. runxmlconf$(EXEEXT) testrecurse$(EXEEXT)
  40. bin_PROGRAMS = xmllint$(EXEEXT) xmlcatalog$(EXEEXT)
  41. subdir = .
  42. DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
  43. $(srcdir)/Makefile.in $(srcdir)/config.h.in \
  44. $(srcdir)/libxml-2.0-uninstalled.pc.in \
  45. $(srcdir)/libxml-2.0.pc.in $(srcdir)/libxml.spec.in \
  46. $(srcdir)/xml2-config.in $(top_srcdir)/configure AUTHORS \
  47. COPYING ChangeLog INSTALL NEWS TODO acconfig.h config.guess \
  48. config.sub depcomp install-sh ltmain.sh missing mkinstalldirs
  49. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  50. am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  51. $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  52. $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  53. $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
  54. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  55. $(ACLOCAL_M4)
  56. am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  57. configure.lineno config.status.lineno
  58. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  59. CONFIG_HEADER = config.h
  60. CONFIG_CLEAN_FILES = libxml2.spec xml2-config libxml-2.0.pc \
  61. libxml-2.0-uninstalled.pc
  62. CONFIG_CLEAN_VPATH_FILES =
  63. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  64. am__vpath_adj = case $$p in \
  65. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  66. *) f=$$p;; \
  67. esac;
  68. am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  69. am__install_max = 40
  70. am__nobase_strip_setup = \
  71. srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  72. am__nobase_strip = \
  73. for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  74. am__nobase_list = $(am__nobase_strip_setup); \
  75. for p in $$list; do echo "$$p $$p"; done | \
  76. sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  77. $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  78. if (++n[$$2] == $(am__install_max)) \
  79. { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  80. END { for (dir in files) print dir, files[dir] }'
  81. am__base_list = \
  82. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  83. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  84. am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
  85. "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
  86. "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(confexecdir)" \
  87. "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(pkgconfigdir)"
  88. LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
  89. am__DEPENDENCIES_1 =
  90. libxml2_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
  91. am__libxml2_la_SOURCES_DIST = SAX.c entities.c encoding.c error.c \
  92. parserInternals.c parser.c tree.c hash.c list.c xmlIO.c \
  93. xmlmemory.c uri.c valid.c xlink.c HTMLparser.c HTMLtree.c \
  94. debugXML.c xpath.c xpointer.c xinclude.c nanohttp.c nanoftp.c \
  95. DOCBparser.c catalog.c globals.c threads.c c14n.c xmlstring.c \
  96. xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
  97. xmlreader.c relaxng.c dict.c SAX2.c xmlwriter.c legacy.c \
  98. chvalid.c pattern.c xmlsave.c xmlmodule.c schematron.c \
  99. triostr.c trio.c
  100. @WITH_TRIO_SOURCES_FALSE@am_libxml2_la_OBJECTS = SAX.lo entities.lo \
  101. @WITH_TRIO_SOURCES_FALSE@ encoding.lo error.lo \
  102. @WITH_TRIO_SOURCES_FALSE@ parserInternals.lo parser.lo tree.lo \
  103. @WITH_TRIO_SOURCES_FALSE@ hash.lo list.lo xmlIO.lo xmlmemory.lo \
  104. @WITH_TRIO_SOURCES_FALSE@ uri.lo valid.lo xlink.lo \
  105. @WITH_TRIO_SOURCES_FALSE@ HTMLparser.lo HTMLtree.lo debugXML.lo \
  106. @WITH_TRIO_SOURCES_FALSE@ xpath.lo xpointer.lo xinclude.lo \
  107. @WITH_TRIO_SOURCES_FALSE@ nanohttp.lo nanoftp.lo DOCBparser.lo \
  108. @WITH_TRIO_SOURCES_FALSE@ catalog.lo globals.lo threads.lo \
  109. @WITH_TRIO_SOURCES_FALSE@ c14n.lo xmlstring.lo xmlregexp.lo \
  110. @WITH_TRIO_SOURCES_FALSE@ xmlschemas.lo xmlschemastypes.lo \
  111. @WITH_TRIO_SOURCES_FALSE@ xmlunicode.lo xmlreader.lo relaxng.lo \
  112. @WITH_TRIO_SOURCES_FALSE@ dict.lo SAX2.lo xmlwriter.lo \
  113. @WITH_TRIO_SOURCES_FALSE@ legacy.lo chvalid.lo pattern.lo \
  114. @WITH_TRIO_SOURCES_FALSE@ xmlsave.lo xmlmodule.lo schematron.lo
  115. @WITH_TRIO_SOURCES_TRUE@am_libxml2_la_OBJECTS = SAX.lo entities.lo \
  116. @WITH_TRIO_SOURCES_TRUE@ encoding.lo error.lo \
  117. @WITH_TRIO_SOURCES_TRUE@ parserInternals.lo parser.lo tree.lo \
  118. @WITH_TRIO_SOURCES_TRUE@ hash.lo list.lo xmlIO.lo xmlmemory.lo \
  119. @WITH_TRIO_SOURCES_TRUE@ uri.lo valid.lo xlink.lo HTMLparser.lo \
  120. @WITH_TRIO_SOURCES_TRUE@ HTMLtree.lo debugXML.lo xpath.lo \
  121. @WITH_TRIO_SOURCES_TRUE@ xpointer.lo xinclude.lo nanohttp.lo \
  122. @WITH_TRIO_SOURCES_TRUE@ nanoftp.lo DOCBparser.lo catalog.lo \
  123. @WITH_TRIO_SOURCES_TRUE@ globals.lo threads.lo c14n.lo \
  124. @WITH_TRIO_SOURCES_TRUE@ xmlstring.lo xmlregexp.lo \
  125. @WITH_TRIO_SOURCES_TRUE@ xmlschemas.lo xmlschemastypes.lo \
  126. @WITH_TRIO_SOURCES_TRUE@ xmlunicode.lo triostr.lo trio.lo \
  127. @WITH_TRIO_SOURCES_TRUE@ xmlreader.lo relaxng.lo dict.lo \
  128. @WITH_TRIO_SOURCES_TRUE@ SAX2.lo xmlwriter.lo legacy.lo \
  129. @WITH_TRIO_SOURCES_TRUE@ chvalid.lo pattern.lo xmlsave.lo \
  130. @WITH_TRIO_SOURCES_TRUE@ xmlmodule.lo schematron.lo
  131. libxml2_la_OBJECTS = $(am_libxml2_la_OBJECTS)
  132. libxml2_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  133. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  134. $(libxml2_la_LDFLAGS) $(LDFLAGS) -o $@
  135. testdso_la_LIBADD =
  136. am_testdso_la_OBJECTS = testdso.lo
  137. testdso_la_OBJECTS = $(am_testdso_la_OBJECTS)
  138. testdso_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  139. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  140. $(testdso_la_LDFLAGS) $(LDFLAGS) -o $@
  141. PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
  142. am_runsuite_OBJECTS = runsuite.$(OBJEXT)
  143. runsuite_OBJECTS = $(am_runsuite_OBJECTS)
  144. am__DEPENDENCIES_2 = $(top_builddir)/libxml2.la $(am__DEPENDENCIES_1)
  145. runsuite_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  146. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(runsuite_LDFLAGS) \
  147. $(LDFLAGS) -o $@
  148. am_runtest_OBJECTS = runtest.$(OBJEXT)
  149. runtest_OBJECTS = $(am_runtest_OBJECTS)
  150. runtest_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  151. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(runtest_LDFLAGS) \
  152. $(LDFLAGS) -o $@
  153. am_runxmlconf_OBJECTS = runxmlconf.$(OBJEXT)
  154. runxmlconf_OBJECTS = $(am_runxmlconf_OBJECTS)
  155. runxmlconf_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  156. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  157. $(runxmlconf_LDFLAGS) $(LDFLAGS) -o $@
  158. am_testAutomata_OBJECTS = testAutomata.$(OBJEXT)
  159. testAutomata_OBJECTS = $(am_testAutomata_OBJECTS)
  160. testAutomata_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  161. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  162. $(testAutomata_LDFLAGS) $(LDFLAGS) -o $@
  163. am_testC14N_OBJECTS = testC14N.$(OBJEXT)
  164. testC14N_OBJECTS = $(am_testC14N_OBJECTS)
  165. testC14N_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  166. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testC14N_LDFLAGS) \
  167. $(LDFLAGS) -o $@
  168. am_testHTML_OBJECTS = testHTML.$(OBJEXT)
  169. testHTML_OBJECTS = $(am_testHTML_OBJECTS)
  170. testHTML_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  171. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testHTML_LDFLAGS) \
  172. $(LDFLAGS) -o $@
  173. am_testModule_OBJECTS = testModule.$(OBJEXT)
  174. testModule_OBJECTS = $(am_testModule_OBJECTS)
  175. testModule_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  176. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  177. $(testModule_LDFLAGS) $(LDFLAGS) -o $@
  178. am_testReader_OBJECTS = testReader.$(OBJEXT)
  179. testReader_OBJECTS = $(am_testReader_OBJECTS)
  180. testReader_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  181. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  182. $(testReader_LDFLAGS) $(LDFLAGS) -o $@
  183. am_testRegexp_OBJECTS = testRegexp.$(OBJEXT)
  184. testRegexp_OBJECTS = $(am_testRegexp_OBJECTS)
  185. testRegexp_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  186. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  187. $(testRegexp_LDFLAGS) $(LDFLAGS) -o $@
  188. am_testRelax_OBJECTS = testRelax.$(OBJEXT)
  189. testRelax_OBJECTS = $(am_testRelax_OBJECTS)
  190. testRelax_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  191. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  192. $(testRelax_LDFLAGS) $(LDFLAGS) -o $@
  193. am_testSAX_OBJECTS = testSAX.$(OBJEXT)
  194. testSAX_OBJECTS = $(am_testSAX_OBJECTS)
  195. testSAX_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  196. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testSAX_LDFLAGS) \
  197. $(LDFLAGS) -o $@
  198. am_testSchemas_OBJECTS = testSchemas.$(OBJEXT)
  199. testSchemas_OBJECTS = $(am_testSchemas_OBJECTS)
  200. testSchemas_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  201. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  202. $(testSchemas_LDFLAGS) $(LDFLAGS) -o $@
  203. am_testThreads_OBJECTS = testThreads@THREADS_W32@.$(OBJEXT)
  204. testThreads_OBJECTS = $(am_testThreads_OBJECTS)
  205. testThreads_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  206. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  207. $(testThreads_LDFLAGS) $(LDFLAGS) -o $@
  208. am_testURI_OBJECTS = testURI.$(OBJEXT)
  209. testURI_OBJECTS = $(am_testURI_OBJECTS)
  210. testURI_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  211. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testURI_LDFLAGS) \
  212. $(LDFLAGS) -o $@
  213. am_testXPath_OBJECTS = testXPath.$(OBJEXT)
  214. testXPath_OBJECTS = $(am_testXPath_OBJECTS)
  215. testXPath_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  216. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  217. $(testXPath_LDFLAGS) $(LDFLAGS) -o $@
  218. am_testapi_OBJECTS = testapi.$(OBJEXT)
  219. testapi_OBJECTS = $(am_testapi_OBJECTS)
  220. testapi_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  221. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testapi_LDFLAGS) \
  222. $(LDFLAGS) -o $@
  223. am_testchar_OBJECTS = testchar.$(OBJEXT)
  224. testchar_OBJECTS = $(am_testchar_OBJECTS)
  225. testchar_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  226. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testchar_LDFLAGS) \
  227. $(LDFLAGS) -o $@
  228. am_testdict_OBJECTS = testdict.$(OBJEXT)
  229. testdict_OBJECTS = $(am_testdict_OBJECTS)
  230. testdict_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  231. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testdict_LDFLAGS) \
  232. $(LDFLAGS) -o $@
  233. am_testrecurse_OBJECTS = testrecurse.$(OBJEXT)
  234. testrecurse_OBJECTS = $(am_testrecurse_OBJECTS)
  235. testrecurse_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  236. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  237. $(testrecurse_LDFLAGS) $(LDFLAGS) -o $@
  238. am_xmlcatalog_OBJECTS = xmlcatalog.$(OBJEXT)
  239. xmlcatalog_OBJECTS = $(am_xmlcatalog_OBJECTS)
  240. xmlcatalog_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  241. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  242. $(xmlcatalog_LDFLAGS) $(LDFLAGS) -o $@
  243. am_xmllint_OBJECTS = xmllint.$(OBJEXT)
  244. xmllint_OBJECTS = $(am_xmllint_OBJECTS)
  245. xmllint_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  246. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(xmllint_LDFLAGS) \
  247. $(LDFLAGS) -o $@
  248. SCRIPTS = $(bin_SCRIPTS)
  249. DEFAULT_INCLUDES = -I.@am__isrc@
  250. depcomp = $(SHELL) $(top_srcdir)/depcomp
  251. am__depfiles_maybe = depfiles
  252. am__mv = mv -f
  253. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  254. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  255. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  256. --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  257. $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  258. CCLD = $(CC)
  259. LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  260. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  261. $(LDFLAGS) -o $@
  262. SOURCES = $(libxml2_la_SOURCES) $(testdso_la_SOURCES) \
  263. $(runsuite_SOURCES) $(runtest_SOURCES) $(runxmlconf_SOURCES) \
  264. $(testAutomata_SOURCES) $(testC14N_SOURCES) \
  265. $(testHTML_SOURCES) $(testModule_SOURCES) \
  266. $(testReader_SOURCES) $(testRegexp_SOURCES) \
  267. $(testRelax_SOURCES) $(testSAX_SOURCES) $(testSchemas_SOURCES) \
  268. $(testThreads_SOURCES) $(testURI_SOURCES) $(testXPath_SOURCES) \
  269. $(testapi_SOURCES) $(testchar_SOURCES) $(testdict_SOURCES) \
  270. $(testrecurse_SOURCES) $(xmlcatalog_SOURCES) \
  271. $(xmllint_SOURCES)
  272. DIST_SOURCES = $(am__libxml2_la_SOURCES_DIST) $(testdso_la_SOURCES) \
  273. $(runsuite_SOURCES) $(runtest_SOURCES) $(runxmlconf_SOURCES) \
  274. $(testAutomata_SOURCES) $(testC14N_SOURCES) \
  275. $(testHTML_SOURCES) $(testModule_SOURCES) \
  276. $(testReader_SOURCES) $(testRegexp_SOURCES) \
  277. $(testRelax_SOURCES) $(testSAX_SOURCES) $(testSchemas_SOURCES) \
  278. $(testThreads_SOURCES) $(testURI_SOURCES) $(testXPath_SOURCES) \
  279. $(testapi_SOURCES) $(testchar_SOURCES) $(testdict_SOURCES) \
  280. $(testrecurse_SOURCES) $(xmlcatalog_SOURCES) \
  281. $(xmllint_SOURCES)
  282. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  283. html-recursive info-recursive install-data-recursive \
  284. install-dvi-recursive install-exec-recursive \
  285. install-html-recursive install-info-recursive \
  286. install-pdf-recursive install-ps-recursive install-recursive \
  287. installcheck-recursive installdirs-recursive pdf-recursive \
  288. ps-recursive uninstall-recursive
  289. man1dir = $(mandir)/man1
  290. man3dir = $(mandir)/man3
  291. NROFF = nroff
  292. MANS = $(man_MANS)
  293. DATA = $(confexec_DATA) $(m4data_DATA) $(pkgconfig_DATA)
  294. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  295. distclean-recursive maintainer-clean-recursive
  296. AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  297. $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  298. distdir dist dist-all distcheck
  299. ETAGS = etags
  300. CTAGS = ctags
  301. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  302. distdir = $(PACKAGE)-$(VERSION)
  303. top_distdir = $(distdir)
  304. am__remove_distdir = \
  305. { test ! -d "$(distdir)" \
  306. || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  307. && rm -fr "$(distdir)"; }; }
  308. am__relativize = \
  309. dir0=`pwd`; \
  310. sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  311. sed_rest='s,^[^/]*/*,,'; \
  312. sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  313. sed_butlast='s,/*[^/]*$$,,'; \
  314. while test -n "$$dir1"; do \
  315. first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  316. if test "$$first" != "."; then \
  317. if test "$$first" = ".."; then \
  318. dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  319. dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  320. else \
  321. first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  322. if test "$$first2" = "$$first"; then \
  323. dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  324. else \
  325. dir2="../$$dir2"; \
  326. fi; \
  327. dir0="$$dir0"/"$$first"; \
  328. fi; \
  329. fi; \
  330. dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  331. done; \
  332. reldir="$$dir2"
  333. DIST_ARCHIVES = $(distdir).tar.gz
  334. GZIP_ENV = --best
  335. distuninstallcheck_listfiles = find . -type f -print
  336. distcleancheck_listfiles = find . -type f -print
  337. ACLOCAL = @ACLOCAL@
  338. AMTAR = @AMTAR@
  339. AR = @AR@
  340. AS = @AS@
  341. AUTOCONF = @AUTOCONF@
  342. AUTOHEADER = @AUTOHEADER@
  343. AUTOMAKE = @AUTOMAKE@
  344. AWK = @AWK@
  345. BASE_THREAD_LIBS = @BASE_THREAD_LIBS@
  346. C14N_OBJ = @C14N_OBJ@
  347. CATALOG_OBJ = @CATALOG_OBJ@
  348. CC = @CC@
  349. CCDEPMODE = @CCDEPMODE@
  350. CFLAGS = @CFLAGS@
  351. CPP = @CPP@
  352. CPPFLAGS = @CPPFLAGS@
  353. CYGPATH_W = @CYGPATH_W@
  354. CYGWIN_EXTRA_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@
  355. CYGWIN_EXTRA_PYTHON_LIBADD = @CYGWIN_EXTRA_PYTHON_LIBADD@
  356. DEBUG_OBJ = @DEBUG_OBJ@
  357. DEFS = @DEFS@
  358. DEPDIR = @DEPDIR@
  359. DLLTOOL = @DLLTOOL@
  360. DOCB_OBJ = @DOCB_OBJ@
  361. DSYMUTIL = @DSYMUTIL@
  362. DUMPBIN = @DUMPBIN@
  363. ECHO_C = @ECHO_C@
  364. ECHO_N = @ECHO_N@
  365. ECHO_T = @ECHO_T@
  366. EGREP = @EGREP@
  367. EXEEXT = @EXEEXT@
  368. FGREP = @FGREP@
  369. FTP_OBJ = @FTP_OBJ@
  370. GREP = @GREP@
  371. HAVE_ISINF = @HAVE_ISINF@
  372. HAVE_ISNAN = @HAVE_ISNAN@
  373. HTML_DIR = @HTML_DIR@
  374. HTML_OBJ = @HTML_OBJ@
  375. HTTP_OBJ = @HTTP_OBJ@
  376. ICONV_LIBS = @ICONV_LIBS@
  377. INSTALL = @INSTALL@
  378. INSTALL_DATA = @INSTALL_DATA@
  379. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  380. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  381. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  382. LD = @LD@
  383. LDFLAGS = @LDFLAGS@
  384. LIBOBJS = @LIBOBJS@
  385. LIBS = @LIBS@
  386. LIBTOOL = @LIBTOOL@
  387. LIBXML_MAJOR_VERSION = @LIBXML_MAJOR_VERSION@
  388. LIBXML_MICRO_VERSION = @LIBXML_MICRO_VERSION@
  389. LIBXML_MINOR_VERSION = @LIBXML_MINOR_VERSION@
  390. LIBXML_VERSION = @LIBXML_VERSION@
  391. LIBXML_VERSION_EXTRA = @LIBXML_VERSION_EXTRA@
  392. LIBXML_VERSION_INFO = @LIBXML_VERSION_INFO@
  393. LIBXML_VERSION_NUMBER = @LIBXML_VERSION_NUMBER@
  394. LIPO = @LIPO@
  395. LN_S = @LN_S@
  396. LTLIBOBJS = @LTLIBOBJS@
  397. MAKEINFO = @MAKEINFO@
  398. MKDIR_P = @MKDIR_P@
  399. MODULE_EXTENSION = @MODULE_EXTENSION@
  400. MODULE_PLATFORM_LIBS = @MODULE_PLATFORM_LIBS@
  401. MV = @MV@
  402. M_LIBS = @M_LIBS@
  403. NM = @NM@
  404. NMEDIT = @NMEDIT@
  405. OBJDUMP = @OBJDUMP@
  406. OBJEXT = @OBJEXT@
  407. OTOOL = @OTOOL@
  408. OTOOL64 = @OTOOL64@
  409. PACKAGE = @PACKAGE@
  410. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  411. PACKAGE_NAME = @PACKAGE_NAME@
  412. PACKAGE_STRING = @PACKAGE_STRING@
  413. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  414. PACKAGE_VERSION = @PACKAGE_VERSION@
  415. PATH_SEPARATOR = @PATH_SEPARATOR@
  416. PERL = @PERL@
  417. PYTHON = @PYTHON@
  418. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  419. PYTHON_LIBS = @PYTHON_LIBS@
  420. PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
  421. PYTHON_SUBDIR = @PYTHON_SUBDIR@
  422. PYTHON_TESTS = @PYTHON_TESTS@
  423. PYTHON_VERSION = @PYTHON_VERSION@
  424. RANLIB = @RANLIB@
  425. RDL_LIBS = @RDL_LIBS@
  426. READER_TEST = @READER_TEST@
  427. RELDATE = @RELDATE@
  428. RM = @RM@
  429. SED = @SED@
  430. SET_MAKE = @SET_MAKE@
  431. SHELL = @SHELL@
  432. STATIC_BINARIES = @STATIC_BINARIES@
  433. STRIP = @STRIP@
  434. TAR = @TAR@
  435. TEST_C14N = @TEST_C14N@
  436. TEST_CATALOG = @TEST_CATALOG@
  437. TEST_DEBUG = @TEST_DEBUG@
  438. TEST_HTML = @TEST_HTML@
  439. TEST_MODULES = @TEST_MODULES@
  440. TEST_PATTERN = @TEST_PATTERN@
  441. TEST_PHTML = @TEST_PHTML@
  442. TEST_PUSH = @TEST_PUSH@
  443. TEST_REGEXPS = @TEST_REGEXPS@
  444. TEST_SAX = @TEST_SAX@
  445. TEST_SCHEMAS = @TEST_SCHEMAS@
  446. TEST_SCHEMATRON = @TEST_SCHEMATRON@
  447. TEST_THREADS = @TEST_THREADS@
  448. TEST_VALID = @TEST_VALID@
  449. TEST_VTIME = @TEST_VTIME@
  450. TEST_XINCLUDE = @TEST_XINCLUDE@
  451. TEST_XPATH = @TEST_XPATH@
  452. TEST_XPTR = @TEST_XPTR@
  453. THREADS_W32 = @THREADS_W32@
  454. THREAD_CFLAGS = @THREAD_CFLAGS@
  455. THREAD_LIBS = @THREAD_LIBS@
  456. U = @U@
  457. VERSION = @VERSION@
  458. VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@
  459. WGET = @WGET@
  460. WIN32_EXTRA_LDFLAGS = @WIN32_EXTRA_LDFLAGS@
  461. WIN32_EXTRA_LIBADD = @WIN32_EXTRA_LIBADD@
  462. WITH_C14N = @WITH_C14N@
  463. WITH_CATALOG = @WITH_CATALOG@
  464. WITH_DEBUG = @WITH_DEBUG@
  465. WITH_DOCB = @WITH_DOCB@
  466. WITH_FTP = @WITH_FTP@
  467. WITH_HTML = @WITH_HTML@
  468. WITH_HTTP = @WITH_HTTP@
  469. WITH_ICONV = @WITH_ICONV@
  470. WITH_ISO8859X = @WITH_ISO8859X@
  471. WITH_LEGACY = @WITH_LEGACY@
  472. WITH_MEM_DEBUG = @WITH_MEM_DEBUG@
  473. WITH_MODULES = @WITH_MODULES@
  474. WITH_OUTPUT = @WITH_OUTPUT@
  475. WITH_PATTERN = @WITH_PATTERN@
  476. WITH_PUSH = @WITH_PUSH@
  477. WITH_READER = @WITH_READER@
  478. WITH_REGEXPS = @WITH_REGEXPS@
  479. WITH_RUN_DEBUG = @WITH_RUN_DEBUG@
  480. WITH_SAX1 = @WITH_SAX1@
  481. WITH_SCHEMAS = @WITH_SCHEMAS@
  482. WITH_SCHEMATRON = @WITH_SCHEMATRON@
  483. WITH_THREADS = @WITH_THREADS@
  484. WITH_TREE = @WITH_TREE@
  485. WITH_TRIO = @WITH_TRIO@
  486. WITH_VALID = @WITH_VALID@
  487. WITH_WRITER = @WITH_WRITER@
  488. WITH_XINCLUDE = @WITH_XINCLUDE@
  489. WITH_XPATH = @WITH_XPATH@
  490. WITH_XPTR = @WITH_XPTR@
  491. WITH_ZLIB = @WITH_ZLIB@
  492. XINCLUDE_OBJ = @XINCLUDE_OBJ@
  493. XMLLINT = @XMLLINT@
  494. XML_CFLAGS = @XML_CFLAGS@
  495. XML_INCLUDEDIR = @XML_INCLUDEDIR@
  496. XML_LIBDIR = @XML_LIBDIR@
  497. XML_LIBS = @XML_LIBS@
  498. XML_LIBTOOLLIBS = @XML_LIBTOOLLIBS@
  499. XPATH_OBJ = @XPATH_OBJ@
  500. XPTR_OBJ = @XPTR_OBJ@
  501. XSLTPROC = @XSLTPROC@
  502. Z_CFLAGS = @Z_CFLAGS@
  503. Z_LIBS = @Z_LIBS@
  504. abs_builddir = @abs_builddir@
  505. abs_srcdir = @abs_srcdir@
  506. abs_top_builddir = @abs_top_builddir@
  507. abs_top_srcdir = @abs_top_srcdir@
  508. ac_ct_CC = @ac_ct_CC@
  509. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  510. am__include = @am__include@
  511. am__leading_dot = @am__leading_dot@
  512. am__quote = @am__quote@
  513. am__tar = @am__tar@
  514. am__untar = @am__untar@
  515. bindir = @bindir@
  516. build = @build@
  517. build_alias = @build_alias@
  518. build_cpu = @build_cpu@
  519. build_os = @build_os@
  520. build_vendor = @build_vendor@
  521. builddir = @builddir@
  522. datadir = @datadir@
  523. datarootdir = @datarootdir@
  524. docdir = @docdir@
  525. dvidir = @dvidir@
  526. exec_prefix = @exec_prefix@
  527. host = @host@
  528. host_alias = @host_alias@
  529. host_cpu = @host_cpu@
  530. host_os = @host_os@
  531. host_vendor = @host_vendor@
  532. htmldir = @htmldir@
  533. includedir = @includedir@
  534. infodir = @infodir@
  535. install_sh = @install_sh@
  536. libdir = @libdir@
  537. libexecdir = @libexecdir@
  538. localedir = @localedir@
  539. localstatedir = @localstatedir@
  540. lt_ECHO = @lt_ECHO@
  541. mandir = @mandir@
  542. mkdir_p = @mkdir_p@
  543. oldincludedir = @oldincludedir@
  544. pdfdir = @pdfdir@
  545. prefix = @prefix@
  546. program_transform_name = @program_transform_name@
  547. psdir = @psdir@
  548. pythondir = @pythondir@
  549. sbindir = @sbindir@
  550. sharedstatedir = @sharedstatedir@
  551. srcdir = @srcdir@
  552. sysconfdir = @sysconfdir@
  553. target_alias = @target_alias@
  554. top_build_prefix = @top_build_prefix@
  555. top_builddir = @top_builddir@
  556. top_srcdir = @top_srcdir@
  557. ACLOCAL_AMFLAGS = -I m4
  558. SUBDIRS = include . doc example xstc @PYTHON_SUBDIR@
  559. DIST_SUBDIRS = include . doc example python xstc
  560. INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@
  561. bin_SCRIPTS = xml2-config
  562. lib_LTLIBRARIES = libxml2.la
  563. libxml2_la_LIBADD = @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) @M_LIBS@ @WIN32_EXTRA_LIBADD@
  564. @USE_VERSION_SCRIPT_FALSE@LIBXML2_VERSION_SCRIPT =
  565. @USE_VERSION_SCRIPT_TRUE@LIBXML2_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libxml2.syms
  566. libxml2_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ \
  567. $(LIBXML2_VERSION_SCRIPT) \
  568. -version-info @LIBXML_VERSION_INFO@ \
  569. @MODULE_PLATFORM_LIBS@
  570. @WITH_TRIO_SOURCES_FALSE@libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \
  571. @WITH_TRIO_SOURCES_FALSE@ parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \
  572. @WITH_TRIO_SOURCES_FALSE@ valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \
  573. @WITH_TRIO_SOURCES_FALSE@ xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c \
  574. @WITH_TRIO_SOURCES_FALSE@ catalog.c globals.c threads.c c14n.c xmlstring.c \
  575. @WITH_TRIO_SOURCES_FALSE@ xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
  576. @WITH_TRIO_SOURCES_FALSE@ xmlreader.c relaxng.c dict.c SAX2.c \
  577. @WITH_TRIO_SOURCES_FALSE@ xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c \
  578. @WITH_TRIO_SOURCES_FALSE@ xmlmodule.c schematron.c
  579. @WITH_TRIO_SOURCES_TRUE@libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \
  580. @WITH_TRIO_SOURCES_TRUE@ parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \
  581. @WITH_TRIO_SOURCES_TRUE@ valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \
  582. @WITH_TRIO_SOURCES_TRUE@ xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c \
  583. @WITH_TRIO_SOURCES_TRUE@ catalog.c globals.c threads.c c14n.c xmlstring.c \
  584. @WITH_TRIO_SOURCES_TRUE@ xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
  585. @WITH_TRIO_SOURCES_TRUE@ triostr.c trio.c xmlreader.c relaxng.c dict.c SAX2.c \
  586. @WITH_TRIO_SOURCES_TRUE@ xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c \
  587. @WITH_TRIO_SOURCES_TRUE@ xmlmodule.c schematron.c
  588. DEPS = $(top_builddir)/libxml2.la
  589. LDADDS = @STATIC_BINARIES@ $(top_builddir)/libxml2.la @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) @M_LIBS@ @WIN32_EXTRA_LIBADD@
  590. man_MANS = xml2-config.1 libxml.3
  591. m4datadir = $(datadir)/aclocal
  592. m4data_DATA = libxml.m4
  593. runtest_SOURCES = runtest.c
  594. runtest_LDFLAGS =
  595. runtest_DEPENDENCIES = $(DEPS)
  596. runtest_LDADD = @BASE_THREAD_LIBS@ @RDL_LIBS@ $(LDADDS)
  597. testrecurse_SOURCES = testrecurse.c
  598. testrecurse_LDFLAGS =
  599. testrecurse_DEPENDENCIES = $(DEPS)
  600. testrecurse_LDADD = @BASE_THREAD_LIBS@ @RDL_LIBS@ $(LDADDS)
  601. testchar_SOURCES = testchar.c
  602. testchar_LDFLAGS =
  603. testchar_DEPENDENCIES = $(DEPS)
  604. testchar_LDADD = @RDL_LIBS@ $(LDADDS)
  605. testdict_SOURCES = testdict.c
  606. testdict_LDFLAGS =
  607. testdict_DEPENDENCIES = $(DEPS)
  608. testdict_LDADD = @RDL_LIBS@ $(LDADDS)
  609. runsuite_SOURCES = runsuite.c
  610. runsuite_LDFLAGS =
  611. runsuite_DEPENDENCIES = $(DEPS)
  612. runsuite_LDADD = @RDL_LIBS@ $(LDADDS)
  613. xmllint_SOURCES = xmllint.c
  614. xmllint_LDFLAGS =
  615. xmllint_DEPENDENCIES = $(DEPS)
  616. xmllint_LDADD = @RDL_LIBS@ $(LDADDS)
  617. testSAX_SOURCES = testSAX.c
  618. testSAX_LDFLAGS =
  619. testSAX_DEPENDENCIES = $(DEPS)
  620. testSAX_LDADD = $(LDADDS)
  621. testHTML_SOURCES = testHTML.c
  622. testHTML_LDFLAGS =
  623. testHTML_DEPENDENCIES = $(DEPS)
  624. testHTML_LDADD = $(LDADDS)
  625. xmlcatalog_SOURCES = xmlcatalog.c
  626. xmlcatalog_LDFLAGS =
  627. xmlcatalog_DEPENDENCIES = $(DEPS)
  628. xmlcatalog_LDADD = @RDL_LIBS@ $(LDADDS)
  629. testXPath_SOURCES = testXPath.c
  630. testXPath_LDFLAGS =
  631. testXPath_DEPENDENCIES = $(DEPS)
  632. testXPath_LDADD = $(LDADDS)
  633. testC14N_SOURCES = testC14N.c
  634. testC14N_LDFLAGS =
  635. testC14N_DEPENDENCIES = $(DEPS)
  636. testC14N_LDADD = $(LDADDS)
  637. testThreads_SOURCES = testThreads@THREADS_W32@.c
  638. testThreads_LDFLAGS =
  639. testThreads_DEPENDENCIES = $(DEPS)
  640. testThreads_LDADD = @BASE_THREAD_LIBS@ $(LDADDS)
  641. testURI_SOURCES = testURI.c
  642. testURI_LDFLAGS =
  643. testURI_DEPENDENCIES = $(DEPS)
  644. testURI_LDADD = $(LDADDS)
  645. testRegexp_SOURCES = testRegexp.c
  646. testRegexp_LDFLAGS =
  647. testRegexp_DEPENDENCIES = $(DEPS)
  648. testRegexp_LDADD = $(LDADDS)
  649. testAutomata_SOURCES = testAutomata.c
  650. testAutomata_LDFLAGS =
  651. testAutomata_DEPENDENCIES = $(DEPS)
  652. testAutomata_LDADD = $(LDADDS)
  653. testSchemas_SOURCES = testSchemas.c
  654. testSchemas_LDFLAGS =
  655. testSchemas_DEPENDENCIES = $(DEPS)
  656. testSchemas_LDADD = $(LDADDS)
  657. testRelax_SOURCES = testRelax.c
  658. testRelax_LDFLAGS =
  659. testRelax_DEPENDENCIES = $(DEPS)
  660. testRelax_LDADD = $(LDADDS)
  661. testReader_SOURCES = testReader.c
  662. testReader_LDFLAGS =
  663. testReader_DEPENDENCIES = $(DEPS)
  664. testReader_LDADD = $(LDADDS)
  665. testModule_SOURCES = testModule.c
  666. testModule_LDFLAGS =
  667. testModule_DEPENDENCIES = $(DEPS)
  668. testModule_LDADD = $(LDADDS)
  669. noinst_LTLIBRARIES = testdso.la
  670. testdso_la_SOURCES = testdso.c
  671. testdso_la_LDFLAGS = -module -no-undefined -avoid-version -rpath $(libdir)
  672. testapi_SOURCES = testapi.c
  673. testapi_LDFLAGS =
  674. testapi_DEPENDENCIES = $(DEPS)
  675. testapi_LDADD = $(LDADDS)
  676. runxmlconf_SOURCES = runxmlconf.c
  677. runxmlconf_LDFLAGS =
  678. runxmlconf_DEPENDENCIES = $(DEPS)
  679. runxmlconf_LDADD = $(LDADDS)
  680. CLEANFILES = xml2Conf.sh *.gcda *.gcno
  681. confexecdir = $(libdir)
  682. confexec_DATA = xml2Conf.sh
  683. CVS_EXTRA_DIST =
  684. EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \
  685. libxml.m4 Copyright check-xml-test-suite.py gentest.py \
  686. check-relaxng-test-suite.py check-relaxng-test-suite2.py \
  687. check-xsddata-test-suite.py check-xinclude-test-suite.py \
  688. example/Makefile.am example/gjobread.c example/gjobs.xml \
  689. $(man_MANS) libxml-2.0.pc.in libxml-2.0-uninstalled.pc.in \
  690. trionan.c trionan.h triostr.c triostr.h trio.c trio.h \
  691. triop.h triodef.h libxml.h elfgcchack.h \
  692. testThreadsWin32.c genUnicode.py TODO_SCHEMAS \
  693. dbgen.pl dbgenattr.pl regressions.py regressions.xml \
  694. README.tests Makefile.tests libxml2.syms \
  695. $(CVS_EXTRA_DIST)
  696. pkgconfigdir = $(libdir)/pkgconfig
  697. pkgconfig_DATA = libxml-2.0.pc
  698. #
  699. # Install the tests program sources as examples
  700. #
  701. BASE_DIR = $(datadir)/doc
  702. DOC_MODULE = libxml2-$(VERSION)
  703. EXAMPLES_DIR = $(BASE_DIR)/$(DOC_MODULE)/examples
  704. #
  705. # Coverage support, largely borrowed from libvirt
  706. # Both binaries comes from the lcov package in Fedora
  707. #
  708. LCOV = /usr/bin/lcov
  709. GENHTML = /usr/bin/genhtml
  710. all: config.h
  711. $(MAKE) $(AM_MAKEFLAGS) all-recursive
  712. .SUFFIXES:
  713. .SUFFIXES: .c .lo .o .obj
  714. am--refresh:
  715. @:
  716. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  717. @for dep in $?; do \
  718. case '$(am__configure_deps)' in \
  719. *$$dep*) \
  720. echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
  721. $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
  722. && exit 0; \
  723. exit 1;; \
  724. esac; \
  725. done; \
  726. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  727. $(am__cd) $(top_srcdir) && \
  728. $(AUTOMAKE) --gnu Makefile
  729. .PRECIOUS: Makefile
  730. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  731. @case '$?' in \
  732. *config.status*) \
  733. echo ' $(SHELL) ./config.status'; \
  734. $(SHELL) ./config.status;; \
  735. *) \
  736. echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  737. cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  738. esac;
  739. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  740. $(SHELL) ./config.status --recheck
  741. $(top_srcdir)/configure: $(am__configure_deps)
  742. $(am__cd) $(srcdir) && $(AUTOCONF)
  743. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  744. $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  745. $(am__aclocal_m4_deps):
  746. config.h: stamp-h1
  747. @if test ! -f $@; then \
  748. rm -f stamp-h1; \
  749. $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
  750. else :; fi
  751. stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
  752. @rm -f stamp-h1
  753. cd $(top_builddir) && $(SHELL) ./config.status config.h
  754. $(srcdir)/config.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h
  755. ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  756. rm -f stamp-h1
  757. touch $@
  758. distclean-hdr:
  759. -rm -f config.h stamp-h1
  760. libxml2.spec: $(top_builddir)/config.status $(srcdir)/libxml.spec.in
  761. cd $(top_builddir) && $(SHELL) ./config.status $@
  762. xml2-config: $(top_builddir)/config.status $(srcdir)/xml2-config.in
  763. cd $(top_builddir) && $(SHELL) ./config.status $@
  764. libxml-2.0.pc: $(top_builddir)/config.status $(srcdir)/libxml-2.0.pc.in
  765. cd $(top_builddir) && $(SHELL) ./config.status $@
  766. libxml-2.0-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/libxml-2.0-uninstalled.pc.in
  767. cd $(top_builddir) && $(SHELL) ./config.status $@
  768. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  769. @$(NORMAL_INSTALL)
  770. test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  771. @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  772. list2=; for p in $$list; do \
  773. if test -f $$p; then \
  774. list2="$$list2 $$p"; \
  775. else :; fi; \
  776. done; \
  777. test -z "$$list2" || { \
  778. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  779. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  780. }
  781. uninstall-libLTLIBRARIES:
  782. @$(NORMAL_UNINSTALL)
  783. @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  784. for p in $$list; do \
  785. $(am__strip_dir) \
  786. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  787. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  788. done
  789. clean-libLTLIBRARIES:
  790. -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
  791. @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  792. dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  793. test "$$dir" != "$$p" || dir=.; \
  794. echo "rm -f \"$${dir}/so_locations\""; \
  795. rm -f "$${dir}/so_locations"; \
  796. done
  797. clean-noinstLTLIBRARIES:
  798. -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
  799. @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
  800. dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  801. test "$$dir" != "$$p" || dir=.; \
  802. echo "rm -f \"$${dir}/so_locations\""; \
  803. rm -f "$${dir}/so_locations"; \
  804. done
  805. libxml2.la: $(libxml2_la_OBJECTS) $(libxml2_la_DEPENDENCIES)
  806. $(libxml2_la_LINK) -rpath $(libdir) $(libxml2_la_OBJECTS) $(libxml2_la_LIBADD) $(LIBS)
  807. testdso.la: $(testdso_la_OBJECTS) $(testdso_la_DEPENDENCIES)
  808. $(testdso_la_LINK) $(testdso_la_OBJECTS) $(testdso_la_LIBADD) $(LIBS)
  809. install-binPROGRAMS: $(bin_PROGRAMS)
  810. @$(NORMAL_INSTALL)
  811. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  812. @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  813. for p in $$list; do echo "$$p $$p"; done | \
  814. sed 's/$(EXEEXT)$$//' | \
  815. while read p p1; do if test -f $$p || test -f $$p1; \
  816. then echo "$$p"; echo "$$p"; else :; fi; \
  817. done | \
  818. sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  819. -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  820. sed 'N;N;N;s,\n, ,g' | \
  821. $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  822. { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  823. if ($$2 == $$4) files[d] = files[d] " " $$1; \
  824. else { print "f", $$3 "/" $$4, $$1; } } \
  825. END { for (d in files) print "f", d, files[d] }' | \
  826. while read type dir files; do \
  827. if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  828. test -z "$$files" || { \
  829. echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  830. $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  831. } \
  832. ; done
  833. uninstall-binPROGRAMS:
  834. @$(NORMAL_UNINSTALL)
  835. @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  836. files=`for p in $$list; do echo "$$p"; done | \
  837. sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  838. -e 's/$$/$(EXEEXT)/' `; \
  839. test -n "$$list" || exit 0; \
  840. echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  841. cd "$(DESTDIR)$(bindir)" && rm -f $$files
  842. clean-binPROGRAMS:
  843. @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  844. echo " rm -f" $$list; \
  845. rm -f $$list || exit $$?; \
  846. test -n "$(EXEEXT)" || exit 0; \
  847. list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  848. echo " rm -f" $$list; \
  849. rm -f $$list
  850. clean-noinstPROGRAMS:
  851. @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
  852. echo " rm -f" $$list; \
  853. rm -f $$list || exit $$?; \
  854. test -n "$(EXEEXT)" || exit 0; \
  855. list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  856. echo " rm -f" $$list; \
  857. rm -f $$list
  858. runsuite$(EXEEXT): $(runsuite_OBJECTS) $(runsuite_DEPENDENCIES)
  859. @rm -f runsuite$(EXEEXT)
  860. $(runsuite_LINK) $(runsuite_OBJECTS) $(runsuite_LDADD) $(LIBS)
  861. runtest$(EXEEXT): $(runtest_OBJECTS) $(runtest_DEPENDENCIES)
  862. @rm -f runtest$(EXEEXT)
  863. $(runtest_LINK) $(runtest_OBJECTS) $(runtest_LDADD) $(LIBS)
  864. runxmlconf$(EXEEXT): $(runxmlconf_OBJECTS) $(runxmlconf_DEPENDENCIES)
  865. @rm -f runxmlconf$(EXEEXT)
  866. $(runxmlconf_LINK) $(runxmlconf_OBJECTS) $(runxmlconf_LDADD) $(LIBS)
  867. testAutomata$(EXEEXT): $(testAutomata_OBJECTS) $(testAutomata_DEPENDENCIES)
  868. @rm -f testAutomata$(EXEEXT)
  869. $(testAutomata_LINK) $(testAutomata_OBJECTS) $(testAutomata_LDADD) $(LIBS)
  870. testC14N$(EXEEXT): $(testC14N_OBJECTS) $(testC14N_DEPENDENCIES)
  871. @rm -f testC14N$(EXEEXT)
  872. $(testC14N_LINK) $(testC14N_OBJECTS) $(testC14N_LDADD) $(LIBS)
  873. testHTML$(EXEEXT): $(testHTML_OBJECTS) $(testHTML_DEPENDENCIES)
  874. @rm -f testHTML$(EXEEXT)
  875. $(testHTML_LINK) $(testHTML_OBJECTS) $(testHTML_LDADD) $(LIBS)
  876. testModule$(EXEEXT): $(testModule_OBJECTS) $(testModule_DEPENDENCIES)
  877. @rm -f testModule$(EXEEXT)
  878. $(testModule_LINK) $(testModule_OBJECTS) $(testModule_LDADD) $(LIBS)
  879. testReader$(EXEEXT): $(testReader_OBJECTS) $(testReader_DEPENDENCIES)
  880. @rm -f testReader$(EXEEXT)
  881. $(testReader_LINK) $(testReader_OBJECTS) $(testReader_LDADD) $(LIBS)
  882. testRegexp$(EXEEXT): $(testRegexp_OBJECTS) $(testRegexp_DEPENDENCIES)
  883. @rm -f testRegexp$(EXEEXT)
  884. $(testRegexp_LINK) $(testRegexp_OBJECTS) $(testRegexp_LDADD) $(LIBS)
  885. testRelax$(EXEEXT): $(testRelax_OBJECTS) $(testRelax_DEPENDENCIES)
  886. @rm -f testRelax$(EXEEXT)
  887. $(testRelax_LINK) $(testRelax_OBJECTS) $(testRelax_LDADD) $(LIBS)
  888. testSAX$(EXEEXT): $(testSAX_OBJECTS) $(testSAX_DEPENDENCIES)
  889. @rm -f testSAX$(EXEEXT)
  890. $(testSAX_LINK) $(testSAX_OBJECTS) $(testSAX_LDADD) $(LIBS)
  891. testSchemas$(EXEEXT): $(testSchemas_OBJECTS) $(testSchemas_DEPENDENCIES)
  892. @rm -f testSchemas$(EXEEXT)
  893. $(testSchemas_LINK) $(testSchemas_OBJECTS) $(testSchemas_LDADD) $(LIBS)
  894. testThreads$(EXEEXT): $(testThreads_OBJECTS) $(testThreads_DEPENDENCIES)
  895. @rm -f testThreads$(EXEEXT)
  896. $(testThreads_LINK) $(testThreads_OBJECTS) $(testThreads_LDADD) $(LIBS)
  897. testURI$(EXEEXT): $(testURI_OBJECTS) $(testURI_DEPENDENCIES)
  898. @rm -f testURI$(EXEEXT)
  899. $(testURI_LINK) $(testURI_OBJECTS) $(testURI_LDADD) $(LIBS)
  900. testXPath$(EXEEXT): $(testXPath_OBJECTS) $(testXPath_DEPENDENCIES)
  901. @rm -f testXPath$(EXEEXT)
  902. $(testXPath_LINK) $(testXPath_OBJECTS) $(testXPath_LDADD) $(LIBS)
  903. testapi$(EXEEXT): $(testapi_OBJECTS) $(testapi_DEPENDENCIES)
  904. @rm -f testapi$(EXEEXT)
  905. $(testapi_LINK) $(testapi_OBJECTS) $(testapi_LDADD) $(LIBS)
  906. testchar$(EXEEXT): $(testchar_OBJECTS) $(testchar_DEPENDENCIES)
  907. @rm -f testchar$(EXEEXT)
  908. $(testchar_LINK) $(testchar_OBJECTS) $(testchar_LDADD) $(LIBS)
  909. testdict$(EXEEXT): $(testdict_OBJECTS) $(testdict_DEPENDENCIES)
  910. @rm -f testdict$(EXEEXT)
  911. $(testdict_LINK) $(testdict_OBJECTS) $(testdict_LDADD) $(LIBS)
  912. testrecurse$(EXEEXT): $(testrecurse_OBJECTS) $(testrecurse_DEPENDENCIES)
  913. @rm -f testrecurse$(EXEEXT)
  914. $(testrecurse_LINK) $(testrecurse_OBJECTS) $(testrecurse_LDADD) $(LIBS)
  915. xmlcatalog$(EXEEXT): $(xmlcatalog_OBJECTS) $(xmlcatalog_DEPENDENCIES)
  916. @rm -f xmlcatalog$(EXEEXT)
  917. $(xmlcatalog_LINK) $(xmlcatalog_OBJECTS) $(xmlcatalog_LDADD) $(LIBS)
  918. xmllint$(EXEEXT): $(xmllint_OBJECTS) $(xmllint_DEPENDENCIES)
  919. @rm -f xmllint$(EXEEXT)
  920. $(xmllint_LINK) $(xmllint_OBJECTS) $(xmllint_LDADD) $(LIBS)
  921. install-binSCRIPTS: $(bin_SCRIPTS)
  922. @$(NORMAL_INSTALL)
  923. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  924. @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
  925. for p in $$list; do \
  926. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  927. if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  928. done | \
  929. sed -e 'p;s,.*/,,;n' \
  930. -e 'h;s|.*|.|' \
  931. -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  932. $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  933. { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  934. if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  935. if (++n[d] == $(am__install_max)) { \
  936. print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  937. else { print "f", d "/" $$4, $$1 } } \
  938. END { for (d in files) print "f", d, files[d] }' | \
  939. while read type dir files; do \
  940. if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  941. test -z "$$files" || { \
  942. echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  943. $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  944. } \
  945. ; done
  946. uninstall-binSCRIPTS:
  947. @$(NORMAL_UNINSTALL)
  948. @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
  949. files=`for p in $$list; do echo "$$p"; done | \
  950. sed -e 's,.*/,,;$(transform)'`; \
  951. test -n "$$list" || exit 0; \
  952. echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  953. cd "$(DESTDIR)$(bindir)" && rm -f $$files
  954. mostlyclean-compile:
  955. -rm -f *.$(OBJEXT)
  956. distclean-compile:
  957. -rm -f *.tab.c
  958. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DOCBparser.Plo@am__quote@
  959. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HTMLparser.Plo@am__quote@
  960. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HTMLtree.Plo@am__quote@
  961. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SAX.Plo@am__quote@
  962. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SAX2.Plo@am__quote@
  963. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c14n.Plo@am__quote@
  964. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/catalog.Plo@am__quote@
  965. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chvalid.Plo@am__quote@
  966. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/debugXML.Plo@am__quote@
  967. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dict.Plo@am__quote@
  968. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoding.Plo@am__quote@
  969. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/entities.Plo@am__quote@
  970. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@
  971. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/globals.Plo@am__quote@
  972. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Plo@am__quote@
  973. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/legacy.Plo@am__quote@
  974. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@
  975. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanoftp.Plo@am__quote@
  976. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanohttp.Plo@am__quote@
  977. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parser.Plo@am__quote@
  978. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parserInternals.Plo@am__quote@
  979. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pattern.Plo@am__quote@
  980. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/relaxng.Plo@am__quote@
  981. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runsuite.Po@am__quote@
  982. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runtest.Po@am__quote@
  983. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runxmlconf.Po@am__quote@
  984. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/schematron.Plo@am__quote@
  985. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testAutomata.Po@am__quote@
  986. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testC14N.Po@am__quote@
  987. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testHTML.Po@am__quote@
  988. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testModule.Po@am__quote@
  989. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testReader.Po@am__quote@
  990. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testRegexp.Po@am__quote@
  991. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testRelax.Po@am__quote@
  992. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testSAX.Po@am__quote@
  993. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testSchemas.Po@am__quote@
  994. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testThreads@THREADS_W32@.Po@am__quote@
  995. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testURI.Po@am__quote@
  996. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testXPath.Po@am__quote@
  997. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testapi.Po@am__quote@
  998. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testchar.Po@am__quote@
  999. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdict.Po@am__quote@
  1000. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdso.Plo@am__quote@
  1001. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testrecurse.Po@am__quote@
  1002. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/threads.Plo@am__quote@
  1003. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@
  1004. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trio.Plo@am__quote@
  1005. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/triostr.Plo@am__quote@
  1006. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uri.Plo@am__quote@
  1007. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/valid.Plo@am__quote@
  1008. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xinclude.Plo@am__quote@
  1009. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xlink.Plo@am__quote@
  1010. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlIO.Plo@am__quote@
  1011. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlcatalog.Po@am__quote@
  1012. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmllint.Po@am__quote@
  1013. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlmemory.Plo@am__quote@
  1014. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlmodule.Plo@am__quote@
  1015. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlreader.Plo@am__quote@
  1016. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlregexp.Plo@am__quote@
  1017. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlsave.Plo@am__quote@
  1018. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlschemas.Plo@am__quote@
  1019. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlschemastypes.Plo@am__quote@
  1020. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlstring.Plo@am__quote@
  1021. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlunicode.Plo@am__quote@
  1022. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlwriter.Plo@am__quote@
  1023. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xpath.Plo@am__quote@
  1024. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xpointer.Plo@am__quote@
  1025. .c.o:
  1026. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  1027. @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  1028. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  1029. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  1030. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  1031. .c.obj:
  1032. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  1033. @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  1034. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  1035. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  1036. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  1037. .c.lo:
  1038. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  1039. @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  1040. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  1041. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  1042. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  1043. mostlyclean-libtool:
  1044. -rm -f *.lo
  1045. clean-libtool:
  1046. -rm -rf .libs _libs
  1047. distclean-libtool:
  1048. -rm -f libtool config.lt
  1049. install-man1: $(man_MANS)
  1050. @$(NORMAL_INSTALL)
  1051. test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
  1052. @list=''; test -n "$(man1dir)" || exit 0; \
  1053. { for i in $$list; do echo "$$i"; done; \
  1054. l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  1055. sed -n '/\.1[a-z]*$$/p'; \
  1056. } | while read p; do \
  1057. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  1058. echo "$$d$$p"; echo "$$p"; \
  1059. done | \
  1060. sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  1061. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  1062. sed 'N;N;s,\n, ,g' | { \
  1063. list=; while read file base inst; do \
  1064. if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  1065. echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  1066. $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
  1067. fi; \
  1068. done; \
  1069. for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  1070. while read files; do \
  1071. test -z "$$files" || { \
  1072. echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
  1073. $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
  1074. done; }
  1075. uninstall-man1:
  1076. @$(NORMAL_UNINSTALL)
  1077. @list=''; test -n "$(man1dir)" || exit 0; \
  1078. files=`{ for i in $$list; do echo "$$i"; done; \
  1079. l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  1080. sed -n '/\.1[a-z]*$$/p'; \
  1081. } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  1082. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  1083. test -z "$$files" || { \
  1084. echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
  1085. cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
  1086. install-man3: $(man_MANS)
  1087. @$(NORMAL_INSTALL)
  1088. test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
  1089. @list=''; test -n "$(man3dir)" || exit 0; \
  1090. { for i in $$list; do echo "$$i"; done; \
  1091. l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  1092. sed -n '/\.3[a-z]*$$/p'; \
  1093. } | while read p; do \
  1094. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  1095. echo "$$d$$p"; echo "$$p"; \
  1096. done | \
  1097. sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  1098. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  1099. sed 'N;N;s,\n, ,g' | { \
  1100. list=; while read file base inst; do \
  1101. if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  1102. echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
  1103. $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
  1104. fi; \
  1105. done; \
  1106. for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  1107. while read files; do \
  1108. test -z "$$files" || { \
  1109. echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
  1110. $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
  1111. done; }
  1112. uninstall-man3:
  1113. @$(NORMAL_UNINSTALL)
  1114. @list=''; test -n "$(man3dir)" || exit 0; \
  1115. files=`{ for i in $$list; do echo "$$i"; done; \
  1116. l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  1117. sed -n '/\.3[a-z]*$$/p'; \
  1118. } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  1119. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  1120. test -z "$$files" || { \
  1121. echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \
  1122. cd "$(DESTDIR)$(man3dir)" && rm -f $$files; }
  1123. install-confexecDATA: $(confexec_DATA)
  1124. @$(NORMAL_INSTALL)
  1125. test -z "$(confexecdir)" || $(MKDIR_P) "$(DESTDIR)$(confexecdir)"
  1126. @list='$(confexec_DATA)'; test -n "$(confexecdir)" || list=; \
  1127. for p in $$list; do \
  1128. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  1129. echo "$$d$$p"; \
  1130. done | $(am__base_list) | \
  1131. while read files; do \
  1132. echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(confexecdir)'"; \
  1133. $(INSTALL_DATA) $$files "$(DESTDIR)$(confexecdir)" || exit $$?; \
  1134. done
  1135. uninstall-confexecDATA:
  1136. @$(NORMAL_UNINSTALL)
  1137. @list='$(confexec_DATA)'; test -n "$(confexecdir)" || list=; \
  1138. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  1139. test -n "$$files" || exit 0; \
  1140. echo " ( cd '$(DESTDIR)$(confexecdir)' && rm -f" $$files ")"; \
  1141. cd "$(DESTDIR)$(confexecdir)" && rm -f $$files
  1142. install-m4dataDATA: $(m4data_DATA)
  1143. @$(NORMAL_INSTALL)
  1144. test -z "$(m4datadir)" || $(MKDIR_P) "$(DESTDIR)$(m4datadir)"
  1145. @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \
  1146. for p in $$list; do \
  1147. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  1148. echo "$$d$$p"; \
  1149. done | $(am__base_list) | \
  1150. while read files; do \
  1151. echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(m4datadir)'"; \
  1152. $(INSTALL_DATA) $$files "$(DESTDIR)$(m4datadir)" || exit $$?; \
  1153. done
  1154. uninstall-m4dataDATA:
  1155. @$(NORMAL_UNINSTALL)
  1156. @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \
  1157. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  1158. test -n "$$files" || exit 0; \
  1159. echo " ( cd '$(DESTDIR)$(m4datadir)' && rm -f" $$files ")"; \
  1160. cd "$(DESTDIR)$(m4datadir)" && rm -f $$files
  1161. install-pkgconfigDATA: $(pkgconfig_DATA)
  1162. @$(NORMAL_INSTALL)
  1163. test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
  1164. @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  1165. for p in $$list; do \
  1166. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  1167. echo "$$d$$p"; \
  1168. done | $(am__base_list) | \
  1169. while read files; do \
  1170. echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
  1171. $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
  1172. done
  1173. uninstall-pkgconfigDATA:
  1174. @$(NORMAL_UNINSTALL)
  1175. @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  1176. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  1177. test -n "$$files" || exit 0; \
  1178. echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
  1179. cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
  1180. # This directory's subdirectories are mostly independent; you can cd
  1181. # into them and run `make' without going through this Makefile.
  1182. # To change the values of `make' variables: instead of editing Makefiles,
  1183. # (1) if the variable is set in `config.status', edit `config.status'
  1184. # (which will cause the Makefiles to be regenerated when you run `make');
  1185. # (2) otherwise, pass the desired values on the `make' command line.
  1186. $(RECURSIVE_TARGETS):
  1187. @fail= failcom='exit 1'; \
  1188. for f in x $$MAKEFLAGS; do \
  1189. case $$f in \
  1190. *=* | --[!k]*);; \
  1191. *k*) failcom='fail=yes';; \
  1192. esac; \
  1193. done; \
  1194. dot_seen=no; \
  1195. target=`echo $@ | sed s/-recursive//`; \
  1196. list='$(SUBDIRS)'; for subdir in $$list; do \
  1197. echo "Making $$target in $$subdir"; \
  1198. if test "$$subdir" = "."; then \
  1199. dot_seen=yes; \
  1200. local_target="$$target-am"; \
  1201. else \
  1202. local_target="$$target"; \
  1203. fi; \
  1204. ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  1205. || eval $$failcom; \
  1206. done; \
  1207. if test "$$dot_seen" = "no"; then \
  1208. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  1209. fi; test -z "$$fail"
  1210. $(RECURSIVE_CLEAN_TARGETS):
  1211. @fail= failcom='exit 1'; \
  1212. for f in x $$MAKEFLAGS; do \
  1213. case $$f in \
  1214. *=* | --[!k]*);; \
  1215. *k*) failcom='fail=yes';; \
  1216. esac; \
  1217. done; \
  1218. dot_seen=no; \
  1219. case "$@" in \
  1220. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  1221. *) list='$(SUBDIRS)' ;; \
  1222. esac; \
  1223. rev=''; for subdir in $$list; do \
  1224. if test "$$subdir" = "."; then :; else \
  1225. rev="$$subdir $$rev"; \
  1226. fi; \
  1227. done; \
  1228. rev="$$rev ."; \
  1229. target=`echo $@ | sed s/-recursive//`; \
  1230. for subdir in $$rev; do \
  1231. echo "Making $$target in $$subdir"; \
  1232. if test "$$subdir" = "."; then \
  1233. local_target="$$target-am"; \
  1234. else \
  1235. local_target="$$target"; \
  1236. fi; \
  1237. ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  1238. || eval $$failcom; \
  1239. done && test -z "$$fail"
  1240. tags-recursive:
  1241. list='$(SUBDIRS)'; for subdir in $$list; do \
  1242. test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  1243. done
  1244. ctags-recursive:
  1245. list='$(SUBDIRS)'; for subdir in $$list; do \
  1246. test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  1247. done
  1248. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  1249. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  1250. unique=`for i in $$list; do \
  1251. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  1252. done | \
  1253. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  1254. END { if (nonempty) { for (i in files) print i; }; }'`; \
  1255. mkid -fID $$unique
  1256. tags: TAGS
  1257. TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  1258. $(TAGS_FILES) $(LISP)
  1259. set x; \
  1260. here=`pwd`; \
  1261. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  1262. include_option=--etags-include; \
  1263. empty_fix=.; \
  1264. else \
  1265. include_option=--include; \
  1266. empty_fix=; \
  1267. fi; \
  1268. list='$(SUBDIRS)'; for subdir in $$list; do \
  1269. if test "$$subdir" = .; then :; else \
  1270. test ! -f $$subdir/TAGS || \
  1271. set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  1272. fi; \
  1273. done; \
  1274. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  1275. unique=`for i in $$list; do \
  1276. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  1277. done | \
  1278. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  1279. END { if (nonempty) { for (i in files) print i; }; }'`; \
  1280. shift; \
  1281. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  1282. test -n "$$unique" || unique=$$empty_fix; \
  1283. if test $$# -gt 0; then \
  1284. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  1285. "$$@" $$unique; \
  1286. else \
  1287. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  1288. $$unique; \
  1289. fi; \
  1290. fi
  1291. ctags: CTAGS
  1292. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  1293. $(TAGS_FILES) $(LISP)
  1294. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  1295. unique=`for i in $$list; do \
  1296. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  1297. done | \
  1298. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  1299. END { if (nonempty) { for (i in files) print i; }; }'`; \
  1300. test -z "$(CTAGS_ARGS)$$unique" \
  1301. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  1302. $$unique
  1303. GTAGS:
  1304. here=`$(am__cd) $(top_builddir) && pwd` \
  1305. && $(am__cd) $(top_srcdir) \
  1306. && gtags -i $(GTAGS_ARGS) "$$here"
  1307. distclean-tags:
  1308. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  1309. distdir: $(DISTFILES)
  1310. @list='$(MANS)'; if test -n "$$list"; then \
  1311. list=`for p in $$list; do \
  1312. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  1313. if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  1314. if test -n "$$list" && \
  1315. grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  1316. echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  1317. grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  1318. echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  1319. echo " typically \`make maintainer-clean' will remove them" >&2; \
  1320. exit 1; \
  1321. else :; fi; \
  1322. else :; fi
  1323. $(am__remove_distdir)
  1324. test -d "$(distdir)" || mkdir "$(distdir)"
  1325. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  1326. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  1327. list='$(DISTFILES)'; \
  1328. dist_files=`for file in $$list; do echo $$file; done | \
  1329. sed -e "s|^$$srcdirstrip/||;t" \
  1330. -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  1331. case $$dist_files in \
  1332. */*) $(MKDIR_P) `echo "$$dist_files" | \
  1333. sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  1334. sort -u` ;; \
  1335. esac; \
  1336. for file in $$dist_files; do \
  1337. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  1338. if test -d $$d/$$file; then \
  1339. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  1340. if test -d "$(distdir)/$$file"; then \
  1341. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  1342. fi; \
  1343. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  1344. cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  1345. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  1346. fi; \
  1347. cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  1348. else \
  1349. test -f "$(distdir)/$$file" \
  1350. || cp -p $$d/$$file "$(distdir)/$$file" \
  1351. || exit 1; \
  1352. fi; \
  1353. done
  1354. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  1355. if test "$$subdir" = .; then :; else \
  1356. test -d "$(distdir)/$$subdir" \
  1357. || $(MKDIR_P) "$(distdir)/$$subdir" \
  1358. || exit 1; \
  1359. fi; \
  1360. done
  1361. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  1362. if test "$$subdir" = .; then :; else \
  1363. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  1364. $(am__relativize); \
  1365. new_distdir=$$reldir; \
  1366. dir1=$$subdir; dir2="$(top_distdir)"; \
  1367. $(am__relativize); \
  1368. new_top_distdir=$$reldir; \
  1369. echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  1370. echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  1371. ($(am__cd) $$subdir && \
  1372. $(MAKE) $(AM_MAKEFLAGS) \
  1373. top_distdir="$$new_top_distdir" \
  1374. distdir="$$new_distdir" \
  1375. am__remove_distdir=: \
  1376. am__skip_length_check=: \
  1377. am__skip_mode_fix=: \
  1378. distdir) \
  1379. || exit 1; \
  1380. fi; \
  1381. done
  1382. $(MAKE) $(AM_MAKEFLAGS) \
  1383. top_distdir="$(top_distdir)" distdir="$(distdir)" \
  1384. dist-hook
  1385. -test -n "$(am__skip_mode_fix)" \
  1386. || find "$(distdir)" -type d ! -perm -755 \
  1387. -exec chmod u+rwx,go+rx {} \; -o \
  1388. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  1389. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  1390. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  1391. || chmod -R a+r "$(distdir)"
  1392. dist-gzip: distdir
  1393. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  1394. $(am__remove_distdir)
  1395. dist-bzip2: distdir
  1396. tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  1397. $(am__remove_distdir)
  1398. dist-lzma: distdir
  1399. tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  1400. $(am__remove_distdir)
  1401. dist-xz: distdir
  1402. tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  1403. $(am__remove_distdir)
  1404. dist-tarZ: distdir
  1405. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  1406. $(am__remove_distdir)
  1407. dist-shar: distdir
  1408. shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  1409. $(am__remove_distdir)
  1410. dist-zip: distdir
  1411. -rm -f $(distdir).zip
  1412. zip -rq $(distdir).zip $(distdir)
  1413. $(am__remove_distdir)
  1414. dist dist-all: distdir
  1415. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  1416. $(am__remove_distdir)
  1417. # This target untars the dist file and tries a VPATH configuration. Then
  1418. # it guarantees that the distribution is self-contained by making another
  1419. # tarfile.
  1420. distcheck: dist
  1421. case '$(DIST_ARCHIVES)' in \
  1422. *.tar.gz*) \
  1423. GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  1424. *.tar.bz2*) \
  1425. bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  1426. *.tar.lzma*) \
  1427. lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  1428. *.tar.xz*) \
  1429. xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  1430. *.tar.Z*) \
  1431. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  1432. *.shar.gz*) \
  1433. GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  1434. *.zip*) \
  1435. unzip $(distdir).zip ;;\
  1436. esac
  1437. chmod -R a-w $(distdir); chmod a+w $(distdir)
  1438. mkdir $(distdir)/_build
  1439. mkdir $(distdir)/_inst
  1440. chmod a-w $(distdir)
  1441. test -d $(distdir)/_build || exit 0; \
  1442. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  1443. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  1444. && am__cwd=`pwd` \
  1445. && $(am__cd) $(distdir)/_build \
  1446. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  1447. $(DISTCHECK_CONFIGURE_FLAGS) \
  1448. && $(MAKE) $(AM_MAKEFLAGS) \
  1449. && $(MAKE) $(AM_MAKEFLAGS) dvi \
  1450. && $(MAKE) $(AM_MAKEFLAGS) check \
  1451. && $(MAKE) $(AM_MAKEFLAGS) install \
  1452. && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  1453. && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  1454. && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  1455. distuninstallcheck \
  1456. && chmod -R a-w "$$dc_install_base" \
  1457. && ({ \
  1458. (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  1459. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  1460. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  1461. && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  1462. distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  1463. } || { rm -rf "$$dc_destdir"; exit 1; }) \
  1464. && rm -rf "$$dc_destdir" \
  1465. && $(MAKE) $(AM_MAKEFLAGS) dist \
  1466. && rm -rf $(DIST_ARCHIVES) \
  1467. && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  1468. && cd "$$am__cwd" \
  1469. || exit 1
  1470. $(am__remove_distdir)
  1471. @(echo "$(distdir) archives ready for distribution: "; \
  1472. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  1473. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  1474. distuninstallcheck:
  1475. @$(am__cd) '$(distuninstallcheck_dir)' \
  1476. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  1477. || { echo "ERROR: files left after uninstall:" ; \
  1478. if test -n "$(DESTDIR)"; then \
  1479. echo " (check DESTDIR support)"; \
  1480. fi ; \
  1481. $(distuninstallcheck_listfiles) ; \
  1482. exit 1; } >&2
  1483. distcleancheck: distclean
  1484. @if test '$(srcdir)' = . ; then \
  1485. echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  1486. exit 1 ; \
  1487. fi
  1488. @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  1489. || { echo "ERROR: files left in build directory after distclean:" ; \
  1490. $(distcleancheck_listfiles) ; \
  1491. exit 1; } >&2
  1492. check-am: all-am
  1493. check: check-recursive
  1494. all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
  1495. config.h
  1496. install-binPROGRAMS: install-libLTLIBRARIES
  1497. installdirs: installdirs-recursive
  1498. installdirs-am:
  1499. for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(confexecdir)" "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(pkgconfigdir)"; do \
  1500. test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  1501. done
  1502. install: install-recursive
  1503. install-exec: install-exec-recursive
  1504. install-data: install-data-recursive
  1505. uninstall: uninstall-recursive
  1506. install-am: all-am
  1507. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  1508. installcheck: installcheck-recursive
  1509. install-strip:
  1510. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  1511. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  1512. `test -z '$(STRIP)' || \
  1513. echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  1514. mostlyclean-generic:
  1515. clean-generic:
  1516. -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  1517. distclean-generic:
  1518. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  1519. -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  1520. maintainer-clean-generic:
  1521. @echo "This command is intended for maintainers to use"
  1522. @echo "it deletes files that may require special tools to rebuild."
  1523. clean: clean-recursive
  1524. clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
  1525. clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \
  1526. mostlyclean-am
  1527. distclean: distclean-recursive
  1528. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  1529. -rm -rf ./$(DEPDIR)
  1530. -rm -f Makefile
  1531. distclean-am: clean-am distclean-compile distclean-generic \
  1532. distclean-hdr distclean-libtool distclean-tags
  1533. dvi: dvi-recursive
  1534. dvi-am:
  1535. html: html-recursive
  1536. html-am:
  1537. info: info-recursive
  1538. info-am:
  1539. install-data-am: install-data-local install-m4dataDATA install-man \
  1540. install-pkgconfigDATA
  1541. install-dvi: install-dvi-recursive
  1542. install-dvi-am:
  1543. install-exec-am: install-binPROGRAMS install-binSCRIPTS \
  1544. install-confexecDATA install-libLTLIBRARIES
  1545. install-html: install-html-recursive
  1546. install-html-am:
  1547. install-info: install-info-recursive
  1548. install-info-am:
  1549. install-man: install-man1 install-man3
  1550. install-pdf: install-pdf-recursive
  1551. install-pdf-am:
  1552. install-ps: install-ps-recursive
  1553. install-ps-am:
  1554. installcheck-am:
  1555. maintainer-clean: maintainer-clean-recursive
  1556. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  1557. -rm -rf $(top_srcdir)/autom4te.cache
  1558. -rm -rf ./$(DEPDIR)
  1559. -rm -f Makefile
  1560. maintainer-clean-am: distclean-am maintainer-clean-generic
  1561. mostlyclean: mostlyclean-recursive
  1562. mostlyclean-am: mostlyclean-compile mostlyclean-generic \
  1563. mostlyclean-libtool
  1564. pdf: pdf-recursive
  1565. pdf-am:
  1566. ps: ps-recursive
  1567. ps-am:
  1568. uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
  1569. uninstall-confexecDATA uninstall-libLTLIBRARIES \
  1570. uninstall-local uninstall-m4dataDATA uninstall-man \
  1571. uninstall-pkgconfigDATA
  1572. uninstall-man: uninstall-man1 uninstall-man3
  1573. .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
  1574. ctags-recursive install-am install-strip tags-recursive
  1575. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  1576. all all-am am--refresh check check-am clean clean-binPROGRAMS \
  1577. clean-generic clean-libLTLIBRARIES clean-libtool \
  1578. clean-noinstLTLIBRARIES clean-noinstPROGRAMS ctags \
  1579. ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
  1580. dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
  1581. distclean distclean-compile distclean-generic distclean-hdr \
  1582. distclean-libtool distclean-tags distcleancheck distdir \
  1583. distuninstallcheck dvi dvi-am html html-am info info-am \
  1584. install install-am install-binPROGRAMS install-binSCRIPTS \
  1585. install-confexecDATA install-data install-data-am \
  1586. install-data-local install-dvi install-dvi-am install-exec \
  1587. install-exec-am install-html install-html-am install-info \
  1588. install-info-am install-libLTLIBRARIES install-m4dataDATA \
  1589. install-man install-man1 install-man3 install-pdf \
  1590. install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
  1591. install-strip installcheck installcheck-am installdirs \
  1592. installdirs-am maintainer-clean maintainer-clean-generic \
  1593. mostlyclean mostlyclean-compile mostlyclean-generic \
  1594. mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  1595. uninstall uninstall-am uninstall-binPROGRAMS \
  1596. uninstall-binSCRIPTS uninstall-confexecDATA \
  1597. uninstall-libLTLIBRARIES uninstall-local uninstall-m4dataDATA \
  1598. uninstall-man uninstall-man1 uninstall-man3 \
  1599. uninstall-pkgconfigDATA
  1600. # that one forces the rebuild when "make rebuild" is run on doc/
  1601. rebuild_testapi:
  1602. -@(if [ "$(PYTHON)" != "" ] ; then \
  1603. $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
  1604. # that one is just to make sure it is rebuilt if missing
  1605. # but adding the dependances generate mess
  1606. testapi.c: $(srcdir)/gentest.py
  1607. -@(if [ "$(PYTHON)" != "" ] ; then \
  1608. $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
  1609. #testOOM_SOURCES=testOOM.c testOOMlib.h testOOMlib.c
  1610. #testOOM_LDFLAGS =
  1611. #testOOM_DEPENDENCIES = $(DEPS)
  1612. #testOOM_LDADD= $(LDADDS)
  1613. runtests:
  1614. $(CHECKER) ./runtest$(EXEEXT) && $(CHECKER) ./testrecurse$(EXEEXT) &&$(CHECKER) ./testapi$(EXEEXT) && $(CHECKER) ./testchar$(EXEEXT)&& $(CHECKER) ./testdict$(EXEEXT) && $(CHECKER) ./runxmlconf$(EXEEXT)
  1615. @(if [ "@PYTHON_SUBDIR@" != "" ] ; then cd python ; \
  1616. $(MAKE) MAKEFLAGS+=--silent tests ; fi)
  1617. check: all runtests
  1618. check-valgrind: all
  1619. @echo '## Running the regression tests under Valgrind'
  1620. @echo '## Go get a cup of coffee it is gonna take a while ...'
  1621. $(MAKE) CHECKER='valgrind -q' check
  1622. testall : tests SVGtests SAXtests
  1623. tests: XMLtests XMLenttests NStests IDtests Errtests APItests @READER_TEST@ @TEST_SAX@ @TEST_PUSH@ @TEST_HTML@ @TEST_PHTML@ @TEST_VALID@ URItests @TEST_PATTERN@ @TEST_XPATH@ @TEST_XPTR@ @TEST_XINCLUDE@ @TEST_C14N@ @TEST_DEBUG@ @TEST_CATALOG@ @TEST_REGEXPS@ @TEST_SCHEMAS@ @TEST_SCHEMATRON@ @TEST_THREADS@ Timingtests @TEST_VTIME@ @PYTHON_TESTS@ @TEST_MODULES@
  1624. @(if [ "@PYTHON_SUBDIR@" != "" ] ; then cd python ; \
  1625. $(MAKE) MAKEFLAGS+=--silent tests ; fi)
  1626. @(cd doc/examples ; $(MAKE) MAKEFLAGS+=--silent tests)
  1627. valgrind:
  1628. @echo '## Running the regression tests under Valgrind'
  1629. @echo '## Go get a cup of coffee it is gonna take a while ...'
  1630. $(MAKE) CHECKER='valgrind -q' tests
  1631. APItests: testapi$(EXEEXT)
  1632. @echo "## Running the API regression tests this may take a little while"
  1633. -@($(CHECKER) $(top_builddir)/testapi -q)
  1634. HTMLtests : testHTML$(EXEEXT)
  1635. @(echo > .memdump)
  1636. @echo "## HTML regression tests"
  1637. -@(for i in $(srcdir)/test/HTML/* ; do \
  1638. name=`basename $$i`; \
  1639. if [ ! -d $$i ] ; then \
  1640. if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
  1641. echo New test file $$name ; \
  1642. $(CHECKER) $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
  1643. else \
  1644. log=`$(CHECKER) $(top_builddir)/testHTML $$i > result.$$name 2> error.$$name ; \
  1645. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1646. diff $(srcdir)/result/HTML/$$name result.$$name ; \
  1647. diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \
  1648. $(CHECKER) $(top_builddir)/testHTML result.$$name > result2.$$name 2>error.$$name ; \
  1649. diff result.$$name result2.$$name` ; \
  1650. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1651. rm result.$$name result2.$$name error.$$name ; \
  1652. fi ; fi ; done)
  1653. HTMLPushtests : testHTML$(EXEEXT)
  1654. @echo "## Push HTML regression tests"
  1655. -@(for i in $(srcdir)/test/HTML/* ; do \
  1656. name=`basename $$i`; \
  1657. if [ ! -d $$i ] ; then \
  1658. if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
  1659. echo New test file $$name ; \
  1660. $(CHECKER) $(top_builddir)/testHTML --push $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
  1661. else \
  1662. log=`$(CHECKER) $(top_builddir)/testHTML --push $$i > result.$$name 2> error.$$name ; \
  1663. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1664. diff $(srcdir)/result/HTML/$$name result.$$name ; \
  1665. cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \
  1666. cut -b 1-15 error.$$name > errorcut2.$$name; \
  1667. diff -b errorcut.$$name errorcut2.$$name ; \
  1668. $(CHECKER) $(top_builddir)/testHTML --push result.$$name > result2.$$name 2>error.$$name ; \
  1669. diff result.$$name result2.$$name` ; \
  1670. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1671. rm result.$$name result2.$$name error.$$name errorcut.$$name errorcut2.$$name ; \
  1672. fi ; fi ; done)
  1673. @echo "## HTML SAX regression tests"
  1674. -@(for i in $(srcdir)/test/HTML/* ; do \
  1675. name=`basename $$i`; \
  1676. if [ ! -d $$i ] ; then \
  1677. if [ ! -f $(srcdir)/result/HTML/$$name.sax ] ; then \
  1678. echo New test file $$name ; \
  1679. $(CHECKER) $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
  1680. else \
  1681. log=`$(CHECKER) $(top_builddir)/testHTML --sax $$i > result.$$name.sax ; \
  1682. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1683. diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
  1684. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1685. rm result.$$name.sax ; \
  1686. fi ; fi ; done)
  1687. @echo "## Push HTML SAX regression tests"
  1688. -@(for i in $(srcdir)/test/HTML/* ; do \
  1689. name=`basename $$i`; \
  1690. if [ ! -d $$i ] ; then \
  1691. if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
  1692. echo New test file $$name ; \
  1693. $(CHECKER) $(top_builddir)/testHTML --push --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
  1694. else \
  1695. log=`$(CHECKER) $(top_builddir)/testHTML --push --sax $$i 2>&1 > result.$$name.sax ; \
  1696. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1697. diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
  1698. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1699. rm result.$$name.sax ; \
  1700. fi ; fi ; done)
  1701. XMLtests : xmllint$(EXEEXT)
  1702. @(echo > .memdump)
  1703. @echo "## XML regression tests"
  1704. -@(for i in $(srcdir)/test/* ; do \
  1705. name=`basename $$i`; \
  1706. if [ ! -d $$i ] ; then \
  1707. if [ ! -f $(srcdir)/result/$$name ] ; then \
  1708. echo New test file $$name ; \
  1709. $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/$$name ; \
  1710. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1711. else \
  1712. log=`$(CHECKER) $(top_builddir)/xmllint $$i 2>&1 > result.$$name ; \
  1713. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1714. diff $(srcdir)/result/$$name result.$$name ; \
  1715. $(CHECKER) $(top_builddir)/xmllint result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
  1716. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1717. diff result.$$name result2.$$name` ;\
  1718. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1719. rm result.$$name result2.$$name ; \
  1720. fi ; fi ; done)
  1721. @echo "## XML regression tests on memory"
  1722. -@(for i in $(srcdir)/test/* ; do \
  1723. name=`basename $$i`; \
  1724. if [ ! -d $$i ] ; then \
  1725. if [ ! -f $(srcdir)/result/$$name ] ; then \
  1726. echo New test file $$name ; \
  1727. $(CHECKER) $(top_builddir)/xmllint --memory $$i > $(srcdir)/result/$$name ; \
  1728. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1729. else \
  1730. log=`$(CHECKER) $(top_builddir)/xmllint --memory $$i 2>&1 > result.$$name ; \
  1731. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1732. diff $(srcdir)/result/$$name result.$$name ; \
  1733. $(CHECKER) $(top_builddir)/xmllint --memory result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
  1734. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`; \
  1735. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1736. diff result.$$name result2.$$name ; \
  1737. rm result.$$name result2.$$name ; \
  1738. fi ; fi ; done)
  1739. XMLPushtests: xmllint$(EXEEXT)
  1740. @(echo > .memdump)
  1741. @echo "## XML push regression tests"
  1742. -@(for i in $(srcdir)/test/* ; do \
  1743. name=`basename $$i`; \
  1744. if [ ! -d $$i ] ; then \
  1745. if [ ! -f $(srcdir)/result/$$name ] ; then \
  1746. echo New test file $$name ; \
  1747. $(CHECKER) $(top_builddir)/xmllint --push $$i > $(srcdir)/result/$$name ; \
  1748. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1749. else \
  1750. log=`$(CHECKER) $(top_builddir)/xmllint --push $$i 2>&1 > result.$$name ; \
  1751. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1752. diff $(srcdir)/result/$$name result.$$name ; \
  1753. $(CHECKER) $(top_builddir)/xmllint --push result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
  1754. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1755. diff result.$$name result2.$$name` ; \
  1756. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1757. rm result.$$name result2.$$name ; \
  1758. fi ; fi ; done)
  1759. NStests : xmllint$(EXEEXT)
  1760. @(echo > .memdump)
  1761. @echo "## XML Namespaces regression tests"
  1762. -@(for i in $(srcdir)/test/namespaces/* ; do \
  1763. name=`basename $$i`; \
  1764. if [ ! -d $$i ] ; then \
  1765. if [ ! -f $(srcdir)/result/namespaces/$$name ] ; then \
  1766. echo New test file $$name ; \
  1767. $(CHECKER) $(top_builddir)/xmllint $$i \
  1768. 2> $(srcdir)/result/namespaces/$$name.err \
  1769. > $(srcdir)/result/namespaces/$$name ; \
  1770. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1771. else \
  1772. log=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
  1773. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1774. diff $(srcdir)/result/namespaces/$$name result.$$name ; \
  1775. diff $(srcdir)/result/namespaces/$$name.err error.$$name`; \
  1776. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1777. rm result.$$name error.$$name ; \
  1778. fi ; fi ; done)
  1779. IDtests : xmllint$(EXEEXT) testXPath$(EXEEXT)
  1780. @(echo > .memdump)
  1781. @echo "## xml:id regression tests"
  1782. -@(for i in $(srcdir)/test/xmlid/id_*.xml ; do \
  1783. name=`basename $$i`; \
  1784. if [ ! -d $$i ] ; then \
  1785. if [ ! -f $(srcdir)/result/xmlid/$$name ] ; then \
  1786. echo New test file $$name ; \
  1787. $(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" \
  1788. 2> $(srcdir)/result/xmlid/$$name.err \
  1789. > $(srcdir)/result/xmlid/$$name ; \
  1790. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1791. else \
  1792. log=`$(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" 2> error.$$name > result.$$name ; \
  1793. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1794. diff $(srcdir)/result/xmlid/$$name result.$$name ; \
  1795. diff $(srcdir)/result/xmlid/$$name.err error.$$name` ; \
  1796. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1797. rm result.$$name error.$$name ; \
  1798. fi ; fi ; done)
  1799. Errtests : xmllint$(EXEEXT)
  1800. @(echo > .memdump)
  1801. @echo "## Error cases regression tests"
  1802. -@(for i in $(srcdir)/test/errors/*.xml ; do \
  1803. name=`basename $$i`; \
  1804. if [ ! -d $$i ] ; then \
  1805. if [ ! -f $(srcdir)/result/errors/$$name ] ; then \
  1806. echo New test file $$name ; \
  1807. $(CHECKER) $(top_builddir)/xmllint $$i \
  1808. 2> $(srcdir)/result/errors/$$name.err \
  1809. > $(srcdir)/result/errors/$$name ; \
  1810. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1811. else \
  1812. log=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
  1813. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1814. diff $(srcdir)/result/errors/$$name result.$$name ; \
  1815. diff $(srcdir)/result/errors/$$name.err error.$$name` ; \
  1816. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1817. rm result.$$name error.$$name ; \
  1818. fi ; fi ; done)
  1819. @echo "## Error cases stream regression tests"
  1820. -@(for i in $(srcdir)/test/errors/*.xml ; do \
  1821. name=`basename $$i`; \
  1822. if [ ! -d $$i ] ; then \
  1823. if [ ! -f $(srcdir)/result/errors/$$name.str ] ; then \
  1824. echo New test file $$name ; \
  1825. $(CHECKER) $(top_builddir)/xmllint --stream $$i \
  1826. 2> $(srcdir)/result/errors/$$name.str \
  1827. > /dev/null ; \
  1828. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1829. else \
  1830. log=`$(CHECKER) $(top_builddir)/xmllint --stream $$i 2> error.$$name > /dev/null ; \
  1831. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1832. diff $(srcdir)/result/errors/$$name.str error.$$name` ; \
  1833. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1834. rm error.$$name ; \
  1835. fi ; fi ; done)
  1836. Docbtests : xmllint$(EXEEXT)
  1837. XMLenttests : xmllint$(EXEEXT)
  1838. @(echo > .memdump)
  1839. @echo "## XML entity subst regression tests"
  1840. -@(for i in $(srcdir)/test/* ; do \
  1841. name=`basename $$i`; \
  1842. if [ ! -d $$i ] ; then \
  1843. if [ ! -f $(srcdir)/result/noent/$$name ] ; then \
  1844. echo New test file $$name ; \
  1845. $(CHECKER) $(top_builddir)/xmllint --noent $$i > $(srcdir)/result/noent/$$name ; \
  1846. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1847. else \
  1848. log=`$(CHECKER) $(top_builddir)/xmllint --noent $$i 2>&1 > result.$$name ; \
  1849. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1850. diff $(srcdir)/result/noent/$$name result.$$name ; \
  1851. $(CHECKER) $(top_builddir)/xmllint --noent result.$$name 2>&1 > result2.$$name ; \
  1852. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1853. diff result.$$name result2.$$name` ; \
  1854. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1855. rm result.$$name result2.$$name ; \
  1856. fi ; fi ; done)
  1857. URItests : testURI$(EXEEXT)
  1858. @(echo > .memdump)
  1859. @echo "## URI module regression tests"
  1860. -@(for i in $(srcdir)/test/URI/*.data ; do \
  1861. name=`basename $$i`; \
  1862. if [ ! -d $$i ] ; then \
  1863. if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
  1864. echo New test file $$name ; \
  1865. $(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > $(srcdir)/result/URI/$$name ; \
  1866. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1867. else \
  1868. log=`$(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i 2>&1 > result.$$name ; \
  1869. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1870. diff $(srcdir)/result/URI/$$name result.$$name` ; \
  1871. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1872. rm result.$$name ; \
  1873. fi ; fi ; done)
  1874. -@(for i in $(srcdir)/test/URI/*.uri ; do \
  1875. name=`basename $$i`; \
  1876. if [ ! -d $$i ] ; then \
  1877. if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
  1878. echo New test file $$name ; \
  1879. $(CHECKER) $(top_builddir)/testURI < $$i > $(srcdir)/result/URI/$$name ; \
  1880. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1881. else \
  1882. log=`$(CHECKER) $(top_builddir)/testURI < $$i 2>&1 > result.$$name ; \
  1883. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1884. diff $(srcdir)/result/URI/$$name result.$$name` ; \
  1885. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1886. rm result.$$name ; \
  1887. fi ; fi ; done)
  1888. XPathtests : testXPath$(EXEEXT)
  1889. @(echo > .memdump)
  1890. @echo "## XPath regression tests"
  1891. -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
  1892. then echo Skipping debug not compiled in ; exit 0 ; fi ; \
  1893. for i in $(srcdir)/test/XPath/expr/* ; do \
  1894. name=`basename $$i`; \
  1895. if [ ! -d $$i ] ; then \
  1896. if [ ! -f $(srcdir)/result/XPath/expr/$$name ] ; then \
  1897. echo New test file $$name ; \
  1898. $(CHECKER) $(top_builddir)/testXPath -f --expr $$i > $(srcdir)/result/XPath/expr/$$name ; \
  1899. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1900. else \
  1901. log=`$(CHECKER) $(top_builddir)/testXPath -f --expr $$i 2>&1 > result.$$name ; \
  1902. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1903. diff $(srcdir)/result/XPath/expr/$$name result.$$name` ; \
  1904. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1905. rm result.$$name ; \
  1906. fi ; fi ; done ; \
  1907. for i in $(srcdir)/test/XPath/docs/* ; do \
  1908. if [ ! -d $$i ] ; then \
  1909. doc=`basename $$i`; \
  1910. for j in $(srcdir)/test/XPath/tests/$$doc* ; do \
  1911. if [ ! -f $$j ] ; then continue ; fi ; \
  1912. name=`basename $$j`; \
  1913. if [ ! -d $$j ] ; then \
  1914. if [ ! -f $(srcdir)/result/XPath/tests/$$name ] ; then \
  1915. echo New test file $$name ; \
  1916. $(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j > $(srcdir)/result/XPath/tests/$$name ; \
  1917. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1918. else \
  1919. log=`$(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j 2>&1 > result.$$name ; \
  1920. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1921. diff $(srcdir)/result/XPath/tests/$$name result.$$name` ; \
  1922. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1923. rm result.$$name ; \
  1924. fi ; fi ; done ; fi ; done)
  1925. XPtrtests : testXPath$(EXEEXT)
  1926. @(echo > .memdump)
  1927. @echo "## XPointer regression tests"
  1928. -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
  1929. then echo Skipping debug not compiled in ; exit 0 ; fi ; \
  1930. for i in $(srcdir)/test/XPath/docs/* ; do \
  1931. if [ ! -d $$i ] ; then \
  1932. doc=`basename $$i`; \
  1933. for j in $(srcdir)/test/XPath/xptr/$$doc* ; do \
  1934. if [ ! -f $$j ] ; then continue ; fi ; \
  1935. name=`basename $$j`; \
  1936. if [ ! -d $$j ] ; then \
  1937. if [ ! -f $(srcdir)/result/XPath/xptr/$$name ] ; then \
  1938. echo New test file $$name ; \
  1939. $(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j > $(srcdir)/result/XPath/xptr/$$name ; \
  1940. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  1941. else \
  1942. log=`$(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j 2>&1 > result.$$name ; \
  1943. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1944. diff $(srcdir)/result/XPath/xptr/$$name result.$$name` ; \
  1945. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1946. rm result.$$name ; \
  1947. fi ; fi ; done ; fi ; done)
  1948. XIncludetests : xmllint$(EXEEXT)
  1949. @(echo > .memdump)
  1950. @echo "## XInclude regression tests"
  1951. -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
  1952. name=`basename $$i`; \
  1953. if [ ! -d $$i ] ; then \
  1954. if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
  1955. echo New test file $$name ; \
  1956. $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > $(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
  1957. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1958. else \
  1959. log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > result.$$name 2>error.$$name ; \
  1960. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1961. diff $(srcdir)/result/XInclude/$$name result.$$name ; \
  1962. diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
  1963. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1964. rm result.$$name error.$$name ; \
  1965. fi ; fi ; done)
  1966. -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
  1967. name=`basename $$i`; \
  1968. if [ ! -d $$i ] ; then \
  1969. if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
  1970. echo New test file $$name ; \
  1971. $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > $(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
  1972. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1973. else \
  1974. log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > result.$$name 2>error.$$name ; \
  1975. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1976. diff $(srcdir)/result/XInclude/$$name result.$$name ; \
  1977. diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
  1978. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1979. rm result.$$name error.$$name ; \
  1980. fi ; fi ; done)
  1981. @(echo > .memdump)
  1982. @echo "## XInclude xmlReader regression tests"
  1983. -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
  1984. name=`basename $$i`; \
  1985. if [ ! -d $$i ] ; then \
  1986. if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
  1987. echo New test file $$name ; \
  1988. $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > $(srcdir)/result/XInclude/$$name.rdr ; \
  1989. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1990. else \
  1991. log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > result.$$name 2>error.$$name ; \
  1992. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  1993. diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
  1994. diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
  1995. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  1996. rm result.$$name error.$$name ; \
  1997. fi ; fi ; done)
  1998. -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
  1999. name=`basename $$i`; \
  2000. if [ ! -d $$i ] ; then \
  2001. if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
  2002. echo New test file $$name ; \
  2003. $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode --stream --debug $$i > $(srcdir)/result/XInclude/$$name.rdr ; \
  2004. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2005. else \
  2006. log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > result.$$name 2>error.$$name ; \
  2007. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2008. diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
  2009. diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
  2010. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2011. rm result.$$name error.$$name ; \
  2012. fi ; fi ; done)
  2013. Scripttests : xmllint$(EXEEXT)
  2014. @(echo > .memdump)
  2015. @echo "## Scripts regression tests"
  2016. @echo "## Some of the base computations may be different if srcdir != ."
  2017. -@(for i in $(srcdir)/test/scripts/*.script ; do \
  2018. name=`basename $$i .script`; \
  2019. xml=$(srcdir)/test/scripts/`basename $$i .script`.xml; \
  2020. if [ -f $$xml ] ; then \
  2021. if [ ! -f $(srcdir)/result/scripts/$$name ] ; then \
  2022. echo New test file $$name ; \
  2023. $(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > $(srcdir)/result/scripts/$$name 2> $(srcdir)/result/scripts/$$name.err ; \
  2024. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2025. else \
  2026. log=`$(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > result.$$name 2> result.$$name.err ; \
  2027. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2028. diff $(srcdir)/result/scripts/$$name result.$$name ; \
  2029. diff $(srcdir)/result/scripts/$$name.err result.$$name.err` ; \
  2030. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2031. rm result.$$name result.$$name.err ; \
  2032. fi ; fi ; done)
  2033. Catatests : xmlcatalog$(EXEEXT)
  2034. @(echo > .memdump)
  2035. @echo "## Catalog regression tests"
  2036. -@(for i in $(srcdir)/test/catalogs/*.script ; do \
  2037. name=`basename $$i .script`; \
  2038. xml=$(srcdir)/test/catalogs/`basename $$i .script`.xml; \
  2039. if [ -f $$xml ] ; then \
  2040. if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
  2041. echo New test file $$name ; \
  2042. $(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i 2>&1 > $(srcdir)/result/catalogs/$$name ; \
  2043. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2044. else \
  2045. log=`$(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i 2>&1 > result.$$name ; \
  2046. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2047. diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
  2048. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2049. rm result.$$name ; \
  2050. fi ; fi ; done)
  2051. -@(for i in $(srcdir)/test/catalogs/*.script ; do \
  2052. name=`basename $$i .script`; \
  2053. sgml=$(srcdir)/test/catalogs/`basename $$i .script`.sgml; \
  2054. if [ -f $$sgml ] ; then \
  2055. if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
  2056. echo New test file $$name ; \
  2057. $(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > $(srcdir)/result/catalogs/$$name ; \
  2058. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2059. else \
  2060. log=`$(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > result.$$name ; \
  2061. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2062. diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
  2063. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2064. rm result.$$name ; \
  2065. fi ; fi ; done)
  2066. @echo "## Add and del operations on XML Catalogs"
  2067. -@($(CHECKER) $(top_builddir)/xmlcatalog --create --noout $(srcdir)/result/catalogs/mycatalog; \
  2068. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  2069. $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid sysid $(srcdir)/result/catalogs/mycatalog; \
  2070. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  2071. $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid2 sysid2 $(srcdir)/result/catalogs/mycatalog; \
  2072. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  2073. $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid3 sysid3 $(srcdir)/result/catalogs/mycatalog; \
  2074. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  2075. diff result/catalogs/mycatalog.full $(srcdir)/result/catalogs/mycatalog; \
  2076. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  2077. $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid $(srcdir)/result/catalogs/mycatalog; \
  2078. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  2079. $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid3 $(srcdir)/result/catalogs/mycatalog; \
  2080. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  2081. $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid2 $(srcdir)/result/catalogs/mycatalog; \
  2082. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  2083. diff result/catalogs/mycatalog.empty $(srcdir)/result/catalogs/mycatalog; \
  2084. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  2085. rm -f $(srcdir)/result/catalogs/mycatalog)
  2086. SVGtests : xmllint$(EXEEXT)
  2087. @echo "## SVG parsing regression tests"
  2088. -@(for i in $(srcdir)/test/SVG/* ; do \
  2089. name=`basename $$i`; \
  2090. if [ ! -d $$i ] ; then \
  2091. if [ ! -f $(srcdir)/result/SVG/$$name ] ; then \
  2092. echo New test file $$name ; \
  2093. $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/SVG/$$name ; \
  2094. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2095. else \
  2096. echo Testing $$name ; \
  2097. $(CHECKER) $(top_builddir)/xmllint $$i > result.$$name ; \
  2098. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2099. diff $(srcdir)/result/SVG/$$name result.$$name ; \
  2100. $(CHECKER) $(top_builddir)/xmllint result.$$name > result2.$$name ; \
  2101. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2102. diff result.$$name result2.$$name ; \
  2103. rm result.$$name result2.$$name ; \
  2104. fi ; fi ; done)
  2105. Threadtests : testThreads$(EXEEXT)
  2106. @echo "## Threaded regression tests"
  2107. -@($(CHECKER) $(top_builddir)/testThreads ; \
  2108. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
  2109. exit 0)
  2110. Readertests : xmllint$(EXEEXT)
  2111. @(echo > .memdump)
  2112. @echo "## Reader regression tests"
  2113. -@(for i in $(srcdir)/test/* ; do \
  2114. name=`basename $$i`; \
  2115. if [ ! -d $$i ] ; then \
  2116. if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
  2117. echo New test file $$name ; \
  2118. $(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
  2119. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2120. else \
  2121. log=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
  2122. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2123. diff $(srcdir)/result/$$name.rdr result.$$name` ; \
  2124. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2125. rm result.$$name ; \
  2126. fi ; fi ; done)
  2127. @echo "## Reader on memory regression tests"
  2128. -@(for i in $(srcdir)/test/* ; do \
  2129. name=`basename $$i`; \
  2130. if [ ! -d $$i ] ; then \
  2131. if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
  2132. echo New test file $$name ; \
  2133. $(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
  2134. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2135. else \
  2136. log=`$(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
  2137. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2138. diff $(srcdir)/result/$$name.rdr result.$$name` ; \
  2139. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2140. rm result.$$name ; \
  2141. fi ; fi ; done)
  2142. @(echo > .memdump)
  2143. @echo "## Walker regression tests"
  2144. -@(for i in $(srcdir)/test/* ; do \
  2145. name=`basename $$i`; \
  2146. if [ ! -d $$i ] ; then \
  2147. if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
  2148. echo New test file $$name ; \
  2149. $(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
  2150. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2151. else \
  2152. log=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > result.$$name 2>/dev/null ; \
  2153. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2154. diff $(srcdir)/result/$$name.rdr result.$$name` ; \
  2155. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2156. rm result.$$name ; \
  2157. fi ; fi ; done)
  2158. @echo "## Reader entities substitution regression tests"
  2159. -@(for i in $(srcdir)/test/* ; do \
  2160. name=`basename $$i`; \
  2161. if [ ! -d $$i ] ; then \
  2162. if [ ! -f $(srcdir)/result/$$name.rde ] ; then \
  2163. echo New test file $$name ; \
  2164. $(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > $(srcdir)/result/$$name.rde 2>/dev/null ; \
  2165. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2166. else \
  2167. log=`$(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
  2168. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2169. diff $(srcdir)/result/$$name.rde result.$$name` ; \
  2170. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2171. rm result.$$name ; \
  2172. fi ; fi ; done)
  2173. SAXtests : testSAX$(EXEEXT)
  2174. @(echo > .memdump)
  2175. @echo "## SAX1 callbacks regression tests"
  2176. -@(for i in $(srcdir)/test/* ; do \
  2177. name=`basename $$i`; \
  2178. if [ ! -d $$i ] ; then \
  2179. if [ ! -f $(srcdir)/result/$$name.sax ] ; then \
  2180. echo New test file $$name ; \
  2181. $(CHECKER) $(top_builddir)/testSAX $$i > $(srcdir)/result/$$name.sax 2> /dev/null ; \
  2182. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2183. else \
  2184. log=`$(CHECKER) $(top_builddir)/testSAX $$i > result.$$name 2> /dev/null ; \
  2185. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2186. diff $(srcdir)/result/$$name.sax result.$$name` ; \
  2187. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2188. rm result.$$name ; \
  2189. fi ; fi ; done)
  2190. @echo "## SAX2 callbacks regression tests"
  2191. -@(for i in $(srcdir)/test/* ; do \
  2192. name=`basename $$i`; \
  2193. if [ ! -d $$i ] ; then \
  2194. if [ ! -f $(srcdir)/result/$$name.sax2 ] ; then \
  2195. echo New test file $$name ; \
  2196. $(CHECKER) $(top_builddir)/testSAX --sax2 $$i > $(srcdir)/result/$$name.sax2 2> /dev/null ; \
  2197. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2198. else \
  2199. log=`$(CHECKER) $(top_builddir)/testSAX --sax2 $$i > result.$$name 2> /dev/null ; \
  2200. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2201. diff $(srcdir)/result/$$name.sax2 result.$$name` ; \
  2202. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2203. rm result.$$name ; \
  2204. fi ; fi ; done)
  2205. Validtests : xmllint$(EXEEXT)
  2206. @(echo > .memdump)
  2207. @echo "## Valid documents regression tests"
  2208. -@(for i in $(srcdir)/test/VCM/* ; do \
  2209. name=`basename $$i`; \
  2210. if [ ! -d $$i ] ; then \
  2211. log=`$(CHECKER) $(top_builddir)/xmllint --valid --noout --nowarning $$i ; \
  2212. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`;\
  2213. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2214. fi ; done ; exit 0)
  2215. @echo "## Validity checking regression tests"
  2216. -@(for i in $(srcdir)/test/VC/* ; do \
  2217. name=`basename $$i`; \
  2218. if [ ! -d $$i ] ; then \
  2219. if [ ! -f $(srcdir)/result/VC/$$name ] ; then \
  2220. echo New test file $$name ; \
  2221. $(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> $(srcdir)/result/VC/$$name ; \
  2222. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2223. else \
  2224. log=`$(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> result.$$name ; \
  2225. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2226. diff $(srcdir)/result/VC/$$name result.$$name` ; \
  2227. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2228. rm result.$$name ; \
  2229. fi ; fi ; done)
  2230. @echo "## General documents valid regression tests"
  2231. -@(for i in $(srcdir)/test/valid/* ; do \
  2232. name=`basename $$i`; \
  2233. if [ ! -d $$i ] ; then \
  2234. if [ ! -f $(srcdir)/result/valid/$$name ] ; then \
  2235. echo New test file $$name ; \
  2236. $(CHECKER) $(top_builddir)/xmllint --valid $$i > $(srcdir)/result/valid/$$name 2>$(srcdir)/result/valid/$$name.err ; \
  2237. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2238. else \
  2239. log=`$(CHECKER) $(top_builddir)/xmllint --valid $$i > result.$$name 2>error.$$name ; \
  2240. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2241. diff $(srcdir)/result/valid/$$name result.$$name ; \
  2242. diff $(srcdir)/result/valid/$$name.err error.$$name` ; \
  2243. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2244. rm result.$$name error.$$name ; \
  2245. fi ; fi ; done)
  2246. Regexptests: testRegexp$(EXEEXT)
  2247. @(echo > .memdump)
  2248. @echo "## Regexp regression tests"
  2249. -@(for i in $(srcdir)/test/regexp/* ; do \
  2250. name=`basename $$i`; \
  2251. if [ ! -d $$i ] ; then \
  2252. if [ ! -f $(srcdir)/result/regexp/$$name ] ; then \
  2253. echo New test file $$name ; \
  2254. $(CHECKER) $(top_builddir)/testRegexp -i $$i > $(srcdir)/result/regexp/$$name; \
  2255. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2256. else \
  2257. log=`$(CHECKER) $(top_builddir)/testRegexp -i $$i 2>&1 > result.$$name ; \
  2258. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2259. diff $(srcdir)/result/regexp/$$name result.$$name` ; \
  2260. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2261. rm result.$$name ; \
  2262. fi ; fi ; done)
  2263. @echo "## Formal expresssions regression tests"
  2264. -@(for i in $(srcdir)/test/expr/* ; do \
  2265. name=`basename $$i`; \
  2266. if [ ! -d $$i ] ; then \
  2267. if [ ! -f $(srcdir)/result/expr/$$name ] ; then \
  2268. echo New test file $$name ; \
  2269. $(CHECKER) $(top_builddir)/testRegexp --expr -i $$i > $(srcdir)/result/expr/$$name; \
  2270. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2271. else \
  2272. log=`$(CHECKER) $(top_builddir)/testRegexp --expr -i $$i 2>&1 > result.$$name ; \
  2273. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2274. diff $(srcdir)/result/expr/$$name result.$$name` ; \
  2275. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2276. rm result.$$name ; \
  2277. fi ; fi ; done)
  2278. Automatatests: testAutomata$(EXEEXT)
  2279. @(echo > .memdump)
  2280. @echo "## Automata regression tests"
  2281. -@(for i in $(srcdir)/test/automata/* ; do \
  2282. name=`basename $$i`; \
  2283. if [ ! -d $$i ] ; then \
  2284. if [ ! -f $(srcdir)/result/automata/$$name ] ; then \
  2285. echo New test file $$name ; \
  2286. $(CHECKER) $(top_builddir)/testAutomata $$i > $(srcdir)/result/automata/$$name; \
  2287. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2288. else \
  2289. log=`$(CHECKER) $(top_builddir)/testAutomata $$i 2>&1 > result.$$name ; \
  2290. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2291. diff $(srcdir)/result/automata/$$name result.$$name` ; \
  2292. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2293. rm result.$$name ; \
  2294. fi ; fi ; done)
  2295. dba100000.xml: dbgenattr.pl
  2296. @echo "## generating dba100000.xml"
  2297. @($(PERL) $(top_srcdir)/dbgenattr.pl 100000 > dba100000.xml)
  2298. Timingtests: xmllint$(EXEEXT) dba100000.xml
  2299. @echo "## Timing tests to try to detect performance"
  2300. @echo "## as well a memory usage breakage when streaming"
  2301. @echo "## 1/ using the file interface"
  2302. @echo "## 2/ using the memory interface"
  2303. @echo "## 3/ repeated DOM parsing"
  2304. @echo "## 4/ repeated DOM validation"
  2305. -@($(top_builddir)/xmllint --stream --timing dba100000.xml; \
  2306. MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
  2307. if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
  2308. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2309. exit 0)
  2310. -@($(top_builddir)/xmllint --stream --timing --memory dba100000.xml; \
  2311. MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
  2312. if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
  2313. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2314. exit 0)
  2315. -@($(top_builddir)/xmllint --noout --timing --repeat $(srcdir)/test/valid/REC-xml-19980210.xml; \
  2316. MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
  2317. if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
  2318. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2319. exit 0)
  2320. VTimingtests: xmllint$(EXEEXT)
  2321. -@($(top_builddir)/xmllint --noout --timing --valid --repeat $(srcdir)/test/valid/REC-xml-19980210.xml; \
  2322. MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
  2323. if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
  2324. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2325. exit 0)
  2326. C14Ntests : testC14N$(EXEEXT)
  2327. @echo "## C14N and XPath regression tests"
  2328. -@(for m in with-comments without-comments 1-1-without-comments exc-without-comments ; do \
  2329. for i in $(srcdir)/test/c14n/$$m/*.xml ; do \
  2330. if [ ! -d $$i ] ; then \
  2331. name=`basename $$i .xml`; \
  2332. cmdline="$(CHECKER) $(top_builddir)/testC14N --$$m $$i"; \
  2333. if [ -f $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
  2334. cmdline="$$cmdline $(srcdir)/test/c14n/$$m/$$name.xpath"; \
  2335. if [ -f $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
  2336. cmdline="$$cmdline '`cat $(srcdir)/test/c14n/$$m/$$name.ns`'"; \
  2337. fi; \
  2338. fi; \
  2339. $$cmdline > $(srcdir)/test/c14n/test.tmp; \
  2340. if [ $$? -eq 0 ]; then \
  2341. diff $(srcdir)/result/c14n/$$m/$$name $(srcdir)/test/c14n/test.tmp; \
  2342. if [ $$? -ne 0 ]; then \
  2343. echo "Test $$m/$$name failed"; \
  2344. cat $(srcdir)/test/c14n/test.tmp; \
  2345. fi; \
  2346. else \
  2347. echo "C14N failed"; \
  2348. fi; \
  2349. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2350. fi; \
  2351. rm -f $(srcdir)/test/c14n/test.tmp; \
  2352. done; \
  2353. done)
  2354. Schemastests: testSchemas$(EXEEXT)
  2355. @(echo > .memdump)
  2356. @echo "## Schemas regression tests"
  2357. -@(for i in $(srcdir)/test/schemas/*_*.xsd ; do \
  2358. name=`basename $$i | sed 's+_.*++'`; \
  2359. sno=`basename $$i | sed 's+.*_\(.*\).xsd+\1+'`; \
  2360. for j in $(srcdir)/test/schemas/"$$name"_*.xml ; do \
  2361. if [ -f $$j ] ; then \
  2362. xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
  2363. if [ ! -f $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" ]; \
  2364. then \
  2365. echo New test file "$$name"_"$$sno"_"$$xno" ; \
  2366. $(CHECKER) $(top_builddir)/testSchemas $$i $$j \
  2367. > $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
  2368. 2> $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err; \
  2369. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2370. else \
  2371. log=`$(CHECKER) $(top_builddir)/testSchemas $$i $$j \
  2372. > res.$$name 2> err.$$name;\
  2373. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2374. diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
  2375. res.$$name;\
  2376. diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err \
  2377. err.$$name;\
  2378. grep Unimplemented err.$$name`; \
  2379. if [ -n "$$log" ] ; then echo "$$name"_"$$sno"_"$$xno" result ; echo $$log ; fi ; \
  2380. rm res.$$name err.$$name ; \
  2381. fi ; fi ;\
  2382. done; done)
  2383. Relaxtests: xmllint$(EXEEXT)
  2384. @(echo > .memdump)
  2385. @echo "## Relax-NG regression tests"
  2386. -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
  2387. name=`basename $$i | sed 's+\.rng++'`; \
  2388. if [ ! -f $(srcdir)/result/relaxng/"$$name"_valid ] ; then \
  2389. echo New schemas $$name ; \
  2390. $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
  2391. > $(srcdir)/result/relaxng/"$$name"_valid \
  2392. 2> $(srcdir)/result/relaxng/"$$name"_err; \
  2393. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2394. else \
  2395. log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
  2396. > res.$$name 2> err.$$name;\
  2397. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2398. diff $(srcdir)/result/relaxng/"$$name"_valid \
  2399. res.$$name;\
  2400. diff $(srcdir)/result/relaxng/"$$name"_err \
  2401. err.$$name | grep -v "error detected at";\
  2402. grep Unimplemented err.$$name`; \
  2403. if [ -n "$$log" ] ; then echo schemas $$name result ; echo $$log ; fi ; \
  2404. rm res.$$name err.$$name ; \
  2405. fi; \
  2406. for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
  2407. if [ -f $$j ] ; then \
  2408. xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
  2409. if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
  2410. then \
  2411. echo New test file "$$name"_"$$xno" ; \
  2412. $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
  2413. > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
  2414. 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
  2415. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2416. else \
  2417. log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
  2418. > res.$$name 2> err.$$name;\
  2419. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2420. diff $(srcdir)/result/relaxng/"$$name"_"$$xno" \
  2421. res.$$name;\
  2422. diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
  2423. err.$$name | grep -v "error detected at";\
  2424. grep Unimplemented err.$$name`; \
  2425. if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo $$log ; fi ; \
  2426. rm res.$$name err.$$name ; \
  2427. fi ; fi ; \
  2428. done; done)
  2429. @echo "## Relax-NG streaming regression tests"
  2430. -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
  2431. name=`basename $$i | sed 's+\.rng++'`; \
  2432. for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
  2433. if [ -f $$j ] ; then \
  2434. xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
  2435. if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
  2436. then \
  2437. echo New test file "$$name"_"$$xno" ; \
  2438. $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
  2439. > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
  2440. 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
  2441. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2442. else \
  2443. log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --stream --relaxng $$i $$j \
  2444. > res.$$name 2> err.$$name;\
  2445. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2446. diff $(srcdir)/result/relaxng/"$$name"_"$$xno" res.$$name;\
  2447. if [ "$$name" != "tutor10_1" -a "$$name" != "tutor10_2" -a "$$name" != "tutor3_2" -a "$$name" != "307377" -a "$$name" != "tutor8_2" ] ; then \
  2448. diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
  2449. err.$$name | grep -v "error detected at";\
  2450. fi ; grep Unimplemented err.$$name`; \
  2451. if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo $$log ; fi ; \
  2452. rm res.$$name err.$$name ; \
  2453. fi ; fi ; \
  2454. done; done)
  2455. Schematrontests: xmllint$(EXEEXT)
  2456. @(echo > .memdump)
  2457. @echo "## Schematron regression tests"
  2458. -@(for i in $(srcdir)/test/schematron/*.sct ; do \
  2459. name=`basename $$i | sed 's+\.sct++'`; \
  2460. for j in $(srcdir)/test/schematron/"$$name"_*.xml ; do \
  2461. if [ -f $$j ] ; then \
  2462. xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
  2463. if [ ! -f $(srcdir)/result/schematron/"$$name"_"$$xno" ]; \
  2464. then \
  2465. echo New test file "$$name"_"$$xno" ; \
  2466. $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --schematron $$i $$j \
  2467. > $(srcdir)/result/schematron/"$$name"_"$$xno" \
  2468. 2> $(srcdir)/result/schematron/"$$name"_"$$xno".err; \
  2469. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2470. else \
  2471. log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --schematron $$i $$j \
  2472. > res.$$name 2> err.$$name;\
  2473. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2474. diff $(srcdir)/result/schematron/"$$name"_"$$xno" \
  2475. res.$$name;\
  2476. diff $(srcdir)/result/schematron/"$$name"_"$$xno".err \
  2477. err.$$name | grep -v "error detected at";\
  2478. grep Unimplemented err.$$name`; \
  2479. if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo $$log ; fi ; \
  2480. rm res.$$name err.$$name ; \
  2481. fi ; fi ; \
  2482. done; done)
  2483. RelaxNGPythonTests:
  2484. @(if [ -x $(PYTHON) ] ; then \
  2485. PYTHONPATH=$(top_builddir)/python:$(top_builddir)/python/.libs:$$PYTHONPATH ; \
  2486. export PYTHONPATH; \
  2487. LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
  2488. export LD_LIBRARY_PATH; \
  2489. echo "## Relax-NG Python based test suite 1" ; \
  2490. $(CHECKER) $(PYTHON) $(srcdir)/check-relaxng-test-suite.py ; \
  2491. echo "## Relax-NG Python based test suite 2" ; \
  2492. $(CHECKER) $(PYTHON) $(srcdir)/check-relaxng-test-suite2.py ; \
  2493. fi)
  2494. SchemasPythonTests:
  2495. @(if [ -x $(PYTHON) ] ; then \
  2496. PYTHONPATH=$(top_builddir)/python:$(top_builddir)/python/.libs:$$PYTHONPATH; \
  2497. export PYTHONPATH; \
  2498. LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
  2499. export LD_LIBRARY_PATH; \
  2500. echo "## XML Schemas datatypes Python based test suite" ; \
  2501. echo "## It is normal to see 11 errors reported" ; \
  2502. $(CHECKER) $(PYTHON) $(srcdir)/check-xsddata-test-suite.py ; \
  2503. fi)
  2504. @(if [ -x $(PYTHON) -a -d xstc ] ; then cd xstc ; $(MAKE) CHECKER="$(CHECKER)" MAKEFLAGS+=--silent pytests ; fi)
  2505. Patterntests: xmllint$(EXEEXT)
  2506. @(echo > .memdump)
  2507. @echo "## Pattern regression tests"
  2508. -@(for i in $(srcdir)/test/pattern/*.pat ; do \
  2509. name=`basename $$i .pat`; \
  2510. if [ -f $(srcdir)/test/pattern/$$name.xml ] ; then \
  2511. if [ ! -f $(srcdir)/result/pattern/$$name ] ; then \
  2512. rm -f result.$$name ; \
  2513. echo New test file $$name ; \
  2514. for pat in `cat $$i` ; do \
  2515. $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml >> $(srcdir)/result/pattern/$$name ; \
  2516. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2517. done ;\
  2518. else \
  2519. rm -f result.$$name ; \
  2520. lst=`cat $$i` ; \
  2521. log=`for pat in $$lst ; do $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml 2>&1 >> result.$$name ; \
  2522. grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
  2523. done ;\
  2524. diff $(srcdir)/result/pattern/$$name result.$$name` ; \
  2525. if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
  2526. rm result.$$name ; \
  2527. fi ; fi ; done ;)
  2528. ModuleTests: testModule$(EXEEXT) testdso.la
  2529. @echo "## Module tests"
  2530. @(./testModule$(EXEEXT))
  2531. cleanup:
  2532. -@(find . -name .\#\* -exec rm {} \;)
  2533. -@(find . -name \*.gcda -o *.gcno -exec rm {} \;)
  2534. -@(find . -name \*.orig -o -name \*.rej -o -name \*.old -exec rm {} \;)
  2535. dist-hook: cleanup libxml2.spec
  2536. -cp libxml2.spec $(distdir)
  2537. (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn win32 macos vms VxWorks bakefile test result) | (cd $(distdir); tar xf -)
  2538. dist-source: distdir
  2539. $(AMTAR) -chof - --exclude Tests --exclude test --exclude result $(distdir) | GZIP=$(GZIP_ENV) gzip -c >`echo "$(distdir)" | sed "s+libxml2+libxml2-sources+"`.tar.gz
  2540. dist-test: distdir
  2541. (mkdir -p $(distdir))
  2542. (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn xstc/Tests) | (cd $(distdir); tar xf -)
  2543. tar -cf - $(distdir)/test $(distdir)/result $(distdir)/xstc/Tests $(distdir)/Makefile.tests $(distdir)/README $(distdir)/README.tests $(distdir)/AUTHORS $(distdir)/testapi.c $(distdir)/runtest.c $(distdir)/runsuite.c | GZIP=$(GZIP_ENV) gzip -c >`echo "$(distdir)" | sed "s+libxml2+libxml2-tests+"`.tar.gz
  2544. @(rm -rf $(distdir)/xstc/Test)
  2545. cleantar:
  2546. @(rm -f libxml*.tar.gz COPYING.LIB)
  2547. rpm: cleanup cleantar
  2548. @(unset CDPATH ; $(MAKE) dist-source dist && rpmbuild -ta $(distdir).tar.gz)
  2549. xml2Conf.sh: xml2Conf.sh.in Makefile
  2550. sed -e 's?\@XML_LIBDIR\@?$(XML_LIBDIR)?g' \
  2551. -e 's?\@XML_INCLUDEDIR\@?$(XML_INCLUDEDIR)?g' \
  2552. -e 's?\@VERSION\@?$(VERSION)?g' \
  2553. -e 's?\@XML_LIBS\@?$(XML_LIBS)?g' \
  2554. < $(srcdir)/xml2Conf.sh.in > xml2Conf.tmp \
  2555. && mv xml2Conf.tmp xml2Conf.sh
  2556. install-data-local:
  2557. $(mkinstalldirs) $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
  2558. -@INSTALL@ -m 0644 $(srcdir)/Copyright $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
  2559. $(mkinstalldirs) $(DESTDIR)$(EXAMPLES_DIR)
  2560. -@INSTALL@ -m 0644 $(srcdir)/xmllint.c $(DESTDIR)$(EXAMPLES_DIR)
  2561. -@INSTALL@ -m 0644 $(srcdir)/testSAX.c $(DESTDIR)$(EXAMPLES_DIR)
  2562. -@INSTALL@ -m 0644 $(srcdir)/testHTML.c $(DESTDIR)$(EXAMPLES_DIR)
  2563. -@INSTALL@ -m 0644 $(srcdir)/testXPath.c $(DESTDIR)$(EXAMPLES_DIR)
  2564. uninstall-local:
  2565. rm -f $(DESTDIR)$(EXAMPLES_DIR)/testXPath.c
  2566. rm -f $(DESTDIR)$(EXAMPLES_DIR)/testHTML.c
  2567. rm -f $(DESTDIR)$(EXAMPLES_DIR)/testSAX.c
  2568. rm -f $(DESTDIR)$(EXAMPLES_DIR)/xmllint.c
  2569. rm -rf $(DESTDIR)$(EXAMPLES_DIR)
  2570. rm -f $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)/Copyright
  2571. rm -rf $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
  2572. tst: tst.c
  2573. $(CC) $(CFLAGS) -Iinclude -o tst tst.c .libs/libxml2.a -lpthread -lm -lz
  2574. sparse: clean
  2575. $(MAKE) CC=cgcc
  2576. cov: clean-cov
  2577. if [ "`echo $(LDFLAGS) | grep coverage`" = "" ] ; then \
  2578. echo not configured with coverage; exit 1 ; fi
  2579. if [ ! -x $(LCOV) -o ! -x $(GENHTML) ] ; then \
  2580. echo Need $(LCOV) and $(GENHTML) excecutables; exit 1 ; fi
  2581. -@($(MAKE) check)
  2582. -@(./runsuite$(EXEEXT))
  2583. mkdir $(top_builddir)/coverage
  2584. $(LCOV) -c -o $(top_builddir)/coverage/libxml2.info.tmp -d $(top_srcdir)
  2585. $(LCOV) -r $(top_builddir)/coverage/libxml2.info.tmp -o $(top_builddir)/coverage/libxml2.info *usr*
  2586. rm $(top_builddir)/coverage/libxml2.info.tmp
  2587. $(GENHTML) -s -t "libxml2" -o $(top_builddir)/coverage --legend $(top_builddir)/coverage/libxml2.info
  2588. echo "Coverage report is in $(top_builddir)/coverage/index.html"
  2589. clean-cov:
  2590. rm -rf $(top_builddir)/coverage
  2591. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  2592. # Otherwise a system limit (for SysV at least) may be exceeded.
  2593. .NOEXPORT: