diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-10-29 10:50:32 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2012-10-29 12:25:53 -0400 |
commit | 0f075129c95f7aee782bf08b2edbe7c71db1c7b2 (patch) | |
tree | a6dd3dab52ffac33fe742f3e01d3fcc569e61068 /curl/ExternalPackage_curl.mk | |
parent | a3d9253615078a35836c9e79dd694c4540dd5dde (diff) |
convert curl to gbuild
Change-Id: I8c038a0c59660f4fb672d71c08e6ee0b56c302ee
Diffstat (limited to 'curl/ExternalPackage_curl.mk')
-rw-r--r-- | curl/ExternalPackage_curl.mk | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/curl/ExternalPackage_curl.mk b/curl/ExternalPackage_curl.mk new file mode 100644 index 000000000000..c5852f872400 --- /dev/null +++ b/curl/ExternalPackage_curl.mk @@ -0,0 +1,39 @@ +# -*- 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,curl,curl)) + +$(eval $(call gb_ExternalPackage_use_external_project,curl,curl)) + +ifeq ($(GUI),UNX) + +ifeq ($(COM),GCC) +$(eval $(call gb_ExternalPackage_add_file,curl,lib/pkgconfig/libcurl.pc,libcurl.pc)) +endif + +ifeq ($(DISABLE_DYNLOADING),TRUE) +$(eval $(call gb_ExternalPackage_add_file,curl,lib/libcurl.a,.libs/libcurl.a)) +else ifeq ($(OS),ANDROID) +$(eval $(call gb_ExternalPackage_add_file,curl,lib/libcurl.so,.libs/libcurl.so)) +else +$(eval $(call gb_ExternalPackage_add_file,curl,lib/libcurl.so,lib/.libs/libcurl.so.4.2.0)) +endif + +else ifeq ($(GUI),WNT) + +ifeq ($(COM),GCC) +$(eval $(call gb_ExternalPackage_add_file,curl,lib/libcurl.a,.libs/libcurl.a)) +$(eval $(call gb_ExternalPackage_add_file,curl,bin/libcurl.dll,.libs/libcurl.dll)) +else ifeq ($(COM),WNT) +$(eval $(call gb_ExternalPackage_add_file,curl,lib/libcurl.lib,lib/libcurl.lib)) +$(eval $(call gb_ExternalPackage_add_file,curl,bin/libcurl.dll,lib/libcurl.dll)) +endif + +endif +# vim: set noet sw=4 ts=4: |