bump product version to 4.1.6.2
[LibreOffice.git] / curl / ExternalPackage_curl.mk
blobe9cb7a10a127fcff3f5471a2c00167538a66939d
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 ($(OS),WNT)
16 ifeq ($(COM),GCC)
17 $(eval $(call gb_ExternalPackage_add_file,curl,lib/pkgconfig/libcurl.pc,libcurl.pc))
18 endif
20 ifeq ($(DISABLE_DYNLOADING),TRUE)
21 $(eval $(call gb_ExternalPackage_add_file,curl,lib/libcurl.a,lib/.libs/libcurl.a))
22 else ifeq ($(OS),ANDROID)
23 $(eval $(call gb_ExternalPackage_add_file,curl,lib/libcurl.so,lib/.libs/libcurl.so))
24 else ifeq ($(OS),AIX)
25 $(eval $(call gb_ExternalPackage_add_library_for_install,curl,lib/libcurl.so,lib/.libs/libcurl.so.4))
26 else
27 $(eval $(call gb_ExternalPackage_add_file,curl,lib/libcurl.so,lib/.libs/libcurl.so.4.2.0))
28 $(eval $(call gb_ExternalPackage_add_library_for_install,curl,lib/libcurl.so.4,lib/.libs/libcurl.so.4.2.0))
29 endif
31 else ifeq ($(OS)$(COM),WNTGCC)
33 $(eval $(call gb_ExternalPackage_add_file,curl,lib/libcurl.a,lib/.libs/libcurl.a))
34 $(eval $(call gb_ExternalPackage_add_library_for_install,curl,bin/libcurl.dll,lib/.libs/libcurl.dll))
36 else ifeq ($(COM),MSC)
38 $(eval $(call gb_ExternalPackage_add_file,curl,lib/libcurl.lib,lib/libcurl.lib))
39 $(eval $(call gb_ExternalPackage_add_library_for_install,curl,bin/libcurl.dll,lib/libcurl.dll))
41 endif
43 # vim: set noet sw=4 ts=4: