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

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(
    idn-free.c
    idna.c
    nfkc.c
    pr29.c
    profiles.c
    punycode.c
    rfc3454.c
    strerror-idna.c
    strerror-pr29.c
    strerror-punycode.c
    strerror-stringprep.c
    strerror-tld.c
    stringprep.c
    tld.c
    tlds.c
    toutf8.c
    version.c
    strverscmp.c
    striconv.c
    c-strcasecmp.c
    c-ctype.c
)
 
END()