diff options
author | Bertrand Marc <beberking@gmail.com> | 2012-05-02 21:43:37 +0200 |
---|---|---|
committer | Bertrand Marc <beberking@gmail.com> | 2012-05-02 21:43:37 +0200 |
commit | 2b81464a43485fcc8ce079fafdee7b7a171835f4 (patch) | |
tree | 394774c0f735199b57d51a2d3840356317853fe1 /src/template/Makefile.am |
Imported Upstream version 0.9.2upstream/0.9.2
Diffstat (limited to 'src/template/Makefile.am')
-rw-r--r-- | src/template/Makefile.am | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/template/Makefile.am b/src/template/Makefile.am new file mode 100644 index 0000000..1769191 --- /dev/null +++ b/src/template/Makefile.am @@ -0,0 +1,44 @@ +INCLUDES = -I$(top_srcdir)/src/include + +pkgcfgdir= $(pkgdatadir)/config.d/ + +dist_pkgcfg_DATA = \ + template.conf + +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 + +if ENABLE_TEST_RUN +TESTS = $(check_PROGRAMS) +endif + +test_template_api_SOURCES = \ + test_template_api.c +test_template_api_LDADD = \ + $(top_builddir)/src/util/libgnunetutil.la + |