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

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


lib_LIBRARIES = \
  libmustach.a

libmustach_a_SOURCES = \
  mustach.c mustach.h \
  mustach-jansson.c mustach-jansson.h

test_mustach_jansson_SOURCES = \
  test_mustach_jansson.c
test_mustach_jansson_LDADD = \
  -lgnunetutil \
  libmustach.a

check_PROGRAMS = \
  test_mustach_jansson

check_SCRIPTS = \
  run-original-tests.sh

TESTS = $(check_SCRIPTS) $(check_PROGRAMS)

EXTRA_DIST = \
  $(check_SCRIPTS)