Add.
[gsasl.git] / tests / Makefile.am
blob8b99bc3e37cb81863563b31a9356918c5fd02959
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
4 # This file is part of GNU SASL.
6 # GNU SASL 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, or (at your option)
9 # any later version.
11 # GNU SASL 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 GNU SASL; if not, write to the Free Software Foundation,
18 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 dist_noinst_DATA = cram-md5.pwd
22 AM_CPPFLAGS = -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src \
23         -I$(srcdir)/../gl -I../gl
24 AM_LDFLAGS = -no-install
25 LDADD = ../lib/src/libgsasl.la libutils.la
27 noinst_LTLIBRARIES = libutils.la
28 libutils_la_SOURCES = utils.h utils.c
30 TESTS_ENVIRONMENT = SHISHI_KEYS=$(srcdir)/gssapi.key \
31         SHISHI_TICKETS=$(srcdir)/gssapi.tkt \
32         SHISHI_CONFIG=ignore-this-warning \
33         SHISHI_HOME=ignore-this-warning \
34         SHISHI_USER=ignore-this-warning \
35         THREADSAFETY_FILES=$(top_srcdir)/lib/*/*.c \
36         MD5FILE=$(srcdir)/cram-md5.pwd \
37         $(VALGRIND)
39 ctests = external$(EXEEXT) cram-md5$(EXEEXT) digest-md5$(EXEEXT)        \
40         md5file$(EXEEXT)
42 if OBSOLETE
43 ctests += simple$(EXEEXT) old-md5file$(EXEEXT) old-cram-md5$(EXEEXT)    \
44         old-digest-md5$(EXEEXT)
45 endif
47 # old-gssapi
49 TESTS = threadsafety $(ctests)  
50 check_PROGRAMS = $(ctests)
51 dist_check_SCRIPTS = threadsafety