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