-
Notifications
You must be signed in to change notification settings - Fork 49
/
Makefile.am
120 lines (102 loc) · 2.39 KB
/
Makefile.am
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
AM_CFLAGS = \
@GCCWARN@ \
$(CODE_COVERAGE_CFLAGS)
AM_LDFLAGS = \
$(CODE_COVERAGE_LDFLAGS)
AM_CPPFLAGS = \
-I$(top_srcdir) -I$(top_srcdir)/src/include \
$(JSON_CFLAGS) $(ZMQ_CFLAGS) \
-Wno-strict-aliasing -Wno-error=strict-aliasing
noinst_LTLIBRARIES = libutil.la
libutil_la_SOURCES = \
ipaddr.c \
ipaddr.h \
log.c \
log.h \
xzmalloc.c \
xzmalloc.h \
jsonutil.c \
jsonutil.h \
monotime.c \
monotime.h \
setenvf.c \
setenvf.h \
optparse.c \
optparse.h \
tstat.c \
tstat.h \
veb.c \
veb.h \
nodeset.c \
nodeset.h \
shortjson.h \
readall.c \
readall.h \
ev_zmq.c \
ev_zmq.h \
ev_zlist.c \
ev_zlist.h \
coproc.c \
coproc.h \
base64.c \
base64.h \
msglist.c \
msglist.h \
cleanup.c \
cleanup.h \
sds.c \
sds.h \
sdsalloc.h \
iterators.h \
macros.h \
sha1.h \
sha1.c \
shastring.h \
shastring.c
EXTRA_DIST = veb_mach.c
TESTS = test_nodeset.t \
test_optparse.t \
test_ev.t \
test_coproc.t \
test_base64.t \
test_encode.t \
test_msglist.t \
test_sha1.t
test_ldadd = \
$(top_builddir)/src/common/libutil/libutil.la \
$(top_builddir)/src/common/libtap/libtap.la \
$(top_builddir)/src/common/liblsd/liblsd.la \
$(top_builddir)/src/common/libev/libev.la \
$(JSON_LIBS) $(ZMQ_LIBS) $(LIBPTHREAD)
test_cppflags = \
-I$(top_srcdir)/src/common/libtap \
$(AM_CPPFLAGS)
check_PROGRAMS = $(TESTS)
TEST_EXTENSIONS = .t
T_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
$(top_srcdir)/config/tap-driver.sh
test_nodeset_t_SOURCES = test/nodeset.c
test_nodeset_t_CPPFLAGS = $(test_cppflags)
test_nodeset_t_LDADD = $(test_ldadd)
test_optparse_t_SOURCES = test/optparse.c
test_optparse_t_CPPFLAGS = $(test_cppflags)
test_optparse_t_LDADD = $(test_ldadd)
test_ev_t_SOURCES = test/ev.c
test_ev_t_CPPFLAGS = $(test_cppflags)
test_ev_t_LDADD = $(test_ldadd)
test_coproc_t_SOURCES = test/coproc.c
test_coproc_t_CPPFLAGS = $(test_cppflags)
test_coproc_t_CFLAGS = $(AM_CFLAGS) -fno-builtin
test_coproc_t_LDADD = $(test_ldadd)
test_base64_t_SOURCES = test/base64_test.c
test_base64_t_CPPFLAGS = $(test_cppflags)
test_base64_t_LDADD = $(test_ldadd)
test_encode_t_SOURCES = test/encode.c
test_encode_t_CPPFLAGS = $(test_cppflags)
test_encode_t_LDADD = $(test_ldadd)
test_msglist_t_SOURCES = test/msglist.c
test_msglist_t_CPPFLAGS = $(test_cppflags)
test_msglist_t_LDADD = $(test_ldadd)
test_sha1_t_SOURCES = test/sha1.c
test_sha1_t_CPPFLAGS = $(test_cppflags)
test_sha1_t_LDADD = $(test_ldadd)