VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.2/Makefile.in@ 65123

Last change on this file since 65123 was 58072, checked in by vboxsync, 9 years ago

libxml 2.9.2 unmodified

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette