summaryrefslogtreecommitdiffstats
path: root/common/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-09-18 16:00:34 +0200
committerWerner Koch <wk@gnupg.org>2014-09-18 17:03:06 +0200
commit927db789c19cbe5656ff980841ee37dd3a8989e7 (patch)
tree8e4083f5ee3f5177168a15dc009b9ecf15b27582 /common/Makefile.am
parentcommon: Remove superfluous statements. (diff)
downloadgnupg2-927db789c19cbe5656ff980841ee37dd3a8989e7.tar.xz
gnupg2-927db789c19cbe5656ff980841ee37dd3a8989e7.zip
common: Do not build maintainer modules in non-maintainer mode.
* common/Makefile.am (module_maint_tests): Use only in maintainer mode. (t_common_cflags): New.
Diffstat (limited to 'common/Makefile.am')
-rw-r--r--common/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 40fdabd17..03bc5eb06 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -181,13 +181,21 @@ module_tests = t-convert t-percent t-gettime t-sysutils t-sexputil \
if !HAVE_W32CE_SYSTEM
module_tests += t-exechelp
endif
+
+if MAINTAINER_MODE
module_maint_tests = t-helpfile t-b64 t-http
+else
+module_maint_tests =
+endif
+t_common_cflags = $(KSBA_CFLAGS) $(LIBGCRYPT_CFLAGS) \
+ $(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS)
t_common_ldadd = libcommon.a ../gl/libgnu.a \
$(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) \
$(LIBINTL) $(LIBICONV)
+
# jnlib tests
t_stringhelp_SOURCES = t-stringhelp.c $(t_jnlib_src)
t_stringhelp_LDADD = $(t_common_ldadd)