cid#1607171 Data race condition
[LibreOffice.git] / external / icu / ExternalPackage_icu_ure.mk
blobfefe71afdc2be9e3a1efb989e98bdb94d8e9ca79
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 # libxml2 is in URE and depends on icuuc*.dll on Windows; the i18nlangtag lib is
11 # in URE and depends on the icuuc lib (which in turn depends on the icudata lib)
12 # on all platforms:
14 $(eval $(call gb_ExternalPackage_ExternalPackage,icu_ure,icu))
16 $(eval $(call gb_ExternalPackage_use_external_project,icu_ure,icu))
18 ifneq ($(DISABLE_DYNLOADING),TRUE)
19 ifeq ($(OS),WNT)
21 ifeq ($(COM),GCC)
22 $(eval $(call gb_ExternalPackage_add_files,icu_ure,$(LIBO_URE_LIB_FOLDER),\
23 source/lib/icudt$(ICU_MAJOR).dll \
24 source/lib/icuuc$(ICU_MAJOR).dll \
26 else
27 $(eval $(call gb_ExternalPackage_add_files,icu_ure,$(LIBO_URE_LIB_FOLDER),\
28 source/lib/icudt$(if $(MSVC_USE_DEBUG_RUNTIME),d)$(ICU_MAJOR).dll \
29 source/lib/icuuc$(if $(MSVC_USE_DEBUG_RUNTIME),d)$(ICU_MAJOR).dll \
31 endif # $(COM)
33 else ifeq ($(OS),ANDROID)
35 $(eval $(call gb_ExternalPackage_add_files,icu_ure,$(LIBO_URE_LIB_FOLDER),\
36 source/lib/libicudatalo.so \
37 source/lib/libicuuclo.so \
40 else # $(OS) != WNT/ANDROID
42 $(eval $(call gb_ExternalPackage_add_file,icu_ure,$(LIBO_URE_LIB_FOLDER)/libicudata$(gb_Library_DLLEXT).$(ICU_MAJOR),source/lib/libicudata$(gb_Library_DLLEXT).$(icu_VERSION)))
43 $(eval $(call gb_ExternalPackage_add_file,icu_ure,$(LIBO_URE_LIB_FOLDER)/libicuuc$(gb_Library_DLLEXT).$(ICU_MAJOR),source/lib/libicuuc$(gb_Library_DLLEXT).$(icu_VERSION)))
45 endif # $(OS)
46 endif # DISABLE_DYNLOADING
48 # vim: set noet sw=4 ts=4: