-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathservice.mk
More file actions
132 lines (94 loc) · 3.21 KB
/
service.mk
File metadata and controls
132 lines (94 loc) · 3.21 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# services makefile
# Jeremy Barnes, 29 May 2012
LIBOPSTATS_SOURCES := \
statsd_connector.cc carbon_connector.cc stat_aggregator.cc process_stats.cc
LIBOPSTATS_LINK := \
ACE arch utils boost_thread types
$(eval $(call library,opstats,$(LIBOPSTATS_SOURCES),$(LIBOPSTATS_LINK)))
LIBRECOSET_ZEROMQ_SOURCES := \
socket_per_thread.cc \
zmq_utils.cc
LIBRECOSET_ZEROMQ_LINK := \
zmq
$(eval $(call library,zeromq,$(LIBRECOSET_ZEROMQ_SOURCES),$(LIBRECOSET_ZEROMQ_LINK)))
LIBRECOSET_RUNNERCOMMON_SOURCES := \
runner_common.cc
LIBRECOSET_RUNNERCOMMON_LINK :=
$(eval $(call library,runner_common,$(LIBRECOSET_RUNNERCOMMON_SOURCES),$(LIBRECOSET_RUNNERCOMMON_LINK)))
$(eval $(call program,runner_helper,runner_common arch))
LIBSERVICES_SOURCES := \
transport.cc \
endpoint.cc \
connection_handler.cc \
http_endpoint.cc \
json_endpoint.cc \
active_endpoint.cc \
passive_endpoint.cc \
chunked_http_endpoint.cc \
epoller.cc \
epoll_loop.cc \
http_header.cc \
port_range_service.cc \
service_base.cc \
message_loop.cc \
loop_monitor.cc \
named_endpoint.cc \
zookeeper_configuration_service.cc \
zmq_endpoint.cc \
async_event_source.cc \
async_writer_source.cc \
tcp_client.cc \
timer_event_source.cc \
rest_service_endpoint.cc \
http_named_endpoint.cc \
rest_proxy.cc \
rest_request_router.cc \
rest_request_binding.cc \
runner.cc \
sink.cc \
openssl_threading.cc \
zookeeper.cc \
http_client.cc \
http_client_v1.cc \
http_client_v2.cc \
http_parsers.cc \
http_rest_proxy.cc \
xml_helpers.cc \
nprobe.cc \
logs.cc \
nsq_event_handler.cc \
event_publisher.cc \
event_subscriber.cc \
nsq_client.cc
LIBSERVICES_LINK := opstats curl curlpp boost_regex runner_common zeromq zookeeper_mt ACE arch utils jsoncpp boost_thread zmq types tinyxml2 boost_system value_description crypto
$(eval $(call library,services,$(LIBSERVICES_SOURCES),$(LIBSERVICES_LINK)))
$(eval $(call set_compile_option,runner.cc,-DBIN=\"$(BIN)\"))
$(LIB)/libservices.so: $(BIN)/runner_helper
LIBENDPOINT_SOURCES := \
LIBENDPOINT_LINK := \
services
$(eval $(call library,endpoint,$(LIBENDPOINT_SOURCES),$(LIBENDPOINT_LINK)))
LIBCLOUD_SOURCES := \
fs_utils.cc \
sftp.cc \
s3.cc \
sns.cc \
aws.cc \
sqs.cc
LIBCLOUD_LINK := crypto++ curlpp utils arch types tinyxml2 services ssh2 boost_filesystem value_description
$(eval $(call library,cloud,$(LIBCLOUD_SOURCES),$(LIBCLOUD_LINK)))
LIBREDIS_SOURCES := \
redis.cc
LIBREDIS_LINK := hiredis utils types boost_thread
$(eval $(call library,redis,$(LIBREDIS_SOURCES),$(LIBREDIS_LINK)))
$(eval $(call program,s3_transfer_cmd,cloud boost_program_options boost_filesystem utils))
$(eval $(call program,s3tee,cloud boost_program_options utils))
$(eval $(call program,s3cp,cloud boost_program_options utils))
$(eval $(call program,s3_multipart_cmd,cloud boost_program_options utils))
$(eval $(call program,syslog_trace,services))
$(eval $(call program,s3cat,cloud boost_program_options utils))
$(eval $(call program,sns_send,cloud boost_program_options utils))
SERVICEDUMP_LINK = services boost_program_options
$(eval $(call program,service_dump,$(SERVICEDUMP_LINK)))
$(eval $(call include_sub_make,service_js,js,service_js.mk))
$(eval $(call include_sub_make,service_testing,testing,service_testing.mk))