forked from libprocess/libprocess
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
101 lines (85 loc) · 3.84 KB
/
Makefile.am
File metadata and controls
101 lines (85 loc) · 3.84 KB
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
# Makefile for libprocess. Note that third_party needs to be built
# first (see third_party/Makefile.am).
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign
SUBDIRS = third_party .
include third_party/versions.am
BOOST = third_party/boost-$(BOOST_VERSION)
GLOG = third_party/glog-$(GLOG_VERSION)
GMOCK = third_party/gmock-$(GMOCK_VERSION)
GTEST = $(GMOCK)/gtest
RY_HTTP_PARSER = third_party/ry-http-parser-$(RY_HTTP_PARSER_VERSION)
LIBEV = third_party/libev-$(LIBEV_VERSION)
# Library. It is not installable presently because most people link
# the libprocess statically into their resulting library or binary and
# don't want any parts of libprocess to get installed (which happens
# even if you attempt to do conditional installation via configure
# arguments, see configure.ac).
noinst_LTLIBRARIES = libprocess.la
libprocess_la_SOURCES = src/process.cpp src/pid.cpp src/latch.cpp \
src/statistics.cpp src/tokenize.cpp src/config.hpp \
src/decoder.hpp src/encoder.hpp src/gate.hpp \
src/synchronized.hpp src/tokenize.hpp
libprocess_la_CPPFLAGS = -I$(srcdir)/include -I$(BOOST) -I$(GLOG)/src \
-I$(RY_HTTP_PARSER) -I$(LIBEV) $(AM_CPPFLAGS)
libprocess_la_LIBADD = $(GLOG)/libglog.la \
third_party/libry_http_parser.la $(LIBEV)/libev.la
# Headers.
libprocess_la_SOURCES += $(top_srcdir)/include/process/clock.hpp \
$(top_srcdir)/include/process/collect.hpp \
$(top_srcdir)/include/process/defer.hpp \
$(top_srcdir)/include/process/deferred.hpp \
$(top_srcdir)/include/process/delay.hpp \
$(top_srcdir)/include/process/dispatch.hpp \
$(top_srcdir)/include/process/event.hpp \
$(top_srcdir)/include/process/executor.hpp \
$(top_srcdir)/include/process/filter.hpp \
$(top_srcdir)/include/process/future.hpp \
$(top_srcdir)/include/process/gc.hpp \
$(top_srcdir)/include/process/http.hpp \
$(top_srcdir)/include/process/id.hpp \
$(top_srcdir)/include/process/io.hpp \
$(top_srcdir)/include/process/latch.hpp \
$(top_srcdir)/include/process/message.hpp \
$(top_srcdir)/include/process/mime.hpp \
$(top_srcdir)/include/process/nothing.hpp \
$(top_srcdir)/include/process/once.hpp \
$(top_srcdir)/include/process/pid.hpp \
$(top_srcdir)/include/process/preprocessor.hpp \
$(top_srcdir)/include/process/process.hpp \
$(top_srcdir)/include/process/protobuf.hpp \
$(top_srcdir)/include/process/run.hpp \
$(top_srcdir)/include/process/socket.hpp \
$(top_srcdir)/include/process/statistics.hpp \
$(top_srcdir)/include/process/thread.hpp \
$(top_srcdir)/include/process/timeout.hpp \
$(top_srcdir)/include/process/timer.hpp \
$(top_srcdir)/include/stout/cache.hpp \
$(top_srcdir)/include/stout/fatal.hpp \
$(top_srcdir)/include/stout/foreach.hpp \
$(top_srcdir)/include/stout/format.hpp \
$(top_srcdir)/include/stout/hashmap.hpp \
$(top_srcdir)/include/stout/hashset.hpp \
$(top_srcdir)/include/stout/json.hpp \
$(top_srcdir)/include/stout/lambda.hpp \
$(top_srcdir)/include/stout/multihashmap.hpp \
$(top_srcdir)/include/stout/net.hpp \
$(top_srcdir)/include/stout/numify.hpp \
$(top_srcdir)/include/stout/option.hpp \
$(top_srcdir)/include/stout/os.hpp \
$(top_srcdir)/include/stout/protobuf.hpp \
$(top_srcdir)/include/stout/stringify.hpp \
$(top_srcdir)/include/stout/strings.hpp \
$(top_srcdir)/include/stout/time.hpp \
$(top_srcdir)/include/stout/timer.hpp \
$(top_srcdir)/include/stout/try.hpp \
$(top_srcdir)/include/stout/utils.hpp \
$(top_srcdir)/include/stout/uuid.hpp
# Tests.
check_PROGRAMS = tests
tests_SOURCES = src/tests.cpp src/statistics_tests.cpp
tests_CPPFLAGS = -I$(GTEST)/include -I$(GMOCK)/include \
$(libprocess_la_CPPFLAGS)
tests_LDADD = third_party/libgmock.la libprocess.la $(GLOG)/libglog.la \
third_party/libry_http_parser.la $(LIBEV)/libev.la
# TODO(benh): Fix shared builds (tests need libglog, libev, etc).