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
))
17 $(eval
$(call gb_ExternalPackage_add_file
,curl
,lib
/pkgconfig
/libcurl.
pc,libcurl.
pc))
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
))
25 $(eval
$(call gb_ExternalPackage_add_file
,curl
,lib
/libcurl.so
,lib
/.libs
/libcurl.so
.4.2.0))
26 $(eval
$(call gb_ExternalPackage_add_file
,curl
,lib
/libcurl.so
.4,lib
/.libs
/libcurl.so
.4.2.0))
29 else ifeq ($(OS
)$(COM
),WNTGCC
)
31 $(eval
$(call gb_ExternalPackage_add_file
,curl
,lib
/libcurl.a
,lib
/.libs
/libcurl.a
))
32 $(eval
$(call gb_ExternalPackage_add_file
,curl
,bin
/libcurl.dll
,lib
/.libs
/libcurl.dll
))
34 else ifeq ($(COM
),MSC
)
36 $(eval
$(call gb_ExternalPackage_add_file
,curl
,lib
/libcurl.lib
,lib
/libcurl.lib
))
37 $(eval
$(call gb_ExternalPackage_add_file
,curl
,bin
/libcurl.dll
,lib
/libcurl.dll
))
41 # vim: set noet sw=4 ts=4: