aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/c-ares/ya.make
blob: 823541327993b355c0d1b7b8fcf1a3328b8f3c90 (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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Generated by devtools/yamaker from nixpkgs e392df43c9f302d4a0892caaadcad3cd693edf9e.

LIBRARY()

OWNER(
    max42
    g:cpp-contrib
)

VERSION(1.16.1)

ORIGINAL_SOURCE(https://c-ares.haxx.se/download/c-ares-1.16.1.tar.gz)

LICENSE(
    BSD-3-Clause AND
    ISC AND
    MIT AND
    NTP
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

PEERDIR(
    contrib/libs/libc_compat
)

ADDINCL(
    contrib/libs/c-ares
)

NO_COMPILER_WARNINGS()

CFLAGS(
    -DCARES_BUILDING_LIBRARY
    -DCARES_SYMBOL_HIDING
    -DHAVE_CONFIG_H
)

IF (NOT DLL_FOR)
    CFLAGS(
        -DCARES_STATICLIB
    )
ENDIF()

IF (ARCH_ARM7) 
    CFLAGS(
        GLOBAL -D__SIZEOF_LONG__=4
    )
ENDIF() 
 
SRCS(
    ares__close_sockets.c
    ares__get_hostent.c
    ares__parse_into_addrinfo.c
    ares__read_line.c
    ares__readaddrinfo.c
    ares__sortaddrinfo.c
    ares__timeval.c
    ares_android.c 
    ares_cancel.c
    ares_create_query.c
    ares_data.c
    ares_destroy.c
    ares_expand_name.c
    ares_expand_string.c
    ares_fds.c
    ares_free_hostent.c
    ares_free_string.c
    ares_freeaddrinfo.c
    ares_getaddrinfo.c
    ares_getenv.c
    ares_gethostbyaddr.c
    ares_gethostbyname.c
    ares_getnameinfo.c
    ares_getopt.c
    ares_getsock.c
    ares_init.c
    ares_library_init.c
    ares_llist.c
    ares_mkquery.c
    ares_nowarn.c
    ares_options.c
    ares_parse_a_reply.c
    ares_parse_aaaa_reply.c
    ares_parse_mx_reply.c
    ares_parse_naptr_reply.c
    ares_parse_ns_reply.c
    ares_parse_ptr_reply.c
    ares_parse_soa_reply.c
    ares_parse_srv_reply.c
    ares_parse_txt_reply.c
    ares_platform.c
    ares_process.c
    ares_query.c
    ares_search.c
    ares_send.c
    ares_strcasecmp.c
    ares_strdup.c
    ares_strerror.c
    ares_strsplit.c
    ares_timeout.c
    ares_version.c
    ares_writev.c
    atomic.cpp
    bitncmp.c
    inet_net_pton.c
    inet_ntop.c
    windows_port.c
)

CHECK_CONFIG_H(ares_setup.h)

END()

RECURSE(
    acountry
    adig
    ahost
    test
)