more work towards XDG spec (#3000) -- config file location
[oweals/gnunet.git] / src / template / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
2
3 pkgcfgdir= $(pkgdatadir)/config.d/
4
5 libexecdir= $(pkglibdir)/libexec/
6
7 dist_pkgcfg_DATA = \
8   template.conf
9
10 if MINGW
11  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
12 endif
13
14 if USE_COVERAGE
15   AM_CFLAGS = -fprofile-arcs -ftest-coverage
16 endif
17
18 bin_PROGRAMS = \
19  gnunet-template 
20
21 libexec_PROGRAMS = \
22  gnunet-service-template
23
24 gnunet_template_SOURCES = \
25  gnunet-template.c         
26 gnunet_template_LDADD = \
27   $(top_builddir)/src/util/libgnunetutil.la \
28   $(GN_LIBINTL)
29
30 gnunet_service_template_SOURCES = \
31  gnunet-service-template.c         
32 gnunet_service_template_LDADD = \
33   $(top_builddir)/src/util/libgnunetutil.la \
34   $(GN_LIBINTL)
35
36
37 check_PROGRAMS = \
38  test_template_api
39
40 if ENABLE_TEST_RUN
41 TESTS = $(check_PROGRAMS)
42 endif
43
44 test_template_api_SOURCES = \
45  test_template_api.c
46 test_template_api_LDADD = \
47   $(top_builddir)/src/util/libgnunetutil.la  
48