aboutsummaryrefslogtreecommitdiff
path: root/src/mhd/Makefile.am
blob: d36bba42f37445cf5024b6e7cff3fb295f35eacb (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
# 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 = \
  libtalermhd.la

libtalermhd_la_SOURCES = \
  mhd_config.c \
  mhd_legal.c \
  mhd_parsing.c \
  mhd_responses.c \
  mhd_run.c
libtalermhd_la_LDFLAGS = \
  -version-info 2:0:2 \
  -no-undefined
libtalermhd_la_LIBADD = \
  $(top_builddir)/src/json/libtalerjson.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetjson \
  -lgnunetutil \
  -lmicrohttpd \
  -ljansson \
  -lz \
  $(XLIB)