aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/expat/ya.make
blob: 413631a5ded0885b0a7086b6dde1c830b7c81fc9 (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
# Generated by devtools/yamaker from nixpkgs 21.11.

LIBRARY()

OWNER(
    orivej
    g:cpp-contrib
)

VERSION(2.4.6)

ORIGINAL_SOURCE(https://github.com/libexpat/libexpat/releases/download/R_2_4_6/expat-2.4.6.tar.xz)

LICENSE(
    CC0-1.0 AND
    JSON AND
    MIT
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

ADDINCL(
    contrib/libs/expat
    contrib/libs/expat/lib
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

IF (OS_WINDOWS)
    CFLAGS(
        GLOBAL -DXML_STATIC
    )
ELSE()
    CFLAGS(
        -DHAVE_EXPAT_CONFIG_H
    )
ENDIF()

SRCS(
    lib/xmlparse.c
    lib/xmlrole.c
    lib/xmltok.c
)

END()