Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / external / lpsolve / ExternalPackage_lpsolve.mk
blob23c2c5abfa03b323ef8751297032c5ac7b25380e
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))
12 $(eval $(call gb_ExternalPackage_use_external_project,lpsolve,lpsolve))
14 ifneq ($(DISABLE_DYNLOADING),TRUE)
15 ifeq ($(OS),WNT)
16 $(eval $(call gb_ExternalPackage_add_file,lpsolve,$(LIBO_LIB_FOLDER)/lpsolve55.dll,lpsolve55/lpsolve55.dll))
17 else ifeq ($(OS),MACOSX)
18 $(eval $(call gb_ExternalPackage_add_file,lpsolve,$(LIBO_LIB_FOLDER)/liblpsolve55.dylib,lpsolve55/liblpsolve55.dylib))
19 else # $(OS) != WNT/MACOSX
20 $(eval $(call gb_ExternalPackage_add_file,lpsolve,$(LIBO_LIB_FOLDER)/liblpsolve55.so,lpsolve55/liblpsolve55.so))
21 endif # $(OS)
22 endif # $(DISABLE_DYNLOADING)
24 # vim: set noet sw=4 ts=4: