diff options
Diffstat (limited to 'src/template/Makefile.am')
-rw-r--r-- | src/template/Makefile.am | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/template/Makefile.am b/src/template/Makefile.am new file mode 100644 index 000000000..47d6b4165 --- /dev/null +++ b/src/template/Makefile.am | |||
@@ -0,0 +1,37 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | ||
2 | |||
3 | if MINGW | ||
4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
5 | endif | ||
6 | |||
7 | if USE_COVERAGE | ||
8 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | ||
9 | endif | ||
10 | |||
11 | bin_PROGRAMS = \ | ||
12 | gnunet-template \ | ||
13 | gnunet-service-template | ||
14 | |||
15 | gnunet_template_SOURCES = \ | ||
16 | gnunet-template.c | ||
17 | gnunet_template_LDADD = \ | ||
18 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
19 | $(GN_LIBINTL) | ||
20 | |||
21 | gnunet_service_template_SOURCES = \ | ||
22 | gnunet-service-template.c | ||
23 | gnunet_service_template_LDADD = \ | ||
24 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
25 | $(GN_LIBINTL) | ||
26 | |||
27 | |||
28 | check_PROGRAMS = \ | ||
29 | test_template_api | ||
30 | |||
31 | TESTS = $(check_PROGRAMS) | ||
32 | |||
33 | test_template_api_SOURCES = \ | ||
34 | test_template_api.c | ||
35 | test_template_api_LDADD = \ | ||
36 | $(top_builddir)/src/util/libgnunetutil.la | ||
37 | |||