aboutsummaryrefslogtreecommitdiff
path: root/src/templating/Makefile.am
blob: 8371045cbbe78d09c3a4156c339edf0d706596cb (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# 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

noinst_PROGRAMS = \
  taler-mustach-tool

taler_mustach_tool_SOURCES = \
  mustach-tool.c \
  mustach-jansson.h
taler_mustach_tool_LDADD = \
  libmustach.la \
  -ljansson
taler_mustach_tool_CFLAGS = \
  -DTOOL=MUSTACH_TOOL_JANSSON \
  -DMUSTACH_SAFE=1 \
  -DMUSTACH_LOAD_TEMPLATE=0

lib_LTLIBRARIES = \
  libtalertemplating.la

noinst_LTLIBRARIES = \
  libmustach.la

libtalertemplating_la_SOURCES = \
  mustach.c mustach.h \
  mustach-wrap.c mustach-wrap.h \
  mustach-jansson.c mustach-jansson.h \
  templating_api.c
libtalertemplating_la_LIBADD = \
  $(top_builddir)/src/mhd/libtalermhd.la \
  $(top_builddir)/src/util/libtalerutil.la \
  -lmicrohttpd \
  -lgnunetjson \
  -lgnunetutil \
  -ljansson \
  $(XLIB)
libtalertemplating_la_LDFLAGS = \
  -version-info 0:0:0 \
  -no-undefined
libtalertemplating_la_CFLAGS = \
  -DMUSTACH_SAFE=1 \
  -DMUSTACH_LOAD_TEMPLATE=0

libmustach_la_SOURCES = \
  mustach.c mustach.h \
  mustach-wrap.c mustach-wrap.h \
  mustach-jansson.c mustach-jansson.h

test_mustach_jansson_SOURCES = \
  test_mustach_jansson.c
test_mustach_jansson_LDADD = \
  -lgnunetutil \
  -ljansson \
  -lmustach \
  $(XLIB)

check_PROGRAMS = \
  test_mustach_jansson

check_SCRIPTS = \
  run-original-tests.sh

TESTS = $(check_SCRIPTS) $(check_PROGRAMS)

EXTRA_DIST = \
  $(check_SCRIPTS) \
  mustach-original-Makefile \
  mustach.1.gz \
  mustach.1.scd \
  meson.build \
  LICENSE.txt \
  ORIGIN \
  pkgcfgs \
  README.md \
  dotest.sh \
  AUTHORS \
  CHANGELOG.md \
  mustach-json-c.h \
  mustach-json-c.c \
  mustach-cjson-c.h \
  mustach-cjson-c.c \
  test1/json \
  test1/Makefile \
  test1/must \
  test1/resu.ref \
  test1/vg.ref \
  test2/json \
  test2/Makefile \
  test2/must \
  test2/resu.ref \
  test2/vg.ref \
  test3/json \
  test3/Makefile \
  test3/must \
  test3/resu.ref \
  test3/vg.ref \
  test4/json \
  test4/Makefile \
  test4/must \
  test4/resu.ref \
  test4/vg.ref \
  test5/json \
  test5/Makefile \
  test5/must \
  test5/must2 \
  test5/must2.mustache \
  test5/must3.mustache \
  test5/resu.ref \
  test5/vg.ref \
  test6/json \
  test6/Makefile \
  test6/must \
  test6/resu.ref \
  test6/test-custom-write.c \
  test6/vg.ref \
  test7/base.mustache \
  test7/json \
  test7/Makefile \
  test7/node.mustache \
  test7/resu.ref \
  test7/vg.ref \
  test8/json \
  test8/Makefile \
  test8/must \
  test8/resu.ref \
  test8/vg.ref \
  test-specs.c \
  test-specs-cjson.ref \
  test-specs-jansson.ref \
  test-specs-json-c.ref