1# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
2#
3# This file is part of Libgcrypt.
4#
5# Libgcrypt is free software; you can redistribute it and/or modify
6# it under the terms of the GNU Lesser General Public License as
7# published by the Free Software Foundation; either version 2.1 of
8# the License, or (at your option) any later version.
9#
10# Libgcrypt is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU Lesser General Public License for more details.
14#
15# You should have received a copy of the GNU Lesser General Public
16# License along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
18
19## Process this file with automake to produce Makefile.in
20
21TESTS = version t-mpi-bit prime register ac ac-schemes ac-data basic \
22        mpitests tsexp keygen pubkey hmac keygrip fips186-dsa aeswrap \
23	curves t-kdf pkcs1v2
24
25
26# random.c uses fork() thus a test for W32 does not make any sense.
27if !HAVE_W32_SYSTEM
28TESTS += random
29endif
30
31# The last test to run.
32TESTS += benchmark
33
34
35# Need to include ../src in addition to top_srcdir because gcrypt.h is
36# a built header.
37AM_CPPFLAGS = -I../src -I$(top_srcdir)/src
38AM_CFLAGS = $(GPG_ERROR_CFLAGS)
39
40LDADD = ../src/libgcrypt.la $(DL_LIBS) ../compat/libcompat.la $(GPG_ERROR_LIBS)
41
42EXTRA_PROGRAMS = testapi pkbench
43noinst_PROGRAMS = $(TESTS) fipsdrv rsacvt
44
45EXTRA_DIST = README rsa-16k.key cavs_tests.sh cavs_driver.pl \
46	     pkcs1v2-oaep.h pkcs1v2-pss.h pkcs1v2-v15c.h pkcs1v2-v15s.h
47