[Pkg-gnupg-commit] [gpgme] 34/412: Add header installation

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:26:09 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 c5291a88913ace8f2115021b69c7aeb59b4f79d4
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Wed Mar 2 16:22:20 2016 +0100

    Add header installation
    
    * lang/cpp/src/Makefile.am: Add headers as deps and install them.
     (AM_CPPFLAGS): Add BUILDING_GPGMEPP to be used in export macros.
---
 lang/cpp/src/Makefile.am | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/lang/cpp/src/Makefile.am b/lang/cpp/src/Makefile.am
index 3b7a514..0d6e4c1 100644
--- a/lang/cpp/src/Makefile.am
+++ b/lang/cpp/src/Makefile.am
@@ -32,8 +32,28 @@ main_sources = \
     scdgetinfoassuantransaction.cpp gpgagentgetinfoassuantransaction.cpp \
     vfsmountresult.cpp configuration.cpp
 
-libgpgmepp_la_SOURCES = $(main_sources) context_vanilla.cpp
+gpgmepp_headers = \
+    assuanresult.h configuration.h context.h data.h decryptionresult.h \
+    defaultassuantransaction.h editinteractor.h encryptionresult.h \
+    engineinfo.h error.h eventloopinteractor.h exception.h global.h \
+    gpgadduserideditinteractor.h gpgagentgetinfoassuantransaction.h \
+    gpgmefw.h gpgsetexpirytimeeditinteractor.h \
+    gpgsetownertrusteditinteractor.h gpgsignkeyeditinteractor.h \
+    importresult.h keygenerationresult.h key.h keylistresult.h \
+    notation.h result.h scdgetinfoassuantransaction.h signingresult.h \
+    trustitem.h verificationresult.h vfsmountresult.h gpgmepp_export.h
 
-AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@
+interface_headers= \
+    interfaces/assuantransaction.h interfaces/dataprovider.h \
+    interfaces/passphraseprovider.h interfaces/progressprovider.h
+
+gpgmeppincludedir = $(includedir)/gpgme++
+gpgmeppinclude_HEADERS = $(gpgmepp_headers)
+nobase_gpgmeppinclude_HEADERS = $(interface_headers)
+
+libgpgmepp_la_SOURCES = $(main_sources) $(gpgmepp_headers) context_vanilla.cpp \
+                        $(interface_headers)
+
+AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ -DBUILDING_GPGMEPP
 
 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