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