Annotation of embedaddon/libxml2/Makefile.in, revision 1.1.1.2.2.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>