summaryrefslogtreecommitdiffstats
path: root/tests/lib/search/Makefile.am
blob: d01c0dc94f698521e8fc72160f94812c5746a596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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