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