mc/tests/lib/search/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

44 lines
877 B
Makefile

PACKAGE_STRING = "/lib/search"
AM_CPPFLAGS = \
$(GLIB_CFLAGS) \
-I$(top_srcdir) \
-I$(top_srcdir)/lib/search \
@CHECK_CFLAGS@ \
@PCRE_CPPFLAGS@
LIBS = @CHECK_LIBS@ \
$(top_builddir)/lib/libmc.la @PCRE_LIBS@
if ENABLE_MCLIB
LIBS += $(GLIB_LIBS)
endif
TESTS = \
glob_prepare_replace_str \
glob_translate_to_regex \
hex_translate_to_regex \
regex_replace_esc_seq \
regex_process_escape_sequence \
translate_replace_glob_to_regex
check_PROGRAMS = $(TESTS)
glob_prepare_replace_str_SOURCES = \
glob_prepare_replace_str.c
regex_replace_esc_seq_SOURCES = \
regex_replace_esc_seq.c
regex_process_escape_sequence_SOURCES = \
regex_process_escape_sequence.c
translate_replace_glob_to_regex_SOURCES = \
translate_replace_glob_to_regex.c
glob_translate_to_regex_SOURCES = \
glob_translate_to_regex.c
hex_translate_to_regex_SOURCES = \
hex_translate_to_regex.c