Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / external / boost / StaticLibrary_boost_locale.mk
blob5481097728bdd6adc268b44057e42b767ada32fd
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_StaticLibrary_StaticLibrary,boost_locale))
12 $(eval $(call gb_StaticLibrary_use_unpacked,boost_locale,boost))
14 $(eval $(call gb_StaticLibrary_set_warnings_disabled,boost_locale))
16 # disable "auto link" "feature" on MSVC
17 $(eval $(call gb_StaticLibrary_add_defs,boost_locale,\
18 -DBOOST_ALL_NO_LIB -DBOOST_LOCALE_NO_WINAPI_BACKEND -DBOOST_LOCALE_NO_POSIX_BACKEND -DBOOST_USE_WINDOWS_H \
21 # Needed when building against MSVC resp. libc++ in C++17 mode, as Boost 1.65.1
22 # workdir/UnpackedTarball/boost/boost/locale/generator.hpp contains "std::auto_ptr<data> d;":
23 $(eval $(call gb_StaticLibrary_add_defs,boost_locale, \
24 -D_HAS_AUTO_PTR_ETC=1 \
25 -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR \
28 $(eval $(call gb_StaticLibrary_use_external,boost_locale,boost_headers))
30 $(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,boost_locale,cpp))
32 $(eval $(call gb_StaticLibrary_add_generated_exception_objects,boost_locale,\
33 UnpackedTarball/boost/libs/locale/src/encoding/codepage \
34 UnpackedTarball/boost/libs/locale/src/shared/date_time \
35 UnpackedTarball/boost/libs/locale/src/shared/format \
36 UnpackedTarball/boost/libs/locale/src/shared/formatting \
37 UnpackedTarball/boost/libs/locale/src/shared/generator \
38 UnpackedTarball/boost/libs/locale/src/shared/ids \
39 UnpackedTarball/boost/libs/locale/src/shared/localization_backend \
40 UnpackedTarball/boost/libs/locale/src/shared/message \
41 UnpackedTarball/boost/libs/locale/src/shared/mo_lambda \
42 UnpackedTarball/boost/libs/locale/src/std/codecvt \
43 UnpackedTarball/boost/libs/locale/src/std/collate \
44 UnpackedTarball/boost/libs/locale/src/std/converter \
45 UnpackedTarball/boost/libs/locale/src/std/numeric \
46 UnpackedTarball/boost/libs/locale/src/std/std_backend \
47 UnpackedTarball/boost/libs/locale/src/util/codecvt_converter \
48 UnpackedTarball/boost/libs/locale/src/util/default_locale \
49 UnpackedTarball/boost/libs/locale/src/util/gregorian \
50 UnpackedTarball/boost/libs/locale/src/util/info \
51 UnpackedTarball/boost/libs/locale/src/util/locale_data \
54 ifeq ($(OS),WNT)
56 $(eval $(call gb_StaticLibrary_add_generated_exception_objects,boost_locale,\
57 UnpackedTarball/boost/libs/locale/src/win32/collate \
58 UnpackedTarball/boost/libs/locale/src/win32/converter \
59 UnpackedTarball/boost/libs/locale/src/win32/lcid \
60 UnpackedTarball/boost/libs/locale/src/win32/numeric \
61 UnpackedTarball/boost/libs/locale/src/win32/win_backend \
64 endif
66 # vim: set noet sw=4 ts=4: