aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 9b80791500edba7365e7d5552b879962c9140f7d (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
## 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 \
  util.c

libbrandt_la_LIBADD = \
  -lgcrypt -lgpg-error -lgnunetutil

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

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)