~ubuntu-branches/ubuntu/quantal/nettle/quantal

« back to all changes in this revision

Viewing changes to testsuite/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Marek Habersack
  • Date: 2004-05-04 15:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20040504155602-7jbhw5mabvwksl3j
Tags: upstream-1.10
ImportĀ upstreamĀ versionĀ 1.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AM_CPPFLAGS = -I$(top_srcdir)
 
2
 
 
3
# We need .. to be searched before standard places, in order to pick
 
4
# up the newly built libnettle.a/libnettle.so, rather than any
 
5
# installed version.
 
6
AM_LDFLAGS = -L..
 
7
 
 
8
noinst_PROGRAMS = aes-test arcfour-test blowfish-test cast128-test \
 
9
           base16-test base64-test \
 
10
           des-test des3-test des-compat-test \
 
11
           md2-test md4-test md5-test md5-compat-test \
 
12
           sha1-test sha256-test \
 
13
           serpent-test twofish-test \
 
14
           buffer-test sexp-test sexp-format-test \
 
15
           rsa2sexp-test sexp2rsa-test \
 
16
           knuth-lfib-test \
 
17
           cbc-test hmac-test bignum-test \
 
18
           pkcs1-test \
 
19
           rsa-test rsa-encrypt-test rsa-keygen-test \
 
20
           dsa-test dsa-keygen-test \
 
21
           yarrow-test
 
22
 
 
23
TS_PROGS = $(noinst_PROGRAMS)
 
24
TS_SH = sexp-conv-test symbols-test
 
25
 
 
26
TS_ALL = $(TS_PROGS) $(TS_SH)
 
27
 
 
28
# Workaround to get automake to keep dependencies for testutils.o
 
29
EXTRA_PROGRAMS = testutils
 
30
 
 
31
# libnettle.a is added at the end to make sure all programs depend on it.
 
32
# It seems there's no DEPENDENCIES variable that affects all programs.
 
33
 
 
34
LDADD = testutils.o -lnettle ../libnettle.a
 
35
EXTRA_DIST = $(TS_SH) testutils.h \
 
36
             run-tests rfc1750.txt
 
37
 
 
38
CLEANFILES = test.in test1.out test2.out
 
39
 
 
40
.PHONY: check 
 
41
check: $(TS_ALL) $(srcdir)/run-tests
 
42
        LD_LIBRARY_PATH=../.lib srcdir="$(srcdir)" \
 
43
          $(srcdir)/run-tests $(TS_ALL)