66bcb8acb2
* configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags. * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE. * lang/cpp/tests/Makefile.am, lang/qt/tests/Makefile.am: Likewise. * tests/gpg/Makefile.am, tests/gpgsm/Makefile.am: Likewise. * tests/json/Makefile.am, tests/opassuan/Makefile.am: Likewise. -- GnuPG-bug-id: 4298 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
37 lines
1.3 KiB
Makefile
37 lines
1.3 KiB
Makefile
# Makefile.am - Makefile for GPGME Cpp tests.
|
|
# Copyright (C) 2018 Intevation GmbH
|
|
#
|
|
# This file is part of GPGME.
|
|
#
|
|
# GPGME is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as
|
|
# published by the Free Software Foundation; either version 2.1 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# GPGME 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 Lesser General Public
|
|
# License along with this program; if not, see <https://www.gnu.org/licenses/>.
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
AM_LDFLAGS = -no-install
|
|
|
|
LDADD = ../../cpp/src/libgpgmepp.la \
|
|
../../../src/libgpgme.la @GPG_ERROR_LIBS@ \
|
|
@LDADD_FOR_TESTS_KLUDGE@ -lstdc++
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/lang/cpp/src -I$(top_builddir)/src \
|
|
@GPG_ERROR_CFLAGS@ @GPG_ERROR_CFLAGS@ \
|
|
@LIBASSUAN_CFLAGS@ -DBUILDING_GPGMEPP \
|
|
-DTOP_SRCDIR="$(top_srcdir)"
|
|
|
|
run_getkey_SOURCES = run-getkey.cpp
|
|
run_keylist_SOURCES = run-keylist.cpp
|
|
run_verify_SOURCES = run-verify.cpp
|
|
|
|
noinst_PROGRAMS = run-getkey run-keylist run-verify
|