aboutsummaryrefslogtreecommitdiffstats
path: root/agent/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--agent/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/agent/Makefile.am b/agent/Makefile.am
index 017b84795..c1a7c820e 100644
--- a/agent/Makefile.am
+++ b/agent/Makefile.am
@@ -20,6 +20,7 @@
bin_PROGRAMS = gpg-agent
libexec_PROGRAMS = gpg-protect-tool gpg-preset-passphrase
+noinst_PROGRAMS = $(TESTS)
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
@@ -70,3 +71,17 @@ if HAVE_W32_SYSTEM
gpg_preset_passphrase_LDADD += -lwsock32
endif
+#
+# Module tests
+#
+TESTS = t-protect
+
+t_common_ldadd = ../jnlib/libjnlib.a ../common/libcommon.a \
+ $(LIBGCRYPT_LIBS) -lgpg-error @LIBINTL@
+
+t_protect_SOURCES = t-protect.c protect.c
+t_protect_LDADD = $(t_common_ldadd)
+
+
+
+