Update git submodules
[LibreOffice.git] / external / boost / StaticLibrary_boost_locale.mk
blob1193867a6d0e8062695d209cc3be88b81d1384da
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 $(eval $(call gb_StaticLibrary_set_include,boost_locale, \
22 -I$(call gb_UnpackedTarball_get_dir,boost)/libs/locale/src \
23 $$(INCLUDE) \
26 $(eval $(call gb_StaticLibrary_use_external,boost_locale,boost_headers))
28 $(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,boost_locale,cpp))
30 $(eval $(call gb_StaticLibrary_add_generated_exception_objects,boost_locale,\
31 UnpackedTarball/boost/libs/locale/src/boost/locale/encoding/codepage \
32 UnpackedTarball/boost/libs/locale/src/boost/locale/shared/date_time \
33 UnpackedTarball/boost/libs/locale/src/boost/locale/shared/format \
34 UnpackedTarball/boost/libs/locale/src/boost/locale/shared/formatting \
35 UnpackedTarball/boost/libs/locale/src/boost/locale/shared/generator \
36 UnpackedTarball/boost/libs/locale/src/boost/locale/shared/ids \
37 UnpackedTarball/boost/libs/locale/src/boost/locale/shared/localization_backend \
38 UnpackedTarball/boost/libs/locale/src/boost/locale/shared/message \
39 UnpackedTarball/boost/libs/locale/src/boost/locale/shared/mo_lambda \
40 UnpackedTarball/boost/libs/locale/src/boost/locale/std/codecvt \
41 UnpackedTarball/boost/libs/locale/src/boost/locale/std/collate \
42 UnpackedTarball/boost/libs/locale/src/boost/locale/std/converter \
43 UnpackedTarball/boost/libs/locale/src/boost/locale/std/numeric \
44 UnpackedTarball/boost/libs/locale/src/boost/locale/std/std_backend \
45 UnpackedTarball/boost/libs/locale/src/boost/locale/util/codecvt_converter \
46 UnpackedTarball/boost/libs/locale/src/boost/locale/util/default_locale \
47 UnpackedTarball/boost/libs/locale/src/boost/locale/util/encoding \
48 UnpackedTarball/boost/libs/locale/src/boost/locale/util/gregorian \
49 UnpackedTarball/boost/libs/locale/src/boost/locale/util/info \
50 UnpackedTarball/boost/libs/locale/src/boost/locale/util/locale_data \
53 ifeq ($(OS),WNT)
55 $(eval $(call gb_StaticLibrary_add_generated_exception_objects,boost_locale,\
56 UnpackedTarball/boost/libs/locale/src/boost/locale/win32/collate \
57 UnpackedTarball/boost/libs/locale/src/boost/locale/win32/converter \
58 UnpackedTarball/boost/libs/locale/src/boost/locale/win32/lcid \
59 UnpackedTarball/boost/libs/locale/src/boost/locale/win32/numeric \
60 UnpackedTarball/boost/libs/locale/src/boost/locale/win32/win_backend \
63 endif
65 # vim: set noet sw=4 ts=4: