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
))
11 $(eval
$(call gb_ExternalPackage_use_external_project
,lcms2
,lcms2
))
14 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,lib
/liblcms2.dylib
,src
/.libs
/liblcms2.dylib
))
15 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,lib
/liblcms2.2.dylib
,src
/.libs
/liblcms2.2.dylib
))
16 else ifeq ($(filter-out IOS ANDROID
,$(OS
)),)
17 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,lib
/liblcms2.a
,src
/.libs
/liblcms2.a
))
20 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,lib
/liblcms2.dll.a
,src
/.libs
/liblcms2.dll.a
))
21 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,bin
/liblcms2-2.dll
,src
/.libs
/liblcms2-2.dll
))
22 else ifeq ($(COM
),MSC
)
23 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,lib
/lcms2.lib
,bin
/lcms2.lib
))
24 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,bin
/lcms2.dll
,bin
/lcms2.dll
))
27 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,lib
/liblcms2.so
,src
/.libs
/liblcms2.so
))
28 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,lib
/liblcms2.so
.2,src
/.libs
/liblcms2.so
.2))
29 $(eval
$(call gb_ExternalPackage_add_file
,lcms2
,lib
/liblcms2.so
.2.0.4,src
/.libs
/liblcms2.so
.2.0.4))
31 # vim: set noet sw=4 ts=4: