# Generated by devtools/yamaker from nixpkgs 22.11. LIBRARY() LICENSE( APSL-2.0 AND BSD-3-Clause AND ISC AND MIT AND Public-Domain ) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) VERSION(1.34.3) ORIGINAL_SOURCE(https://github.com/c-ares/c-ares/archive/v1.34.3.tar.gz) PEERDIR( contrib/libs/libc_compat ) ADDINCL( GLOBAL contrib/libs/c-ares/include contrib/libs/c-ares/src/lib contrib/libs/c-ares/src/lib/include ) NO_COMPILER_WARNINGS() CFLAGS( -DCARES_BUILDING_LIBRARY -DHAVE_CONFIG_H=1 GLOBAL -DCARES_STATICLIB ) IF (ARCH_ARM7) CFLAGS( GLOBAL -D__SIZEOF_LONG__=4 ) ENDIF() IF (OS_DARWIN OR OS_IOS) LDFLAGS(-lresolv) ENDIF() IF (NOT EXPORT_CMAKE) CHECK_CONFIG_H(src/lib/ares_setup.h) ENDIF() SRCS( src/lib/ares_addrinfo2hostent.c src/lib/ares_addrinfo_localhost.c src/lib/ares_android.c src/lib/ares_cancel.c src/lib/ares_close_sockets.c src/lib/ares_conn.c src/lib/ares_cookie.c src/lib/ares_data.c src/lib/ares_destroy.c src/lib/ares_free_hostent.c src/lib/ares_free_string.c src/lib/ares_freeaddrinfo.c src/lib/ares_getaddrinfo.c src/lib/ares_getenv.c src/lib/ares_gethostbyaddr.c src/lib/ares_gethostbyname.c src/lib/ares_getnameinfo.c src/lib/ares_hosts_file.c src/lib/ares_init.c src/lib/ares_library_init.c src/lib/ares_metrics.c src/lib/ares_options.c src/lib/ares_parse_into_addrinfo.c src/lib/ares_process.c src/lib/ares_qcache.c src/lib/ares_query.c src/lib/ares_search.c src/lib/ares_send.c src/lib/ares_set_socket_functions.c src/lib/ares_socket.c src/lib/ares_sortaddrinfo.c src/lib/ares_strerror.c src/lib/ares_sysconfig.c src/lib/ares_sysconfig_files.c src/lib/ares_sysconfig_mac.c src/lib/ares_sysconfig_win.c src/lib/ares_timeout.c src/lib/ares_update_servers.c src/lib/ares_version.c src/lib/atomic.cpp src/lib/dsa/ares_array.c src/lib/dsa/ares_htable.c src/lib/dsa/ares_htable_asvp.c src/lib/dsa/ares_htable_dict.c src/lib/dsa/ares_htable_strvp.c src/lib/dsa/ares_htable_szvp.c src/lib/dsa/ares_htable_vpstr.c src/lib/dsa/ares_htable_vpvp.c src/lib/dsa/ares_llist.c src/lib/dsa/ares_slist.c src/lib/event/ares_event_configchg.c src/lib/event/ares_event_epoll.c src/lib/event/ares_event_kqueue.c src/lib/event/ares_event_poll.c src/lib/event/ares_event_select.c src/lib/event/ares_event_thread.c src/lib/event/ares_event_wake_pipe.c src/lib/event/ares_event_win32.c src/lib/inet_net_pton.c src/lib/inet_ntop.c src/lib/legacy/ares_create_query.c src/lib/legacy/ares_expand_name.c src/lib/legacy/ares_expand_string.c src/lib/legacy/ares_fds.c src/lib/legacy/ares_getsock.c src/lib/legacy/ares_parse_a_reply.c src/lib/legacy/ares_parse_aaaa_reply.c src/lib/legacy/ares_parse_caa_reply.c src/lib/legacy/ares_parse_mx_reply.c src/lib/legacy/ares_parse_naptr_reply.c src/lib/legacy/ares_parse_ns_reply.c src/lib/legacy/ares_parse_ptr_reply.c src/lib/legacy/ares_parse_soa_reply.c src/lib/legacy/ares_parse_srv_reply.c src/lib/legacy/ares_parse_txt_reply.c src/lib/legacy/ares_parse_uri_reply.c src/lib/record/ares_dns_mapping.c src/lib/record/ares_dns_multistring.c src/lib/record/ares_dns_name.c src/lib/record/ares_dns_parse.c src/lib/record/ares_dns_record.c src/lib/record/ares_dns_write.c src/lib/str/ares_buf.c src/lib/str/ares_str.c src/lib/str/ares_strsplit.c src/lib/util/ares_iface_ips.c src/lib/util/ares_math.c src/lib/util/ares_rand.c src/lib/util/ares_threads.c src/lib/util/ares_timeval.c src/lib/util/ares_uri.c src/lib/windows_port.c ) END()