summaryrefslogtreecommitdiffstats
path: root/tests/lib/vfs/Makefile.am
blob: 62ebe9fccfccc5709de0ae3cc623ecf1fbee102b (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
PACKAGE_STRING = "/lib/vfs"

AM_CPPFLAGS = \
	-DTEST_SHARE_DIR=\"$(abs_srcdir)\" \
	$(GLIB_CFLAGS) \
	-I$(top_srcdir) \
	-I$(top_srcdir)/lib/vfs \
	@CHECK_CFLAGS@

AM_LDFLAGS = @TESTS_LDFLAGS@

EXTRA_DIST = mc.charsets

LIBS = @CHECK_LIBS@ \
	$(top_builddir)/lib/libmc.la

if ENABLE_MCLIB
LIBS += $(GLIB_LIBS)
endif

TESTS = \
	canonicalize_pathname \
	current_dir \
	path_cmp \
	path_len \
	path_manipulations \
	path_serialize \
	relative_cd \
	tempdir \
	vfs_adjust_stat \
	vfs_parse_ls_lga \
	vfs_path_from_str_flags \
	vfs_path_string_convert \
	vfs_prefix_to_class \
	vfs_setup_cwd \
	vfs_split \
	vfs_s_get_path

if CHARSET
TESTS += path_recode \
	vfs_get_encoding
endif

check_PROGRAMS = $(TESTS)

canonicalize_pathname_SOURCES = \
	canonicalize_pathname.c

current_dir_SOURCES = \
	current_dir.c

path_cmp_SOURCES = \
	path_cmp.c

path_len_SOURCES = \
	path_len.c

path_manipulations_SOURCES = \
	path_manipulations.c

path_recode_SOURCES = \
	path_recode.c

path_serialize_SOURCES = \
	path_serialize.c

relative_cd_SOURCES = \
	relative_cd.c

tempdir_SOURCES = \
	tempdir.c

vfs_adjust_stat_SOURCES = \
	vfs_adjust_stat.c

vfs_get_encoding_SOURCES = \
	vfs_get_encoding.c

vfs_setup_cwd_SOURCES = \
	vfs_setup_cwd.c

vfs_split_SOURCES = \
	vfs_split.c

vfs_parse_ls_lga_SOURCES = \
	vfs_parse_ls_lga.c

vfs_prefix_to_class_SOURCES = \
	vfs_prefix_to_class.c

vfs_path_from_str_flags_SOURCES = \
	vfs_path_from_str_flags.c

vfs_path_string_convert_SOURCES = \
	vfs_path_string_convert.c

vfs_s_get_path_SOURCES = \
	vfs_s_get_path.c