1 # Copyright (C) 2000 Werner Koch (dd9jn)
2 # Copyright (C) 2001 g10 Code GmbH
4 # This file is part of GPGME.
6 # GPGME is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # GPGME is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20 ## Process this file with automake to produce Makefile.in
23 TESTS_ENVIRONMENT = GNUPGHOME=.
25 TESTS = t-encrypt t-sign t-decrypt t-verify t-keylist t-export t-import \
29 EXTRA_DIST = mkdemodirs pubdemo.asc secdemo.asc cipher-1.asc geheim.txt \
30 pubkey-1.asc seckey-1.asc
32 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
35 LDADD = ../gpgme/libgpgme.la
37 # We don't run t-genkey in the test suite, because it taes too long
38 noinst_PROGRAMS = $(TESTS) t-genkey
41 $(srcdir)/mkdemodirs --clean
43 all-local: ./pubring.gpg ./secring.gpg
45 ./pubring.gpg: $(srcdir)/pubdemo.asc
46 -gpg --homedir . --import $(srcdir)/pubdemo.asc
48 ./secring.gpg: ./Alpha/Secret.gpg
49 -gpg --homedir . --allow-secret-key-import --import Alpha/Secret.gpg Zulu/Secret.gpg
51 ./Alpha/Secret.gpg: secdemo.asc
52 srcdir=$(srcdir) $(srcdir)/mkdemodirs