# 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. find_package(OpenSSL REQUIRED) find_package(ZLIB REQUIRED) find_package(c-ares REQUIRED) add_library(contrib-libs-curl) target_compile_options(contrib-libs-curl PUBLIC -DCURL_STATICLIB ) target_compile_options(contrib-libs-curl PRIVATE -DBUILDING_LIBCURL -DHAVE_CONFIG_H -DARCADIA_CURL_DNS_RESOLVER_ARES $,,-Wno-everything> ) target_include_directories(contrib-libs-curl PUBLIC ${CMAKE_SOURCE_DIR}/contrib/libs/curl/include ) target_include_directories(contrib-libs-curl PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib ) target_link_libraries(contrib-libs-curl PUBLIC contrib-libs-linux-headers contrib-libs-libc_compat OpenSSL::OpenSSL ZLIB::ZLIB contrib-libs-nghttp2 c-ares::c-ares ) target_sources(contrib-libs-curl PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/altsvc.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/amigaos.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/asyn-ares.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/asyn-thread.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/base64.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/bufref.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/c-hyper.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/conncache.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/connect.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/content_encoding.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/cookie.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_addrinfo.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_des.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_endian.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_fnmatch.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_get_line.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_gethostname.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_gssapi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_memrchr.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_multibyte.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_ntlm_core.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_ntlm_wb.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_path.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_range.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_rtmp.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_sasl.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_sspi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/curl_threads.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/dict.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/doh.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/dynbuf.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/easy.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/easygetopt.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/easyoptions.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/escape.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/file.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/fileinfo.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/fopen.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/formdata.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/ftp.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/ftplistparser.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/getenv.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/getinfo.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/gopher.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/h2h3.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hash.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/headers.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hmac.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostasyn.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostip.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostip4.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostip6.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hostsyn.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/hsts.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http2.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_aws_sigv4.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_chunks.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_digest.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_negotiate.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_ntlm.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/http_proxy.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/idn_win32.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/if2ip.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/imap.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/inet_ntop.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/inet_pton.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/krb5.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/ldap.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/llist.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/md4.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/md5.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/memdebug.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/mime.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/mprintf.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/mqtt.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/multi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/netrc.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/nonblock.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/noproxy.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/openldap.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/parsedate.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/pingpong.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/pop3.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/progress.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/psl.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/rand.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/rename.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/rtsp.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/select.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/sendf.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/setopt.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/sha256.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/share.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/slist.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/smb.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/smtp.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socketpair.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socks.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socks_gssapi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/socks_sspi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/speedcheck.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/splay.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strcase.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strdup.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strerror.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strtok.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/strtoofft.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/system_win32.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/telnet.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/tftp.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/timediff.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/timeval.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/transfer.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/url.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/urlapi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/cleartext.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/cram.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/digest.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/digest_sspi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/gsasl.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/krb5_gssapi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/krb5_sspi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/ntlm.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/ntlm_sspi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/oauth2.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/spnego_gssapi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/spnego_sspi.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vauth/vauth.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/version.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/version_win32.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/msh3.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/ngtcp2.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/quiche.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vquic/vquic.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vssh/libssh.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vssh/libssh2.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vssh/wolfssh.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/bearssl.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/hostcheck.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/keylog.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/mbedtls_threadlock.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/openssl.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/rustls.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/sectransp.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/vtls.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/wolfssl.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/vtls/x509asn1.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/warnless.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/wildcard.c ${CMAKE_SOURCE_DIR}/contrib/libs/curl/lib/ws.c )