summaryrefslogtreecommitdiff
path: root/src/backend/Makefile.am
blob: 0f3a969acc028e78bf9443ca37ed273e17077e0c (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
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include

pkgcfgdir = $(prefix)/share/anastasis/config.d/

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

pkgcfg_DATA = \
  anastasis.conf

bin_PROGRAMS = \
  anastasis-httpd

anastasis_httpd_SOURCES = \
  anastasis-httpd.c anastasis-httpd.h \
  anastasis-httpd_mhd.c anastasis-httpd_mhd.h \
  anastasis-httpd_policy.c anastasis-httpd_policy.h \
  anastasis-httpd_policy-meta.c anastasis-httpd_policy-meta.h \
  anastasis-httpd_policy_upload.c \
  anastasis-httpd_truth.c anastasis-httpd_truth.h \
  anastasis-httpd_terms.c anastasis-httpd_terms.h \
  anastasis-httpd_config.c anastasis-httpd_config.h \
  anastasis-httpd_truth_upload.c

anastasis_httpd_LDADD = \
  $(top_builddir)/src/util/libanastasisutil.la \
  $(top_builddir)/src/stasis/libanastasisdb.la \
  $(top_builddir)/src/authorization/libanastasisauthorization.la \
  -ljansson \
  -ltalermerchant \
  -ltalermhd \
  -ltalerjson \
  -ltalerutil \
  -lgnunetcurl \
  -lgnunetrest \
  -lgnunetjson \
  -lgnunetutil \
  -lmicrohttpd \
  -luuid \
  $(XLIB)

EXTRA_DIST = \
  $(pkgcfg_DATA)