gpgme/tests/Makefile.am

59 lines
1.7 KiB
Makefile
Raw Normal View History

2001-04-02 08:40:32 +00:00
# Copyright (C) 2000 Werner Koch (dd9jn)
# Copyright (C) 2001 g10 Code 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 General Public License as published by
# the Free Software Foundation; either version 2 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
## Process this file with automake to produce Makefile.in
2000-11-07 13:32:38 +00:00
TESTS_ENVIRONMENT = GNUPGHOME=.
2000-11-16 17:26:53 +00:00
TESTS = t-version t-data t-encrypt t-sign t-signers t-decrypt t-verify \
t-decrypt-verify t-keylist t-export t-import t-trustlist
2000-12-19 10:07:32 +00:00
2000-11-16 13:15:48 +00:00
2000-12-14 14:45:35 +00:00
EXTRA_DIST = mkdemodirs pubdemo.asc secdemo.asc cipher-1.asc geheim.txt \
pubkey-1.asc seckey-1.asc
2000-11-07 13:32:38 +00:00
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
LDADD = ../gpgme/libgpgme.la
2000-12-19 10:07:32 +00:00
# We don't run t-genkey in the test suite, because it taes too long
noinst_PROGRAMS = $(TESTS) t-genkey
2000-11-07 13:32:38 +00:00
2000-11-16 17:26:53 +00:00
distclean-local:
$(srcdir)/mkdemodirs --clean
all-local: ./pubring.gpg ./secring.gpg
./pubring.gpg: $(srcdir)/pubdemo.asc
-gpg --homedir . --import $(srcdir)/pubdemo.asc
./secring.gpg: ./Alpha/Secret.gpg
-gpg --homedir . --allow-secret-key-import --import Alpha/Secret.gpg Zulu/Secret.gpg
2000-11-16 17:26:53 +00:00
./Alpha/Secret.gpg: secdemo.asc
srcdir=$(srcdir) $(srcdir)/mkdemodirs