aboutsummaryrefslogtreecommitdiff
path: root/src/mhd/Makefile.am
blob: f7f052d5131b59a6640d4e5582445735621e24e4 (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 0:0:0 \
  -no-undefined
libtalermhd_la_LIBADD = \
  -lgnunetjson \
  $(top_builddir)/src/json/libtalerjson.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lgnunetutil \
  -lmicrohttpd \
  -ljansson \
  -lz \
  $(XLIB)