|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| .gitlab-ci/ | | 03-May-2024 | - | 123 | 90 |
| doc/ | | 03-May-2024 | - | 86,457 | 84,236 |
| example/ | | 03-May-2024 | - | 375 | 254 |
| fuzz/ | | 03-May-2024 | - | 2,571 | 1,950 |
| include/ | | 03-May-2024 | - | 15,575 | 9,925 |
| m4/ | | 03-May-2024 | - | 29 | 27 |
| os400/ | | 03-May-2024 | - | 33,162 | 27,369 |
| python/ | | 03-May-2024 | - | 12,572 | 10,087 |
| result/ | | 03-May-2024 | - | 268,637 | 241,227 |
| test/ | | 03-May-2024 | - | 113,045 | 101,770 |
| vms/ | | 03-May-2024 | - | 715 | 638 |
| win32/ | | 03-May-2024 | - | 2,051 | 1,602 |
| xstc/ | | 03-May-2024 | - | 1,041 | 778 |
| .editorconfig | D | 03-May-2024 | 201 | 16 | 11 |
| .gitattributes | D | 03-May-2024 | 32 | 3 | 2 |
| .gitignore | D | 03-May-2024 | 1.6 KiB | 119 | 118 |
| .gitlab-ci.yml | D | 03-May-2024 | 5.8 KiB | 276 | 241 |
| Android.bp | D | 03-May-2024 | 36.8 KiB | 1,112 | 1,090 |
| CMakeLists.txt | D | 03-May-2024 | 21.7 KiB | 694 | 631 |
| CleanSpec.mk | D | 03-May-2024 | 2.3 KiB | 53 | 2 |
| Copyright | D | 03-May-2024 | 1.3 KiB | 24 | 19 |
| HTMLparser.c | D | 03-May-2024 | 211.2 KiB | 7,328 | 5,107 |
| HTMLtree.c | D | 03-May-2024 | 33.4 KiB | 1,202 | 759 |
| MAINTAINERS.md | D | 03-May-2024 | 1.5 KiB | 66 | 37 |
| METADATA | D | 03-May-2024 | 1,011 | 32 | 29 |
| MODULE_LICENSE_MIT | D | 03-May-2024 | 0 | | |
| Makefile.am | D | 03-May-2024 | 16.2 KiB | 464 | 392 |
| NEWS | D | 03-May-2024 | 189.1 KiB | 3,820 | 3,386 |
| 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 | 129 | 86 |
| README.zOS | D | 03-May-2024 | 9.6 KiB | 213 | 197 |
| SAX.c | D | 03-May-2024 | 3.9 KiB | 132 | 95 |
| SAX2.c | D | 03-May-2024 | 84.2 KiB | 3,023 | 2,091 |
| autogen.sh | D | 03-May-2024 | 2.3 KiB | 96 | 77 |
| buf.c | D | 03-May-2024 | 27.5 KiB | 1,114 | 658 |
| build_glob.py | D | 03-May-2024 | 5.1 KiB | 122 | 90 |
| c14n.c | D | 03-May-2024 | 68.9 KiB | 2,228 | 1,280 |
| catalog.c | D | 03-May-2024 | 96.7 KiB | 3,817 | 2,596 |
| check-relaxng-test-suite.py | D | 03-May-2024 | 10.5 KiB | 399 | 297 |
| check-relaxng-test-suite2.py | D | 03-May-2024 | 11 KiB | 423 | 303 |
| check-xinclude-test-suite.py | D | 03-May-2024 | 5.8 KiB | 221 | 182 |
| check-xml-test-suite.py | D | 03-May-2024 | 10 KiB | 409 | 319 |
| check-xsddata-test-suite.py | D | 03-May-2024 | 11.2 KiB | 425 | 315 |
| chvalid.c | D | 03-May-2024 | 11.9 KiB | 337 | 206 |
| chvalid.def | D | 03-May-2024 | 5.9 KiB | 362 | 354 |
| config.h | D | 03-May-2024 | 5.2 KiB | 187 | 52 |
| config.h.cmake.in | D | 03-May-2024 | 4.4 KiB | 152 | 103 |
| configure.ac | D | 03-May-2024 | 32.6 KiB | 1,145 | 1,053 |
| 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.9 KiB | 3,427 | 2,681 |
| dict.c | D | 03-May-2024 | 29.9 KiB | 1,267 | 846 |
| encoding.c | D | 03-May-2024 | 143 KiB | 4,011 | 3,003 |
| entities.c | D | 03-May-2024 | 30.6 KiB | 1,154 | 762 |
| error.c | D | 03-May-2024 | 27.4 KiB | 1,025 | 702 |
| genChRanges.py | D | 03-May-2024 | 17.7 KiB | 578 | 422 |
| genUnicode.py | D | 03-May-2024 | 12.6 KiB | 477 | 371 |
| gentest.py | D | 03-May-2024 | 30.5 KiB | 984 | 764 |
| global.data | D | 03-May-2024 | 1.1 KiB | 30 | 29 |
| globals.c | D | 03-May-2024 | 28.9 KiB | 1,121 | 704 |
| hash.c | D | 03-May-2024 | 30.4 KiB | 1,190 | 759 |
| legacy.c | D | 03-May-2024 | 37.8 KiB | 1,343 | 665 |
| libxml-2.0-uninstalled.pc.in | D | 03-May-2024 | 284 | 14 | 12 |
| libxml-2.0.pc.in | D | 03-May-2024 | 293 | 14 | 12 |
| libxml.h | D | 03-May-2024 | 1.4 KiB | 63 | 34 |
| libxml.m4 | D | 03-May-2024 | 453 | 15 | 12 |
| 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 | 1.7 KiB | 53 | 51 |
| list.c | D | 03-May-2024 | 15.9 KiB | 778 | 403 |
| nanoftp.c | D | 03-May-2024 | 51.5 KiB | 2,100 | 1,550 |
| nanohttp.c | D | 03-May-2024 | 48 KiB | 1,929 | 1,371 |
| parser.c | D | 03-May-2024 | 425.8 KiB | 15,384 | 10,286 |
| parserInternals.c | D | 03-May-2024 | 62.1 KiB | 2,227 | 1,374 |
| pattern.c | D | 03-May-2024 | 61.6 KiB | 2,598 | 1,810 |
| post_update.sh | D | 03-May-2024 | 195 | 9 | 3 |
| relaxng.c | D | 03-May-2024 | 359.6 KiB | 11,102 | 8,549 |
| rngparser.c | D | 03-May-2024 | 46.5 KiB | 1,594 | 1,208 |
| runsuite.c | D | 03-May-2024 | 31.4 KiB | 1,172 | 989 |
| runtest.c | D | 03-May-2024 | 136.8 KiB | 5,323 | 4,047 |
| runxmlconf.c | D | 03-May-2024 | 15.8 KiB | 603 | 480 |
| schematron.c | D | 03-May-2024 | 61.3 KiB | 2,063 | 1,454 |
| testModule.c | D | 03-May-2024 | 1.8 KiB | 85 | 60 |
| testOOM.c | D | 03-May-2024 | 8.1 KiB | 366 | 295 |
| testOOMlib.c | D | 03-May-2024 | 5.1 KiB | 267 | 157 |
| testOOMlib.h | D | 03-May-2024 | 568 | 23 | 13 |
| testThreads.c | D | 03-May-2024 | 5.1 KiB | 215 | 191 |
| testapi.c | D | 03-May-2024 | 1.3 MiB | 51,226 | 43,126 |
| testchar.c | D | 03-May-2024 | 16.9 KiB | 690 | 487 |
| testdict.c | D | 03-May-2024 | 11.5 KiB | 447 | 340 |
| testdso.c | D | 03-May-2024 | 166 | 13 | 9 |
| testlimits.c | D | 03-May-2024 | 41 KiB | 1,629 | 1,064 |
| testrecurse.c | D | 03-May-2024 | 32.5 KiB | 1,215 | 913 |
| threads.c | D | 03-May-2024 | 22.5 KiB | 906 | 575 |
| timsort.h | D | 03-May-2024 | 13.8 KiB | 602 | 434 |
| tree.c | D | 03-May-2024 | 261.3 KiB | 10,273 | 6,721 |
| trio.c | D | 03-May-2024 | 156.8 KiB | 6,893 | 5,193 |
| 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.7 KiB | 2,576 | 1,589 |
| valid.c | D | 03-May-2024 | 191.1 KiB | 7,156 | 4,914 |
| xinclude.c | D | 03-May-2024 | 65.4 KiB | 2,511 | 1,722 |
| xlink.c | D | 03-May-2024 | 4.2 KiB | 166 | 71 |
| xml2-config.in | D | 03-May-2024 | 1.8 KiB | 109 | 86 |
| xmlIO.c | D | 03-May-2024 | 101 KiB | 4,065 | 2,474 |
| xmlcatalog.c | D | 03-May-2024 | 14.5 KiB | 610 | 515 |
| xmllint.c | D | 03-May-2024 | 97.9 KiB | 3,756 | 3,078 |
| xmlmemory.c | D | 03-May-2024 | 24.6 KiB | 1,072 | 699 |
| xmlmodule.c | D | 03-May-2024 | 8.3 KiB | 354 | 183 |
| xmlreader.c | D | 03-May-2024 | 163 KiB | 5,882 | 3,994 |
| xmlregexp.c | D | 03-May-2024 | 220.1 KiB | 8,366 | 6,242 |
| xmlsave.c | D | 03-May-2024 | 77.8 KiB | 2,696 | 1,829 |
| xmlschemas.c | D | 03-May-2024 | 813.3 KiB | 29,203 | 19,407 |
| xmlschemastypes.c | D | 03-May-2024 | 177.7 KiB | 6,324 | 4,613 |
| xmlstring.c | D | 03-May-2024 | 25.9 KiB | 1,047 | 572 |
| xmlunicode.c | D | 03-May-2024 | 100 KiB | 3,178 | 1,618 |
| xmlwriter.c | D | 03-May-2024 | 122 KiB | 4,738 | 3,172 |
| xpath.c | D | 03-May-2024 | 400.6 KiB | 14,746 | 9,914 |
| xpointer.c | D | 03-May-2024 | 75.8 KiB | 2,975 | 1,919 |
| xzlib.c | D | 03-May-2024 | 24.3 KiB | 818 | 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, or several other build
25systems 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
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
39To see a list of build options:
40
41 ./configure --help
42
43Also see the INSTALL file for additional instructions. Then you can
44configure and build the library:
45
46 ./configure [possible options]
47 make
48
49Note that by default, no optimization options are used. You have to
50enable them manually, for example with:
51
52 CFLAGS='-O2 -fno-semantic-interposition' ./configure
53
54Now you can run the test suite with:
55
56 make check
57
58Please report test failures to the mailing list or bug tracker.
59
60Then you can install the library:
61
62 make install
63
64At that point you may have to rerun ldconfig or a similar utility to
65update your list of installed shared libs.
66
67### CMake (mainly for Windows)
68
69Another option for compiling libxml is using CMake:
70
71 cmake -E tar xf libxml2-xxx.tar.gz
72 cmake -S libxml2-xxx -B libxml2-xxx-build [possible options]
73 cmake --build libxml2-xxx-build
74 cmake --install libxml2-xxx-build
75
76Common CMake options include:
77
78 -D BUILD_SHARED_LIBS=OFF # build static libraries
79 -D CMAKE_BUILD_TYPE=Release # specify build type
80 -D CMAKE_INSTALL_PREFIX=/usr/local # specify the install path
81 -D LIBXML2_WITH_ICONV=OFF # disable iconv
82 -D LIBXML2_WITH_LZMA=OFF # disable liblzma
83 -D LIBXML2_WITH_PYTHON=OFF # disable Python
84 -D LIBXML2_WITH_ZLIB=OFF # disable libz
85
86You can also open the libxml source directory with its CMakeLists.txt
87directly in various IDEs such as CLion, QtCreator, or Visual Studio.
88
89## Dependencies
90
91Libxml does not require any other libraries. A platform with somewhat
92recent POSIX support should be sufficient (please report any violation
93to this rule you may find).
94
95However, if found at configuration time, libxml will detect and use
96the following libraries:
97
98- [libz](https://zlib.net/), a highly portable and widely available
99 compression library.
100- [liblzma](https://tukaani.org/xz/), another compression library.
101- [libiconv](https://www.gnu.org/software/libiconv/), a character encoding
102 conversion library. The iconv function is part of POSIX.1-2001, so
103 libiconv isn't required on modern UNIX-like systems like Linux, BSD or
104 macOS.
105- [ICU](https://icu.unicode.org/), a Unicode library. Mainly useful as an
106 alternative to iconv on Windows. Unnecessary on most other systems.
107
108## Contributing
109
110The current version of the code can be found in GNOME's GitLab at
111at <https://gitlab.gnome.org/GNOME/libxml2>. The best way to get involved
112is by creating issues and merge requests on GitLab. Alternatively, you can
113start discussions and send patches to the mailing list. If you want to
114work with patches, please format them with git-format-patch and use plain
115text attachments.
116
117All code must conform to C89 and pass the GitLab CI tests. Add regression
118tests if possible.
119
120## Authors
121
122- Daniel Veillard
123- Bjorn Reese
124- William Brack
125- Igor Zlatkovic for the Windows port
126- Aleksey Sanin
127- Nick Wellnhofer
128
129
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