[Pkg-gnupg-commit] [gpgme] 31/412: Add buildsystem for Gpgmepp

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:26:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gpgme.

commit f5fd787b5b45cb14d539b5c26f44066eb9ac0f75
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Feb 22 19:09:54 2016 +0100

    Add buildsystem for Gpgmepp
    
    * configure.ac: Configure Makefiles.
    * lang/Makefile.am: Add cpp subdir
    * lang/cpp/Makefile.am: New. Add src subdir.
    * lang/cpp/src/Makefile.am: New. Basic buildsystem.
---
 configure.ac             |  1 +
 lang/Makefile.am         |  2 +-
 lang/cpp/Makefile.am     | 23 +++++++++++++++++++++++
 lang/cpp/src/Makefile.am | 39 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 64 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 55c388e..fb6fa73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -632,6 +632,7 @@ AC_CONFIG_FILES(Makefile src/Makefile
                 src/versioninfo.rc
                 src/gpgme.h)
 AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config)
+AC_CONFIG_FILES(lang/cpp/Makefile lang/cpp/src/Makefile)
 AC_CONFIG_FILES([lang/Makefile lang/cl/Makefile lang/cl/gpgme.asd])
 AC_OUTPUT
 
diff --git a/lang/Makefile.am b/lang/Makefile.am
index 854d934..a8d33f5 100644
--- a/lang/Makefile.am
+++ b/lang/Makefile.am
@@ -17,6 +17,6 @@
 # License along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 
-SUBDIRS = cl
+SUBDIRS = cl cpp
 
 EXTRA_DIST = README
diff --git a/lang/cpp/Makefile.am b/lang/cpp/Makefile.am
new file mode 100644
index 0000000..7fbaca8
--- /dev/null
+++ b/lang/cpp/Makefile.am
@@ -0,0 +1,23 @@
+# Makefile.am for GPGMEPP.
+# Copyright (C) 2016 Intevation GmbH
+#
+# This file is part of GPGMEPP.
+#
+# GPGME-CL is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# GPGME-CL is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA
+
+SUBDIRS = src
+
+EXTRA_DIST = README
diff --git a/lang/cpp/src/Makefile.am b/lang/cpp/src/Makefile.am
new file mode 100644
index 0000000..3b7a514
--- /dev/null
+++ b/lang/cpp/src/Makefile.am
@@ -0,0 +1,39 @@
+# Makefile.am for GPGMEPP.
+# Copyright (C) 2016 Intevation GmbH
+#
+# This file is part of GPGMEPP.
+#
+# GPGME-CL is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# GPGME-CL is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA
+
+lib_LTLIBRARIES = libgpgmepp.la
+
+main_sources = \
+    exception.cpp context.cpp key.cpp trustitem.cpp data.cpp callbacks.cpp \
+    eventloopinteractor.cpp editinteractor.cpp assuanresult.cpp \
+    keylistresult.cpp keygenerationresult.cpp importresult.cpp \
+    decryptionresult.cpp verificationresult.cpp \
+    signingresult.cpp encryptionresult.cpp \
+    engineinfo.cpp gpgsetexpirytimeeditinteractor.cpp \
+    gpgsetownertrusteditinteractor.cpp gpgsignkeyeditinteractor.cpp \
+    gpgadduserideditinteractor.cpp defaultassuantransaction.cpp \
+    scdgetinfoassuantransaction.cpp gpgagentgetinfoassuantransaction.cpp \
+    vfsmountresult.cpp configuration.cpp
+
+libgpgmepp_la_SOURCES = $(main_sources) context_vanilla.cpp
+
+AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@
+
+libgpgmepp_la_LIBADD = ../../../src/libgpgme.la @LIBASSUAN_LIBS@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list