Makefile.am 609 Bytes
Newer Older
1
2
AM_CFLAGS = -I$(top_srcdir)

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
TS_PROGS = rsa-sign-test rsa-verify-test
15
EXTRA_DIST = io.c io.h run-tests setup-env teardown-env $(TS_PROGS)
16
17
18

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

check: run-tests