aboutsummaryrefslogtreecommitdiff
path: root/lib/fstree/Makemodule.am
blob: 4d553f4887e64af4dc8a670a5819d7045aa03b53 (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
libfstree_a_SOURCES = include/fstree.h lib/fstree/src/fstree.c \
	lib/fstree/src/post_process.c lib/fstree/src/get_path.c \
	lib/fstree/src/mknode.c lib/fstree/src/hardlink.c \
	lib/fstree/src/add_by_path.c lib/fstree/src/get_by_path.c

noinst_LIBRARIES += libfstree.a

test_mknode_simple_SOURCES = lib/fstree/test/mknode_simple.c
test_mknode_simple_LDADD = libfstree.a libcompat.a

test_mknode_slink_SOURCES = lib/fstree/test/mknode_slink.c
test_mknode_slink_LDADD = libfstree.a libcompat.a

test_mknode_reg_SOURCES = lib/fstree/test/mknode_reg.c
test_mknode_reg_LDADD = libfstree.a libcompat.a

test_mknode_dir_SOURCES = lib/fstree/test/mknode_dir.c
test_mknode_dir_LDADD = libfstree.a libcompat.a

test_gen_inode_numbers_SOURCES = lib/fstree/test/gen_inode_numbers.c
test_gen_inode_numbers_LDADD = libcommon.a libfstree.a libutil.a libcompat.a

test_add_by_path_SOURCES = lib/fstree/test/add_by_path.c
test_add_by_path_LDADD = libcommon.a libfstree.a libutil.a libcompat.a

test_get_path_SOURCES = lib/fstree/test/get_path.c
test_get_path_LDADD = libcommon.a libfstree.a libutil.a libcompat.a

test_fstree_sort_SOURCES = lib/fstree/test/fstree_sort.c
test_fstree_sort_LDADD = libcommon.a libfstree.a libio.a libutil.a libcompat.a

FSTREE_TESTS = \
	test_mknode_simple test_mknode_slink \
	test_mknode_reg test_mknode_dir test_gen_inode_numbers \
	test_add_by_path test_get_path test_fstree_sort

check_PROGRAMS += $(FSTREE_TESTS)
TESTS += $(FSTREE_TESTS)