aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/locale/ya.make
blob: c219d302675524cad86c5e5c6e9b833e84852bd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(BSL-1.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(1.87.0)

ORIGINAL_SOURCE(https://github.com/boostorg/locale/archive/boost-1.87.0.tar.gz)

PEERDIR(
    contrib/libs/icu
    contrib/restricted/boost/assert
    contrib/restricted/boost/config
    contrib/restricted/boost/core
    contrib/restricted/boost/iterator
    contrib/restricted/boost/predef
    contrib/restricted/boost/thread
    contrib/restricted/boost/utility
)

ADDINCL(
    GLOBAL contrib/restricted/boost/locale/include
    contrib/restricted/boost/locale/src
)

NO_COMPILER_WARNINGS()

NO_UTIL()

CFLAGS(
    -DBOOST_LOCALE_WITH_ICU
)

IF (DYNAMIC_BOOST)
    CFLAGS(
        GLOBAL -DBOOST_LOCALE_DYN_LINK
    )
ENDIF()

IF (OS_ANDROID)
    CFLAGS(
        -DBOOST_LOCALE_NO_POSIX_BACKEND
        -DBOOST_LOCALE_NO_WINAPI_BACKEND
    )
ELSEIF (OS_WINDOWS)
    CFLAGS(
        -DBOOST_LOCALE_NO_POSIX_BACKEND
    )
    SRCS(
        src/boost/locale/win32/collate.cpp
        src/boost/locale/win32/converter.cpp
        src/boost/locale/win32/lcid.cpp
        src/boost/locale/win32/numeric.cpp
        src/boost/locale/win32/win_backend.cpp
    )
ELSE()
    CFLAGS(
        -DBOOST_LOCALE_NO_WINAPI_BACKEND
    )
    SRCS(
        src/boost/locale/posix/codecvt.cpp
        src/boost/locale/posix/collate.cpp
        src/boost/locale/posix/converter.cpp
        src/boost/locale/posix/numeric.cpp
        src/boost/locale/posix/posix_backend.cpp
    )
ENDIF()

SRCS(
    src/boost/locale/encoding/codepage.cpp
    src/boost/locale/icu/boundary.cpp
    src/boost/locale/icu/codecvt.cpp
    src/boost/locale/icu/collator.cpp
    src/boost/locale/icu/conversion.cpp
    src/boost/locale/icu/date_time.cpp
    src/boost/locale/icu/formatter.cpp
    src/boost/locale/icu/formatters_cache.cpp
    src/boost/locale/icu/icu_backend.cpp
    src/boost/locale/icu/numeric.cpp
    src/boost/locale/icu/time_zone.cpp
    src/boost/locale/shared/date_time.cpp
    src/boost/locale/shared/format.cpp
    src/boost/locale/shared/formatting.cpp
    src/boost/locale/shared/generator.cpp
    src/boost/locale/shared/iconv_codecvt.cpp
    src/boost/locale/shared/ids.cpp
    src/boost/locale/shared/localization_backend.cpp
    src/boost/locale/shared/message.cpp
    src/boost/locale/shared/mo_lambda.cpp
    src/boost/locale/std/codecvt.cpp
    src/boost/locale/std/collate.cpp
    src/boost/locale/std/converter.cpp
    src/boost/locale/std/numeric.cpp
    src/boost/locale/std/std_backend.cpp
    src/boost/locale/util/codecvt_converter.cpp
    src/boost/locale/util/default_locale.cpp
    src/boost/locale/util/encoding.cpp
    src/boost/locale/util/gregorian.cpp
    src/boost/locale/util/info.cpp
    src/boost/locale/util/locale_data.cpp
)

END()