mc/tests/lib/search/Makefile.am
Andrew Borodin 49624e473b Ticket #4450: support PCRE2 in the search engine.
* m4.include/ax_path_lib_pcre.m4: replace by recent version from GNU
Autoconf Archive.
  * m4.include/ax_check_pcre2.m4: get grom GNU Autoconf Archive.
  * m4.include/mc-check-search-type.m4: support both PCRE versions.
  * */*/Makefile.am: remove @CHECK_CFLAGS@ and @PCRE_LIBS@ ads they are
added via AX_PATH_LIB_PCRE and AX_CHECK_PCRE2.
  * lib/search.h, lib/search/: add support of PCRE2. Thanks broly <gagan@hotmail.com>
for the initial patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2023-03-25 10:07:41 +03:00

43 lines
846 B
Makefile

PACKAGE_STRING = "/lib/search"
AM_CPPFLAGS = \
$(GLIB_CFLAGS) \
-I$(top_srcdir) \
-I$(top_srcdir)/lib/search \
@CHECK_CFLAGS@
LIBS = @CHECK_LIBS@ \
$(top_builddir)/lib/libmc.la
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