2018-10-09 09:24:18 +00:00
|
|
|
# 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
|
2018-10-18 03:56:27 +00:00
|
|
|
# License along with this program; if not, see <https://www.gnu.org/licenses/>.
|
2018-10-09 09:24:18 +00:00
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
AM_LDFLAGS = -no-install
|
|
|
|
|
|
|
|
LDADD = ../../cpp/src/libgpgmepp.la \
|
|
|
|
../../../src/libgpgme.la @GPG_ERROR_LIBS@ \
|
2019-01-16 01:59:25 +00:00
|
|
|
@LDADD_FOR_TESTS_KLUDGE@ -lstdc++
|
2018-10-09 09:24:18 +00:00
|
|
|
|
|
|
|
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
|
2018-10-29 14:36:45 +00:00
|
|
|
run_verify_SOURCES = run-verify.cpp
|
2021-12-10 11:51:36 +00:00
|
|
|
if !HAVE_W32_SYSTEM
|
|
|
|
run_wkdlookup_SOURCES = run-wkdlookup.cpp
|
|
|
|
endif
|
2018-10-09 09:24:18 +00:00
|
|
|
|
2021-12-10 11:51:36 +00:00
|
|
|
if HAVE_W32_SYSTEM
|
|
|
|
programs_unix =
|
|
|
|
else
|
|
|
|
programs_unix = run-wkdlookup
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_PROGRAMS = run-getkey run-keylist run-verify $(programs_unix)
|