2016-02-22 18:09:54 +00:00
|
|
|
# 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
|
|
|
|
|
2016-07-12 09:09:44 +00:00
|
|
|
EXTRA_DIST = GpgmeppConfig.cmake.in.in GpgmeppConfigVersion.cmake.in \
|
2016-11-15 13:33:31 +00:00
|
|
|
gpgmepp_version.h.in GpgmeppConfig-w32.cmake.in.in
|
2016-03-02 17:41:42 +00:00
|
|
|
|
2016-02-22 18:09:54 +00:00
|
|
|
lib_LTLIBRARIES = libgpgmepp.la
|
|
|
|
|
|
|
|
main_sources = \
|
|
|
|
exception.cpp context.cpp key.cpp trustitem.cpp data.cpp callbacks.cpp \
|
2016-08-23 17:50:01 +00:00
|
|
|
eventloopinteractor.cpp editinteractor.cpp \
|
2016-02-22 18:09:54 +00:00
|
|
|
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 \
|
2016-11-04 11:33:57 +00:00
|
|
|
vfsmountresult.cpp configuration.cpp tofuinfo.cpp swdbresult.cpp
|
2016-02-22 18:09:54 +00:00
|
|
|
|
2016-03-02 15:22:20 +00:00
|
|
|
gpgmepp_headers = \
|
2016-08-23 17:50:01 +00:00
|
|
|
configuration.h context.h data.h decryptionresult.h \
|
2016-03-02 15:22:20 +00:00
|
|
|
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 \
|
2016-07-01 14:49:06 +00:00
|
|
|
trustitem.h verificationresult.h vfsmountresult.h gpgmepp_export.h \
|
2016-11-04 11:33:57 +00:00
|
|
|
tofuinfo.h swdbresult.h
|
2016-02-22 18:09:54 +00:00
|
|
|
|
2016-05-10 13:05:11 +00:00
|
|
|
private_gpgmepp_headers = \
|
|
|
|
result_p.h context_p.h util.h callbacks.h data_p.h
|
|
|
|
|
2016-03-02 15:22:20 +00:00
|
|
|
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)
|
2016-11-01 09:13:49 +00:00
|
|
|
nodist_gpgmeppinclude_HEADERS = gpgmepp_version.h
|
2016-03-02 15:22:20 +00:00
|
|
|
|
|
|
|
libgpgmepp_la_SOURCES = $(main_sources) $(gpgmepp_headers) context_vanilla.cpp \
|
2016-05-10 13:05:11 +00:00
|
|
|
$(interface_headers) $(private_gpgmepp_headers)
|
2016-03-02 15:22:20 +00:00
|
|
|
|
2016-05-11 12:56:20 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_builddir)/src @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ \
|
|
|
|
-DBUILDING_GPGMEPP
|
2016-02-22 18:09:54 +00:00
|
|
|
|
|
|
|
libgpgmepp_la_LIBADD = ../../../src/libgpgme.la @LIBASSUAN_LIBS@
|
2016-11-14 18:37:34 +00:00
|
|
|
libgpgmepp_la_LDFLAGS = -no-undefined -version-info \
|
2016-03-02 17:56:12 +00:00
|
|
|
@LIBGPGMEPP_LT_CURRENT@:@LIBGPGMEPP_LT_REVISION@:@LIBGPGMEPP_LT_AGE@
|
2016-03-02 17:41:42 +00:00
|
|
|
|
2017-01-11 14:49:00 +00:00
|
|
|
if HAVE_MACOS_SYSTEM
|
|
|
|
libsuffix=.dylib
|
|
|
|
else
|
|
|
|
libsuffix=.so
|
|
|
|
endif
|
|
|
|
|
2016-03-08 13:33:15 +00:00
|
|
|
if HAVE_W32_SYSTEM
|
2016-11-15 13:33:31 +00:00
|
|
|
GpgmeppConfig.cmake: GpgmeppConfig-w32.cmake.in
|
|
|
|
sed -e 's|[@]resolved_bindir@|$(bindir)|g' < "$<" | \
|
|
|
|
sed -e 's|[@]resolved_libdir@|$(libdir)|g' | \
|
|
|
|
sed -e 's|[@]resolved_includedir@|$(includedir)|g' > $@
|
2016-03-08 13:33:15 +00:00
|
|
|
else
|
2016-03-02 17:41:42 +00:00
|
|
|
GpgmeppConfig.cmake: GpgmeppConfig.cmake.in
|
2016-09-29 10:46:18 +00:00
|
|
|
sed -e 's|[@]resolved_libdir@|$(libdir)|g' < "$<" | \
|
2017-01-11 14:49:00 +00:00
|
|
|
sed -e 's|[@]libsuffix@|$(libsuffix)|g' | \
|
2016-09-29 10:46:18 +00:00
|
|
|
sed -e 's|[@]resolved_includedir@|$(includedir)|g' > $@
|
2016-11-15 13:33:31 +00:00
|
|
|
endif
|
2016-03-02 17:41:42 +00:00
|
|
|
install-cmake-files: GpgmeppConfig.cmake GpgmeppConfigVersion.cmake
|
|
|
|
-$(INSTALL) -d $(DESTDIR)$(libdir)/cmake/Gpgmepp
|
2016-10-13 07:35:30 +00:00
|
|
|
$(INSTALL) -m 644 GpgmeppConfig.cmake \
|
2016-03-02 17:41:42 +00:00
|
|
|
$(DESTDIR)$(libdir)/cmake/Gpgmepp/GpgmeppConfig.cmake
|
2016-10-13 07:35:30 +00:00
|
|
|
$(INSTALL) -m 644 GpgmeppConfigVersion.cmake \
|
2016-03-02 17:41:42 +00:00
|
|
|
$(DESTDIR)$(libdir)/cmake/Gpgmepp/GpgmeppConfigVersion.cmake
|
|
|
|
|
|
|
|
uninstall-cmake-files:
|
|
|
|
-rm $(DESTDIR)$(libdir)/cmake/Gpgmepp/GpgmeppConfigVersion.cmake
|
|
|
|
-rm $(DESTDIR)$(libdir)/cmake/Gpgmepp/GpgmeppConfig.cmake
|
|
|
|
-rmdir $(DESTDIR)$(libdir)/cmake/Gpgmepp/
|
|
|
|
|
|
|
|
install-data-local: install-cmake-files
|
|
|
|
|
|
|
|
uninstall-local: uninstall-cmake-files
|
2016-07-07 11:23:05 +00:00
|
|
|
|
2016-11-02 11:24:42 +00:00
|
|
|
CLEANFILES = GpgmeppConfig.cmake GpgmeppConfigVersion.cmake \
|
|
|
|
gpgmepp_version.h GpgmeppConfig.cmake.in
|