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