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
))
15 ifneq ($(OS_FOR_BUILD
),WNT
)
16 $(eval
$(call gb_ExternalPackage_add_files
,lpsolve
,lib
,lpsolve55
/liblpsolve55.dll.a
))
17 endif # $(OS_FOR_BUILD)
19 $(eval
$(call gb_ExternalPackage_add_files
,lpsolve
,lib
,lpsolve55
/lpsolve55.lib
))
21 $(eval
$(call gb_ExternalPackage_add_library_for_install
,lpsolve
,bin
/lpsolve55.dll
,lpsolve55
/lpsolve55.dll
))
25 $(eval
$(call gb_ExternalPackage_add_library_for_install
,lpsolve
,lib
/liblpsolve55.dylib
,lpsolve55
/liblpsolve55.dylib
))
27 ifeq ($(DISABLE_DYNLOADING
),TRUE
)
28 $(eval
$(call gb_ExternalPackage_add_files
,lpsolve
,lib
,lpsolve55
/liblpsolve55.a
))
30 $(eval
$(call gb_ExternalPackage_add_library_for_install
,lpsolve
,lib
/liblpsolve55.so
,lpsolve55
/liblpsolve55.so
))
31 endif # $(DISABLE_DYNLOADING)
36 # vim: set noet sw=4 ts=4: