2024-06-10 10:27:50 +00:00
|
|
|
# Makefile.am - Makefile for QGpgME tests.
|
qt, cpp: Add additional copyright BSI notes
* lang/cpp/Makefile.am,
lang/cpp/src/Makefile.am,
lang/cpp/src/callbacks.cpp,
lang/cpp/src/callbacks.h,
lang/cpp/src/configuration.cpp,
lang/cpp/src/configuration.h,
lang/cpp/src/context_glib.cpp,
lang/cpp/src/context_p.h,
lang/cpp/src/context_qt.cpp,
lang/cpp/src/context_vanilla.cpp,
lang/cpp/src/data_p.h,
lang/cpp/src/decryptionresult.cpp,
lang/cpp/src/decryptionresult.h,
lang/cpp/src/defaultassuantransaction.cpp,
lang/cpp/src/defaultassuantransaction.h,
lang/cpp/src/editinteractor.cpp,
lang/cpp/src/editinteractor.h,
lang/cpp/src/encryptionresult.cpp,
lang/cpp/src/encryptionresult.h,
lang/cpp/src/engineinfo.cpp,
lang/cpp/src/engineinfo.h,
lang/cpp/src/error.h,
lang/cpp/src/eventloopinteractor.cpp,
lang/cpp/src/eventloopinteractor.h,
lang/cpp/src/exception.cpp,
lang/cpp/src/exception.h,
lang/cpp/src/global.h,
lang/cpp/src/gpgadduserideditinteractor.cpp,
lang/cpp/src/gpgadduserideditinteractor.h,
lang/cpp/src/gpgagentgetinfoassuantransaction.cpp,
lang/cpp/src/gpgagentgetinfoassuantransaction.h,
lang/cpp/src/gpgmefw.h,
lang/cpp/src/gpgsetexpirytimeeditinteractor.cpp,
lang/cpp/src/gpgsetexpirytimeeditinteractor.h,
lang/cpp/src/gpgsetownertrusteditinteractor.cpp,
lang/cpp/src/gpgsetownertrusteditinteractor.h,
lang/cpp/src/gpgsignkeyeditinteractor.cpp,
lang/cpp/src/gpgsignkeyeditinteractor.h,
lang/cpp/src/importresult.cpp,
lang/cpp/src/importresult.h,
lang/cpp/src/interfaces/assuantransaction.h,
lang/cpp/src/interfaces/dataprovider.h,
lang/cpp/src/interfaces/passphraseprovider.h,
lang/cpp/src/interfaces/progressprovider.h,
lang/cpp/src/keygenerationresult.cpp,
lang/cpp/src/keygenerationresult.h,
lang/cpp/src/keylistresult.cpp,
lang/cpp/src/keylistresult.h,
lang/cpp/src/notation.h,
lang/cpp/src/result.h,
lang/cpp/src/result_p.h,
lang/cpp/src/scdgetinfoassuantransaction.cpp,
lang/cpp/src/scdgetinfoassuantransaction.h,
lang/cpp/src/signingresult.cpp,
lang/cpp/src/signingresult.h,
lang/cpp/src/trustitem.cpp,
lang/cpp/src/trustitem.h,
lang/cpp/src/util.h,
lang/cpp/src/verificationresult.cpp,
lang/cpp/src/verificationresult.h,
lang/cpp/src/vfsmountresult.cpp,
lang/qt/Makefile.am,
lang/qt/doc/Makefile.am,
lang/qt/src/Makefile.am,
lang/qt/src/defaultkeygenerationjob.h,
lang/qt/tests/Makefile.am: Add missing copyright.
--
Moving the qt / cpp bindings into GPGME contained global
changes that modified nearly every source file. To reflect
that the copyright year / note should also be updated.
2017-04-25 11:03:49 +00:00
|
|
|
# Copyright (C) 2016 Bundesamt für Sicherheit in der Informationstechnik
|
|
|
|
# Software engineering by Intevation GmbH
|
2016-04-03 09:48:46 +00:00
|
|
|
#
|
2024-06-10 10:27:50 +00:00
|
|
|
# This file is part of QGpgME.
|
2016-04-03 09:48:46 +00:00
|
|
|
#
|
2024-06-10 10:27:50 +00:00
|
|
|
# QGpgME 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.
|
2016-04-03 09:48:46 +00:00
|
|
|
#
|
2024-06-10 10:27:50 +00:00
|
|
|
# QGpgME 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
|
|
|
|
# General Public License for more details.
|
2016-04-03 09:48:46 +00:00
|
|
|
#
|
2024-06-10 10:27:50 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, see <https://gnu.org/licenses/>.
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2016-04-03 09:48:46 +00:00
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
GPG = gpg
|
|
|
|
|
2018-08-06 07:30:47 +00:00
|
|
|
GNUPGHOME=$(abs_builddir)
|
2022-06-09 13:43:24 +00:00
|
|
|
TESTS_ENVIRONMENT = GNUPGHOME=$(GNUPGHOME)
|
2016-04-03 09:48:46 +00:00
|
|
|
|
2021-12-13 09:48:52 +00:00
|
|
|
EXTRA_DIST = initial.test final.test
|
2016-04-11 15:46:03 +00:00
|
|
|
|
2024-07-17 12:06:52 +00:00
|
|
|
if WANT_QT5
|
|
|
|
the_tests5 = \
|
|
|
|
t-addexistingsubkey5 \
|
|
|
|
t-changeexpiryjob5 \
|
|
|
|
t-config5 \
|
|
|
|
t-decryptverify5 \
|
|
|
|
t-encrypt5 \
|
|
|
|
t-import5 \
|
|
|
|
t-keylist5 \
|
|
|
|
t-keylocate5 \
|
|
|
|
t-ownertrust5 \
|
|
|
|
t-remarks5 \
|
|
|
|
t-revokekey5 \
|
|
|
|
t-setprimaryuserid5 \
|
|
|
|
t-tofuinfo5 \
|
|
|
|
t-trustsignatures5 \
|
|
|
|
t-various5 \
|
|
|
|
t-verify5 \
|
|
|
|
t-wkdlookup5
|
|
|
|
# disabled test: t-wkspublish5
|
|
|
|
the_runners5 = \
|
|
|
|
run-decryptverifyarchivejob5 \
|
|
|
|
run-decryptverifyjob5 \
|
|
|
|
run-encryptarchivejob5 \
|
|
|
|
run-encryptjob5 \
|
|
|
|
run-exportjob5 \
|
|
|
|
run-importjob5 \
|
|
|
|
run-keyformailboxjob5 \
|
|
|
|
run-receivekeysjob5 \
|
|
|
|
run-refreshkeysjob5 \
|
|
|
|
run-signarchivejob5 \
|
|
|
|
run-signjob5 \
|
|
|
|
run-verifydetachedjob5 \
|
|
|
|
run-verifyopaquejob5 \
|
|
|
|
run-wkdrefreshjob5
|
|
|
|
endif
|
|
|
|
if WANT_QT6
|
|
|
|
the_tests6 = \
|
|
|
|
t-addexistingsubkey6 \
|
|
|
|
t-changeexpiryjob6 \
|
|
|
|
t-config6 \
|
|
|
|
t-decryptverify6 \
|
|
|
|
t-encrypt6 \
|
|
|
|
t-import6 \
|
|
|
|
t-keylist6 \
|
|
|
|
t-keylocate6 \
|
|
|
|
t-ownertrust6 \
|
|
|
|
t-remarks6 \
|
|
|
|
t-revokekey6 \
|
|
|
|
t-setprimaryuserid6 \
|
|
|
|
t-tofuinfo6 \
|
|
|
|
t-trustsignatures6 \
|
|
|
|
t-various6 \
|
|
|
|
t-verify6 \
|
|
|
|
t-wkdlookup6
|
|
|
|
# disabled test: t-wkspublish6
|
|
|
|
the_runners6 = \
|
|
|
|
run-decryptverifyarchivejob6 \
|
|
|
|
run-decryptverifyjob6 \
|
|
|
|
run-encryptarchivejob6 \
|
|
|
|
run-encryptjob6 \
|
|
|
|
run-exportjob6 \
|
|
|
|
run-importjob6 \
|
|
|
|
run-keyformailboxjob6 \
|
|
|
|
run-receivekeysjob6 \
|
|
|
|
run-refreshkeysjob6 \
|
|
|
|
run-signarchivejob6 \
|
|
|
|
run-signjob6 \
|
|
|
|
run-verifydetachedjob6 \
|
|
|
|
run-verifyopaquejob6 \
|
|
|
|
run-wkdrefreshjob6
|
|
|
|
endif
|
|
|
|
|
|
|
|
TESTS = initial.test $(the_tests5) $(the_tests6) final.test
|
|
|
|
|
|
|
|
# define .moc files for all tests; we'll moc their .cpp files
|
|
|
|
# the only header that needs to be moc'd (t-support.h) is handled individually
|
|
|
|
# moc_files = $(the_tests:%=%.moc)
|
|
|
|
|
|
|
|
# generate the moc files in two steps:
|
|
|
|
# 1. generate Qt 5/6-specific moc files in builddir with extension .moc5/.moc6;
|
|
|
|
# this ensures correct dependencies on the source files
|
|
|
|
# 2. generate forwarding headers in subfolders moc5/moc6 with extension .moc;
|
|
|
|
# this ensures that the "foo.moc" includes in the source files work and
|
|
|
|
# include the correct version of the generated moc files for Qt 5/6
|
|
|
|
# GNU make's pattern rules would make this easier, but we don't want to use them
|
|
|
|
if WANT_QT5
|
|
|
|
moc5_dir = moc5
|
|
|
|
moc5_files = $(moc5_dir)/t-support.hmoc $(the_tests5:%5=%.moc5)
|
|
|
|
moc5_forward_headers = $(the_tests5:%5=$(moc5_dir)/%.moc)
|
|
|
|
|
|
|
|
$(moc5_dir)/t-support.hmoc: t-support.h | $(moc5_dir)
|
|
|
|
$(MOC5) `test -f '$<' || echo '$(srcdir)/'`$< -o $@
|
|
|
|
|
|
|
|
.cpp.moc5:
|
|
|
|
$(MOC5) `test -f '$<' || echo '$(srcdir)/'`$< -o $@
|
|
|
|
|
|
|
|
$(moc5_dir):
|
|
|
|
mkdir $(moc5_dir)
|
|
|
|
|
|
|
|
$(moc5_forward_headers): Makefile.am | $(moc5_dir)
|
|
|
|
echo "#include \"../$(notdir $@)5\"" > "$@"
|
|
|
|
endif
|
|
|
|
if WANT_QT6
|
|
|
|
moc6_dir = moc6
|
|
|
|
moc6_files = $(moc6_dir)/t-support.hmoc $(the_tests6:%6=%.moc6)
|
|
|
|
moc6_forward_headers = $(the_tests6:%6=$(moc6_dir)/%.moc)
|
|
|
|
|
|
|
|
$(moc6_dir)/t-support.hmoc: t-support.h | $(moc6_dir)
|
|
|
|
$(MOC6) `test -f '$<' || echo '$(srcdir)/'`$< -o $@
|
|
|
|
|
|
|
|
.cpp.moc6:
|
|
|
|
$(MOC6) `test -f '$<' || echo '$(srcdir)/'`$< -o $@
|
|
|
|
|
|
|
|
$(moc6_dir):
|
|
|
|
mkdir $(moc6_dir)
|
|
|
|
|
|
|
|
$(moc6_forward_headers): Makefile.am | $(moc6_dir)
|
|
|
|
echo "#include \"../$(notdir $@)6\"" > "$@"
|
|
|
|
endif
|
2016-04-03 09:48:46 +00:00
|
|
|
|
|
|
|
AM_LDFLAGS = -no-install
|
|
|
|
|
2022-10-11 08:14:53 +00:00
|
|
|
if WANT_QT5
|
2024-07-17 12:06:52 +00:00
|
|
|
ldadd_qt5 = ../../cpp/src/libgpgmepp.la ../src/libqgpgme.la \
|
2022-10-10 12:30:41 +00:00
|
|
|
../../../src/libgpgme.la @GPGME_QT5_LIBS@ @GPG_ERROR_LIBS@ \
|
|
|
|
@GPGME_QT5TEST_LIBS@ @LDADD_FOR_TESTS_KLUDGE@ -lstdc++
|
2016-04-03 09:48:46 +00:00
|
|
|
|
2024-07-17 12:06:52 +00:00
|
|
|
cppflags_qt5 = -I$(moc5_dir) -I$(top_srcdir)/lang/qt/src -I$(top_builddir)/lang/cpp/src \
|
2023-08-21 19:08:01 +00:00
|
|
|
-I$(top_builddir)/src \
|
2022-10-10 12:30:41 +00:00
|
|
|
@GPG_ERROR_CFLAGS@ @GPGME_QT5_CFLAGS@ @GPG_ERROR_CFLAGS@ \
|
|
|
|
@LIBASSUAN_CFLAGS@ @GPGME_QT5TEST_CFLAGS@ -DBUILDING_QGPGME \
|
2016-04-03 09:48:46 +00:00
|
|
|
-DTOP_SRCDIR="$(top_srcdir)"
|
2022-10-11 08:14:53 +00:00
|
|
|
endif
|
|
|
|
if WANT_QT6
|
2024-07-17 12:06:52 +00:00
|
|
|
ldadd_qt6 = ../../cpp/src/libgpgmepp.la ../src/libqgpgmeqt6.la \
|
2022-10-11 08:14:53 +00:00
|
|
|
../../../src/libgpgme.la @GPGME_QT6_LIBS@ @GPG_ERROR_LIBS@ \
|
|
|
|
@GPGME_QT6TEST_LIBS@ @LDADD_FOR_TESTS_KLUDGE@ -lstdc++
|
|
|
|
|
2024-07-17 12:06:52 +00:00
|
|
|
cppflags_qt6 = -I$(moc6_dir) -I$(top_srcdir)/lang/qt/src -I$(top_builddir)/lang/cpp/src \
|
2023-08-21 22:12:05 +00:00
|
|
|
-I$(top_builddir)/src \
|
2022-10-11 08:14:53 +00:00
|
|
|
@GPG_ERROR_CFLAGS@ @GPGME_QT6_CFLAGS@ @GPG_ERROR_CFLAGS@ \
|
|
|
|
@LIBASSUAN_CFLAGS@ @GPGME_QT6TEST_CFLAGS@ -DBUILDING_QGPGME \
|
|
|
|
-DTOP_SRCDIR="$(top_srcdir)"
|
|
|
|
endif
|
2016-04-03 09:48:46 +00:00
|
|
|
|
2016-08-09 12:10:15 +00:00
|
|
|
support_src = t-support.h t-support.cpp
|
|
|
|
|
2024-07-17 12:06:52 +00:00
|
|
|
if WANT_QT5
|
|
|
|
t_addexistingsubkey5_SOURCES = t-addexistingsubkey.cpp $(support_src)
|
|
|
|
t_addexistingsubkey5_LDADD = $(ldadd_qt5)
|
|
|
|
t_addexistingsubkey5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_changeexpiryjob5_SOURCES = t-changeexpiryjob.cpp $(support_src)
|
|
|
|
t_changeexpiryjob5_LDADD = $(ldadd_qt5)
|
|
|
|
t_changeexpiryjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_config5_SOURCES = t-config.cpp $(support_src)
|
|
|
|
t_config5_LDADD = $(ldadd_qt5)
|
|
|
|
t_config5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_decryptverify5_SOURCES = t-decryptverify.cpp $(support_src)
|
|
|
|
t_decryptverify5_LDADD = $(ldadd_qt5)
|
|
|
|
t_decryptverify5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_encrypt5_SOURCES = t-encrypt.cpp $(support_src)
|
|
|
|
t_encrypt5_LDADD = $(ldadd_qt5)
|
|
|
|
t_encrypt5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_import5_SOURCES = t-import.cpp $(support_src)
|
|
|
|
t_import5_LDADD = $(ldadd_qt5)
|
|
|
|
t_import5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_keylist5_SOURCES = t-keylist.cpp $(support_src)
|
|
|
|
t_keylist5_LDADD = $(ldadd_qt5)
|
|
|
|
t_keylist5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_keylocate5_SOURCES = t-keylocate.cpp $(support_src)
|
|
|
|
t_keylocate5_LDADD = $(ldadd_qt5)
|
|
|
|
t_keylocate5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_ownertrust5_SOURCES = t-ownertrust.cpp $(support_src)
|
|
|
|
t_ownertrust5_LDADD = $(ldadd_qt5)
|
|
|
|
t_ownertrust5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_remarks5_SOURCES = t-remarks.cpp $(support_src)
|
|
|
|
t_remarks5_LDADD = $(ldadd_qt5)
|
|
|
|
t_remarks5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_revokekey5_SOURCES = t-revokekey.cpp $(support_src)
|
|
|
|
t_revokekey5_LDADD = $(ldadd_qt5)
|
|
|
|
t_revokekey5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_setprimaryuserid5_SOURCES = t-setprimaryuserid.cpp $(support_src)
|
|
|
|
t_setprimaryuserid5_LDADD = $(ldadd_qt5)
|
|
|
|
t_setprimaryuserid5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_tofuinfo5_SOURCES = t-tofuinfo.cpp $(support_src)
|
|
|
|
t_tofuinfo5_LDADD = $(ldadd_qt5)
|
|
|
|
t_tofuinfo5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_trustsignatures5_SOURCES = t-trustsignatures.cpp $(support_src)
|
|
|
|
t_trustsignatures5_LDADD = $(ldadd_qt5)
|
|
|
|
t_trustsignatures5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_various5_SOURCES = t-various.cpp $(support_src)
|
|
|
|
t_various5_LDADD = $(ldadd_qt5)
|
|
|
|
t_various5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_verify5_SOURCES = t-verify.cpp $(support_src)
|
|
|
|
t_verify5_LDADD = $(ldadd_qt5)
|
|
|
|
t_verify5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
t_wkdlookup5_SOURCES = t-wkdlookup.cpp $(support_src)
|
|
|
|
t_wkdlookup5_LDADD = $(ldadd_qt5)
|
|
|
|
t_wkdlookup5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
# t_wkspublish5_SOURCES = t-wkspublish.cpp $(support_src)
|
|
|
|
# t_wkspublish5_LDADD = $(ldadd_qt5)
|
|
|
|
# t_wkspublish5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_decryptverifyarchivejob5_SOURCES = run-decryptverifyarchivejob.cpp
|
|
|
|
run_decryptverifyarchivejob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_decryptverifyarchivejob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_decryptverifyjob5_SOURCES = run-decryptverifyjob.cpp
|
|
|
|
run_decryptverifyjob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_decryptverifyjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_encryptarchivejob5_SOURCES = run-encryptarchivejob.cpp
|
|
|
|
run_encryptarchivejob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_encryptarchivejob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_encryptjob5_SOURCES = run-encryptjob.cpp
|
|
|
|
run_encryptjob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_encryptjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_exportjob5_SOURCES = run-exportjob.cpp
|
|
|
|
run_exportjob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_exportjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_importjob5_SOURCES = run-importjob.cpp
|
|
|
|
run_importjob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_importjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_keyformailboxjob5_SOURCES = run-keyformailboxjob.cpp
|
|
|
|
run_keyformailboxjob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_keyformailboxjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_receivekeysjob5_SOURCES = run-receivekeysjob.cpp
|
|
|
|
run_receivekeysjob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_receivekeysjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_refreshkeysjob5_SOURCES = run-refreshkeysjob.cpp
|
|
|
|
run_refreshkeysjob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_refreshkeysjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_signarchivejob5_SOURCES = run-signarchivejob.cpp
|
|
|
|
run_signarchivejob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_signarchivejob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_signjob5_SOURCES = run-signjob.cpp
|
|
|
|
run_signjob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_signjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_verifydetachedjob5_SOURCES = run-verifydetachedjob.cpp
|
|
|
|
run_verifydetachedjob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_verifydetachedjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_verifyopaquejob5_SOURCES = run-verifyopaquejob.cpp
|
|
|
|
run_verifyopaquejob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_verifyopaquejob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
run_wkdrefreshjob5_SOURCES = run-wkdrefreshjob.cpp
|
|
|
|
run_wkdrefreshjob5_LDADD = $(ldadd_qt5)
|
|
|
|
run_wkdrefreshjob5_CPPFLAGS = $(cppflags_qt5)
|
|
|
|
|
|
|
|
#nodist_t_keylist5_SOURCES = $(moc5_files) $(moc5_forward_headers)
|
|
|
|
endif
|
|
|
|
if WANT_QT6
|
|
|
|
t_addexistingsubkey6_SOURCES = t-addexistingsubkey.cpp $(support_src)
|
|
|
|
t_addexistingsubkey6_LDADD = $(ldadd_qt6)
|
|
|
|
t_addexistingsubkey6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_changeexpiryjob6_SOURCES = t-changeexpiryjob.cpp $(support_src)
|
|
|
|
t_changeexpiryjob6_LDADD = $(ldadd_qt6)
|
|
|
|
t_changeexpiryjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_config6_SOURCES = t-config.cpp $(support_src)
|
|
|
|
t_config6_LDADD = $(ldadd_qt6)
|
|
|
|
t_config6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_decryptverify6_SOURCES = t-decryptverify.cpp $(support_src)
|
|
|
|
t_decryptverify6_LDADD = $(ldadd_qt6)
|
|
|
|
t_decryptverify6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_encrypt6_SOURCES = t-encrypt.cpp $(support_src)
|
|
|
|
t_encrypt6_LDADD = $(ldadd_qt6)
|
|
|
|
t_encrypt6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_import6_SOURCES = t-import.cpp $(support_src)
|
|
|
|
t_import6_LDADD = $(ldadd_qt6)
|
|
|
|
t_import6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_keylist6_SOURCES = t-keylist.cpp $(support_src)
|
|
|
|
t_keylist6_LDADD = $(ldadd_qt6)
|
|
|
|
t_keylist6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_keylocate6_SOURCES = t-keylocate.cpp $(support_src)
|
|
|
|
t_keylocate6_LDADD = $(ldadd_qt6)
|
|
|
|
t_keylocate6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_ownertrust6_SOURCES = t-ownertrust.cpp $(support_src)
|
|
|
|
t_ownertrust6_LDADD = $(ldadd_qt6)
|
|
|
|
t_ownertrust6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_remarks6_SOURCES = t-remarks.cpp $(support_src)
|
|
|
|
t_remarks6_LDADD = $(ldadd_qt6)
|
|
|
|
t_remarks6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_revokekey6_SOURCES = t-revokekey.cpp $(support_src)
|
|
|
|
t_revokekey6_LDADD = $(ldadd_qt6)
|
|
|
|
t_revokekey6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_setprimaryuserid6_SOURCES = t-setprimaryuserid.cpp $(support_src)
|
|
|
|
t_setprimaryuserid6_LDADD = $(ldadd_qt6)
|
|
|
|
t_setprimaryuserid6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_tofuinfo6_SOURCES = t-tofuinfo.cpp $(support_src)
|
|
|
|
t_tofuinfo6_LDADD = $(ldadd_qt6)
|
|
|
|
t_tofuinfo6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_trustsignatures6_SOURCES = t-trustsignatures.cpp $(support_src)
|
|
|
|
t_trustsignatures6_LDADD = $(ldadd_qt6)
|
|
|
|
t_trustsignatures6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_various6_SOURCES = t-various.cpp $(support_src)
|
|
|
|
t_various6_LDADD = $(ldadd_qt6)
|
|
|
|
t_various6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_verify6_SOURCES = t-verify.cpp $(support_src)
|
|
|
|
t_verify6_LDADD = $(ldadd_qt6)
|
|
|
|
t_verify6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
t_wkdlookup6_SOURCES = t-wkdlookup.cpp $(support_src)
|
|
|
|
t_wkdlookup6_LDADD = $(ldadd_qt6)
|
|
|
|
t_wkdlookup6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
# t_wkspublish6_SOURCES = t-wkspublish.cpp $(support_src)
|
|
|
|
# t_wkspublish6_LDADD = $(ldadd_qt6)
|
|
|
|
# t_wkspublish6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_decryptverifyarchivejob6_SOURCES = run-decryptverifyarchivejob.cpp
|
|
|
|
run_decryptverifyarchivejob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_decryptverifyarchivejob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_decryptverifyjob6_SOURCES = run-decryptverifyjob.cpp
|
|
|
|
run_decryptverifyjob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_decryptverifyjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_encryptarchivejob6_SOURCES = run-encryptarchivejob.cpp
|
|
|
|
run_encryptarchivejob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_encryptarchivejob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_encryptjob6_SOURCES = run-encryptjob.cpp
|
|
|
|
run_encryptjob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_encryptjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_exportjob6_SOURCES = run-exportjob.cpp
|
|
|
|
run_exportjob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_exportjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_importjob6_SOURCES = run-importjob.cpp
|
|
|
|
run_importjob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_importjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_keyformailboxjob6_SOURCES = run-keyformailboxjob.cpp
|
|
|
|
run_keyformailboxjob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_keyformailboxjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_receivekeysjob6_SOURCES = run-receivekeysjob.cpp
|
|
|
|
run_receivekeysjob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_receivekeysjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_refreshkeysjob6_SOURCES = run-refreshkeysjob.cpp
|
|
|
|
run_refreshkeysjob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_refreshkeysjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_signarchivejob6_SOURCES = run-signarchivejob.cpp
|
|
|
|
run_signarchivejob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_signarchivejob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_signjob6_SOURCES = run-signjob.cpp
|
|
|
|
run_signjob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_signjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_verifydetachedjob6_SOURCES = run-verifydetachedjob.cpp
|
|
|
|
run_verifydetachedjob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_verifydetachedjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_verifyopaquejob6_SOURCES = run-verifyopaquejob.cpp
|
|
|
|
run_verifyopaquejob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_verifyopaquejob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
run_wkdrefreshjob6_SOURCES = run-wkdrefreshjob.cpp
|
|
|
|
run_wkdrefreshjob6_LDADD = $(ldadd_qt6)
|
|
|
|
run_wkdrefreshjob6_CPPFLAGS = $(cppflags_qt6)
|
|
|
|
|
|
|
|
# nodist_t_keylist6_SOURCES = $(moc6_files) $(moc6_forward_headers)
|
|
|
|
endif
|
2023-01-30 11:56:54 +00:00
|
|
|
|
2024-07-17 12:06:52 +00:00
|
|
|
BUILT_SOURCES = $(moc5_files) $(moc5_forward_headers) \
|
|
|
|
$(moc6_files) $(moc6_forward_headers) \
|
|
|
|
pubring-stamp
|
|
|
|
|
|
|
|
noinst_PROGRAMS = $(the_tests5) $(the_runners5) $(the_tests6) $(the_runners6)
|
2016-04-03 09:48:46 +00:00
|
|
|
|
|
|
|
CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf \
|
|
|
|
gpg-agent.conf pubring.kbx~ S.gpg-agent gpg.conf pubring.gpg~ \
|
2024-07-17 12:06:52 +00:00
|
|
|
random_seed S.gpg-agent .gpg-v21-migrated pubring-stamp \
|
|
|
|
$(moc5_files) $(moc5_forward_headers) \
|
|
|
|
$(moc6_files) $(moc6_forward_headers) \
|
2018-10-08 08:28:43 +00:00
|
|
|
gpg.conf tofu.db reader_0.status reader_1.status
|
2016-04-03 09:48:46 +00:00
|
|
|
|
2016-07-06 09:01:55 +00:00
|
|
|
clean-local:
|
2024-07-17 12:06:52 +00:00
|
|
|
-test -z "$(moc5_dir)" || rm -rf $(moc5_dir)
|
|
|
|
-test -z "$(moc6_dir)" || rm -rf $(moc6_dir)
|
2018-02-15 02:14:49 +00:00
|
|
|
-$(TESTS_ENVIRONMENT) $(top_srcdir)/tests/start-stop-agent --stop
|
2016-09-20 17:46:04 +00:00
|
|
|
-rm -fR private-keys-v1.d crls.d
|
2016-07-06 09:01:55 +00:00
|
|
|
|
2017-04-07 14:32:18 +00:00
|
|
|
pubring-stamp: $(top_srcdir)/tests/gpg/pubdemo.asc \
|
2016-04-03 09:48:46 +00:00
|
|
|
$(top_srcdir)/tests/gpg/secdemo.asc
|
2018-02-15 02:14:49 +00:00
|
|
|
-$(TESTS_ENVIRONMENT) gpgconf --kill all
|
2016-07-14 14:32:56 +00:00
|
|
|
echo "ignore-invalid-option allow-loopback-pinentry" > $(abs_builddir)/gpg-agent.conf
|
|
|
|
echo "allow-loopback-pinentry" >> gpg-agent.conf
|
|
|
|
echo "ignore-invalid-option pinentry-mode" > gpg.conf
|
|
|
|
echo "pinentry-mode loopback" >> gpg.conf
|
2018-02-15 02:14:49 +00:00
|
|
|
$(TESTS_ENVIRONMENT) $(GPG) --no-permission-warning \
|
2016-04-03 09:48:46 +00:00
|
|
|
--import $(top_srcdir)/tests/gpg/pubdemo.asc
|
2018-02-15 02:14:49 +00:00
|
|
|
$(TESTS_ENVIRONMENT) $(GPG) --no-permission-warning \
|
2016-07-14 13:31:50 +00:00
|
|
|
--passphrase "abc" \
|
2016-04-11 15:46:03 +00:00
|
|
|
--import $(top_srcdir)/tests/gpg/secdemo.asc
|
2023-02-08 13:59:28 +00:00
|
|
|
-$(TESTS_ENVIRONMENT) gpgconf --kill all
|
2017-04-07 14:32:18 +00:00
|
|
|
touch pubring-stamp
|