summaryrefslogtreecommitdiff
path: root/src/backend/melted/Makefile.am
blob: 66d784ecb53cada17de63429f304bebdb1aff699 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# 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

bin_PROGRAMS = \
  taler-mint-httpd \
  taler-merchant-httpd

taler_mint_httpd_SOURCES = \
  taler-mint-httpd.c taler-mint-httpd.h \
  taler-mint-httpd_keystate.c taler-mint-httpd_keystate.h \
  taler-mint-httpd_db.c taler-mint-httpd_db.h \
  taler-mint-httpd_parsing.c taler-mint-httpd_parsing.h \
  taler-mint-httpd_responses.c taler-mint-httpd_responses.h \
  taler-mint-httpd_mhd.c taler-mint-httpd_mhd.h \
  taler-mint-httpd_admin.c taler-mint-httpd_admin.h \
  taler-mint-httpd_deposit.c taler-mint-httpd_deposit.h \
  taler-mint-httpd_withdraw.c taler-mint-httpd_withdraw.h \
  taler-mint-httpd_refresh.c taler-mint-httpd_refresh.h
taler_mint_httpd_LDADD = \
  $(LIBGCRYPT_LIBS) \
  $(top_builddir)/src/util/libtalerutil.la \
  $(top_builddir)/src/mintdb/libtalermintdb.la \
  -lmicrohttpd \
  -ljansson \
  -lgnunetutil \
  -lpthread
taler_merchant_httpd_SOURCES = \
  taler-merchant-httpd.c \
  merchant.c merchant.h \
  merchant_db.c merchant_db.h \
  taler-mint-httpd_keystate.c taler-mint-httpd_keystate.h \
  taler-mint-httpd_db.c taler-mint-httpd_db.h \
  taler-mint-httpd_parsing.c taler-mint-httpd_parsing.h \
  taler-mint-httpd_responses.c taler-mint-httpd_responses.h \
  taler-mint-httpd_mhd.c taler-mint-httpd_mhd.h \
  taler-mint-httpd_admin.c taler-mint-httpd_admin.h \
  taler-mint-httpd_deposit.c taler-mint-httpd_deposit.h \
  taler-mint-httpd_withdraw.c taler-mint-httpd_withdraw.h \
  taler-mint-httpd_refresh.c taler-mint-httpd_refresh.h

taler_merchant_httpd_LDADD = \
  $(LIBGCRYPT_LIBS) \
  $(top_builddir)/src/util/libtalerutil.la \
  $(top_builddir)/src/mintdb/libtalermintdb.la \
  -lmicrohttpd \
  -ljansson \
  -lgnunetutil \
  -ltalermint \
  -ltalerpq \
  -lgnunetpostgres \
  -lpq \
  -lpthread

if HAVE_DEVELOPER
taler_mint_httpd_SOURCES += \
  taler-mint-httpd_test.c taler-mint-httpd_test.h
endif