1 # Makefile.in generated by automake 1.15 from Makefile.am.
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
22 if test -z '$(MAKELEVEL)'; then \
24 elif test -n '$(MAKE_HOST)'; then \
26 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
32 am__make_running_with_option = \
33 case $${target_option-} in \
35 *) echo "am__make_running_with_option: internal error: invalid" \
36 "target option '$${target_option-}' specified" >&2; \
40 sane_makeflags=$$MAKEFLAGS; \
41 if $(am__is_gnu_make); then \
42 sane_makeflags=$$MFLAGS; \
47 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
48 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
54 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
56 for flg in $$sane_makeflags; do \
57 test $$skip_next = yes && { skip_next=no; continue; }; \
60 -*I) strip_trailopt 'I'; skip_next=yes;; \
61 -*I?*) strip_trailopt 'I';; \
62 -*O) strip_trailopt 'O'; skip_next=yes;; \
63 -*O?*) strip_trailopt 'O';; \
64 -*l) strip_trailopt 'l'; skip_next=yes;; \
65 -*l?*) strip_trailopt 'l';; \
66 -[dEDm]) skip_next=yes;; \
67 -[JT]) skip_next=yes;; \
70 *$$target_option*) has_opt=yes; break;; \
74 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
75 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
76 pkgdatadir = $(datadir)/@PACKAGE@
77 pkgincludedir = $(includedir)/@PACKAGE@
78 pkglibdir = $(libdir)/@PACKAGE@
79 pkglibexecdir = $(libexecdir)/@PACKAGE@
80 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
81 install_sh_DATA = $(install_sh) -c -m 644
82 install_sh_PROGRAM = $(install_sh) -c
83 install_sh_SCRIPT = $(install_sh) -c
84 INSTALL_HEADER = $(INSTALL_DATA)
85 transform = $(program_transform_name)
92 build_triplet = @build@
94 check_PROGRAMS = testSchemas$(EXEEXT) testRelax$(EXEEXT) \
95 testSAX$(EXEEXT) testHTML$(EXEEXT) testXPath$(EXEEXT) \
96 testURI$(EXEEXT) testThreads$(EXEEXT) testC14N$(EXEEXT) \
97 testAutomata$(EXEEXT) testRegexp$(EXEEXT) testReader$(EXEEXT) \
98 testapi$(EXEEXT) testModule$(EXEEXT) runtest$(EXEEXT) \
99 runsuite$(EXEEXT) testchar$(EXEEXT) testdict$(EXEEXT) \
100 runxmlconf$(EXEEXT) testrecurse$(EXEEXT) testlimits$(EXEEXT)
101 bin_PROGRAMS = xmllint$(EXEEXT) xmlcatalog$(EXEEXT)
103 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
104 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
105 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
106 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
107 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
108 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
110 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
111 $(am__configure_deps) $(am__DIST_COMMON)
112 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
113 configure.lineno config.status.lineno
114 mkinstalldirs = $(install_sh) -d
115 CONFIG_HEADER = config.h
116 CONFIG_CLEAN_FILES = libxml2.spec libxml-2.0.pc \
117 libxml-2.0-uninstalled.pc libxml2-config.cmake xml2-config
118 CONFIG_CLEAN_VPATH_FILES =
119 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
120 am__vpath_adj = case $$p in \
121 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
124 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
126 am__nobase_strip_setup = \
127 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
129 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
130 am__nobase_list = $(am__nobase_strip_setup); \
131 for p in $$list; do echo "$$p $$p"; done | \
132 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
133 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
134 if (++n[$$2] == $(am__install_max)) \
135 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
136 END { for (dir in files) print dir, files[dir] }'
138 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
139 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
140 am__uninstall_files_from_dir = { \
142 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
143 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
144 $(am__cd) "$$dir" && rm -f $$files; }; \
146 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
147 "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
148 "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(cmakedir)" \
149 "$(DESTDIR)$(confexecdir)" "$(DESTDIR)$(m4datadir)" \
150 "$(DESTDIR)$(pkgconfigdir)"
151 LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
153 libxml2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
154 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
155 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
156 $(am__DEPENDENCIES_1)
157 am__libxml2_la_SOURCES_DIST = SAX.c entities.c encoding.c error.c \
158 parserInternals.c parser.c tree.c hash.c list.c xmlIO.c \
159 xmlmemory.c uri.c valid.c xlink.c HTMLparser.c HTMLtree.c \
160 debugXML.c xpath.c xpointer.c xinclude.c nanohttp.c nanoftp.c \
161 DOCBparser.c catalog.c globals.c threads.c c14n.c xmlstring.c \
162 buf.c xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
163 triostr.c trio.c xmlreader.c relaxng.c dict.c SAX2.c \
164 xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c xmlmodule.c \
166 @WITH_SAX1_SOURCES_TRUE@am__objects_1 = DOCBparser.lo
167 @WITH_TRIO_SOURCES_TRUE@am__objects_2 = triostr.lo trio.lo
168 am_libxml2_la_OBJECTS = SAX.lo entities.lo encoding.lo error.lo \
169 parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo \
170 xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo \
171 HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo \
172 nanohttp.lo nanoftp.lo $(am__objects_1) catalog.lo globals.lo \
173 threads.lo c14n.lo xmlstring.lo buf.lo xmlregexp.lo \
174 xmlschemas.lo xmlschemastypes.lo xmlunicode.lo \
175 $(am__objects_2) xmlreader.lo relaxng.lo dict.lo SAX2.lo \
176 xmlwriter.lo legacy.lo chvalid.lo pattern.lo xmlsave.lo \
177 xmlmodule.lo schematron.lo xzlib.lo
178 libxml2_la_OBJECTS = $(am_libxml2_la_OBJECTS)
179 AM_V_lt = $(am__v_lt_@AM_V@)
180 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
181 am__v_lt_0 = --silent
183 libxml2_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
184 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
185 $(libxml2_la_LDFLAGS) $(LDFLAGS) -o $@
187 am_testdso_la_OBJECTS = testdso.lo
188 testdso_la_OBJECTS = $(am_testdso_la_OBJECTS)
189 testdso_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
190 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
191 $(testdso_la_LDFLAGS) $(LDFLAGS) -o $@
192 PROGRAMS = $(bin_PROGRAMS)
193 am_runsuite_OBJECTS = runsuite.$(OBJEXT)
194 runsuite_OBJECTS = $(am_runsuite_OBJECTS)
195 am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(top_builddir)/libxml2.la \
196 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
197 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
198 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
199 runsuite_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
200 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
201 $(runsuite_LDFLAGS) $(LDFLAGS) -o $@
202 am_runtest_OBJECTS = runtest.$(OBJEXT)
203 runtest_OBJECTS = $(am_runtest_OBJECTS)
204 runtest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
205 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
206 $(runtest_LDFLAGS) $(LDFLAGS) -o $@
207 am_runxmlconf_OBJECTS = runxmlconf.$(OBJEXT)
208 runxmlconf_OBJECTS = $(am_runxmlconf_OBJECTS)
209 runxmlconf_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
210 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
211 $(runxmlconf_LDFLAGS) $(LDFLAGS) -o $@
212 am_testAutomata_OBJECTS = testAutomata.$(OBJEXT)
213 testAutomata_OBJECTS = $(am_testAutomata_OBJECTS)
214 testAutomata_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
215 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
216 $(testAutomata_LDFLAGS) $(LDFLAGS) -o $@
217 am_testC14N_OBJECTS = testC14N.$(OBJEXT)
218 testC14N_OBJECTS = $(am_testC14N_OBJECTS)
219 testC14N_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
220 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
221 $(testC14N_LDFLAGS) $(LDFLAGS) -o $@
222 am_testHTML_OBJECTS = testHTML.$(OBJEXT)
223 testHTML_OBJECTS = $(am_testHTML_OBJECTS)
224 testHTML_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
225 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
226 $(testHTML_LDFLAGS) $(LDFLAGS) -o $@
227 am_testModule_OBJECTS = testModule.$(OBJEXT)
228 testModule_OBJECTS = $(am_testModule_OBJECTS)
229 testModule_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
230 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
231 $(testModule_LDFLAGS) $(LDFLAGS) -o $@
232 am_testReader_OBJECTS = testReader.$(OBJEXT)
233 testReader_OBJECTS = $(am_testReader_OBJECTS)
234 testReader_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
235 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
236 $(testReader_LDFLAGS) $(LDFLAGS) -o $@
237 am_testRegexp_OBJECTS = testRegexp.$(OBJEXT)
238 testRegexp_OBJECTS = $(am_testRegexp_OBJECTS)
239 testRegexp_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
240 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
241 $(testRegexp_LDFLAGS) $(LDFLAGS) -o $@
242 am_testRelax_OBJECTS = testRelax.$(OBJEXT)
243 testRelax_OBJECTS = $(am_testRelax_OBJECTS)
244 testRelax_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
245 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
246 $(testRelax_LDFLAGS) $(LDFLAGS) -o $@
247 am_testSAX_OBJECTS = testSAX.$(OBJEXT)
248 testSAX_OBJECTS = $(am_testSAX_OBJECTS)
249 testSAX_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
250 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
251 $(testSAX_LDFLAGS) $(LDFLAGS) -o $@
252 am_testSchemas_OBJECTS = testSchemas.$(OBJEXT)
253 testSchemas_OBJECTS = $(am_testSchemas_OBJECTS)
254 testSchemas_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
255 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
256 $(testSchemas_LDFLAGS) $(LDFLAGS) -o $@
257 am__testThreads_SOURCES_DIST = testThreads.c testThreadsWin32.c
258 @THREADS_W32_FALSE@am_testThreads_OBJECTS = testThreads.$(OBJEXT)
259 @THREADS_W32_TRUE@am_testThreads_OBJECTS = testThreadsWin32.$(OBJEXT)
260 testThreads_OBJECTS = $(am_testThreads_OBJECTS)
261 testThreads_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
262 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
263 $(testThreads_LDFLAGS) $(LDFLAGS) -o $@
264 am_testURI_OBJECTS = testURI.$(OBJEXT)
265 testURI_OBJECTS = $(am_testURI_OBJECTS)
266 testURI_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
267 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
268 $(testURI_LDFLAGS) $(LDFLAGS) -o $@
269 am_testXPath_OBJECTS = testXPath.$(OBJEXT)
270 testXPath_OBJECTS = $(am_testXPath_OBJECTS)
271 testXPath_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
272 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
273 $(testXPath_LDFLAGS) $(LDFLAGS) -o $@
274 am_testapi_OBJECTS = testapi.$(OBJEXT)
275 testapi_OBJECTS = $(am_testapi_OBJECTS)
276 testapi_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
277 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
278 $(testapi_LDFLAGS) $(LDFLAGS) -o $@
279 am_testchar_OBJECTS = testchar.$(OBJEXT)
280 testchar_OBJECTS = $(am_testchar_OBJECTS)
281 testchar_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
282 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
283 $(testchar_LDFLAGS) $(LDFLAGS) -o $@
284 am_testdict_OBJECTS = testdict.$(OBJEXT)
285 testdict_OBJECTS = $(am_testdict_OBJECTS)
286 testdict_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
287 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
288 $(testdict_LDFLAGS) $(LDFLAGS) -o $@
289 am_testlimits_OBJECTS = testlimits.$(OBJEXT)
290 testlimits_OBJECTS = $(am_testlimits_OBJECTS)
291 testlimits_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
292 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
293 $(testlimits_LDFLAGS) $(LDFLAGS) -o $@
294 am_testrecurse_OBJECTS = testrecurse.$(OBJEXT)
295 testrecurse_OBJECTS = $(am_testrecurse_OBJECTS)
296 testrecurse_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
297 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
298 $(testrecurse_LDFLAGS) $(LDFLAGS) -o $@
299 am_xmlcatalog_OBJECTS = xmlcatalog.$(OBJEXT)
300 xmlcatalog_OBJECTS = $(am_xmlcatalog_OBJECTS)
301 xmlcatalog_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
302 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
303 $(xmlcatalog_LDFLAGS) $(LDFLAGS) -o $@
304 am_xmllint_OBJECTS = xmllint.$(OBJEXT)
305 xmllint_OBJECTS = $(am_xmllint_OBJECTS)
306 xmllint_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
307 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
308 $(xmllint_LDFLAGS) $(LDFLAGS) -o $@
309 SCRIPTS = $(bin_SCRIPTS)
310 AM_V_P = $(am__v_P_@AM_V@)
311 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
314 AM_V_GEN = $(am__v_GEN_@AM_V@)
315 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
316 am__v_GEN_0 = @echo " GEN " $@;
318 AM_V_at = $(am__v_at_@AM_V@)
319 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
322 DEFAULT_INCLUDES = -I.@am__isrc@
323 depcomp = $(SHELL) $(top_srcdir)/depcomp
324 am__depfiles_maybe = depfiles
326 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
327 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
328 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
329 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
330 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
331 $(AM_CFLAGS) $(CFLAGS)
332 AM_V_CC = $(am__v_CC_@AM_V@)
333 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
334 am__v_CC_0 = @echo " CC " $@;
337 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
338 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
339 $(AM_LDFLAGS) $(LDFLAGS) -o $@
340 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
341 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
342 am__v_CCLD_0 = @echo " CCLD " $@;
344 SOURCES = $(libxml2_la_SOURCES) $(testdso_la_SOURCES) \
345 $(runsuite_SOURCES) $(runtest_SOURCES) $(runxmlconf_SOURCES) \
346 $(testAutomata_SOURCES) $(testC14N_SOURCES) \
347 $(testHTML_SOURCES) $(testModule_SOURCES) \
348 $(testReader_SOURCES) $(testRegexp_SOURCES) \
349 $(testRelax_SOURCES) $(testSAX_SOURCES) $(testSchemas_SOURCES) \
350 $(testThreads_SOURCES) $(testURI_SOURCES) $(testXPath_SOURCES) \
351 $(testapi_SOURCES) $(testchar_SOURCES) $(testdict_SOURCES) \
352 $(testlimits_SOURCES) $(testrecurse_SOURCES) \
353 $(xmlcatalog_SOURCES) $(xmllint_SOURCES)
354 DIST_SOURCES = $(am__libxml2_la_SOURCES_DIST) $(testdso_la_SOURCES) \
355 $(runsuite_SOURCES) $(runtest_SOURCES) $(runxmlconf_SOURCES) \
356 $(testAutomata_SOURCES) $(testC14N_SOURCES) \
357 $(testHTML_SOURCES) $(testModule_SOURCES) \
358 $(testReader_SOURCES) $(testRegexp_SOURCES) \
359 $(testRelax_SOURCES) $(testSAX_SOURCES) $(testSchemas_SOURCES) \
360 $(am__testThreads_SOURCES_DIST) $(testURI_SOURCES) \
361 $(testXPath_SOURCES) $(testapi_SOURCES) $(testchar_SOURCES) \
362 $(testdict_SOURCES) $(testlimits_SOURCES) \
363 $(testrecurse_SOURCES) $(xmlcatalog_SOURCES) \
365 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
366 ctags-recursive dvi-recursive html-recursive info-recursive \
367 install-data-recursive install-dvi-recursive \
368 install-exec-recursive install-html-recursive \
369 install-info-recursive install-pdf-recursive \
370 install-ps-recursive install-recursive installcheck-recursive \
371 installdirs-recursive pdf-recursive ps-recursive \
372 tags-recursive uninstall-recursive
373 am__can_run_installinfo = \
374 case $$AM_UPDATE_INFO_DIR in \
376 *) (install-info --version) >/dev/null 2>&1;; \
378 man1dir = $(mandir)/man1
379 man3dir = $(mandir)/man3
382 DATA = $(cmake_DATA) $(confexec_DATA) $(m4data_DATA) $(pkgconfig_DATA)
383 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
384 distclean-recursive maintainer-clean-recursive
385 am__recursive_targets = \
386 $(RECURSIVE_TARGETS) \
387 $(RECURSIVE_CLEAN_TARGETS) \
388 $(am__extra_recursive_targets)
389 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
390 cscope distdir dist dist-all distcheck
391 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
393 # Read a list of newline-separated strings from the standard input,
394 # and print each of them once, without duplicates. Input order is
396 am__uniquify_input = $(AWK) '\
397 BEGIN { nonempty = 0; } \
398 { items[$$0] = 1; nonempty = 1; } \
399 END { if (nonempty) { for (i in items) print i; }; } \
401 # Make sure the list of sources is unique. This is necessary because,
402 # e.g., the same source file might be shared among _SOURCES variables
403 # for different programs/libraries.
404 am__define_uniq_tagged_files = \
405 list='$(am__tagged_files)'; \
406 unique=`for i in $$list; do \
407 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
408 done | $(am__uniquify_input)`
412 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
413 $(srcdir)/libxml-2.0-uninstalled.pc.in \
414 $(srcdir)/libxml-2.0.pc.in $(srcdir)/libxml.spec.in \
415 $(srcdir)/libxml2-config.cmake.in $(srcdir)/xml2-config.in \
416 AUTHORS COPYING ChangeLog INSTALL NEWS README TODO compile \
417 config.guess config.sub depcomp install-sh ltmain.sh missing
418 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
419 distdir = $(PACKAGE)-$(VERSION)
420 top_distdir = $(distdir)
421 am__remove_distdir = \
422 if test -d "$(distdir)"; then \
423 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
424 && rm -rf "$(distdir)" \
425 || { sleep 5 && rm -rf "$(distdir)"; }; \
427 am__post_remove_distdir = $(am__remove_distdir)
430 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
431 sed_rest='s,^[^/]*/*,,'; \
432 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
433 sed_butlast='s,/*[^/]*$$,,'; \
434 while test -n "$$dir1"; do \
435 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
436 if test "$$first" != "."; then \
437 if test "$$first" = ".."; then \
438 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
439 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
441 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
442 if test "$$first2" = "$$first"; then \
443 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
447 dir0="$$dir0"/"$$first"; \
450 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
453 DIST_ARCHIVES = $(distdir).tar.gz
455 DIST_TARGETS = dist-gzip
456 distuninstallcheck_listfiles = find . -type f -print
457 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
458 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
459 distcleancheck_listfiles = find . -type f -print
462 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
464 AUTOCONF = @AUTOCONF@
465 AUTOHEADER = @AUTOHEADER@
466 AUTOMAKE = @AUTOMAKE@
468 BASE_THREAD_LIBS = @BASE_THREAD_LIBS@
469 C14N_OBJ = @C14N_OBJ@
470 CATALOG_OBJ = @CATALOG_OBJ@
472 CCDEPMODE = @CCDEPMODE@
475 CPPFLAGS = @CPPFLAGS@
476 CYGPATH_W = @CYGPATH_W@
477 CYGWIN_EXTRA_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@
478 CYGWIN_EXTRA_PYTHON_LIBADD = @CYGWIN_EXTRA_PYTHON_LIBADD@
479 DEBUG_OBJ = @DEBUG_OBJ@
483 DOCB_OBJ = @DOCB_OBJ@
484 DSYMUTIL = @DSYMUTIL@
494 HAVE_ISINF = @HAVE_ISINF@
495 HAVE_ISNAN = @HAVE_ISNAN@
496 HTML_DIR = @HTML_DIR@
497 HTML_OBJ = @HTML_OBJ@
498 HTTP_OBJ = @HTTP_OBJ@
499 ICONV_LIBS = @ICONV_LIBS@
500 ICU_CFLAGS = @ICU_CFLAGS@
501 ICU_LIBS = @ICU_LIBS@
503 INSTALL_DATA = @INSTALL_DATA@
504 INSTALL_PROGRAM = @INSTALL_PROGRAM@
505 INSTALL_SCRIPT = @INSTALL_SCRIPT@
506 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
512 LIBXML_MAJOR_VERSION = @LIBXML_MAJOR_VERSION@
513 LIBXML_MICRO_VERSION = @LIBXML_MICRO_VERSION@
514 LIBXML_MINOR_VERSION = @LIBXML_MINOR_VERSION@
515 LIBXML_VERSION = @LIBXML_VERSION@
516 LIBXML_VERSION_EXTRA = @LIBXML_VERSION_EXTRA@
517 LIBXML_VERSION_INFO = @LIBXML_VERSION_INFO@
518 LIBXML_VERSION_NUMBER = @LIBXML_VERSION_NUMBER@
521 LTLIBOBJS = @LTLIBOBJS@
522 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
523 LZMA_CFLAGS = @LZMA_CFLAGS@
524 LZMA_LIBS = @LZMA_LIBS@
526 MAKEINFO = @MAKEINFO@
527 MANIFEST_TOOL = @MANIFEST_TOOL@
529 MODULE_EXTENSION = @MODULE_EXTENSION@
530 MODULE_PLATFORM_LIBS = @MODULE_PLATFORM_LIBS@
540 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
541 PACKAGE_NAME = @PACKAGE_NAME@
542 PACKAGE_STRING = @PACKAGE_STRING@
543 PACKAGE_TARNAME = @PACKAGE_TARNAME@
544 PACKAGE_URL = @PACKAGE_URL@
545 PACKAGE_VERSION = @PACKAGE_VERSION@
546 PATH_SEPARATOR = @PATH_SEPARATOR@
548 PKG_CONFIG = @PKG_CONFIG@
549 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
550 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
552 PYTHON_INCLUDES = @PYTHON_INCLUDES@
553 PYTHON_LIBS = @PYTHON_LIBS@
554 PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
555 PYTHON_SUBDIR = @PYTHON_SUBDIR@
556 PYTHON_TESTS = @PYTHON_TESTS@
557 PYTHON_VERSION = @PYTHON_VERSION@
559 RDL_LIBS = @RDL_LIBS@
560 READER_TEST = @READER_TEST@
563 SET_MAKE = @SET_MAKE@
565 STATIC_BINARIES = @STATIC_BINARIES@
568 TEST_C14N = @TEST_C14N@
569 TEST_CATALOG = @TEST_CATALOG@
570 TEST_DEBUG = @TEST_DEBUG@
571 TEST_HTML = @TEST_HTML@
572 TEST_MODULES = @TEST_MODULES@
573 TEST_PATTERN = @TEST_PATTERN@
574 TEST_PHTML = @TEST_PHTML@
575 TEST_PUSH = @TEST_PUSH@
576 TEST_REGEXPS = @TEST_REGEXPS@
577 TEST_SAX = @TEST_SAX@
578 TEST_SCHEMAS = @TEST_SCHEMAS@
579 TEST_SCHEMATRON = @TEST_SCHEMATRON@
580 TEST_THREADS = @TEST_THREADS@
581 TEST_VALID = @TEST_VALID@
582 TEST_VTIME = @TEST_VTIME@
583 TEST_XINCLUDE = @TEST_XINCLUDE@
584 TEST_XPATH = @TEST_XPATH@
585 TEST_XPTR = @TEST_XPTR@
586 THREAD_CFLAGS = @THREAD_CFLAGS@
587 THREAD_LIBS = @THREAD_LIBS@
589 VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@
591 WIN32_EXTRA_LDFLAGS = @WIN32_EXTRA_LDFLAGS@
592 WIN32_EXTRA_LIBADD = @WIN32_EXTRA_LIBADD@
593 WIN32_EXTRA_PYTHON_LIBADD = @WIN32_EXTRA_PYTHON_LIBADD@
594 WITH_C14N = @WITH_C14N@
595 WITH_CATALOG = @WITH_CATALOG@
596 WITH_DEBUG = @WITH_DEBUG@
597 WITH_DOCB = @WITH_DOCB@
598 WITH_FTP = @WITH_FTP@
599 WITH_HTML = @WITH_HTML@
600 WITH_HTTP = @WITH_HTTP@
601 WITH_ICONV = @WITH_ICONV@
602 WITH_ICU = @WITH_ICU@
603 WITH_ISO8859X = @WITH_ISO8859X@
604 WITH_LEGACY = @WITH_LEGACY@
605 WITH_LZMA = @WITH_LZMA@
606 WITH_MEM_DEBUG = @WITH_MEM_DEBUG@
607 WITH_MODULES = @WITH_MODULES@
608 WITH_OUTPUT = @WITH_OUTPUT@
609 WITH_PATTERN = @WITH_PATTERN@
610 WITH_PUSH = @WITH_PUSH@
611 WITH_READER = @WITH_READER@
612 WITH_REGEXPS = @WITH_REGEXPS@
613 WITH_RUN_DEBUG = @WITH_RUN_DEBUG@
614 WITH_SAX1 = @WITH_SAX1@
615 WITH_SCHEMAS = @WITH_SCHEMAS@
616 WITH_SCHEMATRON = @WITH_SCHEMATRON@
617 WITH_THREADS = @WITH_THREADS@
618 WITH_THREAD_ALLOC = @WITH_THREAD_ALLOC@
619 WITH_TREE = @WITH_TREE@
620 WITH_TRIO = @WITH_TRIO@
621 WITH_VALID = @WITH_VALID@
622 WITH_WRITER = @WITH_WRITER@
623 WITH_XINCLUDE = @WITH_XINCLUDE@
624 WITH_XPATH = @WITH_XPATH@
625 WITH_XPTR = @WITH_XPTR@
626 WITH_ZLIB = @WITH_ZLIB@
627 XINCLUDE_OBJ = @XINCLUDE_OBJ@
629 XML_CFLAGS = @XML_CFLAGS@
630 XML_INCLUDEDIR = @XML_INCLUDEDIR@
631 XML_LIBDIR = @XML_LIBDIR@
632 XML_LIBS = @XML_LIBS@
633 XML_LIBTOOLLIBS = @XML_LIBTOOLLIBS@
634 XPATH_OBJ = @XPATH_OBJ@
635 XPTR_OBJ = @XPTR_OBJ@
636 XSLTPROC = @XSLTPROC@
637 Z_CFLAGS = @Z_CFLAGS@
639 abs_builddir = @abs_builddir@
640 abs_srcdir = @abs_srcdir@
641 abs_top_builddir = @abs_top_builddir@
642 abs_top_srcdir = @abs_top_srcdir@
643 ac_ct_AR = @ac_ct_AR@
644 ac_ct_CC = @ac_ct_CC@
645 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
646 am__include = @am__include@
647 am__leading_dot = @am__leading_dot@
648 am__quote = @am__quote@
650 am__untar = @am__untar@
653 build_alias = @build_alias@
654 build_cpu = @build_cpu@
655 build_os = @build_os@
656 build_vendor = @build_vendor@
657 builddir = @builddir@
659 datarootdir = @datarootdir@
662 exec_prefix = @exec_prefix@
664 host_alias = @host_alias@
665 host_cpu = @host_cpu@
667 host_vendor = @host_vendor@
669 includedir = @includedir@
671 install_sh = @install_sh@
673 libexecdir = @libexecdir@
674 localedir = @localedir@
675 localstatedir = @localstatedir@
678 oldincludedir = @oldincludedir@
681 program_transform_name = @program_transform_name@
683 pythondir = @pythondir@
685 sharedstatedir = @sharedstatedir@
687 sysconfdir = @sysconfdir@
688 target_alias = @target_alias@
689 top_build_prefix = @top_build_prefix@
690 top_builddir = @top_builddir@
691 top_srcdir = @top_srcdir@
692 ACLOCAL_AMFLAGS = -I m4
693 SUBDIRS = include . doc example xstc $(PYTHON_SUBDIR)
694 DIST_SUBDIRS = include . doc example python xstc
695 AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include
696 AM_CFLAGS = $(THREAD_CFLAGS) $(Z_CFLAGS) $(LZMA_CFLAGS)
697 bin_SCRIPTS = xml2-config
698 lib_LTLIBRARIES = libxml2.la
699 libxml2_la_LIBADD = $(ICU_LIBS) $(THREAD_LIBS) $(Z_LIBS) $(LZMA_LIBS) $(ICONV_LIBS) $(M_LIBS) $(WIN32_EXTRA_LIBADD)
700 @USE_VERSION_SCRIPT_FALSE@LIBXML2_VERSION_SCRIPT =
701 @USE_VERSION_SCRIPT_TRUE@LIBXML2_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libxml2.syms
702 libxml2_la_LDFLAGS = $(CYGWIN_EXTRA_LDFLAGS) $(WIN32_EXTRA_LDFLAGS) \
703 $(LIBXML2_VERSION_SCRIPT) \
704 -version-info $(LIBXML_VERSION_INFO) \
705 $(MODULE_PLATFORM_LIBS)
707 @WITH_SAX1_SOURCES_FALSE@docb_sources =
708 @WITH_SAX1_SOURCES_TRUE@docb_sources = DOCBparser.c
709 @WITH_TRIO_SOURCES_FALSE@trio_sources =
710 @WITH_TRIO_SOURCES_TRUE@trio_sources = triostr.c trio.c
711 libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \
712 parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \
713 valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \
714 xpointer.c xinclude.c nanohttp.c nanoftp.c \
716 catalog.c globals.c threads.c c14n.c xmlstring.c buf.c \
717 xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
719 xmlreader.c relaxng.c dict.c SAX2.c \
720 xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c \
721 xmlmodule.c schematron.c xzlib.c
723 DEPS = $(top_builddir)/libxml2.la
724 LDADDS = $(STATIC_BINARIES) $(top_builddir)/libxml2.la $(THREAD_LIBS) $(Z_LIBS) $(LZMA_LIBS) $(ICONV_LIBS) $(M_LIBS) $(WIN32_EXTRA_LIBADD)
725 man_MANS = xml2-config.1 libxml.3
726 m4datadir = $(datadir)/aclocal
727 m4data_DATA = libxml.m4
728 runtest_SOURCES = runtest.c
730 runtest_DEPENDENCIES = $(DEPS)
731 runtest_LDADD = $(BASE_THREAD_LIBS) $(RDL_LIBS) $(LDADDS)
732 testrecurse_SOURCES = testrecurse.c
733 testrecurse_LDFLAGS =
734 testrecurse_DEPENDENCIES = $(DEPS)
735 testrecurse_LDADD = $(BASE_THREAD_LIBS) $(RDL_LIBS) $(LDADDS)
736 testlimits_SOURCES = testlimits.c
738 testlimits_DEPENDENCIES = $(DEPS)
739 testlimits_LDADD = $(BASE_THREAD_LIBS) $(RDL_LIBS) $(LDADDS)
740 testchar_SOURCES = testchar.c
742 testchar_DEPENDENCIES = $(DEPS)
743 testchar_LDADD = $(RDL_LIBS) $(LDADDS)
744 testdict_SOURCES = testdict.c
746 testdict_DEPENDENCIES = $(DEPS)
747 testdict_LDADD = $(RDL_LIBS) $(LDADDS)
748 runsuite_SOURCES = runsuite.c
750 runsuite_DEPENDENCIES = $(DEPS)
751 runsuite_LDADD = $(RDL_LIBS) $(LDADDS)
752 xmllint_SOURCES = xmllint.c
754 xmllint_DEPENDENCIES = $(DEPS)
755 xmllint_LDADD = $(RDL_LIBS) $(LDADDS)
756 testSAX_SOURCES = testSAX.c
758 testSAX_DEPENDENCIES = $(DEPS)
759 testSAX_LDADD = $(LDADDS)
760 testHTML_SOURCES = testHTML.c
762 testHTML_DEPENDENCIES = $(DEPS)
763 testHTML_LDADD = $(LDADDS)
764 xmlcatalog_SOURCES = xmlcatalog.c
766 xmlcatalog_DEPENDENCIES = $(DEPS)
767 xmlcatalog_LDADD = $(RDL_LIBS) $(LDADDS)
768 testXPath_SOURCES = testXPath.c
770 testXPath_DEPENDENCIES = $(DEPS)
771 testXPath_LDADD = $(LDADDS)
772 testC14N_SOURCES = testC14N.c
774 testC14N_DEPENDENCIES = $(DEPS)
775 testC14N_LDADD = $(LDADDS)
776 @THREADS_W32_FALSE@testThreads_SOURCES = testThreads.c
777 @THREADS_W32_TRUE@testThreads_SOURCES = testThreadsWin32.c
778 testThreads_LDFLAGS =
779 testThreads_DEPENDENCIES = $(DEPS)
780 testThreads_LDADD = $(BASE_THREAD_LIBS) $(LDADDS)
781 testURI_SOURCES = testURI.c
783 testURI_DEPENDENCIES = $(DEPS)
784 testURI_LDADD = $(LDADDS)
785 testRegexp_SOURCES = testRegexp.c
787 testRegexp_DEPENDENCIES = $(DEPS)
788 testRegexp_LDADD = $(LDADDS)
789 testAutomata_SOURCES = testAutomata.c
790 testAutomata_LDFLAGS =
791 testAutomata_DEPENDENCIES = $(DEPS)
792 testAutomata_LDADD = $(LDADDS)
793 testSchemas_SOURCES = testSchemas.c
794 testSchemas_LDFLAGS =
795 testSchemas_DEPENDENCIES = $(DEPS)
796 testSchemas_LDADD = $(LDADDS)
797 testRelax_SOURCES = testRelax.c
799 testRelax_DEPENDENCIES = $(DEPS)
800 testRelax_LDADD = $(LDADDS)
801 testReader_SOURCES = testReader.c
803 testReader_DEPENDENCIES = $(DEPS)
804 testReader_LDADD = $(LDADDS)
805 testModule_SOURCES = testModule.c
807 testModule_DEPENDENCIES = $(DEPS)
808 testModule_LDADD = $(LDADDS)
809 noinst_LTLIBRARIES = testdso.la
810 testdso_la_SOURCES = testdso.c
811 testdso_la_LDFLAGS = -module -no-undefined -avoid-version -rpath $(libdir)
812 BUILT_SOURCES = testapi.c
813 testapi_SOURCES = testapi.c
815 testapi_DEPENDENCIES = $(DEPS)
816 testapi_LDADD = $(LDADDS)
817 runxmlconf_SOURCES = runxmlconf.c
819 runxmlconf_DEPENDENCIES = $(DEPS)
820 runxmlconf_LDADD = $(LDADDS)
821 CLEANFILES = runxmlconf.log test.out xml2Conf.sh *.gcda *.gcno *.res
822 DISTCLEANFILES = COPYING missing.lst
823 confexecdir = $(libdir)
824 confexec_DATA = xml2Conf.sh
826 EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \
827 libxml.m4 Copyright check-xml-test-suite.py gentest.py \
828 check-relaxng-test-suite.py check-relaxng-test-suite2.py \
829 check-xsddata-test-suite.py check-xinclude-test-suite.py \
830 example/Makefile.am example/gjobread.c example/gjobs.xml \
831 $(man_MANS) libxml-2.0.pc.in libxml-2.0-uninstalled.pc.in \
832 libxml2-config.cmake.in autogen.sh \
833 trionan.c trionan.h triostr.c triostr.h trio.c trio.h \
834 triop.h triodef.h libxml.h elfgcchack.h xzlib.h buf.h \
835 enc.h save.h testThreadsWin32.c genUnicode.py TODO_SCHEMAS \
836 dbgen.pl dbgenattr.pl regressions.py regressions.xml \
837 README.tests Makefile.tests libxml2.syms timsort.h \
841 pkgconfigdir = $(libdir)/pkgconfig
842 pkgconfig_DATA = libxml-2.0.pc
843 cmakedir = $(libdir)/cmake/libxml2
844 cmake_DATA = libxml2-config.cmake
847 # Install the tests program sources as examples
849 BASE_DIR = $(datadir)/doc
850 DOC_MODULE = libxml2-$(VERSION)
851 EXAMPLES_DIR = $(BASE_DIR)/$(DOC_MODULE)/examples
854 # Coverage support, largely borrowed from libvirt
855 # Both binaries comes from the lcov package in Fedora
858 GENHTML = /usr/bin/genhtml
859 all: $(BUILT_SOURCES) config.h
860 $(MAKE) $(AM_MAKEFLAGS) all-recursive
863 .SUFFIXES: .c .lo .o .obj
864 am--refresh: Makefile
866 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
868 case '$(am__configure_deps)' in \
870 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
871 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
876 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
877 $(am__cd) $(top_srcdir) && \
878 $(AUTOMAKE) --gnu Makefile
879 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
882 echo ' $(SHELL) ./config.status'; \
883 $(SHELL) ./config.status;; \
885 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
886 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
889 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
890 $(SHELL) ./config.status --recheck
892 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
893 $(am__cd) $(srcdir) && $(AUTOCONF)
894 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
895 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
896 $(am__aclocal_m4_deps):
899 @test -f $@ || rm -f stamp-h1
900 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
902 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
904 cd $(top_builddir) && $(SHELL) ./config.status config.h
905 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
906 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
911 -rm -f config.h stamp-h1
912 libxml2.spec: $(top_builddir)/config.status $(srcdir)/libxml.spec.in
913 cd $(top_builddir) && $(SHELL) ./config.status $@
914 libxml-2.0.pc: $(top_builddir)/config.status $(srcdir)/libxml-2.0.pc.in
915 cd $(top_builddir) && $(SHELL) ./config.status $@
916 libxml-2.0-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/libxml-2.0-uninstalled.pc.in
917 cd $(top_builddir) && $(SHELL) ./config.status $@
918 libxml2-config.cmake: $(top_builddir)/config.status $(srcdir)/libxml2-config.cmake.in
919 cd $(top_builddir) && $(SHELL) ./config.status $@
920 xml2-config: $(top_builddir)/config.status $(srcdir)/xml2-config.in
921 cd $(top_builddir) && $(SHELL) ./config.status $@
923 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
925 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
926 list2=; for p in $$list; do \
927 if test -f $$p; then \
928 list2="$$list2 $$p"; \
931 test -z "$$list2" || { \
932 echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
933 $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
934 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
935 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
938 uninstall-libLTLIBRARIES:
940 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
941 for p in $$list; do \
943 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
944 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
947 clean-libLTLIBRARIES:
948 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
949 @list='$(lib_LTLIBRARIES)'; \
950 locs=`for p in $$list; do echo $$p; done | \
951 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
953 test -z "$$locs" || { \
954 echo rm -f $${locs}; \
958 clean-noinstLTLIBRARIES:
959 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
960 @list='$(noinst_LTLIBRARIES)'; \
961 locs=`for p in $$list; do echo $$p; done | \
962 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
964 test -z "$$locs" || { \
965 echo rm -f $${locs}; \
969 libxml2.la: $(libxml2_la_OBJECTS) $(libxml2_la_DEPENDENCIES) $(EXTRA_libxml2_la_DEPENDENCIES)
970 $(AM_V_CCLD)$(libxml2_la_LINK) -rpath $(libdir) $(libxml2_la_OBJECTS) $(libxml2_la_LIBADD) $(LIBS)
972 testdso.la: $(testdso_la_OBJECTS) $(testdso_la_DEPENDENCIES) $(EXTRA_testdso_la_DEPENDENCIES)
973 $(AM_V_CCLD)$(testdso_la_LINK) $(testdso_la_OBJECTS) $(testdso_la_LIBADD) $(LIBS)
974 install-binPROGRAMS: $(bin_PROGRAMS)
976 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
977 if test -n "$$list"; then \
978 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
979 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
981 for p in $$list; do echo "$$p $$p"; done | \
982 sed 's/$(EXEEXT)$$//' | \
983 while read p p1; do if test -f $$p \
985 ; then echo "$$p"; echo "$$p"; else :; fi; \
987 sed -e 'p;s,.*/,,;n;h' \
989 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
990 sed 'N;N;N;s,\n, ,g' | \
991 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
992 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
993 if ($$2 == $$4) files[d] = files[d] " " $$1; \
994 else { print "f", $$3 "/" $$4, $$1; } } \
995 END { for (d in files) print "f", d, files[d] }' | \
996 while read type dir files; do \
997 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
998 test -z "$$files" || { \
999 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
1000 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
1004 uninstall-binPROGRAMS:
1005 @$(NORMAL_UNINSTALL)
1006 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
1007 files=`for p in $$list; do echo "$$p"; done | \
1008 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
1009 -e 's/$$/$(EXEEXT)/' \
1011 test -n "$$list" || exit 0; \
1012 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
1013 cd "$(DESTDIR)$(bindir)" && rm -f $$files
1016 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
1017 echo " rm -f" $$list; \
1018 rm -f $$list || exit $$?; \
1019 test -n "$(EXEEXT)" || exit 0; \
1020 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1021 echo " rm -f" $$list; \
1024 clean-checkPROGRAMS:
1025 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
1026 echo " rm -f" $$list; \
1027 rm -f $$list || exit $$?; \
1028 test -n "$(EXEEXT)" || exit 0; \
1029 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1030 echo " rm -f" $$list; \
1033 runsuite$(EXEEXT): $(runsuite_OBJECTS) $(runsuite_DEPENDENCIES) $(EXTRA_runsuite_DEPENDENCIES)
1034 @rm -f runsuite$(EXEEXT)
1035 $(AM_V_CCLD)$(runsuite_LINK) $(runsuite_OBJECTS) $(runsuite_LDADD) $(LIBS)
1037 runtest$(EXEEXT): $(runtest_OBJECTS) $(runtest_DEPENDENCIES) $(EXTRA_runtest_DEPENDENCIES)
1038 @rm -f runtest$(EXEEXT)
1039 $(AM_V_CCLD)$(runtest_LINK) $(runtest_OBJECTS) $(runtest_LDADD) $(LIBS)
1041 runxmlconf$(EXEEXT): $(runxmlconf_OBJECTS) $(runxmlconf_DEPENDENCIES) $(EXTRA_runxmlconf_DEPENDENCIES)
1042 @rm -f runxmlconf$(EXEEXT)
1043 $(AM_V_CCLD)$(runxmlconf_LINK) $(runxmlconf_OBJECTS) $(runxmlconf_LDADD) $(LIBS)
1045 testAutomata$(EXEEXT): $(testAutomata_OBJECTS) $(testAutomata_DEPENDENCIES) $(EXTRA_testAutomata_DEPENDENCIES)
1046 @rm -f testAutomata$(EXEEXT)
1047 $(AM_V_CCLD)$(testAutomata_LINK) $(testAutomata_OBJECTS) $(testAutomata_LDADD) $(LIBS)
1049 testC14N$(EXEEXT): $(testC14N_OBJECTS) $(testC14N_DEPENDENCIES) $(EXTRA_testC14N_DEPENDENCIES)
1050 @rm -f testC14N$(EXEEXT)
1051 $(AM_V_CCLD)$(testC14N_LINK) $(testC14N_OBJECTS) $(testC14N_LDADD) $(LIBS)
1053 testHTML$(EXEEXT): $(testHTML_OBJECTS) $(testHTML_DEPENDENCIES) $(EXTRA_testHTML_DEPENDENCIES)
1054 @rm -f testHTML$(EXEEXT)
1055 $(AM_V_CCLD)$(testHTML_LINK) $(testHTML_OBJECTS) $(testHTML_LDADD) $(LIBS)
1057 testModule$(EXEEXT): $(testModule_OBJECTS) $(testModule_DEPENDENCIES) $(EXTRA_testModule_DEPENDENCIES)
1058 @rm -f testModule$(EXEEXT)
1059 $(AM_V_CCLD)$(testModule_LINK) $(testModule_OBJECTS) $(testModule_LDADD) $(LIBS)
1061 testReader$(EXEEXT): $(testReader_OBJECTS) $(testReader_DEPENDENCIES) $(EXTRA_testReader_DEPENDENCIES)
1062 @rm -f testReader$(EXEEXT)
1063 $(AM_V_CCLD)$(testReader_LINK) $(testReader_OBJECTS) $(testReader_LDADD) $(LIBS)
1065 testRegexp$(EXEEXT): $(testRegexp_OBJECTS) $(testRegexp_DEPENDENCIES) $(EXTRA_testRegexp_DEPENDENCIES)
1066 @rm -f testRegexp$(EXEEXT)
1067 $(AM_V_CCLD)$(testRegexp_LINK) $(testRegexp_OBJECTS) $(testRegexp_LDADD) $(LIBS)
1069 testRelax$(EXEEXT): $(testRelax_OBJECTS) $(testRelax_DEPENDENCIES) $(EXTRA_testRelax_DEPENDENCIES)
1070 @rm -f testRelax$(EXEEXT)
1071 $(AM_V_CCLD)$(testRelax_LINK) $(testRelax_OBJECTS) $(testRelax_LDADD) $(LIBS)
1073 testSAX$(EXEEXT): $(testSAX_OBJECTS) $(testSAX_DEPENDENCIES) $(EXTRA_testSAX_DEPENDENCIES)
1074 @rm -f testSAX$(EXEEXT)
1075 $(AM_V_CCLD)$(testSAX_LINK) $(testSAX_OBJECTS) $(testSAX_LDADD) $(LIBS)
1077 testSchemas$(EXEEXT): $(testSchemas_OBJECTS) $(testSchemas_DEPENDENCIES) $(EXTRA_testSchemas_DEPENDENCIES)
1078 @rm -f testSchemas$(EXEEXT)
1079 $(AM_V_CCLD)$(testSchemas_LINK) $(testSchemas_OBJECTS) $(testSchemas_LDADD) $(LIBS)
1081 testThreads$(EXEEXT): $(testThreads_OBJECTS) $(testThreads_DEPENDENCIES) $(EXTRA_testThreads_DEPENDENCIES)
1082 @rm -f testThreads$(EXEEXT)
1083 $(AM_V_CCLD)$(testThreads_LINK) $(testThreads_OBJECTS) $(testThreads_LDADD) $(LIBS)
1085 testURI$(EXEEXT): $(testURI_OBJECTS) $(testURI_DEPENDENCIES) $(EXTRA_testURI_DEPENDENCIES)
1086 @rm -f testURI$(EXEEXT)
1087 $(AM_V_CCLD)$(testURI_LINK) $(testURI_OBJECTS) $(testURI_LDADD) $(LIBS)
1089 testXPath$(EXEEXT): $(testXPath_OBJECTS) $(testXPath_DEPENDENCIES) $(EXTRA_testXPath_DEPENDENCIES)
1090 @rm -f testXPath$(EXEEXT)
1091 $(AM_V_CCLD)$(testXPath_LINK) $(testXPath_OBJECTS) $(testXPath_LDADD) $(LIBS)
1093 testapi$(EXEEXT): $(testapi_OBJECTS) $(testapi_DEPENDENCIES) $(EXTRA_testapi_DEPENDENCIES)
1094 @rm -f testapi$(EXEEXT)
1095 $(AM_V_CCLD)$(testapi_LINK) $(testapi_OBJECTS) $(testapi_LDADD) $(LIBS)
1097 testchar$(EXEEXT): $(testchar_OBJECTS) $(testchar_DEPENDENCIES) $(EXTRA_testchar_DEPENDENCIES)
1098 @rm -f testchar$(EXEEXT)
1099 $(AM_V_CCLD)$(testchar_LINK) $(testchar_OBJECTS) $(testchar_LDADD) $(LIBS)
1101 testdict$(EXEEXT): $(testdict_OBJECTS) $(testdict_DEPENDENCIES) $(EXTRA_testdict_DEPENDENCIES)
1102 @rm -f testdict$(EXEEXT)
1103 $(AM_V_CCLD)$(testdict_LINK) $(testdict_OBJECTS) $(testdict_LDADD) $(LIBS)
1105 testlimits$(EXEEXT): $(testlimits_OBJECTS) $(testlimits_DEPENDENCIES) $(EXTRA_testlimits_DEPENDENCIES)
1106 @rm -f testlimits$(EXEEXT)
1107 $(AM_V_CCLD)$(testlimits_LINK) $(testlimits_OBJECTS) $(testlimits_LDADD) $(LIBS)
1109 testrecurse$(EXEEXT): $(testrecurse_OBJECTS) $(testrecurse_DEPENDENCIES) $(EXTRA_testrecurse_DEPENDENCIES)
1110 @rm -f testrecurse$(EXEEXT)
1111 $(AM_V_CCLD)$(testrecurse_LINK) $(testrecurse_OBJECTS) $(testrecurse_LDADD) $(LIBS)
1113 xmlcatalog$(EXEEXT): $(xmlcatalog_OBJECTS) $(xmlcatalog_DEPENDENCIES) $(EXTRA_xmlcatalog_DEPENDENCIES)
1114 @rm -f xmlcatalog$(EXEEXT)
1115 $(AM_V_CCLD)$(xmlcatalog_LINK) $(xmlcatalog_OBJECTS) $(xmlcatalog_LDADD) $(LIBS)
1117 xmllint$(EXEEXT): $(xmllint_OBJECTS) $(xmllint_DEPENDENCIES) $(EXTRA_xmllint_DEPENDENCIES)
1118 @rm -f xmllint$(EXEEXT)
1119 $(AM_V_CCLD)$(xmllint_LINK) $(xmllint_OBJECTS) $(xmllint_LDADD) $(LIBS)
1120 install-binSCRIPTS: $(bin_SCRIPTS)
1122 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
1123 if test -n "$$list"; then \
1124 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
1125 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
1127 for p in $$list; do \
1128 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1129 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
1131 sed -e 'p;s,.*/,,;n' \
1133 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
1134 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
1135 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1136 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
1137 if (++n[d] == $(am__install_max)) { \
1138 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
1139 else { print "f", d "/" $$4, $$1 } } \
1140 END { for (d in files) print "f", d, files[d] }' | \
1141 while read type dir files; do \
1142 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1143 test -z "$$files" || { \
1144 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
1145 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
1149 uninstall-binSCRIPTS:
1150 @$(NORMAL_UNINSTALL)
1151 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
1152 files=`for p in $$list; do echo "$$p"; done | \
1153 sed -e 's,.*/,,;$(transform)'`; \
1154 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
1156 mostlyclean-compile:
1162 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DOCBparser.Plo@am__quote@
1163 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HTMLparser.Plo@am__quote@
1164 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HTMLtree.Plo@am__quote@
1165 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SAX.Plo@am__quote@
1166 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SAX2.Plo@am__quote@
1167 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/buf.Plo@am__quote@
1168 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c14n.Plo@am__quote@
1169 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/catalog.Plo@am__quote@
1170 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chvalid.Plo@am__quote@
1171 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/debugXML.Plo@am__quote@
1172 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dict.Plo@am__quote@
1173 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoding.Plo@am__quote@
1174 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/entities.Plo@am__quote@
1175 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@
1176 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/globals.Plo@am__quote@
1177 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Plo@am__quote@
1178 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/legacy.Plo@am__quote@
1179 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@
1180 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanoftp.Plo@am__quote@
1181 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanohttp.Plo@am__quote@
1182 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parser.Plo@am__quote@
1183 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parserInternals.Plo@am__quote@
1184 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pattern.Plo@am__quote@
1185 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/relaxng.Plo@am__quote@
1186 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runsuite.Po@am__quote@
1187 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runtest.Po@am__quote@
1188 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runxmlconf.Po@am__quote@
1189 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/schematron.Plo@am__quote@
1190 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testAutomata.Po@am__quote@
1191 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testC14N.Po@am__quote@
1192 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testHTML.Po@am__quote@
1193 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testModule.Po@am__quote@
1194 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testReader.Po@am__quote@
1195 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testRegexp.Po@am__quote@
1196 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testRelax.Po@am__quote@
1197 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testSAX.Po@am__quote@
1198 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testSchemas.Po@am__quote@
1199 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testThreads.Po@am__quote@
1200 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testThreadsWin32.Po@am__quote@
1201 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testURI.Po@am__quote@
1202 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testXPath.Po@am__quote@
1203 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testapi.Po@am__quote@
1204 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testchar.Po@am__quote@
1205 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdict.Po@am__quote@
1206 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdso.Plo@am__quote@
1207 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testlimits.Po@am__quote@
1208 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testrecurse.Po@am__quote@
1209 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/threads.Plo@am__quote@
1210 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@
1211 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trio.Plo@am__quote@
1212 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/triostr.Plo@am__quote@
1213 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uri.Plo@am__quote@
1214 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/valid.Plo@am__quote@
1215 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xinclude.Plo@am__quote@
1216 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xlink.Plo@am__quote@
1217 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlIO.Plo@am__quote@
1218 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlcatalog.Po@am__quote@
1219 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmllint.Po@am__quote@
1220 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlmemory.Plo@am__quote@
1221 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlmodule.Plo@am__quote@
1222 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlreader.Plo@am__quote@
1223 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlregexp.Plo@am__quote@
1224 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlsave.Plo@am__quote@
1225 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlschemas.Plo@am__quote@
1226 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlschemastypes.Plo@am__quote@
1227 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlstring.Plo@am__quote@
1228 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlunicode.Plo@am__quote@
1229 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlwriter.Plo@am__quote@
1230 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xpath.Plo@am__quote@
1231 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xpointer.Plo@am__quote@
1232 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xzlib.Plo@am__quote@
1235 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1236 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1237 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1238 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1239 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1242 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1243 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1244 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1245 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1246 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1249 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1250 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
1251 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1252 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1253 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
1255 mostlyclean-libtool:
1262 -rm -f libtool config.lt
1263 install-man1: $(man_MANS)
1266 list2='$(man_MANS)'; \
1267 test -n "$(man1dir)" \
1268 && test -n "`echo $$list1$$list2`" \
1270 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
1271 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
1272 { for i in $$list1; do echo "$$i"; done; \
1273 if test -n "$$list2"; then \
1274 for i in $$list2; do echo "$$i"; done \
1275 | sed -n '/\.1[a-z]*$$/p'; \
1277 } | while read p; do \
1278 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1279 echo "$$d$$p"; echo "$$p"; \
1281 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
1282 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1283 sed 'N;N;s,\n, ,g' | { \
1284 list=; while read file base inst; do \
1285 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1286 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
1287 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
1290 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1291 while read files; do \
1292 test -z "$$files" || { \
1293 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
1294 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
1298 @$(NORMAL_UNINSTALL)
1299 @list=''; test -n "$(man1dir)" || exit 0; \
1300 files=`{ for i in $$list; do echo "$$i"; done; \
1301 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1302 sed -n '/\.1[a-z]*$$/p'; \
1303 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
1304 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1305 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
1306 install-man3: $(man_MANS)
1309 list2='$(man_MANS)'; \
1310 test -n "$(man3dir)" \
1311 && test -n "`echo $$list1$$list2`" \
1313 echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
1314 $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
1315 { for i in $$list1; do echo "$$i"; done; \
1316 if test -n "$$list2"; then \
1317 for i in $$list2; do echo "$$i"; done \
1318 | sed -n '/\.3[a-z]*$$/p'; \
1320 } | while read p; do \
1321 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1322 echo "$$d$$p"; echo "$$p"; \
1324 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1325 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1326 sed 'N;N;s,\n, ,g' | { \
1327 list=; while read file base inst; do \
1328 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1329 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
1330 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
1333 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1334 while read files; do \
1335 test -z "$$files" || { \
1336 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
1337 $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
1341 @$(NORMAL_UNINSTALL)
1342 @list=''; test -n "$(man3dir)" || exit 0; \
1343 files=`{ for i in $$list; do echo "$$i"; done; \
1344 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1345 sed -n '/\.3[a-z]*$$/p'; \
1346 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1347 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1348 dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
1349 install-cmakeDATA: $(cmake_DATA)
1351 @list='$(cmake_DATA)'; test -n "$(cmakedir)" || list=; \
1352 if test -n "$$list"; then \
1353 echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
1354 $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
1356 for p in $$list; do \
1357 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1359 done | $(am__base_list) | \
1360 while read files; do \
1361 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
1362 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
1365 uninstall-cmakeDATA:
1366 @$(NORMAL_UNINSTALL)
1367 @list='$(cmake_DATA)'; test -n "$(cmakedir)" || list=; \
1368 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1369 dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
1370 install-confexecDATA: $(confexec_DATA)
1372 @list='$(confexec_DATA)'; test -n "$(confexecdir)" || list=; \
1373 if test -n "$$list"; then \
1374 echo " $(MKDIR_P) '$(DESTDIR)$(confexecdir)'"; \
1375 $(MKDIR_P) "$(DESTDIR)$(confexecdir)" || exit 1; \
1377 for p in $$list; do \
1378 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1380 done | $(am__base_list) | \
1381 while read files; do \
1382 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(confexecdir)'"; \
1383 $(INSTALL_DATA) $$files "$(DESTDIR)$(confexecdir)" || exit $$?; \
1386 uninstall-confexecDATA:
1387 @$(NORMAL_UNINSTALL)
1388 @list='$(confexec_DATA)'; test -n "$(confexecdir)" || list=; \
1389 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1390 dir='$(DESTDIR)$(confexecdir)'; $(am__uninstall_files_from_dir)
1391 install-m4dataDATA: $(m4data_DATA)
1393 @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \
1394 if test -n "$$list"; then \
1395 echo " $(MKDIR_P) '$(DESTDIR)$(m4datadir)'"; \
1396 $(MKDIR_P) "$(DESTDIR)$(m4datadir)" || exit 1; \
1398 for p in $$list; do \
1399 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1401 done | $(am__base_list) | \
1402 while read files; do \
1403 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(m4datadir)'"; \
1404 $(INSTALL_DATA) $$files "$(DESTDIR)$(m4datadir)" || exit $$?; \
1407 uninstall-m4dataDATA:
1408 @$(NORMAL_UNINSTALL)
1409 @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \
1410 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1411 dir='$(DESTDIR)$(m4datadir)'; $(am__uninstall_files_from_dir)
1412 install-pkgconfigDATA: $(pkgconfig_DATA)
1414 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1415 if test -n "$$list"; then \
1416 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
1417 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
1419 for p in $$list; do \
1420 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1422 done | $(am__base_list) | \
1423 while read files; do \
1424 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
1425 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
1428 uninstall-pkgconfigDATA:
1429 @$(NORMAL_UNINSTALL)
1430 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1431 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1432 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
1434 # This directory's subdirectories are mostly independent; you can cd
1435 # into them and run 'make' without going through this Makefile.
1436 # To change the values of 'make' variables: instead of editing Makefiles,
1437 # (1) if the variable is set in 'config.status', edit 'config.status'
1438 # (which will cause the Makefiles to be regenerated when you run 'make');
1439 # (2) otherwise, pass the desired values on the 'make' command line.
1440 $(am__recursive_targets):
1442 if $(am__make_keepgoing); then \
1443 failcom='fail=yes'; \
1448 target=`echo $@ | sed s/-recursive//`; \
1450 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1451 *) list='$(SUBDIRS)' ;; \
1453 for subdir in $$list; do \
1454 echo "Making $$target in $$subdir"; \
1455 if test "$$subdir" = "."; then \
1457 local_target="$$target-am"; \
1459 local_target="$$target"; \
1461 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1462 || eval $$failcom; \
1464 if test "$$dot_seen" = "no"; then \
1465 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1466 fi; test -z "$$fail"
1468 ID: $(am__tagged_files)
1469 $(am__define_uniq_tagged_files); mkid -fID $$unique
1470 tags: tags-recursive
1473 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1476 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1477 include_option=--etags-include; \
1480 include_option=--include; \
1483 list='$(SUBDIRS)'; for subdir in $$list; do \
1484 if test "$$subdir" = .; then :; else \
1485 test ! -f $$subdir/TAGS || \
1486 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1489 $(am__define_uniq_tagged_files); \
1491 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1492 test -n "$$unique" || unique=$$empty_fix; \
1493 if test $$# -gt 0; then \
1494 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1497 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1501 ctags: ctags-recursive
1504 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1505 $(am__define_uniq_tagged_files); \
1506 test -z "$(CTAGS_ARGS)$$unique" \
1507 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1511 here=`$(am__cd) $(top_builddir) && pwd` \
1512 && $(am__cd) $(top_srcdir) \
1513 && gtags -i $(GTAGS_ARGS) "$$here"
1514 cscope: cscope.files
1515 test ! -s cscope.files \
1516 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1519 cscope.files: clean-cscope cscopelist
1520 cscopelist: cscopelist-recursive
1522 cscopelist-am: $(am__tagged_files)
1523 list='$(am__tagged_files)'; \
1524 case "$(srcdir)" in \
1525 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1526 *) sdir=$(subdir)/$(srcdir) ;; \
1528 for i in $$list; do \
1529 if test -f "$$i"; then \
1530 echo "$(subdir)/$$i"; \
1532 echo "$$sdir/$$i"; \
1534 done >> $(top_builddir)/cscope.files
1537 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1538 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1540 distdir: $(DISTFILES)
1541 $(am__remove_distdir)
1542 test -d "$(distdir)" || mkdir "$(distdir)"
1543 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1544 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1545 list='$(DISTFILES)'; \
1546 dist_files=`for file in $$list; do echo $$file; done | \
1547 sed -e "s|^$$srcdirstrip/||;t" \
1548 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1549 case $$dist_files in \
1550 */*) $(MKDIR_P) `echo "$$dist_files" | \
1551 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1554 for file in $$dist_files; do \
1555 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1556 if test -d $$d/$$file; then \
1557 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1558 if test -d "$(distdir)/$$file"; then \
1559 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1561 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1562 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1563 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1565 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1567 test -f "$(distdir)/$$file" \
1568 || cp -p $$d/$$file "$(distdir)/$$file" \
1572 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1573 if test "$$subdir" = .; then :; else \
1574 $(am__make_dryrun) \
1575 || test -d "$(distdir)/$$subdir" \
1576 || $(MKDIR_P) "$(distdir)/$$subdir" \
1578 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1579 $(am__relativize); \
1580 new_distdir=$$reldir; \
1581 dir1=$$subdir; dir2="$(top_distdir)"; \
1582 $(am__relativize); \
1583 new_top_distdir=$$reldir; \
1584 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1585 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1586 ($(am__cd) $$subdir && \
1587 $(MAKE) $(AM_MAKEFLAGS) \
1588 top_distdir="$$new_top_distdir" \
1589 distdir="$$new_distdir" \
1590 am__remove_distdir=: \
1591 am__skip_length_check=: \
1592 am__skip_mode_fix=: \
1597 $(MAKE) $(AM_MAKEFLAGS) \
1598 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1600 -test -n "$(am__skip_mode_fix)" \
1601 || find "$(distdir)" -type d ! -perm -755 \
1602 -exec chmod u+rwx,go+rx {} \; -o \
1603 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1604 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1605 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1606 || chmod -R a+r "$(distdir)"
1608 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1609 $(am__post_remove_distdir)
1612 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1613 $(am__post_remove_distdir)
1616 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1617 $(am__post_remove_distdir)
1620 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1621 $(am__post_remove_distdir)
1624 @echo WARNING: "Support for distribution archives compressed with" \
1625 "legacy program 'compress' is deprecated." >&2
1626 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1627 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1628 $(am__post_remove_distdir)
1631 @echo WARNING: "Support for shar distribution archives is" \
1633 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1634 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1635 $(am__post_remove_distdir)
1638 -rm -f $(distdir).zip
1639 zip -rq $(distdir).zip $(distdir)
1640 $(am__post_remove_distdir)
1643 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1644 $(am__post_remove_distdir)
1646 # This target untars the dist file and tries a VPATH configuration. Then
1647 # it guarantees that the distribution is self-contained by making another
1650 case '$(DIST_ARCHIVES)' in \
1652 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1654 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1656 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1658 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1660 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1662 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1664 unzip $(distdir).zip ;;\
1666 chmod -R a-w $(distdir)
1667 chmod u+w $(distdir)
1668 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1669 chmod a-w $(distdir)
1670 test -d $(distdir)/_build || exit 0; \
1671 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1672 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1674 && $(am__cd) $(distdir)/_build/sub \
1675 && ../../configure \
1676 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1677 $(DISTCHECK_CONFIGURE_FLAGS) \
1678 --srcdir=../.. --prefix="$$dc_install_base" \
1679 && $(MAKE) $(AM_MAKEFLAGS) \
1680 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1681 && $(MAKE) $(AM_MAKEFLAGS) check \
1682 && $(MAKE) $(AM_MAKEFLAGS) install \
1683 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1684 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1685 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1686 distuninstallcheck \
1687 && chmod -R a-w "$$dc_install_base" \
1689 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1690 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1691 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1692 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1693 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1694 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1695 && rm -rf "$$dc_destdir" \
1696 && $(MAKE) $(AM_MAKEFLAGS) dist \
1697 && rm -rf $(DIST_ARCHIVES) \
1698 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1701 $(am__post_remove_distdir)
1702 @(echo "$(distdir) archives ready for distribution: "; \
1703 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1704 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1706 @test -n '$(distuninstallcheck_dir)' || { \
1707 echo 'ERROR: trying to run $@ with an empty' \
1708 '$$(distuninstallcheck_dir)' >&2; \
1711 $(am__cd) '$(distuninstallcheck_dir)' || { \
1712 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1715 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1716 || { echo "ERROR: files left after uninstall:" ; \
1717 if test -n "$(DESTDIR)"; then \
1718 echo " (check DESTDIR support)"; \
1720 $(distuninstallcheck_listfiles) ; \
1722 distcleancheck: distclean
1723 @if test '$(srcdir)' = . ; then \
1724 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1727 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1728 || { echo "ERROR: files left in build directory after distclean:" ; \
1729 $(distcleancheck_listfiles) ; \
1732 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1733 check: $(BUILT_SOURCES)
1734 $(MAKE) $(AM_MAKEFLAGS) check-recursive
1735 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
1737 install-binPROGRAMS: install-libLTLIBRARIES
1739 installdirs: installdirs-recursive
1741 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(confexecdir)" "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(pkgconfigdir)"; do \
1742 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1744 install: $(BUILT_SOURCES)
1745 $(MAKE) $(AM_MAKEFLAGS) install-recursive
1746 install-exec: install-exec-recursive
1747 install-data: install-data-recursive
1748 uninstall: uninstall-recursive
1751 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1753 installcheck: installcheck-recursive
1755 if test -z '$(STRIP)'; then \
1756 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1757 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1760 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1761 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1762 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1764 mostlyclean-generic:
1767 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1770 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1771 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1772 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1774 maintainer-clean-generic:
1775 @echo "This command is intended for maintainers to use"
1776 @echo "it deletes files that may require special tools to rebuild."
1777 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1778 clean: clean-recursive
1780 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
1781 clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
1784 distclean: distclean-recursive
1785 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1788 distclean-am: clean-am distclean-compile distclean-generic \
1789 distclean-hdr distclean-libtool distclean-tags
1795 html: html-recursive
1799 info: info-recursive
1803 install-data-am: install-cmakeDATA install-data-local \
1804 install-m4dataDATA install-man install-pkgconfigDATA
1806 install-dvi: install-dvi-recursive
1810 install-exec-am: install-binPROGRAMS install-binSCRIPTS \
1811 install-confexecDATA install-libLTLIBRARIES
1813 install-html: install-html-recursive
1817 install-info: install-info-recursive
1821 install-man: install-man1 install-man3
1823 install-pdf: install-pdf-recursive
1827 install-ps: install-ps-recursive
1833 maintainer-clean: maintainer-clean-recursive
1834 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1835 -rm -rf $(top_srcdir)/autom4te.cache
1838 maintainer-clean-am: distclean-am maintainer-clean-generic
1840 mostlyclean: mostlyclean-recursive
1842 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1853 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
1854 uninstall-cmakeDATA uninstall-confexecDATA \
1855 uninstall-libLTLIBRARIES uninstall-local uninstall-m4dataDATA \
1856 uninstall-man uninstall-pkgconfigDATA
1858 uninstall-man: uninstall-man1 uninstall-man3
1860 .MAKE: $(am__recursive_targets) all check check-am install install-am \
1863 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1864 am--refresh check check-am clean clean-binPROGRAMS \
1865 clean-checkPROGRAMS clean-cscope clean-generic \
1866 clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
1867 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1868 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
1869 dist-zip distcheck distclean distclean-compile \
1870 distclean-generic distclean-hdr distclean-libtool \
1871 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1872 dvi-am html html-am info info-am install install-am \
1873 install-binPROGRAMS install-binSCRIPTS install-cmakeDATA \
1874 install-confexecDATA install-data install-data-am \
1875 install-data-local install-dvi install-dvi-am install-exec \
1876 install-exec-am install-html install-html-am install-info \
1877 install-info-am install-libLTLIBRARIES install-m4dataDATA \
1878 install-man install-man1 install-man3 install-pdf \
1879 install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
1880 install-strip installcheck installcheck-am installdirs \
1881 installdirs-am maintainer-clean maintainer-clean-generic \
1882 mostlyclean mostlyclean-compile mostlyclean-generic \
1883 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1884 uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
1885 uninstall-cmakeDATA uninstall-confexecDATA \
1886 uninstall-libLTLIBRARIES uninstall-local uninstall-m4dataDATA \
1887 uninstall-man uninstall-man1 uninstall-man3 \
1888 uninstall-pkgconfigDATA
1893 # that one forces the rebuild when "make rebuild" is run on doc/
1895 -@(if [ "$(PYTHON)" != "" ] ; then \
1896 $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
1898 # that one is just to make sure it is rebuilt if missing
1899 # but adding the dependances generate mess
1900 testapi.c: $(srcdir)/gentest.py
1901 -@(if [ "$(PYTHON)" != "" ] ; then \
1902 $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
1904 #testOOM_SOURCES=testOOM.c testOOMlib.h testOOMlib.c
1906 #testOOM_DEPENDENCIES = $(DEPS)
1907 #testOOM_LDADD= $(LDADDS)
1909 runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \
1910 testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT)
1911 [ -d test ] || $(LN_S) $(srcdir)/test .
1912 [ -d result ] || $(LN_S) $(srcdir)/result .
1913 $(CHECKER) ./runtest$(EXEEXT) && \
1914 $(CHECKER) ./testrecurse$(EXEEXT) && \
1915 ASAN_OPTIONS="$$ASAN_OPTIONS:detect_leaks=0" $(CHECKER) ./testapi$(EXEEXT) && \
1916 $(CHECKER) ./testchar$(EXEEXT) && \
1917 $(CHECKER) ./testdict$(EXEEXT) && \
1918 $(CHECKER) ./runxmlconf$(EXEEXT)
1919 @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
1924 check-valgrind valgrind: all
1925 @echo '## Running the regression tests under Valgrind'
1926 @echo '## Go get a cup of coffee it is gonna take a while ...'
1927 $(MAKE) CHECKER='valgrind -q' runtests
1930 @echo '## rebuilding for ASAN'
1931 ./configure CFLAGS="-fsanitize=address,undefined -Wformat -Werror=format-security -Werror=array-bounds -g" CXXFLAGS="-fsanitize=address,undefined -Wformat -Werror=format-security -Werror=array-bounds -g" LDFLAGS="-fsanitize=address,undefined" CC="clang" CXX="clang++" --disable-shared ; OptimOff ; $(MAKE) clean ; $(MAKE)
1933 testall : tests SVGtests SAXtests
1935 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)
1936 @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
1937 $(MAKE) -s tests ; fi)
1938 @(cd doc/examples ; $(MAKE) -s tests)
1940 APItests: testapi$(EXEEXT)
1941 @echo "## Running the API regression tests this may take a little while"
1942 -@(ASAN_OPTIONS="$$ASAN_OPTIONS:detect_leaks=0" $(CHECKER) $(top_builddir)/testapi -q)
1944 HTMLtests : testHTML$(EXEEXT)
1946 @echo "## HTML regression tests"
1947 -@(for i in $(srcdir)/test/HTML/* ; do \
1948 name=`basename $$i`; \
1949 if [ ! -d $$i ] ; then \
1950 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
1951 echo New test file $$name ; \
1952 $(CHECKER) $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
1954 log=`$(CHECKER) $(top_builddir)/testHTML $$i > result.$$name 2> error.$$name ; \
1955 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1956 diff $(srcdir)/result/HTML/$$name result.$$name ; \
1957 diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \
1958 $(CHECKER) $(top_builddir)/testHTML result.$$name > result2.$$name 2>error.$$name ; \
1959 diff result.$$name result2.$$name` ; \
1960 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
1961 rm result.$$name result2.$$name error.$$name ; \
1964 HTMLPushtests : testHTML$(EXEEXT)
1965 @echo "## Push HTML regression tests"
1966 -@(for i in $(srcdir)/test/HTML/* ; do \
1967 name=`basename $$i`; \
1968 if [ ! -d $$i ] ; then \
1969 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
1970 echo New test file $$name ; \
1971 $(CHECKER) $(top_builddir)/testHTML --push $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
1973 log=`$(CHECKER) $(top_builddir)/testHTML --push $$i > result.$$name 2> error.$$name ; \
1974 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1975 diff $(srcdir)/result/HTML/$$name result.$$name ; \
1976 cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \
1977 cut -b 1-15 error.$$name > errorcut2.$$name; \
1978 diff -b errorcut.$$name errorcut2.$$name ; \
1979 $(CHECKER) $(top_builddir)/testHTML --push result.$$name > result2.$$name 2>error.$$name ; \
1980 diff result.$$name result2.$$name` ; \
1981 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
1982 rm result.$$name result2.$$name error.$$name errorcut.$$name errorcut2.$$name ; \
1984 @echo "## HTML SAX regression tests"
1985 -@(for i in $(srcdir)/test/HTML/* ; do \
1986 name=`basename $$i`; \
1987 if [ ! -d $$i ] ; then \
1988 if [ ! -f $(srcdir)/result/HTML/$$name.sax ] ; then \
1989 echo New test file $$name ; \
1990 $(CHECKER) $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
1992 log=`$(CHECKER) $(top_builddir)/testHTML --sax $$i > result.$$name.sax ; \
1993 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1994 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
1995 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
1996 rm result.$$name.sax ; \
1998 @echo "## Push HTML SAX regression tests"
1999 -@(for i in $(srcdir)/test/HTML/* ; do \
2000 name=`basename $$i`; \
2001 if [ ! -d $$i ] ; then \
2002 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
2003 echo New test file $$name ; \
2004 $(CHECKER) $(top_builddir)/testHTML --push --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
2006 log=`$(CHECKER) $(top_builddir)/testHTML --push --sax $$i 2>&1 > result.$$name.sax ; \
2007 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2008 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
2009 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2010 rm result.$$name.sax ; \
2013 XMLtests : xmllint$(EXEEXT)
2015 @echo "## XML regression tests"
2016 -@(for i in $(srcdir)/test/* ; do \
2017 name=`basename $$i`; \
2018 if [ ! -d $$i ] ; then \
2019 if [ ! -f $(srcdir)/result/$$name ] ; then \
2020 echo New test file $$name ; \
2021 $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/$$name ; \
2022 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2024 log=`$(CHECKER) $(top_builddir)/xmllint $$i 2>&1 > result.$$name ; \
2025 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2026 diff $(srcdir)/result/$$name result.$$name ; \
2027 $(CHECKER) $(top_builddir)/xmllint result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
2028 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2029 diff result.$$name result2.$$name` ;\
2030 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2031 rm result.$$name result2.$$name ; \
2033 @echo "## XML regression tests on memory"
2034 -@(for i in $(srcdir)/test/* ; do \
2035 name=`basename $$i`; \
2036 if [ ! -d $$i ] ; then \
2037 if [ ! -f $(srcdir)/result/$$name ] ; then \
2038 echo New test file $$name ; \
2039 $(CHECKER) $(top_builddir)/xmllint --memory $$i > $(srcdir)/result/$$name ; \
2040 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2042 log=`$(CHECKER) $(top_builddir)/xmllint --memory $$i 2>&1 > result.$$name ; \
2043 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2044 diff $(srcdir)/result/$$name result.$$name ; \
2045 $(CHECKER) $(top_builddir)/xmllint --memory result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
2046 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`; \
2047 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2048 diff result.$$name result2.$$name ; \
2049 rm result.$$name result2.$$name ; \
2052 XMLPushtests: xmllint$(EXEEXT)
2054 @echo "## XML push regression tests"
2055 -@(for i in $(srcdir)/test/* ; do \
2056 name=`basename $$i`; \
2057 if [ ! -d $$i ] ; then \
2058 if [ ! -f $(srcdir)/result/$$name ] ; then \
2059 echo New test file $$name ; \
2060 $(CHECKER) $(top_builddir)/xmllint --push $$i > $(srcdir)/result/$$name ; \
2061 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2063 log=`$(CHECKER) $(top_builddir)/xmllint --push $$i 2>&1 > result.$$name ; \
2064 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2065 diff $(srcdir)/result/$$name result.$$name ; \
2066 $(CHECKER) $(top_builddir)/xmllint --push result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
2067 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2068 diff result.$$name result2.$$name` ; \
2069 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2070 rm result.$$name result2.$$name ; \
2073 NStests : xmllint$(EXEEXT)
2075 @echo "## XML Namespaces regression tests"
2076 -@(for i in $(srcdir)/test/namespaces/* ; do \
2077 name=`basename $$i`; \
2078 if [ ! -d $$i ] ; then \
2079 if [ ! -f $(srcdir)/result/namespaces/$$name ] ; then \
2080 echo New test file $$name ; \
2081 $(CHECKER) $(top_builddir)/xmllint $$i \
2082 2> $(srcdir)/result/namespaces/$$name.err \
2083 > $(srcdir)/result/namespaces/$$name ; \
2084 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2086 log=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
2087 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2088 diff $(srcdir)/result/namespaces/$$name result.$$name ; \
2089 diff $(srcdir)/result/namespaces/$$name.err error.$$name`; \
2090 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2091 rm result.$$name error.$$name ; \
2094 IDtests : xmllint$(EXEEXT) testXPath$(EXEEXT)
2096 @echo "## xml:id regression tests"
2097 -@(for i in $(srcdir)/test/xmlid/id_*.xml ; do \
2098 name=`basename $$i`; \
2099 if [ ! -d $$i ] ; then \
2100 if [ ! -f $(srcdir)/result/xmlid/$$name ] ; then \
2101 echo New test file $$name ; \
2102 $(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" \
2103 2> $(srcdir)/result/xmlid/$$name.err \
2104 > $(srcdir)/result/xmlid/$$name ; \
2105 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2107 log=`$(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" 2> error.$$name > result.$$name ; \
2108 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2109 diff $(srcdir)/result/xmlid/$$name result.$$name ; \
2110 diff $(srcdir)/result/xmlid/$$name.err error.$$name` ; \
2111 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2112 rm result.$$name error.$$name ; \
2115 Errtests : xmllint$(EXEEXT)
2117 @echo "## Error cases regression tests"
2118 -@(for i in $(srcdir)/test/errors/*.xml ; do \
2119 name=`basename $$i`; \
2120 if [ ! -d $$i ] ; then \
2121 if [ ! -f $(srcdir)/result/errors/$$name ] ; then \
2122 echo New test file $$name ; \
2123 $(CHECKER) $(top_builddir)/xmllint $$i \
2124 2> $(srcdir)/result/errors/$$name.err \
2125 > $(srcdir)/result/errors/$$name ; \
2126 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2128 log=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
2129 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2130 diff $(srcdir)/result/errors/$$name result.$$name ; \
2131 diff $(srcdir)/result/errors/$$name.err error.$$name` ; \
2132 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2133 rm result.$$name error.$$name ; \
2135 @echo "## Error cases regression tests (old 1.0)"
2136 -@(for i in $(srcdir)/test/errors10/*.xml ; do \
2137 name=`basename $$i`; \
2138 if [ ! -d $$i ] ; then \
2139 if [ ! -f $(srcdir)/result/errors10/$$name ] ; then \
2140 echo New test file $$name ; \
2141 $(CHECKER) $(top_builddir)/xmllint --oldxml10 $$i \
2142 2> $(srcdir)/result/errors10/$$name.err \
2143 > $(srcdir)/result/errors10/$$name ; \
2144 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2146 log=`$(CHECKER) $(top_builddir)/xmllint --oldxml10 $$i 2> error.$$name > result.$$name ; \
2147 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2148 diff $(srcdir)/result/errors10/$$name result.$$name ; \
2149 diff $(srcdir)/result/errors10/$$name.err error.$$name` ; \
2150 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2151 rm result.$$name error.$$name ; \
2153 @echo "## Error cases stream regression tests"
2154 -@(for i in $(srcdir)/test/errors/*.xml ; do \
2155 name=`basename $$i`; \
2156 if [ ! -d $$i ] ; then \
2157 if [ ! -f $(srcdir)/result/errors/$$name.str ] ; then \
2158 echo New test file $$name ; \
2159 $(CHECKER) $(top_builddir)/xmllint --stream $$i \
2160 2> $(srcdir)/result/errors/$$name.str \
2162 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2164 log=`$(CHECKER) $(top_builddir)/xmllint --stream $$i 2> error.$$name > /dev/null ; \
2165 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2166 diff $(srcdir)/result/errors/$$name.str error.$$name` ; \
2167 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2171 Docbtests : xmllint$(EXEEXT)
2173 XMLenttests : xmllint$(EXEEXT)
2175 @echo "## XML entity subst regression tests"
2176 -@(for i in $(srcdir)/test/* ; do \
2177 name=`basename $$i`; \
2178 if [ ! -d $$i ] ; then \
2179 if [ ! -f $(srcdir)/result/noent/$$name ] ; then \
2180 echo New test file $$name ; \
2181 $(CHECKER) $(top_builddir)/xmllint --noent $$i > $(srcdir)/result/noent/$$name ; \
2182 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2184 log=`$(CHECKER) $(top_builddir)/xmllint --noent $$i 2>&1 > result.$$name ; \
2185 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2186 diff $(srcdir)/result/noent/$$name result.$$name ; \
2187 $(CHECKER) $(top_builddir)/xmllint --noent result.$$name 2>&1 > result2.$$name ; \
2188 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2189 diff result.$$name result2.$$name` ; \
2190 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2191 rm result.$$name result2.$$name ; \
2194 URItests : testURI$(EXEEXT)
2196 @echo "## URI module regression tests"
2197 -@(for i in $(srcdir)/test/URI/*.data ; do \
2198 name=`basename $$i`; \
2199 if [ ! -d $$i ] ; then \
2200 if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
2201 echo New test file $$name ; \
2202 $(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > $(srcdir)/result/URI/$$name ; \
2203 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2205 log=`$(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i 2>&1 > result.$$name ; \
2206 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2207 diff $(srcdir)/result/URI/$$name result.$$name` ; \
2208 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2209 rm result.$$name ; \
2211 -@(for i in $(srcdir)/test/URI/*.uri ; do \
2212 name=`basename $$i`; \
2213 if [ ! -d $$i ] ; then \
2214 if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
2215 echo New test file $$name ; \
2216 $(CHECKER) $(top_builddir)/testURI < $$i > $(srcdir)/result/URI/$$name ; \
2217 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2219 log=`$(CHECKER) $(top_builddir)/testURI < $$i 2>&1 > result.$$name ; \
2220 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2221 diff $(srcdir)/result/URI/$$name result.$$name` ; \
2222 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2223 rm result.$$name ; \
2226 XPathtests : testXPath$(EXEEXT)
2228 @echo "## XPath regression tests"
2229 -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
2230 then echo Skipping debug not compiled in ; exit 0 ; fi ; \
2231 for i in $(srcdir)/test/XPath/expr/* ; do \
2232 name=`basename $$i`; \
2233 if [ ! -d $$i ] ; then \
2234 if [ ! -f $(srcdir)/result/XPath/expr/$$name ] ; then \
2235 echo New test file $$name ; \
2236 $(CHECKER) $(top_builddir)/testXPath -f --expr $$i > $(srcdir)/result/XPath/expr/$$name 2> /dev/null ; \
2237 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2239 log=`$(CHECKER) $(top_builddir)/testXPath -f --expr $$i > result.$$name 2> /dev/null ; \
2240 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2241 diff $(srcdir)/result/XPath/expr/$$name result.$$name` ; \
2242 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2243 rm result.$$name ; \
2245 for i in $(srcdir)/test/XPath/docs/* ; do \
2246 if [ ! -d $$i ] ; then \
2247 doc=`basename $$i`; \
2248 for j in $(srcdir)/test/XPath/tests/$$doc* ; do \
2249 if [ ! -f $$j ] ; then continue ; fi ; \
2250 name=`basename $$j`; \
2251 if [ ! -d $$j ] ; then \
2252 if [ ! -f $(srcdir)/result/XPath/tests/$$name ] ; then \
2253 echo New test file $$name ; \
2254 $(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j > $(srcdir)/result/XPath/tests/$$name ; \
2255 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2257 log=`$(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j > result.$$name ; \
2258 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2259 diff $(srcdir)/result/XPath/tests/$$name result.$$name` ; \
2260 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2261 rm result.$$name ; \
2262 fi ; fi ; done ; fi ; done)
2264 XPtrtests : testXPath$(EXEEXT)
2266 @echo "## XPointer regression tests"
2267 -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
2268 then echo Skipping debug not compiled in ; exit 0 ; fi ; \
2269 for i in $(srcdir)/test/XPath/docs/* ; do \
2270 if [ ! -d $$i ] ; then \
2271 doc=`basename $$i`; \
2272 for j in $(srcdir)/test/XPath/xptr/$$doc* ; do \
2273 if [ ! -f $$j ] ; then continue ; fi ; \
2274 name=`basename $$j`; \
2275 if [ ! -d $$j ] ; then \
2276 if [ ! -f $(srcdir)/result/XPath/xptr/$$name ] ; then \
2277 echo New test file $$name ; \
2278 $(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j > $(srcdir)/result/XPath/xptr/$$name 2> /dev/null ; \
2279 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2281 log=`$(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j > result.$$name 2> /dev/null ; \
2282 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2283 diff $(srcdir)/result/XPath/xptr/$$name result.$$name` ; \
2284 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2285 rm result.$$name ; \
2286 fi ; fi ; done ; fi ; done)
2288 XIncludetests : xmllint$(EXEEXT)
2290 @echo "## XInclude regression tests"
2291 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
2292 name=`basename $$i`; \
2293 if [ ! -d $$i ] ; then \
2294 if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
2295 echo New test file $$name ; \
2296 $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > $(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
2297 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2299 log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > result.$$name 2>error.$$name ; \
2300 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2301 diff $(srcdir)/result/XInclude/$$name result.$$name ; \
2302 diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
2303 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2304 rm result.$$name error.$$name ; \
2306 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
2307 name=`basename $$i`; \
2308 if [ ! -d $$i ] ; then \
2309 if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
2310 echo New test file $$name ; \
2311 $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > $(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
2312 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2314 log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > result.$$name 2>error.$$name ; \
2315 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2316 diff $(srcdir)/result/XInclude/$$name result.$$name ; \
2317 diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
2318 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2319 rm result.$$name error.$$name ; \
2322 @echo "## XInclude xmlReader regression tests"
2323 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
2324 name=`basename $$i`; \
2325 if [ ! -d $$i ] ; then \
2326 if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
2327 echo New test file $$name ; \
2328 $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > $(srcdir)/result/XInclude/$$name.rdr ; \
2329 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2331 log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > result.$$name 2>error.$$name ; \
2332 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2333 diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
2334 diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
2335 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2336 rm result.$$name error.$$name ; \
2338 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
2339 name=`basename $$i`; \
2340 if [ ! -d $$i ] ; then \
2341 if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
2342 echo New test file $$name ; \
2343 $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode --stream --debug $$i > $(srcdir)/result/XInclude/$$name.rdr ; \
2344 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2346 log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > result.$$name 2>error.$$name ; \
2347 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2348 diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
2349 diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
2350 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2351 rm result.$$name error.$$name ; \
2354 Scripttests : xmllint$(EXEEXT)
2356 @echo "## Scripts regression tests"
2357 @echo "## Some of the base computations may be different if srcdir != ."
2358 -@(for i in $(srcdir)/test/scripts/*.script ; do \
2359 name=`basename $$i .script`; \
2360 xml=$(srcdir)/test/scripts/`basename $$i .script`.xml; \
2361 if [ -f $$xml ] ; then \
2362 if [ ! -f $(srcdir)/result/scripts/$$name ] ; then \
2363 echo New test file $$name ; \
2364 $(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > $(srcdir)/result/scripts/$$name 2> $(srcdir)/result/scripts/$$name.err ; \
2365 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2367 log=`$(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > result.$$name 2> result.$$name.err ; \
2368 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2369 diff $(srcdir)/result/scripts/$$name result.$$name ; \
2370 diff $(srcdir)/result/scripts/$$name.err result.$$name.err` ; \
2371 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2372 rm result.$$name result.$$name.err ; \
2375 Catatests : xmlcatalog$(EXEEXT)
2377 @echo "## Catalog regression tests"
2378 -@(for i in $(srcdir)/test/catalogs/*.script ; do \
2379 name=`basename $$i .script`; \
2380 xml=$(srcdir)/test/catalogs/`basename $$i .script`.xml; \
2381 if [ -f $$xml ] ; then \
2382 if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
2383 echo New test file $$name ; \
2384 $(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i 2>&1 > $(srcdir)/result/catalogs/$$name ; \
2385 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2387 log=`$(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i 2>&1 > result.$$name ; \
2388 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2389 diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
2390 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2391 rm result.$$name ; \
2393 -@(for i in $(srcdir)/test/catalogs/*.script ; do \
2394 name=`basename $$i .script`; \
2395 sgml=$(srcdir)/test/catalogs/`basename $$i .script`.sgml; \
2396 if [ -f $$sgml ] ; then \
2397 if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
2398 echo New test file $$name ; \
2399 $(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > $(srcdir)/result/catalogs/$$name ; \
2400 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2402 log=`$(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > result.$$name ; \
2403 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2404 diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
2405 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2406 rm result.$$name ; \
2408 @echo "## Add and del operations on XML Catalogs"
2409 -@($(CHECKER) $(top_builddir)/xmlcatalog --create --noout $(srcdir)/result/catalogs/mycatalog; \
2410 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2411 $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid sysid $(srcdir)/result/catalogs/mycatalog; \
2412 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2413 $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid2 sysid2 $(srcdir)/result/catalogs/mycatalog; \
2414 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2415 $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid3 sysid3 $(srcdir)/result/catalogs/mycatalog; \
2416 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2417 diff result/catalogs/mycatalog.full $(srcdir)/result/catalogs/mycatalog; \
2418 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2419 $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid $(srcdir)/result/catalogs/mycatalog; \
2420 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2421 $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid3 $(srcdir)/result/catalogs/mycatalog; \
2422 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2423 $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid2 $(srcdir)/result/catalogs/mycatalog; \
2424 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2425 diff result/catalogs/mycatalog.empty $(srcdir)/result/catalogs/mycatalog; \
2426 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2427 rm -f $(srcdir)/result/catalogs/mycatalog)
2429 SVGtests : xmllint$(EXEEXT)
2430 @echo "## SVG parsing regression tests"
2431 -@(for i in $(srcdir)/test/SVG/* ; do \
2432 name=`basename $$i`; \
2433 if [ ! -d $$i ] ; then \
2434 if [ ! -f $(srcdir)/result/SVG/$$name ] ; then \
2435 echo New test file $$name ; \
2436 $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/SVG/$$name ; \
2437 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2439 echo Testing $$name ; \
2440 $(CHECKER) $(top_builddir)/xmllint $$i > result.$$name ; \
2441 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2442 diff $(srcdir)/result/SVG/$$name result.$$name ; \
2443 $(CHECKER) $(top_builddir)/xmllint result.$$name > result2.$$name ; \
2444 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2445 diff result.$$name result2.$$name ; \
2446 rm result.$$name result2.$$name ; \
2449 Threadtests : testThreads$(EXEEXT)
2450 @echo "## Threaded regression tests"
2451 -@($(CHECKER) $(top_builddir)/testThreads ; \
2452 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2455 Readertests : xmllint$(EXEEXT)
2457 @echo "## Reader regression tests"
2458 -@(for i in $(srcdir)/test/* ; do \
2459 name=`basename $$i`; \
2460 if [ ! -d $$i ] ; then \
2461 if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
2462 echo New test file $$name ; \
2463 $(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
2464 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2466 log=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
2467 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2468 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
2469 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2470 rm result.$$name ; \
2472 @echo "## Reader on memory regression tests"
2473 -@(for i in $(srcdir)/test/* ; do \
2474 name=`basename $$i`; \
2475 if [ ! -d $$i ] ; then \
2476 if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
2477 echo New test file $$name ; \
2478 $(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
2479 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2481 log=`$(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
2482 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2483 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
2484 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2485 rm result.$$name ; \
2488 @echo "## Walker regression tests"
2489 -@(for i in $(srcdir)/test/* ; do \
2490 name=`basename $$i`; \
2491 if [ ! -d $$i ] ; then \
2492 if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
2493 echo New test file $$name ; \
2494 $(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
2495 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2497 log=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > result.$$name 2>/dev/null ; \
2498 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2499 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
2500 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2501 rm result.$$name ; \
2503 @echo "## Reader entities substitution regression tests"
2504 -@(for i in $(srcdir)/test/* ; do \
2505 name=`basename $$i`; \
2506 if [ ! -d $$i ] ; then \
2507 if [ ! -f $(srcdir)/result/$$name.rde ] ; then \
2508 echo New test file $$name ; \
2509 $(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > $(srcdir)/result/$$name.rde 2>/dev/null ; \
2510 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2512 log=`$(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
2513 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2514 diff $(srcdir)/result/$$name.rde result.$$name` ; \
2515 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2516 rm result.$$name ; \
2519 SAXtests : testSAX$(EXEEXT)
2521 @echo "## SAX1 callbacks regression tests"
2522 -@(for i in $(srcdir)/test/* ; do \
2523 name=`basename $$i`; \
2524 if [ ! -d $$i ] ; then \
2525 if [ ! -f $(srcdir)/result/$$name.sax ] ; then \
2526 echo New test file $$name ; \
2527 $(CHECKER) $(top_builddir)/testSAX $$i > $(srcdir)/result/$$name.sax 2> /dev/null ; \
2528 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2530 log=`$(CHECKER) $(top_builddir)/testSAX $$i > result.$$name 2> /dev/null ; \
2531 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2532 diff $(srcdir)/result/$$name.sax result.$$name` ; \
2533 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2534 rm result.$$name ; \
2536 @echo "## SAX2 callbacks regression tests"
2537 -@(for i in $(srcdir)/test/* ; do \
2538 name=`basename $$i`; \
2539 if [ ! -d $$i ] ; then \
2540 if [ ! -f $(srcdir)/result/$$name.sax2 ] ; then \
2541 echo New test file $$name ; \
2542 $(CHECKER) $(top_builddir)/testSAX --sax2 $$i > $(srcdir)/result/$$name.sax2 2> /dev/null ; \
2543 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2545 log=`$(CHECKER) $(top_builddir)/testSAX --sax2 $$i > result.$$name 2> /dev/null ; \
2546 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2547 diff $(srcdir)/result/$$name.sax2 result.$$name` ; \
2548 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2549 rm result.$$name ; \
2551 @echo "## SAX2 callbacks regression tests with entity substitution"
2552 -@(for i in $(srcdir)/test/* ; do \
2553 name=`basename $$i`; \
2554 if [ ! -d $$i ] ; then \
2555 if [ ! -f $(srcdir)/result/noent/$$name.sax2 ] ; then \
2556 echo New test file $$name ; \
2557 $(CHECKER) $(top_builddir)/testSAX --sax2 --noent $$i > $(srcdir)/result/noent/$$name.sax2 2> /dev/null ; \
2558 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2560 log=`$(CHECKER) $(top_builddir)/testSAX --sax2 --noent $$i > result.$$name 2> /dev/null ; \
2561 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2562 diff $(srcdir)/result/noent/$$name.sax2 result.$$name` ; \
2563 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2564 rm result.$$name ; \
2567 Validtests : xmllint$(EXEEXT)
2569 @echo "## Valid documents regression tests"
2570 -@(for i in $(srcdir)/test/VCM/* ; do \
2571 name=`basename $$i`; \
2572 if [ ! -d $$i ] ; then \
2573 log=`$(CHECKER) $(top_builddir)/xmllint --valid --noout --nowarning $$i ; \
2574 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`;\
2575 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2577 @echo "## Validity checking regression tests"
2578 -@(for i in $(srcdir)/test/VC/* ; do \
2579 name=`basename $$i`; \
2580 if [ ! -d $$i ] ; then \
2581 if [ ! -f $(srcdir)/result/VC/$$name ] ; then \
2582 echo New test file $$name ; \
2583 $(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> $(srcdir)/result/VC/$$name ; \
2584 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2586 log=`$(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> result.$$name ; \
2587 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2588 diff $(srcdir)/result/VC/$$name result.$$name` ; \
2589 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2590 rm result.$$name ; \
2592 @echo "## General documents valid regression tests"
2593 -@(for i in $(srcdir)/test/valid/* ; do \
2594 name=`basename $$i`; \
2595 if [ ! -d $$i ] ; then \
2596 if [ ! -f $(srcdir)/result/valid/$$name ] ; then \
2597 echo New test file $$name ; \
2598 $(CHECKER) $(top_builddir)/xmllint --valid $$i > $(srcdir)/result/valid/$$name 2>$(srcdir)/result/valid/$$name.err ; \
2599 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2601 log=`$(CHECKER) $(top_builddir)/xmllint --valid $$i > result.$$name 2>error.$$name ; \
2602 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2603 diff $(srcdir)/result/valid/$$name result.$$name ; \
2604 diff $(srcdir)/result/valid/$$name.err error.$$name` ; \
2605 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2606 rm result.$$name error.$$name ; \
2609 Regexptests: testRegexp$(EXEEXT)
2611 @echo "## Regexp regression tests"
2612 -@(for i in $(srcdir)/test/regexp/* ; do \
2613 name=`basename $$i`; \
2614 if [ ! -d $$i ] ; then \
2615 if [ ! -f $(srcdir)/result/regexp/$$name ] ; then \
2616 echo New test file $$name ; \
2617 $(CHECKER) $(top_builddir)/testRegexp -i $$i > $(srcdir)/result/regexp/$$name; \
2618 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2620 log=`$(CHECKER) $(top_builddir)/testRegexp -i $$i 2>&1 > result.$$name ; \
2621 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2622 diff $(srcdir)/result/regexp/$$name result.$$name` ; \
2623 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2624 rm result.$$name ; \
2626 @echo "## Formal expresssions regression tests"
2627 -@(for i in $(srcdir)/test/expr/* ; do \
2628 name=`basename $$i`; \
2629 if [ ! -d $$i ] ; then \
2630 if [ ! -f $(srcdir)/result/expr/$$name ] ; then \
2631 echo New test file $$name ; \
2632 $(CHECKER) $(top_builddir)/testRegexp --expr -i $$i > $(srcdir)/result/expr/$$name; \
2633 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2635 log=`$(CHECKER) $(top_builddir)/testRegexp --expr -i $$i 2>&1 > result.$$name ; \
2636 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2637 diff $(srcdir)/result/expr/$$name result.$$name` ; \
2638 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2639 rm result.$$name ; \
2642 Automatatests: testAutomata$(EXEEXT)
2644 @echo "## Automata regression tests"
2645 -@(for i in $(srcdir)/test/automata/* ; do \
2646 name=`basename $$i`; \
2647 if [ ! -d $$i ] ; then \
2648 if [ ! -f $(srcdir)/result/automata/$$name ] ; then \
2649 echo New test file $$name ; \
2650 $(CHECKER) $(top_builddir)/testAutomata $$i > $(srcdir)/result/automata/$$name; \
2651 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2653 log=`$(CHECKER) $(top_builddir)/testAutomata $$i 2>&1 > result.$$name ; \
2654 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2655 diff $(srcdir)/result/automata/$$name result.$$name` ; \
2656 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2657 rm result.$$name ; \
2660 dba100000.xml: dbgenattr.pl
2661 @echo "## generating dba100000.xml"
2662 @($(PERL) $(top_srcdir)/dbgenattr.pl 100000 > dba100000.xml)
2664 Timingtests: xmllint$(EXEEXT) dba100000.xml
2665 @echo "## Timing tests to try to detect performance"
2666 @echo "## as well a memory usage breakage when streaming"
2667 @echo "## 1/ using the file interface"
2668 @echo "## 2/ using the memory interface"
2669 @echo "## 3/ repeated DOM parsing"
2670 @echo "## 4/ repeated DOM validation"
2671 -@($(top_builddir)/xmllint --stream --timing dba100000.xml; \
2672 MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2673 if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
2674 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2676 -@($(top_builddir)/xmllint --stream --timing --memory dba100000.xml; \
2677 MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2678 if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
2679 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2681 -@($(top_builddir)/xmllint --noout --timing --repeat $(srcdir)/test/valid/REC-xml-19980210.xml; \
2682 MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2683 if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
2684 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2687 VTimingtests: xmllint$(EXEEXT)
2688 -@($(top_builddir)/xmllint --noout --timing --valid --repeat $(srcdir)/test/valid/REC-xml-19980210.xml; \
2689 MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2690 if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
2691 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2694 C14Ntests : testC14N$(EXEEXT)
2695 @echo "## C14N and XPath regression tests"
2696 -@(for m in with-comments without-comments 1-1-without-comments exc-without-comments ; do \
2697 for i in $(srcdir)/test/c14n/$$m/*.xml ; do \
2698 if [ ! -d $$i ] ; then \
2699 name=`basename $$i .xml`; \
2700 cmdline="$(CHECKER) $(top_builddir)/testC14N --$$m $$i"; \
2701 if [ -f $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
2702 cmdline="$$cmdline $(srcdir)/test/c14n/$$m/$$name.xpath"; \
2703 if [ -f $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
2704 cmdline="$$cmdline '`cat $(srcdir)/test/c14n/$$m/$$name.ns`'"; \
2707 $$cmdline > $(srcdir)/test/c14n/test.tmp 2> /dev/null; \
2708 if [ $$? -eq 0 ]; then \
2709 diff $(srcdir)/result/c14n/$$m/$$name $(srcdir)/test/c14n/test.tmp; \
2710 if [ $$? -ne 0 ]; then \
2711 echo "Test $$m/$$name failed"; \
2712 cat $(srcdir)/test/c14n/test.tmp; \
2715 echo "C14N failed"; \
2717 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2719 rm -f $(srcdir)/test/c14n/test.tmp; \
2723 Schemastests: testSchemas$(EXEEXT)
2725 @echo "## Schemas regression tests"
2726 -@(for i in $(srcdir)/test/schemas/*_*.xsd ; do \
2727 name=`basename $$i | sed 's+_.*++'`; \
2728 sno=`basename $$i | sed 's+.*_\(.*\).xsd+\1+'`; \
2729 for j in $(srcdir)/test/schemas/"$$name"_*.xml ; do \
2730 if [ -f $$j ] ; then \
2731 xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2732 if [ ! -f $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" ]; \
2734 echo New test file "$$name"_"$$sno"_"$$xno" ; \
2735 $(CHECKER) $(top_builddir)/testSchemas $$i $$j \
2736 > $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
2737 2> $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err; \
2738 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2740 log=`$(CHECKER) $(top_builddir)/testSchemas $$i $$j \
2741 > res.$$name 2> err.$$name;\
2742 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2743 diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
2745 diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err \
2747 grep Unimplemented err.$$name`; \
2748 if [ -n "$$log" ] ; then echo "$$name"_"$$sno"_"$$xno" result ; echo "$$log" ; fi ; \
2749 rm res.$$name err.$$name ; \
2753 Relaxtests: xmllint$(EXEEXT)
2755 @echo "## Relax-NG regression tests"
2756 -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
2757 name=`basename $$i | sed 's+\.rng++'`; \
2758 if [ ! -f $(srcdir)/result/relaxng/"$$name"_valid ] ; then \
2759 echo New schemas $$name ; \
2760 $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
2761 > $(srcdir)/result/relaxng/"$$name"_valid \
2762 2> $(srcdir)/result/relaxng/"$$name"_err; \
2763 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2765 log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
2766 > res.$$name 2> err.$$name;\
2767 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2768 diff $(srcdir)/result/relaxng/"$$name"_valid \
2770 diff $(srcdir)/result/relaxng/"$$name"_err \
2771 err.$$name | grep -v "error detected at";\
2772 grep Unimplemented err.$$name`; \
2773 if [ -n "$$log" ] ; then echo schemas $$name result ; echo "$$log" ; fi ; \
2774 rm res.$$name err.$$name ; \
2776 for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
2777 if [ -f $$j ] ; then \
2778 xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2779 if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
2781 echo New test file "$$name"_"$$xno" ; \
2782 $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
2783 > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
2784 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
2785 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2787 log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
2788 > res.$$name 2> err.$$name;\
2789 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2790 diff $(srcdir)/result/relaxng/"$$name"_"$$xno" \
2792 diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
2793 err.$$name | grep -v "error detected at";\
2794 grep Unimplemented err.$$name`; \
2795 if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo "$$log" ; fi ; \
2796 rm res.$$name err.$$name ; \
2799 @echo "## Relax-NG streaming regression tests"
2800 -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
2801 name=`basename $$i | sed 's+\.rng++'`; \
2802 for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
2803 if [ -f $$j ] ; then \
2804 xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2805 if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
2807 echo New test file "$$name"_"$$xno" ; \
2808 $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
2809 > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
2810 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
2811 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2813 log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --stream --relaxng $$i $$j \
2814 > res.$$name 2> err.$$name;\
2815 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2816 diff $(srcdir)/result/relaxng/"$$name"_"$$xno" res.$$name;\
2817 if [ "$$name" != "tutor10_1" -a "$$name" != "tutor10_2" -a "$$name" != "tutor3_2" -a "$$name" != "307377" -a "$$name" != "tutor8_2" ] ; then \
2818 diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
2819 err.$$name | grep -v "error detected at";\
2820 fi ; grep Unimplemented err.$$name`; \
2821 if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo "$$log" ; fi ; \
2822 rm res.$$name err.$$name ; \
2826 Schematrontests: xmllint$(EXEEXT)
2828 @echo "## Schematron regression tests"
2829 -@(for i in $(srcdir)/test/schematron/*.sct ; do \
2830 name=`basename $$i | sed 's+\.sct++'`; \
2831 for j in $(srcdir)/test/schematron/"$$name"_*.xml ; do \
2832 if [ -f $$j ] ; then \
2833 xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2834 if [ ! -f $(srcdir)/result/schematron/"$$name"_"$$xno" ]; \
2836 echo New test file "$$name"_"$$xno" ; \
2837 $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --schematron $$i $$j \
2838 > $(srcdir)/result/schematron/"$$name"_"$$xno" \
2839 2> $(srcdir)/result/schematron/"$$name"_"$$xno".err; \
2840 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2842 log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --schematron $$i $$j \
2843 > res.$$name 2> err.$$name;\
2844 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2845 diff $(srcdir)/result/schematron/"$$name"_"$$xno" \
2847 diff $(srcdir)/result/schematron/"$$name"_"$$xno".err \
2848 err.$$name | grep -v "error detected at";\
2849 grep Unimplemented err.$$name`; \
2850 if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo "$$log" ; fi ; \
2851 rm res.$$name err.$$name ; \
2856 @(if [ -x $(PYTHON) ] ; then \
2857 PYTHONPATH=$(top_builddir)/python:$(top_builddir)/python/.libs:$$PYTHONPATH ; \
2858 export PYTHONPATH; \
2859 LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
2860 export LD_LIBRARY_PATH; \
2861 echo "## Relax-NG Python based test suite 1" ; \
2862 $(CHECKER) $(PYTHON) $(srcdir)/check-relaxng-test-suite.py ; \
2863 echo "## Relax-NG Python based test suite 2" ; \
2864 $(CHECKER) $(PYTHON) $(srcdir)/check-relaxng-test-suite2.py ; \
2868 @(if [ -x $(PYTHON) ] ; then \
2869 PYTHONPATH=$(top_builddir)/python:$(top_builddir)/python/.libs:$$PYTHONPATH; \
2870 export PYTHONPATH; \
2871 LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
2872 export LD_LIBRARY_PATH; \
2873 echo "## XML Schemas datatypes Python based test suite" ; \
2874 echo "## It is normal to see 11 errors reported" ; \
2875 $(CHECKER) $(PYTHON) $(srcdir)/check-xsddata-test-suite.py ; \
2877 @(if [ -x $(PYTHON) -a -d xstc ] ; then cd xstc ; $(MAKE) CHECKER="$(CHECKER)" pytests ; fi)
2879 Patterntests: xmllint$(EXEEXT)
2881 @echo "## Pattern regression tests"
2882 -@(for i in $(srcdir)/test/pattern/*.pat ; do \
2883 name=`basename $$i .pat`; \
2884 if [ -f $(srcdir)/test/pattern/$$name.xml ] ; then \
2885 if [ ! -f $(srcdir)/result/pattern/$$name ] ; then \
2886 rm -f result.$$name ; \
2887 echo New test file $$name ; \
2888 for pat in `cat $$i` ; do \
2889 $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml >> $(srcdir)/result/pattern/$$name ; \
2890 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2893 rm -f result.$$name ; \
2895 log=`for pat in $$lst ; do $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml 2>&1 >> result.$$name ; \
2896 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2898 diff $(srcdir)/result/pattern/$$name result.$$name` ; \
2899 if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
2900 rm result.$$name ; \
2903 ModuleTests: testModule$(EXEEXT) testdso.la
2904 @echo "## Module tests"
2905 @(./testModule$(EXEEXT))
2908 -@(find . -name .\#\* -exec rm {} \;)
2909 -@(find . -name \*.gcda -o -name \*.gcno -exec rm -f {} \;)
2910 -@(find . -name \*.orig -o -name \*.rej -o -name \*.old -exec rm -f {} \;)
2912 dist-hook: cleanup libxml2.spec
2913 -cp libxml2.spec $(distdir)
2914 (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn --exclude .git win32 macos os400 vms VxWorks bakefile test result) | (cd $(distdir); tar xf -)
2916 dist-source: distdir
2917 $(AMTAR) -chof - --exclude Tests --exclude test --exclude result $(distdir) | GZIP=$(GZIP_ENV) gzip -c >`echo "$(distdir)" | sed "s+libxml2+libxml2-sources+"`.tar.gz
2920 (mkdir -p $(distdir))
2921 (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn --exclude .git xstc/Tests) | (cd $(distdir); tar xf -)
2922 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
2923 @(rm -rf $(distdir)/xstc/Test)
2926 @(rm -f libxml*.tar.gz COPYING.LIB)
2928 rpm: cleanup cleantar
2929 @(unset CDPATH ; $(MAKE) dist-source dist && rpmbuild -ta $(distdir).tar.gz)
2931 xml2Conf.sh: xml2Conf.sh.in Makefile
2932 sed -e 's?\@XML_LIBDIR\@?$(XML_LIBDIR)?g' \
2933 -e 's?\@XML_INCLUDEDIR\@?$(XML_INCLUDEDIR)?g' \
2934 -e 's?\@VERSION\@?$(VERSION)?g' \
2935 -e 's?\@XML_LIBS\@?$(XML_LIBS)?g' \
2936 < $(srcdir)/xml2Conf.sh.in > xml2Conf.tmp \
2937 && mv xml2Conf.tmp xml2Conf.sh
2940 $(MKDIR_P) $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
2941 -$(INSTALL) -m 0644 $(srcdir)/Copyright $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
2942 $(MKDIR_P) $(DESTDIR)$(EXAMPLES_DIR)
2943 -$(INSTALL) -m 0644 $(srcdir)/xmllint.c $(DESTDIR)$(EXAMPLES_DIR)
2944 -$(INSTALL) -m 0644 $(srcdir)/testSAX.c $(DESTDIR)$(EXAMPLES_DIR)
2945 -$(INSTALL) -m 0644 $(srcdir)/testHTML.c $(DESTDIR)$(EXAMPLES_DIR)
2946 -$(INSTALL) -m 0644 $(srcdir)/testXPath.c $(DESTDIR)$(EXAMPLES_DIR)
2949 rm -f $(DESTDIR)$(EXAMPLES_DIR)/testXPath.c
2950 rm -f $(DESTDIR)$(EXAMPLES_DIR)/testHTML.c
2951 rm -f $(DESTDIR)$(EXAMPLES_DIR)/testSAX.c
2952 rm -f $(DESTDIR)$(EXAMPLES_DIR)/xmllint.c
2953 rm -rf $(DESTDIR)$(EXAMPLES_DIR)
2954 rm -f $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)/Copyright
2955 rm -rf $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
2958 $(CC) $(CFLAGS) -Iinclude -o tst tst.c .libs/libxml2.a -lpthread -lm -lz -llzma
2964 if [ "`echo $(LDFLAGS) | grep coverage`" = "" ] ; then \
2965 echo not configured with coverage; exit 1 ; fi
2966 if [ ! -x $(LCOV) -o ! -x $(GENHTML) ] ; then \
2967 echo Need $(LCOV) and $(GENHTML) excecutables; exit 1 ; fi
2969 -@(./runsuite$(EXEEXT))
2970 mkdir $(top_builddir)/coverage
2971 $(LCOV) -c -o $(top_builddir)/coverage/libxml2.info.tmp -d $(top_srcdir)
2972 $(LCOV) -r $(top_builddir)/coverage/libxml2.info.tmp -o $(top_builddir)/coverage/libxml2.info *usr*
2973 rm $(top_builddir)/coverage/libxml2.info.tmp
2974 $(GENHTML) -s -t "libxml2" -o $(top_builddir)/coverage --legend $(top_builddir)/coverage/libxml2.info
2975 echo "Coverage report is in $(top_builddir)/coverage/index.html"
2978 rm -rf $(top_builddir)/coverage
2980 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2981 # Otherwise a system limit (for SysV at least) may be exceeded.