aboutsummaryrefslogtreecommitdiff
path: root/src/mint-lib/Makefile.am
blob: d5940e9c2839c112080134dbea10590c0910d73e (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
# 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