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 noinst_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) $(noinst_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 \
840 pkgconfigdir = $(libdir)/pkgconfig
841 pkgconfig_DATA = libxml-2.0.pc
842 cmakedir = $(libdir)/cmake/libxml2
843 cmake_DATA = libxml2-config.cmake
846 # Install the tests program sources as examples
848 BASE_DIR = $(datadir)/doc
849 DOC_MODULE = libxml2-$(VERSION)
850 EXAMPLES_DIR = $(BASE_DIR)/$(DOC_MODULE)/examples
853 # Coverage support, largely borrowed from libvirt
854 # Both binaries comes from the lcov package in Fedora
857 GENHTML = /usr/bin/genhtml
858 all: $(BUILT_SOURCES) config.h
859 $(MAKE) $(AM_MAKEFLAGS) all-recursive
862 .SUFFIXES: .c .lo .o .obj
863 am--refresh: Makefile
865 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
867 case '$(am__configure_deps)' in \
869 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
870 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
875 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
876 $(am__cd) $(top_srcdir) && \
877 $(AUTOMAKE) --gnu Makefile
878 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
881 echo ' $(SHELL) ./config.status'; \
882 $(SHELL) ./config.status;; \
884 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
885 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
888 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
889 $(SHELL) ./config.status --recheck
891 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
892 $(am__cd) $(srcdir) && $(AUTOCONF)
893 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
894 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
895 $(am__aclocal_m4_deps):
898 @test -f $@ || rm -f stamp-h1
899 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
901 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
903 cd $(top_builddir) && $(SHELL) ./config.status config.h
904 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
905 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
910 -rm -f config.h stamp-h1
911 libxml2.spec: $(top_builddir)/config.status $(srcdir)/libxml.spec.in
912 cd $(top_builddir) && $(SHELL) ./config.status $@
913 libxml-2.0.pc: $(top_builddir)/config.status $(srcdir)/libxml-2.0.pc.in
914 cd $(top_builddir) && $(SHELL) ./config.status $@
915 libxml-2.0-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/libxml-2.0-uninstalled.pc.in
916 cd $(top_builddir) && $(SHELL) ./config.status $@
917 libxml2-config.cmake: $(top_builddir)/config.status $(srcdir)/libxml2-config.cmake.in
918 cd $(top_builddir) && $(SHELL) ./config.status $@
919 xml2-config: $(top_builddir)/config.status $(srcdir)/xml2-config.in
920 cd $(top_builddir) && $(SHELL) ./config.status $@
922 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
924 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
925 list2=; for p in $$list; do \
926 if test -f $$p; then \
927 list2="$$list2 $$p"; \
930 test -z "$$list2" || { \
931 echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
932 $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
933 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
934 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
937 uninstall-libLTLIBRARIES:
939 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
940 for p in $$list; do \
942 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
943 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
946 clean-libLTLIBRARIES:
947 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
948 @list='$(lib_LTLIBRARIES)'; \
949 locs=`for p in $$list; do echo $$p; done | \
950 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
952 test -z "$$locs" || { \
953 echo rm -f $${locs}; \
957 clean-noinstLTLIBRARIES:
958 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
959 @list='$(noinst_LTLIBRARIES)'; \
960 locs=`for p in $$list; do echo $$p; done | \
961 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
963 test -z "$$locs" || { \
964 echo rm -f $${locs}; \
968 libxml2.la: $(libxml2_la_OBJECTS) $(libxml2_la_DEPENDENCIES) $(EXTRA_libxml2_la_DEPENDENCIES)
969 $(AM_V_CCLD)$(libxml2_la_LINK) -rpath $(libdir) $(libxml2_la_OBJECTS) $(libxml2_la_LIBADD) $(LIBS)
971 testdso.la: $(testdso_la_OBJECTS) $(testdso_la_DEPENDENCIES) $(EXTRA_testdso_la_DEPENDENCIES)
972 $(AM_V_CCLD)$(testdso_la_LINK) $(testdso_la_OBJECTS) $(testdso_la_LIBADD) $(LIBS)
973 install-binPROGRAMS: $(bin_PROGRAMS)
975 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
976 if test -n "$$list"; then \
977 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
978 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
980 for p in $$list; do echo "$$p $$p"; done | \
981 sed 's/$(EXEEXT)$$//' | \
982 while read p p1; do if test -f $$p \
984 ; then echo "$$p"; echo "$$p"; else :; fi; \
986 sed -e 'p;s,.*/,,;n;h' \
988 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
989 sed 'N;N;N;s,\n, ,g' | \
990 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
991 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
992 if ($$2 == $$4) files[d] = files[d] " " $$1; \
993 else { print "f", $$3 "/" $$4, $$1; } } \
994 END { for (d in files) print "f", d, files[d] }' | \
995 while read type dir files; do \
996 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
997 test -z "$$files" || { \
998 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
999 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
1003 uninstall-binPROGRAMS:
1004 @$(NORMAL_UNINSTALL)
1005 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
1006 files=`for p in $$list; do echo "$$p"; done | \
1007 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
1008 -e 's/$$/$(EXEEXT)/' \
1010 test -n "$$list" || exit 0; \
1011 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
1012 cd "$(DESTDIR)$(bindir)" && rm -f $$files
1015 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
1016 echo " rm -f" $$list; \
1017 rm -f $$list || exit $$?; \
1018 test -n "$(EXEEXT)" || exit 0; \
1019 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1020 echo " rm -f" $$list; \
1023 clean-noinstPROGRAMS:
1024 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
1025 echo " rm -f" $$list; \
1026 rm -f $$list || exit $$?; \
1027 test -n "$(EXEEXT)" || exit 0; \
1028 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1029 echo " rm -f" $$list; \
1032 runsuite$(EXEEXT): $(runsuite_OBJECTS) $(runsuite_DEPENDENCIES) $(EXTRA_runsuite_DEPENDENCIES)
1033 @rm -f runsuite$(EXEEXT)
1034 $(AM_V_CCLD)$(runsuite_LINK) $(runsuite_OBJECTS) $(runsuite_LDADD) $(LIBS)
1036 runtest$(EXEEXT): $(runtest_OBJECTS) $(runtest_DEPENDENCIES) $(EXTRA_runtest_DEPENDENCIES)
1037 @rm -f runtest$(EXEEXT)
1038 $(AM_V_CCLD)$(runtest_LINK) $(runtest_OBJECTS) $(runtest_LDADD) $(LIBS)
1040 runxmlconf$(EXEEXT): $(runxmlconf_OBJECTS) $(runxmlconf_DEPENDENCIES) $(EXTRA_runxmlconf_DEPENDENCIES)
1041 @rm -f runxmlconf$(EXEEXT)
1042 $(AM_V_CCLD)$(runxmlconf_LINK) $(runxmlconf_OBJECTS) $(runxmlconf_LDADD) $(LIBS)
1044 testAutomata$(EXEEXT): $(testAutomata_OBJECTS) $(testAutomata_DEPENDENCIES) $(EXTRA_testAutomata_DEPENDENCIES)
1045 @rm -f testAutomata$(EXEEXT)
1046 $(AM_V_CCLD)$(testAutomata_LINK) $(testAutomata_OBJECTS) $(testAutomata_LDADD) $(LIBS)
1048 testC14N$(EXEEXT): $(testC14N_OBJECTS) $(testC14N_DEPENDENCIES) $(EXTRA_testC14N_DEPENDENCIES)
1049 @rm -f testC14N$(EXEEXT)
1050 $(AM_V_CCLD)$(testC14N_LINK) $(testC14N_OBJECTS) $(testC14N_LDADD) $(LIBS)
1052 testHTML$(EXEEXT): $(testHTML_OBJECTS) $(testHTML_DEPENDENCIES) $(EXTRA_testHTML_DEPENDENCIES)
1053 @rm -f testHTML$(EXEEXT)
1054 $(AM_V_CCLD)$(testHTML_LINK) $(testHTML_OBJECTS) $(testHTML_LDADD) $(LIBS)
1056 testModule$(EXEEXT): $(testModule_OBJECTS) $(testModule_DEPENDENCIES) $(EXTRA_testModule_DEPENDENCIES)
1057 @rm -f testModule$(EXEEXT)
1058 $(AM_V_CCLD)$(testModule_LINK) $(testModule_OBJECTS) $(testModule_LDADD) $(LIBS)
1060 testReader$(EXEEXT): $(testReader_OBJECTS) $(testReader_DEPENDENCIES) $(EXTRA_testReader_DEPENDENCIES)
1061 @rm -f testReader$(EXEEXT)
1062 $(AM_V_CCLD)$(testReader_LINK) $(testReader_OBJECTS) $(testReader_LDADD) $(LIBS)
1064 testRegexp$(EXEEXT): $(testRegexp_OBJECTS) $(testRegexp_DEPENDENCIES) $(EXTRA_testRegexp_DEPENDENCIES)
1065 @rm -f testRegexp$(EXEEXT)
1066 $(AM_V_CCLD)$(testRegexp_LINK) $(testRegexp_OBJECTS) $(testRegexp_LDADD) $(LIBS)
1068 testRelax$(EXEEXT): $(testRelax_OBJECTS) $(testRelax_DEPENDENCIES) $(EXTRA_testRelax_DEPENDENCIES)
1069 @rm -f testRelax$(EXEEXT)
1070 $(AM_V_CCLD)$(testRelax_LINK) $(testRelax_OBJECTS) $(testRelax_LDADD) $(LIBS)
1072 testSAX$(EXEEXT): $(testSAX_OBJECTS) $(testSAX_DEPENDENCIES) $(EXTRA_testSAX_DEPENDENCIES)
1073 @rm -f testSAX$(EXEEXT)
1074 $(AM_V_CCLD)$(testSAX_LINK) $(testSAX_OBJECTS) $(testSAX_LDADD) $(LIBS)
1076 testSchemas$(EXEEXT): $(testSchemas_OBJECTS) $(testSchemas_DEPENDENCIES) $(EXTRA_testSchemas_DEPENDENCIES)
1077 @rm -f testSchemas$(EXEEXT)
1078 $(AM_V_CCLD)$(testSchemas_LINK) $(testSchemas_OBJECTS) $(testSchemas_LDADD) $(LIBS)
1080 testThreads$(EXEEXT): $(testThreads_OBJECTS) $(testThreads_DEPENDENCIES) $(EXTRA_testThreads_DEPENDENCIES)
1081 @rm -f testThreads$(EXEEXT)
1082 $(AM_V_CCLD)$(testThreads_LINK) $(testThreads_OBJECTS) $(testThreads_LDADD) $(LIBS)
1084 testURI$(EXEEXT): $(testURI_OBJECTS) $(testURI_DEPENDENCIES) $(EXTRA_testURI_DEPENDENCIES)
1085 @rm -f testURI$(EXEEXT)
1086 $(AM_V_CCLD)$(testURI_LINK) $(testURI_OBJECTS) $(testURI_LDADD) $(LIBS)
1088 testXPath$(EXEEXT): $(testXPath_OBJECTS) $(testXPath_DEPENDENCIES) $(EXTRA_testXPath_DEPENDENCIES)
1089 @rm -f testXPath$(EXEEXT)
1090 $(AM_V_CCLD)$(testXPath_LINK) $(testXPath_OBJECTS) $(testXPath_LDADD) $(LIBS)
1092 testapi$(EXEEXT): $(testapi_OBJECTS) $(testapi_DEPENDENCIES) $(EXTRA_testapi_DEPENDENCIES)
1093 @rm -f testapi$(EXEEXT)
1094 $(AM_V_CCLD)$(testapi_LINK) $(testapi_OBJECTS) $(testapi_LDADD) $(LIBS)
1096 testchar$(EXEEXT): $(testchar_OBJECTS) $(testchar_DEPENDENCIES) $(EXTRA_testchar_DEPENDENCIES)
1097 @rm -f testchar$(EXEEXT)
1098 $(AM_V_CCLD)$(testchar_LINK) $(testchar_OBJECTS) $(testchar_LDADD) $(LIBS)
1100 testdict$(EXEEXT): $(testdict_OBJECTS) $(testdict_DEPENDENCIES) $(EXTRA_testdict_DEPENDENCIES)
1101 @rm -f testdict$(EXEEXT)
1102 $(AM_V_CCLD)$(testdict_LINK) $(testdict_OBJECTS) $(testdict_LDADD) $(LIBS)
1104 testlimits$(EXEEXT): $(testlimits_OBJECTS) $(testlimits_DEPENDENCIES) $(EXTRA_testlimits_DEPENDENCIES)
1105 @rm -f testlimits$(EXEEXT)
1106 $(AM_V_CCLD)$(testlimits_LINK) $(testlimits_OBJECTS) $(testlimits_LDADD) $(LIBS)
1108 testrecurse$(EXEEXT): $(testrecurse_OBJECTS) $(testrecurse_DEPENDENCIES) $(EXTRA_testrecurse_DEPENDENCIES)
1109 @rm -f testrecurse$(EXEEXT)
1110 $(AM_V_CCLD)$(testrecurse_LINK) $(testrecurse_OBJECTS) $(testrecurse_LDADD) $(LIBS)
1112 xmlcatalog$(EXEEXT): $(xmlcatalog_OBJECTS) $(xmlcatalog_DEPENDENCIES) $(EXTRA_xmlcatalog_DEPENDENCIES)
1113 @rm -f xmlcatalog$(EXEEXT)
1114 $(AM_V_CCLD)$(xmlcatalog_LINK) $(xmlcatalog_OBJECTS) $(xmlcatalog_LDADD) $(LIBS)
1116 xmllint$(EXEEXT): $(xmllint_OBJECTS) $(xmllint_DEPENDENCIES) $(EXTRA_xmllint_DEPENDENCIES)
1117 @rm -f xmllint$(EXEEXT)
1118 $(AM_V_CCLD)$(xmllint_LINK) $(xmllint_OBJECTS) $(xmllint_LDADD) $(LIBS)
1119 install-binSCRIPTS: $(bin_SCRIPTS)
1121 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
1122 if test -n "$$list"; then \
1123 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
1124 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
1126 for p in $$list; do \
1127 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1128 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
1130 sed -e 'p;s,.*/,,;n' \
1132 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
1133 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
1134 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1135 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
1136 if (++n[d] == $(am__install_max)) { \
1137 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
1138 else { print "f", d "/" $$4, $$1 } } \
1139 END { for (d in files) print "f", d, files[d] }' | \
1140 while read type dir files; do \
1141 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1142 test -z "$$files" || { \
1143 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
1144 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
1148 uninstall-binSCRIPTS:
1149 @$(NORMAL_UNINSTALL)
1150 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
1151 files=`for p in $$list; do echo "$$p"; done | \
1152 sed -e 's,.*/,,;$(transform)'`; \
1153 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
1155 mostlyclean-compile:
1161 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DOCBparser.Plo@am__quote@
1162 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HTMLparser.Plo@am__quote@
1163 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HTMLtree.Plo@am__quote@
1164 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SAX.Plo@am__quote@
1165 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SAX2.Plo@am__quote@
1166 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/buf.Plo@am__quote@
1167 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c14n.Plo@am__quote@
1168 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/catalog.Plo@am__quote@
1169 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chvalid.Plo@am__quote@
1170 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/debugXML.Plo@am__quote@
1171 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dict.Plo@am__quote@
1172 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoding.Plo@am__quote@
1173 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/entities.Plo@am__quote@
1174 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@
1175 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/globals.Plo@am__quote@
1176 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Plo@am__quote@
1177 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/legacy.Plo@am__quote@
1178 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@
1179 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanoftp.Plo@am__quote@
1180 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanohttp.Plo@am__quote@
1181 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parser.Plo@am__quote@
1182 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parserInternals.Plo@am__quote@
1183 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pattern.Plo@am__quote@
1184 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/relaxng.Plo@am__quote@
1185 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runsuite.Po@am__quote@
1186 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runtest.Po@am__quote@
1187 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runxmlconf.Po@am__quote@
1188 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/schematron.Plo@am__quote@
1189 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testAutomata.Po@am__quote@
1190 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testC14N.Po@am__quote@
1191 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testHTML.Po@am__quote@
1192 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testModule.Po@am__quote@
1193 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testReader.Po@am__quote@
1194 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testRegexp.Po@am__quote@
1195 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testRelax.Po@am__quote@
1196 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testSAX.Po@am__quote@
1197 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testSchemas.Po@am__quote@
1198 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testThreads.Po@am__quote@
1199 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testThreadsWin32.Po@am__quote@
1200 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testURI.Po@am__quote@
1201 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testXPath.Po@am__quote@
1202 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testapi.Po@am__quote@
1203 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testchar.Po@am__quote@
1204 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdict.Po@am__quote@
1205 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdso.Plo@am__quote@
1206 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testlimits.Po@am__quote@
1207 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testrecurse.Po@am__quote@
1208 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/threads.Plo@am__quote@
1209 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@
1210 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trio.Plo@am__quote@
1211 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/triostr.Plo@am__quote@
1212 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uri.Plo@am__quote@
1213 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/valid.Plo@am__quote@
1214 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xinclude.Plo@am__quote@
1215 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xlink.Plo@am__quote@
1216 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlIO.Plo@am__quote@
1217 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlcatalog.Po@am__quote@
1218 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmllint.Po@am__quote@
1219 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlmemory.Plo@am__quote@
1220 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlmodule.Plo@am__quote@
1221 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlreader.Plo@am__quote@
1222 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlregexp.Plo@am__quote@
1223 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlsave.Plo@am__quote@
1224 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlschemas.Plo@am__quote@
1225 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlschemastypes.Plo@am__quote@
1226 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlstring.Plo@am__quote@
1227 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlunicode.Plo@am__quote@
1228 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlwriter.Plo@am__quote@
1229 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xpath.Plo@am__quote@
1230 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xpointer.Plo@am__quote@
1231 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xzlib.Plo@am__quote@
1234 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1235 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1236 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1237 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1238 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1241 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1242 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1243 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1244 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1245 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1248 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1249 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
1250 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1251 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1252 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
1254 mostlyclean-libtool:
1261 -rm -f libtool config.lt
1262 install-man1: $(man_MANS)
1265 list2='$(man_MANS)'; \
1266 test -n "$(man1dir)" \
1267 && test -n "`echo $$list1$$list2`" \
1269 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
1270 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
1271 { for i in $$list1; do echo "$$i"; done; \
1272 if test -n "$$list2"; then \
1273 for i in $$list2; do echo "$$i"; done \
1274 | sed -n '/\.1[a-z]*$$/p'; \
1276 } | while read p; do \
1277 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1278 echo "$$d$$p"; echo "$$p"; \
1280 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
1281 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1282 sed 'N;N;s,\n, ,g' | { \
1283 list=; while read file base inst; do \
1284 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1285 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
1286 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
1289 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1290 while read files; do \
1291 test -z "$$files" || { \
1292 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
1293 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
1297 @$(NORMAL_UNINSTALL)
1298 @list=''; test -n "$(man1dir)" || exit 0; \
1299 files=`{ for i in $$list; do echo "$$i"; done; \
1300 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1301 sed -n '/\.1[a-z]*$$/p'; \
1302 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
1303 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1304 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
1305 install-man3: $(man_MANS)
1308 list2='$(man_MANS)'; \
1309 test -n "$(man3dir)" \
1310 && test -n "`echo $$list1$$list2`" \
1312 echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
1313 $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
1314 { for i in $$list1; do echo "$$i"; done; \
1315 if test -n "$$list2"; then \
1316 for i in $$list2; do echo "$$i"; done \
1317 | sed -n '/\.3[a-z]*$$/p'; \
1319 } | while read p; do \
1320 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1321 echo "$$d$$p"; echo "$$p"; \
1323 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1324 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1325 sed 'N;N;s,\n, ,g' | { \
1326 list=; while read file base inst; do \
1327 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1328 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
1329 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
1332 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1333 while read files; do \
1334 test -z "$$files" || { \
1335 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
1336 $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
1340 @$(NORMAL_UNINSTALL)
1341 @list=''; test -n "$(man3dir)" || exit 0; \
1342 files=`{ for i in $$list; do echo "$$i"; done; \
1343 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1344 sed -n '/\.3[a-z]*$$/p'; \
1345 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1346 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1347 dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
1348 install-cmakeDATA: $(cmake_DATA)
1350 @list='$(cmake_DATA)'; test -n "$(cmakedir)" || list=; \
1351 if test -n "$$list"; then \
1352 echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
1353 $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
1355 for p in $$list; do \
1356 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1358 done | $(am__base_list) | \
1359 while read files; do \
1360 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
1361 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
1364 uninstall-cmakeDATA:
1365 @$(NORMAL_UNINSTALL)
1366 @list='$(cmake_DATA)'; test -n "$(cmakedir)" || list=; \
1367 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1368 dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
1369 install-confexecDATA: $(confexec_DATA)
1371 @list='$(confexec_DATA)'; test -n "$(confexecdir)" || list=; \
1372 if test -n "$$list"; then \
1373 echo " $(MKDIR_P) '$(DESTDIR)$(confexecdir)'"; \
1374 $(MKDIR_P) "$(DESTDIR)$(confexecdir)" || exit 1; \
1376 for p in $$list; do \
1377 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1379 done | $(am__base_list) | \
1380 while read files; do \
1381 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(confexecdir)'"; \
1382 $(INSTALL_DATA) $$files "$(DESTDIR)$(confexecdir)" || exit $$?; \
1385 uninstall-confexecDATA:
1386 @$(NORMAL_UNINSTALL)
1387 @list='$(confexec_DATA)'; test -n "$(confexecdir)" || list=; \
1388 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1389 dir='$(DESTDIR)$(confexecdir)'; $(am__uninstall_files_from_dir)
1390 install-m4dataDATA: $(m4data_DATA)
1392 @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \
1393 if test -n "$$list"; then \
1394 echo " $(MKDIR_P) '$(DESTDIR)$(m4datadir)'"; \
1395 $(MKDIR_P) "$(DESTDIR)$(m4datadir)" || exit 1; \
1397 for p in $$list; do \
1398 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1400 done | $(am__base_list) | \
1401 while read files; do \
1402 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(m4datadir)'"; \
1403 $(INSTALL_DATA) $$files "$(DESTDIR)$(m4datadir)" || exit $$?; \
1406 uninstall-m4dataDATA:
1407 @$(NORMAL_UNINSTALL)
1408 @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \
1409 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1410 dir='$(DESTDIR)$(m4datadir)'; $(am__uninstall_files_from_dir)
1411 install-pkgconfigDATA: $(pkgconfig_DATA)
1413 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1414 if test -n "$$list"; then \
1415 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
1416 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
1418 for p in $$list; do \
1419 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1421 done | $(am__base_list) | \
1422 while read files; do \
1423 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
1424 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
1427 uninstall-pkgconfigDATA:
1428 @$(NORMAL_UNINSTALL)
1429 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1430 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1431 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
1433 # This directory's subdirectories are mostly independent; you can cd
1434 # into them and run 'make' without going through this Makefile.
1435 # To change the values of 'make' variables: instead of editing Makefiles,
1436 # (1) if the variable is set in 'config.status', edit 'config.status'
1437 # (which will cause the Makefiles to be regenerated when you run 'make');
1438 # (2) otherwise, pass the desired values on the 'make' command line.
1439 $(am__recursive_targets):
1441 if $(am__make_keepgoing); then \
1442 failcom='fail=yes'; \
1447 target=`echo $@ | sed s/-recursive//`; \
1449 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1450 *) list='$(SUBDIRS)' ;; \
1452 for subdir in $$list; do \
1453 echo "Making $$target in $$subdir"; \
1454 if test "$$subdir" = "."; then \
1456 local_target="$$target-am"; \
1458 local_target="$$target"; \
1460 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1461 || eval $$failcom; \
1463 if test "$$dot_seen" = "no"; then \
1464 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1465 fi; test -z "$$fail"
1467 ID: $(am__tagged_files)
1468 $(am__define_uniq_tagged_files); mkid -fID $$unique
1469 tags: tags-recursive
1472 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1475 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1476 include_option=--etags-include; \
1479 include_option=--include; \
1482 list='$(SUBDIRS)'; for subdir in $$list; do \
1483 if test "$$subdir" = .; then :; else \
1484 test ! -f $$subdir/TAGS || \
1485 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1488 $(am__define_uniq_tagged_files); \
1490 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1491 test -n "$$unique" || unique=$$empty_fix; \
1492 if test $$# -gt 0; then \
1493 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1496 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1500 ctags: ctags-recursive
1503 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1504 $(am__define_uniq_tagged_files); \
1505 test -z "$(CTAGS_ARGS)$$unique" \
1506 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1510 here=`$(am__cd) $(top_builddir) && pwd` \
1511 && $(am__cd) $(top_srcdir) \
1512 && gtags -i $(GTAGS_ARGS) "$$here"
1513 cscope: cscope.files
1514 test ! -s cscope.files \
1515 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1518 cscope.files: clean-cscope cscopelist
1519 cscopelist: cscopelist-recursive
1521 cscopelist-am: $(am__tagged_files)
1522 list='$(am__tagged_files)'; \
1523 case "$(srcdir)" in \
1524 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1525 *) sdir=$(subdir)/$(srcdir) ;; \
1527 for i in $$list; do \
1528 if test -f "$$i"; then \
1529 echo "$(subdir)/$$i"; \
1531 echo "$$sdir/$$i"; \
1533 done >> $(top_builddir)/cscope.files
1536 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1537 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1539 distdir: $(DISTFILES)
1540 $(am__remove_distdir)
1541 test -d "$(distdir)" || mkdir "$(distdir)"
1542 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1543 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1544 list='$(DISTFILES)'; \
1545 dist_files=`for file in $$list; do echo $$file; done | \
1546 sed -e "s|^$$srcdirstrip/||;t" \
1547 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1548 case $$dist_files in \
1549 */*) $(MKDIR_P) `echo "$$dist_files" | \
1550 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1553 for file in $$dist_files; do \
1554 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1555 if test -d $$d/$$file; then \
1556 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1557 if test -d "$(distdir)/$$file"; then \
1558 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1560 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1561 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1562 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1564 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1566 test -f "$(distdir)/$$file" \
1567 || cp -p $$d/$$file "$(distdir)/$$file" \
1571 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1572 if test "$$subdir" = .; then :; else \
1573 $(am__make_dryrun) \
1574 || test -d "$(distdir)/$$subdir" \
1575 || $(MKDIR_P) "$(distdir)/$$subdir" \
1577 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1578 $(am__relativize); \
1579 new_distdir=$$reldir; \
1580 dir1=$$subdir; dir2="$(top_distdir)"; \
1581 $(am__relativize); \
1582 new_top_distdir=$$reldir; \
1583 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1584 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1585 ($(am__cd) $$subdir && \
1586 $(MAKE) $(AM_MAKEFLAGS) \
1587 top_distdir="$$new_top_distdir" \
1588 distdir="$$new_distdir" \
1589 am__remove_distdir=: \
1590 am__skip_length_check=: \
1591 am__skip_mode_fix=: \
1596 $(MAKE) $(AM_MAKEFLAGS) \
1597 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1599 -test -n "$(am__skip_mode_fix)" \
1600 || find "$(distdir)" -type d ! -perm -755 \
1601 -exec chmod u+rwx,go+rx {} \; -o \
1602 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1603 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1604 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1605 || chmod -R a+r "$(distdir)"
1607 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1608 $(am__post_remove_distdir)
1611 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1612 $(am__post_remove_distdir)
1615 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1616 $(am__post_remove_distdir)
1619 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1620 $(am__post_remove_distdir)
1623 @echo WARNING: "Support for distribution archives compressed with" \
1624 "legacy program 'compress' is deprecated." >&2
1625 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1626 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1627 $(am__post_remove_distdir)
1630 @echo WARNING: "Support for shar distribution archives is" \
1632 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1633 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1634 $(am__post_remove_distdir)
1637 -rm -f $(distdir).zip
1638 zip -rq $(distdir).zip $(distdir)
1639 $(am__post_remove_distdir)
1642 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1643 $(am__post_remove_distdir)
1645 # This target untars the dist file and tries a VPATH configuration. Then
1646 # it guarantees that the distribution is self-contained by making another
1649 case '$(DIST_ARCHIVES)' in \
1651 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1653 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1655 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1657 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1659 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1661 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1663 unzip $(distdir).zip ;;\
1665 chmod -R a-w $(distdir)
1666 chmod u+w $(distdir)
1667 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1668 chmod a-w $(distdir)
1669 test -d $(distdir)/_build || exit 0; \
1670 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1671 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1673 && $(am__cd) $(distdir)/_build/sub \
1674 && ../../configure \
1675 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1676 $(DISTCHECK_CONFIGURE_FLAGS) \
1677 --srcdir=../.. --prefix="$$dc_install_base" \
1678 && $(MAKE) $(AM_MAKEFLAGS) \
1679 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1680 && $(MAKE) $(AM_MAKEFLAGS) check \
1681 && $(MAKE) $(AM_MAKEFLAGS) install \
1682 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1683 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1684 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1685 distuninstallcheck \
1686 && chmod -R a-w "$$dc_install_base" \
1688 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1689 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1690 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1691 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1692 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1693 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1694 && rm -rf "$$dc_destdir" \
1695 && $(MAKE) $(AM_MAKEFLAGS) dist \
1696 && rm -rf $(DIST_ARCHIVES) \
1697 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1700 $(am__post_remove_distdir)
1701 @(echo "$(distdir) archives ready for distribution: "; \
1702 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1703 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1705 @test -n '$(distuninstallcheck_dir)' || { \
1706 echo 'ERROR: trying to run $@ with an empty' \
1707 '$$(distuninstallcheck_dir)' >&2; \
1710 $(am__cd) '$(distuninstallcheck_dir)' || { \
1711 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1714 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1715 || { echo "ERROR: files left after uninstall:" ; \
1716 if test -n "$(DESTDIR)"; then \
1717 echo " (check DESTDIR support)"; \
1719 $(distuninstallcheck_listfiles) ; \
1721 distcleancheck: distclean
1722 @if test '$(srcdir)' = . ; then \
1723 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1726 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1727 || { echo "ERROR: files left in build directory after distclean:" ; \
1728 $(distcleancheck_listfiles) ; \
1731 check: $(BUILT_SOURCES)
1732 $(MAKE) $(AM_MAKEFLAGS) check-recursive
1733 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
1735 install-binPROGRAMS: install-libLTLIBRARIES
1737 installdirs: installdirs-recursive
1739 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(confexecdir)" "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(pkgconfigdir)"; do \
1740 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1742 install: $(BUILT_SOURCES)
1743 $(MAKE) $(AM_MAKEFLAGS) install-recursive
1744 install-exec: install-exec-recursive
1745 install-data: install-data-recursive
1746 uninstall: uninstall-recursive
1749 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1751 installcheck: installcheck-recursive
1753 if test -z '$(STRIP)'; then \
1754 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1755 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1758 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1759 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1760 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1762 mostlyclean-generic:
1765 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1768 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1769 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1770 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1772 maintainer-clean-generic:
1773 @echo "This command is intended for maintainers to use"
1774 @echo "it deletes files that may require special tools to rebuild."
1775 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1776 clean: clean-recursive
1778 clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
1779 clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \
1782 distclean: distclean-recursive
1783 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1786 distclean-am: clean-am distclean-compile distclean-generic \
1787 distclean-hdr distclean-libtool distclean-tags
1793 html: html-recursive
1797 info: info-recursive
1801 install-data-am: install-cmakeDATA install-data-local \
1802 install-m4dataDATA install-man install-pkgconfigDATA
1804 install-dvi: install-dvi-recursive
1808 install-exec-am: install-binPROGRAMS install-binSCRIPTS \
1809 install-confexecDATA install-libLTLIBRARIES
1811 install-html: install-html-recursive
1815 install-info: install-info-recursive
1819 install-man: install-man1 install-man3
1821 install-pdf: install-pdf-recursive
1825 install-ps: install-ps-recursive
1831 maintainer-clean: maintainer-clean-recursive
1832 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1833 -rm -rf $(top_srcdir)/autom4te.cache
1836 maintainer-clean-am: distclean-am maintainer-clean-generic
1838 mostlyclean: mostlyclean-recursive
1840 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1851 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
1852 uninstall-cmakeDATA uninstall-confexecDATA \
1853 uninstall-libLTLIBRARIES uninstall-local uninstall-m4dataDATA \
1854 uninstall-man uninstall-pkgconfigDATA
1856 uninstall-man: uninstall-man1 uninstall-man3
1858 .MAKE: $(am__recursive_targets) all check install install-am \
1861 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1862 am--refresh check check-am clean clean-binPROGRAMS \
1863 clean-cscope clean-generic clean-libLTLIBRARIES clean-libtool \
1864 clean-noinstLTLIBRARIES clean-noinstPROGRAMS cscope \
1865 cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1866 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
1867 dist-zip distcheck distclean distclean-compile \
1868 distclean-generic distclean-hdr distclean-libtool \
1869 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1870 dvi-am html html-am info info-am install install-am \
1871 install-binPROGRAMS install-binSCRIPTS install-cmakeDATA \
1872 install-confexecDATA install-data install-data-am \
1873 install-data-local install-dvi install-dvi-am install-exec \
1874 install-exec-am install-html install-html-am install-info \
1875 install-info-am install-libLTLIBRARIES install-m4dataDATA \
1876 install-man install-man1 install-man3 install-pdf \
1877 install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
1878 install-strip installcheck installcheck-am installdirs \
1879 installdirs-am maintainer-clean maintainer-clean-generic \
1880 mostlyclean mostlyclean-compile mostlyclean-generic \
1881 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1882 uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
1883 uninstall-cmakeDATA uninstall-confexecDATA \
1884 uninstall-libLTLIBRARIES uninstall-local uninstall-m4dataDATA \
1885 uninstall-man uninstall-man1 uninstall-man3 \
1886 uninstall-pkgconfigDATA
1891 # that one forces the rebuild when "make rebuild" is run on doc/
1893 -@(if [ "$(PYTHON)" != "" ] ; then \
1894 $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
1896 # that one is just to make sure it is rebuilt if missing
1897 # but adding the dependances generate mess
1898 testapi.c: $(srcdir)/gentest.py
1899 -@(if [ "$(PYTHON)" != "" ] ; then \
1900 $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
1902 #testOOM_SOURCES=testOOM.c testOOMlib.h testOOMlib.c
1904 #testOOM_DEPENDENCIES = $(DEPS)
1905 #testOOM_LDADD= $(LDADDS)
1908 [ -d test ] || $(LN_S) $(srcdir)/test .
1909 [ -d result ] || $(LN_S) $(srcdir)/result .
1910 $(CHECKER) ./runtest$(EXEEXT) && $(CHECKER) ./testrecurse$(EXEEXT) &&$(CHECKER) ./testapi$(EXEEXT) && $(CHECKER) ./testchar$(EXEEXT)&& $(CHECKER) ./testdict$(EXEEXT) && $(CHECKER) ./runxmlconf$(EXEEXT)
1911 @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
1916 check-valgrind valgrind: all
1917 @echo '## Running the regression tests under Valgrind'
1918 @echo '## Go get a cup of coffee it is gonna take a while ...'
1919 $(MAKE) CHECKER='valgrind -q' runtests
1922 @echo '## rebuilding for ASAN'
1923 ./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)
1925 testall : tests SVGtests SAXtests
1927 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)
1928 @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
1930 @(cd doc/examples ; $(MAKE) tests)
1932 APItests: testapi$(EXEEXT)
1933 @echo "## Running the API regression tests this may take a little while"
1934 -@($(CHECKER) $(top_builddir)/testapi -q)
1936 HTMLtests : testHTML$(EXEEXT)
1938 @echo "## HTML regression tests"
1939 -@(for i in $(srcdir)/test/HTML/* ; do \
1940 name=`basename $$i`; \
1941 if [ ! -d $$i ] ; then \
1942 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
1943 echo New test file $$name ; \
1944 $(CHECKER) $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
1946 log=`$(CHECKER) $(top_builddir)/testHTML $$i > result.$$name 2> error.$$name ; \
1947 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1948 diff $(srcdir)/result/HTML/$$name result.$$name ; \
1949 diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \
1950 $(CHECKER) $(top_builddir)/testHTML result.$$name > result2.$$name 2>error.$$name ; \
1951 diff result.$$name result2.$$name` ; \
1952 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
1953 rm result.$$name result2.$$name error.$$name ; \
1956 HTMLPushtests : testHTML$(EXEEXT)
1957 @echo "## Push HTML regression tests"
1958 -@(for i in $(srcdir)/test/HTML/* ; do \
1959 name=`basename $$i`; \
1960 if [ ! -d $$i ] ; then \
1961 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
1962 echo New test file $$name ; \
1963 $(CHECKER) $(top_builddir)/testHTML --push $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
1965 log=`$(CHECKER) $(top_builddir)/testHTML --push $$i > result.$$name 2> error.$$name ; \
1966 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1967 diff $(srcdir)/result/HTML/$$name result.$$name ; \
1968 cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \
1969 cut -b 1-15 error.$$name > errorcut2.$$name; \
1970 diff -b errorcut.$$name errorcut2.$$name ; \
1971 $(CHECKER) $(top_builddir)/testHTML --push result.$$name > result2.$$name 2>error.$$name ; \
1972 diff result.$$name result2.$$name` ; \
1973 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
1974 rm result.$$name result2.$$name error.$$name errorcut.$$name errorcut2.$$name ; \
1976 @echo "## HTML SAX regression tests"
1977 -@(for i in $(srcdir)/test/HTML/* ; do \
1978 name=`basename $$i`; \
1979 if [ ! -d $$i ] ; then \
1980 if [ ! -f $(srcdir)/result/HTML/$$name.sax ] ; then \
1981 echo New test file $$name ; \
1982 $(CHECKER) $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
1984 log=`$(CHECKER) $(top_builddir)/testHTML --sax $$i > result.$$name.sax ; \
1985 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1986 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
1987 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
1988 rm result.$$name.sax ; \
1990 @echo "## Push HTML SAX regression tests"
1991 -@(for i in $(srcdir)/test/HTML/* ; do \
1992 name=`basename $$i`; \
1993 if [ ! -d $$i ] ; then \
1994 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
1995 echo New test file $$name ; \
1996 $(CHECKER) $(top_builddir)/testHTML --push --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
1998 log=`$(CHECKER) $(top_builddir)/testHTML --push --sax $$i 2>&1 > result.$$name.sax ; \
1999 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2000 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
2001 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2002 rm result.$$name.sax ; \
2005 XMLtests : xmllint$(EXEEXT)
2007 @echo "## XML regression tests"
2008 -@(for i in $(srcdir)/test/* ; do \
2009 name=`basename $$i`; \
2010 if [ ! -d $$i ] ; then \
2011 if [ ! -f $(srcdir)/result/$$name ] ; then \
2012 echo New test file $$name ; \
2013 $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/$$name ; \
2014 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2016 log=`$(CHECKER) $(top_builddir)/xmllint $$i 2>&1 > result.$$name ; \
2017 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2018 diff $(srcdir)/result/$$name result.$$name ; \
2019 $(CHECKER) $(top_builddir)/xmllint result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
2020 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2021 diff result.$$name result2.$$name` ;\
2022 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2023 rm result.$$name result2.$$name ; \
2025 @echo "## XML regression tests on memory"
2026 -@(for i in $(srcdir)/test/* ; do \
2027 name=`basename $$i`; \
2028 if [ ! -d $$i ] ; then \
2029 if [ ! -f $(srcdir)/result/$$name ] ; then \
2030 echo New test file $$name ; \
2031 $(CHECKER) $(top_builddir)/xmllint --memory $$i > $(srcdir)/result/$$name ; \
2032 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2034 log=`$(CHECKER) $(top_builddir)/xmllint --memory $$i 2>&1 > result.$$name ; \
2035 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2036 diff $(srcdir)/result/$$name result.$$name ; \
2037 $(CHECKER) $(top_builddir)/xmllint --memory result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
2038 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`; \
2039 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2040 diff result.$$name result2.$$name ; \
2041 rm result.$$name result2.$$name ; \
2044 XMLPushtests: xmllint$(EXEEXT)
2046 @echo "## XML push regression tests"
2047 -@(for i in $(srcdir)/test/* ; do \
2048 name=`basename $$i`; \
2049 if [ ! -d $$i ] ; then \
2050 if [ ! -f $(srcdir)/result/$$name ] ; then \
2051 echo New test file $$name ; \
2052 $(CHECKER) $(top_builddir)/xmllint --push $$i > $(srcdir)/result/$$name ; \
2053 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2055 log=`$(CHECKER) $(top_builddir)/xmllint --push $$i 2>&1 > result.$$name ; \
2056 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2057 diff $(srcdir)/result/$$name result.$$name ; \
2058 $(CHECKER) $(top_builddir)/xmllint --push result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
2059 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2060 diff result.$$name result2.$$name` ; \
2061 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2062 rm result.$$name result2.$$name ; \
2065 NStests : xmllint$(EXEEXT)
2067 @echo "## XML Namespaces regression tests"
2068 -@(for i in $(srcdir)/test/namespaces/* ; do \
2069 name=`basename $$i`; \
2070 if [ ! -d $$i ] ; then \
2071 if [ ! -f $(srcdir)/result/namespaces/$$name ] ; then \
2072 echo New test file $$name ; \
2073 $(CHECKER) $(top_builddir)/xmllint $$i \
2074 2> $(srcdir)/result/namespaces/$$name.err \
2075 > $(srcdir)/result/namespaces/$$name ; \
2076 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2078 log=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
2079 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2080 diff $(srcdir)/result/namespaces/$$name result.$$name ; \
2081 diff $(srcdir)/result/namespaces/$$name.err error.$$name`; \
2082 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2083 rm result.$$name error.$$name ; \
2086 IDtests : xmllint$(EXEEXT) testXPath$(EXEEXT)
2088 @echo "## xml:id regression tests"
2089 -@(for i in $(srcdir)/test/xmlid/id_*.xml ; do \
2090 name=`basename $$i`; \
2091 if [ ! -d $$i ] ; then \
2092 if [ ! -f $(srcdir)/result/xmlid/$$name ] ; then \
2093 echo New test file $$name ; \
2094 $(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" \
2095 2> $(srcdir)/result/xmlid/$$name.err \
2096 > $(srcdir)/result/xmlid/$$name ; \
2097 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2099 log=`$(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" 2> error.$$name > result.$$name ; \
2100 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2101 diff $(srcdir)/result/xmlid/$$name result.$$name ; \
2102 diff $(srcdir)/result/xmlid/$$name.err error.$$name` ; \
2103 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2104 rm result.$$name error.$$name ; \
2107 Errtests : xmllint$(EXEEXT)
2109 @echo "## Error cases regression tests"
2110 -@(for i in $(srcdir)/test/errors/*.xml ; do \
2111 name=`basename $$i`; \
2112 if [ ! -d $$i ] ; then \
2113 if [ ! -f $(srcdir)/result/errors/$$name ] ; then \
2114 echo New test file $$name ; \
2115 $(CHECKER) $(top_builddir)/xmllint $$i \
2116 2> $(srcdir)/result/errors/$$name.err \
2117 > $(srcdir)/result/errors/$$name ; \
2118 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2120 log=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
2121 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2122 diff $(srcdir)/result/errors/$$name result.$$name ; \
2123 diff $(srcdir)/result/errors/$$name.err error.$$name` ; \
2124 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2125 rm result.$$name error.$$name ; \
2127 @echo "## Error cases stream regression tests"
2128 -@(for i in $(srcdir)/test/errors/*.xml ; do \
2129 name=`basename $$i`; \
2130 if [ ! -d $$i ] ; then \
2131 if [ ! -f $(srcdir)/result/errors/$$name.str ] ; then \
2132 echo New test file $$name ; \
2133 $(CHECKER) $(top_builddir)/xmllint --stream $$i \
2134 2> $(srcdir)/result/errors/$$name.str \
2136 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2138 log=`$(CHECKER) $(top_builddir)/xmllint --stream $$i 2> error.$$name > /dev/null ; \
2139 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2140 diff $(srcdir)/result/errors/$$name.str error.$$name` ; \
2141 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2145 Docbtests : xmllint$(EXEEXT)
2147 XMLenttests : xmllint$(EXEEXT)
2149 @echo "## XML entity subst regression tests"
2150 -@(for i in $(srcdir)/test/* ; do \
2151 name=`basename $$i`; \
2152 if [ ! -d $$i ] ; then \
2153 if [ ! -f $(srcdir)/result/noent/$$name ] ; then \
2154 echo New test file $$name ; \
2155 $(CHECKER) $(top_builddir)/xmllint --noent $$i > $(srcdir)/result/noent/$$name ; \
2156 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2158 log=`$(CHECKER) $(top_builddir)/xmllint --noent $$i 2>&1 > result.$$name ; \
2159 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2160 diff $(srcdir)/result/noent/$$name result.$$name ; \
2161 $(CHECKER) $(top_builddir)/xmllint --noent result.$$name 2>&1 > result2.$$name ; \
2162 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2163 diff result.$$name result2.$$name` ; \
2164 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2165 rm result.$$name result2.$$name ; \
2168 URItests : testURI$(EXEEXT)
2170 @echo "## URI module regression tests"
2171 -@(for i in $(srcdir)/test/URI/*.data ; do \
2172 name=`basename $$i`; \
2173 if [ ! -d $$i ] ; then \
2174 if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
2175 echo New test file $$name ; \
2176 $(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > $(srcdir)/result/URI/$$name ; \
2177 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2179 log=`$(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i 2>&1 > result.$$name ; \
2180 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2181 diff $(srcdir)/result/URI/$$name result.$$name` ; \
2182 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2183 rm result.$$name ; \
2185 -@(for i in $(srcdir)/test/URI/*.uri ; do \
2186 name=`basename $$i`; \
2187 if [ ! -d $$i ] ; then \
2188 if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
2189 echo New test file $$name ; \
2190 $(CHECKER) $(top_builddir)/testURI < $$i > $(srcdir)/result/URI/$$name ; \
2191 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2193 log=`$(CHECKER) $(top_builddir)/testURI < $$i 2>&1 > result.$$name ; \
2194 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2195 diff $(srcdir)/result/URI/$$name result.$$name` ; \
2196 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2197 rm result.$$name ; \
2200 XPathtests : testXPath$(EXEEXT)
2202 @echo "## XPath regression tests"
2203 -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
2204 then echo Skipping debug not compiled in ; exit 0 ; fi ; \
2205 for i in $(srcdir)/test/XPath/expr/* ; do \
2206 name=`basename $$i`; \
2207 if [ ! -d $$i ] ; then \
2208 if [ ! -f $(srcdir)/result/XPath/expr/$$name ] ; then \
2209 echo New test file $$name ; \
2210 $(CHECKER) $(top_builddir)/testXPath -f --expr $$i > $(srcdir)/result/XPath/expr/$$name ; \
2211 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2213 log=`$(CHECKER) $(top_builddir)/testXPath -f --expr $$i 2>&1 > result.$$name ; \
2214 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2215 diff $(srcdir)/result/XPath/expr/$$name result.$$name` ; \
2216 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2217 rm result.$$name ; \
2219 for i in $(srcdir)/test/XPath/docs/* ; do \
2220 if [ ! -d $$i ] ; then \
2221 doc=`basename $$i`; \
2222 for j in $(srcdir)/test/XPath/tests/$$doc* ; do \
2223 if [ ! -f $$j ] ; then continue ; fi ; \
2224 name=`basename $$j`; \
2225 if [ ! -d $$j ] ; then \
2226 if [ ! -f $(srcdir)/result/XPath/tests/$$name ] ; then \
2227 echo New test file $$name ; \
2228 $(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j > $(srcdir)/result/XPath/tests/$$name ; \
2229 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2231 log=`$(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j 2>&1 > result.$$name ; \
2232 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2233 diff $(srcdir)/result/XPath/tests/$$name result.$$name` ; \
2234 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2235 rm result.$$name ; \
2236 fi ; fi ; done ; fi ; done)
2238 XPtrtests : testXPath$(EXEEXT)
2240 @echo "## XPointer regression tests"
2241 -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
2242 then echo Skipping debug not compiled in ; exit 0 ; fi ; \
2243 for i in $(srcdir)/test/XPath/docs/* ; do \
2244 if [ ! -d $$i ] ; then \
2245 doc=`basename $$i`; \
2246 for j in $(srcdir)/test/XPath/xptr/$$doc* ; do \
2247 if [ ! -f $$j ] ; then continue ; fi ; \
2248 name=`basename $$j`; \
2249 if [ ! -d $$j ] ; then \
2250 if [ ! -f $(srcdir)/result/XPath/xptr/$$name ] ; then \
2251 echo New test file $$name ; \
2252 $(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j > $(srcdir)/result/XPath/xptr/$$name ; \
2253 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2255 log=`$(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j 2>&1 > result.$$name ; \
2256 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2257 diff $(srcdir)/result/XPath/xptr/$$name result.$$name` ; \
2258 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2259 rm result.$$name ; \
2260 fi ; fi ; done ; fi ; done)
2262 XIncludetests : xmllint$(EXEEXT)
2264 @echo "## XInclude regression tests"
2265 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
2266 name=`basename $$i`; \
2267 if [ ! -d $$i ] ; then \
2268 if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
2269 echo New test file $$name ; \
2270 $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > $(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
2271 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2273 log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > result.$$name 2>error.$$name ; \
2274 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2275 diff $(srcdir)/result/XInclude/$$name result.$$name ; \
2276 diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
2277 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2278 rm result.$$name error.$$name ; \
2280 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
2281 name=`basename $$i`; \
2282 if [ ! -d $$i ] ; then \
2283 if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
2284 echo New test file $$name ; \
2285 $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > $(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
2286 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2288 log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > result.$$name 2>error.$$name ; \
2289 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2290 diff $(srcdir)/result/XInclude/$$name result.$$name ; \
2291 diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
2292 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2293 rm result.$$name error.$$name ; \
2296 @echo "## XInclude xmlReader regression tests"
2297 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
2298 name=`basename $$i`; \
2299 if [ ! -d $$i ] ; then \
2300 if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
2301 echo New test file $$name ; \
2302 $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > $(srcdir)/result/XInclude/$$name.rdr ; \
2303 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2305 log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > result.$$name 2>error.$$name ; \
2306 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2307 diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
2308 diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
2309 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2310 rm result.$$name error.$$name ; \
2312 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
2313 name=`basename $$i`; \
2314 if [ ! -d $$i ] ; then \
2315 if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
2316 echo New test file $$name ; \
2317 $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode --stream --debug $$i > $(srcdir)/result/XInclude/$$name.rdr ; \
2318 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2320 log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > result.$$name 2>error.$$name ; \
2321 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2322 diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
2323 diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
2324 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2325 rm result.$$name error.$$name ; \
2328 Scripttests : xmllint$(EXEEXT)
2330 @echo "## Scripts regression tests"
2331 @echo "## Some of the base computations may be different if srcdir != ."
2332 -@(for i in $(srcdir)/test/scripts/*.script ; do \
2333 name=`basename $$i .script`; \
2334 xml=$(srcdir)/test/scripts/`basename $$i .script`.xml; \
2335 if [ -f $$xml ] ; then \
2336 if [ ! -f $(srcdir)/result/scripts/$$name ] ; then \
2337 echo New test file $$name ; \
2338 $(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > $(srcdir)/result/scripts/$$name 2> $(srcdir)/result/scripts/$$name.err ; \
2339 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2341 log=`$(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > result.$$name 2> result.$$name.err ; \
2342 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2343 diff $(srcdir)/result/scripts/$$name result.$$name ; \
2344 diff $(srcdir)/result/scripts/$$name.err result.$$name.err` ; \
2345 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2346 rm result.$$name result.$$name.err ; \
2349 Catatests : xmlcatalog$(EXEEXT)
2351 @echo "## Catalog regression tests"
2352 -@(for i in $(srcdir)/test/catalogs/*.script ; do \
2353 name=`basename $$i .script`; \
2354 xml=$(srcdir)/test/catalogs/`basename $$i .script`.xml; \
2355 if [ -f $$xml ] ; then \
2356 if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
2357 echo New test file $$name ; \
2358 $(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i 2>&1 > $(srcdir)/result/catalogs/$$name ; \
2359 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2361 log=`$(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i 2>&1 > result.$$name ; \
2362 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2363 diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
2364 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2365 rm result.$$name ; \
2367 -@(for i in $(srcdir)/test/catalogs/*.script ; do \
2368 name=`basename $$i .script`; \
2369 sgml=$(srcdir)/test/catalogs/`basename $$i .script`.sgml; \
2370 if [ -f $$sgml ] ; then \
2371 if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
2372 echo New test file $$name ; \
2373 $(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > $(srcdir)/result/catalogs/$$name ; \
2374 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2376 log=`$(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > result.$$name ; \
2377 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2378 diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
2379 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2380 rm result.$$name ; \
2382 @echo "## Add and del operations on XML Catalogs"
2383 -@($(CHECKER) $(top_builddir)/xmlcatalog --create --noout $(srcdir)/result/catalogs/mycatalog; \
2384 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2385 $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid sysid $(srcdir)/result/catalogs/mycatalog; \
2386 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2387 $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid2 sysid2 $(srcdir)/result/catalogs/mycatalog; \
2388 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2389 $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid3 sysid3 $(srcdir)/result/catalogs/mycatalog; \
2390 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2391 diff result/catalogs/mycatalog.full $(srcdir)/result/catalogs/mycatalog; \
2392 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2393 $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid $(srcdir)/result/catalogs/mycatalog; \
2394 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2395 $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid3 $(srcdir)/result/catalogs/mycatalog; \
2396 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2397 $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid2 $(srcdir)/result/catalogs/mycatalog; \
2398 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2399 diff result/catalogs/mycatalog.empty $(srcdir)/result/catalogs/mycatalog; \
2400 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2401 rm -f $(srcdir)/result/catalogs/mycatalog)
2403 SVGtests : xmllint$(EXEEXT)
2404 @echo "## SVG parsing regression tests"
2405 -@(for i in $(srcdir)/test/SVG/* ; do \
2406 name=`basename $$i`; \
2407 if [ ! -d $$i ] ; then \
2408 if [ ! -f $(srcdir)/result/SVG/$$name ] ; then \
2409 echo New test file $$name ; \
2410 $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/SVG/$$name ; \
2411 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2413 echo Testing $$name ; \
2414 $(CHECKER) $(top_builddir)/xmllint $$i > result.$$name ; \
2415 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2416 diff $(srcdir)/result/SVG/$$name result.$$name ; \
2417 $(CHECKER) $(top_builddir)/xmllint result.$$name > result2.$$name ; \
2418 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2419 diff result.$$name result2.$$name ; \
2420 rm result.$$name result2.$$name ; \
2423 Threadtests : testThreads$(EXEEXT)
2424 @echo "## Threaded regression tests"
2425 -@($(CHECKER) $(top_builddir)/testThreads ; \
2426 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2429 Readertests : xmllint$(EXEEXT)
2431 @echo "## Reader regression tests"
2432 -@(for i in $(srcdir)/test/* ; do \
2433 name=`basename $$i`; \
2434 if [ ! -d $$i ] ; then \
2435 if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
2436 echo New test file $$name ; \
2437 $(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
2438 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2440 log=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
2441 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2442 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
2443 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2444 rm result.$$name ; \
2446 @echo "## Reader on memory regression tests"
2447 -@(for i in $(srcdir)/test/* ; do \
2448 name=`basename $$i`; \
2449 if [ ! -d $$i ] ; then \
2450 if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
2451 echo New test file $$name ; \
2452 $(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
2453 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2455 log=`$(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
2456 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2457 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
2458 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2459 rm result.$$name ; \
2462 @echo "## Walker regression tests"
2463 -@(for i in $(srcdir)/test/* ; do \
2464 name=`basename $$i`; \
2465 if [ ! -d $$i ] ; then \
2466 if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
2467 echo New test file $$name ; \
2468 $(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
2469 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2471 log=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > result.$$name 2>/dev/null ; \
2472 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2473 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
2474 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2475 rm result.$$name ; \
2477 @echo "## Reader entities substitution regression tests"
2478 -@(for i in $(srcdir)/test/* ; do \
2479 name=`basename $$i`; \
2480 if [ ! -d $$i ] ; then \
2481 if [ ! -f $(srcdir)/result/$$name.rde ] ; then \
2482 echo New test file $$name ; \
2483 $(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > $(srcdir)/result/$$name.rde 2>/dev/null ; \
2484 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2486 log=`$(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
2487 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2488 diff $(srcdir)/result/$$name.rde result.$$name` ; \
2489 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2490 rm result.$$name ; \
2493 SAXtests : testSAX$(EXEEXT)
2495 @echo "## SAX1 callbacks regression tests"
2496 -@(for i in $(srcdir)/test/* ; do \
2497 name=`basename $$i`; \
2498 if [ ! -d $$i ] ; then \
2499 if [ ! -f $(srcdir)/result/$$name.sax ] ; then \
2500 echo New test file $$name ; \
2501 $(CHECKER) $(top_builddir)/testSAX $$i > $(srcdir)/result/$$name.sax 2> /dev/null ; \
2502 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2504 log=`$(CHECKER) $(top_builddir)/testSAX $$i > result.$$name 2> /dev/null ; \
2505 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2506 diff $(srcdir)/result/$$name.sax result.$$name` ; \
2507 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2508 rm result.$$name ; \
2510 @echo "## SAX2 callbacks regression tests"
2511 -@(for i in $(srcdir)/test/* ; do \
2512 name=`basename $$i`; \
2513 if [ ! -d $$i ] ; then \
2514 if [ ! -f $(srcdir)/result/$$name.sax2 ] ; then \
2515 echo New test file $$name ; \
2516 $(CHECKER) $(top_builddir)/testSAX --sax2 $$i > $(srcdir)/result/$$name.sax2 2> /dev/null ; \
2517 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2519 log=`$(CHECKER) $(top_builddir)/testSAX --sax2 $$i > result.$$name 2> /dev/null ; \
2520 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2521 diff $(srcdir)/result/$$name.sax2 result.$$name` ; \
2522 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2523 rm result.$$name ; \
2526 Validtests : xmllint$(EXEEXT)
2528 @echo "## Valid documents regression tests"
2529 -@(for i in $(srcdir)/test/VCM/* ; do \
2530 name=`basename $$i`; \
2531 if [ ! -d $$i ] ; then \
2532 log=`$(CHECKER) $(top_builddir)/xmllint --valid --noout --nowarning $$i ; \
2533 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`;\
2534 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2536 @echo "## Validity checking regression tests"
2537 -@(for i in $(srcdir)/test/VC/* ; do \
2538 name=`basename $$i`; \
2539 if [ ! -d $$i ] ; then \
2540 if [ ! -f $(srcdir)/result/VC/$$name ] ; then \
2541 echo New test file $$name ; \
2542 $(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> $(srcdir)/result/VC/$$name ; \
2543 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2545 log=`$(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> result.$$name ; \
2546 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2547 diff $(srcdir)/result/VC/$$name result.$$name` ; \
2548 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2549 rm result.$$name ; \
2551 @echo "## General documents valid regression tests"
2552 -@(for i in $(srcdir)/test/valid/* ; do \
2553 name=`basename $$i`; \
2554 if [ ! -d $$i ] ; then \
2555 if [ ! -f $(srcdir)/result/valid/$$name ] ; then \
2556 echo New test file $$name ; \
2557 $(CHECKER) $(top_builddir)/xmllint --valid $$i > $(srcdir)/result/valid/$$name 2>$(srcdir)/result/valid/$$name.err ; \
2558 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2560 log=`$(CHECKER) $(top_builddir)/xmllint --valid $$i > result.$$name 2>error.$$name ; \
2561 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2562 diff $(srcdir)/result/valid/$$name result.$$name ; \
2563 diff $(srcdir)/result/valid/$$name.err error.$$name` ; \
2564 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2565 rm result.$$name error.$$name ; \
2568 Regexptests: testRegexp$(EXEEXT)
2570 @echo "## Regexp regression tests"
2571 -@(for i in $(srcdir)/test/regexp/* ; do \
2572 name=`basename $$i`; \
2573 if [ ! -d $$i ] ; then \
2574 if [ ! -f $(srcdir)/result/regexp/$$name ] ; then \
2575 echo New test file $$name ; \
2576 $(CHECKER) $(top_builddir)/testRegexp -i $$i > $(srcdir)/result/regexp/$$name; \
2577 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2579 log=`$(CHECKER) $(top_builddir)/testRegexp -i $$i 2>&1 > result.$$name ; \
2580 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2581 diff $(srcdir)/result/regexp/$$name result.$$name` ; \
2582 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2583 rm result.$$name ; \
2585 @echo "## Formal expresssions regression tests"
2586 -@(for i in $(srcdir)/test/expr/* ; do \
2587 name=`basename $$i`; \
2588 if [ ! -d $$i ] ; then \
2589 if [ ! -f $(srcdir)/result/expr/$$name ] ; then \
2590 echo New test file $$name ; \
2591 $(CHECKER) $(top_builddir)/testRegexp --expr -i $$i > $(srcdir)/result/expr/$$name; \
2592 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2594 log=`$(CHECKER) $(top_builddir)/testRegexp --expr -i $$i 2>&1 > result.$$name ; \
2595 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2596 diff $(srcdir)/result/expr/$$name result.$$name` ; \
2597 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2598 rm result.$$name ; \
2601 Automatatests: testAutomata$(EXEEXT)
2603 @echo "## Automata regression tests"
2604 -@(for i in $(srcdir)/test/automata/* ; do \
2605 name=`basename $$i`; \
2606 if [ ! -d $$i ] ; then \
2607 if [ ! -f $(srcdir)/result/automata/$$name ] ; then \
2608 echo New test file $$name ; \
2609 $(CHECKER) $(top_builddir)/testAutomata $$i > $(srcdir)/result/automata/$$name; \
2610 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2612 log=`$(CHECKER) $(top_builddir)/testAutomata $$i 2>&1 > result.$$name ; \
2613 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2614 diff $(srcdir)/result/automata/$$name result.$$name` ; \
2615 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2616 rm result.$$name ; \
2619 dba100000.xml: dbgenattr.pl
2620 @echo "## generating dba100000.xml"
2621 @($(PERL) $(top_srcdir)/dbgenattr.pl 100000 > dba100000.xml)
2623 Timingtests: xmllint$(EXEEXT) dba100000.xml
2624 @echo "## Timing tests to try to detect performance"
2625 @echo "## as well a memory usage breakage when streaming"
2626 @echo "## 1/ using the file interface"
2627 @echo "## 2/ using the memory interface"
2628 @echo "## 3/ repeated DOM parsing"
2629 @echo "## 4/ repeated DOM validation"
2630 -@($(top_builddir)/xmllint --stream --timing dba100000.xml; \
2631 MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2632 if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
2633 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2635 -@($(top_builddir)/xmllint --stream --timing --memory dba100000.xml; \
2636 MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2637 if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
2638 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2640 -@($(top_builddir)/xmllint --noout --timing --repeat $(srcdir)/test/valid/REC-xml-19980210.xml; \
2641 MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2642 if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
2643 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2646 VTimingtests: xmllint$(EXEEXT)
2647 -@($(top_builddir)/xmllint --noout --timing --valid --repeat $(srcdir)/test/valid/REC-xml-19980210.xml; \
2648 MEM=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2649 if [ "$$MEM" != "" ] ; then echo Using $$MEM bytes ; fi ; \
2650 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2653 C14Ntests : testC14N$(EXEEXT)
2654 @echo "## C14N and XPath regression tests"
2655 -@(for m in with-comments without-comments 1-1-without-comments exc-without-comments ; do \
2656 for i in $(srcdir)/test/c14n/$$m/*.xml ; do \
2657 if [ ! -d $$i ] ; then \
2658 name=`basename $$i .xml`; \
2659 cmdline="$(CHECKER) $(top_builddir)/testC14N --$$m $$i"; \
2660 if [ -f $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
2661 cmdline="$$cmdline $(srcdir)/test/c14n/$$m/$$name.xpath"; \
2662 if [ -f $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
2663 cmdline="$$cmdline '`cat $(srcdir)/test/c14n/$$m/$$name.ns`'"; \
2666 $$cmdline > $(srcdir)/test/c14n/test.tmp; \
2667 if [ $$? -eq 0 ]; then \
2668 diff $(srcdir)/result/c14n/$$m/$$name $(srcdir)/test/c14n/test.tmp; \
2669 if [ $$? -ne 0 ]; then \
2670 echo "Test $$m/$$name failed"; \
2671 cat $(srcdir)/test/c14n/test.tmp; \
2674 echo "C14N failed"; \
2676 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2678 rm -f $(srcdir)/test/c14n/test.tmp; \
2682 Schemastests: testSchemas$(EXEEXT)
2684 @echo "## Schemas regression tests"
2685 -@(for i in $(srcdir)/test/schemas/*_*.xsd ; do \
2686 name=`basename $$i | sed 's+_.*++'`; \
2687 sno=`basename $$i | sed 's+.*_\(.*\).xsd+\1+'`; \
2688 for j in $(srcdir)/test/schemas/"$$name"_*.xml ; do \
2689 if [ -f $$j ] ; then \
2690 xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2691 if [ ! -f $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" ]; \
2693 echo New test file "$$name"_"$$sno"_"$$xno" ; \
2694 $(CHECKER) $(top_builddir)/testSchemas $$i $$j \
2695 > $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
2696 2> $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err; \
2697 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2699 log=`$(CHECKER) $(top_builddir)/testSchemas $$i $$j \
2700 > res.$$name 2> err.$$name;\
2701 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2702 diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
2704 diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err \
2706 grep Unimplemented err.$$name`; \
2707 if [ -n "$$log" ] ; then echo "$$name"_"$$sno"_"$$xno" result ; echo $$log ; fi ; \
2708 rm res.$$name err.$$name ; \
2712 Relaxtests: xmllint$(EXEEXT)
2714 @echo "## Relax-NG regression tests"
2715 -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
2716 name=`basename $$i | sed 's+\.rng++'`; \
2717 if [ ! -f $(srcdir)/result/relaxng/"$$name"_valid ] ; then \
2718 echo New schemas $$name ; \
2719 $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
2720 > $(srcdir)/result/relaxng/"$$name"_valid \
2721 2> $(srcdir)/result/relaxng/"$$name"_err; \
2722 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2724 log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
2725 > res.$$name 2> err.$$name;\
2726 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2727 diff $(srcdir)/result/relaxng/"$$name"_valid \
2729 diff $(srcdir)/result/relaxng/"$$name"_err \
2730 err.$$name | grep -v "error detected at";\
2731 grep Unimplemented err.$$name`; \
2732 if [ -n "$$log" ] ; then echo schemas $$name result ; echo $$log ; fi ; \
2733 rm res.$$name err.$$name ; \
2735 for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
2736 if [ -f $$j ] ; then \
2737 xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2738 if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
2740 echo New test file "$$name"_"$$xno" ; \
2741 $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
2742 > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
2743 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
2744 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2746 log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
2747 > res.$$name 2> err.$$name;\
2748 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2749 diff $(srcdir)/result/relaxng/"$$name"_"$$xno" \
2751 diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
2752 err.$$name | grep -v "error detected at";\
2753 grep Unimplemented err.$$name`; \
2754 if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo $$log ; fi ; \
2755 rm res.$$name err.$$name ; \
2758 @echo "## Relax-NG streaming regression tests"
2759 -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
2760 name=`basename $$i | sed 's+\.rng++'`; \
2761 for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
2762 if [ -f $$j ] ; then \
2763 xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2764 if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
2766 echo New test file "$$name"_"$$xno" ; \
2767 $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
2768 > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
2769 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
2770 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2772 log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --stream --relaxng $$i $$j \
2773 > res.$$name 2> err.$$name;\
2774 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2775 diff $(srcdir)/result/relaxng/"$$name"_"$$xno" res.$$name;\
2776 if [ "$$name" != "tutor10_1" -a "$$name" != "tutor10_2" -a "$$name" != "tutor3_2" -a "$$name" != "307377" -a "$$name" != "tutor8_2" ] ; then \
2777 diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
2778 err.$$name | grep -v "error detected at";\
2779 fi ; grep Unimplemented err.$$name`; \
2780 if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo $$log ; fi ; \
2781 rm res.$$name err.$$name ; \
2785 Schematrontests: xmllint$(EXEEXT)
2787 @echo "## Schematron regression tests"
2788 -@(for i in $(srcdir)/test/schematron/*.sct ; do \
2789 name=`basename $$i | sed 's+\.sct++'`; \
2790 for j in $(srcdir)/test/schematron/"$$name"_*.xml ; do \
2791 if [ -f $$j ] ; then \
2792 xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2793 if [ ! -f $(srcdir)/result/schematron/"$$name"_"$$xno" ]; \
2795 echo New test file "$$name"_"$$xno" ; \
2796 $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --schematron $$i $$j \
2797 > $(srcdir)/result/schematron/"$$name"_"$$xno" \
2798 2> $(srcdir)/result/schematron/"$$name"_"$$xno".err; \
2799 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2801 log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --schematron $$i $$j \
2802 > res.$$name 2> err.$$name;\
2803 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2804 diff $(srcdir)/result/schematron/"$$name"_"$$xno" \
2806 diff $(srcdir)/result/schematron/"$$name"_"$$xno".err \
2807 err.$$name | grep -v "error detected at";\
2808 grep Unimplemented err.$$name`; \
2809 if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo $$log ; fi ; \
2810 rm res.$$name err.$$name ; \
2815 @(if [ -x $(PYTHON) ] ; then \
2816 PYTHONPATH=$(top_builddir)/python:$(top_builddir)/python/.libs:$$PYTHONPATH ; \
2817 export PYTHONPATH; \
2818 LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
2819 export LD_LIBRARY_PATH; \
2820 echo "## Relax-NG Python based test suite 1" ; \
2821 $(CHECKER) $(PYTHON) $(srcdir)/check-relaxng-test-suite.py ; \
2822 echo "## Relax-NG Python based test suite 2" ; \
2823 $(CHECKER) $(PYTHON) $(srcdir)/check-relaxng-test-suite2.py ; \
2827 @(if [ -x $(PYTHON) ] ; then \
2828 PYTHONPATH=$(top_builddir)/python:$(top_builddir)/python/.libs:$$PYTHONPATH; \
2829 export PYTHONPATH; \
2830 LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
2831 export LD_LIBRARY_PATH; \
2832 echo "## XML Schemas datatypes Python based test suite" ; \
2833 echo "## It is normal to see 11 errors reported" ; \
2834 $(CHECKER) $(PYTHON) $(srcdir)/check-xsddata-test-suite.py ; \
2836 @(if [ -x $(PYTHON) -a -d xstc ] ; then cd xstc ; $(MAKE) CHECKER="$(CHECKER)" pytests ; fi)
2838 Patterntests: xmllint$(EXEEXT)
2840 @echo "## Pattern regression tests"
2841 -@(for i in $(srcdir)/test/pattern/*.pat ; do \
2842 name=`basename $$i .pat`; \
2843 if [ -f $(srcdir)/test/pattern/$$name.xml ] ; then \
2844 if [ ! -f $(srcdir)/result/pattern/$$name ] ; then \
2845 rm -f result.$$name ; \
2846 echo New test file $$name ; \
2847 for pat in `cat $$i` ; do \
2848 $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml >> $(srcdir)/result/pattern/$$name ; \
2849 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2852 rm -f result.$$name ; \
2854 log=`for pat in $$lst ; do $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml 2>&1 >> result.$$name ; \
2855 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2857 diff $(srcdir)/result/pattern/$$name result.$$name` ; \
2858 if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
2859 rm result.$$name ; \
2862 ModuleTests: testModule$(EXEEXT) testdso.la
2863 @echo "## Module tests"
2864 @(./testModule$(EXEEXT))
2867 -@(find . -name .\#\* -exec rm {} \;)
2868 -@(find . -name \*.gcda -o -name \*.gcno -exec rm -f {} \;)
2869 -@(find . -name \*.orig -o -name \*.rej -o -name \*.old -exec rm -f {} \;)
2871 dist-hook: cleanup libxml2.spec
2872 -cp libxml2.spec $(distdir)
2873 (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn --exclude .git win32 macos os400 vms VxWorks bakefile test result) | (cd $(distdir); tar xf -)
2875 dist-source: distdir
2876 $(AMTAR) -chof - --exclude Tests --exclude test --exclude result $(distdir) | GZIP=$(GZIP_ENV) gzip -c >`echo "$(distdir)" | sed "s+libxml2+libxml2-sources+"`.tar.gz
2879 (mkdir -p $(distdir))
2880 (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn --exclude .git xstc/Tests) | (cd $(distdir); tar xf -)
2881 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
2882 @(rm -rf $(distdir)/xstc/Test)
2885 @(rm -f libxml*.tar.gz COPYING.LIB)
2887 rpm: cleanup cleantar
2888 @(unset CDPATH ; $(MAKE) dist-source dist && rpmbuild -ta $(distdir).tar.gz)
2890 xml2Conf.sh: xml2Conf.sh.in Makefile
2891 sed -e 's?\@XML_LIBDIR\@?$(XML_LIBDIR)?g' \
2892 -e 's?\@XML_INCLUDEDIR\@?$(XML_INCLUDEDIR)?g' \
2893 -e 's?\@VERSION\@?$(VERSION)?g' \
2894 -e 's?\@XML_LIBS\@?$(XML_LIBS)?g' \
2895 < $(srcdir)/xml2Conf.sh.in > xml2Conf.tmp \
2896 && mv xml2Conf.tmp xml2Conf.sh
2899 $(MKDIR_P) $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
2900 -$(INSTALL) -m 0644 $(srcdir)/Copyright $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
2901 $(MKDIR_P) $(DESTDIR)$(EXAMPLES_DIR)
2902 -$(INSTALL) -m 0644 $(srcdir)/xmllint.c $(DESTDIR)$(EXAMPLES_DIR)
2903 -$(INSTALL) -m 0644 $(srcdir)/testSAX.c $(DESTDIR)$(EXAMPLES_DIR)
2904 -$(INSTALL) -m 0644 $(srcdir)/testHTML.c $(DESTDIR)$(EXAMPLES_DIR)
2905 -$(INSTALL) -m 0644 $(srcdir)/testXPath.c $(DESTDIR)$(EXAMPLES_DIR)
2908 rm -f $(DESTDIR)$(EXAMPLES_DIR)/testXPath.c
2909 rm -f $(DESTDIR)$(EXAMPLES_DIR)/testHTML.c
2910 rm -f $(DESTDIR)$(EXAMPLES_DIR)/testSAX.c
2911 rm -f $(DESTDIR)$(EXAMPLES_DIR)/xmllint.c
2912 rm -rf $(DESTDIR)$(EXAMPLES_DIR)
2913 rm -f $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)/Copyright
2914 rm -rf $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
2917 $(CC) $(CFLAGS) -Iinclude -o tst tst.c .libs/libxml2.a -lpthread -lm -lz -llzma
2923 if [ "`echo $(LDFLAGS) | grep coverage`" = "" ] ; then \
2924 echo not configured with coverage; exit 1 ; fi
2925 if [ ! -x $(LCOV) -o ! -x $(GENHTML) ] ; then \
2926 echo Need $(LCOV) and $(GENHTML) excecutables; exit 1 ; fi
2928 -@(./runsuite$(EXEEXT))
2929 mkdir $(top_builddir)/coverage
2930 $(LCOV) -c -o $(top_builddir)/coverage/libxml2.info.tmp -d $(top_srcdir)
2931 $(LCOV) -r $(top_builddir)/coverage/libxml2.info.tmp -o $(top_builddir)/coverage/libxml2.info *usr*
2932 rm $(top_builddir)/coverage/libxml2.info.tmp
2933 $(GENHTML) -s -t "libxml2" -o $(top_builddir)/coverage --legend $(top_builddir)/coverage/libxml2.info
2934 echo "Coverage report is in $(top_builddir)/coverage/index.html"
2937 rm -rf $(top_builddir)/coverage
2939 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2940 # Otherwise a system limit (for SysV at least) may be exceeded.