summaryrefslogtreecommitdiffstats
path: root/external/libgpg-error
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2017-02-10 17:51:35 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-02-16 12:14:02 +0000
commit4a53df9cd7e58230bbb5f5c46161861010ca220f (patch)
treee2fd7c2da6d05c16105b3954bd6d3480d8221597 /external/libgpg-error
parentxmlsecurity: remove unused DecryptorImpl (diff)
downloadcore-4a53df9cd7e58230bbb5f5c46161861010ca220f.tar.gz
core-4a53df9cd7e58230bbb5f5c46161861010ca220f.zip
gpg4libre: Build internal libgpg-error, libassuan and gpgme(pp)
Change-Id: I1953e7062b872340b844771adc8ebe40f524cc76 Reviewed-on: https://gerrit.libreoffice.org/34227 Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'external/libgpg-error')
-rw-r--r--external/libgpg-error/ExternalProject_libgpg-error.mk24
-rw-r--r--external/libgpg-error/Module_libgpg-error.mk1
2 files changed, 25 insertions, 0 deletions
diff --git a/external/libgpg-error/ExternalProject_libgpg-error.mk b/external/libgpg-error/ExternalProject_libgpg-error.mk
new file mode 100644
index 000000000000..107babb80676
--- /dev/null
+++ b/external/libgpg-error/ExternalProject_libgpg-error.mk
@@ -0,0 +1,24 @@
+# -*- 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_ExternalProject_ExternalProject,libgpg-error))
+
+$(eval $(call gb_ExternalProject_register_targets,libgpg-error,\
+ build \
+))
+
+$(eval $(call gb_ExternalProject_use_autoconf,libgpg-error,build))
+
+$(call gb_ExternalProject_get_state_target,libgpg-error,build):
+ $(call gb_ExternalProject_run,build,\
+ MAKE=$(MAKE) ./configure \
+ && $(MAKE) \
+ )
+
+# vim: set noet sw=4 ts=4:
diff --git a/external/libgpg-error/Module_libgpg-error.mk b/external/libgpg-error/Module_libgpg-error.mk
index 814da428f0ec..bbebcfb6949a 100644
--- a/external/libgpg-error/Module_libgpg-error.mk
+++ b/external/libgpg-error/Module_libgpg-error.mk
@@ -10,6 +10,7 @@
$(eval $(call gb_Module_Module,libgpg-error))
$(eval $(call gb_Module_add_targets,libgpg-error,\
+ ExternalProject_libgpg-error \
UnpackedTarball_libgpg-error \
))