# 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

TESTS_ENVIRONMENT = GNUPGHOME=.

TESTS = t-version t-data

EXTRA_DIST = t-data-1.txt t-data-2.txt

INCLUDES = -I$(top_srcdir)/gpgme

LDADD = ../gpgme/libgpgme.la

noinst_PROGRAMS = $(TESTS)

if RUN_GPG_TESTS
gpgtests = gpg
else
gpgtests = 
endif

if RUN_GPGSM_TESTS
gpgsmtests = gpgsm
else
gpgsmtests = 
endif

SUBDIRS = ${gpgtests} ${gpgsmtests}