ya.make 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(BSL-1.0)
  4. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  5. VERSION(1.83.0)
  6. ORIGINAL_SOURCE(https://github.com/boostorg/locale/archive/boost-1.83.0.tar.gz)
  7. PEERDIR(
  8. contrib/libs/icu
  9. contrib/restricted/boost/assert
  10. contrib/restricted/boost/config
  11. contrib/restricted/boost/core
  12. contrib/restricted/boost/iterator
  13. contrib/restricted/boost/predef
  14. contrib/restricted/boost/thread
  15. contrib/restricted/boost/utility
  16. )
  17. ADDINCL(
  18. GLOBAL contrib/restricted/boost/locale/include
  19. contrib/restricted/boost/locale/src
  20. )
  21. NO_COMPILER_WARNINGS()
  22. NO_UTIL()
  23. CFLAGS(
  24. -DBOOST_LOCALE_WITH_ICU
  25. )
  26. IF (DYNAMIC_BOOST)
  27. CFLAGS(
  28. GLOBAL -DBOOST_LOCALE_DYN_LINK
  29. )
  30. ENDIF()
  31. IF (OS_ANDROID)
  32. CFLAGS(
  33. -DBOOST_LOCALE_NO_POSIX_BACKEND
  34. -DBOOST_LOCALE_NO_WINAPI_BACKEND
  35. )
  36. ELSEIF (OS_WINDOWS)
  37. CFLAGS(
  38. -DBOOST_LOCALE_NO_POSIX_BACKEND
  39. )
  40. SRCS(
  41. src/boost/locale/win32/collate.cpp
  42. src/boost/locale/win32/converter.cpp
  43. src/boost/locale/win32/lcid.cpp
  44. src/boost/locale/win32/numeric.cpp
  45. src/boost/locale/win32/win_backend.cpp
  46. )
  47. ELSE()
  48. CFLAGS(
  49. -DBOOST_LOCALE_NO_WINAPI_BACKEND
  50. )
  51. SRCS(
  52. src/boost/locale/posix/codecvt.cpp
  53. src/boost/locale/posix/collate.cpp
  54. src/boost/locale/posix/converter.cpp
  55. src/boost/locale/posix/numeric.cpp
  56. src/boost/locale/posix/posix_backend.cpp
  57. )
  58. ENDIF()
  59. SRCS(
  60. src/boost/locale/encoding/codepage.cpp
  61. src/boost/locale/icu/boundary.cpp
  62. src/boost/locale/icu/codecvt.cpp
  63. src/boost/locale/icu/collator.cpp
  64. src/boost/locale/icu/conversion.cpp
  65. src/boost/locale/icu/date_time.cpp
  66. src/boost/locale/icu/formatter.cpp
  67. src/boost/locale/icu/formatters_cache.cpp
  68. src/boost/locale/icu/icu_backend.cpp
  69. src/boost/locale/icu/numeric.cpp
  70. src/boost/locale/icu/time_zone.cpp
  71. src/boost/locale/shared/date_time.cpp
  72. src/boost/locale/shared/format.cpp
  73. src/boost/locale/shared/formatting.cpp
  74. src/boost/locale/shared/generator.cpp
  75. src/boost/locale/shared/iconv_codecvt.cpp
  76. src/boost/locale/shared/ids.cpp
  77. src/boost/locale/shared/localization_backend.cpp
  78. src/boost/locale/shared/message.cpp
  79. src/boost/locale/shared/mo_lambda.cpp
  80. src/boost/locale/std/codecvt.cpp
  81. src/boost/locale/std/collate.cpp
  82. src/boost/locale/std/converter.cpp
  83. src/boost/locale/std/numeric.cpp
  84. src/boost/locale/std/std_backend.cpp
  85. src/boost/locale/util/codecvt_converter.cpp
  86. src/boost/locale/util/default_locale.cpp
  87. src/boost/locale/util/encoding.cpp
  88. src/boost/locale/util/gregorian.cpp
  89. src/boost/locale/util/info.cpp
  90. src/boost/locale/util/locale_data.cpp
  91. )
  92. END()