2012-11-03 18:19:30 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
|
|
|
# This file is part of the LibreOffice project.
|
|
|
|
#
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_ExternalPackage_ExternalPackage,lpsolve,lpsolve))
|
|
|
|
$(eval $(call gb_ExternalPackage_use_external_project,lpsolve,lpsolve))
|
|
|
|
|
2012-12-11 17:07:09 -06:00
|
|
|
ifeq ($(OS),WNT)
|
2012-11-03 18:19:30 -05:00
|
|
|
ifeq ($(COM),GCC)
|
2012-12-11 17:07:09 -06:00
|
|
|
ifneq ($(OS_FOR_BUILD),WNT)
|
2012-11-03 18:19:30 -05:00
|
|
|
$(eval $(call gb_ExternalPackage_add_files,lpsolve,lib,lpsolve55/liblpsolve55.dll.a))
|
2012-12-11 17:07:09 -06:00
|
|
|
endif # $(OS_FOR_BUILD)
|
2012-11-03 18:19:30 -05:00
|
|
|
else # $(COM)
|
|
|
|
$(eval $(call gb_ExternalPackage_add_files,lpsolve,lib,lpsolve55/lpsolve55.lib))
|
|
|
|
endif # $(COM)
|
|
|
|
$(eval $(call gb_ExternalPackage_add_files,lpsolve,bin,lpsolve55/lpsolve55.dll))
|
2012-12-11 17:07:09 -06:00
|
|
|
else # $(OS)
|
2012-11-03 18:19:30 -05:00
|
|
|
|
|
|
|
ifeq ($(OS),MACOSX)
|
|
|
|
$(eval $(call gb_ExternalPackage_add_files,lpsolve,lib,lpsolve55/liblpsolve55.dylib))
|
|
|
|
else
|
|
|
|
ifeq ($(DISABLE_DYNLOADING),TRUE)
|
|
|
|
$(eval $(call gb_ExternalPackage_add_files,lpsolve,lib,lpsolve55/liblpsolve55.a))
|
|
|
|
else
|
|
|
|
$(eval $(call gb_ExternalPackage_add_files,lpsolve,lib,lpsolve55/liblpsolve55.so))
|
|
|
|
endif # $(DISABLE_DYNLOADING)
|
|
|
|
|
|
|
|
endif # $(OS)
|
2012-12-11 17:07:09 -06:00
|
|
|
endif # $(OS)
|
|
|
|
|
2012-11-03 18:19:30 -05:00
|
|
|
# vim: set noet sw=4 ts=4:
|