Impress Remote 1.0.5, tag sdremote-1.0.5
[LibreOffice.git] / lpsolve / ExternalPackage_lpsolve.mk
blobed777ab0d7487aed0b436a4c7ff85b6af1e50221
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 ($(GUI),WNT)
14 ifeq ($(COM),GCC)
15 ifneq ($(GUI_FOR_BUILD),WNT)
16 $(eval $(call gb_ExternalPackage_add_files,lpsolve,lib,lpsolve55/liblpsolve55.dll.a))
17 endif # $(GUI_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_files,lpsolve,bin,lpsolve55/lpsolve55.dll))
22 else # $(GUI)
24 ifeq ($(OS),MACOSX)
25 $(eval $(call gb_ExternalPackage_add_files,lpsolve,lib,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_files,lpsolve,lib,lpsolve55/liblpsolve55.so))
31 endif # $(DISABLE_DYNLOADING)
33 endif # $(OS)
34 endif # $(GUI)
35 # vim: set noet sw=4 ts=4: