mc/tests/lib/search/Makefile.am
Steef Boerrigter e370818c09 Ticket #400: support multi-line search.
In order to use multiline search, select "Regular expression" mode and
use "\n" in the input line:

For example, if file contains lines

aaa
bbb

search string should be "aaa\nbbb".

As a side effect, non-printable ASCII symbols (\r, \t, etc) in the
search string can be used too.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-08-14 18:02:23 +03:00

48 lines
956 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 \
regex_multiline_str \
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
regex_multiline_str_SOURCES = \
regex_multiline_str.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