Makefile.am 926 Bytes
Newer Older
1
CFLAGS = -I$(top_srcdir) @CFLAGS@
2
CPPFLAGS = @CPPFLAGS@
Niels Möller's avatar
Niels Möller committed
3

4
TS_PROGS = aes-test arcfour-test blowfish-test cast128-test \
5
	   des-test des3-test des-compat-test \
6
	   md5-test md5-compat-test sha1-test sha256-test \
7
	   serpent-test twofish-test \
Niels Möller's avatar
Niels Möller committed
8
	   cbc-test rsa-test bignum-test yarrow-test
Niels Möller's avatar
Niels Möller committed
9

10
11
12
13
14
# M4_FILES = aes-test.m4 arcfour-test.m4 blowfish-test.m4 cast128-test.m4 \
# 	   des-test.m4 des3-test.m4 \
# 	   md5-test.m4 md5-compat-test.m4 sha1-test.m4 sha256-test.m4 \
# 	   serpent-test.m4 twofish-test.m4 \
# 	   cbc-test.m4 bignum-test.m4
15

Niels Möller's avatar
Niels Möller committed
16
17
18
noinst_PROGRAMS = $(TS_PROGS)

LDADD = testutils.o ../libnettle.a
19
EXTRA_DIST = testutils.c testutils.h \
20
	     run-tests rfc1750.txt
21

22
23
24
25
26
# # M4FLAGS = -P -s
# M4FLAGS = -P
# $(M4_FILES:.m4=.c): %.c: macros.m4 %.m4
# 	$(M4) $(M4FLAGS) $^ > $@T
# 	test -s $@T && mv -f $@T $@
Niels Möller's avatar
Niels Möller committed
27

28
.PHONY: check run-tests
Niels Möller's avatar
Niels Möller committed
29
30
31
32

check: run-tests

run-tests: $(TS_PROGS)
33
	srcdir="$(srcdir)" "$(srcdir)"/run-tests $^
Niels Möller's avatar
Niels Möller committed
34