summaryrefslogtreecommitdiffstats
path: root/tests/lib/mcconfig/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/mcconfig/Makefile.am')
-rw-r--r--tests/lib/mcconfig/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/lib/mcconfig/Makefile.am b/tests/lib/mcconfig/Makefile.am
new file mode 100644
index 0000000..4643e40
--- /dev/null
+++ b/tests/lib/mcconfig/Makefile.am
@@ -0,0 +1,29 @@
+PACKAGE_STRING = "/lib/mcconfig"
+
+AM_CPPFLAGS = \
+ -DWORKDIR=\"$(abs_builddir)\" \
+ $(GLIB_CFLAGS) \
+ -I$(top_srcdir) \
+ @CHECK_CFLAGS@
+
+AM_LDFLAGS = @TESTS_LDFLAGS@
+
+LIBS = @CHECK_LIBS@ \
+ $(top_builddir)/lib/libmc.la
+
+if ENABLE_MCLIB
+LIBS += $(GLIB_LIBS) \
+ @E2P_LIBS@
+endif
+
+TESTS = \
+ config_string \
+ user_configs_path
+
+check_PROGRAMS = $(TESTS)
+
+config_string_SOURCES = \
+ config_string.c
+
+user_configs_path_SOURCES = \
+ user_configs_path.c