aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libxml/ya.make
blob: b7ee2eb058ac9dbdfa8c3bf168c7e6573c36e23c (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
99
100
# Generated by devtools/yamaker from nixpkgs 5852a21819542e6809f68ba5a798600e69874e76.

LIBRARY()

OWNER(
    g:cpp-contrib
    g:yandex_io
)

VERSION(2.9.10)

ORIGINAL_SOURCE(http://xmlsoft.org/sources/libxml2-2.9.10.tar.gz)

LICENSE(
    MIT AND
    Mit-Veillard-Variant
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

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

ADDINCL(
    GLOBAL contrib/libs/libxml/include
    contrib/libs/libiconv/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
    rand.cpp
    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)
    CFLAGS(
        -DARCADIA_LIBXML_DISABLE_EXTRA_ENCODINGS
    )
ELSE()
    PEERDIR(
        library/cpp/charset
    )
    SRCS(
        yencoding.cpp
    )
ENDIF()

END()