Bump version to 5.0-14
[LibreOffice.git] / external / curl / ExternalPackage_curl.mk
blobed5589212dad5abaa4264622dbcb25eef2e358ce
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,curl,curl))
12 $(eval $(call gb_ExternalPackage_use_external_project,curl,curl))
14 ifneq ($(DISABLE_DYNLOADING),TRUE)
16 ifeq ($(OS)$(COM),WNTGCC)
17 $(eval $(call gb_ExternalPackage_add_file,curl,$(LIBO_LIB_FOLDER)/libcurl.dll,lib/.libs/libcurl.dll))
18 else ifeq ($(COM),MSC)
19 $(eval $(call gb_ExternalPackage_add_file,curl,$(LIBO_LIB_FOLDER)/libcurl$(if $(MSVC_USE_DEBUG_RUNTIME),d).dll,lib/$(if $(MSVC_USE_DEBUG_RUNTIME),debug-dll,release-dll)/libcurl$(if $(MSVC_USE_DEBUG_RUNTIME),d).dll))
20 else ifeq ($(OS),MACOSX)
21 $(eval $(call gb_ExternalPackage_add_file,curl,$(LIBO_LIB_FOLDER)/libcurl.4.dylib,lib/.libs/libcurl.4.dylib))
22 else ifeq ($(OS),AIX)
23 $(eval $(call gb_ExternalPackage_add_file,curl,$(LIBO_LIB_FOLDER)/libcurl.so,lib/.libs/libcurl.so.4))
24 else
25 $(eval $(call gb_ExternalPackage_add_file,curl,$(LIBO_LIB_FOLDER)/libcurl.so.4,lib/.libs/libcurl.so.4.3.0))
26 endif
28 endif # $(DISABLE_DYNLOADING)
30 # vim: set noet sw=4 ts=4: