aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: d3cd53eaf7c46a93d5cbd722869e6a1359e50076 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## Makefile.am -- Process this file with automake to produce Makefile.in
SUBDIRS = doc
ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = \
  libbrandt.la

libbrandt_la_SOURCES = \
  brandt.c \
  crypto.c \
  fp_priv.c \
  fp_pub.c \
  mp_priv.c \
  mp_pub.c

libbrandt_la_LIBADD = \
  -lgcrypt -lgpg-error -lgnunetutil

libbrandt_la_LDFLAGS = \
  -version-info 0:0:0

noinst_PROGRAMS = \
  bench

bench_SOURCES = bench.c
bench_LDADD = libbrandt.la -lgcrypt -lgpg-error -lgnunetutil

check_PROGRAMS = \
  test_crypto \
  test_brandt

test_crypto_SOURCES = test_crypto.c
test_crypto_LDADD = libbrandt.la -lgcrypt -lgpg-error -lgnunetutil

test_brandt_SOURCES = test_brandt.c
test_brandt_LDADD = libbrandt.la -lgcrypt -lgpg-error -lgnunetutil

TESTS = $(check_PROGRAMS)