aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libxml/ya.make
blob: b010d899e42a67e87a3c75448b8737234e142e99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(
    MIT AND
    Mit-Veillard-Variant
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(2.9.13)

ORIGINAL_SOURCE(https://gitlab.gnome.org/api/v4/projects/GNOME%2Flibxml2/repository/archive.tar.gz?sha=v2.9.13)

PEERDIR(
    contrib/libs/libiconv
    contrib/libs/zlib
)

ADDINCL(
    GLOBAL contrib/libs/libxml/include
    contrib/libs/libxml
)

NO_COMPILER_WARNINGS()

CFLAGS(
    -DHAVE_CONFIG_H
    GLOBAL -DLIBXML_STATIC
)

SRCS(
    HTMLparser.c
    HTMLtree.c
    SAX.c
    SAX2.c
    buf.c
    c14n.c
    catalog.c
    chvalid.c
    debugXML.c
    dict.c
    encoding.c
    entities.c
    error.c
    globals.c
    hash.c
    legacy.c
    list.c
    nanoftp.c
    nanohttp.c
    parser.c
    parserInternals.c
    pattern.c
    relaxng.c
    schematron.c
    threads.c
    tree.c
    uri.c
    valid.c
    xinclude.c
    xlink.c
    xmlIO.c
    xmlmemory.c
    xmlmodule.c
    xmlreader.c
    xmlregexp.c
    xmlsave.c
    xmlschemas.c
    xmlschemastypes.c
    xmlstring.c
    xmlunicode.c
    xmlwriter.c
    xpath.c
    xpointer.c
    xzlib.c
)

IF (ARCADIA_LIBXML_DISABLE_EXTRA_ENCODINGS)
    NO_RUNTIME()
    CFLAGS(
        -DARCADIA_LIBXML_DISABLE_EXTRA_ENCODINGS
    )
ELSE()
    PEERDIR(
        library/cpp/charset
    )
    SRCS(
        yencoding.cpp
    )
ENDIF()

END()

RECURSE(
    xmllint
)