Makefile.am 606 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 sexp-conv @RSA_EXAMPLES@
8

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

12
TS_PROGS = rsa-sign-test rsa-verify-test sexp-conv-test
13

14
EXTRA_DIST = io.c io.h run-tests setup-env teardown-env $(TS_PROGS)
15
16
17

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

check: run-tests