Add header installation
[gpgme.git] / lang / cpp / src / Makefile.am
1 # Makefile.am for GPGMEPP.
2 # Copyright (C) 2016 Intevation GmbH
3 #
4 # This file is part of GPGMEPP.
5 #
6 # GPGME-CL is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # GPGME-CL is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU Lesser General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 # 02111-1307, USA
20
21 lib_LTLIBRARIES = libgpgmepp.la
22
23 main_sources = \
24     exception.cpp context.cpp key.cpp trustitem.cpp data.cpp callbacks.cpp \
25     eventloopinteractor.cpp editinteractor.cpp assuanresult.cpp \
26     keylistresult.cpp keygenerationresult.cpp importresult.cpp \
27     decryptionresult.cpp verificationresult.cpp \
28     signingresult.cpp encryptionresult.cpp \
29     engineinfo.cpp gpgsetexpirytimeeditinteractor.cpp \
30     gpgsetownertrusteditinteractor.cpp gpgsignkeyeditinteractor.cpp \
31     gpgadduserideditinteractor.cpp defaultassuantransaction.cpp \
32     scdgetinfoassuantransaction.cpp gpgagentgetinfoassuantransaction.cpp \
33     vfsmountresult.cpp configuration.cpp
34
35 gpgmepp_headers = \
36     assuanresult.h configuration.h context.h data.h decryptionresult.h \
37     defaultassuantransaction.h editinteractor.h encryptionresult.h \
38     engineinfo.h error.h eventloopinteractor.h exception.h global.h \
39     gpgadduserideditinteractor.h gpgagentgetinfoassuantransaction.h \
40     gpgmefw.h gpgsetexpirytimeeditinteractor.h \
41     gpgsetownertrusteditinteractor.h gpgsignkeyeditinteractor.h \
42     importresult.h keygenerationresult.h key.h keylistresult.h \
43     notation.h result.h scdgetinfoassuantransaction.h signingresult.h \
44     trustitem.h verificationresult.h vfsmountresult.h gpgmepp_export.h
45
46 interface_headers= \
47     interfaces/assuantransaction.h interfaces/dataprovider.h \
48     interfaces/passphraseprovider.h interfaces/progressprovider.h
49
50 gpgmeppincludedir = $(includedir)/gpgme++
51 gpgmeppinclude_HEADERS = $(gpgmepp_headers)
52 nobase_gpgmeppinclude_HEADERS = $(interface_headers)
53
54 libgpgmepp_la_SOURCES = $(main_sources) $(gpgmepp_headers) context_vanilla.cpp \
55                         $(interface_headers)
56
57 AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ -DBUILDING_GPGMEPP
58
59 libgpgmepp_la_LIBADD = ../../../src/libgpgme.la @LIBASSUAN_LIBS@