aboutsummaryrefslogtreecommitdiff
path: root/src/template
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-02 08:54:18 +0000
committerChristian Grothoff <christian@grothoff.org>2015-06-02 08:54:18 +0000
commitedb4ddf051d91a2169d46f07b1bfea6df4d216bb (patch)
treee3b1a1095ece34ca21a420a290ad740663ec36a5 /src/template
parenta2417d5b3fc632fb1bacca6594c50a0ef7ffd23a (diff)
-noinst-ing non-functional binaries/libraries that just exist as examples/templates
Diffstat (limited to 'src/template')
-rw-r--r--src/template/Makefile.am18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/template/Makefile.am b/src/template/Makefile.am
index b235109bce..bdd5d6ebf4 100644
--- a/src/template/Makefile.am
+++ b/src/template/Makefile.am
@@ -9,27 +9,30 @@ dist_pkgcfg_DATA = \
template.conf
if MINGW
- WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
+ WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
endif
if USE_COVERAGE
AM_CFLAGS = -fprofile-arcs -ftest-coverage
endif
-bin_PROGRAMS = \
- gnunet-template
+# Note: In a real installation,
+# bin_PROGRAMS should be used for gnunet-template
+# libexec_PROGRAMS should be used for gnunet-service-template
-libexec_PROGRAMS = \
+noinst_PROGRAMS = \
+ gnunet-template \
gnunet-service-template
+
gnunet_template_SOURCES = \
- gnunet-template.c
+ 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.c
gnunet_service_template_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
@@ -46,5 +49,4 @@ endif
test_template_api_SOURCES = \
test_template_api.c
test_template_api_LDADD = \
- $(top_builddir)/src/util/libgnunetutil.la
-
+ $(top_builddir)/src/util/libgnunetutil.la