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
,coinmp
,coinmp
))
12 $(eval
$(call gb_ExternalPackage_use_external_project
,coinmp
,coinmp
))
15 ifeq ($(CPUNAME
),X86_64
)
16 coinmp_arch_subdir
=x64
/
18 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/CoinMP.dll
,CoinMP
/MSVisualStudio
/v9
/$(coinmp_arch_subdir
)$(if
$(MSVC_USE_DEBUG_RUNTIME
),Debug
,Release
)/CoinMP.dll
))
19 else ifneq ($(DISABLE_DYNLOADING
),)
20 # Just use the static archives from workdir. See bin/lo-all-static-libs
21 else ifeq ($(OS
),MACOSX
)
22 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libCbc
.3.dylib
,Cbc
/src
/.libs
/libCbc
.3.9.10.dylib
))
23 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libCbcSolver
.3.dylib
,Cbc
/src
/.libs
/libCbcSolver
.3.9.10.dylib
))
24 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libCgl
.1.dylib
,Cgl
/src
/.libs
/libCgl
.1.9.11.dylib
))
25 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libClp
.1.dylib
,Clp
/src
/.libs
/libClp
.1.13.12.dylib
))
26 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libClpSolver
.1.dylib
,Clp
/src
/.libs
/libClpSolver
.1.13.12.dylib
))
27 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libOsiClp
.1.dylib
,Clp
/src
/OsiClp
/.libs
/libOsiClp
.1.13.12.dylib
))
28 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libCoinMP
.1.dylib
,CoinMP
/src
/.libs
/libCoinMP
.1.8.4.dylib
))
29 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libCoinUtils
.3.dylib
,CoinUtils
/src
/.libs
/libCoinUtils
.3.10.15.dylib
))
30 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libOsi
.1.dylib
,Osi
/src
/Osi
/.libs
/libOsi
.1.12.10.dylib
))
32 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libCbc.so
.3,Cbc
/src
/.libs
/libCbc.so
.3.9.10))
33 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libCbcSolver.so
.3,Cbc
/src
/.libs
/libCbcSolver.so
.3.9.10))
34 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libCgl.so
.1,Cgl
/src
/.libs
/libCgl.so
.1.9.11))
35 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libClp.so
.1,Clp
/src
/.libs
/libClp.so
.1.13.12))
36 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libClpSolver.so
.1,Clp
/src
/.libs
/libClpSolver.so
.1.13.12))
37 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libOsiClp.so
.1,Clp
/src
/OsiClp
/.libs
/libOsiClp.so
.1.13.12))
38 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libCoinMP.so
.1,CoinMP
/src
/.libs
/libCoinMP.so
.1.8.4))
39 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libCoinUtils.so
.3,CoinUtils
/src
/.libs
/libCoinUtils.so
.3.10.15))
40 $(eval
$(call gb_ExternalPackage_add_file
,coinmp
,$(LIBO_LIB_FOLDER
)/libOsi.so
.1,Osi
/src
/Osi
/.libs
/libOsi.so
.1.12.10))
43 # vim: set noet sw=4 ts=4: