Initial revision
[TestXSLT.git] / libxml2 / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 # AUTOMAKE_ OPTIONS=no-dependencies
14
15
16 SHELL = @SHELL@
17
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
23
24 bindir = @bindir@
25 sbindir = @sbindir@
26 libexecdir = @libexecdir@
27 datadir = @datadir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
31 libdir = @libdir@
32 infodir = @infodir@
33 mandir = @mandir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36
37 DESTDIR =
38
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
42
43 top_builddir = .
44
45 ACLOCAL = @ACLOCAL@
46 AUTOCONF = @AUTOCONF@
47 AUTOMAKE = @AUTOMAKE@
48 AUTOHEADER = @AUTOHEADER@
49
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
55
56 NORMAL_INSTALL = :
57 PRE_INSTALL = :
58 POST_INSTALL = :
59 NORMAL_UNINSTALL = :
60 PRE_UNINSTALL = :
61 POST_UNINSTALL = :
62 host_alias = @host_alias@
63 host_triplet = @host@
64 AS = @AS@
65 C14N_OBJ = @C14N_OBJ@
66 CATALOG_OBJ = @CATALOG_OBJ@
67 CC = @CC@
68 CFLAGS = @CFLAGS@
69 CPP = @CPP@
70 DEBUG_OBJ = @DEBUG_OBJ@
71 DLLTOOL = @DLLTOOL@
72 DOCB_OBJ = @DOCB_OBJ@
73 ECHO = @ECHO@
74 EXEEXT = @EXEEXT@
75 FTP_OBJ = @FTP_OBJ@
76 HAVE_ISINF = @HAVE_ISINF@
77 HAVE_ISNAN = @HAVE_ISNAN@
78 HTML_DIR = @HTML_DIR@
79 HTML_OBJ = @HTML_OBJ@
80 HTTP_OBJ = @HTTP_OBJ@
81 ICONV_LIBS = @ICONV_LIBS@
82 LIBTOOL = @LIBTOOL@
83 LIBXML_MAJOR_VERSION = @LIBXML_MAJOR_VERSION@
84 LIBXML_MICRO_VERSION = @LIBXML_MICRO_VERSION@
85 LIBXML_MINOR_VERSION = @LIBXML_MINOR_VERSION@
86 LIBXML_VERSION = @LIBXML_VERSION@
87 LIBXML_VERSION_INFO = @LIBXML_VERSION_INFO@
88 LIBXML_VERSION_NUMBER = @LIBXML_VERSION_NUMBER@
89 LN_S = @LN_S@
90 MAINT = @MAINT@
91 MAKEINFO = @MAKEINFO@
92 MV = @MV@
93 M_LIBS = @M_LIBS@
94 OBJDUMP = @OBJDUMP@
95 OBJEXT = @OBJEXT@
96 PACKAGE = @PACKAGE@
97 PYTHON = @PYTHON@
98 PYTHON_INCLUDES = @PYTHON_INCLUDES@
99 PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
100 PYTHON_SUBDIR = @PYTHON_SUBDIR@
101 PYTHON_VERSION = @PYTHON_VERSION@
102 RANLIB = @RANLIB@
103 RDL_LIBS = @RDL_LIBS@
104 RELDATE = @RELDATE@
105 RM = @RM@
106 STATIC_BINARIES = @STATIC_BINARIES@
107 STRIP = @STRIP@
108 TAR = @TAR@
109 TEST_REGEXPS = @TEST_REGEXPS@
110 TEST_SCHEMAS = @TEST_SCHEMAS@
111 TEST_THREADS = @TEST_THREADS@
112 THREAD_CFLAGS = @THREAD_CFLAGS@
113 THREAD_LIBS = @THREAD_LIBS@
114 U = @U@
115 VERSION = @VERSION@
116 WITH_C14N = @WITH_C14N@
117 WITH_CATALOG = @WITH_CATALOG@
118 WITH_DEBUG = @WITH_DEBUG@
119 WITH_DOCB = @WITH_DOCB@
120 WITH_FTP = @WITH_FTP@
121 WITH_HTML = @WITH_HTML@
122 WITH_HTTP = @WITH_HTTP@
123 WITH_ICONV = @WITH_ICONV@
124 WITH_MEM_DEBUG = @WITH_MEM_DEBUG@
125 WITH_REGEXPS = @WITH_REGEXPS@
126 WITH_SCHEMAS = @WITH_SCHEMAS@
127 WITH_THREADS = @WITH_THREADS@
128 WITH_TRIO = @WITH_TRIO@
129 WITH_XINCLUDE = @WITH_XINCLUDE@
130 WITH_XPATH = @WITH_XPATH@
131 WITH_XPTR = @WITH_XPTR@
132 XINCLUDE_OBJ = @XINCLUDE_OBJ@
133 XML_CFLAGS = @XML_CFLAGS@
134 XML_INCLUDEDIR = @XML_INCLUDEDIR@
135 XML_LIBDIR = @XML_LIBDIR@
136 XML_LIBS = @XML_LIBS@
137 XPATH_OBJ = @XPATH_OBJ@
138 XPTR_OBJ = @XPTR_OBJ@
139 Z_CFLAGS = @Z_CFLAGS@
140 Z_LIBS = @Z_LIBS@
141
142 SUBDIRS = include . doc example @PYTHON_SUBDIR@
143
144 DIST_SUBDIRS = include . doc example python
145
146 INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@ 
147
148 noinst_PROGRAMS = testSchemas testRelax testSAX testHTML testXPath testURI \
149                 testDocbook testThreads testC14N testAutomata testRegexp \
150                 testReader
151
152
153 bin_PROGRAMS = xmllint xmlcatalog
154
155 bin_SCRIPTS = xml2-config
156
157 lib_LTLIBRARIES = libxml2.la
158 libxml2_la_LIBADD = @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) -lm
159
160 libxml2_la_LDFLAGS = -version-info @LIBXML_VERSION_INFO@
161 @WITH_TRIO_SOURCES_TRUE@libxml2_la_SOURCES = @WITH_TRIO_SOURCES_TRUE@SAX.c entities.c encoding.c error.c parserInternals.c  \
162 @WITH_TRIO_SOURCES_TRUE@                parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c  \
163 @WITH_TRIO_SOURCES_TRUE@                valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c  \
164 @WITH_TRIO_SOURCES_TRUE@                xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c \
165 @WITH_TRIO_SOURCES_TRUE@                catalog.c globals.c threads.c c14n.c \
166 @WITH_TRIO_SOURCES_TRUE@                xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
167 @WITH_TRIO_SOURCES_TRUE@                triostr.c trio.c xmlreader.c relaxng.c
168 @WITH_TRIO_SOURCES_FALSE@libxml2_la_SOURCES = @WITH_TRIO_SOURCES_FALSE@SAX.c entities.c encoding.c error.c parserInternals.c  \
169 @WITH_TRIO_SOURCES_FALSE@               parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c  \
170 @WITH_TRIO_SOURCES_FALSE@               valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c  \
171 @WITH_TRIO_SOURCES_FALSE@               xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c \
172 @WITH_TRIO_SOURCES_FALSE@               catalog.c globals.c threads.c c14n.c \
173 @WITH_TRIO_SOURCES_FALSE@               xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
174 @WITH_TRIO_SOURCES_FALSE@               xmlreader.c relaxng.c
175
176 DEPS = $(top_builddir)/libxml2.la
177 LDADDS = @STATIC_BINARIES@ $(top_builddir)/libxml2.la @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) -lm
178
179 man_MANS = xml2-config.1 libxml.3
180
181 m4datadir = $(datadir)/aclocal
182 m4data_DATA = libxml.m4
183
184 xmllint_SOURCES = xmllint.c
185 xmllint_LDFLAGS = 
186 xmllint_DEPENDENCIES = $(DEPS)
187 xmllint_LDADD = @RDL_LIBS@ $(LDADDS)
188
189 testSAX_SOURCES = testSAX.c
190 testSAX_LDFLAGS = 
191 testSAX_DEPENDENCIES = $(DEPS)
192 testSAX_LDADD = $(LDADDS)
193
194 testHTML_SOURCES = testHTML.c
195 testHTML_LDFLAGS = 
196 testHTML_DEPENDENCIES = $(DEPS)
197 testHTML_LDADD = $(LDADDS)
198
199 testDocbook_SOURCES = testDocbook.c
200 testDocbook_LDFLAGS = 
201 testDocbook_DEPENDENCIES = $(DEPS)
202 testDocbook_LDADD = $(LDADDS)
203
204 xmlcatalog_SOURCES = xmlcatalog.c
205 xmlcatalog_LDFLAGS = 
206 xmlcatalog_DEPENDENCIES = $(DEPS)
207 xmlcatalog_LDADD = @RDL_LIBS@ $(LDADDS)
208
209 testXPath_SOURCES = testXPath.c
210 testXPath_LDFLAGS = 
211 testXPath_DEPENDENCIES = $(DEPS)
212 testXPath_LDADD = $(LDADDS)
213
214 testC14N_SOURCES = testC14N.c
215 testC14N_LDFLAGS = 
216 testC14N_DEPENDENCIES = $(DEPS)
217 testC14N_LDADD = $(LDADDS)
218
219 testThreads_SOURCES = testThreads.c
220 testThreads_LDFLAGS = 
221 testThreads_DEPENDENCIES = $(DEPS)
222 testThreads_LDADD = $(LDADDS)
223
224 testURI_SOURCES = testURI.c
225 testURI_LDFLAGS = 
226 testURI_DEPENDENCIES = $(DEPS)
227 testURI_LDADD = $(LDADDS)
228
229 testRegexp_SOURCES = testRegexp.c
230 testRegexp_LDFLAGS = 
231 testRegexp_DEPENDENCIES = $(DEPS)
232 testRegexp_LDADD = $(LDADDS)
233
234 testAutomata_SOURCES = testAutomata.c
235 testAutomata_LDFLAGS = 
236 testAutomata_DEPENDENCIES = $(DEPS)
237 testAutomata_LDADD = $(LDADDS)
238
239 testSchemas_SOURCES = testSchemas.c
240 testSchemas_LDFLAGS = 
241 testSchemas_DEPENDENCIES = $(DEPS)
242 testSchemas_LDADD = $(LDADDS)
243
244 testRelax_SOURCES = testRelax.c
245 testRelax_LDFLAGS = 
246 testRelax_DEPENDENCIES = $(DEPS)
247 testRelax_LDADD = $(LDADDS)
248
249 testReader_SOURCES = testReader.c
250 testReader_LDFLAGS = 
251 testReader_DEPENDENCIES = $(DEPS)
252 testReader_LDADD = $(LDADDS)
253
254 CLEANFILES = xml2Conf.sh
255
256 confexecdir = $(libdir)
257 confexec_DATA = xml2Conf.sh
258 EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml.spec \
259              libxml.m4 Copyright check-xml-test-suite.py \
260              check-relaxng-test-suite.py check-xinclude-test-suite.py \
261              example/Makefile.am example/gjobread.c example/gjobs.xml \
262              $(man_MANS) libxml-2.0.pc.in \
263              trionan.c trionan.h triostr.c triostr.h trio.c trio.h \
264              triop.h triodef.h libxml.h \
265              testThreadsWin32.c genUnicode.py TODO_SCHEMAS
266
267
268 pkgconfigdir = $(libdir)/pkgconfig
269 pkgconfig_DATA = libxml-2.0.pc
270
271 #
272 # Instll the tests program sources as examples 
273 #
274 BASE_DIR = $(datadir)/doc
275 DOC_MODULE = libxml2-$(VERSION)
276 EXAMPLES_DIR = $(BASE_DIR)/$(DOC_MODULE)/examples
277 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
278 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
279 CONFIG_HEADER = config.h
280 CONFIG_CLEAN_FILES =  libxml.spec xml2-config libxml-2.0.pc xml2Conf.sh
281 LTLIBRARIES =  $(lib_LTLIBRARIES)
282
283
284 DEFS = @DEFS@ -I. -I$(srcdir) -I.
285 CPPFLAGS = @CPPFLAGS@
286 LDFLAGS = @LDFLAGS@
287 LIBS = @LIBS@
288 libxml2_la_DEPENDENCIES = 
289 @WITH_TRIO_SOURCES_FALSE@libxml2_la_OBJECTS =  SAX.lo entities.lo \
290 @WITH_TRIO_SOURCES_FALSE@encoding.lo error.lo parserInternals.lo \
291 @WITH_TRIO_SOURCES_FALSE@parser.lo tree.lo hash.lo list.lo xmlIO.lo \
292 @WITH_TRIO_SOURCES_FALSE@xmlmemory.lo uri.lo valid.lo xlink.lo \
293 @WITH_TRIO_SOURCES_FALSE@HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo \
294 @WITH_TRIO_SOURCES_FALSE@xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo \
295 @WITH_TRIO_SOURCES_FALSE@DOCBparser.lo catalog.lo globals.lo threads.lo \
296 @WITH_TRIO_SOURCES_FALSE@c14n.lo xmlregexp.lo xmlschemas.lo \
297 @WITH_TRIO_SOURCES_FALSE@xmlschemastypes.lo xmlunicode.lo xmlreader.lo \
298 @WITH_TRIO_SOURCES_FALSE@relaxng.lo
299 @WITH_TRIO_SOURCES_TRUE@libxml2_la_OBJECTS =  SAX.lo entities.lo \
300 @WITH_TRIO_SOURCES_TRUE@encoding.lo error.lo parserInternals.lo \
301 @WITH_TRIO_SOURCES_TRUE@parser.lo tree.lo hash.lo list.lo xmlIO.lo \
302 @WITH_TRIO_SOURCES_TRUE@xmlmemory.lo uri.lo valid.lo xlink.lo \
303 @WITH_TRIO_SOURCES_TRUE@HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo \
304 @WITH_TRIO_SOURCES_TRUE@xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo \
305 @WITH_TRIO_SOURCES_TRUE@DOCBparser.lo catalog.lo globals.lo threads.lo \
306 @WITH_TRIO_SOURCES_TRUE@c14n.lo xmlregexp.lo xmlschemas.lo \
307 @WITH_TRIO_SOURCES_TRUE@xmlschemastypes.lo xmlunicode.lo triostr.lo \
308 @WITH_TRIO_SOURCES_TRUE@trio.lo xmlreader.lo relaxng.lo
309 bin_PROGRAMS =  xmllint$(EXEEXT) xmlcatalog$(EXEEXT)
310 noinst_PROGRAMS =  testSchemas$(EXEEXT) testRelax$(EXEEXT) \
311 testSAX$(EXEEXT) testHTML$(EXEEXT) testXPath$(EXEEXT) testURI$(EXEEXT) \
312 testDocbook$(EXEEXT) testThreads$(EXEEXT) testC14N$(EXEEXT) \
313 testAutomata$(EXEEXT) testRegexp$(EXEEXT) testReader$(EXEEXT)
314 PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)
315
316 xmllint_OBJECTS =  xmllint.$(OBJEXT)
317 xmlcatalog_OBJECTS =  xmlcatalog.$(OBJEXT)
318 testSchemas_OBJECTS =  testSchemas.$(OBJEXT)
319 testRelax_OBJECTS =  testRelax.$(OBJEXT)
320 testSAX_OBJECTS =  testSAX.$(OBJEXT)
321 testHTML_OBJECTS =  testHTML.$(OBJEXT)
322 testXPath_OBJECTS =  testXPath.$(OBJEXT)
323 testURI_OBJECTS =  testURI.$(OBJEXT)
324 testDocbook_OBJECTS =  testDocbook.$(OBJEXT)
325 testThreads_OBJECTS =  testThreads.$(OBJEXT)
326 testC14N_OBJECTS =  testC14N.$(OBJEXT)
327 testAutomata_OBJECTS =  testAutomata.$(OBJEXT)
328 testRegexp_OBJECTS =  testRegexp.$(OBJEXT)
329 testReader_OBJECTS =  testReader.$(OBJEXT)
330 SCRIPTS =  $(bin_SCRIPTS)
331
332 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
333 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
334 CCLD = $(CC)
335 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
336 man1dir = $(mandir)/man1
337 man3dir = $(mandir)/man3
338 MANS = $(man_MANS)
339
340 NROFF = nroff
341 DATA =  $(confexec_DATA) $(m4data_DATA) $(pkgconfig_DATA)
342
343 DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
344 Makefile.am Makefile.in NEWS TODO acconfig.h acinclude.m4 aclocal.m4 \
345 config.guess config.h.in config.sub configure configure.in install-sh \
346 libxml-2.0.pc.in libxml.spec.in ltconfig ltmain.sh missing \
347 mkinstalldirs xml2-config.in xml2Conf.sh.in
348
349
350 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
351
352 GZIP_ENV = --best
353 SOURCES = $(libxml2_la_SOURCES) $(xmllint_SOURCES) $(xmlcatalog_SOURCES) $(testSchemas_SOURCES) $(testRelax_SOURCES) $(testSAX_SOURCES) $(testHTML_SOURCES) $(testXPath_SOURCES) $(testURI_SOURCES) $(testDocbook_SOURCES) $(testThreads_SOURCES) $(testC14N_SOURCES) $(testAutomata_SOURCES) $(testRegexp_SOURCES) $(testReader_SOURCES)
354 OBJECTS = $(libxml2_la_OBJECTS) $(xmllint_OBJECTS) $(xmlcatalog_OBJECTS) $(testSchemas_OBJECTS) $(testRelax_OBJECTS) $(testSAX_OBJECTS) $(testHTML_OBJECTS) $(testXPath_OBJECTS) $(testURI_OBJECTS) $(testDocbook_OBJECTS) $(testThreads_OBJECTS) $(testC14N_OBJECTS) $(testAutomata_OBJECTS) $(testRegexp_OBJECTS) $(testReader_OBJECTS)
355
356 all: all-redirect
357 .SUFFIXES:
358 .SUFFIXES: .S .c .lo .o .obj .s
359 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
360         cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
361
362 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
363         cd $(top_builddir) \
364           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
365
366 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in  acinclude.m4
367         cd $(srcdir) && $(ACLOCAL)
368
369 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
370         $(SHELL) ./config.status --recheck
371 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
372         cd $(srcdir) && $(AUTOCONF)
373
374 config.h: stamp-h
375         @if test ! -f $@; then \
376                 rm -f stamp-h; \
377                 $(MAKE) stamp-h; \
378         else :; fi
379 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
380         cd $(top_builddir) \
381           && CONFIG_FILES= CONFIG_HEADERS=config.h \
382              $(SHELL) ./config.status
383         @echo timestamp > stamp-h 2> /dev/null
384 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
385         @if test ! -f $@; then \
386                 rm -f $(srcdir)/stamp-h.in; \
387                 $(MAKE) $(srcdir)/stamp-h.in; \
388         else :; fi
389 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
390         cd $(top_srcdir) && $(AUTOHEADER)
391         @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
392
393 mostlyclean-hdr:
394
395 clean-hdr:
396
397 distclean-hdr:
398         -rm -f config.h
399
400 maintainer-clean-hdr:
401 libxml.spec: $(top_builddir)/config.status libxml.spec.in
402         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
403 xml2-config: $(top_builddir)/config.status xml2-config.in
404         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
405 libxml-2.0.pc: $(top_builddir)/config.status libxml-2.0.pc.in
406         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
407 xml2Conf.sh: $(top_builddir)/config.status xml2Conf.sh.in
408         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
409
410 mostlyclean-libLTLIBRARIES:
411
412 clean-libLTLIBRARIES:
413         -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
414
415 distclean-libLTLIBRARIES:
416
417 maintainer-clean-libLTLIBRARIES:
418
419 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
420         @$(NORMAL_INSTALL)
421         $(mkinstalldirs) $(DESTDIR)$(libdir)
422         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
423           if test -f $$p; then \
424             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
425             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
426           else :; fi; \
427         done
428
429 uninstall-libLTLIBRARIES:
430         @$(NORMAL_UNINSTALL)
431         list='$(lib_LTLIBRARIES)'; for p in $$list; do \
432           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
433         done
434
435 .c.o:
436         $(COMPILE) -c $<
437
438 # FIXME: We should only use cygpath when building on Windows,
439 # and only if it is available.
440 .c.obj:
441         $(COMPILE) -c `cygpath -w $<`
442
443 .s.o:
444         $(COMPILE) -c $<
445
446 .S.o:
447         $(COMPILE) -c $<
448
449 mostlyclean-compile:
450         -rm -f *.o core *.core
451         -rm -f *.$(OBJEXT)
452
453 clean-compile:
454
455 distclean-compile:
456         -rm -f *.tab.c
457
458 maintainer-clean-compile:
459
460 .c.lo:
461         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
462
463 .s.lo:
464         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
465
466 .S.lo:
467         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
468
469 mostlyclean-libtool:
470         -rm -f *.lo
471
472 clean-libtool:
473         -rm -rf .libs _libs
474
475 distclean-libtool:
476
477 maintainer-clean-libtool:
478
479 libxml2.la: $(libxml2_la_OBJECTS) $(libxml2_la_DEPENDENCIES)
480         $(LINK) -rpath $(libdir) $(libxml2_la_LDFLAGS) $(libxml2_la_OBJECTS) $(libxml2_la_LIBADD) $(LIBS)
481
482 mostlyclean-binPROGRAMS:
483
484 clean-binPROGRAMS:
485         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
486
487 distclean-binPROGRAMS:
488
489 maintainer-clean-binPROGRAMS:
490
491 install-binPROGRAMS: $(bin_PROGRAMS)
492         @$(NORMAL_INSTALL)
493         $(mkinstalldirs) $(DESTDIR)$(bindir)
494         @list='$(bin_PROGRAMS)'; for p in $$list; do \
495           if test -f $$p; then \
496             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
497             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
498           else :; fi; \
499         done
500
501 uninstall-binPROGRAMS:
502         @$(NORMAL_UNINSTALL)
503         list='$(bin_PROGRAMS)'; for p in $$list; do \
504           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
505         done
506
507 mostlyclean-noinstPROGRAMS:
508
509 clean-noinstPROGRAMS:
510         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
511
512 distclean-noinstPROGRAMS:
513
514 maintainer-clean-noinstPROGRAMS:
515
516 xmllint$(EXEEXT): $(xmllint_OBJECTS) $(xmllint_DEPENDENCIES)
517         @rm -f xmllint$(EXEEXT)
518         $(LINK) $(xmllint_LDFLAGS) $(xmllint_OBJECTS) $(xmllint_LDADD) $(LIBS)
519
520 xmlcatalog$(EXEEXT): $(xmlcatalog_OBJECTS) $(xmlcatalog_DEPENDENCIES)
521         @rm -f xmlcatalog$(EXEEXT)
522         $(LINK) $(xmlcatalog_LDFLAGS) $(xmlcatalog_OBJECTS) $(xmlcatalog_LDADD) $(LIBS)
523
524 testSchemas$(EXEEXT): $(testSchemas_OBJECTS) $(testSchemas_DEPENDENCIES)
525         @rm -f testSchemas$(EXEEXT)
526         $(LINK) $(testSchemas_LDFLAGS) $(testSchemas_OBJECTS) $(testSchemas_LDADD) $(LIBS)
527
528 testRelax$(EXEEXT): $(testRelax_OBJECTS) $(testRelax_DEPENDENCIES)
529         @rm -f testRelax$(EXEEXT)
530         $(LINK) $(testRelax_LDFLAGS) $(testRelax_OBJECTS) $(testRelax_LDADD) $(LIBS)
531
532 testSAX$(EXEEXT): $(testSAX_OBJECTS) $(testSAX_DEPENDENCIES)
533         @rm -f testSAX$(EXEEXT)
534         $(LINK) $(testSAX_LDFLAGS) $(testSAX_OBJECTS) $(testSAX_LDADD) $(LIBS)
535
536 testHTML$(EXEEXT): $(testHTML_OBJECTS) $(testHTML_DEPENDENCIES)
537         @rm -f testHTML$(EXEEXT)
538         $(LINK) $(testHTML_LDFLAGS) $(testHTML_OBJECTS) $(testHTML_LDADD) $(LIBS)
539
540 testXPath$(EXEEXT): $(testXPath_OBJECTS) $(testXPath_DEPENDENCIES)
541         @rm -f testXPath$(EXEEXT)
542         $(LINK) $(testXPath_LDFLAGS) $(testXPath_OBJECTS) $(testXPath_LDADD) $(LIBS)
543
544 testURI$(EXEEXT): $(testURI_OBJECTS) $(testURI_DEPENDENCIES)
545         @rm -f testURI$(EXEEXT)
546         $(LINK) $(testURI_LDFLAGS) $(testURI_OBJECTS) $(testURI_LDADD) $(LIBS)
547
548 testDocbook$(EXEEXT): $(testDocbook_OBJECTS) $(testDocbook_DEPENDENCIES)
549         @rm -f testDocbook$(EXEEXT)
550         $(LINK) $(testDocbook_LDFLAGS) $(testDocbook_OBJECTS) $(testDocbook_LDADD) $(LIBS)
551
552 testThreads$(EXEEXT): $(testThreads_OBJECTS) $(testThreads_DEPENDENCIES)
553         @rm -f testThreads$(EXEEXT)
554         $(LINK) $(testThreads_LDFLAGS) $(testThreads_OBJECTS) $(testThreads_LDADD) $(LIBS)
555
556 testC14N$(EXEEXT): $(testC14N_OBJECTS) $(testC14N_DEPENDENCIES)
557         @rm -f testC14N$(EXEEXT)
558         $(LINK) $(testC14N_LDFLAGS) $(testC14N_OBJECTS) $(testC14N_LDADD) $(LIBS)
559
560 testAutomata$(EXEEXT): $(testAutomata_OBJECTS) $(testAutomata_DEPENDENCIES)
561         @rm -f testAutomata$(EXEEXT)
562         $(LINK) $(testAutomata_LDFLAGS) $(testAutomata_OBJECTS) $(testAutomata_LDADD) $(LIBS)
563
564 testRegexp$(EXEEXT): $(testRegexp_OBJECTS) $(testRegexp_DEPENDENCIES)
565         @rm -f testRegexp$(EXEEXT)
566         $(LINK) $(testRegexp_LDFLAGS) $(testRegexp_OBJECTS) $(testRegexp_LDADD) $(LIBS)
567
568 testReader$(EXEEXT): $(testReader_OBJECTS) $(testReader_DEPENDENCIES)
569         @rm -f testReader$(EXEEXT)
570         $(LINK) $(testReader_LDFLAGS) $(testReader_OBJECTS) $(testReader_LDADD) $(LIBS)
571
572 install-binSCRIPTS: $(bin_SCRIPTS)
573         @$(NORMAL_INSTALL)
574         $(mkinstalldirs) $(DESTDIR)$(bindir)
575         @list='$(bin_SCRIPTS)'; for p in $$list; do \
576           if test -f $$p; then \
577             echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
578             $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
579           else if test -f $(srcdir)/$$p; then \
580             echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
581             $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
582           else :; fi; fi; \
583         done
584
585 uninstall-binSCRIPTS:
586         @$(NORMAL_UNINSTALL)
587         list='$(bin_SCRIPTS)'; for p in $$list; do \
588           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
589         done
590
591 install-man1:
592         $(mkinstalldirs) $(DESTDIR)$(man1dir)
593         @list='$(man1_MANS)'; \
594         l2='$(man_MANS)'; for i in $$l2; do \
595           case "$$i" in \
596             *.1*) list="$$list $$i" ;; \
597           esac; \
598         done; \
599         for i in $$list; do \
600           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
601           else file=$$i; fi; \
602           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
603           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
604           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
605           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
606           $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
607         done
608
609 uninstall-man1:
610         @list='$(man1_MANS)'; \
611         l2='$(man_MANS)'; for i in $$l2; do \
612           case "$$i" in \
613             *.1*) list="$$list $$i" ;; \
614           esac; \
615         done; \
616         for i in $$list; do \
617           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
618           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
619           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
620           echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
621           rm -f $(DESTDIR)$(man1dir)/$$inst; \
622         done
623
624 install-man3:
625         $(mkinstalldirs) $(DESTDIR)$(man3dir)
626         @list='$(man3_MANS)'; \
627         l2='$(man_MANS)'; for i in $$l2; do \
628           case "$$i" in \
629             *.3*) list="$$list $$i" ;; \
630           esac; \
631         done; \
632         for i in $$list; do \
633           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
634           else file=$$i; fi; \
635           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
636           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
637           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
638           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
639           $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
640         done
641
642 uninstall-man3:
643         @list='$(man3_MANS)'; \
644         l2='$(man_MANS)'; for i in $$l2; do \
645           case "$$i" in \
646             *.3*) list="$$list $$i" ;; \
647           esac; \
648         done; \
649         for i in $$list; do \
650           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
651           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
652           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
653           echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
654           rm -f $(DESTDIR)$(man3dir)/$$inst; \
655         done
656 install-man: $(MANS)
657         @$(NORMAL_INSTALL)
658         $(MAKE) $(AM_MAKEFLAGS) install-man1 install-man3
659 uninstall-man:
660         @$(NORMAL_UNINSTALL)
661         $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man3
662
663 install-confexecDATA: $(confexec_DATA)
664         @$(NORMAL_INSTALL)
665         $(mkinstalldirs) $(DESTDIR)$(confexecdir)
666         @list='$(confexec_DATA)'; for p in $$list; do \
667           if test -f $(srcdir)/$$p; then \
668             echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(confexecdir)/$$p"; \
669             $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(confexecdir)/$$p; \
670           else if test -f $$p; then \
671             echo " $(INSTALL_DATA) $$p $(DESTDIR)$(confexecdir)/$$p"; \
672             $(INSTALL_DATA) $$p $(DESTDIR)$(confexecdir)/$$p; \
673           fi; fi; \
674         done
675
676 uninstall-confexecDATA:
677         @$(NORMAL_UNINSTALL)
678         list='$(confexec_DATA)'; for p in $$list; do \
679           rm -f $(DESTDIR)$(confexecdir)/$$p; \
680         done
681
682 install-m4dataDATA: $(m4data_DATA)
683         @$(NORMAL_INSTALL)
684         $(mkinstalldirs) $(DESTDIR)$(m4datadir)
685         @list='$(m4data_DATA)'; for p in $$list; do \
686           if test -f $(srcdir)/$$p; then \
687             echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(m4datadir)/$$p"; \
688             $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(m4datadir)/$$p; \
689           else if test -f $$p; then \
690             echo " $(INSTALL_DATA) $$p $(DESTDIR)$(m4datadir)/$$p"; \
691             $(INSTALL_DATA) $$p $(DESTDIR)$(m4datadir)/$$p; \
692           fi; fi; \
693         done
694
695 uninstall-m4dataDATA:
696         @$(NORMAL_UNINSTALL)
697         list='$(m4data_DATA)'; for p in $$list; do \
698           rm -f $(DESTDIR)$(m4datadir)/$$p; \
699         done
700
701 install-pkgconfigDATA: $(pkgconfig_DATA)
702         @$(NORMAL_INSTALL)
703         $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
704         @list='$(pkgconfig_DATA)'; for p in $$list; do \
705           if test -f $(srcdir)/$$p; then \
706             echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
707             $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p; \
708           else if test -f $$p; then \
709             echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
710             $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p; \
711           fi; fi; \
712         done
713
714 uninstall-pkgconfigDATA:
715         @$(NORMAL_UNINSTALL)
716         list='$(pkgconfig_DATA)'; for p in $$list; do \
717           rm -f $(DESTDIR)$(pkgconfigdir)/$$p; \
718         done
719
720 # This directory's subdirectories are mostly independent; you can cd
721 # into them and run `make' without going through this Makefile.
722 # To change the values of `make' variables: instead of editing Makefiles,
723 # (1) if the variable is set in `config.status', edit `config.status'
724 #     (which will cause the Makefiles to be regenerated when you run `make');
725 # (2) otherwise, pass the desired values on the `make' command line.
726
727 @SET_MAKE@
728
729 all-recursive install-data-recursive install-exec-recursive \
730 installdirs-recursive install-recursive uninstall-recursive  \
731 check-recursive installcheck-recursive info-recursive dvi-recursive:
732         @set fnord $(MAKEFLAGS); amf=$$2; \
733         dot_seen=no; \
734         target=`echo $@ | sed s/-recursive//`; \
735         list='$(SUBDIRS)'; for subdir in $$list; do \
736           echo "Making $$target in $$subdir"; \
737           if test "$$subdir" = "."; then \
738             dot_seen=yes; \
739             local_target="$$target-am"; \
740           else \
741             local_target="$$target"; \
742           fi; \
743           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
744            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
745         done; \
746         if test "$$dot_seen" = "no"; then \
747           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
748         fi; test -z "$$fail"
749
750 mostlyclean-recursive clean-recursive distclean-recursive \
751 maintainer-clean-recursive:
752         @set fnord $(MAKEFLAGS); amf=$$2; \
753         dot_seen=no; \
754         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
755           rev="$$subdir $$rev"; \
756           test "$$subdir" != "." || dot_seen=yes; \
757         done; \
758         test "$$dot_seen" = "no" && rev=". $$rev"; \
759         target=`echo $@ | sed s/-recursive//`; \
760         for subdir in $$rev; do \
761           echo "Making $$target in $$subdir"; \
762           if test "$$subdir" = "."; then \
763             local_target="$$target-am"; \
764           else \
765             local_target="$$target"; \
766           fi; \
767           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
768            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
769         done && test -z "$$fail"
770 tags-recursive:
771         list='$(SUBDIRS)'; for subdir in $$list; do \
772           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
773         done
774
775 tags: TAGS
776
777 ID: $(HEADERS) $(SOURCES) $(LISP)
778         list='$(SOURCES) $(HEADERS)'; \
779         unique=`for i in $$list; do echo $$i; done | \
780           awk '    { files[$$0] = 1; } \
781                END { for (i in files) print i; }'`; \
782         here=`pwd` && cd $(srcdir) \
783           && mkid -f$$here/ID $$unique $(LISP)
784
785 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
786         tags=; \
787         here=`pwd`; \
788         list='$(SUBDIRS)'; for subdir in $$list; do \
789    if test "$$subdir" = .; then :; else \
790             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
791    fi; \
792         done; \
793         list='$(SOURCES) $(HEADERS)'; \
794         unique=`for i in $$list; do echo $$i; done | \
795           awk '    { files[$$0] = 1; } \
796                END { for (i in files) print i; }'`; \
797         test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
798           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
799
800 mostlyclean-tags:
801
802 clean-tags:
803
804 distclean-tags:
805         -rm -f TAGS ID
806
807 maintainer-clean-tags:
808
809 distdir = $(PACKAGE)-$(VERSION)
810 top_distdir = $(distdir)
811
812 # This target untars the dist file and tries a VPATH configuration.  Then
813 # it guarantees that the distribution is self-contained by making another
814 # tarfile.
815 distcheck: dist
816         -rm -rf $(distdir)
817         GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
818         mkdir $(distdir)/=build
819         mkdir $(distdir)/=inst
820         dc_install_base=`cd $(distdir)/=inst && pwd`; \
821         cd $(distdir)/=build \
822           && ../configure --srcdir=.. --prefix=$$dc_install_base \
823           && $(MAKE) $(AM_MAKEFLAGS) \
824           && $(MAKE) $(AM_MAKEFLAGS) dvi \
825           && $(MAKE) $(AM_MAKEFLAGS) check \
826           && $(MAKE) $(AM_MAKEFLAGS) install \
827           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
828           && $(MAKE) $(AM_MAKEFLAGS) dist
829         -rm -rf $(distdir)
830         @banner="$(distdir).tar.gz is ready for distribution"; \
831         dashes=`echo "$$banner" | sed s/./=/g`; \
832         echo "$$dashes"; \
833         echo "$$banner"; \
834         echo "$$dashes"
835 dist: distdir
836         -chmod -R a+r $(distdir)
837         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
838         -rm -rf $(distdir)
839 dist-all: distdir
840         -chmod -R a+r $(distdir)
841         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
842         -rm -rf $(distdir)
843 distdir: $(DISTFILES)
844         -rm -rf $(distdir)
845         mkdir $(distdir)
846         -chmod 777 $(distdir)
847         $(mkinstalldirs) $(distdir)/example
848         @for file in $(DISTFILES); do \
849           d=$(srcdir); \
850           if test -d $$d/$$file; then \
851             cp -pr $$d/$$file $(distdir)/$$file; \
852           else \
853             test -f $(distdir)/$$file \
854             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
855             || cp -p $$d/$$file $(distdir)/$$file || :; \
856           fi; \
857         done
858         for subdir in $(DIST_SUBDIRS); do \
859           if test "$$subdir" = .; then :; else \
860             test -d $(distdir)/$$subdir \
861             || mkdir $(distdir)/$$subdir \
862             || exit 1; \
863             chmod 777 $(distdir)/$$subdir; \
864             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
865               || exit 1; \
866           fi; \
867         done
868         $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
869 c14n.lo c14n.o : c14n.c libxml.h config.h include/libxml/xmlversion.h \
870         include/libxml/tree.h include/libxml/xmlregexp.h \
871         include/libxml/xmlmemory.h include/libxml/threads.h \
872         include/libxml/globals.h include/libxml/parser.h \
873         include/libxml/valid.h include/libxml/list.h \
874         include/libxml/xmlautomata.h include/libxml/entities.h \
875         include/libxml/encoding.h include/libxml/xmlIO.h \
876         include/libxml/xmlerror.h include/libxml/SAX.h \
877         include/libxml/xlink.h include/libxml/uri.h \
878         include/libxml/xpathInternals.h include/libxml/xpath.h \
879         include/libxml/hash.h include/libxml/c14n.h
880 catalog.lo catalog.o : catalog.c libxml.h config.h \
881         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
882         include/libxml/threads.h include/libxml/globals.h \
883         include/libxml/parser.h include/libxml/tree.h \
884         include/libxml/xmlregexp.h include/libxml/valid.h \
885         include/libxml/list.h include/libxml/xmlautomata.h \
886         include/libxml/entities.h include/libxml/encoding.h \
887         include/libxml/xmlIO.h include/libxml/xmlerror.h \
888         include/libxml/SAX.h include/libxml/xlink.h \
889         include/libxml/hash.h include/libxml/uri.h \
890         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
891         include/libxml/catalog.h
892 debugXML.lo debugXML.o : debugXML.c libxml.h config.h \
893         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
894         include/libxml/threads.h include/libxml/globals.h \
895         include/libxml/parser.h include/libxml/tree.h \
896         include/libxml/xmlregexp.h include/libxml/valid.h \
897         include/libxml/list.h include/libxml/xmlautomata.h \
898         include/libxml/entities.h include/libxml/encoding.h \
899         include/libxml/xmlIO.h include/libxml/xmlerror.h \
900         include/libxml/SAX.h include/libxml/xlink.h \
901         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
902         include/libxml/debugXML.h include/libxml/xpath.h \
903         include/libxml/hash.h include/libxml/HTMLtree.h \
904         include/libxml/xpathInternals.h
905 DOCBparser.lo DOCBparser.o : DOCBparser.c libxml.h config.h \
906         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
907         include/libxml/threads.h include/libxml/globals.h \
908         include/libxml/parser.h include/libxml/tree.h \
909         include/libxml/xmlregexp.h include/libxml/valid.h \
910         include/libxml/list.h include/libxml/xmlautomata.h \
911         include/libxml/entities.h include/libxml/encoding.h \
912         include/libxml/xmlIO.h include/libxml/xmlerror.h \
913         include/libxml/SAX.h include/libxml/xlink.h \
914         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
915         include/libxml/DOCBparser.h include/libxml/uri.h
916 encoding.lo encoding.o : encoding.c libxml.h config.h \
917         include/libxml/xmlversion.h include/libxml/encoding.h \
918         include/libxml/tree.h include/libxml/xmlregexp.h \
919         include/libxml/xmlmemory.h include/libxml/threads.h \
920         include/libxml/globals.h include/libxml/parser.h \
921         include/libxml/valid.h include/libxml/list.h \
922         include/libxml/xmlautomata.h include/libxml/entities.h \
923         include/libxml/xmlIO.h include/libxml/xmlerror.h \
924         include/libxml/SAX.h include/libxml/xlink.h \
925         include/libxml/HTMLparser.h
926 entities.lo entities.o : entities.c libxml.h config.h \
927         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
928         include/libxml/threads.h include/libxml/globals.h \
929         include/libxml/parser.h include/libxml/tree.h \
930         include/libxml/xmlregexp.h include/libxml/valid.h \
931         include/libxml/list.h include/libxml/xmlautomata.h \
932         include/libxml/entities.h include/libxml/encoding.h \
933         include/libxml/xmlIO.h include/libxml/xmlerror.h \
934         include/libxml/SAX.h include/libxml/xlink.h \
935         include/libxml/hash.h
936 error.lo error.o : error.c libxml.h config.h include/libxml/xmlversion.h \
937         include/libxml/parser.h include/libxml/tree.h \
938         include/libxml/xmlregexp.h include/libxml/valid.h \
939         include/libxml/list.h include/libxml/xmlautomata.h \
940         include/libxml/entities.h include/libxml/encoding.h \
941         include/libxml/xmlIO.h include/libxml/globals.h \
942         include/libxml/xmlerror.h include/libxml/SAX.h \
943         include/libxml/xlink.h include/libxml/xmlmemory.h \
944         include/libxml/threads.h
945 globals.lo globals.o : globals.c libxml.h config.h \
946         include/libxml/xmlversion.h include/libxml/globals.h \
947         include/libxml/parser.h include/libxml/tree.h \
948         include/libxml/xmlregexp.h include/libxml/valid.h \
949         include/libxml/list.h include/libxml/xmlautomata.h \
950         include/libxml/entities.h include/libxml/encoding.h \
951         include/libxml/xmlIO.h include/libxml/xmlerror.h \
952         include/libxml/SAX.h include/libxml/xlink.h \
953         include/libxml/xmlmemory.h include/libxml/threads.h
954 hash.lo hash.o : hash.c libxml.h config.h include/libxml/xmlversion.h \
955         include/libxml/hash.h include/libxml/parser.h \
956         include/libxml/tree.h include/libxml/xmlregexp.h \
957         include/libxml/valid.h include/libxml/list.h \
958         include/libxml/xmlautomata.h include/libxml/entities.h \
959         include/libxml/encoding.h include/libxml/xmlIO.h \
960         include/libxml/globals.h include/libxml/xmlerror.h \
961         include/libxml/SAX.h include/libxml/xlink.h \
962         include/libxml/xmlmemory.h include/libxml/threads.h
963 HTMLparser.lo HTMLparser.o : HTMLparser.c libxml.h config.h \
964         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
965         include/libxml/threads.h include/libxml/globals.h \
966         include/libxml/parser.h include/libxml/tree.h \
967         include/libxml/xmlregexp.h include/libxml/valid.h \
968         include/libxml/list.h include/libxml/xmlautomata.h \
969         include/libxml/entities.h include/libxml/encoding.h \
970         include/libxml/xmlIO.h include/libxml/xmlerror.h \
971         include/libxml/SAX.h include/libxml/xlink.h \
972         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
973         include/libxml/HTMLtree.h include/libxml/uri.h
974 HTMLtree.lo HTMLtree.o : HTMLtree.c libxml.h config.h \
975         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
976         include/libxml/threads.h include/libxml/globals.h \
977         include/libxml/parser.h include/libxml/tree.h \
978         include/libxml/xmlregexp.h include/libxml/valid.h \
979         include/libxml/list.h include/libxml/xmlautomata.h \
980         include/libxml/entities.h include/libxml/encoding.h \
981         include/libxml/xmlIO.h include/libxml/xmlerror.h \
982         include/libxml/SAX.h include/libxml/xlink.h \
983         include/libxml/HTMLparser.h include/libxml/HTMLtree.h \
984         include/libxml/parserInternals.h include/libxml/uri.h
985 list.lo list.o : list.c libxml.h config.h include/libxml/xmlversion.h \
986         include/libxml/xmlmemory.h include/libxml/threads.h \
987         include/libxml/globals.h include/libxml/parser.h \
988         include/libxml/tree.h include/libxml/xmlregexp.h \
989         include/libxml/valid.h include/libxml/list.h \
990         include/libxml/xmlautomata.h include/libxml/entities.h \
991         include/libxml/encoding.h include/libxml/xmlIO.h \
992         include/libxml/xmlerror.h include/libxml/SAX.h \
993         include/libxml/xlink.h
994 nanoftp.lo nanoftp.o : nanoftp.c libxml.h config.h \
995         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
996         include/libxml/threads.h include/libxml/globals.h \
997         include/libxml/parser.h include/libxml/tree.h \
998         include/libxml/xmlregexp.h include/libxml/valid.h \
999         include/libxml/list.h include/libxml/xmlautomata.h \
1000         include/libxml/entities.h include/libxml/encoding.h \
1001         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1002         include/libxml/SAX.h include/libxml/xlink.h \
1003         include/libxml/uri.h include/libxml/nanoftp.h
1004 nanohttp.lo nanohttp.o : nanohttp.c libxml.h config.h \
1005         include/libxml/xmlversion.h include/libxml/globals.h \
1006         include/libxml/parser.h include/libxml/tree.h \
1007         include/libxml/xmlregexp.h include/libxml/valid.h \
1008         include/libxml/list.h include/libxml/xmlautomata.h \
1009         include/libxml/entities.h include/libxml/encoding.h \
1010         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1011         include/libxml/SAX.h include/libxml/xlink.h \
1012         include/libxml/xmlmemory.h include/libxml/threads.h \
1013         include/libxml/nanohttp.h include/libxml/uri.h
1014 parser.lo parser.o : parser.c libxml.h config.h \
1015         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1016         include/libxml/threads.h include/libxml/globals.h \
1017         include/libxml/parser.h include/libxml/tree.h \
1018         include/libxml/xmlregexp.h include/libxml/valid.h \
1019         include/libxml/list.h include/libxml/xmlautomata.h \
1020         include/libxml/entities.h include/libxml/encoding.h \
1021         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1022         include/libxml/SAX.h include/libxml/xlink.h \
1023         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1024         include/libxml/uri.h include/libxml/catalog.h \
1025         include/libxml/xpath.h include/libxml/hash.h
1026 parserInternals.lo parserInternals.o : parserInternals.c libxml.h \
1027         config.h include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1028         include/libxml/threads.h include/libxml/globals.h \
1029         include/libxml/parser.h include/libxml/tree.h \
1030         include/libxml/xmlregexp.h include/libxml/valid.h \
1031         include/libxml/list.h include/libxml/xmlautomata.h \
1032         include/libxml/entities.h include/libxml/encoding.h \
1033         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1034         include/libxml/SAX.h include/libxml/xlink.h \
1035         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1036         include/libxml/uri.h include/libxml/catalog.h
1037 regexp.lo regexp.o : regexp.c libxml.h config.h \
1038         include/libxml/xmlversion.h include/libxml/tree.h \
1039         include/libxml/xmlmemory.h include/libxml/threads.h \
1040         include/libxml/globals.h include/libxml/parser.h \
1041         include/libxml/valid.h include/libxml/list.h \
1042         include/libxml/entities.h include/libxml/encoding.h \
1043         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1044         include/libxml/SAX.h include/libxml/xlink.h \
1045         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1046         include/libxml/regexp.h include/libxml/automata.h \
1047         include/libxml/unicode.h
1048 relaxng.lo relaxng.o : relaxng.c libxml.h config.h \
1049         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1050         include/libxml/threads.h include/libxml/globals.h \
1051         include/libxml/parser.h include/libxml/tree.h \
1052         include/libxml/xmlregexp.h include/libxml/valid.h \
1053         include/libxml/list.h include/libxml/xmlautomata.h \
1054         include/libxml/entities.h include/libxml/encoding.h \
1055         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1056         include/libxml/SAX.h include/libxml/xlink.h \
1057         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1058         include/libxml/hash.h include/libxml/uri.h \
1059         include/libxml/relaxng.h include/libxml/xmlschemastypes.h \
1060         include/libxml/schemasInternals.h
1061 SAX.lo SAX.o : SAX.c libxml.h config.h include/libxml/xmlversion.h \
1062         include/libxml/xmlmemory.h include/libxml/threads.h \
1063         include/libxml/globals.h include/libxml/parser.h \
1064         include/libxml/tree.h include/libxml/xmlregexp.h \
1065         include/libxml/valid.h include/libxml/list.h \
1066         include/libxml/xmlautomata.h include/libxml/entities.h \
1067         include/libxml/encoding.h include/libxml/xmlIO.h \
1068         include/libxml/xmlerror.h include/libxml/SAX.h \
1069         include/libxml/xlink.h include/libxml/parserInternals.h \
1070         include/libxml/HTMLparser.h include/libxml/debugXML.h \
1071         include/libxml/xpath.h include/libxml/hash.h \
1072         include/libxml/uri.h include/libxml/HTMLtree.h
1073 schemas.lo schemas.o : schemas.c libxml.h config.h \
1074         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1075         include/libxml/threads.h include/libxml/globals.h \
1076         include/libxml/parser.h include/libxml/tree.h \
1077         include/libxml/valid.h include/libxml/list.h \
1078         include/libxml/entities.h include/libxml/encoding.h \
1079         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1080         include/libxml/SAX.h include/libxml/xlink.h \
1081         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1082         include/libxml/hash.h include/libxml/schemas.h \
1083         include/libxml/schemasInternals.h include/libxml/regexp.h \
1084         include/libxml/schemastypes.h include/libxml/automata.h
1085 schemastypes.lo schemastypes.o : schemastypes.c libxml.h config.h \
1086         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1087         include/libxml/threads.h include/libxml/globals.h \
1088         include/libxml/parser.h include/libxml/tree.h \
1089         include/libxml/valid.h include/libxml/list.h \
1090         include/libxml/entities.h include/libxml/encoding.h \
1091         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1092         include/libxml/SAX.h include/libxml/xlink.h \
1093         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1094         include/libxml/hash.h include/libxml/schemas.h \
1095         include/libxml/schemasInternals.h include/libxml/regexp.h \
1096         include/libxml/schemastypes.h
1097 testAutomata.o: testAutomata.c libxml.h config.h \
1098         include/libxml/xmlversion.h include/libxml/tree.h \
1099         include/libxml/xmlregexp.h include/libxml/xmlmemory.h \
1100         include/libxml/threads.h include/libxml/globals.h \
1101         include/libxml/parser.h include/libxml/valid.h \
1102         include/libxml/list.h include/libxml/xmlautomata.h \
1103         include/libxml/entities.h include/libxml/encoding.h \
1104         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1105         include/libxml/SAX.h include/libxml/xlink.h
1106 testC14N.o: testC14N.c libxml.h config.h include/libxml/xmlversion.h \
1107         include/libxml/xmlmemory.h include/libxml/threads.h \
1108         include/libxml/globals.h include/libxml/parser.h \
1109         include/libxml/tree.h include/libxml/xmlregexp.h \
1110         include/libxml/valid.h include/libxml/list.h \
1111         include/libxml/xmlautomata.h include/libxml/entities.h \
1112         include/libxml/encoding.h include/libxml/xmlIO.h \
1113         include/libxml/xmlerror.h include/libxml/SAX.h \
1114         include/libxml/xlink.h include/libxml/xpath.h \
1115         include/libxml/hash.h include/libxml/xpathInternals.h \
1116         include/libxml/c14n.h
1117 testDocbook.o: testDocbook.c libxml.h config.h \
1118         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1119         include/libxml/threads.h include/libxml/globals.h \
1120         include/libxml/parser.h include/libxml/tree.h \
1121         include/libxml/xmlregexp.h include/libxml/valid.h \
1122         include/libxml/list.h include/libxml/xmlautomata.h \
1123         include/libxml/entities.h include/libxml/encoding.h \
1124         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1125         include/libxml/SAX.h include/libxml/xlink.h \
1126         include/libxml/DOCBparser.h include/libxml/debugXML.h \
1127         include/libxml/xpath.h include/libxml/hash.h
1128 testHTML.o: testHTML.c libxml.h config.h include/libxml/xmlversion.h \
1129         include/libxml/xmlmemory.h include/libxml/threads.h \
1130         include/libxml/globals.h include/libxml/parser.h \
1131         include/libxml/tree.h include/libxml/xmlregexp.h \
1132         include/libxml/valid.h include/libxml/list.h \
1133         include/libxml/xmlautomata.h include/libxml/entities.h \
1134         include/libxml/encoding.h include/libxml/xmlIO.h \
1135         include/libxml/xmlerror.h include/libxml/SAX.h \
1136         include/libxml/xlink.h include/libxml/HTMLparser.h \
1137         include/libxml/HTMLtree.h include/libxml/debugXML.h \
1138         include/libxml/xpath.h include/libxml/hash.h
1139 testReader.o: testReader.c libxml.h config.h include/libxml/xmlversion.h \
1140         include/libxml/xmlreader.h include/libxml/tree.h \
1141         include/libxml/xmlregexp.h include/libxml/xmlmemory.h \
1142         include/libxml/threads.h include/libxml/globals.h \
1143         include/libxml/parser.h include/libxml/valid.h \
1144         include/libxml/list.h include/libxml/xmlautomata.h \
1145         include/libxml/entities.h include/libxml/encoding.h \
1146         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1147         include/libxml/SAX.h include/libxml/xlink.h
1148 testRegexp.o: testRegexp.c libxml.h config.h include/libxml/xmlversion.h \
1149         include/libxml/tree.h include/libxml/xmlregexp.h \
1150         include/libxml/xmlmemory.h include/libxml/threads.h \
1151         include/libxml/globals.h include/libxml/parser.h \
1152         include/libxml/valid.h include/libxml/list.h \
1153         include/libxml/xmlautomata.h include/libxml/entities.h \
1154         include/libxml/encoding.h include/libxml/xmlIO.h \
1155         include/libxml/xmlerror.h include/libxml/SAX.h \
1156         include/libxml/xlink.h
1157 testRelax.o: testRelax.c libxml.h config.h include/libxml/xmlversion.h \
1158         include/libxml/parser.h include/libxml/tree.h \
1159         include/libxml/xmlregexp.h include/libxml/valid.h \
1160         include/libxml/list.h include/libxml/xmlautomata.h \
1161         include/libxml/entities.h include/libxml/encoding.h \
1162         include/libxml/xmlIO.h include/libxml/globals.h \
1163         include/libxml/xmlerror.h include/libxml/SAX.h \
1164         include/libxml/xlink.h include/libxml/xmlmemory.h \
1165         include/libxml/threads.h include/libxml/debugXML.h \
1166         include/libxml/xpath.h include/libxml/hash.h \
1167         include/libxml/relaxng.h
1168 testSAX.o: testSAX.c libxml.h config.h include/libxml/xmlversion.h \
1169         include/libxml/globals.h include/libxml/parser.h \
1170         include/libxml/tree.h include/libxml/xmlregexp.h \
1171         include/libxml/valid.h include/libxml/list.h \
1172         include/libxml/xmlautomata.h include/libxml/entities.h \
1173         include/libxml/encoding.h include/libxml/xmlIO.h \
1174         include/libxml/xmlerror.h include/libxml/SAX.h \
1175         include/libxml/xlink.h include/libxml/xmlmemory.h \
1176         include/libxml/threads.h include/libxml/parserInternals.h \
1177         include/libxml/HTMLparser.h include/libxml/debugXML.h \
1178         include/libxml/xpath.h include/libxml/hash.h
1179 testSchemas.o: testSchemas.c libxml.h config.h \
1180         include/libxml/xmlversion.h include/libxml/parser.h \
1181         include/libxml/tree.h include/libxml/xmlregexp.h \
1182         include/libxml/valid.h include/libxml/list.h \
1183         include/libxml/xmlautomata.h include/libxml/entities.h \
1184         include/libxml/encoding.h include/libxml/xmlIO.h \
1185         include/libxml/globals.h include/libxml/xmlerror.h \
1186         include/libxml/SAX.h include/libxml/xlink.h \
1187         include/libxml/xmlmemory.h include/libxml/threads.h \
1188         include/libxml/debugXML.h include/libxml/xpath.h \
1189         include/libxml/hash.h include/libxml/xmlschemas.h \
1190         include/libxml/xmlschemastypes.h \
1191         include/libxml/schemasInternals.h
1192 testThreads.o: testThreads.c libxml.h config.h \
1193         include/libxml/xmlversion.h
1194 testURI.o: testURI.c libxml.h config.h include/libxml/xmlversion.h \
1195         include/libxml/xmlmemory.h include/libxml/threads.h \
1196         include/libxml/globals.h include/libxml/parser.h \
1197         include/libxml/tree.h include/libxml/xmlregexp.h \
1198         include/libxml/valid.h include/libxml/list.h \
1199         include/libxml/xmlautomata.h include/libxml/entities.h \
1200         include/libxml/encoding.h include/libxml/xmlIO.h \
1201         include/libxml/xmlerror.h include/libxml/SAX.h \
1202         include/libxml/xlink.h include/libxml/uri.h
1203 testXPath.o: testXPath.c libxml.h config.h include/libxml/xmlversion.h \
1204         include/libxml/xpath.h include/libxml/tree.h \
1205         include/libxml/xmlregexp.h include/libxml/xmlmemory.h \
1206         include/libxml/threads.h include/libxml/globals.h \
1207         include/libxml/parser.h include/libxml/valid.h \
1208         include/libxml/list.h include/libxml/xmlautomata.h \
1209         include/libxml/entities.h include/libxml/encoding.h \
1210         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1211         include/libxml/SAX.h include/libxml/xlink.h \
1212         include/libxml/hash.h include/libxml/debugXML.h \
1213         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1214         include/libxml/xpathInternals.h include/libxml/xpointer.h
1215 threads.lo threads.o : threads.c libxml.h config.h \
1216         include/libxml/xmlversion.h include/libxml/threads.h \
1217         include/libxml/globals.h include/libxml/parser.h \
1218         include/libxml/tree.h include/libxml/xmlregexp.h \
1219         include/libxml/valid.h include/libxml/list.h \
1220         include/libxml/xmlautomata.h include/libxml/entities.h \
1221         include/libxml/encoding.h include/libxml/xmlIO.h \
1222         include/libxml/xmlerror.h include/libxml/SAX.h \
1223         include/libxml/xlink.h include/libxml/xmlmemory.h
1224 tree.lo tree.o : tree.c libxml.h config.h include/libxml/xmlversion.h \
1225         include/libxml/xmlmemory.h include/libxml/threads.h \
1226         include/libxml/globals.h include/libxml/parser.h \
1227         include/libxml/tree.h include/libxml/xmlregexp.h \
1228         include/libxml/valid.h include/libxml/list.h \
1229         include/libxml/xmlautomata.h include/libxml/entities.h \
1230         include/libxml/encoding.h include/libxml/xmlIO.h \
1231         include/libxml/xmlerror.h include/libxml/SAX.h \
1232         include/libxml/xlink.h include/libxml/uri.h \
1233         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1234         include/libxml/HTMLtree.h include/libxml/hash.h
1235 unicode.lo unicode.o : unicode.c libxml.h config.h \
1236         include/libxml/xmlversion.h unicode.h
1237 uri.lo uri.o : uri.c libxml.h config.h include/libxml/xmlversion.h \
1238         include/libxml/xmlmemory.h include/libxml/threads.h \
1239         include/libxml/globals.h include/libxml/parser.h \
1240         include/libxml/tree.h include/libxml/xmlregexp.h \
1241         include/libxml/valid.h include/libxml/list.h \
1242         include/libxml/xmlautomata.h include/libxml/entities.h \
1243         include/libxml/encoding.h include/libxml/xmlIO.h \
1244         include/libxml/xmlerror.h include/libxml/SAX.h \
1245         include/libxml/xlink.h include/libxml/uri.h
1246 valid.lo valid.o : valid.c libxml.h config.h include/libxml/xmlversion.h \
1247         include/libxml/xmlmemory.h include/libxml/threads.h \
1248         include/libxml/globals.h include/libxml/parser.h \
1249         include/libxml/tree.h include/libxml/xmlregexp.h \
1250         include/libxml/valid.h include/libxml/list.h \
1251         include/libxml/xmlautomata.h include/libxml/entities.h \
1252         include/libxml/encoding.h include/libxml/xmlIO.h \
1253         include/libxml/xmlerror.h include/libxml/SAX.h \
1254         include/libxml/xlink.h include/libxml/hash.h \
1255         include/libxml/parserInternals.h include/libxml/HTMLparser.h
1256 xinclude.lo xinclude.o : xinclude.c libxml.h config.h \
1257         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1258         include/libxml/threads.h include/libxml/globals.h \
1259         include/libxml/parser.h include/libxml/tree.h \
1260         include/libxml/xmlregexp.h include/libxml/valid.h \
1261         include/libxml/list.h include/libxml/xmlautomata.h \
1262         include/libxml/entities.h include/libxml/encoding.h \
1263         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1264         include/libxml/SAX.h include/libxml/xlink.h \
1265         include/libxml/uri.h include/libxml/xpointer.h \
1266         include/libxml/xpath.h include/libxml/hash.h \
1267         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1268         include/libxml/xinclude.h
1269 xlink.lo xlink.o : xlink.c libxml.h config.h include/libxml/xmlversion.h \
1270         include/libxml/xmlmemory.h include/libxml/threads.h \
1271         include/libxml/globals.h include/libxml/parser.h \
1272         include/libxml/tree.h include/libxml/xmlregexp.h \
1273         include/libxml/valid.h include/libxml/list.h \
1274         include/libxml/xmlautomata.h include/libxml/entities.h \
1275         include/libxml/encoding.h include/libxml/xmlIO.h \
1276         include/libxml/xmlerror.h include/libxml/SAX.h \
1277         include/libxml/xlink.h
1278 xmlcatalog.o: xmlcatalog.c libxml.h config.h include/libxml/xmlversion.h \
1279         include/libxml/xmlmemory.h include/libxml/threads.h \
1280         include/libxml/globals.h include/libxml/parser.h \
1281         include/libxml/tree.h include/libxml/xmlregexp.h \
1282         include/libxml/valid.h include/libxml/list.h \
1283         include/libxml/xmlautomata.h include/libxml/entities.h \
1284         include/libxml/encoding.h include/libxml/xmlIO.h \
1285         include/libxml/xmlerror.h include/libxml/SAX.h \
1286         include/libxml/xlink.h include/libxml/uri.h \
1287         include/libxml/catalog.h
1288 xmlIO.lo xmlIO.o : xmlIO.c libxml.h config.h include/libxml/xmlversion.h \
1289         include/libxml/xmlmemory.h include/libxml/threads.h \
1290         include/libxml/globals.h include/libxml/parser.h \
1291         include/libxml/tree.h include/libxml/xmlregexp.h \
1292         include/libxml/valid.h include/libxml/list.h \
1293         include/libxml/xmlautomata.h include/libxml/entities.h \
1294         include/libxml/encoding.h include/libxml/xmlIO.h \
1295         include/libxml/xmlerror.h include/libxml/SAX.h \
1296         include/libxml/xlink.h include/libxml/parserInternals.h \
1297         include/libxml/HTMLparser.h include/libxml/uri.h \
1298         include/libxml/nanohttp.h include/libxml/nanoftp.h \
1299         include/libxml/catalog.h
1300 xmllint.o: xmllint.c libxml.h config.h include/libxml/xmlversion.h \
1301         include/libxml/xmlmemory.h include/libxml/threads.h \
1302         include/libxml/globals.h include/libxml/parser.h \
1303         include/libxml/tree.h include/libxml/xmlregexp.h \
1304         include/libxml/valid.h include/libxml/list.h \
1305         include/libxml/xmlautomata.h include/libxml/entities.h \
1306         include/libxml/encoding.h include/libxml/xmlIO.h \
1307         include/libxml/xmlerror.h include/libxml/SAX.h \
1308         include/libxml/xlink.h include/libxml/parserInternals.h \
1309         include/libxml/HTMLparser.h include/libxml/HTMLtree.h \
1310         include/libxml/xpath.h include/libxml/hash.h \
1311         include/libxml/debugXML.h include/libxml/xinclude.h \
1312         include/libxml/catalog.h include/libxml/DOCBparser.h \
1313         include/libxml/xmlreader.h include/libxml/relaxng.h
1314 xmlmemory.lo xmlmemory.o : xmlmemory.c libxml.h config.h \
1315         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1316         include/libxml/threads.h include/libxml/globals.h \
1317         include/libxml/parser.h include/libxml/tree.h \
1318         include/libxml/xmlregexp.h include/libxml/valid.h \
1319         include/libxml/list.h include/libxml/xmlautomata.h \
1320         include/libxml/entities.h include/libxml/encoding.h \
1321         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1322         include/libxml/SAX.h include/libxml/xlink.h
1323 xmlreader.lo xmlreader.o : xmlreader.c libxml.h config.h \
1324         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1325         include/libxml/threads.h include/libxml/globals.h \
1326         include/libxml/parser.h include/libxml/tree.h \
1327         include/libxml/xmlregexp.h include/libxml/valid.h \
1328         include/libxml/list.h include/libxml/xmlautomata.h \
1329         include/libxml/entities.h include/libxml/encoding.h \
1330         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1331         include/libxml/SAX.h include/libxml/xlink.h \
1332         include/libxml/xmlreader.h
1333 xmlregexp.lo xmlregexp.o : xmlregexp.c libxml.h config.h \
1334         include/libxml/xmlversion.h include/libxml/tree.h \
1335         include/libxml/xmlregexp.h include/libxml/xmlmemory.h \
1336         include/libxml/threads.h include/libxml/globals.h \
1337         include/libxml/parser.h include/libxml/valid.h \
1338         include/libxml/list.h include/libxml/xmlautomata.h \
1339         include/libxml/entities.h include/libxml/encoding.h \
1340         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1341         include/libxml/SAX.h include/libxml/xlink.h \
1342         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1343         include/libxml/xmlunicode.h
1344 xmlschemas.lo xmlschemas.o : xmlschemas.c libxml.h config.h \
1345         include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1346         include/libxml/threads.h include/libxml/globals.h \
1347         include/libxml/parser.h include/libxml/tree.h \
1348         include/libxml/xmlregexp.h include/libxml/valid.h \
1349         include/libxml/list.h include/libxml/xmlautomata.h \
1350         include/libxml/entities.h include/libxml/encoding.h \
1351         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1352         include/libxml/SAX.h include/libxml/xlink.h \
1353         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1354         include/libxml/hash.h include/libxml/uri.h \
1355         include/libxml/xmlschemas.h include/libxml/schemasInternals.h \
1356         include/libxml/xmlschemastypes.h
1357 xmlschemastypes.lo xmlschemastypes.o : xmlschemastypes.c libxml.h \
1358         config.h include/libxml/xmlversion.h include/libxml/xmlmemory.h \
1359         include/libxml/threads.h include/libxml/globals.h \
1360         include/libxml/parser.h include/libxml/tree.h \
1361         include/libxml/xmlregexp.h include/libxml/valid.h \
1362         include/libxml/list.h include/libxml/xmlautomata.h \
1363         include/libxml/entities.h include/libxml/encoding.h \
1364         include/libxml/xmlIO.h include/libxml/xmlerror.h \
1365         include/libxml/SAX.h include/libxml/xlink.h \
1366         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1367         include/libxml/hash.h include/libxml/xpath.h \
1368         include/libxml/uri.h include/libxml/xmlschemas.h \
1369         include/libxml/schemasInternals.h \
1370         include/libxml/xmlschemastypes.h
1371 xmlunicode.lo xmlunicode.o : xmlunicode.c libxml.h config.h \
1372         include/libxml/xmlversion.h include/libxml/xmlunicode.h
1373 xpath.lo xpath.o : xpath.c libxml.h config.h include/libxml/xmlversion.h \
1374         include/libxml/xmlmemory.h include/libxml/threads.h \
1375         include/libxml/globals.h include/libxml/parser.h \
1376         include/libxml/tree.h include/libxml/xmlregexp.h \
1377         include/libxml/valid.h include/libxml/list.h \
1378         include/libxml/xmlautomata.h include/libxml/entities.h \
1379         include/libxml/encoding.h include/libxml/xmlIO.h \
1380         include/libxml/xmlerror.h include/libxml/SAX.h \
1381         include/libxml/xlink.h include/libxml/xpath.h \
1382         include/libxml/hash.h include/libxml/xpathInternals.h \
1383         include/libxml/parserInternals.h include/libxml/HTMLparser.h \
1384         include/libxml/xpointer.h include/libxml/debugXML.h trionan.c \
1385         triodef.h trionan.h
1386 xpointer.lo xpointer.o : xpointer.c libxml.h config.h \
1387         include/libxml/xmlversion.h include/libxml/xpointer.h \
1388         include/libxml/tree.h include/libxml/xmlregexp.h \
1389         include/libxml/xmlmemory.h include/libxml/threads.h \
1390         include/libxml/globals.h include/libxml/parser.h \
1391         include/libxml/valid.h include/libxml/list.h \
1392         include/libxml/xmlautomata.h include/libxml/entities.h \
1393         include/libxml/encoding.h include/libxml/xmlIO.h \
1394         include/libxml/xmlerror.h include/libxml/SAX.h \
1395         include/libxml/xlink.h include/libxml/xpath.h \
1396         include/libxml/hash.h include/libxml/parserInternals.h \
1397         include/libxml/HTMLparser.h include/libxml/uri.h \
1398         include/libxml/xpathInternals.h
1399
1400 info-am:
1401 info: info-recursive
1402 dvi-am:
1403 dvi: dvi-recursive
1404 check-am: all-am
1405         $(MAKE) $(AM_MAKEFLAGS) check-local
1406 check: check-recursive
1407 installcheck-am:
1408 installcheck: installcheck-recursive
1409 all-recursive-am: config.h
1410         $(MAKE) $(AM_MAKEFLAGS) all-recursive
1411
1412 install-exec-am: install-libLTLIBRARIES install-binPROGRAMS \
1413                 install-binSCRIPTS install-confexecDATA
1414 install-exec: install-exec-recursive
1415
1416 install-data-am: install-man install-m4dataDATA install-pkgconfigDATA \
1417                 install-data-local
1418 install-data: install-data-recursive
1419
1420 install-am: all-am
1421         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1422 install: install-recursive
1423 uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
1424                 uninstall-binSCRIPTS uninstall-man \
1425                 uninstall-confexecDATA uninstall-m4dataDATA \
1426                 uninstall-pkgconfigDATA
1427 uninstall: uninstall-recursive
1428 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
1429                 config.h
1430 all-redirect: all-recursive-am
1431 install-strip:
1432         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
1433 installdirs: installdirs-recursive
1434 installdirs-am:
1435         $(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
1436                 $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
1437                 $(DESTDIR)$(mandir)/man3 $(DESTDIR)$(confexecdir) \
1438                 $(DESTDIR)$(m4datadir) $(DESTDIR)$(pkgconfigdir)
1439
1440
1441 mostlyclean-generic:
1442
1443 clean-generic:
1444         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1445
1446 distclean-generic:
1447         -rm -f Makefile $(CONFIG_CLEAN_FILES)
1448         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
1449
1450 maintainer-clean-generic:
1451 mostlyclean-am:  mostlyclean-hdr mostlyclean-libLTLIBRARIES \
1452                 mostlyclean-compile mostlyclean-libtool \
1453                 mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
1454                 mostlyclean-tags mostlyclean-generic
1455
1456 mostlyclean: mostlyclean-recursive
1457
1458 clean-am:  clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \
1459                 clean-binPROGRAMS clean-noinstPROGRAMS clean-tags \
1460                 clean-generic mostlyclean-am
1461
1462 clean: clean-recursive
1463
1464 distclean-am:  distclean-hdr distclean-libLTLIBRARIES distclean-compile \
1465                 distclean-libtool distclean-binPROGRAMS \
1466                 distclean-noinstPROGRAMS distclean-tags \
1467                 distclean-generic clean-am
1468         -rm -f libtool
1469
1470 distclean: distclean-recursive
1471         -rm -f config.status
1472
1473 maintainer-clean-am:  maintainer-clean-hdr \
1474                 maintainer-clean-libLTLIBRARIES \
1475                 maintainer-clean-compile maintainer-clean-libtool \
1476                 maintainer-clean-binPROGRAMS \
1477                 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
1478                 maintainer-clean-generic distclean-am
1479         @echo "This command is intended for maintainers to use;"
1480         @echo "it deletes files that may require special tools to rebuild."
1481
1482 maintainer-clean: maintainer-clean-recursive
1483         -rm -f config.status
1484
1485 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
1486 mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
1487 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
1488 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
1489 distclean-compile clean-compile maintainer-clean-compile \
1490 mostlyclean-libtool distclean-libtool clean-libtool \
1491 maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
1492 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
1493 install-binPROGRAMS mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
1494 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
1495 uninstall-binSCRIPTS install-binSCRIPTS install-man1 uninstall-man1 \
1496 install-man3 uninstall-man3 install-man uninstall-man \
1497 uninstall-confexecDATA install-confexecDATA uninstall-m4dataDATA \
1498 install-m4dataDATA uninstall-pkgconfigDATA install-pkgconfigDATA \
1499 install-data-recursive uninstall-data-recursive install-exec-recursive \
1500 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
1501 all-recursive check-recursive installcheck-recursive info-recursive \
1502 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
1503 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
1504 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
1505 dvi-am dvi check-local check check-am installcheck-am installcheck \
1506 all-recursive-am install-exec-am install-exec install-data-local \
1507 install-data-am install-data install-am install uninstall-am uninstall \
1508 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
1509 distclean-generic clean-generic maintainer-clean-generic clean \
1510 mostlyclean distclean maintainer-clean
1511
1512
1513 check-local: tests
1514
1515 testall : tests SVGtests SAXtests
1516
1517 tests: XMLtests XMLenttests HTMLtests Validtests URItests XPathtests XPtrtests XIncludetests C14Ntests Scripttests Catatests @TEST_REGEXPS@ @TEST_SCHEMAS@ @TEST_THREADS@
1518         @(if [ "@PYTHON_SUBDIR@" != "" ] ; then cd python ; $(MAKE) tests ; fi)
1519
1520 valgrind:
1521         @echo '## Running the regression tests under Valgrind'
1522         @echo '## Go get a cup of coffee it is gonna take a while ...'
1523         $(MAKE) CHECKER='valgrind -q' tests
1524
1525 HTMLtests : testHTML$(EXEEXT)
1526         @(echo > .memdump)
1527         @echo "##"
1528         @echo "## HTML regression tests"
1529         @echo "##"
1530         -@(for i in $(srcdir)/test/HTML/* ; do \
1531           name=`basename $$i`; \
1532           if [ ! -d $$i ] ; then \
1533           if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
1534               echo New test file $$name ; \
1535               $(CHECKER) $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
1536           else \
1537               echo Testing $$name ; \
1538               $(CHECKER) $(top_builddir)/testHTML $$i > result.$$name 2> error.$$name ; \
1539               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1540               diff $(srcdir)/result/HTML/$$name result.$$name ; \
1541               diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \
1542               $(CHECKER) $(top_builddir)/testHTML result.$$name > result2.$$name 2>error.$$name ; \
1543               diff result.$$name result2.$$name ; \
1544               rm result.$$name result2.$$name error.$$name ; \
1545           fi ; fi ; done)
1546         @echo "##"
1547         @echo "## Push HTML regression tests"
1548         @echo "##"
1549         -@(for i in $(srcdir)/test/HTML/* ; do \
1550           name=`basename $$i`; \
1551           if [ ! -d $$i ] ; then \
1552           if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
1553               echo New test file $$name ; \
1554               $(CHECKER) $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
1555           else \
1556               echo Testing $$name ; \
1557               $(CHECKER) $(top_builddir)/testHTML --push $$i > result.$$name 2> error.$$name ; \
1558               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1559               diff $(srcdir)/result/HTML/$$name result.$$name ; \
1560               cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \
1561               cut -b 1-15 error.$$name > errorcut2.$$name; \
1562               diff -b errorcut.$$name errorcut2.$$name ; \
1563               $(CHECKER) $(top_builddir)/testHTML --push result.$$name > result2.$$name 2>error.$$name ; \
1564               diff result.$$name result2.$$name ; \
1565               rm result.$$name result2.$$name error.$$name errorcut.$$name errorcut2.$$name ; \
1566           fi ; fi ; done)
1567         @echo "##"
1568         @echo "## HTML SAX regression tests"
1569         @echo "##"
1570         -@(for i in $(srcdir)/test/HTML/* ; do \
1571           name=`basename $$i`; \
1572           if [ ! -d $$i ] ; then \
1573           if [ ! -f $(srcdir)/result/HTML/$$name.sax ] ; then \
1574               echo New test file $$name ; \
1575               $(CHECKER) $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
1576           else \
1577               echo Testing $$name ; \
1578               $(CHECKER) $(top_builddir)/testHTML --sax $$i > result.$$name.sax ; \
1579               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1580               diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax ; \
1581               rm result.$$name.sax ; \
1582           fi ; fi ; done)
1583         @echo "##"
1584         @echo "## Push HTML SAX regression tests"
1585         @echo "##"
1586         -@(for i in $(srcdir)/test/HTML/* ; do \
1587           name=`basename $$i`; \
1588           if [ ! -d $$i ] ; then \
1589           if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
1590               echo New test file $$name ; \
1591               $(CHECKER) $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
1592           else \
1593               echo Testing $$name ; \
1594               $(CHECKER) $(top_builddir)/testHTML --push --sax $$i > result.$$name.sax ; \
1595               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1596               diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax ; \
1597               rm result.$$name.sax ; \
1598           fi ; fi ; done)
1599
1600 XMLtests : xmllint$(EXEEXT)
1601         @(echo > .memdump)
1602         @echo "##"
1603         @echo "## XML regression tests"
1604         @echo "##"
1605         @echo "## You should see one warning on entity 'title.xml' for ent2"
1606         @echo "##"
1607         -@(for i in $(srcdir)/test/* ; do \
1608           name=`basename $$i`; \
1609           if [ ! -d $$i ] ; then \
1610           if [ ! -f $(srcdir)/result/$$name ] ; then \
1611               echo New test file $$name ; \
1612               $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/$$name ; \
1613           else \
1614               echo Testing $$name ; \
1615               $(CHECKER) $(top_builddir)/xmllint $$i > result.$$name ; \
1616               diff $(srcdir)/result/$$name result.$$name ; \
1617               $(CHECKER) $(top_builddir)/xmllint result.$$name > result2.$$name ; \
1618               diff result.$$name result2.$$name ; \
1619               rm result.$$name result2.$$name ; \
1620           fi ; fi ; done)
1621         @(echo > .memdump)
1622         @echo "##"
1623         @echo "## XML push regression tests"
1624         @echo "##"
1625         @echo "## You should see one warning on entity 'title.xml' for ent2"
1626         @echo "##"
1627         -@(for i in $(srcdir)/test/* ; do \
1628           name=`basename $$i`; \
1629           if [ ! -d $$i ] ; then \
1630           if [ ! -f $(srcdir)/result/$$name ] ; then \
1631               echo New test file $$name ; \
1632               $(CHECKER) $(top_builddir)/xmllint --push $$i > $(srcdir)/result/$$name ; \
1633           else \
1634               echo Testing $$name ; \
1635               $(CHECKER) $(top_builddir)/xmllint --push $$i > result.$$name ; \
1636               diff $(srcdir)/result/$$name result.$$name ; \
1637               $(CHECKER) $(top_builddir)/xmllint --push result.$$name > result2.$$name ; \
1638               diff result.$$name result2.$$name ; \
1639               rm result.$$name result2.$$name ; \
1640           fi ; fi ; done)
1641         @echo "##"
1642         @echo "## XML regression tests on memory"
1643         @echo "##"
1644         @echo "## You should see two warnings on entity 'title.xml' for ent2"
1645         @echo "##"
1646         -@(for i in $(srcdir)/test/* ; do \
1647           name=`basename $$i`; \
1648           if [ ! -d $$i ] ; then \
1649           if [ ! -f $(srcdir)/result/$$name ] ; then \
1650               echo New test file $$name ; \
1651               $(CHECKER) $(top_builddir)/xmllint --memory $$i > $(srcdir)/result/$$name ; \
1652           else \
1653               echo Testing $$name ; \
1654               $(CHECKER) $(top_builddir)/xmllint --memory $$i > result.$$name ; \
1655               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1656               diff $(srcdir)/result/$$name result.$$name ; \
1657               $(CHECKER) $(top_builddir)/xmllint --memory result.$$name > result2.$$name ; \
1658               diff result.$$name result2.$$name ; \
1659               rm result.$$name result2.$$name ; \
1660           fi ; fi ; done)
1661
1662 Docbtests : xmllint$(EXEEXT)
1663         @(echo > .memdump)
1664         @echo "##"
1665         @echo "## SGML DocBook regression tests"
1666         @echo "##"
1667         -@(for i in $(srcdir)/test/DocBook/*.sgm ; do \
1668           name=`basename $$i .sgm`; \
1669           if [ ! -d $$i ] ; then \
1670           if [ ! -f $(srcdir)/result/DocBook/$$name.xml ] ; then \
1671               echo New test file $$name ; \
1672               $(CHECKER) $(top_builddir)/xmllint --sgml $$i > $(srcdir)/result/DocBook/$$name.xml ; \
1673               $(CHECKER) $(top_builddir)/xmllint --valid --noout $(srcdir)/result/DocBook/$$name.xml ; \
1674           else \
1675               echo Testing $$name ; \
1676               $(CHECKER) $(top_builddir)/xmllint --sgml $$i > result.$$name ; \
1677               diff $(srcdir)/result/DocBook/$$name.xml result.$$name ; \
1678               $(CHECKER) $(top_builddir)/xmllint --valid --noout result.$$name ; \
1679               rm result.$$name ; \
1680           fi ; fi ; done)
1681
1682 XMLenttests : xmllint$(EXEEXT)
1683         @(echo > .memdump)
1684         @echo "##"
1685         @echo "## XML entity subst regression tests"
1686         @echo "##"
1687         -@(for i in $(srcdir)/test/* ; do \
1688           name=`basename $$i`; \
1689           if [ ! -d $$i ] ; then \
1690           if [ ! -f $(srcdir)/result/noent/$$name ] ; then \
1691               echo New test file $$name ; \
1692               $(CHECKER) $(top_builddir)/xmllint --noent $$i > $(srcdir)/result/noent/$$name ; \
1693           else \
1694               echo Testing $$name ; \
1695               $(CHECKER) $(top_builddir)/xmllint --noent $$i > result.$$name ; \
1696               diff $(srcdir)/result/noent/$$name result.$$name ; \
1697               $(CHECKER) $(top_builddir)/xmllint --noent result.$$name > result2.$$name ; \
1698               diff result.$$name result2.$$name ; \
1699               rm result.$$name result2.$$name ; \
1700           fi ; fi ; done)
1701
1702 URItests : testURI$(EXEEXT)
1703         @(echo > .memdump)
1704         @echo "##"
1705         @echo "## URI module regression tests"
1706         @echo "##"
1707         -@(for i in $(srcdir)/test/URI/*.data ; do \
1708           name=`basename $$i`; \
1709           if [ ! -d $$i ] ; then \
1710           if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
1711               echo New test file $$name ; \
1712               $(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > $(srcdir)/result/URI/$$name ; \
1713           else \
1714               echo Testing $$name ; \
1715               $(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > result.$$name ; \
1716               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1717               diff $(srcdir)/result/URI/$$name result.$$name ; \
1718               rm result.$$name ; \
1719           fi ; fi ; done)
1720         -@(for i in $(srcdir)/test/URI/*.uri ; do \
1721           name=`basename $$i`; \
1722           if [ ! -d $$i ] ; then \
1723           if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
1724               echo New test file $$name ; \
1725               $(CHECKER) $(top_builddir)/testURI < $$i > $(srcdir)/result/URI/$$name ; \
1726           else \
1727               echo Testing $$name ; \
1728               $(CHECKER) $(top_builddir)/testURI < $$i > result.$$name ; \
1729               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1730               diff $(srcdir)/result/URI/$$name result.$$name ; \
1731               rm result.$$name ; \
1732           fi ; fi ; done)
1733
1734 XPathtests : testXPath$(EXEEXT)
1735         @(echo > .memdump)
1736         @echo "##"
1737         @echo "## XPath regression tests"
1738         @echo "##"
1739         -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
1740           then echo Skipping debug not compiled in ; exit 0 ; fi ; \
1741           for i in $(srcdir)/test/XPath/expr/* ; do \
1742           name=`basename $$i`; \
1743           if [ ! -d $$i ] ; then \
1744           if [ ! -f $(srcdir)/result/XPath/expr/$$name ] ; then \
1745               echo New test file $$name ; \
1746               $(CHECKER) $(top_builddir)/testXPath -f --expr $$i > $(srcdir)/result/XPath/expr/$$name ; \
1747               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1748           else \
1749               echo Testing $$name ; \
1750               $(CHECKER) $(top_builddir)/testXPath -f --expr $$i > result.$$name ; \
1751               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1752               diff $(srcdir)/result/XPath/expr/$$name result.$$name ; \
1753               rm result.$$name ; \
1754           fi ; fi ; done ; \
1755           for i in $(srcdir)/test/XPath/docs/* ; do \
1756           if [ ! -d $$i ] ; then \
1757           doc=`basename $$i`; \
1758           for j in $(srcdir)/test/XPath/tests/$$doc* ; do \
1759           if [ ! -f $$j ] ; then continue ; fi ; \
1760           name=`basename $$j`; \
1761           if [ ! -d $$j ] ; then \
1762           if [ ! -f $(srcdir)/result/XPath/tests/$$name ] ; then \
1763               echo New test file $$name ; \
1764               $(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j > $(srcdir)/result/XPath/tests/$$name ; \
1765               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1766           else \
1767               echo Testing $$name ; \
1768               $(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j > result.$$name ; \
1769               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1770               diff $(srcdir)/result/XPath/tests/$$name result.$$name ; \
1771               rm result.$$name ; \
1772           fi ; fi ; done ; fi ; done)
1773
1774 XPtrtests : testXPath$(EXEEXT)
1775         @(echo > .memdump)
1776         @echo "##"
1777         @echo "## XPointer regression tests"
1778         @echo "##"
1779         -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
1780           then echo Skipping debug not compiled in ; exit 0 ; fi ; \
1781           for i in $(srcdir)/test/XPath/docs/* ; do \
1782           if [ ! -d $$i ] ; then \
1783           doc=`basename $$i`; \
1784           for j in $(srcdir)/test/XPath/xptr/$$doc* ; do \
1785           if [ ! -f $$j ] ; then continue ; fi ; \
1786           name=`basename $$j`; \
1787           if [ ! -d $$j ] ; then \
1788           if [ ! -f $(srcdir)/result/XPath/xptr/$$name ] ; then \
1789               echo New test file $$name ; \
1790               ./testXPath -xptr -f -i $$i $$j > $(srcdir)/result/XPath/xptr/$$name ; \
1791           else \
1792               echo Testing $$name ; \
1793               ./testXPath -xptr -f -i $$i $$j > result.$$name ; \
1794               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1795               diff $(srcdir)/result/XPath/xptr/$$name result.$$name ; \
1796               rm result.$$name ; \
1797           fi ; fi ; done ; fi ; done)
1798
1799 XIncludetests : xmllint$(EXEEXT)
1800         @(echo > .memdump)
1801         @echo "##"
1802         @echo "## XInclude regression tests"
1803         @echo "##"
1804         -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
1805           name=`basename $$i`; \
1806           if [ ! -d $$i ] ; then \
1807           if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
1808               echo New test file $$name ; \
1809               $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > $(srcdir)/result/XInclude/$$name ; \
1810           else \
1811               echo Testing $$name ; \
1812               $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > result.$$name ; \
1813               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1814               diff $(srcdir)/result/XInclude/$$name result.$$name ; \
1815               rm result.$$name ; \
1816           fi ; fi ; done)
1817
1818 Scripttests : xmllint$(EXEEXT)
1819         @(echo > .memdump)
1820         @echo "##"
1821         @echo "## Scripts regression tests"
1822         @echo "## Some of the base computations may be different if srcdir != ."
1823         @echo "##"
1824         -@(for i in $(srcdir)/test/scripts/*.script ; do \
1825           name=`basename $$i .script`; \
1826           xml=$(srcdir)/test/scripts/`basename $$i .script`.xml; \
1827           if [ -f $$xml ] ; then \
1828           if [ ! -f $(srcdir)/result/scripts/$$name ] ; then \
1829               echo New test file $$name ; \
1830               $(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > $(srcdir)/result/scripts/$$name ; \
1831           else \
1832               echo Testing $$name ; \
1833               $(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > result.$$name ; \
1834               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1835               diff $(srcdir)/result/scripts/$$name result.$$name ; \
1836               rm result.$$name ; \
1837           fi ; fi ; done)
1838
1839 Catatests : xmlcatalog$(EXEEXT)
1840         @(echo > .memdump)
1841         @echo "##"
1842         @echo "## Catalog regression tests"
1843         @echo "##"
1844         -@(for i in $(srcdir)/test/catalogs/*.script ; do \
1845           name=`basename $$i .script`; \
1846           xml=$(srcdir)/test/catalogs/`basename $$i .script`.xml; \
1847           if [ -f $$xml ] ; then \
1848           if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
1849               echo New test file $$name ; \
1850               $(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i > $(srcdir)/result/catalogs/$$name ; \
1851           else \
1852               echo Testing $$name ; \
1853               $(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i > result.$$name ; \
1854               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1855               diff $(srcdir)/result/catalogs/$$name result.$$name ; \
1856               rm result.$$name ; \
1857           fi ; fi ; done)
1858         -@(for i in $(srcdir)/test/catalogs/*.script ; do \
1859           name=`basename $$i .script`; \
1860           sgml=$(srcdir)/test/catalogs/`basename $$i .script`.sgml; \
1861           if [ -f $$sgml ] ; then \
1862           if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
1863               echo New test file $$name ; \
1864               $(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > $(srcdir)/result/catalogs/$$name ; \
1865           else \
1866               echo Testing $$name ; \
1867               $(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > result.$$name ; \
1868               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1869               diff $(srcdir)/result/catalogs/$$name result.$$name ; \
1870               rm result.$$name ; \
1871           fi ; fi ; done)
1872         @echo "Add and del operations on XML Catalogs"
1873         -@($(CHECKER) $(top_builddir)/xmlcatalog --create --noout $(srcdir)/result/catalogs/mycatalog; \
1874         grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0"; \
1875         $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid sysid $(srcdir)/result/catalogs/mycatalog; \
1876         grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0"; \
1877         $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid2 sysid2 $(srcdir)/result/catalogs/mycatalog; \
1878         grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0"; \
1879         $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid3 sysid3 $(srcdir)/result/catalogs/mycatalog; \
1880         grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0"; \
1881         diff result/catalogs/mycatalog.full $(srcdir)/result/catalogs/mycatalog; \
1882         grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0"; \
1883         $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid $(srcdir)/result/catalogs/mycatalog; \
1884         grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0"; \
1885         $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid3 $(srcdir)/result/catalogs/mycatalog; \
1886         grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0"; \
1887         $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid2 $(srcdir)/result/catalogs/mycatalog; \
1888         grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0"; \
1889         diff result/catalogs/mycatalog.empty $(srcdir)/result/catalogs/mycatalog; \
1890         grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0"; \
1891         rm -f $(srcdir)/result/catalogs/mycatalog)
1892
1893 SVGtests : xmllint$(EXEEXT)
1894         @echo "##"
1895         @echo "## SVG parsing regression tests"
1896         @echo "##"
1897         -@(for i in $(srcdir)/test/SVG/* ; do \
1898           name=`basename $$i`; \
1899           if [ ! -d $$i ] ; then \
1900           if [ ! -f $(srcdir)/result/SVG/$$name ] ; then \
1901               echo New test file $$name ; \
1902               $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/SVG/$$name ; \
1903           else \
1904               echo Testing $$name ; \
1905               $(CHECKER) $(top_builddir)/xmllint $$i > result.$$name ; \
1906               diff $(srcdir)/result/SVG/$$name result.$$name ; \
1907               $(CHECKER) $(top_builddir)/xmllint result.$$name > result2.$$name ; \
1908               diff result.$$name result2.$$name ; \
1909               rm result.$$name result2.$$name ; \
1910           fi ; fi ; done)
1911
1912 Threadtests : testThreads$(EXEEXT)
1913         @echo "##"
1914         @echo "## Threaded regression tests"
1915         @echo "##"
1916         $(CHECKER) $(top_builddir)/testThreads
1917
1918 SAXtests : testSAX$(EXEEXT)
1919         @(echo > .memdump)
1920         @echo "##"
1921         @echo "## SAX callbacks regression tests"
1922         @echo "##"
1923         -@(for i in $(srcdir)/test/* ; do \
1924           name=`basename $$i`; \
1925           if [ ! -d $$i ] ; then \
1926           if [ ! -f $(srcdir)/SAXresult/$$name ] ; then \
1927               echo New test file $$name ; \
1928               $(CHECKER) $(top_builddir)/testSAX $$i > $(srcdir)/SAXresult/$$name ; \
1929           else \
1930               echo Testing $$name ; \
1931               $(CHECKER) $(top_builddir)/testSAX $$i > result.$$name ; \
1932               diff $(srcdir)/SAXresult/$$name result.$$name ; \
1933               rm result.$$name ; \
1934           fi ; fi ; done)
1935
1936 Validtests : xmllint$(EXEEXT)
1937         @(echo > .memdump)
1938         @echo "##"
1939         @echo "## Valid documents regression tests"
1940         @echo "##"
1941         -@(for i in $(srcdir)/test/VCM/* ; do \
1942           name=`basename $$i`; \
1943           if [ ! -d $$i ] ; then \
1944               echo Testing $$name ; \
1945               $(CHECKER) $(top_builddir)/xmllint --valid --noout --nowarning $$i ; \
1946               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1947           fi ; done ; exit 0)
1948         @echo "##"
1949         @echo "## Validity checking regression tests"
1950         @echo "##"
1951         -@(for i in $(srcdir)/test/VC/* ; do \
1952           name=`basename $$i`; \
1953           if [ ! -d $$i ] ; then \
1954           if [ ! -f $(srcdir)/result/VC/$$name ] ; then \
1955               echo New test file $$name ; \
1956               $(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> $(srcdir)/result/VC/$$name ; \
1957           else \
1958               echo Testing $$name ; \
1959               $(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> result.$$name ; \
1960               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1961               diff $(srcdir)/result/VC/$$name result.$$name ; \
1962               rm result.$$name ; \
1963           fi ; fi ; done)
1964         @echo "##"
1965         @echo "## General documents valid regression tests"
1966         @echo "##"
1967         -@(for i in $(srcdir)/test/valid/* ; do \
1968           name=`basename $$i`; \
1969           if [ ! -d $$i ] ; then \
1970           if [ ! -f $(srcdir)/result/valid/$$name ] ; then \
1971               echo New test file $$name ; \
1972               $(CHECKER) $(top_builddir)/xmllint --valid $$i > $(srcdir)/result/valid/$$name 2>$(srcdir)/result/valid/$$name.err ; \
1973           else \
1974               echo Testing $$name ; \
1975               $(CHECKER) $(top_builddir)/xmllint --valid $$i > result.$$name 2>error.$$name ; \
1976               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1977               diff $(srcdir)/result/valid/$$name result.$$name ; \
1978               diff $(srcdir)/result/valid/$$name.err error.$$name ; \
1979               rm result.$$name error.$$name ; \
1980           fi ; fi ; done)
1981
1982 Regexptests: testRegexp$(EXEEXT)
1983         @(echo > .memdump)
1984         @echo "##"
1985         @echo "## Regexp regression tests"
1986         @echo "##"
1987         -@(for i in $(srcdir)/test/regexp/* ; do \
1988           name=`basename $$i`; \
1989           if [ ! -d $$i ] ; then \
1990           if [ ! -f $(srcdir)/result/regexp/$$name ] ; then \
1991               echo New test file $$name ; \
1992               $(CHECKER) $(top_builddir)/testRegexp -i $$i > $(srcdir)/result/regexp/$$name; \
1993           else \
1994               echo Testing $$name ; \
1995               $(CHECKER) $(top_builddir)/testRegexp -i $$i > result.$$name ; \
1996               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
1997               diff $(srcdir)/result/regexp/$$name result.$$name ; \
1998               rm result.$$name ; \
1999           fi ; fi ; done)
2000
2001 Automatatests: testAutomata$(EXEEXT)
2002         @(echo > .memdump)
2003         @echo "##"
2004         @echo "## Automata regression tests"
2005         @echo "##"
2006         -@(for i in $(srcdir)/test/automata/* ; do \
2007           name=`basename $$i`; \
2008           if [ ! -d $$i ] ; then \
2009           if [ ! -f $(srcdir)/result/automata/$$name ] ; then \
2010               echo New test file $$name ; \
2011               $(CHECKER) $(top_builddir)/testAutomata $$i > $(srcdir)/result/automata/$$name; \
2012           else \
2013               echo Testing $$name ; \
2014               $(CHECKER) $(top_builddir)/testAutomata $$i > result.$$name ; \
2015               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
2016               diff $(srcdir)/result/automata/$$name result.$$name ; \
2017               rm result.$$name ; \
2018           fi ; fi ; done)
2019
2020 C14Ntests : testC14N$(EXEEXT)
2021         @echo "##"
2022         @echo "## C14N and XPath regression tests"
2023         @echo "##"
2024         -@(for m in with-comments without-comments exc-without-comments ; do \
2025             for i in $(srcdir)/test/c14n/$$m/*.xml ; do  \
2026                 if [ ! -d $$i ] ; then \
2027                     name=`basename $$i .xml`; \
2028                     echo Testing $$m/$$name; \
2029                     cmdline="$(CHECKER) $(top_builddir)/testC14N --$$m $$i"; \
2030                     if [ -f $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
2031                         cmdline="$$cmdline $(srcdir)/test/c14n/$$m/$$name.xpath"; \
2032                         if [ -f $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
2033                             cmdline="$$cmdline '`cat $(srcdir)/test/c14n/$$m/$$name.ns`'"; \
2034                         fi; \
2035                     fi; \
2036                     $$cmdline > $(srcdir)/test/c14n/test.tmp; \
2037                     if [ $$? -eq 0 ]; then \
2038                         diff  $(srcdir)/result/c14n/$$m/$$name $(srcdir)/test/c14n/test.tmp; \
2039                         if [ $$? -ne 0 ]; then \
2040                             echo "Test failed"; \
2041                             cat $(srcdir)/test/c14n/test.tmp; \
2042                         fi; \
2043                     else \
2044                         echo "C14N failed"; \
2045                     fi; \
2046                 fi; \
2047                 rm -f $(srcdir)/test/c14n/test.tmp; \
2048             done; \
2049         done)
2050
2051 Schemastests: testSchemas$(EXEEXT)
2052         @(echo > .memdump)
2053         @echo "##"
2054         @echo "## Schemas regression tests"
2055         @echo "##"
2056         -@(for i in $(srcdir)/test/schemas/*_*.xsd ; do \
2057           name=`basename $$i | sed 's+_.*++'`; \
2058           sno=`basename $$i | sed 's+.*_\(.*\).xsd+\1+'`; \
2059           for j in $(srcdir)/test/schemas/"$$name"_*.xml ; do \
2060               xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2061               if [ ! -f $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" ]; \
2062               then \
2063                   echo New test file "$$name"_"$$sno"_"$$xno" ; \
2064                   $(CHECKER) $(top_builddir)/testSchemas $$i $$j \
2065                     > $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
2066                     2> $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err; \
2067               else \
2068                   echo Testing "$$name"_"$$sno"_"$$xno" ; \
2069                   $(CHECKER) $(top_builddir)/testSchemas $$i $$j \
2070                     > res.$$name 2> err.$$name;\
2071                   grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
2072                   diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
2073                        res.$$name;\
2074                   diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err \
2075                        err.$$name;\
2076                   grep Unimplemented err.$$name; \
2077                   rm res.$$name err.$$name ; \
2078                fi ; \
2079           done; done)
2080
2081 Relaxtests: xmllint$(EXEEXT)
2082         @(echo > .memdump)
2083         @echo "##"
2084         @echo "## Relax-NG regression tests"
2085         @echo "##"
2086         -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
2087           name=`basename $$i | sed 's+\.rng++'`; \
2088           if [ ! -f $(srcdir)/result/relaxng/"$$name"_valid ] ; then \
2089               echo New schemas $$name ; \
2090               $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
2091                       > $(srcdir)/result/relaxng/"$$name"_valid \
2092                       2> $(srcdir)/result/relaxng/"$$name"_err; \
2093           else \
2094               echo Checking schemas $$name ; \
2095               $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
2096               > res.$$name 2> err.$$name;\
2097               grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
2098               diff $(srcdir)/result/relaxng/"$$name"_valid \
2099                    res.$$name;\
2100               diff $(srcdir)/result/relaxng/"$$name"_err \
2101                    err.$$name | grep -v "error detected at";\
2102               grep Unimplemented err.$$name; \
2103               rm res.$$name err.$$name ; \
2104           fi; \
2105           for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
2106               if [ -f $$j ] ; then \
2107               xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
2108               if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
2109               then \
2110                   echo New test file "$$name"_"$$xno" ; \
2111                   $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
2112                     > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
2113                     2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
2114               else \
2115                   echo Testing "$$name"_"$$xno" ; \
2116                   $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
2117                     > res.$$name 2> err.$$name;\
2118                   grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0";\
2119                   diff $(srcdir)/result/relaxng/"$$name"_"$$xno" \
2120                        res.$$name;\
2121                   diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
2122                        err.$$name | grep -v "error detected at";\
2123                   grep Unimplemented err.$$name; \
2124                   rm res.$$name err.$$name ; \
2125                fi ; fi ; \
2126           done; done)
2127
2128 dist-hook: libxml.spec
2129         -cp libxml.spec $(distdir)
2130         (cd $(srcdir) ; tar -cf - --exclude CVS win32 macos vms test result SAXresult ) | (cd $(distdir); tar xf -)
2131
2132 cleantar:
2133         @(rm -f libxml*.tar.gz COPYING.LIB)
2134
2135 rpm: cleantar
2136         @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
2137
2138 install-data-local: 
2139         $(mkinstalldirs) $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
2140         -@INSTALL@ -m 0644 $(srcdir)/Copyright $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
2141         $(mkinstalldirs) $(DESTDIR)$(EXAMPLES_DIR)
2142         -@INSTALL@ -m 0644 $(srcdir)/xmllint.c $(DESTDIR)$(EXAMPLES_DIR)
2143         -@INSTALL@ -m 0644 $(srcdir)/testSAX.c $(DESTDIR)$(EXAMPLES_DIR)
2144         -@INSTALL@ -m 0644 $(srcdir)/testHTML.c $(DESTDIR)$(EXAMPLES_DIR)
2145         -@INSTALL@ -m 0644 $(srcdir)/testXPath.c $(DESTDIR)$(EXAMPLES_DIR)
2146
2147 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2148 # Otherwise a system limit (for SysV at least) may be exceeded.
2149 .NOEXPORT: