summaryrefslogtreecommitdiffstats
path: root/external/boost/StaticLibrary_boost_locale.mk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:54:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:54:39 +0000
commit267c6f2ac71f92999e969232431ba04678e7437e (patch)
tree358c9467650e1d0a1d7227a21dac2e3d08b622b2 /external/boost/StaticLibrary_boost_locale.mk
parentInitial commit. (diff)
downloadlibreoffice-267c6f2ac71f92999e969232431ba04678e7437e.tar.xz
libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.zip
Adding upstream version 4:24.2.0.upstream/4%24.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'external/boost/StaticLibrary_boost_locale.mk')
-rw-r--r--external/boost/StaticLibrary_boost_locale.mk65
1 files changed, 65 insertions, 0 deletions
diff --git a/external/boost/StaticLibrary_boost_locale.mk b/external/boost/StaticLibrary_boost_locale.mk
new file mode 100644
index 0000000000..1193867a6d
--- /dev/null
+++ b/external/boost/StaticLibrary_boost_locale.mk
@@ -0,0 +1,65 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_StaticLibrary_StaticLibrary,boost_locale))
+
+$(eval $(call gb_StaticLibrary_use_unpacked,boost_locale,boost))
+
+$(eval $(call gb_StaticLibrary_set_warnings_disabled,boost_locale))
+
+# disable "auto link" "feature" on MSVC
+$(eval $(call gb_StaticLibrary_add_defs,boost_locale,\
+ -DBOOST_ALL_NO_LIB -DBOOST_LOCALE_NO_WINAPI_BACKEND -DBOOST_LOCALE_NO_POSIX_BACKEND -DBOOST_USE_WINDOWS_H \
+))
+
+$(eval $(call gb_StaticLibrary_set_include,boost_locale, \
+ -I$(call gb_UnpackedTarball_get_dir,boost)/libs/locale/src \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_StaticLibrary_use_external,boost_locale,boost_headers))
+
+$(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,boost_locale,cpp))
+
+$(eval $(call gb_StaticLibrary_add_generated_exception_objects,boost_locale,\
+ UnpackedTarball/boost/libs/locale/src/boost/locale/encoding/codepage \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/shared/date_time \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/shared/format \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/shared/formatting \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/shared/generator \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/shared/ids \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/shared/localization_backend \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/shared/message \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/shared/mo_lambda \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/std/codecvt \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/std/collate \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/std/converter \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/std/numeric \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/std/std_backend \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/util/codecvt_converter \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/util/default_locale \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/util/encoding \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/util/gregorian \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/util/info \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/util/locale_data \
+))
+
+ifeq ($(OS),WNT)
+
+$(eval $(call gb_StaticLibrary_add_generated_exception_objects,boost_locale,\
+ UnpackedTarball/boost/libs/locale/src/boost/locale/win32/collate \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/win32/converter \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/win32/lcid \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/win32/numeric \
+ UnpackedTarball/boost/libs/locale/src/boost/locale/win32/win_backend \
+))
+
+endif
+
+# vim: set noet sw=4 ts=4: