Bump versions.
[gsasl.git] / tests / Makefile.am
blobe6ff176d413ea80ee3bf8314a6c96ed79ce8bc6e
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Simon Josefsson.
4 # This file is part of GNU SASL.
6 # This program 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 3 of the License, or
9 # (at your option) any later version.
11 # This program 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, see <http://www.gnu.org/licenses/>.
19 dist_noinst_DATA = cram-md5.pwd
21 AM_CPPFLAGS = -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src \
22         -I$(srcdir)/../gl -I../gl
23 AM_LDFLAGS = -no-install
24 LDADD = ../lib/src/libgsasl.la libutils.la
26 noinst_LTLIBRARIES = libutils.la
27 libutils_la_SOURCES = utils.h utils.c
29 TESTS_ENVIRONMENT = SHISHI_KEYS=$(srcdir)/gssapi.key \
30         SHISHI_TICKETS=$(srcdir)/gssapi.tkt \
31         SHISHI_CONFIG=ignore-this-warning \
32         SHISHI_HOME=ignore-this-warning \
33         SHISHI_USER=ignore-this-warning \
34         THREADSAFETY_FILES=`ls $(top_srcdir)/lib/*/*.c | grep -v lib/gl/vasnprintf.c` \
35         MD5FILE=$(srcdir)/cram-md5.pwd \
36         $(VALGRIND)
38 ctests = external$(EXEEXT) cram-md5$(EXEEXT) digest-md5$(EXEEXT)        \
39         md5file$(EXEEXT)
41 if OBSOLETE
42 ctests += simple$(EXEEXT) old-md5file$(EXEEXT) old-cram-md5$(EXEEXT)    \
43         old-digest-md5$(EXEEXT)
44 endif
46 # old-gssapi
48 TESTS = threadsafety $(ctests)  
49 check_PROGRAMS = $(ctests)
50 dist_check_SCRIPTS = threadsafety