Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / external / lcms2 / ExternalPackage_lcms2.mk
blob4efd696c40be4cb03a1572e68dee1233360d84b2
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 ifeq ($(DISABLE_DYNLOADING),)
15 ifeq ($(OS),MACOSX)
16 $(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/liblcms2.2.dylib,src/.libs/liblcms2.2.dylib))
17 else ifeq ($(OS),WNT)
18 ifeq ($(COM),GCC)
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 $(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/lcms2.dll,bin/lcms2.dll))
22 endif # $(COM)
23 else # $(OS) != WNT/MACOSX
24 $(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/liblcms2.so.2,src/.libs/liblcms2.so.2.0.8))
25 endif # $(OS)
26 endif # $(DISABLE_DYNLOADING)
28 # vim: set noet sw=4 ts=4: