From 0a217a8df1657b4334b55b0e4a6c7837a8dbcfd9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 29 May 2009 00:46:26 +0000 Subject: ng --- src/template/Makefile.am | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/template/Makefile.am (limited to 'src/template/Makefile.am') 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 @@ +INCLUDES = -I$(top_srcdir)/src/include + +if MINGW + WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols +endif + +if USE_COVERAGE + AM_CFLAGS = -fprofile-arcs -ftest-coverage +endif + +bin_PROGRAMS = \ + gnunet-template \ + gnunet-service-template + +gnunet_template_SOURCES = \ + gnunet-template.c +gnunet_template_LDADD = \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(GN_LIBINTL) + +gnunet_service_template_SOURCES = \ + gnunet-service-template.c +gnunet_service_template_LDADD = \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(GN_LIBINTL) + + +check_PROGRAMS = \ + test_template_api + +TESTS = $(check_PROGRAMS) + +test_template_api_SOURCES = \ + test_template_api.c +test_template_api_LDADD = \ + $(top_builddir)/src/util/libgnunetutil.la + -- cgit v1.2.3