Makefile.am 675 Bytes
Newer Older
1
AM_CPPFLAGS = -I$(top_srcdir)
2

3
4
5
6
7
# We need .. to be searched before standard places, in order to pick
# up the newly built libnettle.a/libnettle.so, rather than any
# installed version.
AM_LDFLAGS = -L..

8
EXTRA_PROGRAMS = rsa-keygen rsa-sign rsa-verify
9
noinst_PROGRAMS = nettle-benchmark @RSA_EXAMPLES@
10

11
12
LDADD = io.o -lnettle
nettle_benchmark_LDADD = -lnettle
13

14
15
nettle_benchmark_SOURCES = nettle-benchmark.c nettle-openssl.c

16
TS_PROGS = rsa-sign-test rsa-verify-test
17
EXTRA_DIST = io.c io.h run-tests setup-env teardown-env $(TS_PROGS)
18
19
20

.PHONY: run-tests
run-tests: $(TS_PROGS)
21
22
	LD_LIBRARY_PATH=../.lib srcdir="$(srcdir)" \
	  "$(srcdir)"/run-tests $(TS_PROGS)
23
24

check: run-tests