12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741 |
- # Makefile.in generated by automake 1.11 from Makefile.am.
- # Makefile. Generated from Makefile.in by configure.
- # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
- # Inc.
- # This Makefile.in is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- # PARTICULAR PURPOSE.
- pkgdatadir = $(datadir)/libxml2
- pkgincludedir = $(includedir)/libxml2
- pkglibdir = $(libdir)/libxml2
- pkglibexecdir = $(libexecdir)/libxml2
- am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- install_sh_DATA = $(install_sh) -c -m 644
- install_sh_PROGRAM = $(install_sh) -c
- install_sh_SCRIPT = $(install_sh) -c
- INSTALL_HEADER = $(INSTALL_DATA)
- transform = $(program_transform_name)
- NORMAL_INSTALL = :
- PRE_INSTALL = :
- POST_INSTALL = :
- NORMAL_UNINSTALL = :
- PRE_UNINSTALL = :
- POST_UNINSTALL = :
- build_triplet = x86_64-unknown-linux-gnu
- host_triplet = arm-unknown-linux-gnueabihf
- noinst_PROGRAMS = testSchemas$(EXEEXT) testRelax$(EXEEXT) \
- testSAX$(EXEEXT) testHTML$(EXEEXT) testXPath$(EXEEXT) \
- testURI$(EXEEXT) testThreads$(EXEEXT) testC14N$(EXEEXT) \
- testAutomata$(EXEEXT) testRegexp$(EXEEXT) testReader$(EXEEXT) \
- testapi$(EXEEXT) testModule$(EXEEXT) runtest$(EXEEXT) \
- runsuite$(EXEEXT) testchar$(EXEEXT) testdict$(EXEEXT) \
- runxmlconf$(EXEEXT) testrecurse$(EXEEXT)
- bin_PROGRAMS = xmllint$(EXEEXT) xmlcatalog$(EXEEXT)
- subdir = .
- DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
- $(srcdir)/libxml-2.0-uninstalled.pc.in \
- $(srcdir)/libxml-2.0.pc.in $(srcdir)/libxml.spec.in \
- $(srcdir)/xml2-config.in $(top_srcdir)/configure AUTHORS \
- COPYING ChangeLog INSTALL NEWS TODO acconfig.h config.guess \
- config.sub depcomp install-sh ltmain.sh missing mkinstalldirs
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.in
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
- am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = config.h
- CONFIG_CLEAN_FILES = libxml2.spec xml2-config libxml-2.0.pc \
- libxml-2.0-uninstalled.pc
- CONFIG_CLEAN_VPATH_FILES =
- am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
- am__vpath_adj = case $$p in \
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- *) f=$$p;; \
- esac;
- am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
- am__install_max = 40
- am__nobase_strip_setup = \
- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
- am__nobase_strip = \
- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
- am__nobase_list = $(am__nobase_strip_setup); \
- for p in $$list; do echo "$$p $$p"; done | \
- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
- if (++n[$$2] == $(am__install_max)) \
- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
- END { for (dir in files) print dir, files[dir] }'
- am__base_list = \
- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
- am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
- "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
- "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(confexecdir)" \
- "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(pkgconfigdir)"
- LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
- am__DEPENDENCIES_1 =
- libxml2_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
- am__libxml2_la_SOURCES_DIST = SAX.c entities.c encoding.c error.c \
- parserInternals.c parser.c tree.c hash.c list.c xmlIO.c \
- xmlmemory.c uri.c valid.c xlink.c HTMLparser.c HTMLtree.c \
- debugXML.c xpath.c xpointer.c xinclude.c nanohttp.c nanoftp.c \
- DOCBparser.c catalog.c globals.c threads.c c14n.c xmlstring.c \
- xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
- xmlreader.c relaxng.c dict.c SAX2.c xmlwriter.c legacy.c \
- chvalid.c pattern.c xmlsave.c xmlmodule.c schematron.c \
- triostr.c trio.c
- am_libxml2_la_OBJECTS = SAX.lo entities.lo \
- encoding.lo error.lo \
- parserInternals.lo parser.lo tree.lo \
- hash.lo list.lo xmlIO.lo xmlmemory.lo \
- uri.lo valid.lo xlink.lo \
- HTMLparser.lo HTMLtree.lo debugXML.lo \
- xpath.lo xpointer.lo xinclude.lo \
- nanohttp.lo nanoftp.lo DOCBparser.lo \
- catalog.lo globals.lo threads.lo \
- c14n.lo xmlstring.lo xmlregexp.lo \
- xmlschemas.lo xmlschemastypes.lo \
- xmlunicode.lo xmlreader.lo relaxng.lo \
- dict.lo SAX2.lo xmlwriter.lo \
- legacy.lo chvalid.lo pattern.lo \
- xmlsave.lo xmlmodule.lo schematron.lo
- #am_libxml2_la_OBJECTS = SAX.lo entities.lo \
- # encoding.lo error.lo \
- # parserInternals.lo parser.lo tree.lo \
- # hash.lo list.lo xmlIO.lo xmlmemory.lo \
- # uri.lo valid.lo xlink.lo HTMLparser.lo \
- # HTMLtree.lo debugXML.lo xpath.lo \
- # xpointer.lo xinclude.lo nanohttp.lo \
- # nanoftp.lo DOCBparser.lo catalog.lo \
- # globals.lo threads.lo c14n.lo \
- # xmlstring.lo xmlregexp.lo \
- # xmlschemas.lo xmlschemastypes.lo \
- # xmlunicode.lo triostr.lo trio.lo \
- # xmlreader.lo relaxng.lo dict.lo \
- # SAX2.lo xmlwriter.lo legacy.lo \
- # chvalid.lo pattern.lo xmlsave.lo \
- # xmlmodule.lo schematron.lo
- libxml2_la_OBJECTS = $(am_libxml2_la_OBJECTS)
- libxml2_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(libxml2_la_LDFLAGS) $(LDFLAGS) -o $@
- testdso_la_LIBADD =
- am_testdso_la_OBJECTS = testdso.lo
- testdso_la_OBJECTS = $(am_testdso_la_OBJECTS)
- testdso_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(testdso_la_LDFLAGS) $(LDFLAGS) -o $@
- PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
- am_runsuite_OBJECTS = runsuite.$(OBJEXT)
- runsuite_OBJECTS = $(am_runsuite_OBJECTS)
- am__DEPENDENCIES_2 = $(top_builddir)/libxml2.la $(am__DEPENDENCIES_1)
- runsuite_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(runsuite_LDFLAGS) \
- $(LDFLAGS) -o $@
- am_runtest_OBJECTS = runtest.$(OBJEXT)
- runtest_OBJECTS = $(am_runtest_OBJECTS)
- runtest_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(runtest_LDFLAGS) \
- $(LDFLAGS) -o $@
- am_runxmlconf_OBJECTS = runxmlconf.$(OBJEXT)
- runxmlconf_OBJECTS = $(am_runxmlconf_OBJECTS)
- runxmlconf_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(runxmlconf_LDFLAGS) $(LDFLAGS) -o $@
- am_testAutomata_OBJECTS = testAutomata.$(OBJEXT)
- testAutomata_OBJECTS = $(am_testAutomata_OBJECTS)
- testAutomata_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(testAutomata_LDFLAGS) $(LDFLAGS) -o $@
- am_testC14N_OBJECTS = testC14N.$(OBJEXT)
- testC14N_OBJECTS = $(am_testC14N_OBJECTS)
- testC14N_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testC14N_LDFLAGS) \
- $(LDFLAGS) -o $@
- am_testHTML_OBJECTS = testHTML.$(OBJEXT)
- testHTML_OBJECTS = $(am_testHTML_OBJECTS)
- testHTML_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testHTML_LDFLAGS) \
- $(LDFLAGS) -o $@
- am_testModule_OBJECTS = testModule.$(OBJEXT)
- testModule_OBJECTS = $(am_testModule_OBJECTS)
- testModule_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(testModule_LDFLAGS) $(LDFLAGS) -o $@
- am_testReader_OBJECTS = testReader.$(OBJEXT)
- testReader_OBJECTS = $(am_testReader_OBJECTS)
- testReader_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(testReader_LDFLAGS) $(LDFLAGS) -o $@
- am_testRegexp_OBJECTS = testRegexp.$(OBJEXT)
- testRegexp_OBJECTS = $(am_testRegexp_OBJECTS)
- testRegexp_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(testRegexp_LDFLAGS) $(LDFLAGS) -o $@
- am_testRelax_OBJECTS = testRelax.$(OBJEXT)
- testRelax_OBJECTS = $(am_testRelax_OBJECTS)
- testRelax_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(testRelax_LDFLAGS) $(LDFLAGS) -o $@
- am_testSAX_OBJECTS = testSAX.$(OBJEXT)
- testSAX_OBJECTS = $(am_testSAX_OBJECTS)
- testSAX_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testSAX_LDFLAGS) \
- $(LDFLAGS) -o $@
- am_testSchemas_OBJECTS = testSchemas.$(OBJEXT)
- testSchemas_OBJECTS = $(am_testSchemas_OBJECTS)
- testSchemas_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(testSchemas_LDFLAGS) $(LDFLAGS) -o $@
- am_testThreads_OBJECTS = testThreads.$(OBJEXT)
- testThreads_OBJECTS = $(am_testThreads_OBJECTS)
- testThreads_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(testThreads_LDFLAGS) $(LDFLAGS) -o $@
- am_testURI_OBJECTS = testURI.$(OBJEXT)
- testURI_OBJECTS = $(am_testURI_OBJECTS)
- testURI_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testURI_LDFLAGS) \
- $(LDFLAGS) -o $@
- am_testXPath_OBJECTS = testXPath.$(OBJEXT)
- testXPath_OBJECTS = $(am_testXPath_OBJECTS)
- testXPath_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(testXPath_LDFLAGS) $(LDFLAGS) -o $@
- am_testapi_OBJECTS = testapi.$(OBJEXT)
- testapi_OBJECTS = $(am_testapi_OBJECTS)
- testapi_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testapi_LDFLAGS) \
- $(LDFLAGS) -o $@
- am_testchar_OBJECTS = testchar.$(OBJEXT)
- testchar_OBJECTS = $(am_testchar_OBJECTS)
- testchar_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testchar_LDFLAGS) \
- $(LDFLAGS) -o $@
- am_testdict_OBJECTS = testdict.$(OBJEXT)
- testdict_OBJECTS = $(am_testdict_OBJECTS)
- testdict_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(testdict_LDFLAGS) \
- $(LDFLAGS) -o $@
- am_testrecurse_OBJECTS = testrecurse.$(OBJEXT)
- testrecurse_OBJECTS = $(am_testrecurse_OBJECTS)
- testrecurse_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(testrecurse_LDFLAGS) $(LDFLAGS) -o $@
- am_xmlcatalog_OBJECTS = xmlcatalog.$(OBJEXT)
- xmlcatalog_OBJECTS = $(am_xmlcatalog_OBJECTS)
- xmlcatalog_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(xmlcatalog_LDFLAGS) $(LDFLAGS) -o $@
- am_xmllint_OBJECTS = xmllint.$(OBJEXT)
- xmllint_OBJECTS = $(am_xmllint_OBJECTS)
- xmllint_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(xmllint_LDFLAGS) \
- $(LDFLAGS) -o $@
- SCRIPTS = $(bin_SCRIPTS)
- DEFAULT_INCLUDES = -I.
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- am__mv = mv -f
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
- $(LDFLAGS) -o $@
- SOURCES = $(libxml2_la_SOURCES) $(testdso_la_SOURCES) \
- $(runsuite_SOURCES) $(runtest_SOURCES) $(runxmlconf_SOURCES) \
- $(testAutomata_SOURCES) $(testC14N_SOURCES) \
- $(testHTML_SOURCES) $(testModule_SOURCES) \
- $(testReader_SOURCES) $(testRegexp_SOURCES) \
- $(testRelax_SOURCES) $(testSAX_SOURCES) $(testSchemas_SOURCES) \
- $(testThreads_SOURCES) $(testURI_SOURCES) $(testXPath_SOURCES) \
- $(testapi_SOURCES) $(testchar_SOURCES) $(testdict_SOURCES) \
- $(testrecurse_SOURCES) $(xmlcatalog_SOURCES) \
- $(xmllint_SOURCES)
- DIST_SOURCES = $(am__libxml2_la_SOURCES_DIST) $(testdso_la_SOURCES) \
- $(runsuite_SOURCES) $(runtest_SOURCES) $(runxmlconf_SOURCES) \
- $(testAutomata_SOURCES) $(testC14N_SOURCES) \
- $(testHTML_SOURCES) $(testModule_SOURCES) \
- $(testReader_SOURCES) $(testRegexp_SOURCES) \
- $(testRelax_SOURCES) $(testSAX_SOURCES) $(testSchemas_SOURCES) \
- $(testThreads_SOURCES) $(testURI_SOURCES) $(testXPath_SOURCES) \
- $(testapi_SOURCES) $(testchar_SOURCES) $(testdict_SOURCES) \
- $(testrecurse_SOURCES) $(xmlcatalog_SOURCES) \
- $(xmllint_SOURCES)
- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
- man1dir = $(mandir)/man1
- man3dir = $(mandir)/man3
- NROFF = nroff
- MANS = $(man_MANS)
- DATA = $(confexec_DATA) $(m4data_DATA) $(pkgconfig_DATA)
- RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
- distclean-recursive maintainer-clean-recursive
- AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- distdir dist dist-all distcheck
- ETAGS = etags
- CTAGS = ctags
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- distdir = $(PACKAGE)-$(VERSION)
- top_distdir = $(distdir)
- am__remove_distdir = \
- { test ! -d "$(distdir)" \
- || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
- && rm -fr "$(distdir)"; }; }
- am__relativize = \
- dir0=`pwd`; \
- sed_first='s,^\([^/]*\)/.*$$,\1,'; \
- sed_rest='s,^[^/]*/*,,'; \
- sed_last='s,^.*/\([^/]*\)$$,\1,'; \
- sed_butlast='s,/*[^/]*$$,,'; \
- while test -n "$$dir1"; do \
- first=`echo "$$dir1" | sed -e "$$sed_first"`; \
- if test "$$first" != "."; then \
- if test "$$first" = ".."; then \
- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
- else \
- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
- if test "$$first2" = "$$first"; then \
- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
- else \
- dir2="../$$dir2"; \
- fi; \
- dir0="$$dir0"/"$$first"; \
- fi; \
- fi; \
- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
- done; \
- reldir="$$dir2"
- DIST_ARCHIVES = $(distdir).tar.gz
- GZIP_ENV = --best
- distuninstallcheck_listfiles = find . -type f -print
- distcleancheck_listfiles = find . -type f -print
- ACLOCAL = ${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6/missing --run aclocal-1.11
- AMTAR = ${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6/missing --run tar
- AR = ar
- AS = as
- AUTOCONF = ${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6/missing --run autoconf
- AUTOHEADER = ${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6/missing --run autoheader
- AUTOMAKE = ${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6/missing --run automake-1.11
- AWK = gawk
- BASE_THREAD_LIBS = -lpthread
- C14N_OBJ = c14n.c
- CATALOG_OBJ = catalog.o
- CC = /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc
- CCDEPMODE = depmode=gcc3
- CFLAGS = -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls
- CPP = /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -E
- CPPFLAGS =
- CYGPATH_W = echo
- CYGWIN_EXTRA_LDFLAGS =
- CYGWIN_EXTRA_PYTHON_LIBADD =
- DEBUG_OBJ = debugXML.o
- DEFS = -DHAVE_CONFIG_H
- DEPDIR = .deps
- DLLTOOL = dlltool
- DOCB_OBJ = DOCBparser.o
- DSYMUTIL =
- DUMPBIN = link -dump -symbols
- ECHO_C =
- ECHO_N = -n
- ECHO_T =
- EGREP = /bin/grep -E
- EXEEXT =
- FGREP = /bin/grep -F
- FTP_OBJ = nanoftp.o
- GREP = /bin/grep
- HAVE_ISINF =
- HAVE_ISNAN =
- HTML_DIR = $(datadir)/doc/$(PACKAGE)-$(VERSION)/html
- HTML_OBJ = HTMLparser.o HTMLtree.o
- HTTP_OBJ = nanohttp.o
- ICONV_LIBS =
- INSTALL = /usr/bin/install -c
- INSTALL_DATA = ${INSTALL} -m 644
- INSTALL_PROGRAM = ${INSTALL}
- INSTALL_SCRIPT = ${INSTALL}
- INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
- LD = /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/bin/ld
- LDFLAGS =
- LIBOBJS =
- LIBS =
- LIBTOOL = $(SHELL) $(top_builddir)/libtool
- LIBXML_MAJOR_VERSION = 2
- LIBXML_MICRO_VERSION = 6
- LIBXML_MINOR_VERSION = 7
- LIBXML_VERSION = 2.7.6
- LIBXML_VERSION_EXTRA =
- LIBXML_VERSION_INFO = 9:6:7
- LIBXML_VERSION_NUMBER = 20706
- LIPO =
- LN_S = ln -s
- LTLIBOBJS =
- MAKEINFO = ${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6/missing --run makeinfo
- MKDIR_P = /bin/mkdir -p
- MODULE_EXTENSION = .so
- MODULE_PLATFORM_LIBS = -ldl
- MV = /bin/mv
- M_LIBS = -lm
- NM = link -dump -symbols
- NMEDIT =
- OBJDUMP = objdump
- OBJEXT = o
- OTOOL =
- OTOOL64 =
- PACKAGE = libxml2
- PACKAGE_BUGREPORT =
- PACKAGE_NAME =
- PACKAGE_STRING =
- PACKAGE_TARNAME =
- PACKAGE_VERSION =
- PATH_SEPARATOR = :
- PERL = /usr/bin/perl
- PYTHON = /usr/bin/python
- PYTHON_INCLUDES =
- PYTHON_LIBS = -lpython2.7 -lpthread -ldl -lutil -lm
- PYTHON_SITE_PACKAGES = /usr/lib/python2.7/dist-packages
- PYTHON_SUBDIR =
- PYTHON_TESTS =
- PYTHON_VERSION = 2.7
- RANLIB = ranlib
- RDL_LIBS =
- READER_TEST = Readertests
- RELDATE = Fri Jul 12 2019
- RM = /bin/rm
- SED = /bin/sed
- SET_MAKE =
- SHELL = /bin/bash
- STATIC_BINARIES =
- STRIP = strip
- TAR = /bin/tar
- TEST_C14N = C14Ntests
- TEST_CATALOG = Catatests
- TEST_DEBUG = Scripttests
- TEST_HTML = HTMLtests
- TEST_MODULES = ModuleTests
- TEST_PATTERN = Patterntests
- TEST_PHTML = HTMLPushtests
- TEST_PUSH = XMLPushtests
- TEST_REGEXPS = Regexptests Automatatests
- TEST_SAX = SAXtests
- TEST_SCHEMAS = Schemastests Relaxtests
- TEST_SCHEMATRON = Schematrontests
- TEST_THREADS = Threadtests
- TEST_VALID = Validtests
- TEST_VTIME = VTimingtests
- TEST_XINCLUDE = XIncludetests
- TEST_XPATH = XPathtests
- TEST_XPTR = XPtrtests
- THREADS_W32 =
- THREAD_CFLAGS = -D_REENTRANT
- THREAD_LIBS =
- U =
- VERSION = 2.7.6
- VERSION_SCRIPT_FLAGS = -Wl,--version-script=
- WGET = /usr/bin/wget
- WIN32_EXTRA_LDFLAGS =
- WIN32_EXTRA_LIBADD =
- WITH_C14N = 1
- WITH_CATALOG = 1
- WITH_DEBUG = 1
- WITH_DOCB = 1
- WITH_FTP = 1
- WITH_HTML = 1
- WITH_HTTP = 1
- WITH_ICONV = 1
- WITH_ISO8859X = 1
- WITH_LEGACY = 1
- WITH_MEM_DEBUG = 0
- WITH_MODULES = 1
- WITH_OUTPUT = 1
- WITH_PATTERN = 1
- WITH_PUSH = 1
- WITH_READER = 1
- WITH_REGEXPS = 1
- WITH_RUN_DEBUG = 0
- WITH_SAX1 = 1
- WITH_SCHEMAS = 1
- WITH_SCHEMATRON = 1
- WITH_THREADS = 1
- WITH_TREE = 1
- WITH_TRIO = 0
- WITH_VALID = 1
- WITH_WRITER = 1
- WITH_XINCLUDE = 1
- WITH_XPATH = 1
- WITH_XPTR = 1
- WITH_ZLIB = 1
- XINCLUDE_OBJ = xinclude.o
- XMLLINT = /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/bin/xmllint
- XML_CFLAGS =
- XML_INCLUDEDIR = -I${includedir}/libxml2
- XML_LIBDIR = -L${libdir}
- XML_LIBS = -lxml2 -lz -lm
- XML_LIBTOOLLIBS = libxml2.la
- XPATH_OBJ = xpath.o
- XPTR_OBJ = xpointer.o
- XSLTPROC = /usr/bin/xsltproc
- Z_CFLAGS =
- Z_LIBS = -lz
- abs_builddir = /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6
- abs_srcdir = /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6
- abs_top_builddir = /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6
- abs_top_srcdir = /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6
- ac_ct_CC =
- ac_ct_DUMPBIN = link -dump -symbols
- am__include = include
- am__leading_dot = .
- am__quote =
- am__tar = ${AMTAR} chof - "$$tardir"
- am__untar = ${AMTAR} xf -
- bindir = ${exec_prefix}/bin
- build = x86_64-unknown-linux-gnu
- build_alias =
- build_cpu = x86_64
- build_os = linux-gnu
- build_vendor = unknown
- builddir = .
- datadir = ${datarootdir}
- datarootdir = ${prefix}/share
- docdir = ${datarootdir}/doc/${PACKAGE}
- dvidir = ${docdir}
- exec_prefix = ${prefix}
- host = arm-unknown-linux-gnueabihf
- host_alias = arm-linux-gnueabihf
- host_cpu = arm
- host_os = linux-gnueabihf
- host_vendor = unknown
- htmldir = ${docdir}
- includedir = ${prefix}/include
- infodir = ${datarootdir}/info
- install_sh = ${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6/install-sh
- libdir = ${exec_prefix}/lib
- libexecdir = ${exec_prefix}/libexec
- localedir = ${datarootdir}/locale
- localstatedir = ${prefix}/var
- lt_ECHO = echo
- mandir = ${datarootdir}/man
- mkdir_p = /bin/mkdir -p
- oldincludedir = /usr/include
- pdfdir = ${docdir}
- prefix = /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libxml2-2.7.6/release
- program_transform_name = s,x,x,
- psdir = ${docdir}
- pythondir = $(libdir)/python$(PYTHON_VERSION)/site-packages
- sbindir = ${exec_prefix}/sbin
- sharedstatedir = ${prefix}/com
- srcdir = .
- sysconfdir = ${prefix}/etc
- target_alias =
- top_build_prefix =
- top_builddir = .
- top_srcdir = .
- SUBDIRS = include . doc example xstc
- DIST_SUBDIRS = include . doc example python xstc
- INCLUDES = -I$(top_builddir)/include -I./include -D_REENTRANT
- bin_SCRIPTS = xml2-config
- lib_LTLIBRARIES = libxml2.la
- libxml2_la_LIBADD = -lz $(ICONV_LIBS) -lm
- #LIBXML2_VERSION_SCRIPT =
- LIBXML2_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libxml2.syms
- libxml2_la_LDFLAGS = \
- $(LIBXML2_VERSION_SCRIPT) \
- -version-info 9:6:7 \
- -ldl
- libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \
- parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \
- valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \
- xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c \
- catalog.c globals.c threads.c c14n.c xmlstring.c \
- xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
- xmlreader.c relaxng.c dict.c SAX2.c \
- xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c \
- xmlmodule.c schematron.c
- #libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \
- # parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \
- # valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \
- # xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c \
- # catalog.c globals.c threads.c c14n.c xmlstring.c \
- # xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
- # triostr.c trio.c xmlreader.c relaxng.c dict.c SAX2.c \
- # xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c \
- # xmlmodule.c schematron.c
- DEPS = $(top_builddir)/libxml2.la
- LDADDS = $(top_builddir)/libxml2.la -lz $(ICONV_LIBS) -lm
- man_MANS = xml2-config.1 libxml.3
- m4datadir = $(datadir)/aclocal
- m4data_DATA = libxml.m4
- runtest_SOURCES = runtest.c
- runtest_LDFLAGS =
- runtest_DEPENDENCIES = $(DEPS)
- runtest_LDADD = -lpthread $(LDADDS)
- testrecurse_SOURCES = testrecurse.c
- testrecurse_LDFLAGS =
- testrecurse_DEPENDENCIES = $(DEPS)
- testrecurse_LDADD = -lpthread $(LDADDS)
- testchar_SOURCES = testchar.c
- testchar_LDFLAGS =
- testchar_DEPENDENCIES = $(DEPS)
- testchar_LDADD = $(LDADDS)
- testdict_SOURCES = testdict.c
- testdict_LDFLAGS =
- testdict_DEPENDENCIES = $(DEPS)
- testdict_LDADD = $(LDADDS)
- runsuite_SOURCES = runsuite.c
- runsuite_LDFLAGS =
- runsuite_DEPENDENCIES = $(DEPS)
- runsuite_LDADD = $(LDADDS)
- xmllint_SOURCES = xmllint.c
- xmllint_LDFLAGS =
- xmllint_DEPENDENCIES = $(DEPS)
- xmllint_LDADD = $(LDADDS)
- testSAX_SOURCES = testSAX.c
- testSAX_LDFLAGS =
- testSAX_DEPENDENCIES = $(DEPS)
- testSAX_LDADD = $(LDADDS)
- testHTML_SOURCES = testHTML.c
- testHTML_LDFLAGS =
- testHTML_DEPENDENCIES = $(DEPS)
- testHTML_LDADD = $(LDADDS)
- xmlcatalog_SOURCES = xmlcatalog.c
- xmlcatalog_LDFLAGS =
- xmlcatalog_DEPENDENCIES = $(DEPS)
- xmlcatalog_LDADD = $(LDADDS)
- testXPath_SOURCES = testXPath.c
- testXPath_LDFLAGS =
- testXPath_DEPENDENCIES = $(DEPS)
- testXPath_LDADD = $(LDADDS)
- testC14N_SOURCES = testC14N.c
- testC14N_LDFLAGS =
- testC14N_DEPENDENCIES = $(DEPS)
- testC14N_LDADD = $(LDADDS)
- testThreads_SOURCES = testThreads.c
- testThreads_LDFLAGS =
- testThreads_DEPENDENCIES = $(DEPS)
- testThreads_LDADD = -lpthread $(LDADDS)
- testURI_SOURCES = testURI.c
- testURI_LDFLAGS =
- testURI_DEPENDENCIES = $(DEPS)
- testURI_LDADD = $(LDADDS)
- testRegexp_SOURCES = testRegexp.c
- testRegexp_LDFLAGS =
- testRegexp_DEPENDENCIES = $(DEPS)
- testRegexp_LDADD = $(LDADDS)
- testAutomata_SOURCES = testAutomata.c
- testAutomata_LDFLAGS =
- testAutomata_DEPENDENCIES = $(DEPS)
- testAutomata_LDADD = $(LDADDS)
- testSchemas_SOURCES = testSchemas.c
- testSchemas_LDFLAGS =
- testSchemas_DEPENDENCIES = $(DEPS)
- testSchemas_LDADD = $(LDADDS)
- testRelax_SOURCES = testRelax.c
- testRelax_LDFLAGS =
- testRelax_DEPENDENCIES = $(DEPS)
- testRelax_LDADD = $(LDADDS)
- testReader_SOURCES = testReader.c
- testReader_LDFLAGS =
- testReader_DEPENDENCIES = $(DEPS)
- testReader_LDADD = $(LDADDS)
- testModule_SOURCES = testModule.c
- testModule_LDFLAGS =
- testModule_DEPENDENCIES = $(DEPS)
- testModule_LDADD = $(LDADDS)
- noinst_LTLIBRARIES = testdso.la
- testdso_la_SOURCES = testdso.c
- testdso_la_LDFLAGS = -module -rpath $(libdir)
- testapi_SOURCES = testapi.c
- testapi_LDFLAGS =
- testapi_DEPENDENCIES = $(DEPS)
- testapi_LDADD = $(LDADDS)
- runxmlconf_SOURCES = runxmlconf.c
- runxmlconf_LDFLAGS =
- runxmlconf_DEPENDENCIES = $(DEPS)
- runxmlconf_LDADD = $(LDADDS)
- CLEANFILES = xml2Conf.sh *.gcda *.gcno
- confexecdir = $(libdir)
- confexec_DATA = xml2Conf.sh
- CVS_EXTRA_DIST =
- EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \
- libxml.m4 Copyright check-xml-test-suite.py gentest.py \
- check-relaxng-test-suite.py check-relaxng-test-suite2.py \
- check-xsddata-test-suite.py check-xinclude-test-suite.py \
- example/Makefile.am example/gjobread.c example/gjobs.xml \
- $(man_MANS) libxml-2.0.pc.in libxml-2.0-uninstalled.pc.in \
- trionan.c trionan.h triostr.c triostr.h trio.c trio.h \
- triop.h triodef.h libxml.h elfgcchack.h \
- testThreadsWin32.c genUnicode.py TODO_SCHEMAS \
- dbgen.pl dbgenattr.pl regressions.py regressions.xml \
- README.tests Makefile.tests libxml2.syms \
- $(CVS_EXTRA_DIST)
- pkgconfigdir = $(libdir)/pkgconfig
- pkgconfig_DATA = libxml-2.0.pc
- #
- # Install the tests program sources as examples
- #
- BASE_DIR = $(datadir)/doc
- DOC_MODULE = libxml2-$(VERSION)
- EXAMPLES_DIR = $(BASE_DIR)/$(DOC_MODULE)/examples
- #
- # Coverage support, largely borrowed from libvirt
- # Both binaries comes from the lcov package in Fedora
- #
- LCOV = /usr/bin/lcov
- GENHTML = /usr/bin/genhtml
- all: config.h
- $(MAKE) $(AM_MAKEFLAGS) all-recursive
- .SUFFIXES:
- .SUFFIXES: .c .lo .o .obj
- am--refresh:
- @:
- $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
- $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
- $(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --gnu Makefile
- .PRECIOUS: Makefile
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- echo ' $(SHELL) ./config.status'; \
- $(SHELL) ./config.status;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
- esac;
- $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
- $(top_srcdir)/configure: $(am__configure_deps)
- $(am__cd) $(srcdir) && $(AUTOCONF)
- $(ACLOCAL_M4): $(am__aclocal_m4_deps)
- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
- $(am__aclocal_m4_deps):
- config.h: stamp-h1
- @if test ! -f $@; then \
- rm -f stamp-h1; \
- $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
- else :; fi
- stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
- @rm -f stamp-h1
- cd $(top_builddir) && $(SHELL) ./config.status config.h
- $(srcdir)/config.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h
- ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
- rm -f stamp-h1
- touch $@
- distclean-hdr:
- -rm -f config.h stamp-h1
- libxml2.spec: $(top_builddir)/config.status $(srcdir)/libxml.spec.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
- xml2-config: $(top_builddir)/config.status $(srcdir)/xml2-config.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
- libxml-2.0.pc: $(top_builddir)/config.status $(srcdir)/libxml-2.0.pc.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
- libxml-2.0-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/libxml-2.0-uninstalled.pc.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
- install-libLTLIBRARIES: $(lib_LTLIBRARIES)
- @$(NORMAL_INSTALL)
- test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
- @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
- list2=; for p in $$list; do \
- if test -f $$p; then \
- list2="$$list2 $$p"; \
- else :; fi; \
- done; \
- test -z "$$list2" || { \
- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
- }
- uninstall-libLTLIBRARIES:
- @$(NORMAL_UNINSTALL)
- @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
- for p in $$list; do \
- $(am__strip_dir) \
- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
- done
- clean-libLTLIBRARIES:
- -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
- dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- test "$$dir" != "$$p" || dir=.; \
- echo "rm -f \"$${dir}/so_locations\""; \
- rm -f "$${dir}/so_locations"; \
- done
- clean-noinstLTLIBRARIES:
- -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
- @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
- dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- test "$$dir" != "$$p" || dir=.; \
- echo "rm -f \"$${dir}/so_locations\""; \
- rm -f "$${dir}/so_locations"; \
- done
- libxml2.la: $(libxml2_la_OBJECTS) $(libxml2_la_DEPENDENCIES)
- $(libxml2_la_LINK) -rpath $(libdir) $(libxml2_la_OBJECTS) $(libxml2_la_LIBADD) $(LIBS)
- testdso.la: $(testdso_la_OBJECTS) $(testdso_la_DEPENDENCIES)
- $(testdso_la_LINK) $(testdso_la_OBJECTS) $(testdso_la_LIBADD) $(LIBS)
- install-binPROGRAMS: $(bin_PROGRAMS)
- @$(NORMAL_INSTALL)
- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
- for p in $$list; do echo "$$p $$p"; done | \
- sed 's/$(EXEEXT)$$//' | \
- while read p p1; do if test -f $$p || test -f $$p1; \
- then echo "$$p"; echo "$$p"; else :; fi; \
- done | \
- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
- -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
- sed 'N;N;N;s,\n, ,g' | \
- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
- if ($$2 == $$4) files[d] = files[d] " " $$1; \
- else { print "f", $$3 "/" $$4, $$1; } } \
- END { for (d in files) print "f", d, files[d] }' | \
- while read type dir files; do \
- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
- test -z "$$files" || { \
- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
- } \
- ; done
- uninstall-binPROGRAMS:
- @$(NORMAL_UNINSTALL)
- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
- files=`for p in $$list; do echo "$$p"; done | \
- sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
- -e 's/$$/$(EXEEXT)/' `; \
- test -n "$$list" || exit 0; \
- echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
- cd "$(DESTDIR)$(bindir)" && rm -f $$files
- clean-binPROGRAMS:
- @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
- echo " rm -f" $$list; \
- rm -f $$list || exit $$?; \
- test -n "$(EXEEXT)" || exit 0; \
- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
- echo " rm -f" $$list; \
- rm -f $$list
- clean-noinstPROGRAMS:
- @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
- echo " rm -f" $$list; \
- rm -f $$list || exit $$?; \
- test -n "$(EXEEXT)" || exit 0; \
- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
- echo " rm -f" $$list; \
- rm -f $$list
- runsuite$(EXEEXT): $(runsuite_OBJECTS) $(runsuite_DEPENDENCIES)
- @rm -f runsuite$(EXEEXT)
- $(runsuite_LINK) $(runsuite_OBJECTS) $(runsuite_LDADD) $(LIBS)
- runtest$(EXEEXT): $(runtest_OBJECTS) $(runtest_DEPENDENCIES)
- @rm -f runtest$(EXEEXT)
- $(runtest_LINK) $(runtest_OBJECTS) $(runtest_LDADD) $(LIBS)
- runxmlconf$(EXEEXT): $(runxmlconf_OBJECTS) $(runxmlconf_DEPENDENCIES)
- @rm -f runxmlconf$(EXEEXT)
- $(runxmlconf_LINK) $(runxmlconf_OBJECTS) $(runxmlconf_LDADD) $(LIBS)
- testAutomata$(EXEEXT): $(testAutomata_OBJECTS) $(testAutomata_DEPENDENCIES)
- @rm -f testAutomata$(EXEEXT)
- $(testAutomata_LINK) $(testAutomata_OBJECTS) $(testAutomata_LDADD) $(LIBS)
- testC14N$(EXEEXT): $(testC14N_OBJECTS) $(testC14N_DEPENDENCIES)
- @rm -f testC14N$(EXEEXT)
- $(testC14N_LINK) $(testC14N_OBJECTS) $(testC14N_LDADD) $(LIBS)
- testHTML$(EXEEXT): $(testHTML_OBJECTS) $(testHTML_DEPENDENCIES)
- @rm -f testHTML$(EXEEXT)
- $(testHTML_LINK) $(testHTML_OBJECTS) $(testHTML_LDADD) $(LIBS)
- testModule$(EXEEXT): $(testModule_OBJECTS) $(testModule_DEPENDENCIES)
- @rm -f testModule$(EXEEXT)
- $(testModule_LINK) $(testModule_OBJECTS) $(testModule_LDADD) $(LIBS)
- testReader$(EXEEXT): $(testReader_OBJECTS) $(testReader_DEPENDENCIES)
- @rm -f testReader$(EXEEXT)
- $(testReader_LINK) $(testReader_OBJECTS) $(testReader_LDADD) $(LIBS)
- testRegexp$(EXEEXT): $(testRegexp_OBJECTS) $(testRegexp_DEPENDENCIES)
- @rm -f testRegexp$(EXEEXT)
- $(testRegexp_LINK) $(testRegexp_OBJECTS) $(testRegexp_LDADD) $(LIBS)
- testRelax$(EXEEXT): $(testRelax_OBJECTS) $(testRelax_DEPENDENCIES)
- @rm -f testRelax$(EXEEXT)
- $(testRelax_LINK) $(testRelax_OBJECTS) $(testRelax_LDADD) $(LIBS)
- testSAX$(EXEEXT): $(testSAX_OBJECTS) $(testSAX_DEPENDENCIES)
- @rm -f testSAX$(EXEEXT)
- $(testSAX_LINK) $(testSAX_OBJECTS) $(testSAX_LDADD) $(LIBS)
- testSchemas$(EXEEXT): $(testSchemas_OBJECTS) $(testSchemas_DEPENDENCIES)
- @rm -f testSchemas$(EXEEXT)
- $(testSchemas_LINK) $(testSchemas_OBJECTS) $(testSchemas_LDADD) $(LIBS)
- testThreads$(EXEEXT): $(testThreads_OBJECTS) $(testThreads_DEPENDENCIES)
- @rm -f testThreads$(EXEEXT)
- $(testThreads_LINK) $(testThreads_OBJECTS) $(testThreads_LDADD) $(LIBS)
- testURI$(EXEEXT): $(testURI_OBJECTS) $(testURI_DEPENDENCIES)
- @rm -f testURI$(EXEEXT)
- $(testURI_LINK) $(testURI_OBJECTS) $(testURI_LDADD) $(LIBS)
- testXPath$(EXEEXT): $(testXPath_OBJECTS) $(testXPath_DEPENDENCIES)
- @rm -f testXPath$(EXEEXT)
- $(testXPath_LINK) $(testXPath_OBJECTS) $(testXPath_LDADD) $(LIBS)
- testapi$(EXEEXT): $(testapi_OBJECTS) $(testapi_DEPENDENCIES)
- @rm -f testapi$(EXEEXT)
- $(testapi_LINK) $(testapi_OBJECTS) $(testapi_LDADD) $(LIBS)
- testchar$(EXEEXT): $(testchar_OBJECTS) $(testchar_DEPENDENCIES)
- @rm -f testchar$(EXEEXT)
- $(testchar_LINK) $(testchar_OBJECTS) $(testchar_LDADD) $(LIBS)
- testdict$(EXEEXT): $(testdict_OBJECTS) $(testdict_DEPENDENCIES)
- @rm -f testdict$(EXEEXT)
- $(testdict_LINK) $(testdict_OBJECTS) $(testdict_LDADD) $(LIBS)
- testrecurse$(EXEEXT): $(testrecurse_OBJECTS) $(testrecurse_DEPENDENCIES)
- @rm -f testrecurse$(EXEEXT)
- $(testrecurse_LINK) $(testrecurse_OBJECTS) $(testrecurse_LDADD) $(LIBS)
- xmlcatalog$(EXEEXT): $(xmlcatalog_OBJECTS) $(xmlcatalog_DEPENDENCIES)
- @rm -f xmlcatalog$(EXEEXT)
- $(xmlcatalog_LINK) $(xmlcatalog_OBJECTS) $(xmlcatalog_LDADD) $(LIBS)
- xmllint$(EXEEXT): $(xmllint_OBJECTS) $(xmllint_DEPENDENCIES)
- @rm -f xmllint$(EXEEXT)
- $(xmllint_LINK) $(xmllint_OBJECTS) $(xmllint_LDADD) $(LIBS)
- install-binSCRIPTS: $(bin_SCRIPTS)
- @$(NORMAL_INSTALL)
- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
- @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
- for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
- done | \
- sed -e 'p;s,.*/,,;n' \
- -e 'h;s|.*|.|' \
- -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
- if ($$2 == $$4) { files[d] = files[d] " " $$1; \
- if (++n[d] == $(am__install_max)) { \
- print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
- else { print "f", d "/" $$4, $$1 } } \
- END { for (d in files) print "f", d, files[d] }' | \
- while read type dir files; do \
- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
- test -z "$$files" || { \
- echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
- $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
- } \
- ; done
- uninstall-binSCRIPTS:
- @$(NORMAL_UNINSTALL)
- @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
- files=`for p in $$list; do echo "$$p"; done | \
- sed -e 's,.*/,,;$(transform)'`; \
- test -n "$$list" || exit 0; \
- echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
- cd "$(DESTDIR)$(bindir)" && rm -f $$files
- mostlyclean-compile:
- -rm -f *.$(OBJEXT)
- distclean-compile:
- -rm -f *.tab.c
- include ./$(DEPDIR)/DOCBparser.Plo
- include ./$(DEPDIR)/HTMLparser.Plo
- include ./$(DEPDIR)/HTMLtree.Plo
- include ./$(DEPDIR)/SAX.Plo
- include ./$(DEPDIR)/SAX2.Plo
- include ./$(DEPDIR)/c14n.Plo
- include ./$(DEPDIR)/catalog.Plo
- include ./$(DEPDIR)/chvalid.Plo
- include ./$(DEPDIR)/debugXML.Plo
- include ./$(DEPDIR)/dict.Plo
- include ./$(DEPDIR)/encoding.Plo
- include ./$(DEPDIR)/entities.Plo
- include ./$(DEPDIR)/error.Plo
- include ./$(DEPDIR)/globals.Plo
- include ./$(DEPDIR)/hash.Plo
- include ./$(DEPDIR)/legacy.Plo
- include ./$(DEPDIR)/list.Plo
- include ./$(DEPDIR)/nanoftp.Plo
- include ./$(DEPDIR)/nanohttp.Plo
- include ./$(DEPDIR)/parser.Plo
- include ./$(DEPDIR)/parserInternals.Plo
- include ./$(DEPDIR)/pattern.Plo
- include ./$(DEPDIR)/relaxng.Plo
- include ./$(DEPDIR)/runsuite.Po
- include ./$(DEPDIR)/runtest.Po
- include ./$(DEPDIR)/runxmlconf.Po
- include ./$(DEPDIR)/schematron.Plo
- include ./$(DEPDIR)/testAutomata.Po
- include ./$(DEPDIR)/testC14N.Po
- include ./$(DEPDIR)/testHTML.Po
- include ./$(DEPDIR)/testModule.Po
- include ./$(DEPDIR)/testReader.Po
- include ./$(DEPDIR)/testRegexp.Po
- include ./$(DEPDIR)/testRelax.Po
- include ./$(DEPDIR)/testSAX.Po
- include ./$(DEPDIR)/testSchemas.Po
- include ./$(DEPDIR)/testThreads.Po
- include ./$(DEPDIR)/testURI.Po
- include ./$(DEPDIR)/testXPath.Po
- include ./$(DEPDIR)/testapi.Po
- include ./$(DEPDIR)/testchar.Po
- include ./$(DEPDIR)/testdict.Po
- include ./$(DEPDIR)/testdso.Plo
- include ./$(DEPDIR)/testrecurse.Po
- include ./$(DEPDIR)/threads.Plo
- include ./$(DEPDIR)/tree.Plo
- include ./$(DEPDIR)/trio.Plo
- include ./$(DEPDIR)/triostr.Plo
- include ./$(DEPDIR)/uri.Plo
- include ./$(DEPDIR)/valid.Plo
- include ./$(DEPDIR)/xinclude.Plo
- include ./$(DEPDIR)/xlink.Plo
- include ./$(DEPDIR)/xmlIO.Plo
- include ./$(DEPDIR)/xmlcatalog.Po
- include ./$(DEPDIR)/xmllint.Po
- include ./$(DEPDIR)/xmlmemory.Plo
- include ./$(DEPDIR)/xmlmodule.Plo
- include ./$(DEPDIR)/xmlreader.Plo
- include ./$(DEPDIR)/xmlregexp.Plo
- include ./$(DEPDIR)/xmlsave.Plo
- include ./$(DEPDIR)/xmlschemas.Plo
- include ./$(DEPDIR)/xmlschemastypes.Plo
- include ./$(DEPDIR)/xmlstring.Plo
- include ./$(DEPDIR)/xmlunicode.Plo
- include ./$(DEPDIR)/xmlwriter.Plo
- include ./$(DEPDIR)/xpath.Plo
- include ./$(DEPDIR)/xpointer.Plo
- .c.o:
- $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- # source='$<' object='$@' libtool=no \
- # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
- # $(COMPILE) -c $<
- .c.obj:
- $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- # source='$<' object='$@' libtool=no \
- # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
- # $(COMPILE) -c `$(CYGPATH_W) '$<'`
- .c.lo:
- $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
- # source='$<' object='$@' libtool=yes \
- # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
- # $(LTCOMPILE) -c -o $@ $<
- mostlyclean-libtool:
- -rm -f *.lo
- clean-libtool:
- -rm -rf .libs _libs
- distclean-libtool:
- -rm -f libtool config.lt
- install-man1: $(man_MANS)
- @$(NORMAL_INSTALL)
- test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
- @list=''; test -n "$(man1dir)" || exit 0; \
- { for i in $$list; do echo "$$i"; done; \
- l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
- sed -n '/\.1[a-z]*$$/p'; \
- } | while read p; do \
- if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
- echo "$$d$$p"; echo "$$p"; \
- done | \
- sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
- sed 'N;N;s,\n, ,g' | { \
- list=; while read file base inst; do \
- if test "$$base" = "$$inst"; then list="$$list $$file"; else \
- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
- fi; \
- done; \
- for i in $$list; do echo "$$i"; done | $(am__base_list) | \
- while read files; do \
- test -z "$$files" || { \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
- done; }
- uninstall-man1:
- @$(NORMAL_UNINSTALL)
- @list=''; test -n "$(man1dir)" || exit 0; \
- files=`{ for i in $$list; do echo "$$i"; done; \
- l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
- sed -n '/\.1[a-z]*$$/p'; \
- } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
- test -z "$$files" || { \
- echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
- cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
- install-man3: $(man_MANS)
- @$(NORMAL_INSTALL)
- test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
- @list=''; test -n "$(man3dir)" || exit 0; \
- { for i in $$list; do echo "$$i"; done; \
- l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
- sed -n '/\.3[a-z]*$$/p'; \
- } | while read p; do \
- if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
- echo "$$d$$p"; echo "$$p"; \
- done | \
- sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
- sed 'N;N;s,\n, ,g' | { \
- list=; while read file base inst; do \
- if test "$$base" = "$$inst"; then list="$$list $$file"; else \
- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
- fi; \
- done; \
- for i in $$list; do echo "$$i"; done | $(am__base_list) | \
- while read files; do \
- test -z "$$files" || { \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
- done; }
- uninstall-man3:
- @$(NORMAL_UNINSTALL)
- @list=''; test -n "$(man3dir)" || exit 0; \
- files=`{ for i in $$list; do echo "$$i"; done; \
- l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
- sed -n '/\.3[a-z]*$$/p'; \
- } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
- test -z "$$files" || { \
- echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \
- cd "$(DESTDIR)$(man3dir)" && rm -f $$files; }
- install-confexecDATA: $(confexec_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(confexecdir)" || $(MKDIR_P) "$(DESTDIR)$(confexecdir)"
- @list='$(confexec_DATA)'; test -n "$(confexecdir)" || list=; \
- for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- echo "$$d$$p"; \
- done | $(am__base_list) | \
- while read files; do \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(confexecdir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(confexecdir)" || exit $$?; \
- done
- uninstall-confexecDATA:
- @$(NORMAL_UNINSTALL)
- @list='$(confexec_DATA)'; test -n "$(confexecdir)" || list=; \
- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- test -n "$$files" || exit 0; \
- echo " ( cd '$(DESTDIR)$(confexecdir)' && rm -f" $$files ")"; \
- cd "$(DESTDIR)$(confexecdir)" && rm -f $$files
- install-m4dataDATA: $(m4data_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(m4datadir)" || $(MKDIR_P) "$(DESTDIR)$(m4datadir)"
- @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \
- for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- echo "$$d$$p"; \
- done | $(am__base_list) | \
- while read files; do \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(m4datadir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(m4datadir)" || exit $$?; \
- done
- uninstall-m4dataDATA:
- @$(NORMAL_UNINSTALL)
- @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \
- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- test -n "$$files" || exit 0; \
- echo " ( cd '$(DESTDIR)$(m4datadir)' && rm -f" $$files ")"; \
- cd "$(DESTDIR)$(m4datadir)" && rm -f $$files
- install-pkgconfigDATA: $(pkgconfig_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
- @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
- for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- echo "$$d$$p"; \
- done | $(am__base_list) | \
- while read files; do \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
- done
- uninstall-pkgconfigDATA:
- @$(NORMAL_UNINSTALL)
- @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- test -n "$$files" || exit 0; \
- echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
- cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
- # This directory's subdirectories are mostly independent; you can cd
- # into them and run `make' without going through this Makefile.
- # To change the values of `make' variables: instead of editing Makefiles,
- # (1) if the variable is set in `config.status', edit `config.status'
- # (which will cause the Makefiles to be regenerated when you run `make');
- # (2) otherwise, pass the desired values on the `make' command line.
- $(RECURSIVE_TARGETS):
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- dot_seen=yes; \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done; \
- if test "$$dot_seen" = "no"; then \
- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- fi; test -z "$$fail"
- $(RECURSIVE_CLEAN_TARGETS):
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
- tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
- ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
- ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
- tags: TAGS
- TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- set x; \
- here=`pwd`; \
- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
- include_option=--etags-include; \
- empty_fix=.; \
- else \
- include_option=--include; \
- empty_fix=; \
- fi; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test ! -f $$subdir/TAGS || \
- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
- fi; \
- done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- shift; \
- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- if test $$# -gt 0; then \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- "$$@" $$unique; \
- else \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$unique; \
- fi; \
- fi
- ctags: CTAGS
- CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- test -z "$(CTAGS_ARGS)$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$unique
- GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && $(am__cd) $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) "$$here"
- distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- distdir: $(DISTFILES)
- @list='$(MANS)'; if test -n "$$list"; then \
- list=`for p in $$list; do \
- if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
- if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
- if test -n "$$list" && \
- grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
- echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
- grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
- echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
- echo " typically \`make maintainer-clean' will remove them" >&2; \
- exit 1; \
- else :; fi; \
- else :; fi
- $(am__remove_distdir)
- test -d "$(distdir)" || mkdir "$(distdir)"
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test -d "$(distdir)/$$file"; then \
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- fi; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- fi; \
- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- else \
- test -f "$(distdir)/$$file" \
- || cp -p $$d/$$file "$(distdir)/$$file" \
- || exit 1; \
- fi; \
- done
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(MKDIR_P) "$(distdir)/$$subdir" \
- || exit 1; \
- fi; \
- done
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
- $(am__relativize); \
- new_distdir=$$reldir; \
- dir1=$$subdir; dir2="$(top_distdir)"; \
- $(am__relativize); \
- new_top_distdir=$$reldir; \
- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
- ($(am__cd) $$subdir && \
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$$new_top_distdir" \
- distdir="$$new_distdir" \
- am__remove_distdir=: \
- am__skip_length_check=: \
- am__skip_mode_fix=: \
- distdir) \
- || exit 1; \
- fi; \
- done
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$(top_distdir)" distdir="$(distdir)" \
- dist-hook
- -test -n "$(am__skip_mode_fix)" \
- || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
- || chmod -R a+r "$(distdir)"
- dist-gzip: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
- dist-bzip2: distdir
- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
- $(am__remove_distdir)
- dist-lzma: distdir
- tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
- $(am__remove_distdir)
- dist-xz: distdir
- tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
- $(am__remove_distdir)
- dist-tarZ: distdir
- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
- $(am__remove_distdir)
- dist-shar: distdir
- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
- $(am__remove_distdir)
- dist-zip: distdir
- -rm -f $(distdir).zip
- zip -rq $(distdir).zip $(distdir)
- $(am__remove_distdir)
- dist dist-all: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
- # This target untars the dist file and tries a VPATH configuration. Then
- # it guarantees that the distribution is self-contained by making another
- # tarfile.
- distcheck: dist
- case '$(DIST_ARCHIVES)' in \
- *.tar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
- *.tar.bz2*) \
- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
- *.tar.lzma*) \
- unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
- *.tar.xz*) \
- xz -dc $(distdir).tar.xz | $(am__untar) ;;\
- *.tar.Z*) \
- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
- *.shar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
- *.zip*) \
- unzip $(distdir).zip ;;\
- esac
- chmod -R a-w $(distdir); chmod a+w $(distdir)
- mkdir $(distdir)/_build
- mkdir $(distdir)/_inst
- chmod a-w $(distdir)
- test -d $(distdir)/_build || exit 0; \
- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
- && am__cwd=`pwd` \
- && $(am__cd) $(distdir)/_build \
- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
- $(DISTCHECK_CONFIGURE_FLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) dvi \
- && $(MAKE) $(AM_MAKEFLAGS) check \
- && $(MAKE) $(AM_MAKEFLAGS) install \
- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
- && $(MAKE) $(AM_MAKEFLAGS) uninstall \
- && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
- distuninstallcheck \
- && chmod -R a-w "$$dc_install_base" \
- && ({ \
- (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
- distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
- } || { rm -rf "$$dc_destdir"; exit 1; }) \
- && rm -rf "$$dc_destdir" \
- && $(MAKE) $(AM_MAKEFLAGS) dist \
- && rm -rf $(DIST_ARCHIVES) \
- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
- && cd "$$am__cwd" \
- || exit 1
- $(am__remove_distdir)
- @(echo "$(distdir) archives ready for distribution: "; \
- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
- distuninstallcheck:
- @$(am__cd) '$(distuninstallcheck_dir)' \
- && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
- || { echo "ERROR: files left after uninstall:" ; \
- if test -n "$(DESTDIR)"; then \
- echo " (check DESTDIR support)"; \
- fi ; \
- $(distuninstallcheck_listfiles) ; \
- exit 1; } >&2
- distcleancheck: distclean
- @if test '$(srcdir)' = . ; then \
- echo "ERROR: distcleancheck can only run from a VPATH build" ; \
- exit 1 ; \
- fi
- @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
- || { echo "ERROR: files left in build directory after distclean:" ; \
- $(distcleancheck_listfiles) ; \
- exit 1; } >&2
- check-am: all-am
- check: check-recursive
- all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
- config.h
- install-binPROGRAMS: install-libLTLIBRARIES
- installdirs: installdirs-recursive
- installdirs-am:
- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(confexecdir)" "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(pkgconfigdir)"; do \
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
- install: install-recursive
- install-exec: install-exec-recursive
- install-data: install-data-recursive
- uninstall: uninstall-recursive
- install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- installcheck: installcheck-recursive
- install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
- mostlyclean-generic:
- clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
- distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
- clean: clean-recursive
- clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
- clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \
- mostlyclean-am
- distclean: distclean-recursive
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf ./$(DEPDIR)
- -rm -f Makefile
- distclean-am: clean-am distclean-compile distclean-generic \
- distclean-hdr distclean-libtool distclean-tags
- dvi: dvi-recursive
- dvi-am:
- html: html-recursive
- html-am:
- info: info-recursive
- info-am:
- install-data-am: install-data-local install-m4dataDATA install-man \
- install-pkgconfigDATA
- install-dvi: install-dvi-recursive
- install-dvi-am:
- install-exec-am: install-binPROGRAMS install-binSCRIPTS \
- install-confexecDATA install-libLTLIBRARIES
- install-html: install-html-recursive
- install-html-am:
- install-info: install-info-recursive
- install-info-am:
- install-man: install-man1 install-man3
- install-pdf: install-pdf-recursive
- install-pdf-am:
- install-ps: install-ps-recursive
- install-ps-am:
- installcheck-am:
- maintainer-clean: maintainer-clean-recursive
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf $(top_srcdir)/autom4te.cache
- -rm -rf ./$(DEPDIR)
- -rm -f Makefile
- maintainer-clean-am: distclean-am maintainer-clean-generic
- mostlyclean: mostlyclean-recursive
- mostlyclean-am: mostlyclean-compile mostlyclean-generic \
- mostlyclean-libtool
- pdf: pdf-recursive
- pdf-am:
- ps: ps-recursive
- ps-am:
- uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
- uninstall-confexecDATA uninstall-libLTLIBRARIES \
- uninstall-local uninstall-m4dataDATA uninstall-man \
- uninstall-pkgconfigDATA
- uninstall-man: uninstall-man1 uninstall-man3
- .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
- ctags-recursive install-am install-strip tags-recursive
- .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-am clean clean-binPROGRAMS \
- clean-generic clean-libLTLIBRARIES clean-libtool \
- clean-noinstLTLIBRARIES clean-noinstPROGRAMS ctags \
- ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
- dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
- distclean distclean-compile distclean-generic distclean-hdr \
- distclean-libtool distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-binPROGRAMS install-binSCRIPTS \
- install-confexecDATA install-data install-data-am \
- install-data-local install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-libLTLIBRARIES install-m4dataDATA \
- install-man install-man1 install-man3 install-pdf \
- install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- installdirs-am maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-compile mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am uninstall-binPROGRAMS \
- uninstall-binSCRIPTS uninstall-confexecDATA \
- uninstall-libLTLIBRARIES uninstall-local uninstall-m4dataDATA \
- uninstall-man uninstall-man1 uninstall-man3 \
- uninstall-pkgconfigDATA
- # that one forces the rebuild when "make rebuild" is run on doc/
- rebuild_testapi:
- -@(if [ "$(PYTHON)" != "" ] ; then \
- $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
- # that one is just to make sure it is rebuilt if missing
- # but adding the dependances generate mess
- testapi.c: $(srcdir)/gentest.py
- -@(if [ "$(PYTHON)" != "" ] ; then \
- $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
- #testOOM_SOURCES=testOOM.c testOOMlib.h testOOMlib.c
- #testOOM_LDFLAGS =
- #testOOM_DEPENDENCIES = $(DEPS)
- #testOOM_LDADD= $(LDADDS)
- runtests:
- $(CHECKER) ./runtest$(EXEEXT) && $(CHECKER) ./testrecurse$(EXEEXT) &&$(CHECKER) ./testapi$(EXEEXT) && $(CHECKER) ./testchar$(EXEEXT)&& $(CHECKER) ./testdict$(EXEEXT) && $(CHECKER) ./runxmlconf$(EXEEXT)
- @(if [ "" != "" ] ; then cd python ; \
- $(MAKE) MAKEFLAGS+=--silent tests ; fi)
- check: all runtests
- check-valgrind: all
- @echo '## Running the regression tests under Valgrind'
- @echo '## Go get a cup of coffee it is gonna take a while ...'
- $(MAKE) CHECKER='valgrind -q' check
- testall : tests SVGtests SAXtests
- tests: XMLtests XMLenttests NStests IDtests Errtests APItests Readertests SAXtests XMLPushtests HTMLtests HTMLPushtests Validtests URItests Patterntests XPathtests XPtrtests XIncludetests C14Ntests Scripttests Catatests Regexptests Automatatests Schemastests Relaxtests Schematrontests Threadtests Timingtests VTimingtests ModuleTests
- @(if [ "" != "" ] ; then cd python ; \
- $(MAKE) MAKEFLAGS+=--silent tests ; fi)
- @(cd doc/examples ; $(MAKE) MAKEFLAGS+=--silent tests)
- valgrind:
- @echo '## Running the regression tests under Valgrind'
- @echo '## Go get a cup of coffee it is gonna take a while ...'
- $(MAKE) CHECKER='valgrind -q' tests
- APItests: testapi$(EXEEXT)
- @echo "## Running the API regression tests this may take a little while"
- -@($(CHECKER) $(top_builddir)/testapi -q)
- HTMLtests : testHTML$(EXEEXT)
- @(echo > .memdump)
- @echo "## HTML regression tests"
- -@(for i in $(srcdir)/test/HTML/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
- else \
- log=`$(CHECKER) $(top_builddir)/testHTML $$i > result.$$name 2> error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/HTML/$$name result.$$name ; \
- diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \
- $(CHECKER) $(top_builddir)/testHTML result.$$name > result2.$$name 2>error.$$name ; \
- diff result.$$name result2.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name result2.$$name error.$$name ; \
- fi ; fi ; done)
- HTMLPushtests : testHTML$(EXEEXT)
- @echo "## Push HTML regression tests"
- -@(for i in $(srcdir)/test/HTML/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testHTML --push $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
- else \
- log=`$(CHECKER) $(top_builddir)/testHTML --push $$i > result.$$name 2> error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/HTML/$$name result.$$name ; \
- cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \
- cut -b 1-15 error.$$name > errorcut2.$$name; \
- diff -b errorcut.$$name errorcut2.$$name ; \
- $(CHECKER) $(top_builddir)/testHTML --push result.$$name > result2.$$name 2>error.$$name ; \
- diff result.$$name result2.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name result2.$$name error.$$name errorcut.$$name errorcut2.$$name ; \
- fi ; fi ; done)
- @echo "## HTML SAX regression tests"
- -@(for i in $(srcdir)/test/HTML/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/HTML/$$name.sax ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
- else \
- log=`$(CHECKER) $(top_builddir)/testHTML --sax $$i > result.$$name.sax ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name.sax ; \
- fi ; fi ; done)
- @echo "## Push HTML SAX regression tests"
- -@(for i in $(srcdir)/test/HTML/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testHTML --push --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
- else \
- log=`$(CHECKER) $(top_builddir)/testHTML --push --sax $$i 2>&1 > result.$$name.sax ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name.sax ; \
- fi ; fi ; done)
- XMLtests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## XML regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/$$name result.$$name ; \
- $(CHECKER) $(top_builddir)/xmllint result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff result.$$name result2.$$name` ;\
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name result2.$$name ; \
- fi ; fi ; done)
- @echo "## XML regression tests on memory"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --memory $$i > $(srcdir)/result/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --memory $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name result.$$name ; \
- $(CHECKER) $(top_builddir)/xmllint --memory result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- diff result.$$name result2.$$name ; \
- rm result.$$name result2.$$name ; \
- fi ; fi ; done)
- XMLPushtests: xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## XML push regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --push $$i > $(srcdir)/result/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --push $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/$$name result.$$name ; \
- $(CHECKER) $(top_builddir)/xmllint --push result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff result.$$name result2.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name result2.$$name ; \
- fi ; fi ; done)
- NStests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## XML Namespaces regression tests"
- -@(for i in $(srcdir)/test/namespaces/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/namespaces/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint $$i \
- 2> $(srcdir)/result/namespaces/$$name.err \
- > $(srcdir)/result/namespaces/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/namespaces/$$name result.$$name ; \
- diff $(srcdir)/result/namespaces/$$name.err error.$$name`; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- IDtests : xmllint$(EXEEXT) testXPath$(EXEEXT)
- @(echo > .memdump)
- @echo "## xml:id regression tests"
- -@(for i in $(srcdir)/test/xmlid/id_*.xml ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/xmlid/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" \
- 2> $(srcdir)/result/xmlid/$$name.err \
- > $(srcdir)/result/xmlid/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" 2> error.$$name > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/xmlid/$$name result.$$name ; \
- diff $(srcdir)/result/xmlid/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- Errtests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Error cases regression tests"
- -@(for i in $(srcdir)/test/errors/*.xml ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/errors/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint $$i \
- 2> $(srcdir)/result/errors/$$name.err \
- > $(srcdir)/result/errors/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/errors/$$name result.$$name ; \
- diff $(srcdir)/result/errors/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- @echo "## Error cases stream regression tests"
- -@(for i in $(srcdir)/test/errors/*.xml ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/errors/$$name.str ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --stream $$i \
- 2> $(srcdir)/result/errors/$$name.str \
- > /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --stream $$i 2> error.$$name > /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/errors/$$name.str error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm error.$$name ; \
- fi ; fi ; done)
- Docbtests : xmllint$(EXEEXT)
- XMLenttests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## XML entity subst regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/noent/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --noent $$i > $(srcdir)/result/noent/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --noent $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/noent/$$name result.$$name ; \
- $(CHECKER) $(top_builddir)/xmllint --noent result.$$name 2>&1 > result2.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff result.$$name result2.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name result2.$$name ; \
- fi ; fi ; done)
- URItests : testURI$(EXEEXT)
- @(echo > .memdump)
- @echo "## URI module regression tests"
- -@(for i in $(srcdir)/test/URI/*.data ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > $(srcdir)/result/URI/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/URI/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- -@(for i in $(srcdir)/test/URI/*.uri ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testURI < $$i > $(srcdir)/result/URI/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/testURI < $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/URI/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- XPathtests : testXPath$(EXEEXT)
- @(echo > .memdump)
- @echo "## XPath regression tests"
- -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
- then echo Skipping debug not compiled in ; exit 0 ; fi ; \
- for i in $(srcdir)/test/XPath/expr/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/XPath/expr/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testXPath -f --expr $$i > $(srcdir)/result/XPath/expr/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testXPath -f --expr $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XPath/expr/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done ; \
- for i in $(srcdir)/test/XPath/docs/* ; do \
- if [ ! -d $$i ] ; then \
- doc=`basename $$i`; \
- for j in $(srcdir)/test/XPath/tests/$$doc* ; do \
- if [ ! -f $$j ] ; then continue ; fi ; \
- name=`basename $$j`; \
- if [ ! -d $$j ] ; then \
- if [ ! -f $(srcdir)/result/XPath/tests/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j > $(srcdir)/result/XPath/tests/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XPath/tests/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done ; fi ; done)
- XPtrtests : testXPath$(EXEEXT)
- @(echo > .memdump)
- @echo "## XPointer regression tests"
- -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
- then echo Skipping debug not compiled in ; exit 0 ; fi ; \
- for i in $(srcdir)/test/XPath/docs/* ; do \
- if [ ! -d $$i ] ; then \
- doc=`basename $$i`; \
- for j in $(srcdir)/test/XPath/xptr/$$doc* ; do \
- if [ ! -f $$j ] ; then continue ; fi ; \
- name=`basename $$j`; \
- if [ ! -d $$j ] ; then \
- if [ ! -f $(srcdir)/result/XPath/xptr/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j > $(srcdir)/result/XPath/xptr/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XPath/xptr/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done ; fi ; done)
- XIncludetests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## XInclude regression tests"
- -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > $(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > result.$$name 2>error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XInclude/$$name result.$$name ; \
- diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > $(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > result.$$name 2>error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XInclude/$$name result.$$name ; \
- diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- @(echo > .memdump)
- @echo "## XInclude xmlReader regression tests"
- -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > $(srcdir)/result/XInclude/$$name.rdr ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > result.$$name 2>error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
- diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode --stream --debug $$i > $(srcdir)/result/XInclude/$$name.rdr ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > result.$$name 2>error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
- diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- Scripttests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Scripts regression tests"
- @echo "## Some of the base computations may be different if srcdir != ."
- -@(for i in $(srcdir)/test/scripts/*.script ; do \
- name=`basename $$i .script`; \
- xml=$(srcdir)/test/scripts/`basename $$i .script`.xml; \
- if [ -f $$xml ] ; then \
- if [ ! -f $(srcdir)/result/scripts/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > $(srcdir)/result/scripts/$$name 2> $(srcdir)/result/scripts/$$name.err ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > result.$$name 2> result.$$name.err ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/scripts/$$name result.$$name ; \
- diff $(srcdir)/result/scripts/$$name.err result.$$name.err` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name result.$$name.err ; \
- fi ; fi ; done)
- Catatests : xmlcatalog$(EXEEXT)
- @(echo > .memdump)
- @echo "## Catalog regression tests"
- -@(for i in $(srcdir)/test/catalogs/*.script ; do \
- name=`basename $$i .script`; \
- xml=$(srcdir)/test/catalogs/`basename $$i .script`.xml; \
- if [ -f $$xml ] ; then \
- if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i 2>&1 > $(srcdir)/result/catalogs/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- -@(for i in $(srcdir)/test/catalogs/*.script ; do \
- name=`basename $$i .script`; \
- sgml=$(srcdir)/test/catalogs/`basename $$i .script`.sgml; \
- if [ -f $$sgml ] ; then \
- if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > $(srcdir)/result/catalogs/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## Add and del operations on XML Catalogs"
- -@($(CHECKER) $(top_builddir)/xmlcatalog --create --noout $(srcdir)/result/catalogs/mycatalog; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid sysid $(srcdir)/result/catalogs/mycatalog; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid2 sysid2 $(srcdir)/result/catalogs/mycatalog; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid3 sysid3 $(srcdir)/result/catalogs/mycatalog; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff result/catalogs/mycatalog.full $(srcdir)/result/catalogs/mycatalog; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid $(srcdir)/result/catalogs/mycatalog; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid3 $(srcdir)/result/catalogs/mycatalog; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid2 $(srcdir)/result/catalogs/mycatalog; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff result/catalogs/mycatalog.empty $(srcdir)/result/catalogs/mycatalog; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- rm -f $(srcdir)/result/catalogs/mycatalog)
- SVGtests : xmllint$(EXEEXT)
- @echo "## SVG parsing regression tests"
- -@(for i in $(srcdir)/test/SVG/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/SVG/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/SVG/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- echo Testing $$name ; \
- $(CHECKER) $(top_builddir)/xmllint $$i > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/SVG/$$name result.$$name ; \
- $(CHECKER) $(top_builddir)/xmllint result.$$name > result2.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff result.$$name result2.$$name ; \
- rm result.$$name result2.$$name ; \
- fi ; fi ; done)
- Threadtests : testThreads$(EXEEXT)
- @echo "## Threaded regression tests"
- -@($(CHECKER) $(top_builddir)/testThreads ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- exit 0)
- Readertests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Reader regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.rdr result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## Reader on memory regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.rdr result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @(echo > .memdump)
- @echo "## Walker regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > result.$$name 2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.rdr result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## Reader entities substitution regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.rde ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > $(srcdir)/result/$$name.rde 2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.rde result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- SAXtests : testSAX$(EXEEXT)
- @(echo > .memdump)
- @echo "## SAX1 callbacks regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.sax ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testSAX $$i > $(srcdir)/result/$$name.sax 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testSAX $$i > result.$$name 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.sax result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## SAX2 callbacks regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.sax2 ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testSAX --sax2 $$i > $(srcdir)/result/$$name.sax2 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testSAX --sax2 $$i > result.$$name 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.sax2 result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- Validtests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Valid documents regression tests"
- -@(for i in $(srcdir)/test/VCM/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- log=`$(CHECKER) $(top_builddir)/xmllint --valid --noout --nowarning $$i ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`;\
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- fi ; done ; exit 0)
- @echo "## Validity checking regression tests"
- -@(for i in $(srcdir)/test/VC/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/VC/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> $(srcdir)/result/VC/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/VC/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## General documents valid regression tests"
- -@(for i in $(srcdir)/test/valid/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/valid/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --valid $$i > $(srcdir)/result/valid/$$name 2>$(srcdir)/result/valid/$$name.err ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --valid $$i > result.$$name 2>error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/valid/$$name result.$$name ; \
- diff $(srcdir)/result/valid/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- Regexptests: testRegexp$(EXEEXT)
- @(echo > .memdump)
- @echo "## Regexp regression tests"
- -@(for i in $(srcdir)/test/regexp/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/regexp/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testRegexp -i $$i > $(srcdir)/result/regexp/$$name; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testRegexp -i $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/regexp/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## Formal expresssions regression tests"
- -@(for i in $(srcdir)/test/expr/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/expr/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testRegexp --expr -i $$i > $(srcdir)/result/expr/$$name; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testRegexp --expr -i $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/expr/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- Automatatests: testAutomata$(EXEEXT)
- @(echo > .memdump)
- @echo "## Automata regression tests"
- -@(for i in $(srcdir)/test/automata/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/automata/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testAutomata $$i > $(srcdir)/result/automata/$$name; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testAutomata $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/automata/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- dba100000.xml: dbgenattr.pl
- @echo "## generating dba100000.xml"
- @($(PERL) $(top_srcdir)/dbgenattr.pl 100000 > dba100000.xml)
- Timingtests: xmllint$(EXEEXT) dba100000.xml
- @echo "## Timing tests to try to detect performance"
- @echo "## as well a memory usage breakage when streaming"
- @echo "## 1/ using the file interface"
- @echo "## 2/ using the memory interface"
- @echo "## 3/ repeated DOM parsing"
- @echo "## 4/ repeated DOM validation"
- -@($(top_builddir)/xmllint --stream --timing dba100000.xml; \
- MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
- if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- exit 0)
- -@($(top_builddir)/xmllint --stream --timing --memory dba100000.xml; \
- MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
- if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- exit 0)
- -@($(top_builddir)/xmllint --noout --timing --repeat $(srcdir)/test/valid/REC-xml-19980210.xml; \
- MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
- if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- exit 0)
- VTimingtests: xmllint$(EXEEXT)
- -@($(top_builddir)/xmllint --noout --timing --valid --repeat $(srcdir)/test/valid/REC-xml-19980210.xml; \
- MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
- if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- exit 0)
- C14Ntests : testC14N$(EXEEXT)
- @echo "## C14N and XPath regression tests"
- -@(for m in with-comments without-comments 1-1-without-comments exc-without-comments ; do \
- for i in $(srcdir)/test/c14n/$$m/*.xml ; do \
- if [ ! -d $$i ] ; then \
- name=`basename $$i .xml`; \
- cmdline="$(CHECKER) $(top_builddir)/testC14N --$$m $$i"; \
- if [ -f $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
- cmdline="$$cmdline $(srcdir)/test/c14n/$$m/$$name.xpath"; \
- if [ -f $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
- cmdline="$$cmdline '`cat $(srcdir)/test/c14n/$$m/$$name.ns`'"; \
- fi; \
- fi; \
- $$cmdline > $(srcdir)/test/c14n/test.tmp; \
- if [ $$? -eq 0 ]; then \
- diff $(srcdir)/result/c14n/$$m/$$name $(srcdir)/test/c14n/test.tmp; \
- if [ $$? -ne 0 ]; then \
- echo "Test $$m/$$name failed"; \
- cat $(srcdir)/test/c14n/test.tmp; \
- fi; \
- else \
- echo "C14N failed"; \
- fi; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- fi; \
- rm -f $(srcdir)/test/c14n/test.tmp; \
- done; \
- done)
- Schemastests: testSchemas$(EXEEXT)
- @(echo > .memdump)
- @echo "## Schemas regression tests"
- -@(for i in $(srcdir)/test/schemas/*_*.xsd ; do \
- name=`basename $$i | sed 's+_.*++'`; \
- sno=`basename $$i | sed 's+.*_\(.*\).xsd+\1+'`; \
- for j in $(srcdir)/test/schemas/"$$name"_*.xml ; do \
- if [ -f $$j ] ; then \
- xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
- if [ ! -f $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" ]; \
- then \
- echo New test file "$$name"_"$$sno"_"$$xno" ; \
- $(CHECKER) $(top_builddir)/testSchemas $$i $$j \
- > $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
- 2> $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testSchemas $$i $$j \
- > res.$$name 2> err.$$name;\
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
- res.$$name;\
- diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err \
- err.$$name;\
- grep Unimplemented err.$$name`; \
- if [ -n "$$log" ] ; then echo "$$name"_"$$sno"_"$$xno" result ; echo $$log ; fi ; \
- rm res.$$name err.$$name ; \
- fi ; fi ;\
- done; done)
- Relaxtests: xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Relax-NG regression tests"
- -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
- name=`basename $$i | sed 's+\.rng++'`; \
- if [ ! -f $(srcdir)/result/relaxng/"$$name"_valid ] ; then \
- echo New schemas $$name ; \
- $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
- > $(srcdir)/result/relaxng/"$$name"_valid \
- 2> $(srcdir)/result/relaxng/"$$name"_err; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
- > res.$$name 2> err.$$name;\
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/relaxng/"$$name"_valid \
- res.$$name;\
- diff $(srcdir)/result/relaxng/"$$name"_err \
- err.$$name | grep -v "error detected at";\
- grep Unimplemented err.$$name`; \
- if [ -n "$$log" ] ; then echo schemas $$name result ; echo $$log ; fi ; \
- rm res.$$name err.$$name ; \
- fi; \
- for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
- if [ -f $$j ] ; then \
- xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
- if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
- then \
- echo New test file "$$name"_"$$xno" ; \
- $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
- > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
- 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
- > res.$$name 2> err.$$name;\
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/relaxng/"$$name"_"$$xno" \
- res.$$name;\
- diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
- err.$$name | grep -v "error detected at";\
- grep Unimplemented err.$$name`; \
- if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo $$log ; fi ; \
- rm res.$$name err.$$name ; \
- fi ; fi ; \
- done; done)
- @echo "## Relax-NG streaming regression tests"
- -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
- name=`basename $$i | sed 's+\.rng++'`; \
- for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
- if [ -f $$j ] ; then \
- xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
- if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
- then \
- echo New test file "$$name"_"$$xno" ; \
- $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
- > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
- 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --stream --relaxng $$i $$j \
- > res.$$name 2> err.$$name;\
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/relaxng/"$$name"_"$$xno" res.$$name;\
- if [ "$$name" != "tutor10_1" -a "$$name" != "tutor10_2" -a "$$name" != "tutor3_2" -a "$$name" != "307377" -a "$$name" != "tutor8_2" ] ; then \
- diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
- err.$$name | grep -v "error detected at";\
- fi ; grep Unimplemented err.$$name`; \
- if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo $$log ; fi ; \
- rm res.$$name err.$$name ; \
- fi ; fi ; \
- done; done)
- Schematrontests: xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Schematron regression tests"
- -@(for i in $(srcdir)/test/schematron/*.sct ; do \
- name=`basename $$i | sed 's+\.sct++'`; \
- for j in $(srcdir)/test/schematron/"$$name"_*.xml ; do \
- if [ -f $$j ] ; then \
- xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
- if [ ! -f $(srcdir)/result/schematron/"$$name"_"$$xno" ]; \
- then \
- echo New test file "$$name"_"$$xno" ; \
- $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --schematron $$i $$j \
- > $(srcdir)/result/schematron/"$$name"_"$$xno" \
- 2> $(srcdir)/result/schematron/"$$name"_"$$xno".err; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --schematron $$i $$j \
- > res.$$name 2> err.$$name;\
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/schematron/"$$name"_"$$xno" \
- res.$$name;\
- diff $(srcdir)/result/schematron/"$$name"_"$$xno".err \
- err.$$name | grep -v "error detected at";\
- grep Unimplemented err.$$name`; \
- if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo $$log ; fi ; \
- rm res.$$name err.$$name ; \
- fi ; fi ; \
- done; done)
- RelaxNGPythonTests:
- @(if [ -x $(PYTHON) ] ; then \
- PYTHONPATH=$(top_builddir)/python:$(top_builddir)/python/.libs:$$PYTHONPATH ; \
- export PYTHONPATH; \
- LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
- export LD_LIBRARY_PATH; \
- echo "## Relax-NG Python based test suite 1" ; \
- $(CHECKER) $(PYTHON) $(srcdir)/check-relaxng-test-suite.py ; \
- echo "## Relax-NG Python based test suite 2" ; \
- $(CHECKER) $(PYTHON) $(srcdir)/check-relaxng-test-suite2.py ; \
- fi)
- SchemasPythonTests:
- @(if [ -x $(PYTHON) ] ; then \
- PYTHONPATH=$(top_builddir)/python:$(top_builddir)/python/.libs:$$PYTHONPATH; \
- export PYTHONPATH; \
- LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
- export LD_LIBRARY_PATH; \
- echo "## XML Schemas datatypes Python based test suite" ; \
- echo "## It is normal to see 11 errors reported" ; \
- $(CHECKER) $(PYTHON) $(srcdir)/check-xsddata-test-suite.py ; \
- fi)
- @(if [ -x $(PYTHON) -a -d xstc ] ; then cd xstc ; $(MAKE) CHECKER="$(CHECKER)" MAKEFLAGS+=--silent pytests ; fi)
- Patterntests: xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Pattern regression tests"
- -@(for i in $(srcdir)/test/pattern/*.pat ; do \
- name=`basename $$i .pat`; \
- if [ -f $(srcdir)/test/pattern/$$name.xml ] ; then \
- if [ ! -f $(srcdir)/result/pattern/$$name ] ; then \
- rm -f result.$$name ; \
- echo New test file $$name ; \
- for pat in `cat $$i` ; do \
- $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml >> $(srcdir)/result/pattern/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- done ;\
- else \
- rm -f result.$$name ; \
- lst=`cat $$i` ; \
- log=`for pat in $$lst ; do $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml 2>&1 >> result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- done ;\
- diff $(srcdir)/result/pattern/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done ;)
- ModuleTests: testModule$(EXEEXT) testdso.la
- @echo "## Module tests"
- @(./testModule$(EXEEXT))
- cleanup:
- -@(find . -name .\#\* -exec rm {} \;)
- -@(find . -name \*.gcda -o *.gcno -exec rm {} \;)
- -@(find . -name \*.orig -o -name \*.rej -o -name \*.old -exec rm {} \;)
- dist-hook: cleanup libxml2.spec
- -cp libxml2.spec $(distdir)
- (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn win32 macos vms VxWorks bakefile test result) | (cd $(distdir); tar xf -)
- dist-source: distdir
- $(AMTAR) -chof - --exclude Tests --exclude test --exclude result $(distdir) | GZIP=$(GZIP_ENV) gzip -c >`echo "$(distdir)" | sed "s+libxml2+libxml2-sources+"`.tar.gz
- dist-test: distdir
- (mkdir -p $(distdir))
- (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn xstc/Tests) | (cd $(distdir); tar xf -)
- 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
- @(rm -rf $(distdir)/xstc/Test)
- cleantar:
- @(rm -f libxml*.tar.gz COPYING.LIB)
- rpm: cleanup cleantar
- @(unset CDPATH ; $(MAKE) dist-source dist && rpmbuild -ta $(distdir).tar.gz)
- xml2Conf.sh: xml2Conf.sh.in Makefile
- sed -e 's?\@XML_LIBDIR\@?$(XML_LIBDIR)?g' \
- -e 's?\@XML_INCLUDEDIR\@?$(XML_INCLUDEDIR)?g' \
- -e 's?\@VERSION\@?$(VERSION)?g' \
- -e 's?\@XML_LIBS\@?$(XML_LIBS)?g' \
- < $(srcdir)/xml2Conf.sh.in > xml2Conf.tmp \
- && mv xml2Conf.tmp xml2Conf.sh
- install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
- -/usr/bin/install -c -m 0644 $(srcdir)/Copyright $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
- $(mkinstalldirs) $(DESTDIR)$(EXAMPLES_DIR)
- -/usr/bin/install -c -m 0644 $(srcdir)/xmllint.c $(DESTDIR)$(EXAMPLES_DIR)
- -/usr/bin/install -c -m 0644 $(srcdir)/testSAX.c $(DESTDIR)$(EXAMPLES_DIR)
- -/usr/bin/install -c -m 0644 $(srcdir)/testHTML.c $(DESTDIR)$(EXAMPLES_DIR)
- -/usr/bin/install -c -m 0644 $(srcdir)/testXPath.c $(DESTDIR)$(EXAMPLES_DIR)
- uninstall-local:
- rm -f $(DESTDIR)$(EXAMPLES_DIR)/testXPath.c
- rm -f $(DESTDIR)$(EXAMPLES_DIR)/testHTML.c
- rm -f $(DESTDIR)$(EXAMPLES_DIR)/testSAX.c
- rm -f $(DESTDIR)$(EXAMPLES_DIR)/xmllint.c
- rm -rf $(DESTDIR)$(EXAMPLES_DIR)
- rm -f $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)/Copyright
- rm -rf $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
- tst: tst.c
- $(CC) $(CFLAGS) -Iinclude -o tst tst.c .libs/libxml2.a -lpthread -lm -lz
- sparse: clean
- $(MAKE) CC=cgcc
- cov: clean-cov
- if [ "`echo $(LDFLAGS) | grep coverage`" = "" ] ; then \
- echo not configured with coverage; exit 1 ; fi
- if [ ! -x $(LCOV) -o ! -x $(GENHTML) ] ; then \
- echo Need $(LCOV) and $(GENHTML) excecutables; exit 1 ; fi
- -@($(MAKE) check)
- -@(./runsuite$(EXEEXT))
- mkdir $(top_builddir)/coverage
- $(LCOV) -c -o $(top_builddir)/coverage/libxml2.info.tmp -d $(top_srcdir)
- $(LCOV) -r $(top_builddir)/coverage/libxml2.info.tmp -o $(top_builddir)/coverage/libxml2.info *usr*
- rm $(top_builddir)/coverage/libxml2.info.tmp
- $(GENHTML) -s -t "libxml2" -o $(top_builddir)/coverage --legend $(top_builddir)/coverage/libxml2.info
- echo "Coverage report is in $(top_builddir)/coverage/index.html"
- clean-cov:
- rm -rf $(top_builddir)/coverage
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
|