9f85f4967e
* lang/cpp/Makefile.am: Add tests subdir. * lang/cpp/tests/Makefile.am: New. * lang/cpp/tests/README, lang/cpp/tests/run-getkey.cpp, lang/cpp/tests/run-keylist.cpp: New. * configure.ac: Configure tests makefile. -- The autotests for c++ live in lang/qt/tests these tests are more for manual experiments to validate some functionality.
36 lines
1.3 KiB
Makefile
36 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 <http://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@ \
|
|
-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
|
|
|
|
noinst_PROGRAMS = run-getkey run-keylist
|