aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libidn/static/ya.make
blob: cff8b08182eb7e49989ae87bd4fa33d329175c9e (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
OWNER(
    g:contrib
    g:cpp-contrib
)

LIBRARY()

LICENSE(
    Custom-Punycode AND
    Ietf AND
    LGPL-2.0-or-later AND
    LGPL-2.1-only AND
    LGPL-2.1-or-later
)

LICENSE_TEXTS(../.yandex_meta/licenses.list.txt)

VERSION(1.9)

PROVIDES(libidn)

NO_RUNTIME()

NO_COMPILER_WARNINGS()

ADDINCL(
    contrib/libs/libidn/lib
    contrib/libs/libidn/lib/gl
)

CFLAGS(
    -DHAVE_CONFIG_H
)

IF (OS_WINDOWS)
    CFLAGS(
        -DLIBIDN_EXPORTS
    )
ENDIF()

IF (OS_ANDROID)
    CFLAGS(
        -DHAVE_LOCALE_H=1
    )
ENDIF()

SRCDIR(contrib/libs/libidn)

SRCS(
    lib/idn-free.c
    lib/idna.c
    lib/nfkc.c
    lib/pr29.c
    lib/profiles.c
    lib/punycode.c
    lib/rfc3454.c
    lib/strerror-idna.c
    lib/strerror-pr29.c
    lib/strerror-punycode.c
    lib/strerror-stringprep.c
    lib/strerror-tld.c
    lib/stringprep.c
    lib/tld.c
    lib/tlds.c
    lib/toutf8.c
    lib/version.c
    lib/gl/strverscmp.c
    lib/gl/striconv.c
    lib/gl/c-strcasecmp.c
    lib/gl/c-ctype.c
)

END()