1## Process this file with automake to produce Makefile.in 2# Copyright (C) 2002-2021 Simon Josefsson 3# 4# This file is part of GNU SASL. 5# 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. 10# 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. 15# 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/>. 18 19dist_noinst_DATA = cram-md5.pwd 20 21AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) $(WEASY_CFLAGS) 22AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ 23 -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src 24AM_LDFLAGS = -no-install 25LDADD = ../lib/src/libgsasl.la ../gl/libgl.la libutils.la 26 27EXTRA_DIST = libgsasl.supp gssapi.key gssapi.tkt shishi.conf 28 29noinst_LTLIBRARIES = libutils.la 30libutils_la_SOURCES = utils.h utils.c 31 32AM_TESTS_ENVIRONMENT = \ 33 SHISHI_KEYS=$(srcdir)/gssapi.key \ 34 SHISHI_TICKETS=$(srcdir)/gssapi.tkt \ 35 SHISHI_CONFIG=$(srcdir)/shishi.conf \ 36 SHISHI_HOME=$(srcdir) \ 37 SHISHI_USER=ignore-this-warning \ 38 THREADSAFETY_FILES=`ls $(top_srcdir)/lib/*/*.c | $(GREP) -v -e lib/gl/vasnprintf.c -e lib/gl/getdelim.c -e lib/gltests/` \ 39 MD5FILE=$(srcdir)/cram-md5.pwd \ 40 EGREP="$(EGREP)" \ 41 GNUGSS=`if grep 'HAVE_LIBGSS 1' ../lib/config.h > /dev/null; then echo yes; else echo no; fi`; \ 42 VALGRIND="$(VALGRIND)" \ 43 export SHISHI_KEYS SHISHI_TICKETS SHISHI_CONFIG SHISHI_HOME SHISHI_USER THREADSAFETY_FILES MD5FILE EGREP GNUGSS VALGRIND; 44 45LOG_COMPILER=$(VALGRIND) 46 47ctests = external cram-md5 digest-md5 md5file name errors suggest \ 48 simple crypto scram scramplus symbols readnz gssapi gs2-krb5 \ 49 saml20 openid20 scram-sha256 scram-simple scram-nopasswd startcb 50if OBSOLETE 51ctests += old-simple old-md5file old-cram-md5 old-digest-md5 \ 52 old-base64 53endif 54 55# old-gssapi 56 57check_PROGRAMS = $(ctests) 58dist_check_SCRIPTS = threadsafety.sh gsasl-scram-pbkdf2.sh 59TEST_EXTENSIONS = .sh 60TESTS = $(dist_check_SCRIPTS) $(ctests) 61