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 icu_VERSION
:= $(ICU_MAJOR
).
$(ICU_MINOR
)$(if
$(ICU_MICRO
),.
$(ICU_MICRO
))
12 $(eval
$(call gb_ExternalPackage_ExternalPackage
,icu
,icu
))
14 $(eval
$(call gb_ExternalPackage_use_external_project
,icu
,icu
))
16 ifneq ($(DISABLE_DYNLOADING
),TRUE
)
20 $(eval
$(call gb_ExternalPackage_add_files
,icu
,$(LIBO_LIB_FOLDER
),\
21 source
/lib
/icuin
$(ICU_MAJOR
).dll \
24 $(eval
$(call gb_ExternalPackage_add_files
,icu
,$(LIBO_LIB_FOLDER
),\
25 source
/lib
/icuin
$(if
$(MSVC_USE_DEBUG_RUNTIME
),d
)$(ICU_MAJOR
).dll \
29 else ifeq ($(OS
),ANDROID
)
31 $(eval
$(call gb_ExternalPackage_add_files
,icu
,$(LIBO_LIB_FOLDER
),\
32 source
/lib
/libicui18nlo.so \
35 else # $(OS) != WNT/ANDROID
37 $(eval
$(call gb_ExternalPackage_add_file
,icu
,$(LIBO_LIB_FOLDER
)/libicui18n
$(gb_Library_DLLEXT
).
$(ICU_MAJOR
),source
/lib
/libicui18n
$(gb_Library_DLLEXT
).
$(icu_VERSION
)))
40 endif # DISABLE_DYNLOADING
42 # vim: set noet sw=4 ts=4: