Updated core
[LibreOffice.git] / lpsolve / ExternalPackage_lpsolve.mk
blob70bfa67ed5ebdc691e8c479fb69327b833a56424
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,lpsolve,lpsolve))
11 $(eval $(call gb_ExternalPackage_use_external_project,lpsolve,lpsolve))
13 ifeq ($(OS),WNT)
14 ifeq ($(COM),GCC)
15 ifneq ($(OS_FOR_BUILD),WNT)
16 $(eval $(call gb_ExternalPackage_add_files,lpsolve,lib,lpsolve55/liblpsolve55.dll.a))
17 endif # $(OS_FOR_BUILD)
18 else # $(COM)
19 $(eval $(call gb_ExternalPackage_add_files,lpsolve,lib,lpsolve55/lpsolve55.lib))
20 endif # $(COM)
21 $(eval $(call gb_ExternalPackage_add_library_for_install,lpsolve,bin/lpsolve55.dll,lpsolve55/lpsolve55.dll))
22 else # $(OS)
24 ifeq ($(OS),MACOSX)
25 $(eval $(call gb_ExternalPackage_add_library_for_install,lpsolve,lib/liblpsolve55.dylib,lpsolve55/liblpsolve55.dylib))
26 else
27 ifeq ($(DISABLE_DYNLOADING),TRUE)
28 $(eval $(call gb_ExternalPackage_add_files,lpsolve,lib,lpsolve55/liblpsolve55.a))
29 else
30 $(eval $(call gb_ExternalPackage_add_library_for_install,lpsolve,lib/liblpsolve55.so,lpsolve55/liblpsolve55.so))
31 endif # $(DISABLE_DYNLOADING)
33 endif # $(OS)
34 endif # $(OS)
36 # vim: set noet sw=4 ts=4: