diff options
Diffstat (limited to 'common/Makefile.am')
-rw-r--r-- | common/Makefile.am | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index d6143de67..28d396490 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -21,6 +21,8 @@ ## Process this file with automake to produce Makefile.in noinst_LIBRARIES = libcommon.a libsimple-pwquery.a +noinst_PROGRAMS = $(module_tests) +TESTS = $(module_tests) AM_CPPFLAGS = -I$(top_srcdir)/gl @@ -39,6 +41,7 @@ libcommon_a_SOURCES = \ gettime.c \ yesno.c \ b64enc.c \ + convert.c \ miscellaneous.c \ xasprintf.c \ xreadline.c \ @@ -60,3 +63,15 @@ libcommon_a_SOURCES = \ libsimple_pwquery_a_SOURCES = \ simple-pwquery.c simple-pwquery.h asshelp.c asshelp.h + +# +# Module tests +# +module_tests = t-convert + +t_common_ldadd = ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a \ + $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) + +t_convert_DEPENDENCIES = convert.c +t_convert_LDADD = $(t_common_ldadd) + |