mc/tests/lib/mcconfig/Makefile.am
Andrew Borodin 3ae7ad4449 tests: fix DSO link error in case of --enable-mclib.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:22 +03:00

29 lines
433 B
Makefile

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)
endif
TESTS = \
config_string \
user_configs_path
check_PROGRAMS = $(TESTS)
config_string_SOURCES = \
config_string.c
user_configs_path_SOURCES = \
user_configs_path.c