|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| VxWorks/ | | 03-May-2024 | - | 241 | 184 |
| bakefile/ | | 03-May-2024 | - | 854 | 519 |
| doc/ | | 03-May-2024 | - | 138,271 | 134,300 |
| example/ | | 03-May-2024 | - | 376 | 255 |
| fuzz/ | | 03-May-2024 | - | 2,171 | 1,639 |
| include/ | | 03-May-2024 | - | 15,318 | 9,687 |
| macos/ | | 03-May-2024 | - | 514 | 404 |
| optim/ | | 03-May-2024 | - | 294 | 272 |
| os400/ | | 03-May-2024 | - | 33,252 | 27,429 |
| python/ | | 03-May-2024 | - | 12,548 | 10,070 |
| result/ | | 03-May-2024 | - | 268,507 | 241,073 |
| test/ | | 03-May-2024 | - | 112,776 | 101,594 |
| vms/ | | 03-May-2024 | - | 766 | 672 |
| win32/ | | 03-May-2024 | - | 12,009 | 10,602 |
| xstc/ | | 03-May-2024 | - | 1,041 | 778 |
| .gitattributes | D | 03-May-2024 | 32 | 3 | 2 |
| .gitignore | D | 03-May-2024 | 1.7 KiB | 128 | 127 |
| .gitlab-ci.yml | D | 03-May-2024 | 8.4 KiB | 291 | 250 |
| Android.bp | D | 03-May-2024 | 36.8 KiB | 1,111 | 1,089 |
| CMakeLists.txt | D | 03-May-2024 | 23.8 KiB | 756 | 696 |
| CleanSpec.mk | D | 03-May-2024 | 2.3 KiB | 53 | 2 |
| Copyright | D | 03-May-2024 | 1.3 KiB | 24 | 19 |
| DOCBparser.c | D | 03-May-2024 | 8.5 KiB | 305 | 138 |
| HTMLparser.c | D | 03-May-2024 | 208.3 KiB | 7,281 | 5,080 |
| HTMLtree.c | D | 03-May-2024 | 33.1 KiB | 1,199 | 755 |
| METADATA | D | 03-May-2024 | 855 | 27 | 26 |
| MODULE_LICENSE_MIT | D | 03-May-2024 | 0 | | |
| Makefile.am | D | 03-May-2024 | 58.2 KiB | 1,326 | 1,196 |
| Makefile.tests | D | 03-May-2024 | 913 | 42 | 24 |
| NEWS | D | 03-May-2024 | 179.5 KiB | 3,569 | 3,170 |
| NOTICE | D | 03-May-2024 | 1.3 KiB | 24 | 19 |
| OWNERS | D | 03-May-2024 | 46 | 2 | 1 |
| README.md | D | 03-May-2024 | 3.8 KiB | 127 | 85 |
| README.tests | D | 03-May-2024 | 1.4 KiB | 40 | 29 |
| README.zOS | D | 03-May-2024 | 9.6 KiB | 213 | 197 |
| SAX.c | D | 03-May-2024 | 5.4 KiB | 179 | 131 |
| SAX2.c | D | 03-May-2024 | 85.1 KiB | 3,056 | 2,114 |
| TODO | D | 03-May-2024 | 11.1 KiB | 277 | 235 |
| TODO_SCHEMAS | D | 03-May-2024 | 922 | 32 | 23 |
| acinclude.m4 | D | 03-May-2024 | 812 | 29 | 27 |
| autogen.sh | D | 03-May-2024 | 2.3 KiB | 97 | 78 |
| buf.c | D | 03-May-2024 | 33.3 KiB | 1,350 | 806 |
| buf.h | D | 03-May-2024 | 2.3 KiB | 73 | 42 |
| build_glob.py | D | 03-May-2024 | 5.1 KiB | 123 | 91 |
| c14n.c | D | 03-May-2024 | 69.1 KiB | 2,234 | 1,286 |
| catalog.c | D | 03-May-2024 | 96.9 KiB | 3,829 | 2,607 |
| check-relaxng-test-suite.py | D | 03-May-2024 | 9.8 KiB | 395 | 295 |
| check-relaxng-test-suite2.py | D | 03-May-2024 | 10.3 KiB | 419 | 300 |
| check-xinclude-test-suite.py | D | 03-May-2024 | 5.2 KiB | 222 | 183 |
| check-xml-test-suite.py | D | 03-May-2024 | 9.4 KiB | 410 | 320 |
| check-xsddata-test-suite.py | D | 03-May-2024 | 10.4 KiB | 421 | 313 |
| chvalid.c | D | 03-May-2024 | 11.9 KiB | 335 | 205 |
| chvalid.def | D | 03-May-2024 | 5.9 KiB | 362 | 354 |
| config.h | D | 03-May-2024 | 8.9 KiB | 335 | 84 |
| config.h.cmake.in | D | 03-May-2024 | 7.4 KiB | 257 | 173 |
| configure.ac | D | 03-May-2024 | 43.9 KiB | 1,657 | 1,528 |
| dbgen.pl | D | 03-May-2024 | 1.3 KiB | 44 | 34 |
| dbgenattr.pl | D | 03-May-2024 | 1.3 KiB | 43 | 33 |
| debugXML.c | D | 03-May-2024 | 101.7 KiB | 3,423 | 2,679 |
| dict.c | D | 03-May-2024 | 30.7 KiB | 1,297 | 865 |
| enc.h | D | 03-May-2024 | 827 | 33 | 15 |
| encoding.c | D | 03-May-2024 | 142.5 KiB | 3,978 | 2,970 |
| entities.c | D | 03-May-2024 | 31.7 KiB | 1,179 | 788 |
| error.c | D | 03-May-2024 | 26.7 KiB | 997 | 681 |
| genChRanges.py | D | 03-May-2024 | 15.1 KiB | 576 | 421 |
| genUnicode.py | D | 03-May-2024 | 12.6 KiB | 477 | 371 |
| gentest.py | D | 03-May-2024 | 29.9 KiB | 988 | 767 |
| global.data | D | 03-May-2024 | 1.1 KiB | 30 | 29 |
| globals.c | D | 03-May-2024 | 29 KiB | 1,125 | 753 |
| hash.c | D | 03-May-2024 | 29.4 KiB | 1,145 | 717 |
| legacy.c | D | 03-May-2024 | 37.8 KiB | 1,343 | 665 |
| libxml-2.0-uninstalled.pc.in | D | 03-May-2024 | 309 | 13 | 10 |
| libxml-2.0.pc.in | D | 03-May-2024 | 359 | 14 | 12 |
| libxml.3 | D | 03-May-2024 | 1.6 KiB | 72 | 70 |
| libxml.h | D | 03-May-2024 | 3.2 KiB | 124 | 68 |
| libxml.m4 | D | 03-May-2024 | 7.7 KiB | 192 | 180 |
| libxml.spec.in | D | 03-May-2024 | 6.4 KiB | 210 | 170 |
| libxml2-config.cmake.cmake.in | D | 03-May-2024 | 5.5 KiB | 137 | 115 |
| libxml2-config.cmake.in | D | 03-May-2024 | 4.6 KiB | 116 | 97 |
| libxml2.doap | D | 03-May-2024 | 1.6 KiB | 38 | 34 |
| libxml2.syms | D | 03-May-2024 | 44.2 KiB | 2,296 | 2,036 |
| list.c | D | 03-May-2024 | 15.9 KiB | 778 | 403 |
| nanoftp.c | D | 03-May-2024 | 51.8 KiB | 2,117 | 1,567 |
| nanohttp.c | D | 03-May-2024 | 47.3 KiB | 1,898 | 1,378 |
| parser.c | D | 03-May-2024 | 430 KiB | 15,571 | 10,609 |
| parserInternals.c | D | 03-May-2024 | 61.4 KiB | 2,165 | 1,345 |
| pattern.c | D | 03-May-2024 | 62 KiB | 2,620 | 1,831 |
| post_update.sh | D | 03-May-2024 | 195 | 9 | 3 |
| regressions.py | D | 03-May-2024 | 12.1 KiB | 351 | 248 |
| regressions.xml | D | 03-May-2024 | 6.2 KiB | 227 | 200 |
| relaxng.c | D | 03-May-2024 | 359.6 KiB | 11,102 | 8,552 |
| rngparser.c | D | 03-May-2024 | 46.5 KiB | 1,594 | 1,208 |
| runsuite.c | D | 03-May-2024 | 31 KiB | 1,158 | 980 |
| runtest.c | D | 03-May-2024 | 119.2 KiB | 4,690 | 3,523 |
| runxmlconf.c | D | 03-May-2024 | 15.9 KiB | 608 | 485 |
| save.h | D | 03-May-2024 | 1,018 | 37 | 19 |
| schematron.c | D | 03-May-2024 | 47 KiB | 1,787 | 1,247 |
| testAutomata.c | D | 03-May-2024 | 7.5 KiB | 310 | 273 |
| testC14N.c | D | 03-May-2024 | 9.6 KiB | 374 | 240 |
| testHTML.c | D | 03-May-2024 | 20.7 KiB | 881 | 547 |
| testModule.c | D | 03-May-2024 | 1.8 KiB | 83 | 59 |
| testOOM.c | D | 03-May-2024 | 8.3 KiB | 378 | 306 |
| testOOMlib.c | D | 03-May-2024 | 5.2 KiB | 270 | 159 |
| testOOMlib.h | D | 03-May-2024 | 623 | 27 | 16 |
| testReader.c | D | 03-May-2024 | 3.2 KiB | 146 | 115 |
| testRegexp.c | D | 03-May-2024 | 10.1 KiB | 403 | 364 |
| testRelax.c | D | 03-May-2024 | 4.4 KiB | 189 | 162 |
| testSAX.c | D | 03-May-2024 | 27 KiB | 1,199 | 797 |
| testSchemas.c | D | 03-May-2024 | 4.1 KiB | 180 | 153 |
| testThreads.c | D | 03-May-2024 | 6.6 KiB | 276 | 248 |
| testURI.c | D | 03-May-2024 | 3.1 KiB | 136 | 109 |
| testXPath.c | D | 03-May-2024 | 5.8 KiB | 230 | 201 |
| testapi.c | D | 03-May-2024 | 1.4 MiB | 52,173 | 43,933 |
| testchar.c | D | 03-May-2024 | 15.7 KiB | 618 | 415 |
| testdict.c | D | 03-May-2024 | 11.4 KiB | 445 | 340 |
| testdso.c | D | 03-May-2024 | 166 | 13 | 9 |
| testlimits.c | D | 03-May-2024 | 41.3 KiB | 1,639 | 1,074 |
| testrecurse.c | D | 03-May-2024 | 24.4 KiB | 966 | 715 |
| threads.c | D | 03-May-2024 | 26.5 KiB | 1,048 | 730 |
| timsort.h | D | 03-May-2024 | 13.8 KiB | 602 | 434 |
| tree.c | D | 03-May-2024 | 257.5 KiB | 10,194 | 6,706 |
| trio.c | D | 03-May-2024 | 156.8 KiB | 6,896 | 5,195 |
| trio.h | D | 03-May-2024 | 7.3 KiB | 231 | 156 |
| triodef.h | D | 03-May-2024 | 6.8 KiB | 229 | 168 |
| trionan.c | D | 03-May-2024 | 22.5 KiB | 915 | 545 |
| trionan.h | D | 03-May-2024 | 2 KiB | 85 | 29 |
| triop.h | D | 03-May-2024 | 5.6 KiB | 151 | 103 |
| triostr.c | D | 03-May-2024 | 41.1 KiB | 2,113 | 1,301 |
| triostr.h | D | 03-May-2024 | 8 KiB | 145 | 100 |
| uri.c | D | 03-May-2024 | 65.2 KiB | 2,561 | 1,581 |
| valid.c | D | 03-May-2024 | 191.3 KiB | 7,156 | 4,914 |
| xinclude.c | D | 03-May-2024 | 69 KiB | 2,654 | 1,819 |
| xlink.c | D | 03-May-2024 | 4.5 KiB | 182 | 87 |
| xml2-config.1 | D | 03-May-2024 | 1.2 KiB | 32 | 31 |
| xml2-config.in | D | 03-May-2024 | 1.8 KiB | 111 | 87 |
| xml2Conf.sh.in | D | 03-May-2024 | 210 | 9 | 7 |
| xmlIO.c | D | 03-May-2024 | 103.8 KiB | 4,139 | 2,525 |
| xmlcatalog.c | D | 03-May-2024 | 14.4 KiB | 610 | 515 |
| xmllint.c | D | 03-May-2024 | 100.5 KiB | 3,866 | 3,167 |
| xmlmemory.c | D | 03-May-2024 | 26.4 KiB | 1,162 | 784 |
| xmlmodule.c | D | 03-May-2024 | 10.5 KiB | 467 | 238 |
| xmlreader.c | D | 03-May-2024 | 163.3 KiB | 5,898 | 4,011 |
| xmlregexp.c | D | 03-May-2024 | 217.6 KiB | 8,271 | 6,162 |
| xmlsave.c | D | 03-May-2024 | 79 KiB | 2,734 | 1,852 |
| xmlschemas.c | D | 03-May-2024 | 812.3 KiB | 29,174 | 19,394 |
| xmlschemastypes.c | D | 03-May-2024 | 176.4 KiB | 6,280 | 4,575 |
| xmlstring.c | D | 03-May-2024 | 26.3 KiB | 1,054 | 580 |
| xmlunicode.c | D | 03-May-2024 | 99.8 KiB | 3,178 | 1,618 |
| xmlwriter.c | D | 03-May-2024 | 122.1 KiB | 4,737 | 3,171 |
| xpath.c | D | 03-May-2024 | 399.9 KiB | 14,735 | 9,902 |
| xpointer.c | D | 03-May-2024 | 75.4 KiB | 2,956 | 1,901 |
| xzlib.c | D | 03-May-2024 | 24.4 KiB | 824 | 642 |
| xzlib.h | D | 03-May-2024 | 620 | 20 | 9 |
README.md
1# libxml2
2
3libxml2 is an XML toolkit implemented in C, originally developed for
4the GNOME Project.
5
6Full documentation is available at
7<https://gitlab.gnome.org/GNOME/libxml2/-/wikis>.
8
9Bugs should be reported at
10<https://gitlab.gnome.org/GNOME/libxml2/-/issues>.
11
12A mailing list xml@gnome.org is available. You can subscribe at
13<https://mail.gnome.org/mailman/listinfo/xml>. The list archive is at
14<https://mail.gnome.org/archives/xml/>.
15
16## License
17
18This code is released under the MIT License, see the Copyright file.
19
20## Build instructions
21
22libxml2 can be built with GNU Autotools, CMake, or several other build
23systems in platform-specific subdirectories.
24
25### Autotools (for POSIX systems like Linux, BSD, macOS)
26
27If you build from a Git tree, you have to install Autotools and start
28by generating the configuration files with:
29
30 ./autogen.sh
31
32If you build from a source tarball, extract the archive with:
33
34 tar xf libxml2-xxx.tar.gz
35 cd libxml2-xxx
36
37To see a list of build options:
38
39 ./configure --help
40
41Also see the INSTALL file for additional instructions. Then you can
42configure and build the library:
43
44 ./configure [possible options]
45 make
46
47Note that by default, no optimization options are used. You have to
48enable them manually, for example with:
49
50 CFLAGS='-O2 -fno-semantic-interposition' ./configure
51
52Now you can run the test suite with:
53
54 make check
55
56Please report test failures to the mailing list or bug tracker.
57
58Then you can install the library:
59
60 make install
61
62At that point you may have to rerun ldconfig or a similar utility to
63update your list of installed shared libs.
64
65### CMake (mainly for Windows)
66
67Another option for compiling libxml is using CMake:
68
69 cmake -E tar xf libxml2-xxx.tar.gz
70 cmake -S libxml2-xxx -B libxml2-xxx-build [possible options]
71 cmake --build libxml2-xxx-build
72 cmake --install libxml2-xxx-build
73
74Common CMake options include:
75
76 -D BUILD_SHARED_LIBS=OFF # build static libraries
77 -D CMAKE_BUILD_TYPE=Release # specify build type
78 -D CMAKE_INSTALL_PREFIX=/usr/local # specify the install path
79 -D LIBXML2_WITH_ICONV=OFF # disable iconv
80 -D LIBXML2_WITH_LZMA=OFF # disable liblzma
81 -D LIBXML2_WITH_PYTHON=OFF # disable Python
82 -D LIBXML2_WITH_ZLIB=OFF # disable libz
83
84You can also open the libxml source directory with its CMakeLists.txt
85directly in various IDEs such as CLion, QtCreator, or Visual Studio.
86
87## Dependencies
88
89Libxml does not require any other libraries. A platform with somewhat
90recent POSIX support should be sufficient (please report any violation
91to this rule you may find).
92
93However, if found at configuration time, libxml will detect and use
94the following libraries:
95
96- [libz](https://zlib.net/), a highly portable and widely available
97 compression library.
98- [liblzma](https://tukaani.org/xz/), another compression library.
99- [libiconv](https://www.gnu.org/software/libiconv/), a character encoding
100 conversion library. The iconv function is part of POSIX.1-2001, so
101 libiconv isn't required on modern UNIX-like systems like Linux, BSD or
102 macOS.
103- [ICU](https://icu.unicode.org/), a Unicode library. Mainly useful as an
104 alternative to iconv on Windows. Unnecessary on most other systems.
105
106## Contributing
107
108The current version of the code can be found in GNOME's GitLab at
109at <https://gitlab.gnome.org/GNOME/libxml2>. The best way to get involved
110is by creating issues and merge requests on GitLab. Alternatively, you can
111start discussions and send patches to the mailing list. If you want to
112work with patches, please format them with git-format-patch and use plain
113text attachments.
114
115All code must conform to C89 and pass the GitLab CI tests. Add regression
116tests if possible.
117
118## Authors
119
120- Daniel Veillard
121- Bjorn Reese
122- William Brack
123- Igor Zlatkovic for the Windows port
124- Aleksey Sanin
125- Nick Wellnhofer
126
127
README.tests
1 README.tests
2
3 Instructions for standalone test regressions of libxml2
4
5libxml2-tests-$version.tar.gz contains 3 standalone C programs as well
6as a large amount of tests and results coming from libxml2 itself and
7from W3C, NIST, Sun Microsystems, Microsoft and James Clark. Each C
8program has a different testing purpose:
9
10 runtest.c : runs libxml2 basic internal regression tests
11 runsuite.c: runs libxml2 against external regression tests
12 testapi.c : exercises the library public entry points
13 testchar.c: exercise the check of character ranges and UTF-8 validation
14
15The command:
16
17 make check
18or
19 make -f Makefile.tests check
20
21should be sufficient on an Unix system to build and exercise the tests
22for the version of the library installed on the system. Note however
23that there isn't backward compatibility provided so if the installed
24version is older than the testsuite one, failing to compile or run the tests
25is likely. In any event this won't work with an installed libxml2 older
26than 2.6.20.
27
28Building on other platforms should be a matter of compiling the C files
29like any other program using libxml2, running the test should be done
30simply by launching the resulting executables.
31
32Also note the availability of a "make valgrind" target which will run the
33above tests under valgrind to check for memory errors (but this relies
34on the availability of the valgrind command and take far more time to
35complete).
36
37Daniel Veillard
38Mon May 7 2012
39
40
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 <smichaut@axway.com>
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