Makefile.am 580 Bytes
Newer Older
1
2
3
4
5
# 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..

6
EXTRA_PROGRAMS = rsa-keygen rsa-sign rsa-verify
7
noinst_PROGRAMS = nettle-benchmark @RSA_EXAMPLES@
8

9
10
LDADD = io.o -lnettle
nettle_benchmark_LDADD = -lnettle
11

12
TS_PROGS = rsa-sign-test rsa-verify-test
13
EXTRA_DIST = io.c io.h run-tests setup-env teardown-env $(TS_PROGS)
14
15
16

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

check: run-tests