passes
[oweals/gnunet.git] / src / template / Makefile.am
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