blob: 790498875d5f6318d35625723fc3eec170964238 (
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
|
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
bin_PROGRAMS = \
interface_test interface_test_filebreak \
interface_test_unit interface_test_unit_memory \
fileop_test_utils \
fileop_test_set_get_remove \
fileop_test_unit \
fileop_test_unit_memory \
file_util_test
interface_test_SOURCES = \
interface_test.cpp \
../lib/static-configurator.c \
../lib/file-util.c \
../lib/fileop.c
interface_test_filebreak_SOURCES = \
interface_test_filebreak.cpp \
../lib/static-configurator.c \
../lib/file-util.c \
../lib/fileop.c
interface_test_unit_SOURCES = \
interface_test_unit.cpp \
../lib/static-configurator.c \
../lib/file-util.c \
../lib/fileop.c
interface_test_unit_memory_SOURCES = \
interface_test_unit_memory.cpp \
../lib/static-configurator.c \
../lib/file-util.c \
../lib/fileop.c
fileop_test_utils_SOURCES = \
fileop_test_utils.cpp \
../lib/static-configurator.c \
../lib/file-util.c
fileop_test_set_get_remove_SOURCES = \
fileop_test_set_get_remove.cpp \
../lib/static-configurator.c \
../lib/file-util.c
fileop_test_unit_SOURCES = \
fileop_test_unit.cpp \
../lib/static-configurator.c
fileop_test_unit_memory_SOURCES = \
fileop_test_unit_memory.cpp \
../lib/static-configurator.c \
../lib/file-util.c
file_util_test_SOURCES = \
file_util_test.cpp
# options
# Additional library
LDADD = \
-lrt -lpthread \
@GTEST_MAIN_LIBS@ \
@GMOCK_MAIN_LIBS@
interface_test_LDADD = \
${LDADD}
# C compiler options
CFLAGS = \
-g \
-fsanitize=address -coverage \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/include \
-D_GNU_SOURCE
# C++ compiler options
CXXFLAGS = \
-g \
-fpermissive \
-std=c++11 -fno-exceptions \
-fsanitize=address -coverage \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/include \
-D_GNU_SOURCE
# Linker options
LDFLAGS =
CLEANFILES = *.gcda *.gcno
|