1
AM_CPPFLAGS = -I$(top_srcdir)
3
# We need .. to be searched before standard places, in order to pick
4
# up the newly built libnettle.a/libnettle.so, rather than any
8
noinst_PROGRAMS = aes-test arcfour-test blowfish-test cast128-test \
9
base16-test base64-test \
10
des-test des3-test des-compat-test \
11
md2-test md4-test md5-test md5-compat-test \
12
sha1-test sha256-test \
13
serpent-test twofish-test \
14
buffer-test sexp-test sexp-format-test \
15
rsa2sexp-test sexp2rsa-test \
17
cbc-test hmac-test bignum-test \
19
rsa-test rsa-encrypt-test rsa-keygen-test \
20
dsa-test dsa-keygen-test \
23
TS_PROGS = $(noinst_PROGRAMS)
24
TS_SH = sexp-conv-test symbols-test
26
TS_ALL = $(TS_PROGS) $(TS_SH)
28
# Workaround to get automake to keep dependencies for testutils.o
29
EXTRA_PROGRAMS = testutils
31
# libnettle.a is added at the end to make sure all programs depend on it.
32
# It seems there's no DEPENDENCIES variable that affects all programs.
34
LDADD = testutils.o -lnettle ../libnettle.a
35
EXTRA_DIST = $(TS_SH) testutils.h \
38
CLEANFILES = test.in test1.out test2.out
41
check: $(TS_ALL) $(srcdir)/run-tests
42
LD_LIBRARY_PATH=../.lib srcdir="$(srcdir)" \
43
$(srcdir)/run-tests $(TS_ALL)