ya.make 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(
  4. BSD-3-Clause AND
  5. ISC AND
  6. LicenseRef-scancode-mit-no-advert-export-control AND
  7. MIT AND
  8. Public-Domain
  9. )
  10. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  11. VERSION(1.20.1)
  12. ORIGINAL_SOURCE(https://github.com/c-ares/c-ares/archive/cares-1_20_1.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. )
  20. NO_COMPILER_WARNINGS()
  21. CFLAGS(
  22. -DCARES_BUILDING_LIBRARY
  23. -DHAVE_CONFIG_H=1
  24. GLOBAL -DCARES_STATICLIB
  25. )
  26. IF (ARCH_ARM7)
  27. CFLAGS(
  28. GLOBAL -D__SIZEOF_LONG__=4
  29. )
  30. ENDIF()
  31. IF (OS_DARWIN OR OS_IOS)
  32. LDFLAGS(-lresolv)
  33. ENDIF()
  34. IF (NOT EXPORT_CMAKE)
  35. CHECK_CONFIG_H(src/lib/ares_setup.h)
  36. ENDIF()
  37. SRCS(
  38. src/lib/ares__addrinfo2hostent.c
  39. src/lib/ares__addrinfo_localhost.c
  40. src/lib/ares__buf.c
  41. src/lib/ares__close_sockets.c
  42. src/lib/ares__get_hostent.c
  43. src/lib/ares__htable.c
  44. src/lib/ares__htable_asvp.c
  45. src/lib/ares__htable_stvp.c
  46. src/lib/ares__llist.c
  47. src/lib/ares__parse_into_addrinfo.c
  48. src/lib/ares__read_line.c
  49. src/lib/ares__readaddrinfo.c
  50. src/lib/ares__slist.c
  51. src/lib/ares__sortaddrinfo.c
  52. src/lib/ares__timeval.c
  53. src/lib/ares_android.c
  54. src/lib/ares_cancel.c
  55. src/lib/ares_create_query.c
  56. src/lib/ares_data.c
  57. src/lib/ares_destroy.c
  58. src/lib/ares_expand_name.c
  59. src/lib/ares_expand_string.c
  60. src/lib/ares_fds.c
  61. src/lib/ares_free_hostent.c
  62. src/lib/ares_free_string.c
  63. src/lib/ares_freeaddrinfo.c
  64. src/lib/ares_getaddrinfo.c
  65. src/lib/ares_getenv.c
  66. src/lib/ares_gethostbyaddr.c
  67. src/lib/ares_gethostbyname.c
  68. src/lib/ares_getnameinfo.c
  69. src/lib/ares_getsock.c
  70. src/lib/ares_init.c
  71. src/lib/ares_library_init.c
  72. src/lib/ares_mkquery.c
  73. src/lib/ares_nowarn.c
  74. src/lib/ares_options.c
  75. src/lib/ares_parse_a_reply.c
  76. src/lib/ares_parse_aaaa_reply.c
  77. src/lib/ares_parse_caa_reply.c
  78. src/lib/ares_parse_mx_reply.c
  79. src/lib/ares_parse_naptr_reply.c
  80. src/lib/ares_parse_ns_reply.c
  81. src/lib/ares_parse_ptr_reply.c
  82. src/lib/ares_parse_soa_reply.c
  83. src/lib/ares_parse_srv_reply.c
  84. src/lib/ares_parse_txt_reply.c
  85. src/lib/ares_parse_uri_reply.c
  86. src/lib/ares_platform.c
  87. src/lib/ares_process.c
  88. src/lib/ares_query.c
  89. src/lib/ares_rand.c
  90. src/lib/ares_search.c
  91. src/lib/ares_send.c
  92. src/lib/ares_strcasecmp.c
  93. src/lib/ares_strdup.c
  94. src/lib/ares_strerror.c
  95. src/lib/ares_strsplit.c
  96. src/lib/ares_timeout.c
  97. src/lib/ares_version.c
  98. src/lib/atomic.cpp
  99. src/lib/bitncmp.c
  100. src/lib/inet_net_pton.c
  101. src/lib/inet_ntop.c
  102. src/lib/windows_port.c
  103. )
  104. END()