blob: e5ae056c337140e731f781b382d1c8f9a2f89df3 (
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
|
noinst_LTLIBRARIES = libfs.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-test \
-I$(top_srcdir)/src/lib-dict \
-I$(top_srcdir)/src/lib-ssl-iostream \
-DMODULE_DIR=\""$(moduledir)"\"
libfs_la_SOURCES = \
fs-api.c \
fs-dict.c \
fs-metawrap.c \
fs-randomfail.c \
fs-posix.c \
fs-test.c \
fs-test-async.c \
fs-sis.c \
fs-sis-common.c \
fs-sis-queue.c \
fs-wrapper.c \
istream-fs-file.c \
istream-fs-stats.c \
istream-metawrap.c \
ostream-metawrap.c \
ostream-cmp.c
headers = \
fs-api.h \
fs-api-private.h \
fs-sis-common.h \
fs-wrapper.h \
fs-test.h \
istream-fs-file.h \
istream-fs-stats.h \
istream-metawrap.h \
ostream-metawrap.h \
ostream-cmp.h
pkginc_libdir=$(pkgincludedir)
pkginc_lib_HEADERS = $(headers)
noinst_PROGRAMS = $(test_programs)
test_programs = \
test-fs-metawrap \
test-fs-posix
test_deps = \
$(noinst_LTLIBRARIES) \
../lib-dict/libdict.la \
../lib-test/libtest.la \
../lib/liblib.la
test_libs = \
$(test_deps) \
$(MODULE_LIBS)
test_fs_metawrap_SOURCES = test-fs-metawrap.c
test_fs_metawrap_LDADD = $(test_libs)
test_fs_metawrap_DEPENDENCIES = $(test_deps)
test_fs_posix_SOURCES = test-fs-posix.c
test_fs_posix_LDADD = $(test_libs)
test_fs_posix_DEPENDENCIES = $(test_deps)
check-local:
for bin in $(test_programs); do \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
done
|