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_ExternalPackage_ExternalPackage
,lcms2
,lcms2
))
12 $(eval
$(call gb_ExternalPackage_use_external_project
,lcms2
,lcms2
))
14 ifneq ($(DISABLE_DYNLOADING
),TRUE
)
16 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,$(LIBO_LIB_FOLDER
)/liblcms2.2.dylib
,src
/.libs
/liblcms2.2.dylib
))
19 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,$(LIBO_LIB_FOLDER
)/liblcms2-2.dll
,src
/.libs
/liblcms2-2.dll
))
20 else ifeq ($(COM
),MSC
)
21 # note: the lcms2d.lib references LCMS2.DLL (without D!) but the dll is
22 # actually called LCMS2D.DLL then
23 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,$(LIBO_LIB_FOLDER
)/lcms2.dll
,bin
/lcms2
$(if
$(MSVC_USE_DEBUG_RUNTIME
),d
).dll
))
25 else # $(OS) != WNT/MACOSX
26 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,$(LIBO_LIB_FOLDER
)/liblcms2.so
.2,src
/.libs
/liblcms2.so
.2.0.4))
28 endif # $(DISABLE_DYNLOADING)
30 # vim: set noet sw=4 ts=4: