blob: 47673c08072f217e7549d9d81a075f81cd3b4e23 (
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
|
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_library(contrib-libs-c-ares)
target_compile_options(contrib-libs-c-ares PUBLIC
-DCARES_STATICLIB
)
target_compile_options(contrib-libs-c-ares PRIVATE
-DCARES_BUILDING_LIBRARY
-DHAVE_CONFIG_H=1
$<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-c-ares PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
)
target_include_directories(contrib-libs-c-ares PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib
)
target_link_libraries(contrib-libs-c-ares PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
contrib-libs-libc_compat
)
target_sources(contrib-libs-c-ares PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__addrinfo2hostent.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__addrinfo_localhost.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__buf.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__close_sockets.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__get_hostent.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__htable.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__htable_asvp.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__htable_stvp.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__llist.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__parse_into_addrinfo.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__read_line.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__readaddrinfo.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__slist.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__sortaddrinfo.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares__timeval.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_android.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_cancel.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_create_query.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_data.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_destroy.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_expand_name.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_expand_string.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_fds.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_free_hostent.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_free_string.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_freeaddrinfo.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_getaddrinfo.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_getenv.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_gethostbyaddr.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_gethostbyname.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_getnameinfo.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_getsock.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_init.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_library_init.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_mkquery.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_nowarn.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_options.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_a_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_aaaa_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_caa_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_mx_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_naptr_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_ns_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_ptr_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_soa_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_srv_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_txt_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_parse_uri_reply.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_platform.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_process.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_query.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_rand.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_search.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_send.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_strcasecmp.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_strdup.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_strerror.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_strsplit.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_timeout.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/ares_version.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/atomic.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/bitncmp.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/inet_net_pton.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/inet_ntop.c
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/src/lib/windows_port.c
)
|