summaryrefslogtreecommitdiffstats
path: root/tests/lib/strutil/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/strutil/Makefile.am')
-rw-r--r--tests/lib/strutil/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/lib/strutil/Makefile.am b/tests/lib/strutil/Makefile.am
new file mode 100644
index 0000000..6d88f65
--- /dev/null
+++ b/tests/lib/strutil/Makefile.am
@@ -0,0 +1,33 @@
+PACKAGE_STRING = "/lib/strutil"
+
+AM_CPPFLAGS = \
+ $(GLIB_CFLAGS) \
+ -I$(top_srcdir) \
+ @CHECK_CFLAGS@
+
+LIBS = @CHECK_LIBS@ \
+ $(top_builddir)/lib/libmc.la
+
+if ENABLE_MCLIB
+LIBS += $(GLIB_LIBS)
+endif
+
+TESTS = \
+ replace__str_replace_all \
+ parse_integer \
+ str_verscmp \
+ filevercmp
+
+check_PROGRAMS = $(TESTS)
+
+replace__str_replace_all_SOURCES = \
+ replace__str_replace_all.c
+
+parse_integer_SOURCES = \
+ parse_integer.c
+
+str_verscmp_SOURCES = \
+ str_verscmp.c
+
+filevercmp_SOURCES = \
+ filevercmp.c