| 1 |
|
| 2 |
## xmlversion.h |
| 3 |
xmlversion_h = configuration_data() |
| 4 |
xmlversion_h.set('VERSION', meson.project_version()) |
| 5 |
xmlversion_h.set('LIBXML_VERSION_NUMBER', v_nbr.to_string()) |
| 6 |
xmlversion_h.set('LIBXML_VERSION_EXTRA', v_extra) |
| 7 |
xmlversion_h.set10('WITH_C14N', want_c14n) |
| 8 |
xmlversion_h.set10('WITH_CATALOG', want_catalog) |
| 9 |
xmlversion_h.set10('WITH_DEBUG', want_debug) |
| 10 |
xmlversion_h.set10('WITH_HTML', want_html) |
| 11 |
xmlversion_h.set10('WITH_HTTP', want_http) |
| 12 |
xmlversion_h.set10('WITH_ICONV', want_iconv) |
| 13 |
xmlversion_h.set10('WITH_ICU', want_icu) |
| 14 |
xmlversion_h.set10('WITH_ISO8859X', want_iso8859x) |
| 15 |
xmlversion_h.set10('WITH_LEGACY', want_legacy) |
| 16 |
xmlversion_h.set10('WITH_MODULES', want_modules) |
| 17 |
xmlversion_h.set('MODULE_EXTENSION', module_extension) |
| 18 |
xmlversion_h.set10('WITH_OUTPUT', want_output) |
| 19 |
xmlversion_h.set10('WITH_PATTERN', want_pattern) |
| 20 |
xmlversion_h.set10('WITH_PUSH', want_push) |
| 21 |
xmlversion_h.set10('WITH_READER', want_reader) |
| 22 |
xmlversion_h.set10('WITH_REGEXPS', want_regexps) |
| 23 |
xmlversion_h.set10('WITH_RELAXNG', want_relaxng) |
| 24 |
xmlversion_h.set10('WITH_SAX1', want_sax1) |
| 25 |
xmlversion_h.set10('WITH_SCHEMAS', want_schemas) |
| 26 |
xmlversion_h.set10('WITH_SCHEMATRON', want_schematron) |
| 27 |
xmlversion_h.set10('WITH_THREADS', want_threads) |
| 28 |
xmlversion_h.set10('WITH_THREAD_ALLOC', want_thread_alloc) |
| 29 |
xmlversion_h.set10('WITH_VALID', want_valid) |
| 30 |
xmlversion_h.set10('WITH_WRITER', want_writer) |
| 31 |
xmlversion_h.set10('WITH_XINCLUDE', want_xinclude) |
| 32 |
xmlversion_h.set10('WITH_XPATH', want_xpath) |
| 33 |
xmlversion_h.set10('WITH_XPTR', want_xptr) |
| 34 |
xmlversion_h.set10('WITH_ZLIB', want_zlib) |
| 35 |
|
| 36 |
configure_file( |
| 37 |
input: 'xmlversion.h.in', |
| 38 |
output: 'xmlversion.h', |
| 39 |
configuration: xmlversion_h, |
| 40 |
install_dir: dir_pkginclude + '/libxml', |
| 41 |
) |
| 42 |
|
| 43 |
#vcs_tag( |
| 44 |
# command : [ 'git', 'describe', '2>/dev/null' ], |
| 45 |
# input : 'xmlversion.h.in', |
| 46 |
# output : 'xmlversion.h', |
| 47 |
# replace_string : 'LIBXML_VERSION_EXTRA' |
| 48 |
#) |
| 49 |
|
| 50 |
libxml_headers = files( |
| 51 |
'HTMLparser.h', |
| 52 |
'HTMLtree.h', |
| 53 |
'SAX.h', |
| 54 |
'SAX2.h', |
| 55 |
'c14n.h', |
| 56 |
'catalog.h', |
| 57 |
'chvalid.h', |
| 58 |
'debugXML.h', |
| 59 |
'dict.h', |
| 60 |
'encoding.h', |
| 61 |
'entities.h', |
| 62 |
'globals.h', |
| 63 |
'hash.h', |
| 64 |
'list.h', |
| 65 |
'nanoftp.h', |
| 66 |
'nanohttp.h', |
| 67 |
'parser.h', |
| 68 |
'parserInternals.h', |
| 69 |
'pattern.h', |
| 70 |
'relaxng.h', |
| 71 |
'schemasInternals.h', |
| 72 |
'schematron.h', |
| 73 |
'threads.h', |
| 74 |
'tree.h', |
| 75 |
'uri.h', |
| 76 |
'valid.h', |
| 77 |
'xinclude.h', |
| 78 |
'xlink.h', |
| 79 |
'xmlIO.h', |
| 80 |
'xmlautomata.h', |
| 81 |
'xmlerror.h', |
| 82 |
'xmlexports.h', |
| 83 |
'xmlmemory.h', |
| 84 |
'xmlmodule.h', |
| 85 |
'xmlreader.h', |
| 86 |
'xmlregexp.h', |
| 87 |
'xmlsave.h', |
| 88 |
'xmlschemas.h', |
| 89 |
'xmlschemastypes.h', |
| 90 |
'xmlstring.h', |
| 91 |
'xmlunicode.h', |
| 92 |
'xmlwriter.h', |
| 93 |
'xpath.h', |
| 94 |
'xpathInternals.h', |
| 95 |
'xpointer.h', |
| 96 |
) |
| 97 |
|
| 98 |
install_headers(libxml_headers, install_dir: dir_pkginclude / 'libxml') |