1 # Makefile.in generated by automake 1.11.3 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
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.
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
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
)
38 build_triplet
= @build@
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
) testlimits
$(EXEEXT
)
47 bin_PROGRAMS
= xmllint
$(EXEEXT
) xmlcatalog
$(EXEEXT
)
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 config.guess config.sub \
55 depcomp install-sh ltmain.sh missing
56 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
57 am__aclocal_m4_deps
= $(top_srcdir
)/m4
/libtool.m4 \
58 $(top_srcdir
)/m4
/ltoptions.m4
$(top_srcdir
)/m4
/ltsugar.m4 \
59 $(top_srcdir
)/m4
/ltversion.m4
$(top_srcdir
)/m4
/lt~obsolete.m4 \
60 $(top_srcdir
)/acinclude.m4
$(top_srcdir
)/configure.in
61 am__configure_deps
= $(am__aclocal_m4_deps
) $(CONFIGURE_DEPENDENCIES
) \
63 am__CONFIG_DISTCLEAN_FILES
= config.status config.cache config.log \
64 configure.lineno config.status.lineno
65 mkinstalldirs
= $(install_sh
) -d
66 CONFIG_HEADER
= config.h
67 CONFIG_CLEAN_FILES
= libxml2.spec xml2-config libxml-2.0.
pc \
68 libxml-2.0
-uninstalled.
pc
69 CONFIG_CLEAN_VPATH_FILES
=
70 am__vpath_adj_setup
= srcdirstrip
=`echo "$(srcdir)" | sed 's|.|.|g'`;
71 am__vpath_adj
= case
$$p in \
72 $(srcdir)/*) f
=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
75 am__strip_dir
= f
=`echo $$p | sed -e 's|^.*/||'`;
77 am__nobase_strip_setup
= \
78 srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
80 for p in
$$list; do echo
"$$p"; done | sed
-e
"s|$$srcdirstrip/||"
81 am__nobase_list
= $(am__nobase_strip_setup
); \
82 for p in
$$list; do echo
"$$p $$p"; done | \
83 sed
"s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
84 $(AWK
) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
85 if (++n[$$2] == $(am__install_max)) \
86 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
87 END { for (dir in files) print dir, files[dir] }'
89 sed
'$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
90 sed
'$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
91 am__uninstall_files_from_dir
= { \
93 ||
{ test ! -d
"$$dir" && test ! -f
"$$dir" && test ! -r
"$$dir"; } \
94 ||
{ echo
" ( cd '$$dir' && rm -f" $$files ")"; \
95 $(am__cd
) "$$dir" && rm -f
$$files; }; \
97 am__installdirs
= "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
98 "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
99 "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(confexecdir)" \
100 "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(pkgconfigdir)"
101 LTLIBRARIES
= $(lib_LTLIBRARIES
) $(noinst_LTLIBRARIES
)
103 libxml2_la_DEPENDENCIES
= $(am__DEPENDENCIES_1
) $(am__DEPENDENCIES_1
) \
104 $(am__DEPENDENCIES_1
) $(am__DEPENDENCIES_1
) \
105 $(am__DEPENDENCIES_1
) $(am__DEPENDENCIES_1
) \
106 $(am__DEPENDENCIES_1
)
107 am__libxml2_la_SOURCES_DIST
= SAX.c entities.c encoding.c error.c \
108 parserInternals.c parser.c tree.c hash.c list.c xmlIO.c \
109 xmlmemory.c uri.c valid.c xlink.c HTMLparser.c HTMLtree.c \
110 debugXML.c xpath.c xpointer.c xinclude.c nanohttp.c nanoftp.c \
111 DOCBparser.c catalog.c globals.c threads.c c14n.c xmlstring.c \
112 buf.c xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
113 triostr.c trio.c xmlreader.c relaxng.c dict.c SAX2.c \
114 xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c xmlmodule.c \
116 @WITH_SAX1_SOURCES_TRUE@am__objects_1
= DOCBparser.lo
117 @WITH_TRIO_SOURCES_TRUE@am__objects_2
= triostr.lo trio.lo
118 am_libxml2_la_OBJECTS
= SAX.lo entities.lo encoding.lo error.lo \
119 parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo \
120 xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo \
121 HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo \
122 nanohttp.lo nanoftp.lo
$(am__objects_1
) catalog.lo globals.lo \
123 threads.lo c14n.lo xmlstring.lo buf.lo xmlregexp.lo \
124 xmlschemas.lo xmlschemastypes.lo xmlunicode.lo \
125 $(am__objects_2
) xmlreader.lo relaxng.lo dict.lo SAX2.lo \
126 xmlwriter.lo legacy.lo chvalid.lo pattern.lo xmlsave.lo \
127 xmlmodule.lo schematron.lo xzlib.lo
128 libxml2_la_OBJECTS
= $(am_libxml2_la_OBJECTS
)
129 AM_V_lt
= $(am__v_lt_@AM_V@
)
130 am__v_lt_
= $(am__v_lt_@AM_DEFAULT_V@
)
131 am__v_lt_0
= --silent
132 libxml2_la_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
133 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
134 $(libxml2_la_LDFLAGS
) $(LDFLAGS
) -o
$@
136 am_testdso_la_OBJECTS
= testdso.lo
137 testdso_la_OBJECTS
= $(am_testdso_la_OBJECTS
)
138 testdso_la_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
139 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
140 $(testdso_la_LDFLAGS
) $(LDFLAGS
) -o
$@
141 PROGRAMS
= $(bin_PROGRAMS
) $(noinst_PROGRAMS
)
142 am_runsuite_OBJECTS
= runsuite.
$(OBJEXT
)
143 runsuite_OBJECTS
= $(am_runsuite_OBJECTS
)
144 am__DEPENDENCIES_2
= $(am__DEPENDENCIES_1
) $(top_builddir
)/libxml2.la \
145 $(am__DEPENDENCIES_1
) $(am__DEPENDENCIES_1
) \
146 $(am__DEPENDENCIES_1
) $(am__DEPENDENCIES_1
) \
147 $(am__DEPENDENCIES_1
) $(am__DEPENDENCIES_1
)
148 runsuite_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
149 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
150 $(runsuite_LDFLAGS
) $(LDFLAGS
) -o
$@
151 am_runtest_OBJECTS
= runtest.
$(OBJEXT
)
152 runtest_OBJECTS
= $(am_runtest_OBJECTS
)
153 runtest_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
154 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
155 $(runtest_LDFLAGS
) $(LDFLAGS
) -o
$@
156 am_runxmlconf_OBJECTS
= runxmlconf.
$(OBJEXT
)
157 runxmlconf_OBJECTS
= $(am_runxmlconf_OBJECTS
)
158 runxmlconf_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
159 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
160 $(runxmlconf_LDFLAGS
) $(LDFLAGS
) -o
$@
161 am_testAutomata_OBJECTS
= testAutomata.
$(OBJEXT
)
162 testAutomata_OBJECTS
= $(am_testAutomata_OBJECTS
)
163 testAutomata_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
164 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
165 $(testAutomata_LDFLAGS
) $(LDFLAGS
) -o
$@
166 am_testC14N_OBJECTS
= testC14N.
$(OBJEXT
)
167 testC14N_OBJECTS
= $(am_testC14N_OBJECTS
)
168 testC14N_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
169 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
170 $(testC14N_LDFLAGS
) $(LDFLAGS
) -o
$@
171 am_testHTML_OBJECTS
= testHTML.
$(OBJEXT
)
172 testHTML_OBJECTS
= $(am_testHTML_OBJECTS
)
173 testHTML_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
174 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
175 $(testHTML_LDFLAGS
) $(LDFLAGS
) -o
$@
176 am_testModule_OBJECTS
= testModule.
$(OBJEXT
)
177 testModule_OBJECTS
= $(am_testModule_OBJECTS
)
178 testModule_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
179 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
180 $(testModule_LDFLAGS
) $(LDFLAGS
) -o
$@
181 am_testReader_OBJECTS
= testReader.
$(OBJEXT
)
182 testReader_OBJECTS
= $(am_testReader_OBJECTS
)
183 testReader_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
184 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
185 $(testReader_LDFLAGS
) $(LDFLAGS
) -o
$@
186 am_testRegexp_OBJECTS
= testRegexp.
$(OBJEXT
)
187 testRegexp_OBJECTS
= $(am_testRegexp_OBJECTS
)
188 testRegexp_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
189 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
190 $(testRegexp_LDFLAGS
) $(LDFLAGS
) -o
$@
191 am_testRelax_OBJECTS
= testRelax.
$(OBJEXT
)
192 testRelax_OBJECTS
= $(am_testRelax_OBJECTS
)
193 testRelax_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
194 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
195 $(testRelax_LDFLAGS
) $(LDFLAGS
) -o
$@
196 am_testSAX_OBJECTS
= testSAX.
$(OBJEXT
)
197 testSAX_OBJECTS
= $(am_testSAX_OBJECTS
)
198 testSAX_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
199 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
200 $(testSAX_LDFLAGS
) $(LDFLAGS
) -o
$@
201 am_testSchemas_OBJECTS
= testSchemas.
$(OBJEXT
)
202 testSchemas_OBJECTS
= $(am_testSchemas_OBJECTS
)
203 testSchemas_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
204 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
205 $(testSchemas_LDFLAGS
) $(LDFLAGS
) -o
$@
206 am__testThreads_SOURCES_DIST
= testThreads.c testThreadsWin32.c
207 @THREADS_W32_FALSE@am_testThreads_OBJECTS
= testThreads.
$(OBJEXT
)
208 @THREADS_W32_TRUE@am_testThreads_OBJECTS
= testThreadsWin32.
$(OBJEXT
)
209 testThreads_OBJECTS
= $(am_testThreads_OBJECTS
)
210 testThreads_LINK
= $(LIBTOOL
) $(AM_V_lt
) --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
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
216 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
217 $(testURI_LDFLAGS
) $(LDFLAGS
) -o
$@
218 am_testXPath_OBJECTS
= testXPath.
$(OBJEXT
)
219 testXPath_OBJECTS
= $(am_testXPath_OBJECTS
)
220 testXPath_LINK
= $(LIBTOOL
) $(AM_V_lt
) --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
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
226 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
227 $(testapi_LDFLAGS
) $(LDFLAGS
) -o
$@
228 am_testchar_OBJECTS
= testchar.
$(OBJEXT
)
229 testchar_OBJECTS
= $(am_testchar_OBJECTS
)
230 testchar_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
231 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
232 $(testchar_LDFLAGS
) $(LDFLAGS
) -o
$@
233 am_testdict_OBJECTS
= testdict.
$(OBJEXT
)
234 testdict_OBJECTS
= $(am_testdict_OBJECTS
)
235 testdict_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
236 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
237 $(testdict_LDFLAGS
) $(LDFLAGS
) -o
$@
238 am_testlimits_OBJECTS
= testlimits.
$(OBJEXT
)
239 testlimits_OBJECTS
= $(am_testlimits_OBJECTS
)
240 testlimits_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
241 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
242 $(testlimits_LDFLAGS
) $(LDFLAGS
) -o
$@
243 am_testrecurse_OBJECTS
= testrecurse.
$(OBJEXT
)
244 testrecurse_OBJECTS
= $(am_testrecurse_OBJECTS
)
245 testrecurse_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
246 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
247 $(testrecurse_LDFLAGS
) $(LDFLAGS
) -o
$@
248 am_xmlcatalog_OBJECTS
= xmlcatalog.
$(OBJEXT
)
249 xmlcatalog_OBJECTS
= $(am_xmlcatalog_OBJECTS
)
250 xmlcatalog_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
251 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
252 $(xmlcatalog_LDFLAGS
) $(LDFLAGS
) -o
$@
253 am_xmllint_OBJECTS
= xmllint.
$(OBJEXT
)
254 xmllint_OBJECTS
= $(am_xmllint_OBJECTS
)
255 xmllint_LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
256 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
257 $(xmllint_LDFLAGS
) $(LDFLAGS
) -o
$@
258 SCRIPTS
= $(bin_SCRIPTS
)
259 DEFAULT_INCLUDES
= -I.@am__isrc@
260 depcomp
= $(SHELL
) $(top_srcdir
)/depcomp
261 am__depfiles_maybe
= depfiles
263 COMPILE
= $(CC
) $(DEFS
) $(DEFAULT_INCLUDES
) $(INCLUDES
) $(AM_CPPFLAGS
) \
264 $(CPPFLAGS
) $(AM_CFLAGS
) $(CFLAGS
)
265 LTCOMPILE
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
266 $(LIBTOOLFLAGS
) --mode
=compile
$(CC
) $(DEFS
) \
267 $(DEFAULT_INCLUDES
) $(INCLUDES
) $(AM_CPPFLAGS
) $(CPPFLAGS
) \
268 $(AM_CFLAGS
) $(CFLAGS
)
269 AM_V_CC
= $(am__v_CC_@AM_V@
)
270 am__v_CC_
= $(am__v_CC_@AM_DEFAULT_V@
)
271 am__v_CC_0
= @echo
" CC " $@
;
272 AM_V_at
= $(am__v_at_@AM_V@
)
273 am__v_at_
= $(am__v_at_@AM_DEFAULT_V@
)
276 LINK
= $(LIBTOOL
) $(AM_V_lt
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
277 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
278 $(AM_LDFLAGS
) $(LDFLAGS
) -o
$@
279 AM_V_CCLD
= $(am__v_CCLD_@AM_V@
)
280 am__v_CCLD_
= $(am__v_CCLD_@AM_DEFAULT_V@
)
281 am__v_CCLD_0
= @echo
" CCLD " $@
;
282 AM_V_GEN
= $(am__v_GEN_@AM_V@
)
283 am__v_GEN_
= $(am__v_GEN_@AM_DEFAULT_V@
)
284 am__v_GEN_0
= @echo
" GEN " $@
;
285 SOURCES
= $(libxml2_la_SOURCES
) $(testdso_la_SOURCES
) \
286 $(runsuite_SOURCES
) $(runtest_SOURCES
) $(runxmlconf_SOURCES
) \
287 $(testAutomata_SOURCES
) $(testC14N_SOURCES
) \
288 $(testHTML_SOURCES
) $(testModule_SOURCES
) \
289 $(testReader_SOURCES
) $(testRegexp_SOURCES
) \
290 $(testRelax_SOURCES
) $(testSAX_SOURCES
) $(testSchemas_SOURCES
) \
291 $(testThreads_SOURCES
) $(testURI_SOURCES
) $(testXPath_SOURCES
) \
292 $(testapi_SOURCES
) $(testchar_SOURCES
) $(testdict_SOURCES
) \
293 $(testlimits_SOURCES
) $(testrecurse_SOURCES
) \
294 $(xmlcatalog_SOURCES
) $(xmllint_SOURCES
)
295 DIST_SOURCES
= $(am__libxml2_la_SOURCES_DIST
) $(testdso_la_SOURCES
) \
296 $(runsuite_SOURCES
) $(runtest_SOURCES
) $(runxmlconf_SOURCES
) \
297 $(testAutomata_SOURCES
) $(testC14N_SOURCES
) \
298 $(testHTML_SOURCES
) $(testModule_SOURCES
) \
299 $(testReader_SOURCES
) $(testRegexp_SOURCES
) \
300 $(testRelax_SOURCES
) $(testSAX_SOURCES
) $(testSchemas_SOURCES
) \
301 $(am__testThreads_SOURCES_DIST
) $(testURI_SOURCES
) \
302 $(testXPath_SOURCES
) $(testapi_SOURCES
) $(testchar_SOURCES
) \
303 $(testdict_SOURCES
) $(testlimits_SOURCES
) \
304 $(testrecurse_SOURCES
) $(xmlcatalog_SOURCES
) \
306 RECURSIVE_TARGETS
= all-recursive check-recursive dvi-recursive \
307 html-recursive info-recursive install-data-recursive \
308 install-dvi-recursive install-exec-recursive \
309 install-html-recursive install-info-recursive \
310 install-pdf-recursive install-ps-recursive install-recursive \
311 installcheck-recursive installdirs-recursive pdf-recursive \
312 ps-recursive uninstall-recursive
313 man1dir = $(mandir)/man1
314 man3dir = $(mandir)/man3
317 DATA
= $(confexec_DATA
) $(m4data_DATA
) $(pkgconfig_DATA
)
318 RECURSIVE_CLEAN_TARGETS
= mostlyclean-recursive clean-recursive \
319 distclean-recursive maintainer-clean-recursive
320 AM_RECURSIVE_TARGETS
= $(RECURSIVE_TARGETS
:-recursive
=) \
321 $(RECURSIVE_CLEAN_TARGETS
:-recursive
=) tags TAGS ctags CTAGS \
322 distdir
dist dist-all distcheck
325 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
326 distdir
= $(PACKAGE
)-$(VERSION
)
327 top_distdir
= $(distdir
)
328 am__remove_distdir
= \
329 if
test -d
"$(distdir)"; then \
330 find
"$(distdir)" -type d
! -perm
-200 -exec chmod u
+w
{} ';' \
331 && rm -rf
"$(distdir)" \
332 ||
{ sleep
5 && rm -rf
"$(distdir)"; }; \
336 sed_first
='s,^\([^/]*\)/.*$$,\1,'; \
337 sed_rest
='s,^[^/]*/*,,'; \
338 sed_last
='s,^.*/\([^/]*\)$$,\1,'; \
339 sed_butlast
='s,/*[^/]*$$,,'; \
340 while
test -n
"$$dir1"; do \
341 first
=`echo "$$dir1" | sed -e "$$sed_first"`; \
342 if
test "$$first" != "."; then \
343 if
test "$$first" = ".."; then \
344 dir2
=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
345 dir0
=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
347 first2
=`echo "$$dir2" | sed -e "$$sed_first"`; \
348 if
test "$$first2" = "$$first"; then \
349 dir2
=`echo "$$dir2" | sed -e "$$sed_rest"`; \
353 dir0
="$$dir0"/"$$first"; \
356 dir1
=`echo "$$dir1" | sed -e "$$sed_rest"`; \
359 DIST_ARCHIVES
= $(distdir
).
tar.gz
361 distuninstallcheck_listfiles
= find .
-type f
-print
362 am__distuninstallcheck_listfiles
= $(distuninstallcheck_listfiles
) \
363 | sed
's|^\./|$(prefix)/|' | grep
-v
'$(infodir)/dir$$'
364 distcleancheck_listfiles
= find .
-type f
-print
367 AM_DEFAULT_VERBOSITY
= @AM_DEFAULT_VERBOSITY@
369 AUTOCONF
= @AUTOCONF@
370 AUTOHEADER
= @AUTOHEADER@
371 AUTOMAKE
= @AUTOMAKE@
373 BASE_THREAD_LIBS
= @BASE_THREAD_LIBS@
374 C14N_OBJ
= @C14N_OBJ@
375 CATALOG_OBJ
= @CATALOG_OBJ@
377 CCDEPMODE
= @CCDEPMODE@
380 CPPFLAGS
= @CPPFLAGS@
381 CYGPATH_W
= @CYGPATH_W@
382 CYGWIN_EXTRA_LDFLAGS
= @CYGWIN_EXTRA_LDFLAGS@
383 CYGWIN_EXTRA_PYTHON_LIBADD
= @CYGWIN_EXTRA_PYTHON_LIBADD@
384 DEBUG_OBJ
= @DEBUG_OBJ@
388 DOCB_OBJ
= @DOCB_OBJ@
389 DSYMUTIL
= @DSYMUTIL@
399 HAVE_ISINF
= @HAVE_ISINF@
400 HAVE_ISNAN
= @HAVE_ISNAN@
401 HTML_DIR
= @HTML_DIR@
402 HTML_OBJ
= @HTML_OBJ@
403 HTTP_OBJ
= @HTTP_OBJ@
404 ICONV_LIBS
= @ICONV_LIBS@
405 ICU_LIBS
= @ICU_LIBS@
407 INSTALL_DATA
= @INSTALL_DATA@
408 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
409 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
410 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
416 LIBXML_MAJOR_VERSION
= @LIBXML_MAJOR_VERSION@
417 LIBXML_MICRO_VERSION
= @LIBXML_MICRO_VERSION@
418 LIBXML_MINOR_VERSION
= @LIBXML_MINOR_VERSION@
419 LIBXML_VERSION
= @LIBXML_VERSION@
420 LIBXML_VERSION_EXTRA
= @LIBXML_VERSION_EXTRA@
421 LIBXML_VERSION_INFO
= @LIBXML_VERSION_INFO@
422 LIBXML_VERSION_NUMBER
= @LIBXML_VERSION_NUMBER@
425 LTLIBOBJS
= @LTLIBOBJS@
426 LZMA_CFLAGS
= @LZMA_CFLAGS@
427 LZMA_LIBS
= @LZMA_LIBS@
428 MAKEINFO
= @MAKEINFO@
429 MANIFEST_TOOL
= @MANIFEST_TOOL@
431 MODULE_EXTENSION
= @MODULE_EXTENSION@
432 MODULE_PLATFORM_LIBS
= @MODULE_PLATFORM_LIBS@
442 PACKAGE_BUGREPORT
= @PACKAGE_BUGREPORT@
443 PACKAGE_NAME
= @PACKAGE_NAME@
444 PACKAGE_STRING
= @PACKAGE_STRING@
445 PACKAGE_TARNAME
= @PACKAGE_TARNAME@
446 PACKAGE_URL
= @PACKAGE_URL@
447 PACKAGE_VERSION
= @PACKAGE_VERSION@
448 PATH_SEPARATOR
= @PATH_SEPARATOR@
451 PYTHON_INCLUDES
= @PYTHON_INCLUDES@
452 PYTHON_LIBS
= @PYTHON_LIBS@
453 PYTHON_SITE_PACKAGES
= @PYTHON_SITE_PACKAGES@
454 PYTHON_SUBDIR
= @PYTHON_SUBDIR@
455 PYTHON_TESTS
= @PYTHON_TESTS@
456 PYTHON_VERSION
= @PYTHON_VERSION@
458 RDL_LIBS
= @RDL_LIBS@
459 READER_TEST
= @READER_TEST@
463 SET_MAKE
= @SET_MAKE@
465 STATIC_BINARIES
= @STATIC_BINARIES@
468 TEST_C14N
= @TEST_C14N@
469 TEST_CATALOG
= @TEST_CATALOG@
470 TEST_DEBUG
= @TEST_DEBUG@
471 TEST_HTML
= @TEST_HTML@
472 TEST_MODULES
= @TEST_MODULES@
473 TEST_PATTERN
= @TEST_PATTERN@
474 TEST_PHTML
= @TEST_PHTML@
475 TEST_PUSH
= @TEST_PUSH@
476 TEST_REGEXPS
= @TEST_REGEXPS@
477 TEST_SAX
= @TEST_SAX@
478 TEST_SCHEMAS
= @TEST_SCHEMAS@
479 TEST_SCHEMATRON
= @TEST_SCHEMATRON@
480 TEST_THREADS
= @TEST_THREADS@
481 TEST_VALID
= @TEST_VALID@
482 TEST_VTIME
= @TEST_VTIME@
483 TEST_XINCLUDE
= @TEST_XINCLUDE@
484 TEST_XPATH
= @TEST_XPATH@
485 TEST_XPTR
= @TEST_XPTR@
486 THREAD_CFLAGS
= @THREAD_CFLAGS@
487 THREAD_LIBS
= @THREAD_LIBS@
489 VERSION_SCRIPT_FLAGS
= @VERSION_SCRIPT_FLAGS@
491 WIN32_EXTRA_LDFLAGS
= @WIN32_EXTRA_LDFLAGS@
492 WIN32_EXTRA_LIBADD
= @WIN32_EXTRA_LIBADD@
493 WIN32_EXTRA_PYTHON_LIBADD
= @WIN32_EXTRA_PYTHON_LIBADD@
494 WITH_C14N
= @WITH_C14N@
495 WITH_CATALOG
= @WITH_CATALOG@
496 WITH_DEBUG
= @WITH_DEBUG@
497 WITH_DOCB
= @WITH_DOCB@
498 WITH_FTP
= @WITH_FTP@
499 WITH_HTML
= @WITH_HTML@
500 WITH_HTTP
= @WITH_HTTP@
501 WITH_ICONV
= @WITH_ICONV@
502 WITH_ICU
= @WITH_ICU@
503 WITH_ISO8859X
= @WITH_ISO8859X@
504 WITH_LEGACY
= @WITH_LEGACY@
505 WITH_LZMA
= @WITH_LZMA@
506 WITH_MEM_DEBUG
= @WITH_MEM_DEBUG@
507 WITH_MODULES
= @WITH_MODULES@
508 WITH_OUTPUT
= @WITH_OUTPUT@
509 WITH_PATTERN
= @WITH_PATTERN@
510 WITH_PUSH
= @WITH_PUSH@
511 WITH_READER
= @WITH_READER@
512 WITH_REGEXPS
= @WITH_REGEXPS@
513 WITH_RUN_DEBUG
= @WITH_RUN_DEBUG@
514 WITH_SAX1
= @WITH_SAX1@
515 WITH_SCHEMAS
= @WITH_SCHEMAS@
516 WITH_SCHEMATRON
= @WITH_SCHEMATRON@
517 WITH_THREADS
= @WITH_THREADS@
518 WITH_TREE
= @WITH_TREE@
519 WITH_TRIO
= @WITH_TRIO@
520 WITH_VALID
= @WITH_VALID@
521 WITH_WRITER
= @WITH_WRITER@
522 WITH_XINCLUDE
= @WITH_XINCLUDE@
523 WITH_XPATH
= @WITH_XPATH@
524 WITH_XPTR
= @WITH_XPTR@
525 WITH_ZLIB
= @WITH_ZLIB@
526 XINCLUDE_OBJ
= @XINCLUDE_OBJ@
528 XML_CFLAGS
= @XML_CFLAGS@
529 XML_INCLUDEDIR
= @XML_INCLUDEDIR@
530 XML_LIBDIR
= @XML_LIBDIR@
531 XML_LIBS
= @XML_LIBS@
532 XML_LIBTOOLLIBS
= @XML_LIBTOOLLIBS@
533 XPATH_OBJ
= @XPATH_OBJ@
534 XPTR_OBJ
= @XPTR_OBJ@
535 XSLTPROC
= @XSLTPROC@
536 Z_CFLAGS
= @Z_CFLAGS@
538 abs_builddir
= @abs_builddir@
539 abs_srcdir
= @abs_srcdir@
540 abs_top_builddir
= @abs_top_builddir@
541 abs_top_srcdir
= @abs_top_srcdir@
542 ac_ct_AR
= @ac_ct_AR@
543 ac_ct_CC
= @ac_ct_CC@
544 ac_ct_DUMPBIN
= @ac_ct_DUMPBIN@
545 am__include
= @am__include@
546 am__leading_dot
= @am__leading_dot@
547 am__quote
= @am__quote@
549 am__untar
= @am__untar@
552 build_alias
= @build_alias@
553 build_cpu
= @build_cpu@
554 build_os
= @build_os@
555 build_vendor
= @build_vendor@
556 builddir
= @builddir@
558 datarootdir
= @datarootdir@
561 exec_prefix = @
exec_prefix@
563 host_alias
= @host_alias@
564 host_cpu
= @host_cpu@
566 host_vendor
= @host_vendor@
568 includedir = @
includedir@
570 install_sh
= @install_sh@
572 libexecdir
= @libexecdir@
573 localedir
= @localedir@
574 localstatedir
= @localstatedir@
577 oldincludedir = @
oldincludedir@
580 program_transform_name
= @program_transform_name@
582 pythondir
= @pythondir@
584 sharedstatedir
= @sharedstatedir@
586 sysconfdir
= @sysconfdir@
587 target_alias
= @target_alias@
588 top_build_prefix
= @top_build_prefix@
589 top_builddir
= @top_builddir@
590 top_srcdir
= @top_srcdir@
591 ACLOCAL_AMFLAGS
= -I m4
592 SUBDIRS
= include . doc example xstc
$(PYTHON_SUBDIR
)
593 DIST_SUBDIRS
= include . doc example python xstc
594 AM_CPPFLAGS
= -I
$(top_builddir
)/include -I
$(srcdir)/include
595 AM_CFLAGS
= $(THREAD_CFLAGS
) $(Z_CFLAGS
) $(LZMA_CFLAGS
)
596 bin_SCRIPTS
= xml2-config
597 lib_LTLIBRARIES
= libxml2.la
598 libxml2_la_LIBADD
= $(ICU_LIBS
) $(THREAD_LIBS
) $(Z_LIBS
) $(LZMA_LIBS
) $(ICONV_LIBS
) $(M_LIBS
) $(WIN32_EXTRA_LIBADD
)
599 @USE_VERSION_SCRIPT_FALSE@LIBXML2_VERSION_SCRIPT
=
600 @USE_VERSION_SCRIPT_TRUE@LIBXML2_VERSION_SCRIPT
= $(VERSION_SCRIPT_FLAGS
)$(srcdir)/libxml2.syms
601 libxml2_la_LDFLAGS
= $(CYGWIN_EXTRA_LDFLAGS
) $(WIN32_EXTRA_LDFLAGS
) \
602 $(LIBXML2_VERSION_SCRIPT
) \
603 -version-info
$(LIBXML_VERSION_INFO
) \
604 $(MODULE_PLATFORM_LIBS
)
606 @WITH_SAX1_SOURCES_FALSE@docb_sources
=
607 @WITH_SAX1_SOURCES_TRUE@docb_sources
= DOCBparser.c
608 @WITH_TRIO_SOURCES_FALSE@trio_sources
=
609 @WITH_TRIO_SOURCES_TRUE@trio_sources
= triostr.c trio.c
610 libxml2_la_SOURCES
= SAX.c entities.c encoding.c error.c parserInternals.c \
611 parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c \
612 valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c \
613 xpointer.c xinclude.c nanohttp.c nanoftp.c \
615 catalog.c globals.c threads.c c14n.c xmlstring.c buf.c \
616 xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
618 xmlreader.c relaxng.c dict.c SAX2.c \
619 xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c \
620 xmlmodule.c schematron.c xzlib.c
622 DEPS
= $(top_builddir
)/libxml2.la
623 LDADDS
= $(STATIC_BINARIES
) $(top_builddir
)/libxml2.la
$(THREAD_LIBS
) $(Z_LIBS
) $(LZMA_LIBS
) $(ICONV_LIBS
) $(M_LIBS
) $(WIN32_EXTRA_LIBADD
)
624 man_MANS
= xml2-config
.1 libxml
.3
625 m4datadir
= $(datadir)/aclocal
626 m4data_DATA
= libxml.m4
627 runtest_SOURCES
= runtest.c
629 runtest_DEPENDENCIES
= $(DEPS
)
630 runtest_LDADD
= $(BASE_THREAD_LIBS
) $(RDL_LIBS
) $(LDADDS
)
631 testrecurse_SOURCES
= testrecurse.c
632 testrecurse_LDFLAGS
=
633 testrecurse_DEPENDENCIES
= $(DEPS
)
634 testrecurse_LDADD
= $(BASE_THREAD_LIBS
) $(RDL_LIBS
) $(LDADDS
)
635 testlimits_SOURCES
= testlimits.c
637 testlimits_DEPENDENCIES
= $(DEPS
)
638 testlimits_LDADD
= $(BASE_THREAD_LIBS
) $(RDL_LIBS
) $(LDADDS
)
639 testchar_SOURCES
= testchar.c
641 testchar_DEPENDENCIES
= $(DEPS
)
642 testchar_LDADD
= $(RDL_LIBS
) $(LDADDS
)
643 testdict_SOURCES
= testdict.c
645 testdict_DEPENDENCIES
= $(DEPS
)
646 testdict_LDADD
= $(RDL_LIBS
) $(LDADDS
)
647 runsuite_SOURCES
= runsuite.c
649 runsuite_DEPENDENCIES
= $(DEPS
)
650 runsuite_LDADD
= $(RDL_LIBS
) $(LDADDS
)
651 xmllint_SOURCES
= xmllint.c
653 xmllint_DEPENDENCIES
= $(DEPS
)
654 xmllint_LDADD
= $(RDL_LIBS
) $(LDADDS
)
655 testSAX_SOURCES
= testSAX.c
657 testSAX_DEPENDENCIES
= $(DEPS
)
658 testSAX_LDADD
= $(LDADDS
)
659 testHTML_SOURCES
= testHTML.c
661 testHTML_DEPENDENCIES
= $(DEPS
)
662 testHTML_LDADD
= $(LDADDS
)
663 xmlcatalog_SOURCES
= xmlcatalog.c
665 xmlcatalog_DEPENDENCIES
= $(DEPS
)
666 xmlcatalog_LDADD
= $(RDL_LIBS
) $(LDADDS
)
667 testXPath_SOURCES
= testXPath.c
669 testXPath_DEPENDENCIES
= $(DEPS
)
670 testXPath_LDADD
= $(LDADDS
)
671 testC14N_SOURCES
= testC14N.c
673 testC14N_DEPENDENCIES
= $(DEPS
)
674 testC14N_LDADD
= $(LDADDS
)
675 @THREADS_W32_FALSE@testThreads_SOURCES
= testThreads.c
676 @THREADS_W32_TRUE@testThreads_SOURCES
= testThreadsWin32.c
677 testThreads_LDFLAGS
=
678 testThreads_DEPENDENCIES
= $(DEPS
)
679 testThreads_LDADD
= $(BASE_THREAD_LIBS
) $(LDADDS
)
680 testURI_SOURCES
= testURI.c
682 testURI_DEPENDENCIES
= $(DEPS
)
683 testURI_LDADD
= $(LDADDS
)
684 testRegexp_SOURCES
= testRegexp.c
686 testRegexp_DEPENDENCIES
= $(DEPS
)
687 testRegexp_LDADD
= $(LDADDS
)
688 testAutomata_SOURCES
= testAutomata.c
689 testAutomata_LDFLAGS
=
690 testAutomata_DEPENDENCIES
= $(DEPS
)
691 testAutomata_LDADD
= $(LDADDS
)
692 testSchemas_SOURCES
= testSchemas.c
693 testSchemas_LDFLAGS
=
694 testSchemas_DEPENDENCIES
= $(DEPS
)
695 testSchemas_LDADD
= $(LDADDS
)
696 testRelax_SOURCES
= testRelax.c
698 testRelax_DEPENDENCIES
= $(DEPS
)
699 testRelax_LDADD
= $(LDADDS
)
700 testReader_SOURCES
= testReader.c
702 testReader_DEPENDENCIES
= $(DEPS
)
703 testReader_LDADD
= $(LDADDS
)
704 testModule_SOURCES
= testModule.c
706 testModule_DEPENDENCIES
= $(DEPS
)
707 testModule_LDADD
= $(LDADDS
)
708 noinst_LTLIBRARIES
= testdso.la
709 testdso_la_SOURCES
= testdso.c
710 testdso_la_LDFLAGS
= -module
-no-undefined
-avoid-version
-rpath
$(libdir)
711 BUILT_SOURCES
= testapi.c
712 testapi_SOURCES
= testapi.c
714 testapi_DEPENDENCIES
= $(DEPS
)
715 testapi_LDADD
= $(LDADDS
)
716 runxmlconf_SOURCES
= runxmlconf.c
718 runxmlconf_DEPENDENCIES
= $(DEPS
)
719 runxmlconf_LDADD
= $(LDADDS
)
720 CLEANFILES
= runxmlconf.log
test.out xml2Conf.sh
*.gcda
*.gcno
*.res
721 DISTCLEANFILES
= COPYING missing.lst
722 confexecdir
= $(libdir)
723 confexec_DATA
= xml2Conf.sh
725 EXTRA_DIST
= xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \
726 libxml.m4 Copyright check-xml-test-suite.py gentest.py \
727 check-relaxng-test-suite.py check-relaxng-test-suite2.py \
728 check-xsddata-test-suite.py check-xinclude-test-suite.py \
729 example
/Makefile.am example
/gjobread.c example
/gjobs.xml \
730 $(man_MANS
) libxml-2.0.
pc.in libxml-2.0
-uninstalled.
pc.in \
731 trionan.c trionan.h triostr.c triostr.h trio.c trio.h \
732 triop.h triodef.h libxml.h elfgcchack.h xzlib.h buf.h \
733 enc.h save.h testThreadsWin32.c genUnicode.py TODO_SCHEMAS \
734 dbgen.pl dbgenattr.pl regressions.py regressions.xml \
735 README.tests Makefile.tests libxml2.syms timsort.h \
738 pkgconfigdir
= $(libdir)/pkgconfig
739 pkgconfig_DATA
= libxml-2.0.
pc
742 # Install the tests program sources as examples
744 BASE_DIR
= $(datadir)/doc
745 DOC_MODULE
= libxml2-
$(VERSION
)
746 EXAMPLES_DIR
= $(BASE_DIR
)/$(DOC_MODULE
)/examples
749 # Coverage support, largely borrowed from libvirt
750 # Both binaries comes from the lcov package in Fedora
753 GENHTML
= /usr
/bin
/genhtml
754 all: $(BUILT_SOURCES
) config.h
755 $(MAKE
) $(AM_MAKEFLAGS
) all-recursive
758 .SUFFIXES
: .c .lo .o .obj
759 am--refresh
: Makefile
761 $(srcdir)/Makefile.in
: $(srcdir)/Makefile.am
$(am__configure_deps
)
763 case
'$(am__configure_deps)' in \
765 echo
' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
766 $(am__cd
) $(srcdir) && $(AUTOMAKE
) --gnu \
771 echo
' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
772 $(am__cd
) $(top_srcdir
) && \
773 $(AUTOMAKE
) --gnu Makefile
775 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
778 echo
' $(SHELL) ./config.status'; \
779 $(SHELL
) .
/config.status
;; \
781 echo
' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
782 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
$(am__depfiles_maybe
);; \
785 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
786 $(SHELL
) .
/config.status
--recheck
788 $(top_srcdir
)/configure
: $(am__configure_deps
)
789 $(am__cd
) $(srcdir) && $(AUTOCONF
)
790 $(ACLOCAL_M4
): $(am__aclocal_m4_deps
)
791 $(am__cd
) $(srcdir) && $(ACLOCAL
) $(ACLOCAL_AMFLAGS
)
792 $(am__aclocal_m4_deps
):
795 @if
test ! -f
$@
; then
rm -f stamp-h1
; else :; fi
796 @if
test ! -f
$@
; then
$(MAKE
) $(AM_MAKEFLAGS
) stamp-h1
; else :; fi
798 stamp-h1
: $(srcdir)/config.h.in
$(top_builddir
)/config.status
800 cd
$(top_builddir
) && $(SHELL
) .
/config.status config.h
801 $(srcdir)/config.h.in
: $(am__configure_deps
)
802 ($(am__cd
) $(top_srcdir
) && $(AUTOHEADER
))
807 -rm -f config.h stamp-h1
808 libxml2.spec
: $(top_builddir
)/config.status
$(srcdir)/libxml.spec.in
809 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
810 xml2-config
: $(top_builddir
)/config.status
$(srcdir)/xml2-config.in
811 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
812 libxml-2.0.
pc: $(top_builddir
)/config.status
$(srcdir)/libxml-2.0.
pc.in
813 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
814 libxml-2.0
-uninstalled.
pc: $(top_builddir
)/config.status
$(srcdir)/libxml-2.0
-uninstalled.
pc.in
815 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
816 install-libLTLIBRARIES
: $(lib_LTLIBRARIES
)
818 test -z
"$(libdir)" ||
$(MKDIR_P
) "$(DESTDIR)$(libdir)"
819 @list
='$(lib_LTLIBRARIES)'; test -n
"$(libdir)" || list
=; \
820 list2
=; for p in
$$list; do \
821 if
test -f
$$p; then \
822 list2
="$$list2 $$p"; \
825 test -z
"$$list2" ||
{ \
826 echo
" $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
827 $(LIBTOOL
) $(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) --mode
=install $(INSTALL
) $(INSTALL_STRIP_FLAG
) $$list2 "$(DESTDIR)$(libdir)"; \
830 uninstall-libLTLIBRARIES
:
832 @list
='$(lib_LTLIBRARIES)'; test -n
"$(libdir)" || list
=; \
833 for p in
$$list; do \
835 echo
" $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
836 $(LIBTOOL
) $(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) --mode
=uninstall rm -f
"$(DESTDIR)$(libdir)/$$f"; \
839 clean-libLTLIBRARIES
:
840 -test -z
"$(lib_LTLIBRARIES)" ||
rm -f
$(lib_LTLIBRARIES
)
841 @list
='$(lib_LTLIBRARIES)'; for p in
$$list; do \
842 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
843 test "$$dir" != "$$p" ||
dir=.
; \
844 echo
"rm -f \"$${dir}/so_locations\""; \
845 rm -f
"$${dir}/so_locations"; \
848 clean-noinstLTLIBRARIES
:
849 -test -z
"$(noinst_LTLIBRARIES)" ||
rm -f
$(noinst_LTLIBRARIES
)
850 @list
='$(noinst_LTLIBRARIES)'; for p in
$$list; do \
851 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
852 test "$$dir" != "$$p" ||
dir=.
; \
853 echo
"rm -f \"$${dir}/so_locations\""; \
854 rm -f
"$${dir}/so_locations"; \
856 libxml2.la
: $(libxml2_la_OBJECTS
) $(libxml2_la_DEPENDENCIES
) $(EXTRA_libxml2_la_DEPENDENCIES
)
857 $(AM_V_CCLD
)$(libxml2_la_LINK
) -rpath
$(libdir) $(libxml2_la_OBJECTS
) $(libxml2_la_LIBADD
) $(LIBS
)
858 testdso.la
: $(testdso_la_OBJECTS
) $(testdso_la_DEPENDENCIES
) $(EXTRA_testdso_la_DEPENDENCIES
)
859 $(AM_V_CCLD
)$(testdso_la_LINK
) $(testdso_la_OBJECTS
) $(testdso_la_LIBADD
) $(LIBS
)
860 install-binPROGRAMS
: $(bin_PROGRAMS
)
862 test -z
"$(bindir)" ||
$(MKDIR_P
) "$(DESTDIR)$(bindir)"
863 @list
='$(bin_PROGRAMS)'; test -n
"$(bindir)" || list
=; \
864 for p in
$$list; do echo
"$$p $$p"; done | \
865 sed
's/$(EXEEXT)$$//' | \
866 while read p p1
; do if
test -f
$$p ||
test -f
$$p1; \
867 then echo
"$$p"; echo
"$$p"; else :; fi
; \
869 sed
-e
'p;s,.*/,,;n;h' -e
's|.*|.|' \
870 -e
'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
871 sed
'N;N;N;s,\n, ,g' | \
872 $(AWK
) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
873 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
874 if ($$2 == $$4) files[d] = files[d] " " $$1; \
875 else { print "f", $$3 "/" $$4, $$1; } } \
876 END { for (d in files) print "f", d, files[d] }' | \
877 while read type
dir files
; do \
878 if
test "$$dir" = .
; then
dir=; else dir=/$$dir; fi
; \
879 test -z
"$$files" ||
{ \
880 echo
" $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
881 $(INSTALL_PROGRAM_ENV
) $(LIBTOOL
) $(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) --mode
=install $(INSTALL_PROGRAM
) $$files "$(DESTDIR)$(bindir)$$dir" || exit
$$?
; \
885 uninstall-binPROGRAMS
:
887 @list
='$(bin_PROGRAMS)'; test -n
"$(bindir)" || list
=; \
888 files
=`for p in $$list; do echo "$$p"; done | \
889 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
890 -e 's/$$/$(EXEEXT)/' `; \
891 test -n
"$$list" || exit
0; \
892 echo
" ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
893 cd
"$(DESTDIR)$(bindir)" && rm -f
$$files
896 @list
='$(bin_PROGRAMS)'; test -n
"$$list" || exit
0; \
897 echo
" rm -f" $$list; \
898 rm -f
$$list || exit
$$?
; \
899 test -n
"$(EXEEXT)" || exit
0; \
900 list
=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
901 echo
" rm -f" $$list; \
904 clean-noinstPROGRAMS
:
905 @list
='$(noinst_PROGRAMS)'; test -n
"$$list" || exit
0; \
906 echo
" rm -f" $$list; \
907 rm -f
$$list || exit
$$?
; \
908 test -n
"$(EXEEXT)" || exit
0; \
909 list
=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
910 echo
" rm -f" $$list; \
912 runsuite
$(EXEEXT
): $(runsuite_OBJECTS
) $(runsuite_DEPENDENCIES
) $(EXTRA_runsuite_DEPENDENCIES
)
913 @
rm -f runsuite
$(EXEEXT
)
914 $(AM_V_CCLD
)$(runsuite_LINK
) $(runsuite_OBJECTS
) $(runsuite_LDADD
) $(LIBS
)
915 runtest
$(EXEEXT
): $(runtest_OBJECTS
) $(runtest_DEPENDENCIES
) $(EXTRA_runtest_DEPENDENCIES
)
916 @
rm -f runtest
$(EXEEXT
)
917 $(AM_V_CCLD
)$(runtest_LINK
) $(runtest_OBJECTS
) $(runtest_LDADD
) $(LIBS
)
918 runxmlconf
$(EXEEXT
): $(runxmlconf_OBJECTS
) $(runxmlconf_DEPENDENCIES
) $(EXTRA_runxmlconf_DEPENDENCIES
)
919 @
rm -f runxmlconf
$(EXEEXT
)
920 $(AM_V_CCLD
)$(runxmlconf_LINK
) $(runxmlconf_OBJECTS
) $(runxmlconf_LDADD
) $(LIBS
)
921 testAutomata
$(EXEEXT
): $(testAutomata_OBJECTS
) $(testAutomata_DEPENDENCIES
) $(EXTRA_testAutomata_DEPENDENCIES
)
922 @
rm -f testAutomata
$(EXEEXT
)
923 $(AM_V_CCLD
)$(testAutomata_LINK
) $(testAutomata_OBJECTS
) $(testAutomata_LDADD
) $(LIBS
)
924 testC14N
$(EXEEXT
): $(testC14N_OBJECTS
) $(testC14N_DEPENDENCIES
) $(EXTRA_testC14N_DEPENDENCIES
)
925 @
rm -f testC14N
$(EXEEXT
)
926 $(AM_V_CCLD
)$(testC14N_LINK
) $(testC14N_OBJECTS
) $(testC14N_LDADD
) $(LIBS
)
927 testHTML
$(EXEEXT
): $(testHTML_OBJECTS
) $(testHTML_DEPENDENCIES
) $(EXTRA_testHTML_DEPENDENCIES
)
928 @
rm -f testHTML
$(EXEEXT
)
929 $(AM_V_CCLD
)$(testHTML_LINK
) $(testHTML_OBJECTS
) $(testHTML_LDADD
) $(LIBS
)
930 testModule
$(EXEEXT
): $(testModule_OBJECTS
) $(testModule_DEPENDENCIES
) $(EXTRA_testModule_DEPENDENCIES
)
931 @
rm -f testModule
$(EXEEXT
)
932 $(AM_V_CCLD
)$(testModule_LINK
) $(testModule_OBJECTS
) $(testModule_LDADD
) $(LIBS
)
933 testReader
$(EXEEXT
): $(testReader_OBJECTS
) $(testReader_DEPENDENCIES
) $(EXTRA_testReader_DEPENDENCIES
)
934 @
rm -f testReader
$(EXEEXT
)
935 $(AM_V_CCLD
)$(testReader_LINK
) $(testReader_OBJECTS
) $(testReader_LDADD
) $(LIBS
)
936 testRegexp
$(EXEEXT
): $(testRegexp_OBJECTS
) $(testRegexp_DEPENDENCIES
) $(EXTRA_testRegexp_DEPENDENCIES
)
937 @
rm -f testRegexp
$(EXEEXT
)
938 $(AM_V_CCLD
)$(testRegexp_LINK
) $(testRegexp_OBJECTS
) $(testRegexp_LDADD
) $(LIBS
)
939 testRelax
$(EXEEXT
): $(testRelax_OBJECTS
) $(testRelax_DEPENDENCIES
) $(EXTRA_testRelax_DEPENDENCIES
)
940 @
rm -f testRelax
$(EXEEXT
)
941 $(AM_V_CCLD
)$(testRelax_LINK
) $(testRelax_OBJECTS
) $(testRelax_LDADD
) $(LIBS
)
942 testSAX
$(EXEEXT
): $(testSAX_OBJECTS
) $(testSAX_DEPENDENCIES
) $(EXTRA_testSAX_DEPENDENCIES
)
943 @
rm -f testSAX
$(EXEEXT
)
944 $(AM_V_CCLD
)$(testSAX_LINK
) $(testSAX_OBJECTS
) $(testSAX_LDADD
) $(LIBS
)
945 testSchemas
$(EXEEXT
): $(testSchemas_OBJECTS
) $(testSchemas_DEPENDENCIES
) $(EXTRA_testSchemas_DEPENDENCIES
)
946 @
rm -f testSchemas
$(EXEEXT
)
947 $(AM_V_CCLD
)$(testSchemas_LINK
) $(testSchemas_OBJECTS
) $(testSchemas_LDADD
) $(LIBS
)
948 testThreads
$(EXEEXT
): $(testThreads_OBJECTS
) $(testThreads_DEPENDENCIES
) $(EXTRA_testThreads_DEPENDENCIES
)
949 @
rm -f testThreads
$(EXEEXT
)
950 $(AM_V_CCLD
)$(testThreads_LINK
) $(testThreads_OBJECTS
) $(testThreads_LDADD
) $(LIBS
)
951 testURI
$(EXEEXT
): $(testURI_OBJECTS
) $(testURI_DEPENDENCIES
) $(EXTRA_testURI_DEPENDENCIES
)
952 @
rm -f testURI
$(EXEEXT
)
953 $(AM_V_CCLD
)$(testURI_LINK
) $(testURI_OBJECTS
) $(testURI_LDADD
) $(LIBS
)
954 testXPath
$(EXEEXT
): $(testXPath_OBJECTS
) $(testXPath_DEPENDENCIES
) $(EXTRA_testXPath_DEPENDENCIES
)
955 @
rm -f testXPath
$(EXEEXT
)
956 $(AM_V_CCLD
)$(testXPath_LINK
) $(testXPath_OBJECTS
) $(testXPath_LDADD
) $(LIBS
)
957 testapi
$(EXEEXT
): $(testapi_OBJECTS
) $(testapi_DEPENDENCIES
) $(EXTRA_testapi_DEPENDENCIES
)
958 @
rm -f testapi
$(EXEEXT
)
959 $(AM_V_CCLD
)$(testapi_LINK
) $(testapi_OBJECTS
) $(testapi_LDADD
) $(LIBS
)
960 testchar
$(EXEEXT
): $(testchar_OBJECTS
) $(testchar_DEPENDENCIES
) $(EXTRA_testchar_DEPENDENCIES
)
961 @
rm -f testchar
$(EXEEXT
)
962 $(AM_V_CCLD
)$(testchar_LINK
) $(testchar_OBJECTS
) $(testchar_LDADD
) $(LIBS
)
963 testdict
$(EXEEXT
): $(testdict_OBJECTS
) $(testdict_DEPENDENCIES
) $(EXTRA_testdict_DEPENDENCIES
)
964 @
rm -f testdict
$(EXEEXT
)
965 $(AM_V_CCLD
)$(testdict_LINK
) $(testdict_OBJECTS
) $(testdict_LDADD
) $(LIBS
)
966 testlimits
$(EXEEXT
): $(testlimits_OBJECTS
) $(testlimits_DEPENDENCIES
) $(EXTRA_testlimits_DEPENDENCIES
)
967 @
rm -f testlimits
$(EXEEXT
)
968 $(AM_V_CCLD
)$(testlimits_LINK
) $(testlimits_OBJECTS
) $(testlimits_LDADD
) $(LIBS
)
969 testrecurse
$(EXEEXT
): $(testrecurse_OBJECTS
) $(testrecurse_DEPENDENCIES
) $(EXTRA_testrecurse_DEPENDENCIES
)
970 @
rm -f testrecurse
$(EXEEXT
)
971 $(AM_V_CCLD
)$(testrecurse_LINK
) $(testrecurse_OBJECTS
) $(testrecurse_LDADD
) $(LIBS
)
972 xmlcatalog
$(EXEEXT
): $(xmlcatalog_OBJECTS
) $(xmlcatalog_DEPENDENCIES
) $(EXTRA_xmlcatalog_DEPENDENCIES
)
973 @
rm -f xmlcatalog
$(EXEEXT
)
974 $(AM_V_CCLD
)$(xmlcatalog_LINK
) $(xmlcatalog_OBJECTS
) $(xmlcatalog_LDADD
) $(LIBS
)
975 xmllint
$(EXEEXT
): $(xmllint_OBJECTS
) $(xmllint_DEPENDENCIES
) $(EXTRA_xmllint_DEPENDENCIES
)
976 @
rm -f xmllint
$(EXEEXT
)
977 $(AM_V_CCLD
)$(xmllint_LINK
) $(xmllint_OBJECTS
) $(xmllint_LDADD
) $(LIBS
)
978 install-binSCRIPTS
: $(bin_SCRIPTS
)
980 test -z
"$(bindir)" ||
$(MKDIR_P
) "$(DESTDIR)$(bindir)"
981 @list
='$(bin_SCRIPTS)'; test -n
"$(bindir)" || list
=; \
982 for p in
$$list; do \
983 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
984 if
test -f
"$$d$$p"; then echo
"$$d$$p"; echo
"$$p"; else :; fi
; \
986 sed
-e
'p;s,.*/,,;n' \
988 -e
'p;x;s,.*/,,;$(transform)' | sed
'N;N;N;s,\n, ,g' | \
989 $(AWK
) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
990 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
991 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
992 if (++n[d] == $(am__install_max)) { \
993 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
994 else { print "f", d "/" $$4, $$1 } } \
995 END { for (d in files) print "f", d, files[d] }' | \
996 while read type
dir files
; do \
997 if
test "$$dir" = .
; then
dir=; else dir=/$$dir; fi
; \
998 test -z
"$$files" ||
{ \
999 echo
" $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
1000 $(INSTALL_SCRIPT
) $$files "$(DESTDIR)$(bindir)$$dir" || exit
$$?
; \
1004 uninstall-binSCRIPTS
:
1005 @
$(NORMAL_UNINSTALL
)
1006 @list
='$(bin_SCRIPTS)'; test -n
"$(bindir)" || exit
0; \
1007 files
=`for p in $$list; do echo "$$p"; done | \
1008 sed -e 's,.*/,,;$(transform)'`; \
1009 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir
)
1011 mostlyclean-compile
:
1017 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/DOCBparser.Plo@am__quote@
1018 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/HTMLparser.Plo@am__quote@
1019 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/HTMLtree.Plo@am__quote@
1020 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/SAX.Plo@am__quote@
1021 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/SAX2.Plo@am__quote@
1022 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/buf.Plo@am__quote@
1023 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/c14n.Plo@am__quote@
1024 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/catalog.Plo@am__quote@
1025 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/chvalid.Plo@am__quote@
1026 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/debugXML.Plo@am__quote@
1027 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/dict.Plo@am__quote@
1028 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/encoding.Plo@am__quote@
1029 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/entities.Plo@am__quote@
1030 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/error.Plo@am__quote@
1031 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/globals.Plo@am__quote@
1032 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/hash.Plo@am__quote@
1033 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/legacy.Plo@am__quote@
1034 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/list.Plo@am__quote@
1035 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/nanoftp.Plo@am__quote@
1036 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/nanohttp.Plo@am__quote@
1037 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/parser.Plo@am__quote@
1038 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/parserInternals.Plo@am__quote@
1039 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/pattern.Plo@am__quote@
1040 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/relaxng.Plo@am__quote@
1041 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/runsuite.Po@am__quote@
1042 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/runtest.Po@am__quote@
1043 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/runxmlconf.Po@am__quote@
1044 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/schematron.Plo@am__quote@
1045 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testAutomata.Po@am__quote@
1046 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testC14N.Po@am__quote@
1047 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testHTML.Po@am__quote@
1048 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testModule.Po@am__quote@
1049 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testReader.Po@am__quote@
1050 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testRegexp.Po@am__quote@
1051 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testRelax.Po@am__quote@
1052 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testSAX.Po@am__quote@
1053 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testSchemas.Po@am__quote@
1054 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testThreads.Po@am__quote@
1055 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testThreadsWin32.Po@am__quote@
1056 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testURI.Po@am__quote@
1057 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testXPath.Po@am__quote@
1058 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testapi.Po@am__quote@
1059 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testchar.Po@am__quote@
1060 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testdict.Po@am__quote@
1061 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testdso.Plo@am__quote@
1062 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testlimits.Po@am__quote@
1063 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/testrecurse.Po@am__quote@
1064 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/threads.Plo@am__quote@
1065 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/tree.Plo@am__quote@
1066 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/trio.Plo@am__quote@
1067 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/triostr.Plo@am__quote@
1068 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/uri.Plo@am__quote@
1069 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/valid.Plo@am__quote@
1070 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xinclude.Plo@am__quote@
1071 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xlink.Plo@am__quote@
1072 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlIO.Plo@am__quote@
1073 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlcatalog.Po@am__quote@
1074 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmllint.Po@am__quote@
1075 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlmemory.Plo@am__quote@
1076 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlmodule.Plo@am__quote@
1077 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlreader.Plo@am__quote@
1078 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlregexp.Plo@am__quote@
1079 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlsave.Plo@am__quote@
1080 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlschemas.Plo@am__quote@
1081 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlschemastypes.Plo@am__quote@
1082 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlstring.Plo@am__quote@
1083 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlunicode.Plo@am__quote@
1084 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xmlwriter.Plo@am__quote@
1085 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xpath.Plo@am__quote@
1086 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xpointer.Plo@am__quote@
1087 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/xzlib.Plo@am__quote@
1090 @am__fastdepCC_TRUE@
$(AM_V_CC
)$(COMPILE
) -MT
$@
-MD
-MP
-MF
$(DEPDIR
)/$*.Tpo
-c
-o
$@
$<
1091 @am__fastdepCC_TRUE@
$(AM_V_at
)$(am__mv
) $(DEPDIR
)/$*.Tpo
$(DEPDIR
)/$*.Po
1092 @AMDEP_TRUE@@am__fastdepCC_FALSE@
$(AM_V_CC
)source
='$<' object
='$@' libtool
=no @AMDEPBACKSLASH@
1093 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR
=$(DEPDIR
) $(CCDEPMODE
) $(depcomp
) @AMDEPBACKSLASH@
1094 @am__fastdepCC_FALSE@
$(AM_V_CC@am__nodep@
)$(COMPILE
) -c
$<
1097 @am__fastdepCC_TRUE@
$(AM_V_CC
)$(COMPILE
) -MT
$@
-MD
-MP
-MF
$(DEPDIR
)/$*.Tpo
-c
-o
$@
`$(CYGPATH_W) '$<'`
1098 @am__fastdepCC_TRUE@
$(AM_V_at
)$(am__mv
) $(DEPDIR
)/$*.Tpo
$(DEPDIR
)/$*.Po
1099 @AMDEP_TRUE@@am__fastdepCC_FALSE@
$(AM_V_CC
)source
='$<' object
='$@' libtool
=no @AMDEPBACKSLASH@
1100 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR
=$(DEPDIR
) $(CCDEPMODE
) $(depcomp
) @AMDEPBACKSLASH@
1101 @am__fastdepCC_FALSE@
$(AM_V_CC@am__nodep@
)$(COMPILE
) -c
`$(CYGPATH_W) '$<'`
1104 @am__fastdepCC_TRUE@
$(AM_V_CC
)$(LTCOMPILE
) -MT
$@
-MD
-MP
-MF
$(DEPDIR
)/$*.Tpo
-c
-o
$@
$<
1105 @am__fastdepCC_TRUE@
$(AM_V_at
)$(am__mv
) $(DEPDIR
)/$*.Tpo
$(DEPDIR
)/$*.Plo
1106 @AMDEP_TRUE@@am__fastdepCC_FALSE@
$(AM_V_CC
)source
='$<' object
='$@' libtool
=yes @AMDEPBACKSLASH@
1107 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR
=$(DEPDIR
) $(CCDEPMODE
) $(depcomp
) @AMDEPBACKSLASH@
1108 @am__fastdepCC_FALSE@
$(AM_V_CC@am__nodep@
)$(LTCOMPILE
) -c
-o
$@
$<
1110 mostlyclean-libtool
:
1117 -rm -f libtool config.lt
1118 install-man1
: $(man_MANS
)
1120 test -z
"$(man1dir)" ||
$(MKDIR_P
) "$(DESTDIR)$(man1dir)"
1121 @list
=''; test -n
"$(man1dir)" || exit
0; \
1122 { for i in
$$list; do echo
"$$i"; done
; \
1123 l2
='$(man_MANS)'; for i in
$$l2; do echo
"$$i"; done | \
1124 sed
-n
'/\.1[a-z]*$$/p'; \
1125 } | while read p
; do \
1126 if
test -f
$$p; then d
=; else d
="$(srcdir)/"; fi
; \
1127 echo
"$$d$$p"; echo
"$$p"; \
1129 sed
-e
'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
1130 -e
's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1131 sed
'N;N;s,\n, ,g' |
{ \
1132 list
=; while read file base inst
; do \
1133 if
test "$$base" = "$$inst"; then list
="$$list $$file"; else \
1134 echo
" $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
1135 $(INSTALL_DATA
) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit
$$?
; \
1138 for i in
$$list; do echo
"$$i"; done |
$(am__base_list
) | \
1139 while read files
; do \
1140 test -z
"$$files" ||
{ \
1141 echo
" $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
1142 $(INSTALL_DATA
) $$files "$(DESTDIR)$(man1dir)" || exit
$$?
; }; \
1146 @
$(NORMAL_UNINSTALL
)
1147 @list
=''; test -n
"$(man1dir)" || exit
0; \
1148 files
=`{ for i in $$list; do echo "$$i"; done; \
1149 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1150 sed -n '/\.1[a-z]*$$/p'; \
1151 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
1152 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1153 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir
)
1154 install-man3
: $(man_MANS
)
1156 test -z
"$(man3dir)" ||
$(MKDIR_P
) "$(DESTDIR)$(man3dir)"
1157 @list
=''; test -n
"$(man3dir)" || exit
0; \
1158 { for i in
$$list; do echo
"$$i"; done
; \
1159 l2
='$(man_MANS)'; for i in
$$l2; do echo
"$$i"; done | \
1160 sed
-n
'/\.3[a-z]*$$/p'; \
1161 } | while read p
; do \
1162 if
test -f
$$p; then d
=; else d
="$(srcdir)/"; fi
; \
1163 echo
"$$d$$p"; echo
"$$p"; \
1165 sed
-e
'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1166 -e
's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1167 sed
'N;N;s,\n, ,g' |
{ \
1168 list
=; while read file base inst
; do \
1169 if
test "$$base" = "$$inst"; then list
="$$list $$file"; else \
1170 echo
" $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
1171 $(INSTALL_DATA
) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit
$$?
; \
1174 for i in
$$list; do echo
"$$i"; done |
$(am__base_list
) | \
1175 while read files
; do \
1176 test -z
"$$files" ||
{ \
1177 echo
" $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
1178 $(INSTALL_DATA
) $$files "$(DESTDIR)$(man3dir)" || exit
$$?
; }; \
1182 @
$(NORMAL_UNINSTALL
)
1183 @list
=''; test -n
"$(man3dir)" || exit
0; \
1184 files
=`{ for i in $$list; do echo "$$i"; done; \
1185 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1186 sed -n '/\.3[a-z]*$$/p'; \
1187 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1188 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1189 dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir
)
1190 install-confexecDATA
: $(confexec_DATA
)
1192 test -z
"$(confexecdir)" ||
$(MKDIR_P
) "$(DESTDIR)$(confexecdir)"
1193 @list
='$(confexec_DATA)'; test -n
"$(confexecdir)" || list
=; \
1194 for p in
$$list; do \
1195 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
1197 done |
$(am__base_list
) | \
1198 while read files
; do \
1199 echo
" $(INSTALL_DATA) $$files '$(DESTDIR)$(confexecdir)'"; \
1200 $(INSTALL_DATA
) $$files "$(DESTDIR)$(confexecdir)" || exit
$$?
; \
1203 uninstall-confexecDATA
:
1204 @
$(NORMAL_UNINSTALL
)
1205 @list
='$(confexec_DATA)'; test -n
"$(confexecdir)" || list
=; \
1206 files
=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1207 dir='$(DESTDIR)$(confexecdir)'; $(am__uninstall_files_from_dir
)
1208 install-m4dataDATA
: $(m4data_DATA
)
1210 test -z
"$(m4datadir)" ||
$(MKDIR_P
) "$(DESTDIR)$(m4datadir)"
1211 @list
='$(m4data_DATA)'; test -n
"$(m4datadir)" || list
=; \
1212 for p in
$$list; do \
1213 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
1215 done |
$(am__base_list
) | \
1216 while read files
; do \
1217 echo
" $(INSTALL_DATA) $$files '$(DESTDIR)$(m4datadir)'"; \
1218 $(INSTALL_DATA
) $$files "$(DESTDIR)$(m4datadir)" || exit
$$?
; \
1221 uninstall-m4dataDATA
:
1222 @
$(NORMAL_UNINSTALL
)
1223 @list
='$(m4data_DATA)'; test -n
"$(m4datadir)" || list
=; \
1224 files
=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1225 dir='$(DESTDIR)$(m4datadir)'; $(am__uninstall_files_from_dir
)
1226 install-pkgconfigDATA
: $(pkgconfig_DATA
)
1228 test -z
"$(pkgconfigdir)" ||
$(MKDIR_P
) "$(DESTDIR)$(pkgconfigdir)"
1229 @list
='$(pkgconfig_DATA)'; test -n
"$(pkgconfigdir)" || list
=; \
1230 for p in
$$list; do \
1231 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
1233 done |
$(am__base_list
) | \
1234 while read files
; do \
1235 echo
" $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
1236 $(INSTALL_DATA
) $$files "$(DESTDIR)$(pkgconfigdir)" || exit
$$?
; \
1239 uninstall-pkgconfigDATA
:
1240 @
$(NORMAL_UNINSTALL
)
1241 @list
='$(pkgconfig_DATA)'; test -n
"$(pkgconfigdir)" || list
=; \
1242 files
=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1243 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir
)
1245 # This directory's subdirectories are mostly independent; you can cd
1246 # into them and run `make' without going through this Makefile.
1247 # To change the values of `make' variables: instead of editing Makefiles,
1248 # (1) if the variable is set in `config.status', edit `config.status'
1249 # (which will cause the Makefiles to be regenerated when you run `make');
1250 # (2) otherwise, pass the desired values on the `make' command line.
1251 $(RECURSIVE_TARGETS
):
1252 @fail
= failcom
='exit 1'; \
1253 for f in x
$$MAKEFLAGS; do \
1256 *k
*) failcom
='fail=yes';; \
1260 target
=`echo $@ | sed s/-recursive//`; \
1261 list
='$(SUBDIRS)'; for subdir in
$$list; do \
1262 echo
"Making $$target in $$subdir"; \
1263 if
test "$$subdir" = "."; then \
1265 local_target
="$$target-am"; \
1267 local_target
="$$target"; \
1269 ($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
1270 || eval
$$failcom; \
1272 if
test "$$dot_seen" = "no"; then \
1273 $(MAKE
) $(AM_MAKEFLAGS
) "$$target-am" || exit
1; \
1274 fi
; test -z
"$$fail"
1276 $(RECURSIVE_CLEAN_TARGETS
):
1277 @fail
= failcom
='exit 1'; \
1278 for f in x
$$MAKEFLAGS; do \
1281 *k
*) failcom
='fail=yes';; \
1286 distclean-
* | maintainer-clean-
*) list
='$(DIST_SUBDIRS)' ;; \
1287 *) list
='$(SUBDIRS)' ;; \
1289 rev
=''; for subdir in
$$list; do \
1290 if
test "$$subdir" = "."; then
:; else \
1291 rev
="$$subdir $$rev"; \
1295 target
=`echo $@ | sed s/-recursive//`; \
1296 for subdir in
$$rev; do \
1297 echo
"Making $$target in $$subdir"; \
1298 if
test "$$subdir" = "."; then \
1299 local_target
="$$target-am"; \
1301 local_target
="$$target"; \
1303 ($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
1304 || eval
$$failcom; \
1305 done
&& test -z
"$$fail"
1307 list
='$(SUBDIRS)'; for subdir in
$$list; do \
1308 test "$$subdir" = . ||
($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) tags); \
1311 list
='$(SUBDIRS)'; for subdir in
$$list; do \
1312 test "$$subdir" = . ||
($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) ctags
); \
1315 ID
: $(HEADERS
) $(SOURCES
) $(LISP
) $(TAGS_FILES
)
1316 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1317 unique
=`for i in $$list; do \
1318 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1320 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1321 END { if (nonempty) { for (i in files) print i; }; }'`; \
1325 TAGS
: tags-recursive
$(HEADERS
) $(SOURCES
) config.h.in
$(TAGS_DEPENDENCIES
) \
1326 $(TAGS_FILES
) $(LISP
)
1329 if
($(ETAGS
) --etags-include
--version
) >/dev
/null
2>&1; then \
1330 include_option
=--etags-include
; \
1333 include_option
=--include; \
1336 list
='$(SUBDIRS)'; for subdir in
$$list; do \
1337 if
test "$$subdir" = .
; then
:; else \
1338 test ! -f
$$subdir/TAGS || \
1339 set
"$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1342 list
='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
1343 unique
=`for i in $$list; do \
1344 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1346 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1347 END { if (nonempty) { for (i in files) print i; }; }'`; \
1349 if
test -z
"$(ETAGS_ARGS)$$*$$unique"; then
:; else \
1350 test -n
"$$unique" || unique
=$$empty_fix; \
1351 if
test $$# -gt 0; then \
1352 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
1355 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
1360 CTAGS
: ctags-recursive
$(HEADERS
) $(SOURCES
) config.h.in
$(TAGS_DEPENDENCIES
) \
1361 $(TAGS_FILES
) $(LISP
)
1362 list
='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
1363 unique
=`for i in $$list; do \
1364 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1366 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1367 END { if (nonempty) { for (i in files) print i; }; }'`; \
1368 test -z
"$(CTAGS_ARGS)$$unique" \
1369 ||
$(CTAGS
) $(CTAGSFLAGS
) $(AM_CTAGSFLAGS
) $(CTAGS_ARGS
) \
1373 here
=`$(am__cd) $(top_builddir) && pwd` \
1374 && $(am__cd
) $(top_srcdir
) \
1375 && gtags
-i
$(GTAGS_ARGS
) "$$here"
1378 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
tags
1380 distdir
: $(DISTFILES
)
1381 @list
='$(MANS)'; if
test -n
"$$list"; then \
1382 list
=`for p in $$list; do \
1383 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1384 if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
1385 if
test -n
"$$list" && \
1386 grep
'ab help2man is required to generate this page' $$list >/dev
/null
; then \
1387 echo
"error: found man pages containing the \`missing help2man' replacement text:" >&2; \
1388 grep
-l
'ab help2man is required to generate this page' $$list | sed
's/^/ /' >&2; \
1389 echo
" to fix them, install help2man, remove and regenerate the man pages;" >&2; \
1390 echo
" typically \`make maintainer-clean' will remove them" >&2; \
1394 $(am__remove_distdir
)
1395 test -d
"$(distdir)" || mkdir
"$(distdir)"
1396 @srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1397 topsrcdirstrip
=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1398 list
='$(DISTFILES)'; \
1399 dist_files
=`for file in $$list; do echo $$file; done | \
1400 sed -e "s|^$$srcdirstrip/||;t" \
1401 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1402 case
$$dist_files in \
1403 */*) $(MKDIR_P
) `echo "$$dist_files" | \
1404 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1407 for file in
$$dist_files; do \
1408 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
1409 if
test -d
$$d/$$file; then \
1410 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1411 if
test -d
"$(distdir)/$$file"; then \
1412 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
1414 if
test -d
$(srcdir)/$$file && test $$d != $(srcdir); then \
1415 cp
-fpR
$(srcdir)/$$file "$(distdir)$$dir" || exit
1; \
1416 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
1418 cp
-fpR
$$d/$$file "$(distdir)$$dir" || exit
1; \
1420 test -f
"$(distdir)/$$file" \
1421 || cp
-p
$$d/$$file "$(distdir)/$$file" \
1425 @list
='$(DIST_SUBDIRS)'; for subdir in
$$list; do \
1426 if
test "$$subdir" = .
; then
:; else \
1427 test -d
"$(distdir)/$$subdir" \
1428 ||
$(MKDIR_P
) "$(distdir)/$$subdir" \
1432 @list
='$(DIST_SUBDIRS)'; for subdir in
$$list; do \
1433 if
test "$$subdir" = .
; then
:; else \
1434 dir1
=$$subdir; dir2
="$(distdir)/$$subdir"; \
1435 $(am__relativize
); \
1436 new_distdir
=$$reldir; \
1437 dir1
=$$subdir; dir2
="$(top_distdir)"; \
1438 $(am__relativize
); \
1439 new_top_distdir
=$$reldir; \
1440 echo
" (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1441 echo
" am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1442 ($(am__cd
) $$subdir && \
1443 $(MAKE
) $(AM_MAKEFLAGS
) \
1444 top_distdir
="$$new_top_distdir" \
1445 distdir
="$$new_distdir" \
1446 am__remove_distdir
=: \
1447 am__skip_length_check
=: \
1448 am__skip_mode_fix
=: \
1453 $(MAKE
) $(AM_MAKEFLAGS
) \
1454 top_distdir
="$(top_distdir)" distdir
="$(distdir)" \
1456 -test -n
"$(am__skip_mode_fix)" \
1457 || find
"$(distdir)" -type d
! -perm
-755 \
1458 -exec chmod u
+rwx
,go
+rx
{} \
; -o \
1459 ! -type d
! -perm
-444 -links
1 -exec chmod a
+r
{} \
; -o \
1460 ! -type d
! -perm
-400 -exec chmod a
+r
{} \
; -o \
1461 ! -type d
! -perm
-444 -exec
$(install_sh
) -c
-m a
+r
{} {} \
; \
1462 || chmod
-R a
+r
"$(distdir)"
1464 tardir
=$(distdir
) && $(am__tar
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
1465 $(am__remove_distdir
)
1468 tardir
=$(distdir
) && $(am__tar
) | BZIP2
=$${BZIP2--9
} bzip2
-c
>$(distdir
).
tar.bz2
1469 $(am__remove_distdir
)
1472 tardir
=$(distdir
) && $(am__tar
) | lzip
-c
$${LZIP_OPT--9
} >$(distdir
).
tar.lz
1473 $(am__remove_distdir
)
1476 tardir
=$(distdir
) && $(am__tar
) | lzma
-9 -c
>$(distdir
).
tar.lzma
1477 $(am__remove_distdir
)
1480 tardir
=$(distdir
) && $(am__tar
) | XZ_OPT
=$${XZ_OPT--e
} xz
-c
>$(distdir
).
tar.xz
1481 $(am__remove_distdir
)
1484 tardir
=$(distdir
) && $(am__tar
) | compress
-c
>$(distdir
).
tar.Z
1485 $(am__remove_distdir
)
1488 shar $(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
shar.gz
1489 $(am__remove_distdir
)
1492 -rm -f
$(distdir
).zip
1493 zip
-rq
$(distdir
).zip
$(distdir
)
1494 $(am__remove_distdir
)
1496 dist dist-all
: distdir
1497 tardir
=$(distdir
) && $(am__tar
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
1498 $(am__remove_distdir
)
1500 # This target untars the dist file and tries a VPATH configuration. Then
1501 # it guarantees that the distribution is self-contained by making another
1504 case
'$(DIST_ARCHIVES)' in \
1506 GZIP
=$(GZIP_ENV
) gzip
-dc
$(distdir
).
tar.gz |
$(am__untar
) ;;\
1508 bzip2
-dc
$(distdir
).
tar.bz2 |
$(am__untar
) ;;\
1510 lzma
-dc
$(distdir
).
tar.lzma |
$(am__untar
) ;;\
1512 lzip
-dc
$(distdir
).
tar.lz |
$(am__untar
) ;;\
1514 xz
-dc
$(distdir
).
tar.xz |
$(am__untar
) ;;\
1516 uncompress
-c
$(distdir
).
tar.Z |
$(am__untar
) ;;\
1518 GZIP
=$(GZIP_ENV
) gzip
-dc
$(distdir
).
shar.gz | unshar
;;\
1520 unzip
$(distdir
).zip
;;\
1522 chmod
-R a-w
$(distdir
); chmod u
+w
$(distdir
)
1523 mkdir
$(distdir
)/_build
1524 mkdir
$(distdir
)/_inst
1525 chmod a-w
$(distdir
)
1526 test -d
$(distdir
)/_build || exit
0; \
1527 dc_install_base
=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1528 && dc_destdir
="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1530 && $(am__cd
) $(distdir
)/_build \
1531 && ..
/configure
--srcdir=..
--prefix="$$dc_install_base" \
1532 $(AM_DISTCHECK_CONFIGURE_FLAGS
) \
1533 $(DISTCHECK_CONFIGURE_FLAGS
) \
1534 && $(MAKE
) $(AM_MAKEFLAGS
) \
1535 && $(MAKE
) $(AM_MAKEFLAGS
) dvi \
1536 && $(MAKE
) $(AM_MAKEFLAGS
) check \
1537 && $(MAKE
) $(AM_MAKEFLAGS
) install \
1538 && $(MAKE
) $(AM_MAKEFLAGS
) installcheck \
1539 && $(MAKE
) $(AM_MAKEFLAGS
) uninstall \
1540 && $(MAKE
) $(AM_MAKEFLAGS
) distuninstallcheck_dir
="$$dc_install_base" \
1541 distuninstallcheck \
1542 && chmod
-R a-w
"$$dc_install_base" \
1544 (cd ..
/..
&& umask
077 && mkdir
"$$dc_destdir") \
1545 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" install \
1546 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" uninstall \
1547 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" \
1548 distuninstallcheck_dir
="$$dc_destdir" distuninstallcheck
; \
1549 } ||
{ rm -rf
"$$dc_destdir"; exit
1; }) \
1550 && rm -rf
"$$dc_destdir" \
1551 && $(MAKE
) $(AM_MAKEFLAGS
) dist \
1552 && rm -rf
$(DIST_ARCHIVES
) \
1553 && $(MAKE
) $(AM_MAKEFLAGS
) distcleancheck \
1556 $(am__remove_distdir
)
1557 @
(echo
"$(distdir) archives ready for distribution: "; \
1558 list
='$(DIST_ARCHIVES)'; for i in
$$list; do echo
$$i; done
) | \
1559 sed
-e
1h
-e
1s
/.
/=/g
-e
1p
-e
1x
-e
'$$p' -e
'$$x'
1561 @
test -n
'$(distuninstallcheck_dir)' ||
{ \
1562 echo
'ERROR: trying to run $@ with an empty' \
1563 '$$(distuninstallcheck_dir)' >&2; \
1566 $(am__cd
) '$(distuninstallcheck_dir)' ||
{ \
1567 echo
'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1570 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq
0 \
1571 ||
{ echo
"ERROR: files left after uninstall:" ; \
1572 if
test -n
"$(DESTDIR)"; then \
1573 echo
" (check DESTDIR support)"; \
1575 $(distuninstallcheck_listfiles
) ; \
1577 distcleancheck
: distclean
1578 @if
test '$(srcdir)' = .
; then \
1579 echo
"ERROR: distcleancheck can only run from a VPATH build" ; \
1582 @
test `$(distcleancheck_listfiles) | wc -l` -eq
0 \
1583 ||
{ echo
"ERROR: files left in build directory after distclean:" ; \
1584 $(distcleancheck_listfiles
) ; \
1587 check: $(BUILT_SOURCES
)
1588 $(MAKE
) $(AM_MAKEFLAGS
) check-recursive
1589 all-am
: Makefile
$(LTLIBRARIES
) $(PROGRAMS
) $(SCRIPTS
) $(MANS
) $(DATA
) \
1591 install-binPROGRAMS
: install-libLTLIBRARIES
1593 installdirs: installdirs-recursive
1595 for
dir in
"$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(confexecdir)" "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(pkgconfigdir)"; do \
1596 test -z
"$$dir" ||
$(MKDIR_P
) "$$dir"; \
1598 install: $(BUILT_SOURCES
)
1599 $(MAKE
) $(AM_MAKEFLAGS
) install-recursive
1600 install-exec
: install-exec-recursive
1601 install-data
: install-data-recursive
1602 uninstall: uninstall-recursive
1605 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
1607 installcheck: installcheck-recursive
1609 if
test -z
'$(STRIP)'; then \
1610 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
1611 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
1614 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
1615 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
1616 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1618 mostlyclean-generic
:
1621 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
1624 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
1625 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
1626 -test -z
"$(DISTCLEANFILES)" ||
rm -f
$(DISTCLEANFILES
)
1628 maintainer-clean-generic
:
1629 @echo
"This command is intended for maintainers to use"
1630 @echo
"it deletes files that may require special tools to rebuild."
1631 -test -z
"$(BUILT_SOURCES)" ||
rm -f
$(BUILT_SOURCES
)
1632 clean: clean-recursive
1634 clean-am
: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
1635 clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \
1638 distclean: distclean-recursive
1639 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
1642 distclean-am
: clean-am distclean-compile distclean-generic \
1643 distclean-hdr distclean-libtool distclean-tags
1649 html
: html-recursive
1653 info: info-recursive
1657 install-data-am
: install-data-local install-m4dataDATA install-man \
1658 install-pkgconfigDATA
1660 install-dvi
: install-dvi-recursive
1664 install-exec-am
: install-binPROGRAMS install-binSCRIPTS \
1665 install-confexecDATA install-libLTLIBRARIES
1667 install-html
: install-html-recursive
1671 install-info
: install-info-recursive
1675 install-man
: install-man1 install-man3
1677 install-pdf
: install-pdf-recursive
1681 install-ps
: install-ps-recursive
1687 maintainer-clean
: maintainer-clean-recursive
1688 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
1689 -rm -rf
$(top_srcdir
)/autom4te.cache
1692 maintainer-clean-am
: distclean-am maintainer-clean-generic
1694 mostlyclean: mostlyclean-recursive
1696 mostlyclean-am
: mostlyclean-compile mostlyclean-generic \
1707 uninstall-am
: uninstall-binPROGRAMS uninstall-binSCRIPTS \
1708 uninstall-confexecDATA uninstall-libLTLIBRARIES \
1709 uninstall-local uninstall-m4dataDATA uninstall-man \
1710 uninstall-pkgconfigDATA
1712 uninstall-man
: uninstall-man1 uninstall-man3
1714 .MAKE
: $(RECURSIVE_CLEAN_TARGETS
) $(RECURSIVE_TARGETS
) all check \
1715 ctags-recursive
install install-am install-strip \
1718 .PHONY
: $(RECURSIVE_CLEAN_TARGETS
) $(RECURSIVE_TARGETS
) CTAGS GTAGS \
1719 all all-am am--refresh
check check-am
clean clean-binPROGRAMS \
1720 clean-generic clean-libLTLIBRARIES clean-libtool \
1721 clean-noinstLTLIBRARIES clean-noinstPROGRAMS ctags \
1722 ctags-recursive
dist dist-all dist-bzip2 dist-gzip dist-hook \
1723 dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
1724 distcheck
distclean distclean-compile distclean-generic \
1725 distclean-hdr distclean-libtool distclean-tags distcleancheck \
1726 distdir distuninstallcheck
dvi dvi-am html html-am
info \
1727 info-am
install install-am install-binPROGRAMS \
1728 install-binSCRIPTS install-confexecDATA install-data \
1729 install-data-am install-data-local install-dvi install-dvi-am \
1730 install-exec install-exec-am install-html install-html-am \
1731 install-info install-info-am install-libLTLIBRARIES \
1732 install-m4dataDATA install-man install-man1 install-man3 \
1733 install-pdf install-pdf-am install-pkgconfigDATA install-ps \
1734 install-ps-am install-strip
installcheck installcheck-am \
1735 installdirs installdirs-am maintainer-clean \
1736 maintainer-clean-generic
mostlyclean mostlyclean-compile \
1737 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1738 tags tags-recursive
uninstall uninstall-am \
1739 uninstall-binPROGRAMS uninstall-binSCRIPTS \
1740 uninstall-confexecDATA uninstall-libLTLIBRARIES \
1741 uninstall-local uninstall-m4dataDATA uninstall-man \
1742 uninstall-man1 uninstall-man3 uninstall-pkgconfigDATA
1745 # that one forces the rebuild when "make rebuild" is run on doc/
1747 -@
(if
[ "$(PYTHON)" != "" ] ; then \
1748 $(PYTHON
) $(srcdir)/gentest.py
$(srcdir) ; fi
)
1750 # that one is just to make sure it is rebuilt if missing
1751 # but adding the dependances generate mess
1752 testapi.c
: $(srcdir)/gentest.py
1753 -@
(if
[ "$(PYTHON)" != "" ] ; then \
1754 $(PYTHON
) $(srcdir)/gentest.py
$(srcdir) ; fi
)
1756 #testOOM_SOURCES=testOOM.c testOOMlib.h testOOMlib.c
1758 #testOOM_DEPENDENCIES = $(DEPS)
1759 #testOOM_LDADD= $(LDADDS)
1762 [ -d
test ] ||
$(LN_S
) $(srcdir)/test .
1763 [ -d result
] ||
$(LN_S
) $(srcdir)/result .
1764 $(CHECKER
) .
/runtest
$(EXEEXT
) && $(CHECKER
) .
/testrecurse
$(EXEEXT
) &&$(CHECKER
) .
/testapi
$(EXEEXT
) && $(CHECKER
) .
/testchar
$(EXEEXT
)&& $(CHECKER
) .
/testdict
$(EXEEXT
) && $(CHECKER
) .
/runxmlconf
$(EXEEXT
)
1765 @
(if
[ "$(PYTHON_SUBDIR)" != "" ] ; then cd python
; \
1770 check-valgrind valgrind
: all
1771 @echo
'## Running the regression tests under Valgrind'
1772 @echo
'## Go get a cup of coffee it is gonna take a while ...'
1773 $(MAKE
) CHECKER
='valgrind -q' runtests
1775 testall
: tests SVGtests SAXtests
1777 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
)
1778 @
(if
[ "$(PYTHON_SUBDIR)" != "" ] ; then cd python
; \
1780 @
(cd doc
/examples
; $(MAKE
) tests
)
1782 APItests
: testapi
$(EXEEXT
)
1783 @echo
"## Running the API regression tests this may take a little while"
1784 -@
($(CHECKER
) $(top_builddir
)/testapi
-q
)
1786 HTMLtests
: testHTML
$(EXEEXT
)
1788 @echo
"## HTML regression tests"
1789 -@
(for i in
$(srcdir)/test/HTML
/* ; do \
1790 name
=`basename $$i`; \
1791 if
[ ! -d
$$i ] ; then \
1792 if
[ ! -f
$(srcdir)/result
/HTML
/$$name ] ; then \
1793 echo New
test file
$$name ; \
1794 $(CHECKER
) $(top_builddir
)/testHTML
$$i > $(srcdir)/result
/HTML
/$$name 2>$(srcdir)/result
/HTML
/$$name.err
; \
1796 log
=`$(CHECKER) $(top_builddir)/testHTML $$i > result.$$name 2> error.$$name ; \
1797 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1798 diff $(srcdir)/result/HTML/$$name result.$$name ; \
1799 diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \
1800 $(CHECKER) $(top_builddir)/testHTML result.$$name > result2.$$name 2>error.$$name ; \
1801 diff result.$$name result2.$$name` ; \
1802 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1803 rm result.
$$name result2.
$$name error.
$$name ; \
1806 HTMLPushtests
: testHTML
$(EXEEXT
)
1807 @echo
"## Push HTML regression tests"
1808 -@
(for i in
$(srcdir)/test/HTML
/* ; do \
1809 name
=`basename $$i`; \
1810 if
[ ! -d
$$i ] ; then \
1811 if
[ ! -f
$(srcdir)/result
/HTML
/$$name ] ; then \
1812 echo New
test file
$$name ; \
1813 $(CHECKER
) $(top_builddir
)/testHTML
--push
$$i > $(srcdir)/result
/HTML
/$$name 2>$(srcdir)/result
/HTML
/$$name.err
; \
1815 log
=`$(CHECKER) $(top_builddir)/testHTML --push $$i > result.$$name 2> error.$$name ; \
1816 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1817 diff $(srcdir)/result/HTML/$$name result.$$name ; \
1818 cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \
1819 cut -b 1-15 error.$$name > errorcut2.$$name; \
1820 diff -b errorcut.$$name errorcut2.$$name ; \
1821 $(CHECKER) $(top_builddir)/testHTML --push result.$$name > result2.$$name 2>error.$$name ; \
1822 diff result.$$name result2.$$name` ; \
1823 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1824 rm result.
$$name result2.
$$name error.
$$name errorcut.
$$name errorcut2.
$$name ; \
1826 @echo
"## HTML SAX regression tests"
1827 -@
(for i in
$(srcdir)/test/HTML
/* ; do \
1828 name
=`basename $$i`; \
1829 if
[ ! -d
$$i ] ; then \
1830 if
[ ! -f
$(srcdir)/result
/HTML
/$$name.sax
] ; then \
1831 echo New
test file
$$name ; \
1832 $(CHECKER
) $(top_builddir
)/testHTML
--sax
$$i > $(srcdir)/result
/HTML
/$$name.sax
; \
1834 log
=`$(CHECKER) $(top_builddir)/testHTML --sax $$i > result.$$name.sax ; \
1835 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1836 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
1837 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1838 rm result.
$$name.sax
; \
1840 @echo
"## Push HTML SAX regression tests"
1841 -@
(for i in
$(srcdir)/test/HTML
/* ; do \
1842 name
=`basename $$i`; \
1843 if
[ ! -d
$$i ] ; then \
1844 if
[ ! -f
$(srcdir)/result
/HTML
/$$name ] ; then \
1845 echo New
test file
$$name ; \
1846 $(CHECKER
) $(top_builddir
)/testHTML
--push
--sax
$$i > $(srcdir)/result
/HTML
/$$name.sax
; \
1848 log
=`$(CHECKER) $(top_builddir)/testHTML --push --sax $$i 2>&1 > result.$$name.sax ; \
1849 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1850 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
1851 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1852 rm result.
$$name.sax
; \
1855 XMLtests
: xmllint
$(EXEEXT
)
1857 @echo
"## XML regression tests"
1858 -@
(for i in
$(srcdir)/test/* ; do \
1859 name
=`basename $$i`; \
1860 if
[ ! -d
$$i ] ; then \
1861 if
[ ! -f
$(srcdir)/result
/$$name ] ; then \
1862 echo New
test file
$$name ; \
1863 $(CHECKER
) $(top_builddir
)/xmllint
$$i > $(srcdir)/result
/$$name ; \
1864 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
1866 log
=`$(CHECKER) $(top_builddir)/xmllint $$i 2>&1 > result.$$name ; \
1867 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
1868 diff $(srcdir)/result/$$name result.$$name ; \
1869 $(CHECKER) $(top_builddir)/xmllint result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
1870 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
1871 diff result.$$name result2.$$name` ;\
1872 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1873 rm result.
$$name result2.
$$name ; \
1875 @echo
"## XML regression tests on memory"
1876 -@
(for i in
$(srcdir)/test/* ; do \
1877 name
=`basename $$i`; \
1878 if
[ ! -d
$$i ] ; then \
1879 if
[ ! -f
$(srcdir)/result
/$$name ] ; then \
1880 echo New
test file
$$name ; \
1881 $(CHECKER
) $(top_builddir
)/xmllint
--memory
$$i > $(srcdir)/result
/$$name ; \
1882 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
1884 log
=`$(CHECKER) $(top_builddir)/xmllint --memory $$i 2>&1 > result.$$name ; \
1885 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
1886 diff $(srcdir)/result/$$name result.$$name ; \
1887 $(CHECKER) $(top_builddir)/xmllint --memory result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
1888 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`; \
1889 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1890 diff result.
$$name result2.
$$name ; \
1891 rm result.
$$name result2.
$$name ; \
1894 XMLPushtests
: xmllint
$(EXEEXT
)
1896 @echo
"## XML push regression tests"
1897 -@
(for i in
$(srcdir)/test/* ; do \
1898 name
=`basename $$i`; \
1899 if
[ ! -d
$$i ] ; then \
1900 if
[ ! -f
$(srcdir)/result
/$$name ] ; then \
1901 echo New
test file
$$name ; \
1902 $(CHECKER
) $(top_builddir
)/xmllint
--push
$$i > $(srcdir)/result
/$$name ; \
1903 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
1905 log
=`$(CHECKER) $(top_builddir)/xmllint --push $$i 2>&1 > result.$$name ; \
1906 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
1907 diff $(srcdir)/result/$$name result.$$name ; \
1908 $(CHECKER) $(top_builddir)/xmllint --push result.$$name 2>&1 > result2.$$name | grep -v 'failed to load external entity' ; \
1909 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
1910 diff result.$$name result2.$$name` ; \
1911 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1912 rm result.
$$name result2.
$$name ; \
1915 NStests
: xmllint
$(EXEEXT
)
1917 @echo
"## XML Namespaces regression tests"
1918 -@
(for i in
$(srcdir)/test/namespaces
/* ; do \
1919 name
=`basename $$i`; \
1920 if
[ ! -d
$$i ] ; then \
1921 if
[ ! -f
$(srcdir)/result
/namespaces
/$$name ] ; then \
1922 echo New
test file
$$name ; \
1923 $(CHECKER
) $(top_builddir
)/xmllint
$$i \
1924 2> $(srcdir)/result
/namespaces
/$$name.err \
1925 > $(srcdir)/result
/namespaces
/$$name ; \
1926 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
1928 log
=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
1929 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
1930 diff $(srcdir)/result/namespaces/$$name result.$$name ; \
1931 diff $(srcdir)/result/namespaces/$$name.err error.$$name`; \
1932 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1933 rm result.
$$name error.
$$name ; \
1936 IDtests
: xmllint
$(EXEEXT
) testXPath
$(EXEEXT
)
1938 @echo
"## xml:id regression tests"
1939 -@
(for i in
$(srcdir)/test/xmlid
/id_
*.xml
; do \
1940 name
=`basename $$i`; \
1941 if
[ ! -d
$$i ] ; then \
1942 if
[ ! -f
$(srcdir)/result
/xmlid
/$$name ] ; then \
1943 echo New
test file
$$name ; \
1944 $(CHECKER
) $(top_builddir
)/testXPath
-i
$$i "id('bar')" \
1945 2> $(srcdir)/result
/xmlid
/$$name.err \
1946 > $(srcdir)/result
/xmlid
/$$name ; \
1947 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
1949 log
=`$(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" 2> error.$$name > result.$$name ; \
1950 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
1951 diff $(srcdir)/result/xmlid/$$name result.$$name ; \
1952 diff $(srcdir)/result/xmlid/$$name.err error.$$name` ; \
1953 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1954 rm result.
$$name error.
$$name ; \
1957 Errtests
: xmllint
$(EXEEXT
)
1959 @echo
"## Error cases regression tests"
1960 -@
(for i in
$(srcdir)/test/errors
/*.xml
; do \
1961 name
=`basename $$i`; \
1962 if
[ ! -d
$$i ] ; then \
1963 if
[ ! -f
$(srcdir)/result
/errors
/$$name ] ; then \
1964 echo New
test file
$$name ; \
1965 $(CHECKER
) $(top_builddir
)/xmllint
$$i \
1966 2> $(srcdir)/result
/errors
/$$name.err \
1967 > $(srcdir)/result
/errors
/$$name ; \
1968 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
1970 log
=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
1971 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
1972 diff $(srcdir)/result/errors/$$name result.$$name ; \
1973 diff $(srcdir)/result/errors/$$name.err error.$$name` ; \
1974 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1975 rm result.
$$name error.
$$name ; \
1977 @echo
"## Error cases stream regression tests"
1978 -@
(for i in
$(srcdir)/test/errors
/*.xml
; do \
1979 name
=`basename $$i`; \
1980 if
[ ! -d
$$i ] ; then \
1981 if
[ ! -f
$(srcdir)/result
/errors
/$$name.str
] ; then \
1982 echo New
test file
$$name ; \
1983 $(CHECKER
) $(top_builddir
)/xmllint
--stream
$$i \
1984 2> $(srcdir)/result
/errors
/$$name.str \
1986 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
1988 log
=`$(CHECKER) $(top_builddir)/xmllint --stream $$i 2> error.$$name > /dev/null ; \
1989 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
1990 diff $(srcdir)/result/errors/$$name.str error.$$name` ; \
1991 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
1995 Docbtests
: xmllint
$(EXEEXT
)
1997 XMLenttests
: xmllint
$(EXEEXT
)
1999 @echo
"## XML entity subst regression tests"
2000 -@
(for i in
$(srcdir)/test/* ; do \
2001 name
=`basename $$i`; \
2002 if
[ ! -d
$$i ] ; then \
2003 if
[ ! -f
$(srcdir)/result
/noent
/$$name ] ; then \
2004 echo New
test file
$$name ; \
2005 $(CHECKER
) $(top_builddir
)/xmllint
--noent
$$i > $(srcdir)/result
/noent
/$$name ; \
2006 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2008 log
=`$(CHECKER) $(top_builddir)/xmllint --noent $$i 2>&1 > result.$$name ; \
2009 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2010 diff $(srcdir)/result/noent/$$name result.$$name ; \
2011 $(CHECKER) $(top_builddir)/xmllint --noent result.$$name 2>&1 > result2.$$name ; \
2012 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
2013 diff result.$$name result2.$$name` ; \
2014 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2015 rm result.
$$name result2.
$$name ; \
2018 URItests
: testURI
$(EXEEXT
)
2020 @echo
"## URI module regression tests"
2021 -@
(for i in
$(srcdir)/test/URI
/*.data
; do \
2022 name
=`basename $$i`; \
2023 if
[ ! -d
$$i ] ; then \
2024 if
[ ! -f
$(srcdir)/result
/URI
/$$name ] ; then \
2025 echo New
test file
$$name ; \
2026 $(CHECKER
) $(top_builddir
)/testURI
-base
'http://foo.com/path/to/index.html?orig#help' < $$i > $(srcdir)/result
/URI
/$$name ; \
2027 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2029 log
=`$(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i 2>&1 > result.$$name ; \
2030 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2031 diff $(srcdir)/result/URI/$$name result.$$name` ; \
2032 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2033 rm result.
$$name ; \
2035 -@
(for i in
$(srcdir)/test/URI
/*.uri
; do \
2036 name
=`basename $$i`; \
2037 if
[ ! -d
$$i ] ; then \
2038 if
[ ! -f
$(srcdir)/result
/URI
/$$name ] ; then \
2039 echo New
test file
$$name ; \
2040 $(CHECKER
) $(top_builddir
)/testURI
< $$i > $(srcdir)/result
/URI
/$$name ; \
2041 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2043 log
=`$(CHECKER) $(top_builddir)/testURI < $$i 2>&1 > result.$$name ; \
2044 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2045 diff $(srcdir)/result/URI/$$name result.$$name` ; \
2046 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2047 rm result.
$$name ; \
2050 XPathtests
: testXPath
$(EXEEXT
)
2052 @echo
"## XPath regression tests"
2053 -@
(if
[ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
2054 then echo Skipping debug not compiled in
; exit
0 ; fi
; \
2055 for i in
$(srcdir)/test/XPath
/expr
/* ; do \
2056 name
=`basename $$i`; \
2057 if
[ ! -d
$$i ] ; then \
2058 if
[ ! -f
$(srcdir)/result
/XPath
/expr
/$$name ] ; then \
2059 echo New
test file
$$name ; \
2060 $(CHECKER
) $(top_builddir
)/testXPath
-f
--expr
$$i > $(srcdir)/result
/XPath
/expr
/$$name ; \
2061 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2063 log
=`$(CHECKER) $(top_builddir)/testXPath -f --expr $$i 2>&1 > result.$$name ; \
2064 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2065 diff $(srcdir)/result/XPath/expr/$$name result.$$name` ; \
2066 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2067 rm result.
$$name ; \
2069 for i in
$(srcdir)/test/XPath
/docs
/* ; do \
2070 if
[ ! -d
$$i ] ; then \
2071 doc
=`basename $$i`; \
2072 for j in
$(srcdir)/test/XPath
/tests
/$$doc* ; do \
2073 if
[ ! -f
$$j ] ; then continue
; fi
; \
2074 name
=`basename $$j`; \
2075 if
[ ! -d
$$j ] ; then \
2076 if
[ ! -f
$(srcdir)/result
/XPath
/tests
/$$name ] ; then \
2077 echo New
test file
$$name ; \
2078 $(CHECKER
) $(top_builddir
)/testXPath
-f
-i
$$i $$j > $(srcdir)/result
/XPath
/tests
/$$name ; \
2079 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2081 log
=`$(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j 2>&1 > result.$$name ; \
2082 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2083 diff $(srcdir)/result/XPath/tests/$$name result.$$name` ; \
2084 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2085 rm result.
$$name ; \
2086 fi
; fi
; done
; fi
; done
)
2088 XPtrtests
: testXPath
$(EXEEXT
)
2090 @echo
"## XPointer regression tests"
2091 -@
(if
[ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
2092 then echo Skipping debug not compiled in
; exit
0 ; fi
; \
2093 for i in
$(srcdir)/test/XPath
/docs
/* ; do \
2094 if
[ ! -d
$$i ] ; then \
2095 doc
=`basename $$i`; \
2096 for j in
$(srcdir)/test/XPath
/xptr
/$$doc* ; do \
2097 if
[ ! -f
$$j ] ; then continue
; fi
; \
2098 name
=`basename $$j`; \
2099 if
[ ! -d
$$j ] ; then \
2100 if
[ ! -f
$(srcdir)/result
/XPath
/xptr
/$$name ] ; then \
2101 echo New
test file
$$name ; \
2102 $(CHECKER
) $(top_builddir
)/testXPath
-xptr
-f
-i
$$i $$j > $(srcdir)/result
/XPath
/xptr
/$$name ; \
2103 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2105 log
=`$(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j 2>&1 > result.$$name ; \
2106 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2107 diff $(srcdir)/result/XPath/xptr/$$name result.$$name` ; \
2108 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2109 rm result.
$$name ; \
2110 fi
; fi
; done
; fi
; done
)
2112 XIncludetests
: xmllint
$(EXEEXT
)
2114 @echo
"## XInclude regression tests"
2115 -@
(for i in
$(srcdir)/test/XInclude
/docs
/* ; do \
2116 name
=`basename $$i`; \
2117 if
[ ! -d
$$i ] ; then \
2118 if
[ ! -f
$(srcdir)/result
/XInclude
/$$name ] ; then \
2119 echo New
test file
$$name ; \
2120 $(CHECKER
) $(top_builddir
)/xmllint
--nowarning
--xinclude
$$i > $(srcdir)/result
/XInclude
/$$name 2> $(srcdir)/result
/XInclude
/$$name.err
; \
2121 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2123 log
=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > result.$$name 2>error.$$name ; \
2124 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2125 diff $(srcdir)/result/XInclude/$$name result.$$name ; \
2126 diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
2127 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2128 rm result.
$$name error.
$$name ; \
2130 -@
(for i in
$(srcdir)/test/XInclude
/docs
/* ; do \
2131 name
=`basename $$i`; \
2132 if
[ ! -d
$$i ] ; then \
2133 if
[ ! -f
$(srcdir)/result
/XInclude
/$$name ] ; then \
2134 echo New
test file
$$name ; \
2135 $(CHECKER
) $(top_builddir
)/xmllint
--nowarning
--noxincludenode
$$i > $(srcdir)/result
/XInclude
/$$name 2> $(srcdir)/result
/XInclude
/$$name.err
; \
2136 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2138 log
=`$(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > result.$$name 2>error.$$name ; \
2139 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2140 diff $(srcdir)/result/XInclude/$$name result.$$name ; \
2141 diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
2142 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2143 rm result.
$$name error.
$$name ; \
2146 @echo
"## XInclude xmlReader regression tests"
2147 -@
(for i in
$(srcdir)/test/XInclude
/docs
/* ; do \
2148 name
=`basename $$i`; \
2149 if
[ ! -d
$$i ] ; then \
2150 if
[ ! -f
$(srcdir)/result
/XInclude
/$$name.rdr
] ; then \
2151 echo New
test file
$$name ; \
2152 $(CHECKER
) $(top_builddir
)/xmllint
--nowarning
--xinclude
--stream
--debug
$$i > $(srcdir)/result
/XInclude
/$$name.rdr
; \
2153 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2155 log
=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > result.$$name 2>error.$$name ; \
2156 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2157 diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
2158 diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
2159 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2160 rm result.
$$name error.
$$name ; \
2162 -@
(for i in
$(srcdir)/test/XInclude
/docs
/* ; do \
2163 name
=`basename $$i`; \
2164 if
[ ! -d
$$i ] ; then \
2165 if
[ ! -f
$(srcdir)/result
/XInclude
/$$name.rdr
] ; then \
2166 echo New
test file
$$name ; \
2167 $(CHECKER
) $(top_builddir
)/xmllint
--nowarning
--noxincludenode
--stream
--debug
$$i > $(srcdir)/result
/XInclude
/$$name.rdr
; \
2168 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2170 log
=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > result.$$name 2>error.$$name ; \
2171 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2172 diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
2173 diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
2174 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2175 rm result.
$$name error.
$$name ; \
2178 Scripttests
: xmllint
$(EXEEXT
)
2180 @echo
"## Scripts regression tests"
2181 @echo
"## Some of the base computations may be different if srcdir != ."
2182 -@
(for i in
$(srcdir)/test/scripts
/*.script
; do \
2183 name
=`basename $$i .script`; \
2184 xml
=$(srcdir)/test/scripts
/`basename $$i .script`.xml
; \
2185 if
[ -f
$$xml ] ; then \
2186 if
[ ! -f
$(srcdir)/result
/scripts
/$$name ] ; then \
2187 echo New
test file
$$name ; \
2188 $(CHECKER
) $(top_builddir
)/xmllint
--shell $$xml < $$i > $(srcdir)/result
/scripts
/$$name 2> $(srcdir)/result
/scripts
/$$name.err
; \
2189 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2191 log
=`$(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > result.$$name 2> result.$$name.err ; \
2192 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2193 diff $(srcdir)/result/scripts/$$name result.$$name ; \
2194 diff $(srcdir)/result/scripts/$$name.err result.$$name.err` ; \
2195 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2196 rm result.
$$name result.
$$name.err
; \
2199 Catatests
: xmlcatalog
$(EXEEXT
)
2201 @echo
"## Catalog regression tests"
2202 -@
(for i in
$(srcdir)/test/catalogs
/*.script
; do \
2203 name
=`basename $$i .script`; \
2204 xml
=$(srcdir)/test/catalogs
/`basename $$i .script`.xml
; \
2205 if
[ -f
$$xml ] ; then \
2206 if
[ ! -f
$(srcdir)/result
/catalogs
/$$name ] ; then \
2207 echo New
test file
$$name ; \
2208 $(CHECKER
) $(top_builddir
)/xmlcatalog
--shell $$xml < $$i 2>&1 > $(srcdir)/result
/catalogs
/$$name ; \
2209 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2211 log
=`$(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i 2>&1 > result.$$name ; \
2212 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2213 diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
2214 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2215 rm result.
$$name ; \
2217 -@
(for i in
$(srcdir)/test/catalogs
/*.script
; do \
2218 name
=`basename $$i .script`; \
2219 sgml
=$(srcdir)/test/catalogs
/`basename $$i .script`.sgml
; \
2220 if
[ -f
$$sgml ] ; then \
2221 if
[ ! -f
$(srcdir)/result
/catalogs
/$$name ] ; then \
2222 echo New
test file
$$name ; \
2223 $(CHECKER
) $(top_builddir
)/xmlcatalog
--shell $$sgml < $$i > $(srcdir)/result
/catalogs
/$$name ; \
2224 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2226 log
=`$(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > result.$$name ; \
2227 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2228 diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
2229 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2230 rm result.
$$name ; \
2232 @echo
"## Add and del operations on XML Catalogs"
2233 -@
($(CHECKER
) $(top_builddir
)/xmlcatalog
--create
--noout
$(srcdir)/result
/catalogs
/mycatalog
; \
2234 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2235 $(CHECKER
) $(top_builddir
)/xmlcatalog
--noout
--add public Pubid sysid
$(srcdir)/result
/catalogs
/mycatalog
; \
2236 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2237 $(CHECKER
) $(top_builddir
)/xmlcatalog
--noout
--add public Pubid2 sysid2
$(srcdir)/result
/catalogs
/mycatalog
; \
2238 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2239 $(CHECKER
) $(top_builddir
)/xmlcatalog
--noout
--add public Pubid3 sysid3
$(srcdir)/result
/catalogs
/mycatalog
; \
2240 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2241 diff result
/catalogs
/mycatalog.full
$(srcdir)/result
/catalogs
/mycatalog
; \
2242 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2243 $(CHECKER
) $(top_builddir
)/xmlcatalog
--noout
--del sysid
$(srcdir)/result
/catalogs
/mycatalog
; \
2244 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2245 $(CHECKER
) $(top_builddir
)/xmlcatalog
--noout
--del sysid3
$(srcdir)/result
/catalogs
/mycatalog
; \
2246 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2247 $(CHECKER
) $(top_builddir
)/xmlcatalog
--noout
--del sysid2
$(srcdir)/result
/catalogs
/mycatalog
; \
2248 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2249 diff result
/catalogs
/mycatalog.empty
$(srcdir)/result
/catalogs
/mycatalog
; \
2250 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2251 rm -f
$(srcdir)/result
/catalogs
/mycatalog
)
2253 SVGtests
: xmllint
$(EXEEXT
)
2254 @echo
"## SVG parsing regression tests"
2255 -@
(for i in
$(srcdir)/test/SVG
/* ; do \
2256 name
=`basename $$i`; \
2257 if
[ ! -d
$$i ] ; then \
2258 if
[ ! -f
$(srcdir)/result
/SVG
/$$name ] ; then \
2259 echo New
test file
$$name ; \
2260 $(CHECKER
) $(top_builddir
)/xmllint
$$i > $(srcdir)/result
/SVG
/$$name ; \
2261 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2263 echo Testing
$$name ; \
2264 $(CHECKER
) $(top_builddir
)/xmllint
$$i > result.
$$name ; \
2265 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2266 diff
$(srcdir)/result
/SVG
/$$name result.
$$name ; \
2267 $(CHECKER
) $(top_builddir
)/xmllint result.
$$name > result2.
$$name ; \
2268 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2269 diff result.
$$name result2.
$$name ; \
2270 rm result.
$$name result2.
$$name ; \
2273 Threadtests
: testThreads
$(EXEEXT
)
2274 @echo
"## Threaded regression tests"
2275 -@
($(CHECKER
) $(top_builddir
)/testThreads
; \
2276 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0"; \
2279 Readertests
: xmllint
$(EXEEXT
)
2281 @echo
"## Reader regression tests"
2282 -@
(for i in
$(srcdir)/test/* ; do \
2283 name
=`basename $$i`; \
2284 if
[ ! -d
$$i ] ; then \
2285 if
[ ! -f
$(srcdir)/result
/$$name.rdr
] ; then \
2286 echo New
test file
$$name ; \
2287 $(CHECKER
) $(top_builddir
)/xmllint
--nonet
--debug
--stream
$$i > $(srcdir)/result
/$$name.rdr
2>/dev
/null
; \
2288 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2290 log
=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
2291 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2292 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
2293 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2294 rm result.
$$name ; \
2296 @echo
"## Reader on memory regression tests"
2297 -@
(for i in
$(srcdir)/test/* ; do \
2298 name
=`basename $$i`; \
2299 if
[ ! -d
$$i ] ; then \
2300 if
[ ! -f
$(srcdir)/result
/$$name.rdr
] ; then \
2301 echo New
test file
$$name ; \
2302 $(CHECKER
) $(top_builddir
)/xmllint
--memory
--nonet
--debug
--stream
$$i > $(srcdir)/result
/$$name.rdr
2>/dev
/null
; \
2303 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2305 log
=`$(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
2306 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2307 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
2308 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2309 rm result.
$$name ; \
2312 @echo
"## Walker regression tests"
2313 -@
(for i in
$(srcdir)/test/* ; do \
2314 name
=`basename $$i`; \
2315 if
[ ! -d
$$i ] ; then \
2316 if
[ ! -f
$(srcdir)/result
/$$name.rdr
] ; then \
2317 echo New
test file
$$name ; \
2318 $(CHECKER
) $(top_builddir
)/xmllint
--nonet
--debug
--walker
$$i > $(srcdir)/result
/$$name.rdr
2>/dev
/null
; \
2319 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2321 log
=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > result.$$name 2>/dev/null ; \
2322 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2323 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
2324 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2325 rm result.
$$name ; \
2327 @echo
"## Reader entities substitution regression tests"
2328 -@
(for i in
$(srcdir)/test/* ; do \
2329 name
=`basename $$i`; \
2330 if
[ ! -d
$$i ] ; then \
2331 if
[ ! -f
$(srcdir)/result
/$$name.rde
] ; then \
2332 echo New
test file
$$name ; \
2333 $(CHECKER
) $(top_builddir
)/xmllint
--noent
--nonet
--debug
--stream
$$i > $(srcdir)/result
/$$name.rde
2>/dev
/null
; \
2334 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2336 log
=`$(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > result.$$name 2>/dev/null ; \
2337 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2338 diff $(srcdir)/result/$$name.rde result.$$name` ; \
2339 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2340 rm result.
$$name ; \
2343 SAXtests
: testSAX
$(EXEEXT
)
2345 @echo
"## SAX1 callbacks regression tests"
2346 -@
(for i in
$(srcdir)/test/* ; do \
2347 name
=`basename $$i`; \
2348 if
[ ! -d
$$i ] ; then \
2349 if
[ ! -f
$(srcdir)/result
/$$name.sax
] ; then \
2350 echo New
test file
$$name ; \
2351 $(CHECKER
) $(top_builddir
)/testSAX
$$i > $(srcdir)/result
/$$name.sax
2> /dev
/null
; \
2352 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2354 log
=`$(CHECKER) $(top_builddir)/testSAX $$i > result.$$name 2> /dev/null ; \
2355 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2356 diff $(srcdir)/result/$$name.sax result.$$name` ; \
2357 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2358 rm result.
$$name ; \
2360 @echo
"## SAX2 callbacks regression tests"
2361 -@
(for i in
$(srcdir)/test/* ; do \
2362 name
=`basename $$i`; \
2363 if
[ ! -d
$$i ] ; then \
2364 if
[ ! -f
$(srcdir)/result
/$$name.sax2
] ; then \
2365 echo New
test file
$$name ; \
2366 $(CHECKER
) $(top_builddir
)/testSAX
--sax2
$$i > $(srcdir)/result
/$$name.sax2
2> /dev
/null
; \
2367 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2369 log
=`$(CHECKER) $(top_builddir)/testSAX --sax2 $$i > result.$$name 2> /dev/null ; \
2370 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2371 diff $(srcdir)/result/$$name.sax2 result.$$name` ; \
2372 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2373 rm result.
$$name ; \
2376 Validtests
: xmllint
$(EXEEXT
)
2378 @echo
"## Valid documents regression tests"
2379 -@
(for i in
$(srcdir)/test/VCM
/* ; do \
2380 name
=`basename $$i`; \
2381 if
[ ! -d
$$i ] ; then \
2382 log
=`$(CHECKER) $(top_builddir)/xmllint --valid --noout --nowarning $$i ; \
2383 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`;\
2384 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2386 @echo
"## Validity checking regression tests"
2387 -@
(for i in
$(srcdir)/test/VC
/* ; do \
2388 name
=`basename $$i`; \
2389 if
[ ! -d
$$i ] ; then \
2390 if
[ ! -f
$(srcdir)/result
/VC
/$$name ] ; then \
2391 echo New
test file
$$name ; \
2392 $(CHECKER
) $(top_builddir
)/xmllint
--noout
--valid
$$i 2> $(srcdir)/result
/VC
/$$name ; \
2393 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2395 log
=`$(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> result.$$name ; \
2396 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2397 diff $(srcdir)/result/VC/$$name result.$$name` ; \
2398 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2399 rm result.
$$name ; \
2401 @echo
"## General documents valid regression tests"
2402 -@
(for i in
$(srcdir)/test/valid
/* ; do \
2403 name
=`basename $$i`; \
2404 if
[ ! -d
$$i ] ; then \
2405 if
[ ! -f
$(srcdir)/result
/valid
/$$name ] ; then \
2406 echo New
test file
$$name ; \
2407 $(CHECKER
) $(top_builddir
)/xmllint
--valid
$$i > $(srcdir)/result
/valid
/$$name 2>$(srcdir)/result
/valid
/$$name.err
; \
2408 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2410 log
=`$(CHECKER) $(top_builddir)/xmllint --valid $$i > result.$$name 2>error.$$name ; \
2411 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2412 diff $(srcdir)/result/valid/$$name result.$$name ; \
2413 diff $(srcdir)/result/valid/$$name.err error.$$name` ; \
2414 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2415 rm result.
$$name error.
$$name ; \
2418 Regexptests
: testRegexp
$(EXEEXT
)
2420 @echo
"## Regexp regression tests"
2421 -@
(for i in
$(srcdir)/test/regexp
/* ; do \
2422 name
=`basename $$i`; \
2423 if
[ ! -d
$$i ] ; then \
2424 if
[ ! -f
$(srcdir)/result
/regexp
/$$name ] ; then \
2425 echo New
test file
$$name ; \
2426 $(CHECKER
) $(top_builddir
)/testRegexp
-i
$$i > $(srcdir)/result
/regexp
/$$name; \
2427 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2429 log
=`$(CHECKER) $(top_builddir)/testRegexp -i $$i 2>&1 > result.$$name ; \
2430 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2431 diff $(srcdir)/result/regexp/$$name result.$$name` ; \
2432 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2433 rm result.
$$name ; \
2435 @echo
"## Formal expresssions regression tests"
2436 -@
(for i in
$(srcdir)/test/expr
/* ; do \
2437 name
=`basename $$i`; \
2438 if
[ ! -d
$$i ] ; then \
2439 if
[ ! -f
$(srcdir)/result
/expr
/$$name ] ; then \
2440 echo New
test file
$$name ; \
2441 $(CHECKER
) $(top_builddir
)/testRegexp
--expr
-i
$$i > $(srcdir)/result
/expr
/$$name; \
2442 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2444 log
=`$(CHECKER) $(top_builddir)/testRegexp --expr -i $$i 2>&1 > result.$$name ; \
2445 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2446 diff $(srcdir)/result/expr/$$name result.$$name` ; \
2447 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2448 rm result.
$$name ; \
2451 Automatatests
: testAutomata
$(EXEEXT
)
2453 @echo
"## Automata regression tests"
2454 -@
(for i in
$(srcdir)/test/automata
/* ; do \
2455 name
=`basename $$i`; \
2456 if
[ ! -d
$$i ] ; then \
2457 if
[ ! -f
$(srcdir)/result
/automata
/$$name ] ; then \
2458 echo New
test file
$$name ; \
2459 $(CHECKER
) $(top_builddir
)/testAutomata
$$i > $(srcdir)/result
/automata
/$$name; \
2460 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2462 log
=`$(CHECKER) $(top_builddir)/testAutomata $$i 2>&1 > result.$$name ; \
2463 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2464 diff $(srcdir)/result/automata/$$name result.$$name` ; \
2465 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2466 rm result.
$$name ; \
2469 dba100000.xml
: dbgenattr.pl
2470 @echo
"## generating dba100000.xml"
2471 @
($(PERL
) $(top_srcdir
)/dbgenattr.pl
100000 > dba100000.xml
)
2473 Timingtests
: xmllint
$(EXEEXT
) dba100000.xml
2474 @echo
"## Timing tests to try to detect performance"
2475 @echo
"## as well a memory usage breakage when streaming"
2476 @echo
"## 1/ using the file interface"
2477 @echo
"## 2/ using the memory interface"
2478 @echo
"## 3/ repeated DOM parsing"
2479 @echo
"## 4/ repeated DOM validation"
2480 -@
($(top_builddir
)/xmllint
--stream
--timing dba100000.xml
; \
2481 MEM
=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2482 if
[ "$$MEM" != "" ] ; then echo Using
$$MEM bytes
; fi
; \
2483 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2485 -@
($(top_builddir
)/xmllint
--stream
--timing
--memory dba100000.xml
; \
2486 MEM
=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2487 if
[ "$$MEM" != "" ] ; then echo Using
$$MEM bytes
; fi
; \
2488 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2490 -@
($(top_builddir
)/xmllint
--noout
--timing
--repeat
$(srcdir)/test/valid
/REC-xml-19980210.xml
; \
2491 MEM
=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2492 if
[ "$$MEM" != "" ] ; then echo Using
$$MEM bytes
; fi
; \
2493 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2496 VTimingtests
: xmllint
$(EXEEXT
)
2497 -@
($(top_builddir
)/xmllint
--noout
--timing
--valid
--repeat
$(srcdir)/test/valid
/REC-xml-19980210.xml
; \
2498 MEM
=`cat .memdump | grep "MEMORY ALLOCATED" | awk '{ print $$7}'`;\
2499 if
[ "$$MEM" != "" ] ; then echo Using
$$MEM bytes
; fi
; \
2500 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2503 C14Ntests
: testC14N
$(EXEEXT
)
2504 @echo
"## C14N and XPath regression tests"
2505 -@
(for m in with-comments without-comments
1-1-without-comments exc-without-comments
; do \
2506 for i in
$(srcdir)/test/c14n
/$$m/*.xml
; do \
2507 if
[ ! -d
$$i ] ; then \
2508 name
=`basename $$i .xml`; \
2509 cmdline
="$(CHECKER) $(top_builddir)/testC14N --$$m $$i"; \
2510 if
[ -f
$(srcdir)/test/c14n
/$$m/$$name.xpath
] ; then \
2511 cmdline
="$$cmdline $(srcdir)/test/c14n/$$m/$$name.xpath"; \
2512 if
[ -f
$(srcdir)/test/c14n
/$$m/$$name.ns
] ; then \
2513 cmdline
="$$cmdline '`cat $(srcdir)/test/c14n/$$m/$$name.ns`'"; \
2516 $$cmdline > $(srcdir)/test/c14n
/test.tmp
; \
2517 if
[ $$?
-eq
0 ]; then \
2518 diff
$(srcdir)/result
/c14n
/$$m/$$name $(srcdir)/test/c14n
/test.tmp
; \
2519 if
[ $$?
-ne
0 ]; then \
2520 echo
"Test $$m/$$name failed"; \
2521 cat
$(srcdir)/test/c14n
/test.tmp
; \
2524 echo
"C14N failed"; \
2526 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2528 rm -f
$(srcdir)/test/c14n
/test.tmp
; \
2532 Schemastests
: testSchemas
$(EXEEXT
)
2534 @echo
"## Schemas regression tests"
2535 -@
(for i in
$(srcdir)/test/schemas
/*_
*.xsd
; do \
2536 name
=`basename $$i | sed 's+_.*++'`; \
2537 sno
=`basename $$i | sed 's+.*_\(.*\).xsd+\1+'`; \
2538 for j in
$(srcdir)/test/schemas
/"$$name"_
*.xml
; do \
2539 if
[ -f
$$j ] ; then \
2540 xno
=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2541 if
[ ! -f
$(srcdir)/result
/schemas
/"$$name"_
"$$sno"_
"$$xno" ]; \
2543 echo New
test file
"$$name"_
"$$sno"_
"$$xno" ; \
2544 $(CHECKER
) $(top_builddir
)/testSchemas
$$i $$j \
2545 > $(srcdir)/result
/schemas
/"$$name"_
"$$sno"_
"$$xno" \
2546 2> $(srcdir)/result
/schemas
/"$$name"_
"$$sno"_
"$$xno".err
; \
2547 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2549 log
=`$(CHECKER) $(top_builddir)/testSchemas $$i $$j \
2550 > res.$$name 2> err.$$name;\
2551 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2552 diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
2554 diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err \
2556 grep Unimplemented err.$$name`; \
2557 if
[ -n
"$$log" ] ; then echo
"$$name"_
"$$sno"_
"$$xno" result
; echo
$$log ; fi
; \
2558 rm res.
$$name err.
$$name ; \
2562 Relaxtests
: xmllint
$(EXEEXT
)
2564 @echo
"## Relax-NG regression tests"
2565 -@
(for i in
$(srcdir)/test/relaxng
/*.rng
; do \
2566 name
=`basename $$i | sed 's+\.rng++'`; \
2567 if
[ ! -f
$(srcdir)/result
/relaxng
/"$$name"_valid
] ; then \
2568 echo New schemas
$$name ; \
2569 $(CHECKER
) $(top_builddir
)/xmllint
$(EXEEXT
) --noout
--relaxng
$(srcdir)/test/relaxng
/tutorA.rng
$$i \
2570 > $(srcdir)/result
/relaxng
/"$$name"_valid \
2571 2> $(srcdir)/result
/relaxng
/"$$name"_err
; \
2572 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2574 log
=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
2575 > res.$$name 2> err.$$name;\
2576 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2577 diff $(srcdir)/result/relaxng/"$$name"_valid \
2579 diff $(srcdir)/result/relaxng/"$$name"_err \
2580 err.$$name | grep -v "error detected at";\
2581 grep Unimplemented err.$$name`; \
2582 if
[ -n
"$$log" ] ; then echo schemas
$$name result
; echo
$$log ; fi
; \
2583 rm res.
$$name err.
$$name ; \
2585 for j in
$(srcdir)/test/relaxng
/"$$name"_
*.xml
; do \
2586 if
[ -f
$$j ] ; then \
2587 xno
=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2588 if
[ ! -f
$(srcdir)/result
/relaxng
/"$$name"_
"$$xno" ]; \
2590 echo New
test file
"$$name"_
"$$xno" ; \
2591 $(CHECKER
) $(top_builddir
)/xmllint
$(EXEEXT
) --noout
--relaxng
$$i $$j \
2592 > $(srcdir)/result
/relaxng
/"$$name"_
"$$xno" \
2593 2> $(srcdir)/result
/relaxng
/"$$name"_
"$$xno".err
; \
2594 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2596 log
=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
2597 > res.$$name 2> err.$$name;\
2598 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2599 diff $(srcdir)/result/relaxng/"$$name"_"$$xno" \
2601 diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
2602 err.$$name | grep -v "error detected at";\
2603 grep Unimplemented err.$$name`; \
2604 if
[ -n
"$$log" ] ; then echo
"$$name"_
"$$xno" result
; echo
$$log ; fi
; \
2605 rm res.
$$name err.
$$name ; \
2608 @echo
"## Relax-NG streaming regression tests"
2609 -@
(for i in
$(srcdir)/test/relaxng
/*.rng
; do \
2610 name
=`basename $$i | sed 's+\.rng++'`; \
2611 for j in
$(srcdir)/test/relaxng
/"$$name"_
*.xml
; do \
2612 if
[ -f
$$j ] ; then \
2613 xno
=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2614 if
[ ! -f
$(srcdir)/result
/relaxng
/"$$name"_
"$$xno" ]; \
2616 echo New
test file
"$$name"_
"$$xno" ; \
2617 $(CHECKER
) $(top_builddir
)/xmllint
$(EXEEXT
) --noout
--relaxng
$$i $$j \
2618 > $(srcdir)/result
/relaxng
/"$$name"_
"$$xno" \
2619 2> $(srcdir)/result
/relaxng
/"$$name"_
"$$xno".err
; \
2620 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2622 log
=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --stream --relaxng $$i $$j \
2623 > res.$$name 2> err.$$name;\
2624 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2625 diff $(srcdir)/result/relaxng/"$$name"_"$$xno" res.$$name;\
2626 if [ "$$name" != "tutor10_1" -a "$$name" != "tutor10_2" -a "$$name" != "tutor3_2" -a "$$name" != "307377" -a "$$name" != "tutor8_2" ] ; then \
2627 diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
2628 err.$$name | grep -v "error detected at";\
2629 fi ; grep Unimplemented err.$$name`; \
2630 if
[ -n
"$$log" ] ; then echo
"$$name"_
"$$xno" result
; echo
$$log ; fi
; \
2631 rm res.
$$name err.
$$name ; \
2635 Schematrontests
: xmllint
$(EXEEXT
)
2637 @echo
"## Schematron regression tests"
2638 -@
(for i in
$(srcdir)/test/schematron
/*.sct
; do \
2639 name
=`basename $$i | sed 's+\.sct++'`; \
2640 for j in
$(srcdir)/test/schematron
/"$$name"_
*.xml
; do \
2641 if
[ -f
$$j ] ; then \
2642 xno
=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2643 if
[ ! -f
$(srcdir)/result
/schematron
/"$$name"_
"$$xno" ]; \
2645 echo New
test file
"$$name"_
"$$xno" ; \
2646 $(CHECKER
) $(top_builddir
)/xmllint
$(EXEEXT
) --schematron
$$i $$j \
2647 > $(srcdir)/result
/schematron
/"$$name"_
"$$xno" \
2648 2> $(srcdir)/result
/schematron
/"$$name"_
"$$xno".err
; \
2649 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2651 log
=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --schematron $$i $$j \
2652 > res.$$name 2> err.$$name;\
2653 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2654 diff $(srcdir)/result/schematron/"$$name"_"$$xno" \
2656 diff $(srcdir)/result/schematron/"$$name"_"$$xno".err \
2657 err.$$name | grep -v "error detected at";\
2658 grep Unimplemented err.$$name`; \
2659 if
[ -n
"$$log" ] ; then echo
"$$name"_
"$$xno" result
; echo
$$log ; fi
; \
2660 rm res.
$$name err.
$$name ; \
2665 @
(if
[ -x
$(PYTHON
) ] ; then \
2666 PYTHONPATH
=$(top_builddir
)/python
:$(top_builddir
)/python
/.libs
:$$PYTHONPATH ; \
2667 export PYTHONPATH
; \
2668 LD_LIBRARY_PATH
="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
2669 export LD_LIBRARY_PATH
; \
2670 echo
"## Relax-NG Python based test suite 1" ; \
2671 $(CHECKER
) $(PYTHON
) $(srcdir)/check-relaxng-test-suite.py
; \
2672 echo
"## Relax-NG Python based test suite 2" ; \
2673 $(CHECKER
) $(PYTHON
) $(srcdir)/check-relaxng-test-suite2.py
; \
2677 @
(if
[ -x
$(PYTHON
) ] ; then \
2678 PYTHONPATH
=$(top_builddir
)/python
:$(top_builddir
)/python
/.libs
:$$PYTHONPATH; \
2679 export PYTHONPATH
; \
2680 LD_LIBRARY_PATH
="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
2681 export LD_LIBRARY_PATH
; \
2682 echo
"## XML Schemas datatypes Python based test suite" ; \
2683 echo
"## It is normal to see 11 errors reported" ; \
2684 $(CHECKER
) $(PYTHON
) $(srcdir)/check-xsddata-test-suite.py
; \
2686 @
(if
[ -x
$(PYTHON
) -a
-d xstc
] ; then cd xstc
; $(MAKE
) CHECKER
="$(CHECKER)" pytests
; fi
)
2688 Patterntests
: xmllint
$(EXEEXT
)
2690 @echo
"## Pattern regression tests"
2691 -@
(for i in
$(srcdir)/test/pattern
/*.pat
; do \
2692 name
=`basename $$i .pat`; \
2693 if
[ -f
$(srcdir)/test/pattern
/$$name.xml
] ; then \
2694 if
[ ! -f
$(srcdir)/result
/pattern
/$$name ] ; then \
2695 rm -f result.
$$name ; \
2696 echo New
test file
$$name ; \
2697 for pat in
`cat $$i` ; do \
2698 $(CHECKER
) $(top_builddir
)/xmllint
--walker
--pattern
$$pat $(srcdir)/test/pattern
/$$name.xml
>> $(srcdir)/result
/pattern
/$$name ; \
2699 grep
"MORY ALLO" .memdump | grep
-v
"MEMORY ALLOCATED : 0";\
2702 rm -f result.
$$name ; \
2704 log
=`for pat in $$lst ; do $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml 2>&1 >> result.$$name ; \
2705 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
2707 diff $(srcdir)/result/pattern/$$name result.$$name` ; \
2708 if
[ -n
"$$log" ] ; then echo
$$name result
; echo
$$log ; fi
; \
2709 rm result.
$$name ; \
2712 ModuleTests
: testModule
$(EXEEXT
) testdso.la
2713 @echo
"## Module tests"
2714 @
(.
/testModule
$(EXEEXT
))
2717 -@
(find .
-name .\
#\* -exec rm {} \;)
2718 -@
(find .
-name \
*.gcda
-o
-name \
*.gcno
-exec
rm -f
{} \
;)
2719 -@
(find .
-name \
*.orig
-o
-name \
*.rej
-o
-name \
*.old
-exec
rm -f
{} \
;)
2721 dist-hook
: cleanup libxml2.spec
2722 -cp libxml2.spec
$(distdir
)
2723 (cd
$(srcdir) ; tar -cf
- --exclude CVS
--exclude .svn
--exclude .git win32 macos vms VxWorks bakefile
test result
) |
(cd
$(distdir
); tar xf
-)
2725 dist-source
: distdir
2726 $(AMTAR
) -chof
- --exclude Tests
--exclude
test --exclude result
$(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>`echo "$(distdir)" | sed "s+libxml2+libxml2-sources+"`.
tar.gz
2729 (mkdir
-p
$(distdir
))
2730 (cd
$(srcdir) ; tar -cf
- --exclude CVS
--exclude .svn
--exclude .git xstc
/Tests
) |
(cd
$(distdir
); tar xf
-)
2731 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
2732 @
(rm -rf
$(distdir
)/xstc
/Test
)
2735 @
(rm -f libxml
*.
tar.gz COPYING.LIB
)
2737 rpm
: cleanup cleantar
2738 @
(unset CDPATH
; $(MAKE
) dist-source
dist && rpmbuild
-ta
$(distdir
).
tar.gz
)
2740 xml2Conf.sh
: xml2Conf.sh.in Makefile
2741 sed
-e
's?\@XML_LIBDIR\@?$(XML_LIBDIR)?g' \
2742 -e
's?\@XML_INCLUDEDIR\@?$(XML_INCLUDEDIR)?g' \
2743 -e
's?\@VERSION\@?$(VERSION)?g' \
2744 -e
's?\@XML_LIBS\@?$(XML_LIBS)?g' \
2745 < $(srcdir)/xml2Conf.sh.in
> xml2Conf.tmp \
2746 && mv xml2Conf.tmp xml2Conf.sh
2749 $(MKDIR_P
) $(DESTDIR
)$(BASE_DIR
)/$(DOC_MODULE
)
2750 -$(INSTALL
) -m
0644 $(srcdir)/Copyright
$(DESTDIR
)$(BASE_DIR
)/$(DOC_MODULE
)
2751 $(MKDIR_P
) $(DESTDIR
)$(EXAMPLES_DIR
)
2752 -$(INSTALL
) -m
0644 $(srcdir)/xmllint.c
$(DESTDIR
)$(EXAMPLES_DIR
)
2753 -$(INSTALL
) -m
0644 $(srcdir)/testSAX.c
$(DESTDIR
)$(EXAMPLES_DIR
)
2754 -$(INSTALL
) -m
0644 $(srcdir)/testHTML.c
$(DESTDIR
)$(EXAMPLES_DIR
)
2755 -$(INSTALL
) -m
0644 $(srcdir)/testXPath.c
$(DESTDIR
)$(EXAMPLES_DIR
)
2758 rm -f
$(DESTDIR
)$(EXAMPLES_DIR
)/testXPath.c
2759 rm -f
$(DESTDIR
)$(EXAMPLES_DIR
)/testHTML.c
2760 rm -f
$(DESTDIR
)$(EXAMPLES_DIR
)/testSAX.c
2761 rm -f
$(DESTDIR
)$(EXAMPLES_DIR
)/xmllint.c
2762 rm -rf
$(DESTDIR
)$(EXAMPLES_DIR
)
2763 rm -f
$(DESTDIR
)$(BASE_DIR
)/$(DOC_MODULE
)/Copyright
2764 rm -rf
$(DESTDIR
)$(BASE_DIR
)/$(DOC_MODULE
)
2767 $(CC
) $(CFLAGS
) -Iinclude
-o tst tst.c .libs
/libxml2.a
-lpthread
-lm
-lz
-llzma
2773 if
[ "`echo $(LDFLAGS) | grep coverage`" = "" ] ; then \
2774 echo not configured with coverage
; exit
1 ; fi
2775 if
[ ! -x
$(LCOV
) -o
! -x
$(GENHTML
) ] ; then \
2776 echo Need
$(LCOV
) and
$(GENHTML
) excecutables
; exit
1 ; fi
2778 -@
(.
/runsuite
$(EXEEXT
))
2779 mkdir
$(top_builddir
)/coverage
2780 $(LCOV
) -c
-o
$(top_builddir
)/coverage
/libxml2.
info.tmp
-d
$(top_srcdir
)
2781 $(LCOV
) -r
$(top_builddir
)/coverage
/libxml2.
info.tmp
-o
$(top_builddir
)/coverage
/libxml2.
info *usr
*
2782 rm $(top_builddir
)/coverage
/libxml2.
info.tmp
2783 $(GENHTML
) -s
-t
"libxml2" -o
$(top_builddir
)/coverage
--legend
$(top_builddir
)/coverage
/libxml2.
info
2784 echo
"Coverage report is in $(top_builddir)/coverage/index.html"
2787 rm -rf
$(top_builddir
)/coverage
2789 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2790 # Otherwise a system limit (for SysV at least) may be exceeded.