aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/curl/ya.make
blob: ee8a7f3f0a0fedf3b5b9087834a7f33bf2fd3d4b (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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# Generated by devtools/yamaker from nixpkgs 980c4c3c2f664ccc5002f7fd6e08059cf1f00e75.
 
LIBRARY()

OWNER(
    g:cpp-contrib
    g:geoapps_infra
)

VERSION(7.74.0)

ORIGINAL_SOURCE(https://curl.haxx.se/download/curl-7.74.0.tar.bz2)

LICENSE(
    BSD-3-Clause AND
    ISC AND
    Public-Domain AND
    curl
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

PEERDIR( 
    contrib/libs/libc_compat
    contrib/libs/openssl 
    contrib/libs/zlib 
)

ADDINCL(
    GLOBAL contrib/libs/curl/include
    contrib/libs/c-ares
    contrib/libs/curl/lib 
)

IF (NOT OS_WINDOWS)
    PEERDIR(
        contrib/libs/nghttp2
    )
ENDIF()

NO_COMPILER_WARNINGS()

NO_RUNTIME()

IF (MAPSMOBI_BUILD_TARGET)
    SET(ARCADIA_CURL_DNS_RESOLVER MULTITHREADED)
    CFLAGS(
        -DMAPSMOBI_BUILD
    )
ENDIF()

DEFAULT(ARCADIA_CURL_DNS_RESOLVER ARES)

CFLAGS( 
    GLOBAL -DCURL_STATICLIB
    -DBUILDING_LIBCURL
    -DHAVE_CONFIG_H 
    -DARCADIA_CURL_DNS_RESOLVER_${ARCADIA_CURL_DNS_RESOLVER}
) 
 
IF (ARCADIA_CURL_DNS_RESOLVER == ARES)
    PEERDIR(
        contrib/libs/c-ares
    )
ENDIF()

SRCS(
    lib/altsvc.c
    lib/amigaos.c 
    lib/asyn-ares.c 
    lib/asyn-thread.c 
    lib/base64.c
    lib/conncache.c 
    lib/connect.c 
    lib/content_encoding.c 
    lib/cookie.c
    lib/curl_addrinfo.c 
    lib/curl_ctype.c 
    lib/curl_des.c 
    lib/curl_endian.c 
    lib/curl_fnmatch.c 
    lib/curl_get_line.c
    lib/curl_gethostname.c 
    lib/curl_gssapi.c 
    lib/curl_memrchr.c 
    lib/curl_multibyte.c 
    lib/curl_ntlm_core.c 
    lib/curl_ntlm_wb.c 
    lib/curl_path.c 
    lib/curl_range.c 
    lib/curl_rtmp.c 
    lib/curl_sasl.c 
    lib/curl_sspi.c 
    lib/curl_threads.c 
    lib/dict.c
    lib/doh.c 
    lib/dotdot.c 
    lib/dynbuf.c
    lib/easy.c 
    lib/easygetopt.c
    lib/easyoptions.c
    lib/escape.c
    lib/file.c 
    lib/fileinfo.c
    lib/formdata.c 
    lib/ftp.c 
    lib/ftplistparser.c
    lib/getenv.c 
    lib/getinfo.c 
    lib/gopher.c 
    lib/hash.c
    lib/hmac.c 
    lib/hostasyn.c
    lib/hostcheck.c 
    lib/hostip.c 
    lib/hostip4.c
    lib/hostip6.c
    lib/hostsyn.c
    lib/hsts.c
    lib/http.c 
    lib/http2.c 
    lib/http_chunks.c 
    lib/http_digest.c 
    lib/http_negotiate.c 
    lib/http_ntlm.c 
    lib/http_proxy.c 
    lib/idn_win32.c 
    lib/if2ip.c 
    lib/imap.c 
    lib/inet_ntop.c
    lib/inet_pton.c 
    lib/krb5.c 
    lib/ldap.c 
    lib/llist.c 
    lib/md4.c 
    lib/md5.c 
    lib/memdebug.c 
    lib/mime.c 
    lib/mprintf.c 
    lib/mqtt.c
    lib/multi.c 
    lib/netrc.c 
    lib/non-ascii.c 
    lib/nonblock.c 
    lib/openldap.c 
    lib/parsedate.c
    lib/pingpong.c 
    lib/pop3.c 
    lib/progress.c 
    lib/psl.c 
    lib/rand.c 
    lib/rename.c
    lib/rtsp.c 
    lib/select.c
    lib/sendf.c 
    lib/setopt.c 
    lib/sha256.c 
    lib/share.c 
    lib/slist.c 
    lib/smb.c 
    lib/smtp.c 
    lib/socketpair.c
    lib/socks.c
    lib/socks_gssapi.c
    lib/socks_sspi.c
    lib/speedcheck.c 
    lib/splay.c 
    lib/strcase.c 
    lib/strdup.c 
    lib/strerror.c 
    lib/strtok.c 
    lib/strtoofft.c 
    lib/system_win32.c 
    lib/telnet.c 
    lib/tftp.c 
    lib/timeval.c 
    lib/transfer.c 
    lib/url.c 
    lib/urlapi.c 
    lib/vauth/cleartext.c 
    lib/vauth/cram.c 
    lib/vauth/digest.c 
    lib/vauth/digest_sspi.c 
    lib/vauth/krb5_gssapi.c 
    lib/vauth/krb5_sspi.c 
    lib/vauth/ntlm.c 
    lib/vauth/ntlm_sspi.c 
    lib/vauth/oauth2.c 
    lib/vauth/spnego_gssapi.c 
    lib/vauth/spnego_sspi.c 
    lib/vauth/vauth.c 
    lib/version.c 
    lib/version_win32.c
    lib/vquic/ngtcp2.c
    lib/vquic/quiche.c
    lib/vquic/vquic.c
    lib/vssh/libssh.c
    lib/vssh/libssh2.c
    lib/vssh/wolfssh.c
    lib/vtls/bearssl.c
    lib/vtls/keylog.c
    lib/vtls/mbedtls_threadlock.c
    lib/vtls/openssl.c 
    lib/vtls/sectransp.c
    lib/vtls/vtls.c 
    lib/vtls/wolfssl.c
    lib/warnless.c
    lib/wildcard.c 
    lib/x509asn1.c
)

END()