mc/tests/lib/mcconfig/Makefile.am
Andrew Borodin 77890a3d1a tests: fix incomplete linkage in case of --enable-mclib.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2023-08-13 14:59:25 +03:00

30 lines
447 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) \
@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