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