aboutsummaryrefslogtreecommitdiff
path: root/src/mint-lib/Makefile.am
blob: 0ea52479e9787e000f9f65945b0e50ab90cb8a19 (plain)
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
38
39
40
41
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif

lib_LTLIBRARIES = \
  libtalermint.la

libtalermint_la_LDFLAGS = \
  -version-info 0:0:0 \
  -no-undefined

libtalermint_la_SOURCES = \
  mint_api_context.c mint_api_context.h \
  mint_api_handle.c mint_api_handle.h

libtalermint_la_LIBADD = \
  -lgnunetutil \
  -ljansson \
  -lcurl $(XLIB)

check_PROGRAMS = \
  test_mint_api

test_mint_api_SOURCES = \
  test_mint_api.c
test_mint_api_LDADD = \
  libtalermint.la \
  $(LIBGCRYPT_LIBS) \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetutil \
  -ljansson

EXTRA_DIST = \
  test-mint-home/config/mint-common.conf \
  test-mint-home/master.priv \
  test-mint-home/denomkeys/ \
  test-mint-home/signkeys/