ya.make 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(
  4. APSL-2.0 AND
  5. BSD-3-Clause AND
  6. ISC AND
  7. MIT AND
  8. Public-Domain
  9. )
  10. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  11. VERSION(1.34.3)
  12. ORIGINAL_SOURCE(https://github.com/c-ares/c-ares/archive/v1.34.3.tar.gz)
  13. PEERDIR(
  14. contrib/libs/libc_compat
  15. )
  16. ADDINCL(
  17. GLOBAL contrib/libs/c-ares/include
  18. contrib/libs/c-ares/src/lib
  19. contrib/libs/c-ares/src/lib/include
  20. )
  21. NO_COMPILER_WARNINGS()
  22. CFLAGS(
  23. -DCARES_BUILDING_LIBRARY
  24. -DHAVE_CONFIG_H=1
  25. GLOBAL -DCARES_STATICLIB
  26. )
  27. IF (ARCH_ARM7)
  28. CFLAGS(
  29. GLOBAL -D__SIZEOF_LONG__=4
  30. )
  31. ENDIF()
  32. IF (OS_DARWIN OR OS_IOS)
  33. LDFLAGS(-lresolv)
  34. ENDIF()
  35. IF (NOT EXPORT_CMAKE)
  36. CHECK_CONFIG_H(src/lib/ares_setup.h)
  37. ENDIF()
  38. SRCS(
  39. src/lib/ares_addrinfo2hostent.c
  40. src/lib/ares_addrinfo_localhost.c
  41. src/lib/ares_android.c
  42. src/lib/ares_cancel.c
  43. src/lib/ares_close_sockets.c
  44. src/lib/ares_conn.c
  45. src/lib/ares_cookie.c
  46. src/lib/ares_data.c
  47. src/lib/ares_destroy.c
  48. src/lib/ares_free_hostent.c
  49. src/lib/ares_free_string.c
  50. src/lib/ares_freeaddrinfo.c
  51. src/lib/ares_getaddrinfo.c
  52. src/lib/ares_getenv.c
  53. src/lib/ares_gethostbyaddr.c
  54. src/lib/ares_gethostbyname.c
  55. src/lib/ares_getnameinfo.c
  56. src/lib/ares_hosts_file.c
  57. src/lib/ares_init.c
  58. src/lib/ares_library_init.c
  59. src/lib/ares_metrics.c
  60. src/lib/ares_options.c
  61. src/lib/ares_parse_into_addrinfo.c
  62. src/lib/ares_process.c
  63. src/lib/ares_qcache.c
  64. src/lib/ares_query.c
  65. src/lib/ares_search.c
  66. src/lib/ares_send.c
  67. src/lib/ares_set_socket_functions.c
  68. src/lib/ares_socket.c
  69. src/lib/ares_sortaddrinfo.c
  70. src/lib/ares_strerror.c
  71. src/lib/ares_sysconfig.c
  72. src/lib/ares_sysconfig_files.c
  73. src/lib/ares_sysconfig_mac.c
  74. src/lib/ares_sysconfig_win.c
  75. src/lib/ares_timeout.c
  76. src/lib/ares_update_servers.c
  77. src/lib/ares_version.c
  78. src/lib/atomic.cpp
  79. src/lib/dsa/ares_array.c
  80. src/lib/dsa/ares_htable.c
  81. src/lib/dsa/ares_htable_asvp.c
  82. src/lib/dsa/ares_htable_dict.c
  83. src/lib/dsa/ares_htable_strvp.c
  84. src/lib/dsa/ares_htable_szvp.c
  85. src/lib/dsa/ares_htable_vpstr.c
  86. src/lib/dsa/ares_htable_vpvp.c
  87. src/lib/dsa/ares_llist.c
  88. src/lib/dsa/ares_slist.c
  89. src/lib/event/ares_event_configchg.c
  90. src/lib/event/ares_event_epoll.c
  91. src/lib/event/ares_event_kqueue.c
  92. src/lib/event/ares_event_poll.c
  93. src/lib/event/ares_event_select.c
  94. src/lib/event/ares_event_thread.c
  95. src/lib/event/ares_event_wake_pipe.c
  96. src/lib/event/ares_event_win32.c
  97. src/lib/inet_net_pton.c
  98. src/lib/inet_ntop.c
  99. src/lib/legacy/ares_create_query.c
  100. src/lib/legacy/ares_expand_name.c
  101. src/lib/legacy/ares_expand_string.c
  102. src/lib/legacy/ares_fds.c
  103. src/lib/legacy/ares_getsock.c
  104. src/lib/legacy/ares_parse_a_reply.c
  105. src/lib/legacy/ares_parse_aaaa_reply.c
  106. src/lib/legacy/ares_parse_caa_reply.c
  107. src/lib/legacy/ares_parse_mx_reply.c
  108. src/lib/legacy/ares_parse_naptr_reply.c
  109. src/lib/legacy/ares_parse_ns_reply.c
  110. src/lib/legacy/ares_parse_ptr_reply.c
  111. src/lib/legacy/ares_parse_soa_reply.c
  112. src/lib/legacy/ares_parse_srv_reply.c
  113. src/lib/legacy/ares_parse_txt_reply.c
  114. src/lib/legacy/ares_parse_uri_reply.c
  115. src/lib/record/ares_dns_mapping.c
  116. src/lib/record/ares_dns_multistring.c
  117. src/lib/record/ares_dns_name.c
  118. src/lib/record/ares_dns_parse.c
  119. src/lib/record/ares_dns_record.c
  120. src/lib/record/ares_dns_write.c
  121. src/lib/str/ares_buf.c
  122. src/lib/str/ares_str.c
  123. src/lib/str/ares_strsplit.c
  124. src/lib/util/ares_iface_ips.c
  125. src/lib/util/ares_math.c
  126. src/lib/util/ares_rand.c
  127. src/lib/util/ares_threads.c
  128. src/lib/util/ares_timeval.c
  129. src/lib/util/ares_uri.c
  130. src/lib/windows_port.c
  131. )
  132. END()