|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| .gitlab-ci/ | H | 25-Apr-2025 | - | 192 | 135 |
| doc/ | H | 25-Apr-2025 | - | 79,424 | 78,789 |
| example/ | H | 25-Apr-2025 | - | 3,157 | 1,902 |
| fuzz/ | H | 25-Apr-2025 | - | 7,406 | 5,882 |
| include/ | H | 25-Apr-2025 | - | 15,264 | 9,753 |
| m4/ | H | 25-Apr-2025 | - | 431 | 413 |
| os400/ | H | 25-Apr-2025 | - | 33,162 | 27,369 |
| python/ | H | 25-Apr-2025 | - | 12,317 | 9,871 |
| result/ | H | 25-Apr-2025 | - | 304,062 | 276,268 |
| test/ | H | 25-Apr-2025 | - | 130,866 | 119,337 |
| tools/ | H | 25-Apr-2025 | - | 2,346 | 1,759 |
| win32/ | H | 25-Apr-2025 | - | 1,986 | 1,546 |
| xstc/ | H | 25-Apr-2025 | - | 1,044 | 780 |
| .editorconfig | H A D | 25-Apr-2025 | 142 | 12 | 8 |
| .gitattributes | H A D | 25-Apr-2025 | 32 | 3 | 2 |
| .gitignore | H A D | 25-Apr-2025 | 714 | 66 | 60 |
| .gitlab-ci.yml | H A D | 25-Apr-2025 | 6.4 KiB | 312 | 269 |
| Android.bp | H A D | 25-Apr-2025 | 35.6 KiB | 1,077 | 1,058 |
| CMakeLists.txt | H A D | 25-Apr-2025 | 23.1 KiB | 705 | 641 |
| CleanSpec.mk | H A D | 25-Apr-2025 | 2.3 KiB | 53 | 2 |
| Copyright | H A D | 25-Apr-2025 | 1.2 KiB | 24 | 19 |
| HTMLparser.c | H A D | 25-Apr-2025 | 168.3 KiB | 6,277 | 4,148 |
| HTMLtree.c | H A D | 25-Apr-2025 | 31.7 KiB | 1,132 | 715 |
| MAINTAINERS.md | H A D | 25-Apr-2025 | 3.4 KiB | 119 | 73 |
| METADATA | H A D | 25-Apr-2025 | 1,005 | 29 | 26 |
| MODULE_LICENSE_MIT | HD | 25-Apr-2025 | 0 | | |
| Makefile.am | H A D | 25-Apr-2025 | 6.9 KiB | 256 | 206 |
| NEWS | H A D | 25-Apr-2025 | 226.4 KiB | 4,870 | 4,230 |
| OWNERS | H A D | 25-Apr-2025 | 46 | 2 | 1 |
| README.md | H A D | 25-Apr-2025 | 5.7 KiB | 181 | 127 |
| README.zOS | H A D | 25-Apr-2025 | 9.6 KiB | 213 | 197 |
| SAX2.c | H A D | 25-Apr-2025 | 76.8 KiB | 2,826 | 1,841 |
| VERSION | H A D | 25-Apr-2025 | 7 | 2 | 1 |
| autogen.sh | H A D | 25-Apr-2025 | 2.3 KiB | 98 | 79 |
| buf.c | H A D | 25-Apr-2025 | 28.8 KiB | 1,276 | 670 |
| c14n.c | H A D | 25-Apr-2025 | 67.2 KiB | 2,216 | 1,275 |
| catalog.c | H A D | 25-Apr-2025 | 93.4 KiB | 3,744 | 2,523 |
| chvalid.c | H A D | 25-Apr-2025 | 11.9 KiB | 337 | 206 |
| chvalid.def | H A D | 25-Apr-2025 | 5.9 KiB | 362 | 354 |
| config.h | H A D | 25-Apr-2025 | 3 KiB | 107 | 27 |
| config.h.cmake.in | H A D | 25-Apr-2025 | 1 KiB | 39 | 27 |
| configure.ac | H A D | 25-Apr-2025 | 30.2 KiB | 1,093 | 980 |
| debugXML.c | H A D | 25-Apr-2025 | 43.8 KiB | 1,561 | 1,231 |
| dict.c | H A D | 25-Apr-2025 | 24.1 KiB | 1,043 | 596 |
| encoding.c | H A D | 25-Apr-2025 | 72.8 KiB | 2,727 | 1,811 |
| entities.c | H A D | 25-Apr-2025 | 25.4 KiB | 969 | 620 |
| error.c | H A D | 25-Apr-2025 | 39.5 KiB | 1,356 | 964 |
| globals.c | H A D | 25-Apr-2025 | 31.4 KiB | 1,243 | 672 |
| hash.c | H A D | 25-Apr-2025 | 34.4 KiB | 1,346 | 723 |
| html5ent.inc | H A D | 25-Apr-2025 | 122.3 KiB | 1,608 | 1,604 |
| iso8859x.inc | H A D | 25-Apr-2025 | 46.1 KiB | 731 | 701 |
| legacy.c | H A D | 25-Apr-2025 | 23 KiB | 1,074 | 786 |
| libxml-2.0.pc.in | H A D | 25-Apr-2025 | 362 | 13 | 11 |
| libxml.h | H A D | 25-Apr-2025 | 2 KiB | 81 | 50 |
| libxml.m4 | H A D | 25-Apr-2025 | 529 | 17 | 14 |
| libxml2-config.cmake.cmake.in | H A D | 25-Apr-2025 | 6.9 KiB | 168 | 146 |
| libxml2-config.cmake.in | H A D | 25-Apr-2025 | 5.7 KiB | 146 | 126 |
| libxml2.doap | H A D | 25-Apr-2025 | 1.8 KiB | 40 | 36 |
| libxml2.syms | H A D | 25-Apr-2025 | 44 KiB | 2,286 | 2,026 |
| list.c | H A D | 25-Apr-2025 | 15.3 KiB | 765 | 390 |
| meson.build | H A D | 25-Apr-2025 | 15.5 KiB | 611 | 512 |
| meson_options.txt | H A D | 25-Apr-2025 | 3.1 KiB | 202 | 167 |
| nanohttp.c | H A D | 25-Apr-2025 | 44.8 KiB | 1,808 | 1,248 |
| parser.c | H A D | 25-Apr-2025 | 381.9 KiB | 14,122 | 8,707 |
| parserInternals.c | H A D | 25-Apr-2025 | 88.8 KiB | 3,427 | 1,871 |
| pattern.c | H A D | 25-Apr-2025 | 57.6 KiB | 2,416 | 1,659 |
| post_update.sh | H A D | 25-Apr-2025 | 353 | 28 | 18 |
| relaxng.c | H A D | 25-Apr-2025 | 349.6 KiB | 10,871 | 8,297 |
| runsuite.c | H A D | 25-Apr-2025 | 30.9 KiB | 1,149 | 973 |
| runtest.c | H A D | 25-Apr-2025 | 141.8 KiB | 5,524 | 4,163 |
| runxmlconf.c | H A D | 25-Apr-2025 | 15.9 KiB | 600 | 484 |
| schematron.c | H A D | 25-Apr-2025 | 60.3 KiB | 2,050 | 1,431 |
| shell.c | H A D | 25-Apr-2025 | 49.2 KiB | 1,630 | 1,255 |
| testModule.c | H A D | 25-Apr-2025 | 1.8 KiB | 85 | 59 |
| testapi.c | H A D | 25-Apr-2025 | 1.2 MiB | 45,790 | 38,527 |
| testchar.c | H A D | 25-Apr-2025 | 25.1 KiB | 1,019 | 758 |
| testdict.c | H A D | 25-Apr-2025 | 21 KiB | 829 | 643 |
| testdso.c | H A D | 25-Apr-2025 | 166 | 13 | 9 |
| testlimits.c | H A D | 25-Apr-2025 | 32.8 KiB | 1,322 | 803 |
| testparser.c | H A D | 25-Apr-2025 | 19 KiB | 796 | 650 |
| testrecurse.c | H A D | 25-Apr-2025 | 25.1 KiB | 947 | 676 |
| threads.c | H A D | 25-Apr-2025 | 11.4 KiB | 534 | 306 |
| timsort.h | H A D | 25-Apr-2025 | 13.9 KiB | 604 | 436 |
| tree.c | H A D | 25-Apr-2025 | 230.7 KiB | 9,257 | 5,603 |
| uri.c | H A D | 25-Apr-2025 | 69.3 KiB | 2,813 | 1,791 |
| valid.c | H A D | 25-Apr-2025 | 181.8 KiB | 6,906 | 4,614 |
| xinclude.c | H A D | 25-Apr-2025 | 59.4 KiB | 2,225 | 1,489 |
| xlink.c | H A D | 25-Apr-2025 | 4.3 KiB | 172 | 69 |
| xml2-config.in | H A D | 25-Apr-2025 | 1.8 KiB | 109 | 86 |
| xmlIO.c | H A D | 25-Apr-2025 | 65.6 KiB | 2,784 | 1,582 |
| xmlcatalog.c | H A D | 25-Apr-2025 | 15.1 KiB | 635 | 531 |
| xmllint.c | H A D | 25-Apr-2025 | 91.9 KiB | 3,522 | 2,896 |
| xmlmemory.c | H A D | 25-Apr-2025 | 12.4 KiB | 562 | 262 |
| xmlmodule.c | H A D | 25-Apr-2025 | 6.3 KiB | 301 | 139 |
| xmlreader.c | H A D | 25-Apr-2025 | 152.2 KiB | 5,481 | 3,678 |
| xmlregexp.c | H A D | 25-Apr-2025 | 210.1 KiB | 7,964 | 5,851 |
| xmlsave.c | H A D | 25-Apr-2025 | 81.9 KiB | 2,891 | 1,906 |
| xmlschemas.c | H A D | 25-Apr-2025 | 803.3 KiB | 28,879 | 19,064 |
| xmlschemastypes.c | H A D | 25-Apr-2025 | 177.4 KiB | 6,196 | 4,528 |
| xmlstring.c | H A D | 25-Apr-2025 | 29.9 KiB | 1,203 | 662 |
| xmlunicode.c | H A D | 25-Apr-2025 | 100 KiB | 3,179 | 1,619 |
| xmlwriter.c | H A D | 25-Apr-2025 | 121 KiB | 4,740 | 3,157 |
| xpath.c | H A D | 25-Apr-2025 | 346.1 KiB | 12,870 | 8,325 |
| xpointer.c | H A D | 25-Apr-2025 | 17.5 KiB | 673 | 387 |
| xzlib.c | H A D | 25-Apr-2025 | 24.2 KiB | 822 | 637 |
README.md
1# libxml2
2
3libxml2 is an XML toolkit implemented in C, originally developed for
4the GNOME Project.
5
6Official releases can be downloaded from
7<https://download.gnome.org/sources/libxml2/>
8
9The git repository is hosted on GNOME's GitLab server:
10<https://gitlab.gnome.org/GNOME/libxml2>
11
12Bugs should be reported at
13<https://gitlab.gnome.org/GNOME/libxml2/-/issues>
14
15Documentation is available at
16<https://gitlab.gnome.org/GNOME/libxml2/-/wikis>
17
18## License
19
20This code is released under the MIT License, see the Copyright file.
21
22## Build instructions
23
24libxml2 can be built with GNU Autotools, CMake, meson or several other
25build systems in platform-specific subdirectories.
26
27### Autotools (for POSIX systems like Linux, BSD, macOS)
28
29If you build from a Git tree, you have to install Autotools and start
30by generating the configuration files with:
31
32 ./autogen.sh [configuration options]
33
34If you build from a source tarball, extract the archive with:
35
36 tar xf libxml2-xxx.tar.gz
37 cd libxml2-xxx
38
39Then you can configure and build the library:
40
41 ./configure [configuration options]
42 make
43
44The following options disable or enable code modules and relevant symbols:
45
46 --with-c14n Canonical XML 1.0 support (on)
47 --with-catalog XML Catalogs support (on)
48 --with-debug debugging module (on)
49 --with-history history support for xmllint shell (off)
50 --with-readline[=DIR] use readline in DIR for shell (off)
51 --with-html HTML parser (on)
52 --with-http HTTP support (off)
53 --with-iconv[=DIR] iconv support (on)
54 --with-icu ICU support (off)
55 --with-iso8859x ISO-8859-X support if no iconv (on)
56 --with-lzma[=DIR] use liblzma in DIR (off)
57 --with-modules dynamic modules support (on)
58 --with-output serialization support (on)
59 --with-pattern xmlPattern selection interface (on)
60 --with-push push parser interfaces (on)
61 --with-python Python bindings (on)
62 --with-reader xmlReader parsing interface (on)
63 --with-regexps regular expressions support (on)
64 --with-sax1 older SAX1 interface (on)
65 --with-schemas XML Schemas 1.0 and RELAX NG support (on)
66 --with-schematron Schematron support (on)
67 --with-threads multithreading support (on)
68 --with-thread-alloc per-thread malloc hooks (off)
69 --with-tree DOM like tree manipulation APIs (on)
70 --with-valid DTD validation support (on)
71 --with-writer xmlWriter serialization interface (on)
72 --with-xinclude XInclude 1.0 support (on)
73 --with-xpath XPath 1.0 support (on)
74 --with-xptr XPointer support (on)
75 --with-zlib[=DIR] use libz in DIR (off)
76
77Other options:
78
79 --with-minimum build a minimally sized library (off)
80 --with-legacy maximum ABI compatibility (off)
81
82Note that by default, no optimization options are used. You have to
83enable them manually, for example with:
84
85 CFLAGS='-O2 -fno-semantic-interposition' ./configure
86
87Now you can run the test suite with:
88
89 make check
90
91Please report test failures to the bug tracker.
92
93Then you can install the library:
94
95 make install
96
97At that point you may have to rerun ldconfig or a similar utility to
98update your list of installed shared libs.
99
100### CMake (mainly for Windows)
101
102Another option for compiling libxml is using CMake:
103
104 cmake -E tar xf libxml2-xxx.tar.gz
105 cmake -S libxml2-xxx -B libxml2-xxx-build [possible options]
106 cmake --build libxml2-xxx-build
107 cmake --install libxml2-xxx-build
108
109Common CMake options include:
110
111 -D BUILD_SHARED_LIBS=OFF # build static libraries
112 -D CMAKE_BUILD_TYPE=Release # specify build type
113 -D CMAKE_INSTALL_PREFIX=/usr/local # specify the install path
114 -D LIBXML2_WITH_ICONV=OFF # disable iconv
115 -D LIBXML2_WITH_LZMA=OFF # disable liblzma
116 -D LIBXML2_WITH_PYTHON=OFF # disable Python
117 -D LIBXML2_WITH_ZLIB=OFF # disable libz
118
119You can also open the libxml source directory with its CMakeLists.txt
120directly in various IDEs such as CLion, QtCreator, or Visual Studio.
121
122### Meson
123
124Libxml can also be built with meson. Without option, simply call
125
126 meson setup builddir
127 ninja -C builddir
128
129To add options, see the meson_options.txt file. For example:
130
131 meson setup \
132 -Dprefix=$prefix \
133 -Dhistory=enabled \
134 -Dhttp=enabled \
135 -Dschematron=disabled \
136 -Dzlib=enabled \
137 builddir
138
139To install libxml:
140
141 ninja -C builddir install
142
143To launch tests:
144
145 meson test -C builddir
146
147## Dependencies
148
149Libxml does not require any other libraries. A platform with somewhat
150recent POSIX support should be sufficient (please report any violation
151to this rule you may find).
152
153The iconv function is required for conversion of character encodings.
154This function is part of POSIX.1-2001. If your platform doesn't provide
155iconv, you need an external libiconv library, for example
156[GNU libiconv](https://www.gnu.org/software/libiconv/). Alternatively,
157you can use [ICU](https://icu.unicode.org/).
158
159If enabled, libxml uses [libz](https://zlib.net/) or
160[liblzma](https://tukaani.org/xz/) to support reading compressed files.
161Use of this feature is discouraged.
162
163## Contributing
164
165The current version of the code can be found in GNOME's GitLab at
166at <https://gitlab.gnome.org/GNOME/libxml2>. The best way to get involved
167is by creating issues and merge requests on GitLab.
168
169All code must conform to C89 and pass the GitLab CI tests. Add regression
170tests if possible.
171
172## Authors
173
174- Daniel Veillard
175- Bjorn Reese
176- William Brack
177- Igor Zlatkovic for the Windows port
178- Aleksey Sanin
179- Nick Wellnhofer
180
181
README.zOS
1Notes for compiling on zOS:
2
3- since testapi.c file is huge (over 52000 lines), it's compilation
4 fails: I skipped the problem by removing all references to testapi in the
5 Makefile.in, but it would be neater if one can build without test files
6 (I didn't find an option in configure...)
7
8- since the name of files (or qualifier) in PDS are limited to 8 I had to
9 rename xmlschemas.c and xmlschemastypes.c in (resp.) xmlsche.c xmlschet.c
10 (and I had to modify all occurrences of these files accordingly in the
11 rest of the Makefile !!!).
12
13- in order to copy objects to PDS, I had the cp command at line 860
14 of Makefile.in
15
16libxml2.la: $(libxml2_la_OBJECTS) $(libxml2_la_DEPENDENCIES)
17 $(AM_V_CCLD)$(libxml2_la_LINK) -rpath $(libdir) $(libxml2_la_OBJECTS) $(libxml2_la_LIBADD) $(LIBS)
18 # Copy objects to PDS
19 @list='$(libxml2_OBJECTS)' ; for p in $$list; do \
20 cp -ACMv $$p "//'<PDS NAME>'"; \
21 done
22
23 with <PDS NAME> stands for the name of my PDS and
24
25libxml2_OBJECTS = SAX.o entities.o encoding.o error.o \
26 parserInternals.o parser.o tree.o hash.o list.o xmlIO.o \
27 xmlmemory.o uri.o valid.o xlink.o HTMLparser.o \
28 HTMLtree.o debugXML.o xpath.o xpointer.o xinclude.o \
29 nanohttp.o nanoftp.o triostr.o trio.o catalog.o globals.o \
30 threads.o c14n.o xmlstring.o buf.o xmlregexp.o \
31 xmlsche.o xmlschet.o xmlunicode.o \
32 xmlreader.o relaxng.o dict.o SAX2.o \
33 xmlwriter.o legacy.o chvalid.o pattern.o xmlsave.o \
34 xmlmodule.o schematron.o xzlib.o
35
36In order to handle the support of zOS without breaking the existing
37Makefile maybe a new option/flag zOs would copy xmlschemas.c and
38xmlschemastypes.c files and use specifics targets rather than existing
39ones with the longer names... A variable to handle the PDS name has to
40be provided also...
41
42See patch below for set of changes to Makefile.in
43
44Stéphane Michaut <[email protected]>
45July 2017
46
47
48--- Makefile.in 2017-08-01 08:17:15.000000000 +0200
49+++ Makefile-new.in 2017-08-01 08:07:26.000000000 +0200
50@@ -41,7 +41,7 @@
51 testSAX$(EXEEXT) testHTML$(EXEEXT) testXPath$(EXEEXT) \
52 testURI$(EXEEXT) testThreads$(EXEEXT) testC14N$(EXEEXT) \
53 testAutomata$(EXEEXT) testRegexp$(EXEEXT) testReader$(EXEEXT) \
54- testapi$(EXEEXT) testModule$(EXEEXT) runtest$(EXEEXT) \
55+ testModule$(EXEEXT) runtest$(EXEEXT) \
56 runsuite$(EXEEXT) testchar$(EXEEXT) testdict$(EXEEXT) \
57 runxmlconf$(EXEEXT) testrecurse$(EXEEXT) testlimits$(EXEEXT)
58 bin_PROGRAMS = xmllint$(EXEEXT) xmlcatalog$(EXEEXT)
59@@ -106,6 +106,7 @@
60 debugXML.c xpath.c xpointer.c xinclude.c nanohttp.c nanoftp.c \
61 DOCBparser.c catalog.c globals.c threads.c c14n.c xmlstring.c \
62 buf.c xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c \
63+ xmlsche.c xmlschet.c \
64 triostr.c trio.c xmlreader.c relaxng.c dict.c SAX2.c \
65 xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c xmlmodule.c \
66 schematron.c xzlib.c
67@@ -118,10 +119,24 @@
68 nanohttp.lo nanoftp.lo $(am__objects_1) catalog.lo globals.lo \
69 threads.lo c14n.lo xmlstring.lo buf.lo xmlregexp.lo \
70 xmlschemas.lo xmlschemastypes.lo xmlunicode.lo \
71+ xmlsche.lo xmlschet.lo \
72 $(am__objects_2) xmlreader.lo relaxng.lo dict.lo SAX2.lo \
73 xmlwriter.lo legacy.lo chvalid.lo pattern.lo xmlsave.lo \
74 xmlmodule.lo schematron.lo xzlib.lo
75 libxml2_la_OBJECTS = $(am_libxml2_la_OBJECTS)
76+
77+libxml2_OBJECTS = SAX.o entities.o encoding.o error.o \
78+ parserInternals.o parser.o tree.o hash.o list.o xmlIO.o \
79+ xmlmemory.o uri.o valid.o xlink.o HTMLparser.o \
80+ HTMLtree.o debugXML.o xpath.o xpointer.o xinclude.o \
81+ nanohttp.o nanoftp.o triostr.o trio.o catalog.o globals.o \
82+ threads.o c14n.o xmlstring.o buf.o xmlregexp.o \
83+ xmlschemas.o xmlschemastypes.o xmlunicode.o \
84+ xmlsche.o xmlschemast.o \
85+ xmlreader.o relaxng.o dict.o SAX2.o \
86+ xmlwriter.o legacy.o chvalid.o pattern.o xmlsave.o \
87+ xmlmodule.o schematron.o xzlib.o
88+
89 AM_V_lt = $(am__v_lt_$(V))
90 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
91 am__v_lt_0 = --silent
92@@ -216,11 +231,6 @@
93 testXPath_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
94 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
95 $(testXPath_LDFLAGS) $(LDFLAGS) -o $@
96-am_testapi_OBJECTS = testapi.$(OBJEXT)
97-testapi_OBJECTS = $(am_testapi_OBJECTS)
98-testapi_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
99- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
100- $(testapi_LDFLAGS) $(LDFLAGS) -o $@
101 am_testchar_OBJECTS = testchar.$(OBJEXT)
102 testchar_OBJECTS = $(am_testchar_OBJECTS)
103 testchar_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
104@@ -285,7 +295,7 @@
105 $(testReader_SOURCES) $(testRegexp_SOURCES) \
106 $(testRelax_SOURCES) $(testSAX_SOURCES) $(testSchemas_SOURCES) \
107 $(testThreads_SOURCES) $(testURI_SOURCES) $(testXPath_SOURCES) \
108- $(testapi_SOURCES) $(testchar_SOURCES) $(testdict_SOURCES) \
109+ $(testchar_SOURCES) $(testdict_SOURCES) \
110 $(testlimits_SOURCES) $(testrecurse_SOURCES) \
111 $(xmlcatalog_SOURCES) $(xmllint_SOURCES)
112 DIST_SOURCES = $(am__libxml2_la_SOURCES_DIST) $(testdso_la_SOURCES) \
113@@ -295,7 +305,7 @@
114 $(testReader_SOURCES) $(testRegexp_SOURCES) \
115 $(testRelax_SOURCES) $(testSAX_SOURCES) $(testSchemas_SOURCES) \
116 $(am__testThreads_SOURCES_DIST) $(testURI_SOURCES) \
117- $(testXPath_SOURCES) $(testapi_SOURCES) $(testchar_SOURCES) \
118+ $(testXPath_SOURCES) $(testchar_SOURCES) \
119 $(testdict_SOURCES) $(testlimits_SOURCES) \
120 $(testrecurse_SOURCES) $(xmlcatalog_SOURCES) \
121 $(xmllint_SOURCES)
122@@ -700,11 +710,6 @@
123 noinst_LTLIBRARIES = testdso.la
124 testdso_la_SOURCES = testdso.c
125 testdso_la_LDFLAGS = -module -no-undefined -avoid-version -rpath $(libdir)
126-BUILT_SOURCES = testapi.c
127-testapi_SOURCES = testapi.c
128-testapi_LDFLAGS =
129-testapi_DEPENDENCIES = $(DEPS)
130-testapi_LDADD = $(LDADDS)
131 runxmlconf_SOURCES = runxmlconf.c
132 runxmlconf_LDFLAGS =
133 runxmlconf_DEPENDENCIES = $(DEPS)
134@@ -854,6 +859,12 @@
135 done
136 libxml2.la: $(libxml2_la_OBJECTS) $(libxml2_la_DEPENDENCIES)
137 $(AM_V_CCLD)$(libxml2_la_LINK) -rpath $(libdir) $(libxml2_la_OBJECTS) $(libxml2_la_LIBADD) $(LIBS)
138+ # Copie des obj
139+ @list='$(libxml2_OBJECTS)' ; for p in $$list; do \
140+ echo "copy to PDS: $$p"; \
141+ cp -ACMv $$p "//'A009153.XRDEV230.FIC.OBJLIB.LIBXML'"; \
142+ done
143+
144 testdso.la: $(testdso_la_OBJECTS) $(testdso_la_DEPENDENCIES)
145 $(AM_V_CCLD)$(testdso_la_LINK) $(testdso_la_OBJECTS) $(testdso_la_LIBADD) $(LIBS)
146 install-binPROGRAMS: $(bin_PROGRAMS)
147@@ -953,9 +964,6 @@
148 testXPath$(EXEEXT): $(testXPath_OBJECTS) $(testXPath_DEPENDENCIES)
149 @rm -f testXPath$(EXEEXT)
150 $(AM_V_CCLD)$(testXPath_LINK) $(testXPath_OBJECTS) $(testXPath_LDADD) $(LIBS)
151-testapi$(EXEEXT): $(testapi_OBJECTS) $(testapi_DEPENDENCIES)
152- @rm -f testapi$(EXEEXT)
153- $(AM_V_CCLD)$(testapi_LINK) $(testapi_OBJECTS) $(testapi_LDADD) $(LIBS)
154 testchar$(EXEEXT): $(testchar_OBJECTS) $(testchar_DEPENDENCIES)
155 @rm -f testchar$(EXEEXT)
156 $(AM_V_CCLD)$(testchar_LINK) $(testchar_OBJECTS) $(testchar_LDADD) $(LIBS)
157@@ -1056,7 +1064,6 @@
158 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testThreadsWin32.Po@am__quote@
159 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testURI.Po@am__quote@
160 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testXPath.Po@am__quote@
161-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testapi.Po@am__quote@
162 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testchar.Po@am__quote@
163 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdict.Po@am__quote@
164 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testdso.Plo@am__quote@
165@@ -1755,18 +1762,6 @@
166 uninstall-local uninstall-m4dataDATA uninstall-man \
167 uninstall-man1 uninstall-man3 uninstall-pkgconfigDATA
168
169-
170-# that one forces the rebuild when "make rebuild" is run on doc/
171-rebuild_testapi:
172- -@(if [ "$(PYTHON)" != "" ] ; then \
173- $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
174-
175-# that one is just to make sure it is rebuilt if missing
176-# but adding the dependances generate mess
177-testapi.c: $(srcdir)/gentest.py
178- -@(if [ "$(PYTHON)" != "" ] ; then \
179- $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
180-
181 #testOOM_SOURCES=testOOM.c testOOMlib.h testOOMlib.c
182 #testOOM_LDFLAGS =
183 #testOOM_DEPENDENCIES = $(DEPS)
184@@ -1775,7 +1770,7 @@
185 runtests:
186 [ -d test ] || $(LN_S) $(srcdir)/test .
187 [ -d result ] || $(LN_S) $(srcdir)/result .
188- $(CHECKER) ./runtest$(EXEEXT) && $(CHECKER) ./testrecurse$(EXEEXT) &&$(CHECKER) ./testapi$(EXEEXT) && $(CHECKER) ./testchar$(EXEEXT)&& $(CHECKER) ./testdict$(EXEEXT) && $(CHECKER) ./runxmlconf$(EXEEXT)
189+ $(CHECKER) ./runtest$(EXEEXT) && $(CHECKER) ./testrecurse$(EXEEXT) &&$(CHECKER) && $(CHECKER) ./testchar$(EXEEXT)&& $(CHECKER) ./testdict$(EXEEXT) && $(CHECKER) ./runxmlconf$(EXEEXT)
190 @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
191 $(MAKE) tests ; fi)
192
193@@ -1797,10 +1792,6 @@
194 $(MAKE) tests ; fi)
195 @(cd doc/examples ; $(MAKE) tests)
196
197-APItests: testapi$(EXEEXT)
198- @echo "## Running the API regression tests this may take a little while"
199- -@($(CHECKER) $(top_builddir)/testapi -q)
200-
201 HTMLtests : testHTML$(EXEEXT)
202 @(echo > .memdump)
203 @echo "## HTML regression tests"
204@@ -2746,7 +2737,7 @@
205 dist-test: distdir
206 (mkdir -p $(distdir))
207 (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn --exclude .git xstc/Tests) | (cd $(distdir); tar xf -)
208- 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
209+ tar -cf - $(distdir)/test $(distdir)/result $(distdir)/xstc/Tests $(distdir)/Makefile.tests $(distdir)/README $(distdir)/README.tests $(distdir)/AUTHORS $(distdir)/runtest.c $(distdir)/runsuite.c | GZIP=$(GZIP_ENV) gzip -c >`echo "$(distdir)" | sed "s+libxml2+libxml2-tests+"`.tar.gz
210 @(rm -rf $(distdir)/xstc/Test)
211
212 cleantar:
213