18
18
# Copyright (C) 2000 Werner Koch (dd9jn)
19
19
# Copyright (C) 2001, 2004, 2005, 2009 g10 Code GmbH
21
21
# This file is part of GPGME.
23
23
# GPGME is free software; you can redistribute it and/or modify it
24
24
# under the terms of the GNU Lesser General Public License as
25
25
# published by the Free Software Foundation; either version 2.1 of the
26
26
# License, or (at your option) any later version.
28
28
# GPGME is distributed in the hope that it will be useful, but WITHOUT
29
29
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
30
30
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
31
31
# Public License for more details.
33
33
# You should have received a copy of the GNU Lesser General Public
34
34
# License along with this program; if not, write to the Free Software
35
35
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
72
72
build_triplet = @build@
73
73
host_triplet = @host@
74
TESTS = t-encrypt$(EXEEXT) t-encrypt-sym$(EXEEXT) \
75
t-encrypt-sign$(EXEEXT) t-sign$(EXEEXT) t-signers$(EXEEXT) \
76
t-decrypt$(EXEEXT) t-verify$(EXEEXT) t-decrypt-verify$(EXEEXT) \
77
t-sig-notation$(EXEEXT) t-export$(EXEEXT) t-import$(EXEEXT) \
78
t-trustlist$(EXEEXT) t-edit$(EXEEXT) t-keylist$(EXEEXT) \
79
t-keylist-sig$(EXEEXT) t-wait$(EXEEXT) \
80
t-encrypt-large$(EXEEXT) t-file-name$(EXEEXT) \
81
t-gpgconf$(EXEEXT) $(am__EXEEXT_1)
74
TESTS = initial.test $(am__EXEEXT_2) final.test
82
75
noinst_PROGRAMS = $(am__EXEEXT_2) t-genkey$(EXEEXT)
84
77
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
388
381
top_build_prefix = @top_build_prefix@
389
382
top_builddir = @top_builddir@
390
383
top_srcdir = @top_srcdir@
391
TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir) GPG_AGENT_INFO=
384
GPG_AGENT = @GPG_AGENT@
385
TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir) LC_ALL=C GPG_AGENT_INFO=
393
387
# The keylist tests must come after the import and the edit test.
394
388
noinst_HEADERS = t-support.h
395
389
@HAVE_W32_SYSTEM_FALSE@tests_unix = t-eventloop t-thread1
396
390
@HAVE_W32_SYSTEM_TRUE@tests_unix =
392
t-encrypt t-encrypt-sym t-encrypt-sign t-sign t-signers \
393
t-decrypt t-verify t-decrypt-verify t-sig-notation t-export \
394
t-import t-trustlist t-edit t-keylist t-keylist-sig t-wait \
395
t-encrypt-large t-file-name t-gpgconf $(tests_unix)
397
397
CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf \
398
398
gpg-agent.conf pubring.kbx~ S.gpg-agent gpg.conf pubring.gpg~ \
401
EXTRA_DIST = pubdemo.asc secdemo.asc cipher-1.asc cipher-2.asc \
402
geheim.txt pubkey-1.asc seckey-1.asc pinentry
399
random_seed S.gpg-agent
402
13CD0F3BDF24BE53FE192D62F18737256FF6E4FD \
403
76F7E2B35832976B50A27A282D9B87E44577EB66 \
404
A0747D5F9425E6664F4FFBEED20FBCA79FDED2BD \
405
13CBE3758AFE42B5E5E2AE4CED27AFA455E3F87F \
406
7A030357C0F253A5BBCD282FFC4E521B37558F5C
408
EXTRA_DIST = start-stop-agent initial.test final.test \
409
pubdemo.asc secdemo.asc cipher-1.asc cipher-2.asc \
410
geheim.txt pubkey-1.asc seckey-1.asc pinentry $(private_keys)
404
412
INCLUDES = -I$(top_builddir)/src
405
413
AM_CPPFLAGS = @GPG_ERROR_CFLAGS@
874
-gpg-connect-agent KILLAGENT /bye
882
-$(srcdir)/start-stop-agent --stop
875
883
-rm -fR private-keys-v1.d
877
all-local: ./gpg.conf ./gpg-agent.conf ./pubring.gpg
885
all-local: ./gpg.conf ./gpg-agent.conf ./pubring.gpg \
886
./private-keys-v1.d/gpg-sample.stamp
879
888
export GNUPGHOME := $(abs_builddir)
881
export GPG_AGENT_INFO :=
890
export GPG_AGENT_INFO :=
892
./private-keys-v1.d/gpg-sample.stamp: $(srcdir)/$(private_keys)
893
test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d
894
for k in $(private_keys); do \
895
cp $(srcdir)/$$k private-keys-v1.d/$$k.key; \
897
echo x > ./private-keys-v1.d/gpg-sample.stamp
883
899
./pubring.gpg: $(srcdir)/pubdemo.asc
884
900
-$(GPG) --no-permission-warning \