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

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

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