blob: f88e579fe75fc87037c49a45b49337fda72842c1 [file] [log] [blame]
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001# GRPC global makefile
2# This currently builds C and C++ code.
3
4
Craig Tiller96b49552015-01-21 16:29:01 -08005
6# Basic platform detection
7HOST_SYSTEM = $(shell uname | cut -f 1 -d_)
8ifeq ($(SYSTEM),)
9SYSTEM = $(HOST_SYSTEM)
10endif
11
12
ctiller8cfebb92015-01-06 15:02:12 -080013# Configurations
14
15VALID_CONFIG_opt = 1
16CC_opt = gcc
17CXX_opt = g++
18LD_opt = gcc
19LDXX_opt = g++
20CPPFLAGS_opt = -O2
21LDFLAGS_opt =
22DEFINES_opt = NDEBUG
23
24VALID_CONFIG_dbg = 1
25CC_dbg = gcc
26CXX_dbg = g++
27LD_dbg = gcc
28LDXX_dbg = g++
29CPPFLAGS_dbg = -O0
30LDFLAGS_dbg =
31DEFINES_dbg = _DEBUG DEBUG
32
Craig Tillerec0b8f32015-01-15 07:30:00 -080033VALID_CONFIG_valgrind = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080034REQUIRE_CUSTOM_LIBRARIES_valgrind = 1
Craig Tillerec0b8f32015-01-15 07:30:00 -080035CC_valgrind = gcc
36CXX_valgrind = g++
37LD_valgrind = gcc
38LDXX_valgrind = g++
39CPPFLAGS_valgrind = -O0
40OPENSSL_CFLAGS_valgrind = -DPURIFY
41LDFLAGS_valgrind =
42DEFINES_valgrind = _DEBUG DEBUG
43
ctiller8cfebb92015-01-06 15:02:12 -080044VALID_CONFIG_tsan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080045REQUIRE_CUSTOM_LIBRARIES_tsan = 1
ctiller8cfebb92015-01-06 15:02:12 -080046CC_tsan = clang
47CXX_tsan = clang++
48LD_tsan = clang
49LDXX_tsan = clang++
50CPPFLAGS_tsan = -O1 -fsanitize=thread -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080051OPENSSL_CONFIG_tsan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080052LDFLAGS_tsan = -fsanitize=thread
53DEFINES_tsan = NDEBUG
54
55VALID_CONFIG_asan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080056REQUIRE_CUSTOM_LIBRARIES_asan = 1
ctiller8cfebb92015-01-06 15:02:12 -080057CC_asan = clang
58CXX_asan = clang++
59LD_asan = clang
60LDXX_asan = clang++
61CPPFLAGS_asan = -O1 -fsanitize=address -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080062OPENSSL_CONFIG_asan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080063LDFLAGS_asan = -fsanitize=address
64DEFINES_asan = NDEBUG
65
66VALID_CONFIG_msan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080067REQUIRE_CUSTOM_LIBRARIES_msan = 1
ctiller8cfebb92015-01-06 15:02:12 -080068CC_msan = clang
69CXX_msan = clang++
70LD_msan = clang
71LDXX_msan = clang++
72CPPFLAGS_msan = -O1 -fsanitize=memory -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080073OPENSSL_CFLAGS_msan = -DPURIFY
74OPENSSL_CONFIG_msan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080075LDFLAGS_msan = -fsanitize=memory
76DEFINES_msan = NDEBUG
77
Craig Tiller934baa32015-01-12 18:19:45 -080078VALID_CONFIG_gcov = 1
79CC_gcov = gcc
80CXX_gcov = g++
81LD_gcov = gcc
82LDXX_gcov = g++
83CPPFLAGS_gcov = -O0 -fprofile-arcs -ftest-coverage
84LDFLAGS_gcov = -fprofile-arcs -ftest-coverage
85DEFINES_gcov = NDEBUG
86
Nicolas Noble047b7272015-01-16 13:55:05 -080087
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080088# General settings.
89# You may want to change these depending on your system.
90
91prefix ?= /usr/local
92
93PROTOC = protoc
yangg102e4fe2015-01-06 16:02:50 -080094CONFIG ?= opt
ctiller8cfebb92015-01-06 15:02:12 -080095CC = $(CC_$(CONFIG))
96CXX = $(CXX_$(CONFIG))
97LD = $(LD_$(CONFIG))
98LDXX = $(LDXX_$(CONFIG))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080099AR = ar
100STRIP = strip --strip-unneeded
101INSTALL = install -D
102RM = rm -f
103
yangg102e4fe2015-01-06 16:02:50 -0800104ifndef VALID_CONFIG_$(CONFIG)
105$(error Invalid CONFIG value '$(CONFIG)')
106endif
107
Nicolas Noble047b7272015-01-16 13:55:05 -0800108
109# The HOST compiler settings are used to compile the protoc plugins.
110# In most cases, you won't have to change anything, but if you are
111# cross-compiling, you can override these variables from GNU make's
112# command line: make CC=cross-gcc HOST_CC=gcc
113
nnoble72309c62014-12-12 11:42:26 -0800114HOST_CC = $(CC)
115HOST_CXX = $(CXX)
116HOST_LD = $(LD)
117HOST_LDXX = $(LDXX)
118
ctillercab52e72015-01-06 13:10:23 -0800119CPPFLAGS += $(CPPFLAGS_$(CONFIG))
120DEFINES += $(DEFINES_$(CONFIG))
ctiller8cfebb92015-01-06 15:02:12 -0800121LDFLAGS += $(LDFLAGS_$(CONFIG))
ctillercab52e72015-01-06 13:10:23 -0800122
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800123CFLAGS += -std=c89 -pedantic
124CXXFLAGS += -std=c++11
125CPPFLAGS += -g -fPIC -Wall -Werror -Wno-long-long
Craig Tiller96b49552015-01-21 16:29:01 -0800126LDFLAGS += -g -fPIC
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800127
128INCLUDES = . include gens
Craig Tiller96b49552015-01-21 16:29:01 -0800129ifeq ($(SYSTEM),Darwin)
130LIBS = m z
131else
ctillerc008ae52015-01-07 15:33:00 -0800132LIBS = rt m z pthread
Craig Tiller96b49552015-01-21 16:29:01 -0800133LDFLAGS += -pthread
134endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800135LIBSXX = protobuf
nnoblec78b3402014-12-11 16:06:57 -0800136LIBS_PROTOC = protoc protobuf
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800137
138ifneq ($(wildcard /usr/src/gtest/src/gtest-all.cc),)
139GTEST_LIB = /usr/src/gtest/src/gtest-all.cc -I/usr/src/gtest
140else
141GTEST_LIB = -lgtest
142endif
chenwa8fd44a2014-12-10 15:13:55 -0800143GTEST_LIB += -lgflags
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800144ifeq ($(V),1)
145E = @:
146Q =
147else
148E = @echo
149Q = @
150endif
151
152VERSION = 0.8.0.0
153
154CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
155CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
156
157LDFLAGS += $(ARCH_FLAGS)
158LDLIBS += $(addprefix -l, $(LIBS))
159LDLIBSXX += $(addprefix -l, $(LIBSXX))
nnoble72309c62014-12-12 11:42:26 -0800160HOST_LDLIBS_PROTOC += $(addprefix -l, $(LIBS_PROTOC))
161
162HOST_CPPFLAGS = $(CPPFLAGS)
163HOST_CFLAGS = $(CFLAGS)
164HOST_CXXFLAGS = $(CXXFLAGS)
165HOST_LDFLAGS = $(LDFLAGS)
166HOST_LDLIBS = $(LDLIBS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800167
nnoble69ac39f2014-12-12 15:43:38 -0800168
169# These are automatically computed variables.
170# There shouldn't be any need to change anything from now on.
171
nnoble5b7f32a2014-12-22 08:12:44 -0800172ifeq ($(SYSTEM),MINGW32)
173SHARED_EXT = dll
174endif
175ifeq ($(SYSTEM),Darwin)
176SHARED_EXT = dylib
177endif
178ifeq ($(SHARED_EXT),)
179SHARED_EXT = so.$(VERSION)
180endif
181
nnoble69ac39f2014-12-12 15:43:38 -0800182ifeq ($(wildcard .git),)
183IS_GIT_FOLDER = false
184else
185IS_GIT_FOLDER = true
186endif
187
nnoble7e012cf2014-12-22 17:53:44 -0800188OPENSSL_ALPN_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/openssl-alpn.c -lssl -lcrypto -ldl $(LDFLAGS)
189ZLIB_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/zlib.c -lz $(LDFLAGS)
Craig Tiller297fafa2015-01-15 15:46:39 -0800190PERFTOOLS_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/perftools.c -lprofiler $(LDFLAGS)
191
192HAS_SYSTEM_PERFTOOLS = $(shell $(PERFTOOLS_CHECK_CMD) 2> /dev/null && echo true || echo false)
193ifeq ($(HAS_SYSTEM_PERFTOOLS),true)
194DEFINES += GRPC_HAVE_PERFTOOLS
195LIBS += profiler
196endif
nnoble69ac39f2014-12-12 15:43:38 -0800197
Craig Tillerc4da6b72015-01-15 08:01:14 -0800198ifndef REQUIRE_CUSTOM_LIBRARIES_$(CONFIG)
nnoble60825402014-12-15 14:43:51 -0800199HAS_SYSTEM_OPENSSL_ALPN = $(shell $(OPENSSL_ALPN_CHECK_CMD) 2> /dev/null && echo true || echo false)
200HAS_SYSTEM_ZLIB = $(shell $(ZLIB_CHECK_CMD) 2> /dev/null && echo true || echo false)
Craig Tillerc4da6b72015-01-15 08:01:14 -0800201else
202# override system libraries if the config requires a custom compiled library
203HAS_SYSTEM_OPENSSL_ALPN = false
204HAS_SYSTEM_ZLIB = false
205endif
nnoble69ac39f2014-12-12 15:43:38 -0800206
nnoble69ac39f2014-12-12 15:43:38 -0800207ifeq ($(wildcard third_party/openssl/ssl/ssl.h),)
208HAS_EMBEDDED_OPENSSL_ALPN = false
209else
210HAS_EMBEDDED_OPENSSL_ALPN = true
211endif
212
213ifeq ($(wildcard third_party/zlib/zlib.h),)
214HAS_EMBEDDED_ZLIB = false
215else
216HAS_EMBEDDED_ZLIB = true
217endif
218
nnoble69ac39f2014-12-12 15:43:38 -0800219ifeq ($(HAS_SYSTEM_ZLIB),false)
220ifeq ($(HAS_EMBEDDED_ZLIB),true)
Craig Tiller3ccae022015-01-15 07:47:29 -0800221ZLIB_DEP = libs/$(CONFIG)/zlib/libz.a
nnoble69ac39f2014-12-12 15:43:38 -0800222CPPFLAGS += -Ithird_party/zlib
223LDFLAGS += -Lthird_party/zlib
224else
225DEP_MISSING += zlib
226endif
227endif
228
229ifeq ($(HAS_SYSTEM_OPENSSL_ALPN),false)
230ifeq ($(HAS_EMBEDDED_OPENSSL_ALPN),true)
Craig Tillerec0b8f32015-01-15 07:30:00 -0800231OPENSSL_DEP = libs/$(CONFIG)/openssl/libssl.a
232OPENSSL_MERGE_LIBS += libs/$(CONFIG)/openssl/libssl.a libs/$(CONFIG)/openssl/libcrypto.a
nnoble69ac39f2014-12-12 15:43:38 -0800233CPPFLAGS += -Ithird_party/openssl/include
Craig Tillerec0b8f32015-01-15 07:30:00 -0800234LDFLAGS += -Llibs/$(CONFIG)/openssl
nnoble5b7f32a2014-12-22 08:12:44 -0800235LIBS_SECURE = dl
nnoble69ac39f2014-12-12 15:43:38 -0800236else
237NO_SECURE = true
238endif
nnoble5b7f32a2014-12-22 08:12:44 -0800239else
240LIBS_SECURE = ssl crypto dl
nnoble69ac39f2014-12-12 15:43:38 -0800241endif
242
nnoble5b7f32a2014-12-22 08:12:44 -0800243LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE))
244
Craig Tiller12c82092015-01-15 08:45:56 -0800245ifeq ($(MAKECMDGOALS),clean)
nnoble69ac39f2014-12-12 15:43:38 -0800246NO_DEPS = true
247endif
248
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800249.SECONDARY = %.pb.h %.pb.cc
250
Craig Tillerf58b9ef2015-01-15 09:09:12 -0800251PROTOC_PLUGINS= bins/$(CONFIG)/cpp_plugin bins/$(CONFIG)/ruby_plugin
nnoble69ac39f2014-12-12 15:43:38 -0800252ifeq ($(DEP_MISSING),)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800253all: static shared
nnoble69ac39f2014-12-12 15:43:38 -0800254dep_error:
255 @echo "You shouldn't see this message - all of your dependencies are correct."
256else
257all: dep_error git_update stop
258
259dep_error:
260 @echo
261 @echo "DEPENDENCY ERROR"
262 @echo
263 @echo "You are missing system dependencies that are essential to build grpc,"
264 @echo "and the third_party directory doesn't have them:"
265 @echo
266 @echo " $(DEP_MISSING)"
267 @echo
268 @echo "Installing the development packages for your system will solve"
269 @echo "this issue. Please consult INSTALL to get more information."
270 @echo
271 @echo "If you need information about why these tests failed, run:"
272 @echo
273 @echo " make run_dep_checks"
274 @echo
275endif
276
277git_update:
278ifeq ($(IS_GIT_FOLDER),true)
279 @echo "Additionally, since you are in a git clone, you can download the"
280 @echo "missing dependencies in third_party by running the following command:"
281 @echo
ctiller64f29102014-12-15 10:40:59 -0800282 @echo " git submodule update --init"
nnoble69ac39f2014-12-12 15:43:38 -0800283 @echo
284endif
285
286openssl_dep_error: openssl_dep_message git_update stop
287
288openssl_dep_message:
289 @echo
290 @echo "DEPENDENCY ERROR"
291 @echo
292 @echo "The target you are trying to run requires OpenSSL with ALPN support."
293 @echo "Your system doesn't have it, and neither does the third_party directory."
294 @echo
295 @echo "Please consult INSTALL to get more information."
296 @echo
297 @echo "If you need information about why these tests failed, run:"
298 @echo
299 @echo " make run_dep_checks"
300 @echo
301
302stop:
303 @false
304
Craig Tiller17ec5f92015-01-18 11:30:41 -0800305alarm_heap_test: bins/$(CONFIG)/alarm_heap_test
306alarm_list_test: bins/$(CONFIG)/alarm_list_test
307alarm_test: bins/$(CONFIG)/alarm_test
308alpn_test: bins/$(CONFIG)/alpn_test
309bin_encoder_test: bins/$(CONFIG)/bin_encoder_test
310census_hash_table_test: bins/$(CONFIG)/census_hash_table_test
311census_statistics_multiple_writers_circular_buffer_test: bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test
312census_statistics_multiple_writers_test: bins/$(CONFIG)/census_statistics_multiple_writers_test
313census_statistics_performance_test: bins/$(CONFIG)/census_statistics_performance_test
314census_statistics_quick_test: bins/$(CONFIG)/census_statistics_quick_test
315census_statistics_small_log_test: bins/$(CONFIG)/census_statistics_small_log_test
316census_stats_store_test: bins/$(CONFIG)/census_stats_store_test
317census_stub_test: bins/$(CONFIG)/census_stub_test
318census_trace_store_test: bins/$(CONFIG)/census_trace_store_test
319census_window_stats_test: bins/$(CONFIG)/census_window_stats_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800320chttp2_status_conversion_test: bins/$(CONFIG)/chttp2_status_conversion_test
321chttp2_stream_encoder_test: bins/$(CONFIG)/chttp2_stream_encoder_test
322chttp2_stream_map_test: bins/$(CONFIG)/chttp2_stream_map_test
323chttp2_transport_end2end_test: bins/$(CONFIG)/chttp2_transport_end2end_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800324dualstack_socket_test: bins/$(CONFIG)/dualstack_socket_test
325echo_client: bins/$(CONFIG)/echo_client
326echo_server: bins/$(CONFIG)/echo_server
327echo_test: bins/$(CONFIG)/echo_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800328fd_posix_test: bins/$(CONFIG)/fd_posix_test
329fling_client: bins/$(CONFIG)/fling_client
330fling_server: bins/$(CONFIG)/fling_server
331fling_stream_test: bins/$(CONFIG)/fling_stream_test
332fling_test: bins/$(CONFIG)/fling_test
333gen_hpack_tables: bins/$(CONFIG)/gen_hpack_tables
ctillercab52e72015-01-06 13:10:23 -0800334gpr_cancellable_test: bins/$(CONFIG)/gpr_cancellable_test
ctillercab52e72015-01-06 13:10:23 -0800335gpr_cmdline_test: bins/$(CONFIG)/gpr_cmdline_test
336gpr_histogram_test: bins/$(CONFIG)/gpr_histogram_test
337gpr_host_port_test: bins/$(CONFIG)/gpr_host_port_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800338gpr_log_test: bins/$(CONFIG)/gpr_log_test
ctillercab52e72015-01-06 13:10:23 -0800339gpr_slice_buffer_test: bins/$(CONFIG)/gpr_slice_buffer_test
340gpr_slice_test: bins/$(CONFIG)/gpr_slice_test
341gpr_string_test: bins/$(CONFIG)/gpr_string_test
342gpr_sync_test: bins/$(CONFIG)/gpr_sync_test
343gpr_thd_test: bins/$(CONFIG)/gpr_thd_test
344gpr_time_test: bins/$(CONFIG)/gpr_time_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800345gpr_useful_test: bins/$(CONFIG)/gpr_useful_test
346grpc_base64_test: bins/$(CONFIG)/grpc_base64_test
347grpc_byte_buffer_reader_test: bins/$(CONFIG)/grpc_byte_buffer_reader_test
ctillercab52e72015-01-06 13:10:23 -0800348grpc_channel_stack_test: bins/$(CONFIG)/grpc_channel_stack_test
ctillercab52e72015-01-06 13:10:23 -0800349grpc_completion_queue_benchmark: bins/$(CONFIG)/grpc_completion_queue_benchmark
Craig Tiller17ec5f92015-01-18 11:30:41 -0800350grpc_completion_queue_test: bins/$(CONFIG)/grpc_completion_queue_test
351grpc_credentials_test: bins/$(CONFIG)/grpc_credentials_test
352grpc_fetch_oauth2: bins/$(CONFIG)/grpc_fetch_oauth2
353grpc_json_token_test: bins/$(CONFIG)/grpc_json_token_test
354grpc_stream_op_test: bins/$(CONFIG)/grpc_stream_op_test
355hpack_parser_test: bins/$(CONFIG)/hpack_parser_test
356hpack_table_test: bins/$(CONFIG)/hpack_table_test
ctillercab52e72015-01-06 13:10:23 -0800357httpcli_format_request_test: bins/$(CONFIG)/httpcli_format_request_test
358httpcli_parser_test: bins/$(CONFIG)/httpcli_parser_test
359httpcli_test: bins/$(CONFIG)/httpcli_test
ctillercab52e72015-01-06 13:10:23 -0800360lame_client_test: bins/$(CONFIG)/lame_client_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800361low_level_ping_pong_benchmark: bins/$(CONFIG)/low_level_ping_pong_benchmark
362message_compress_test: bins/$(CONFIG)/message_compress_test
363metadata_buffer_test: bins/$(CONFIG)/metadata_buffer_test
364murmur_hash_test: bins/$(CONFIG)/murmur_hash_test
365no_server_test: bins/$(CONFIG)/no_server_test
366poll_kick_test: bins/$(CONFIG)/poll_kick_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800367resolve_address_test: bins/$(CONFIG)/resolve_address_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800368secure_endpoint_test: bins/$(CONFIG)/secure_endpoint_test
369sockaddr_utils_test: bins/$(CONFIG)/sockaddr_utils_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800370tcp_client_posix_test: bins/$(CONFIG)/tcp_client_posix_test
371tcp_posix_test: bins/$(CONFIG)/tcp_posix_test
372tcp_server_posix_test: bins/$(CONFIG)/tcp_server_posix_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800373time_averaged_stats_test: bins/$(CONFIG)/time_averaged_stats_test
ctillercab52e72015-01-06 13:10:23 -0800374time_test: bins/$(CONFIG)/time_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800375timeout_encoding_test: bins/$(CONFIG)/timeout_encoding_test
376transport_metadata_test: bins/$(CONFIG)/transport_metadata_test
Craig Tiller996d9df2015-01-19 21:06:50 -0800377channel_arguments_test: bins/$(CONFIG)/channel_arguments_test
378cpp_plugin: bins/$(CONFIG)/cpp_plugin
379credentials_test: bins/$(CONFIG)/credentials_test
380end2end_test: bins/$(CONFIG)/end2end_test
381interop_client: bins/$(CONFIG)/interop_client
382interop_server: bins/$(CONFIG)/interop_server
383qps_client: bins/$(CONFIG)/qps_client
384qps_server: bins/$(CONFIG)/qps_server
385ruby_plugin: bins/$(CONFIG)/ruby_plugin
386status_test: bins/$(CONFIG)/status_test
387sync_client_async_server_test: bins/$(CONFIG)/sync_client_async_server_test
388thread_pool_test: bins/$(CONFIG)/thread_pool_test
ctillercab52e72015-01-06 13:10:23 -0800389chttp2_fake_security_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test
390chttp2_fake_security_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test
391chttp2_fake_security_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test
392chttp2_fake_security_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test
393chttp2_fake_security_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800394chttp2_fake_security_census_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800395chttp2_fake_security_disappearing_server_test: bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test
396chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test
397chttp2_fake_security_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800398chttp2_fake_security_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800399chttp2_fake_security_invoke_large_request_test: bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test
400chttp2_fake_security_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test
401chttp2_fake_security_no_op_test: bins/$(CONFIG)/chttp2_fake_security_no_op_test
402chttp2_fake_security_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test
403chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test
404chttp2_fake_security_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test
405chttp2_fake_security_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test
406chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test
407chttp2_fake_security_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test
408chttp2_fake_security_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_request_test
409chttp2_fake_security_thread_stress_test: bins/$(CONFIG)/chttp2_fake_security_thread_stress_test
410chttp2_fake_security_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test
411chttp2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test
412chttp2_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test
413chttp2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test
414chttp2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test
415chttp2_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800416chttp2_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800417chttp2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test
418chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test
419chttp2_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800420chttp2_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800421chttp2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test
422chttp2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test
423chttp2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_fullstack_no_op_test
424chttp2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test
425chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test
426chttp2_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test
427chttp2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test
428chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test
429chttp2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test
430chttp2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_request_test
431chttp2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_fullstack_thread_stress_test
432chttp2_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test
433chttp2_simple_ssl_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test
434chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test
435chttp2_simple_ssl_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test
436chttp2_simple_ssl_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test
437chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800438chttp2_simple_ssl_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800439chttp2_simple_ssl_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test
440chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test
441chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800442chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800443chttp2_simple_ssl_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test
444chttp2_simple_ssl_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test
445chttp2_simple_ssl_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test
446chttp2_simple_ssl_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test
447chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test
448chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test
449chttp2_simple_ssl_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test
450chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test
451chttp2_simple_ssl_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test
452chttp2_simple_ssl_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test
453chttp2_simple_ssl_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test
454chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test
455chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test
456chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test
457chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test
458chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test
459chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800460chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800461chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test
462chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test
463chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800464chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800465chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test
466chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test
467chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test
468chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test
469chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test
470chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test
471chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test
472chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test
473chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test
474chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test
475chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test
476chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test
477chttp2_socket_pair_cancel_after_accept_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test
478chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test
479chttp2_socket_pair_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test
480chttp2_socket_pair_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test
481chttp2_socket_pair_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800482chttp2_socket_pair_census_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800483chttp2_socket_pair_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test
484chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test
485chttp2_socket_pair_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800486chttp2_socket_pair_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800487chttp2_socket_pair_invoke_large_request_test: bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test
488chttp2_socket_pair_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test
489chttp2_socket_pair_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_no_op_test
490chttp2_socket_pair_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test
491chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test
492chttp2_socket_pair_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test
493chttp2_socket_pair_request_response_with_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test
494chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test
495chttp2_socket_pair_simple_delayed_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test
496chttp2_socket_pair_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_request_test
497chttp2_socket_pair_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test
498chttp2_socket_pair_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test
499chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test
500chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test
501chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test
502chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test
503chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800504chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800505chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test
506chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test
507chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800508chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800509chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test
510chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test
511chttp2_socket_pair_one_byte_at_a_time_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test
512chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test
513chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test
514chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test
515chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test
516chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test
517chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test
518chttp2_socket_pair_one_byte_at_a_time_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test
519chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test
520chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test
ctiller09cb6d52014-12-19 17:38:22 -0800521
nnoble69ac39f2014-12-12 15:43:38 -0800522run_dep_checks:
nnoble69ac39f2014-12-12 15:43:38 -0800523 $(OPENSSL_ALPN_CHECK_CMD) || true
524 $(ZLIB_CHECK_CMD) || true
525
Craig Tiller3ccae022015-01-15 07:47:29 -0800526libs/$(CONFIG)/zlib/libz.a:
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100527 $(E) "[MAKE] Building zlib"
528 $(Q)(cd third_party/zlib ; CC="$(CC)" CFLAGS="-fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG))" ./configure --static)
529 $(Q)$(MAKE) -C third_party/zlib clean
530 $(Q)$(MAKE) -C third_party/zlib
531 $(Q)mkdir -p libs/$(CONFIG)/zlib
532 $(Q)cp third_party/zlib/libz.a libs/$(CONFIG)/zlib
nnoble69ac39f2014-12-12 15:43:38 -0800533
Craig Tillerec0b8f32015-01-15 07:30:00 -0800534libs/$(CONFIG)/openssl/libssl.a:
Craig Tillerb4ee3b52015-01-21 16:22:50 -0800535 $(E) "[MAKE] Building openssl for $(SYSTEM)"
536ifeq ($(SYSTEM),Darwin)
537 $(Q)(cd third_party/openssl ; CC="$(CC) -fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG)) $(OPENSSL_CFLAGS_$(CONFIG))" ./Configure darwin64-x86_64-cc $(OPENSSL_CONFIG_$(CONFIG)))
538else
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100539 $(Q)(cd third_party/openssl ; CC="$(CC) -fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG)) $(OPENSSL_CFLAGS_$(CONFIG))" ./config $(OPENSSL_CONFIG_$(CONFIG)))
Craig Tillerb4ee3b52015-01-21 16:22:50 -0800540endif
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100541 $(Q)$(MAKE) -C third_party/openssl clean
542 $(Q)$(MAKE) -C third_party/openssl build_crypto build_ssl
543 $(Q)mkdir -p libs/$(CONFIG)/openssl
544 $(Q)cp third_party/openssl/libssl.a third_party/openssl/libcrypto.a libs/$(CONFIG)/openssl
nnoble69ac39f2014-12-12 15:43:38 -0800545
nnoble29e1d292014-12-01 10:27:40 -0800546static: static_c static_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800547
Craig Tiller12c82092015-01-15 08:45:56 -0800548static_c: libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800549
Craig Tiller12c82092015-01-15 08:45:56 -0800550static_cxx: libs/$(CONFIG)/libgrpc++.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800551
nnoble29e1d292014-12-01 10:27:40 -0800552shared: shared_c shared_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800553
Craig Tiller12c82092015-01-15 08:45:56 -0800554shared_c: libs/$(CONFIG)/libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800555
Craig Tiller12c82092015-01-15 08:45:56 -0800556shared_cxx: libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800557
nnoble29e1d292014-12-01 10:27:40 -0800558privatelibs: privatelibs_c privatelibs_cxx
559
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800560privatelibs_c: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a
nnoble29e1d292014-12-01 10:27:40 -0800561
Craig Tiller12c82092015-01-15 08:45:56 -0800562privatelibs_cxx: libs/$(CONFIG)/libgrpc++_test_util.a
nnoble29e1d292014-12-01 10:27:40 -0800563
564buildtests: buildtests_c buildtests_cxx
565
Craig Tiller17ec5f92015-01-18 11:30:41 -0800566buildtests_c: privatelibs_c bins/$(CONFIG)/alarm_heap_test bins/$(CONFIG)/alarm_list_test bins/$(CONFIG)/alarm_test bins/$(CONFIG)/alpn_test bins/$(CONFIG)/bin_encoder_test bins/$(CONFIG)/census_hash_table_test bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test bins/$(CONFIG)/census_statistics_multiple_writers_test bins/$(CONFIG)/census_statistics_performance_test bins/$(CONFIG)/census_statistics_quick_test bins/$(CONFIG)/census_statistics_small_log_test bins/$(CONFIG)/census_stub_test bins/$(CONFIG)/census_window_stats_test bins/$(CONFIG)/chttp2_status_conversion_test bins/$(CONFIG)/chttp2_stream_encoder_test bins/$(CONFIG)/chttp2_stream_map_test bins/$(CONFIG)/chttp2_transport_end2end_test bins/$(CONFIG)/dualstack_socket_test bins/$(CONFIG)/echo_client bins/$(CONFIG)/echo_server bins/$(CONFIG)/echo_test bins/$(CONFIG)/fd_posix_test bins/$(CONFIG)/fling_client bins/$(CONFIG)/fling_server bins/$(CONFIG)/fling_stream_test bins/$(CONFIG)/fling_test bins/$(CONFIG)/gpr_cancellable_test bins/$(CONFIG)/gpr_cmdline_test bins/$(CONFIG)/gpr_histogram_test bins/$(CONFIG)/gpr_host_port_test bins/$(CONFIG)/gpr_log_test bins/$(CONFIG)/gpr_slice_buffer_test bins/$(CONFIG)/gpr_slice_test bins/$(CONFIG)/gpr_string_test bins/$(CONFIG)/gpr_sync_test bins/$(CONFIG)/gpr_thd_test bins/$(CONFIG)/gpr_time_test bins/$(CONFIG)/gpr_useful_test bins/$(CONFIG)/grpc_base64_test bins/$(CONFIG)/grpc_byte_buffer_reader_test bins/$(CONFIG)/grpc_channel_stack_test bins/$(CONFIG)/grpc_completion_queue_test bins/$(CONFIG)/grpc_credentials_test bins/$(CONFIG)/grpc_json_token_test bins/$(CONFIG)/grpc_stream_op_test bins/$(CONFIG)/hpack_parser_test bins/$(CONFIG)/hpack_table_test bins/$(CONFIG)/httpcli_format_request_test bins/$(CONFIG)/httpcli_parser_test bins/$(CONFIG)/httpcli_test bins/$(CONFIG)/lame_client_test bins/$(CONFIG)/message_compress_test bins/$(CONFIG)/metadata_buffer_test bins/$(CONFIG)/murmur_hash_test bins/$(CONFIG)/no_server_test bins/$(CONFIG)/poll_kick_test bins/$(CONFIG)/resolve_address_test bins/$(CONFIG)/secure_endpoint_test bins/$(CONFIG)/sockaddr_utils_test bins/$(CONFIG)/tcp_client_posix_test bins/$(CONFIG)/tcp_posix_test bins/$(CONFIG)/tcp_server_posix_test bins/$(CONFIG)/time_averaged_stats_test bins/$(CONFIG)/time_test bins/$(CONFIG)/timeout_encoding_test bins/$(CONFIG)/transport_metadata_test bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test bins/$(CONFIG)/chttp2_fake_security_no_op_test bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test bins/$(CONFIG)/chttp2_fake_security_simple_request_test bins/$(CONFIG)/chttp2_fake_security_thread_stress_test bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test bins/$(CONFIG)/chttp2_fullstack_no_op_test bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test bins/$(CONFIG)/chttp2_fullstack_simple_request_test bins/$(CONFIG)/chttp2_fullstack_thread_stress_test bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test bins/$(CONFIG)/chttp2_socket_pair_no_op_test bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test bins/$(CONFIG)/chttp2_socket_pair_simple_request_test bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test
nnoble29e1d292014-12-01 10:27:40 -0800567
Craig Tiller17ec5f92015-01-18 11:30:41 -0800568buildtests_cxx: privatelibs_cxx bins/$(CONFIG)/channel_arguments_test bins/$(CONFIG)/credentials_test bins/$(CONFIG)/end2end_test bins/$(CONFIG)/interop_client bins/$(CONFIG)/interop_server bins/$(CONFIG)/qps_client bins/$(CONFIG)/qps_server bins/$(CONFIG)/status_test bins/$(CONFIG)/sync_client_async_server_test bins/$(CONFIG)/thread_pool_test
nnoble29e1d292014-12-01 10:27:40 -0800569
nnoble85a49262014-12-08 18:14:03 -0800570test: test_c test_cxx
nnoble29e1d292014-12-01 10:27:40 -0800571
nnoble85a49262014-12-08 18:14:03 -0800572test_c: buildtests_c
Craig Tiller17ec5f92015-01-18 11:30:41 -0800573 $(E) "[RUN] Testing alarm_heap_test"
574 $(Q) ./bins/$(CONFIG)/alarm_heap_test || ( echo test alarm_heap_test failed ; exit 1 )
575 $(E) "[RUN] Testing alarm_list_test"
576 $(Q) ./bins/$(CONFIG)/alarm_list_test || ( echo test alarm_list_test failed ; exit 1 )
577 $(E) "[RUN] Testing alarm_test"
578 $(Q) ./bins/$(CONFIG)/alarm_test || ( echo test alarm_test failed ; exit 1 )
579 $(E) "[RUN] Testing alpn_test"
580 $(Q) ./bins/$(CONFIG)/alpn_test || ( echo test alpn_test failed ; exit 1 )
581 $(E) "[RUN] Testing bin_encoder_test"
582 $(Q) ./bins/$(CONFIG)/bin_encoder_test || ( echo test bin_encoder_test failed ; exit 1 )
583 $(E) "[RUN] Testing census_hash_table_test"
584 $(Q) ./bins/$(CONFIG)/census_hash_table_test || ( echo test census_hash_table_test failed ; exit 1 )
585 $(E) "[RUN] Testing census_statistics_multiple_writers_circular_buffer_test"
586 $(Q) ./bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test || ( echo test census_statistics_multiple_writers_circular_buffer_test failed ; exit 1 )
587 $(E) "[RUN] Testing census_statistics_multiple_writers_test"
588 $(Q) ./bins/$(CONFIG)/census_statistics_multiple_writers_test || ( echo test census_statistics_multiple_writers_test failed ; exit 1 )
589 $(E) "[RUN] Testing census_statistics_performance_test"
590 $(Q) ./bins/$(CONFIG)/census_statistics_performance_test || ( echo test census_statistics_performance_test failed ; exit 1 )
591 $(E) "[RUN] Testing census_statistics_quick_test"
592 $(Q) ./bins/$(CONFIG)/census_statistics_quick_test || ( echo test census_statistics_quick_test failed ; exit 1 )
593 $(E) "[RUN] Testing census_statistics_small_log_test"
594 $(Q) ./bins/$(CONFIG)/census_statistics_small_log_test || ( echo test census_statistics_small_log_test failed ; exit 1 )
595 $(E) "[RUN] Testing census_stub_test"
596 $(Q) ./bins/$(CONFIG)/census_stub_test || ( echo test census_stub_test failed ; exit 1 )
597 $(E) "[RUN] Testing census_window_stats_test"
598 $(Q) ./bins/$(CONFIG)/census_window_stats_test || ( echo test census_window_stats_test failed ; exit 1 )
599 $(E) "[RUN] Testing chttp2_status_conversion_test"
600 $(Q) ./bins/$(CONFIG)/chttp2_status_conversion_test || ( echo test chttp2_status_conversion_test failed ; exit 1 )
601 $(E) "[RUN] Testing chttp2_stream_encoder_test"
602 $(Q) ./bins/$(CONFIG)/chttp2_stream_encoder_test || ( echo test chttp2_stream_encoder_test failed ; exit 1 )
603 $(E) "[RUN] Testing chttp2_stream_map_test"
604 $(Q) ./bins/$(CONFIG)/chttp2_stream_map_test || ( echo test chttp2_stream_map_test failed ; exit 1 )
605 $(E) "[RUN] Testing chttp2_transport_end2end_test"
606 $(Q) ./bins/$(CONFIG)/chttp2_transport_end2end_test || ( echo test chttp2_transport_end2end_test failed ; exit 1 )
607 $(E) "[RUN] Testing dualstack_socket_test"
608 $(Q) ./bins/$(CONFIG)/dualstack_socket_test || ( echo test dualstack_socket_test failed ; exit 1 )
609 $(E) "[RUN] Testing echo_test"
610 $(Q) ./bins/$(CONFIG)/echo_test || ( echo test echo_test failed ; exit 1 )
611 $(E) "[RUN] Testing fd_posix_test"
612 $(Q) ./bins/$(CONFIG)/fd_posix_test || ( echo test fd_posix_test failed ; exit 1 )
613 $(E) "[RUN] Testing fling_stream_test"
614 $(Q) ./bins/$(CONFIG)/fling_stream_test || ( echo test fling_stream_test failed ; exit 1 )
615 $(E) "[RUN] Testing fling_test"
616 $(Q) ./bins/$(CONFIG)/fling_test || ( echo test fling_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800617 $(E) "[RUN] Testing gpr_cancellable_test"
ctillercab52e72015-01-06 13:10:23 -0800618 $(Q) ./bins/$(CONFIG)/gpr_cancellable_test || ( echo test gpr_cancellable_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800619 $(E) "[RUN] Testing gpr_cmdline_test"
ctillercab52e72015-01-06 13:10:23 -0800620 $(Q) ./bins/$(CONFIG)/gpr_cmdline_test || ( echo test gpr_cmdline_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800621 $(E) "[RUN] Testing gpr_histogram_test"
ctillercab52e72015-01-06 13:10:23 -0800622 $(Q) ./bins/$(CONFIG)/gpr_histogram_test || ( echo test gpr_histogram_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800623 $(E) "[RUN] Testing gpr_host_port_test"
ctillercab52e72015-01-06 13:10:23 -0800624 $(Q) ./bins/$(CONFIG)/gpr_host_port_test || ( echo test gpr_host_port_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800625 $(E) "[RUN] Testing gpr_log_test"
626 $(Q) ./bins/$(CONFIG)/gpr_log_test || ( echo test gpr_log_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800627 $(E) "[RUN] Testing gpr_slice_buffer_test"
ctillercab52e72015-01-06 13:10:23 -0800628 $(Q) ./bins/$(CONFIG)/gpr_slice_buffer_test || ( echo test gpr_slice_buffer_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800629 $(E) "[RUN] Testing gpr_slice_test"
ctillercab52e72015-01-06 13:10:23 -0800630 $(Q) ./bins/$(CONFIG)/gpr_slice_test || ( echo test gpr_slice_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800631 $(E) "[RUN] Testing gpr_string_test"
ctillercab52e72015-01-06 13:10:23 -0800632 $(Q) ./bins/$(CONFIG)/gpr_string_test || ( echo test gpr_string_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800633 $(E) "[RUN] Testing gpr_sync_test"
ctillercab52e72015-01-06 13:10:23 -0800634 $(Q) ./bins/$(CONFIG)/gpr_sync_test || ( echo test gpr_sync_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800635 $(E) "[RUN] Testing gpr_thd_test"
ctillercab52e72015-01-06 13:10:23 -0800636 $(Q) ./bins/$(CONFIG)/gpr_thd_test || ( echo test gpr_thd_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800637 $(E) "[RUN] Testing gpr_time_test"
ctillercab52e72015-01-06 13:10:23 -0800638 $(Q) ./bins/$(CONFIG)/gpr_time_test || ( echo test gpr_time_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800639 $(E) "[RUN] Testing gpr_useful_test"
640 $(Q) ./bins/$(CONFIG)/gpr_useful_test || ( echo test gpr_useful_test failed ; exit 1 )
641 $(E) "[RUN] Testing grpc_base64_test"
642 $(Q) ./bins/$(CONFIG)/grpc_base64_test || ( echo test grpc_base64_test failed ; exit 1 )
643 $(E) "[RUN] Testing grpc_byte_buffer_reader_test"
644 $(Q) ./bins/$(CONFIG)/grpc_byte_buffer_reader_test || ( echo test grpc_byte_buffer_reader_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800645 $(E) "[RUN] Testing grpc_channel_stack_test"
ctillercab52e72015-01-06 13:10:23 -0800646 $(Q) ./bins/$(CONFIG)/grpc_channel_stack_test || ( echo test grpc_channel_stack_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800647 $(E) "[RUN] Testing grpc_completion_queue_test"
ctillercab52e72015-01-06 13:10:23 -0800648 $(Q) ./bins/$(CONFIG)/grpc_completion_queue_test || ( echo test grpc_completion_queue_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800649 $(E) "[RUN] Testing grpc_credentials_test"
650 $(Q) ./bins/$(CONFIG)/grpc_credentials_test || ( echo test grpc_credentials_test failed ; exit 1 )
651 $(E) "[RUN] Testing grpc_json_token_test"
652 $(Q) ./bins/$(CONFIG)/grpc_json_token_test || ( echo test grpc_json_token_test failed ; exit 1 )
653 $(E) "[RUN] Testing grpc_stream_op_test"
654 $(Q) ./bins/$(CONFIG)/grpc_stream_op_test || ( echo test grpc_stream_op_test failed ; exit 1 )
655 $(E) "[RUN] Testing hpack_parser_test"
656 $(Q) ./bins/$(CONFIG)/hpack_parser_test || ( echo test hpack_parser_test failed ; exit 1 )
657 $(E) "[RUN] Testing hpack_table_test"
658 $(Q) ./bins/$(CONFIG)/hpack_table_test || ( echo test hpack_table_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800659 $(E) "[RUN] Testing httpcli_format_request_test"
ctillercab52e72015-01-06 13:10:23 -0800660 $(Q) ./bins/$(CONFIG)/httpcli_format_request_test || ( echo test httpcli_format_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800661 $(E) "[RUN] Testing httpcli_parser_test"
ctillercab52e72015-01-06 13:10:23 -0800662 $(Q) ./bins/$(CONFIG)/httpcli_parser_test || ( echo test httpcli_parser_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800663 $(E) "[RUN] Testing httpcli_test"
ctillercab52e72015-01-06 13:10:23 -0800664 $(Q) ./bins/$(CONFIG)/httpcli_test || ( echo test httpcli_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800665 $(E) "[RUN] Testing lame_client_test"
ctillercab52e72015-01-06 13:10:23 -0800666 $(Q) ./bins/$(CONFIG)/lame_client_test || ( echo test lame_client_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800667 $(E) "[RUN] Testing message_compress_test"
668 $(Q) ./bins/$(CONFIG)/message_compress_test || ( echo test message_compress_test failed ; exit 1 )
669 $(E) "[RUN] Testing metadata_buffer_test"
670 $(Q) ./bins/$(CONFIG)/metadata_buffer_test || ( echo test metadata_buffer_test failed ; exit 1 )
671 $(E) "[RUN] Testing murmur_hash_test"
672 $(Q) ./bins/$(CONFIG)/murmur_hash_test || ( echo test murmur_hash_test failed ; exit 1 )
673 $(E) "[RUN] Testing no_server_test"
674 $(Q) ./bins/$(CONFIG)/no_server_test || ( echo test no_server_test failed ; exit 1 )
David Klempner7f3ed1e2015-01-16 15:35:56 -0800675 $(E) "[RUN] Testing poll_kick_test"
676 $(Q) ./bins/$(CONFIG)/poll_kick_test || ( echo test poll_kick_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800677 $(E) "[RUN] Testing resolve_address_test"
678 $(Q) ./bins/$(CONFIG)/resolve_address_test || ( echo test resolve_address_test failed ; exit 1 )
679 $(E) "[RUN] Testing secure_endpoint_test"
680 $(Q) ./bins/$(CONFIG)/secure_endpoint_test || ( echo test secure_endpoint_test failed ; exit 1 )
681 $(E) "[RUN] Testing sockaddr_utils_test"
682 $(Q) ./bins/$(CONFIG)/sockaddr_utils_test || ( echo test sockaddr_utils_test failed ; exit 1 )
683 $(E) "[RUN] Testing tcp_client_posix_test"
684 $(Q) ./bins/$(CONFIG)/tcp_client_posix_test || ( echo test tcp_client_posix_test failed ; exit 1 )
685 $(E) "[RUN] Testing tcp_posix_test"
686 $(Q) ./bins/$(CONFIG)/tcp_posix_test || ( echo test tcp_posix_test failed ; exit 1 )
687 $(E) "[RUN] Testing tcp_server_posix_test"
688 $(Q) ./bins/$(CONFIG)/tcp_server_posix_test || ( echo test tcp_server_posix_test failed ; exit 1 )
689 $(E) "[RUN] Testing time_averaged_stats_test"
690 $(Q) ./bins/$(CONFIG)/time_averaged_stats_test || ( echo test time_averaged_stats_test failed ; exit 1 )
691 $(E) "[RUN] Testing time_test"
692 $(Q) ./bins/$(CONFIG)/time_test || ( echo test time_test failed ; exit 1 )
693 $(E) "[RUN] Testing timeout_encoding_test"
694 $(Q) ./bins/$(CONFIG)/timeout_encoding_test || ( echo test timeout_encoding_test failed ; exit 1 )
695 $(E) "[RUN] Testing transport_metadata_test"
696 $(Q) ./bins/$(CONFIG)/transport_metadata_test || ( echo test transport_metadata_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800697 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800698 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test || ( echo test chttp2_fake_security_cancel_after_accept_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800699 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800700 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_fake_security_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800701 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800702 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test || ( echo test chttp2_fake_security_cancel_after_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800703 $(E) "[RUN] Testing chttp2_fake_security_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800704 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test || ( echo test chttp2_fake_security_cancel_before_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800705 $(E) "[RUN] Testing chttp2_fake_security_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800706 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test || ( echo test chttp2_fake_security_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800707 $(E) "[RUN] Testing chttp2_fake_security_census_simple_request_test"
708 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test || ( echo test chttp2_fake_security_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800709 $(E) "[RUN] Testing chttp2_fake_security_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800710 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test || ( echo test chttp2_fake_security_disappearing_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800711 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800712 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800713 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800714 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test || ( echo test chttp2_fake_security_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800715 $(E) "[RUN] Testing chttp2_fake_security_graceful_server_shutdown_test"
716 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test || ( echo test chttp2_fake_security_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800717 $(E) "[RUN] Testing chttp2_fake_security_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800718 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test || ( echo test chttp2_fake_security_invoke_large_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800719 $(E) "[RUN] Testing chttp2_fake_security_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800720 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test || ( echo test chttp2_fake_security_max_concurrent_streams_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800721 $(E) "[RUN] Testing chttp2_fake_security_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800722 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_no_op_test || ( echo test chttp2_fake_security_no_op_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800723 $(E) "[RUN] Testing chttp2_fake_security_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800724 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test || ( echo test chttp2_fake_security_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800725 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800726 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_fake_security_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800727 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800728 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test || ( echo test chttp2_fake_security_request_response_with_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800729 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800730 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test || ( echo test chttp2_fake_security_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800731 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800732 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800733 $(E) "[RUN] Testing chttp2_fake_security_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800734 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test || ( echo test chttp2_fake_security_simple_delayed_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800735 $(E) "[RUN] Testing chttp2_fake_security_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800736 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_simple_request_test || ( echo test chttp2_fake_security_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800737 $(E) "[RUN] Testing chttp2_fake_security_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800738 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_thread_stress_test || ( echo test chttp2_fake_security_thread_stress_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800739 $(E) "[RUN] Testing chttp2_fake_security_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800740 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test || ( echo test chttp2_fake_security_writes_done_hangs_with_pending_read_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800741 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800742 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test || ( echo test chttp2_fullstack_cancel_after_accept_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800743 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800744 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_fullstack_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800745 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800746 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test || ( echo test chttp2_fullstack_cancel_after_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800747 $(E) "[RUN] Testing chttp2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800748 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test || ( echo test chttp2_fullstack_cancel_before_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800749 $(E) "[RUN] Testing chttp2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800750 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test || ( echo test chttp2_fullstack_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800751 $(E) "[RUN] Testing chttp2_fullstack_census_simple_request_test"
752 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test || ( echo test chttp2_fullstack_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800753 $(E) "[RUN] Testing chttp2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800754 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test || ( echo test chttp2_fullstack_disappearing_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800755 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800756 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800757 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800758 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test || ( echo test chttp2_fullstack_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800759 $(E) "[RUN] Testing chttp2_fullstack_graceful_server_shutdown_test"
760 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test || ( echo test chttp2_fullstack_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800761 $(E) "[RUN] Testing chttp2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800762 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test || ( echo test chttp2_fullstack_invoke_large_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800763 $(E) "[RUN] Testing chttp2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800764 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test || ( echo test chttp2_fullstack_max_concurrent_streams_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800765 $(E) "[RUN] Testing chttp2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800766 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_no_op_test || ( echo test chttp2_fullstack_no_op_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800767 $(E) "[RUN] Testing chttp2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800768 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test || ( echo test chttp2_fullstack_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800769 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800770 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_fullstack_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800771 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800772 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test || ( echo test chttp2_fullstack_request_response_with_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800773 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800774 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test || ( echo test chttp2_fullstack_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800775 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800776 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800777 $(E) "[RUN] Testing chttp2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800778 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test || ( echo test chttp2_fullstack_simple_delayed_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800779 $(E) "[RUN] Testing chttp2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800780 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_simple_request_test || ( echo test chttp2_fullstack_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800781 $(E) "[RUN] Testing chttp2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800782 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_thread_stress_test || ( echo test chttp2_fullstack_thread_stress_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800783 $(E) "[RUN] Testing chttp2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800784 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test || ( echo test chttp2_fullstack_writes_done_hangs_with_pending_read_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800785 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800786 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test || ( echo test chttp2_simple_ssl_fullstack_cancel_after_accept_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800787 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800788 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800789 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800790 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test || ( echo test chttp2_simple_ssl_fullstack_cancel_after_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800791 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800792 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test || ( echo test chttp2_simple_ssl_fullstack_cancel_before_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800793 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800794 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test || ( echo test chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800795 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_census_simple_request_test"
796 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test || ( echo test chttp2_simple_ssl_fullstack_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800797 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800798 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test || ( echo test chttp2_simple_ssl_fullstack_disappearing_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800799 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800800 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800801 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800802 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test || ( echo test chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800803 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_graceful_server_shutdown_test"
804 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test || ( echo test chttp2_simple_ssl_fullstack_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800805 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800806 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test || ( echo test chttp2_simple_ssl_fullstack_invoke_large_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800807 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800808 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test || ( echo test chttp2_simple_ssl_fullstack_max_concurrent_streams_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800809 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800810 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test || ( echo test chttp2_simple_ssl_fullstack_no_op_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800811 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800812 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test || ( echo test chttp2_simple_ssl_fullstack_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800813 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800814 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800815 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800816 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test || ( echo test chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800817 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800818 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test || ( echo test chttp2_simple_ssl_fullstack_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800819 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800820 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800821 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800822 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test || ( echo test chttp2_simple_ssl_fullstack_simple_delayed_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800823 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800824 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test || ( echo test chttp2_simple_ssl_fullstack_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800825 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800826 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test || ( echo test chttp2_simple_ssl_fullstack_thread_stress_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800827 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800828 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test || ( echo test chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800829 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800830 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800831 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800832 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800833 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800834 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800835 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800836 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800837 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800838 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800839 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test"
840 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800841 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800842 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800843 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800844 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800845 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800846 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800847 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test"
848 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800849 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800850 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800851 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800852 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800853 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800854 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_no_op_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800855 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800856 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800857 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800858 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800859 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800860 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800861 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800862 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800863 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800864 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800865 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800866 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800867 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800868 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800869 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800870 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800871 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800872 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800873 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800874 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test || ( echo test chttp2_socket_pair_cancel_after_accept_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800875 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800876 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_socket_pair_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800877 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800878 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test || ( echo test chttp2_socket_pair_cancel_after_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800879 $(E) "[RUN] Testing chttp2_socket_pair_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800880 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test || ( echo test chttp2_socket_pair_cancel_before_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800881 $(E) "[RUN] Testing chttp2_socket_pair_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800882 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test || ( echo test chttp2_socket_pair_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800883 $(E) "[RUN] Testing chttp2_socket_pair_census_simple_request_test"
884 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test || ( echo test chttp2_socket_pair_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800885 $(E) "[RUN] Testing chttp2_socket_pair_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800886 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test || ( echo test chttp2_socket_pair_disappearing_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800887 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800888 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800889 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800890 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test || ( echo test chttp2_socket_pair_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800891 $(E) "[RUN] Testing chttp2_socket_pair_graceful_server_shutdown_test"
892 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test || ( echo test chttp2_socket_pair_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800893 $(E) "[RUN] Testing chttp2_socket_pair_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800894 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test || ( echo test chttp2_socket_pair_invoke_large_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800895 $(E) "[RUN] Testing chttp2_socket_pair_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800896 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test || ( echo test chttp2_socket_pair_max_concurrent_streams_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800897 $(E) "[RUN] Testing chttp2_socket_pair_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800898 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_no_op_test || ( echo test chttp2_socket_pair_no_op_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800899 $(E) "[RUN] Testing chttp2_socket_pair_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800900 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test || ( echo test chttp2_socket_pair_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800901 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800902 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800903 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800904 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test || ( echo test chttp2_socket_pair_request_response_with_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800905 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800906 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test || ( echo test chttp2_socket_pair_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800907 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800908 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800909 $(E) "[RUN] Testing chttp2_socket_pair_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800910 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test || ( echo test chttp2_socket_pair_simple_delayed_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800911 $(E) "[RUN] Testing chttp2_socket_pair_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800912 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_simple_request_test || ( echo test chttp2_socket_pair_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800913 $(E) "[RUN] Testing chttp2_socket_pair_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800914 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test || ( echo test chttp2_socket_pair_thread_stress_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800915 $(E) "[RUN] Testing chttp2_socket_pair_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800916 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test || ( echo test chttp2_socket_pair_writes_done_hangs_with_pending_read_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800917 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800918 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800919 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800920 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800921 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800922 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800923 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800924 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800925 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800926 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800927 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test"
928 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800929 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800930 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800931 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800932 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800933 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800934 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800935 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test"
936 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800937 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800938 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800939 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800940 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800941 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800942 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_no_op_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800943 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800944 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800945 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800946 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800947 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800948 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800949 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800950 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800951 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800952 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800953 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800954 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800955 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800956 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800957 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800958 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_thread_stress_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800959 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800960 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800961
962
nnoble85a49262014-12-08 18:14:03 -0800963test_cxx: buildtests_cxx
yangg59dfc902014-12-19 14:00:14 -0800964 $(E) "[RUN] Testing channel_arguments_test"
ctillercab52e72015-01-06 13:10:23 -0800965 $(Q) ./bins/$(CONFIG)/channel_arguments_test || ( echo test channel_arguments_test failed ; exit 1 )
yangg4105e2b2015-01-09 14:19:44 -0800966 $(E) "[RUN] Testing credentials_test"
967 $(Q) ./bins/$(CONFIG)/credentials_test || ( echo test credentials_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800968 $(E) "[RUN] Testing end2end_test"
969 $(Q) ./bins/$(CONFIG)/end2end_test || ( echo test end2end_test failed ; exit 1 )
970 $(E) "[RUN] Testing qps_client"
971 $(Q) ./bins/$(CONFIG)/qps_client || ( echo test qps_client failed ; exit 1 )
972 $(E) "[RUN] Testing qps_server"
973 $(Q) ./bins/$(CONFIG)/qps_server || ( echo test qps_server failed ; exit 1 )
974 $(E) "[RUN] Testing status_test"
975 $(Q) ./bins/$(CONFIG)/status_test || ( echo test status_test failed ; exit 1 )
976 $(E) "[RUN] Testing sync_client_async_server_test"
977 $(Q) ./bins/$(CONFIG)/sync_client_async_server_test || ( echo test sync_client_async_server_test failed ; exit 1 )
978 $(E) "[RUN] Testing thread_pool_test"
979 $(Q) ./bins/$(CONFIG)/thread_pool_test || ( echo test thread_pool_test failed ; exit 1 )
nnoble29e1d292014-12-01 10:27:40 -0800980
981
ctillercab52e72015-01-06 13:10:23 -0800982tools: privatelibs bins/$(CONFIG)/gen_hpack_tables bins/$(CONFIG)/grpc_fetch_oauth2
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800983
ctillercab52e72015-01-06 13:10:23 -0800984buildbenchmarks: privatelibs bins/$(CONFIG)/grpc_completion_queue_benchmark bins/$(CONFIG)/low_level_ping_pong_benchmark
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800985
986benchmarks: buildbenchmarks
987
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800988strip: strip-static strip-shared
989
nnoble20e2e3f2014-12-16 15:37:57 -0800990strip-static: strip-static_c strip-static_cxx
991
992strip-shared: strip-shared_c strip-shared_cxx
993
Nicolas Noble047b7272015-01-16 13:55:05 -0800994
995# TODO(nnoble): the strip target is stripping in-place, instead
996# of copying files in a temporary folder.
997# This prevents proper debugging after running make install.
998
nnoble85a49262014-12-08 18:14:03 -0800999strip-static_c: static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001000 $(E) "[STRIP] Stripping libgpr.a"
ctillercab52e72015-01-06 13:10:23 -08001001 $(Q) $(STRIP) libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001002 $(E) "[STRIP] Stripping libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -08001003 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001004 $(E) "[STRIP] Stripping libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -08001005 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001006
nnoble85a49262014-12-08 18:14:03 -08001007strip-static_cxx: static_cxx
1008 $(E) "[STRIP] Stripping libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -08001009 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -08001010
1011strip-shared_c: shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001012 $(E) "[STRIP] Stripping libgpr.so"
ctillercab52e72015-01-06 13:10:23 -08001013 $(Q) $(STRIP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001014 $(E) "[STRIP] Stripping libgrpc.so"
ctillercab52e72015-01-06 13:10:23 -08001015 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001016 $(E) "[STRIP] Stripping libgrpc_unsecure.so"
ctillercab52e72015-01-06 13:10:23 -08001017 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001018
nnoble85a49262014-12-08 18:14:03 -08001019strip-shared_cxx: shared_cxx
1020 $(E) "[STRIP] Stripping libgrpc++.so"
ctillercab52e72015-01-06 13:10:23 -08001021 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
nnoble85a49262014-12-08 18:14:03 -08001022
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001023gens/test/cpp/interop/empty.pb.cc: test/cpp/interop/empty.proto $(PROTOC_PLUGINS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001024 $(E) "[PROTOC] Generating protobuf CC file from $<"
1025 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001026 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001027
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001028gens/test/cpp/interop/messages.pb.cc: test/cpp/interop/messages.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001029 $(E) "[PROTOC] Generating protobuf CC file from $<"
1030 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001031 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001032
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001033gens/test/cpp/interop/test.pb.cc: test/cpp/interop/test.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001034 $(E) "[PROTOC] Generating protobuf CC file from $<"
1035 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001036 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001037
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001038gens/test/cpp/qps/qpstest.pb.cc: test/cpp/qps/qpstest.proto $(PROTOC_PLUGINS)
Craig Tillerbf2659f2015-01-13 12:27:06 -08001039 $(E) "[PROTOC] Generating protobuf CC file from $<"
1040 $(Q) mkdir -p `dirname $@`
1041 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1042
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001043gens/test/cpp/util/echo.pb.cc: test/cpp/util/echo.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001044 $(E) "[PROTOC] Generating protobuf CC file from $<"
1045 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001046 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001047
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001048gens/test/cpp/util/echo_duplicate.pb.cc: test/cpp/util/echo_duplicate.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001049 $(E) "[PROTOC] Generating protobuf CC file from $<"
1050 $(Q) mkdir -p `dirname $@`
1051 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1052
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001053gens/test/cpp/util/messages.pb.cc: test/cpp/util/messages.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001054 $(E) "[PROTOC] Generating protobuf CC file from $<"
1055 $(Q) mkdir -p `dirname $@`
1056 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1057
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001058
ctillercab52e72015-01-06 13:10:23 -08001059objs/$(CONFIG)/%.o : %.c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001060 $(E) "[C] Compiling $<"
1061 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001062 $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001063
ctillercab52e72015-01-06 13:10:23 -08001064objs/$(CONFIG)/%.o : gens/%.pb.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001065 $(E) "[CXX] Compiling $<"
1066 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001067 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001068
ctillercab52e72015-01-06 13:10:23 -08001069objs/$(CONFIG)/src/compiler/%.o : src/compiler/%.cc
nnoble72309c62014-12-12 11:42:26 -08001070 $(E) "[HOSTCXX] Compiling $<"
1071 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001072 $(Q) $(HOST_CXX) $(HOST_CXXFLAGS) $(HOST_CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
nnoble72309c62014-12-12 11:42:26 -08001073
ctillercab52e72015-01-06 13:10:23 -08001074objs/$(CONFIG)/%.o : %.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001075 $(E) "[CXX] Compiling $<"
1076 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001077 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001078
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001079
nnoble85a49262014-12-08 18:14:03 -08001080install: install_c install_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001081
nnoble85a49262014-12-08 18:14:03 -08001082install_c: install-headers_c install-static_c install-shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001083
nnoble85a49262014-12-08 18:14:03 -08001084install_cxx: install-headers_cxx install-static_cxx install-shared_cxx
1085
1086install-headers: install-headers_c install-headers_cxx
1087
1088install-headers_c:
1089 $(E) "[INSTALL] Installing public C headers"
1090 $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1091
1092install-headers_cxx:
1093 $(E) "[INSTALL] Installing public C++ headers"
1094 $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1095
1096install-static: install-static_c install-static_cxx
1097
1098install-static_c: static_c strip-static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001099 $(E) "[INSTALL] Installing libgpr.a"
ctillercab52e72015-01-06 13:10:23 -08001100 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.a $(prefix)/lib/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001101 $(E) "[INSTALL] Installing libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -08001102 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.a $(prefix)/lib/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001103 $(E) "[INSTALL] Installing libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -08001104 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.a $(prefix)/lib/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001105
nnoble85a49262014-12-08 18:14:03 -08001106install-static_cxx: static_cxx strip-static_cxx
1107 $(E) "[INSTALL] Installing libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -08001108 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.a $(prefix)/lib/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -08001109
1110install-shared_c: shared_c strip-shared_c
nnoble5b7f32a2014-12-22 08:12:44 -08001111ifeq ($(SYSTEM),MINGW32)
1112 $(E) "[INSTALL] Installing gpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001113 $(Q) $(INSTALL) libs/$(CONFIG)/gpr.$(SHARED_EXT) $(prefix)/lib/gpr.$(SHARED_EXT)
1114 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr-imp.a $(prefix)/lib/libgpr-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001115else
1116 $(E) "[INSTALL] Installing libgpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001117 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001118ifneq ($(SYSTEM),Darwin)
1119 $(Q) ln -sf libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.so
1120endif
1121endif
1122ifeq ($(SYSTEM),MINGW32)
1123 $(E) "[INSTALL] Installing grpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001124 $(Q) $(INSTALL) libs/$(CONFIG)/grpc.$(SHARED_EXT) $(prefix)/lib/grpc.$(SHARED_EXT)
1125 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc-imp.a $(prefix)/lib/libgrpc-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001126else
1127 $(E) "[INSTALL] Installing libgrpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001128 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001129ifneq ($(SYSTEM),Darwin)
1130 $(Q) ln -sf libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.so
1131endif
1132endif
1133ifeq ($(SYSTEM),MINGW32)
1134 $(E) "[INSTALL] Installing grpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001135 $(Q) $(INSTALL) libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT) $(prefix)/lib/grpc_unsecure.$(SHARED_EXT)
1136 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure-imp.a $(prefix)/lib/libgrpc_unsecure-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001137else
1138 $(E) "[INSTALL] Installing libgrpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001139 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001140ifneq ($(SYSTEM),Darwin)
1141 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.so
1142endif
1143endif
1144ifneq ($(SYSTEM),MINGW32)
1145ifneq ($(SYSTEM),Darwin)
1146 $(Q) ldconfig
1147endif
1148endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001149
nnoble85a49262014-12-08 18:14:03 -08001150install-shared_cxx: shared_cxx strip-shared_cxx
nnoble5b7f32a2014-12-22 08:12:44 -08001151ifeq ($(SYSTEM),MINGW32)
1152 $(E) "[INSTALL] Installing grpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001153 $(Q) $(INSTALL) libs/$(CONFIG)/grpc++.$(SHARED_EXT) $(prefix)/lib/grpc++.$(SHARED_EXT)
1154 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++-imp.a $(prefix)/lib/libgrpc++-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001155else
1156 $(E) "[INSTALL] Installing libgrpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001157 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001158ifneq ($(SYSTEM),Darwin)
1159 $(Q) ln -sf libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.so
1160endif
1161endif
1162ifneq ($(SYSTEM),MINGW32)
1163ifneq ($(SYSTEM),Darwin)
1164 $(Q) ldconfig
1165endif
1166endif
nnoble85a49262014-12-08 18:14:03 -08001167
Craig Tiller3759e6f2015-01-15 08:13:11 -08001168clean:
Craig Tiller12c82092015-01-15 08:45:56 -08001169 $(Q) $(RM) -rf objs libs bins gens
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001170
1171
1172# The various libraries
1173
1174
1175LIBGPR_SRC = \
1176 src/core/support/alloc.c \
1177 src/core/support/cancellable.c \
1178 src/core/support/cmdline.c \
ctillerd94ad102014-12-23 08:53:43 -08001179 src/core/support/cpu_linux.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001180 src/core/support/cpu_posix.c \
1181 src/core/support/histogram.c \
1182 src/core/support/host_port.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001183 src/core/support/log.c \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001184 src/core/support/log_android.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001185 src/core/support/log_linux.c \
1186 src/core/support/log_posix.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001187 src/core/support/log_win32.c \
1188 src/core/support/murmur_hash.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001189 src/core/support/slice.c \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001190 src/core/support/slice_buffer.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001191 src/core/support/string.c \
1192 src/core/support/string_posix.c \
nnoble0c475f02014-12-05 15:37:39 -08001193 src/core/support/string_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001194 src/core/support/sync.c \
1195 src/core/support/sync_posix.c \
jtattermusch98bffb72014-12-09 12:47:19 -08001196 src/core/support/sync_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001197 src/core/support/thd_posix.c \
1198 src/core/support/thd_win32.c \
1199 src/core/support/time.c \
1200 src/core/support/time_posix.c \
1201 src/core/support/time_win32.c \
1202
nnoble85a49262014-12-08 18:14:03 -08001203PUBLIC_HEADERS_C += \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001204 include/grpc/support/alloc.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001205 include/grpc/support/atm.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001206 include/grpc/support/atm_gcc_atomic.h \
1207 include/grpc/support/atm_gcc_sync.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001208 include/grpc/support/atm_win32.h \
1209 include/grpc/support/cancellable_platform.h \
1210 include/grpc/support/cmdline.h \
1211 include/grpc/support/histogram.h \
1212 include/grpc/support/host_port.h \
1213 include/grpc/support/log.h \
1214 include/grpc/support/port_platform.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001215 include/grpc/support/slice.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001216 include/grpc/support/slice_buffer.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001217 include/grpc/support/string.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001218 include/grpc/support/sync.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001219 include/grpc/support/sync_generic.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001220 include/grpc/support/sync_posix.h \
1221 include/grpc/support/sync_win32.h \
1222 include/grpc/support/thd.h \
1223 include/grpc/support/thd_posix.h \
1224 include/grpc/support/thd_win32.h \
1225 include/grpc/support/time.h \
1226 include/grpc/support/time_posix.h \
1227 include/grpc/support/time_win32.h \
1228 include/grpc/support/useful.h \
1229
ctillercab52e72015-01-06 13:10:23 -08001230LIBGPR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001231
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001232libs/$(CONFIG)/libgpr.a: $(ZLIB_DEP) $(LIBGPR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001233 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001234 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001235 $(Q) rm -f libs/$(CONFIG)/libgpr.a
ctillercab52e72015-01-06 13:10:23 -08001236 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr.a $(LIBGPR_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001237ifeq ($(SYSTEM),Darwin)
1238 $(Q) ranlib libs/$(CONFIG)/libgpr.a
1239endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001240
nnoble5b7f32a2014-12-22 08:12:44 -08001241
1242
1243ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001244libs/$(CONFIG)/gpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001245 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001246 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001247 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,--output-def=libs/$(CONFIG)/gpr.def -Wl,--out-implib=libs/$(CONFIG)/libgpr-imp.a -o libs/$(CONFIG)/gpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
nnoble5b7f32a2014-12-22 08:12:44 -08001248else
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001249libs/$(CONFIG)/libgpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001250 $(E) "[LD] Linking $@"
1251 $(Q) mkdir -p `dirname $@`
1252ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001253 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
nnoble5b7f32a2014-12-22 08:12:44 -08001254else
ctillercab52e72015-01-06 13:10:23 -08001255 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgpr.so.0 -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
1256 $(Q) ln -sf libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgpr.so
nnoble5b7f32a2014-12-22 08:12:44 -08001257endif
1258endif
1259
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001260
nnoble69ac39f2014-12-12 15:43:38 -08001261ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001262-include $(LIBGPR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001263endif
1264
Craig Tiller27715ca2015-01-12 16:55:59 -08001265objs/$(CONFIG)/src/core/support/alloc.o:
1266objs/$(CONFIG)/src/core/support/cancellable.o:
1267objs/$(CONFIG)/src/core/support/cmdline.o:
1268objs/$(CONFIG)/src/core/support/cpu_linux.o:
1269objs/$(CONFIG)/src/core/support/cpu_posix.o:
1270objs/$(CONFIG)/src/core/support/histogram.o:
1271objs/$(CONFIG)/src/core/support/host_port.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001272objs/$(CONFIG)/src/core/support/log.o:
Craig Tiller17ec5f92015-01-18 11:30:41 -08001273objs/$(CONFIG)/src/core/support/log_android.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001274objs/$(CONFIG)/src/core/support/log_linux.o:
1275objs/$(CONFIG)/src/core/support/log_posix.o:
1276objs/$(CONFIG)/src/core/support/log_win32.o:
1277objs/$(CONFIG)/src/core/support/murmur_hash.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001278objs/$(CONFIG)/src/core/support/slice.o:
Craig Tiller17ec5f92015-01-18 11:30:41 -08001279objs/$(CONFIG)/src/core/support/slice_buffer.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001280objs/$(CONFIG)/src/core/support/string.o:
1281objs/$(CONFIG)/src/core/support/string_posix.o:
1282objs/$(CONFIG)/src/core/support/string_win32.o:
1283objs/$(CONFIG)/src/core/support/sync.o:
1284objs/$(CONFIG)/src/core/support/sync_posix.o:
1285objs/$(CONFIG)/src/core/support/sync_win32.o:
1286objs/$(CONFIG)/src/core/support/thd_posix.o:
1287objs/$(CONFIG)/src/core/support/thd_win32.o:
1288objs/$(CONFIG)/src/core/support/time.o:
1289objs/$(CONFIG)/src/core/support/time_posix.o:
1290objs/$(CONFIG)/src/core/support/time_win32.o:
1291
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001292
Craig Tiller17ec5f92015-01-18 11:30:41 -08001293LIBGPR_TEST_UTIL_SRC = \
1294 test/core/util/test_config.c \
1295
1296
1297LIBGPR_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_TEST_UTIL_SRC))))
1298
1299ifeq ($(NO_SECURE),true)
1300
1301# You can't build secure libraries if you don't have OpenSSL with ALPN.
1302
1303libs/$(CONFIG)/libgpr_test_util.a: openssl_dep_error
1304
1305
1306else
1307
1308ifneq ($(OPENSSL_DEP),)
1309test/core/util/test_config.c: $(OPENSSL_DEP)
1310endif
1311
1312libs/$(CONFIG)/libgpr_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGPR_TEST_UTIL_OBJS)
1313 $(E) "[AR] Creating $@"
1314 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001315 $(Q) rm -f libs/$(CONFIG)/libgpr_test_util.a
Craig Tiller17ec5f92015-01-18 11:30:41 -08001316 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr_test_util.a $(LIBGPR_TEST_UTIL_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001317ifeq ($(SYSTEM),Darwin)
1318 $(Q) ranlib libs/$(CONFIG)/libgpr_test_util.a
1319endif
Craig Tiller17ec5f92015-01-18 11:30:41 -08001320
1321
1322
1323
1324
1325endif
1326
1327ifneq ($(NO_SECURE),true)
1328ifneq ($(NO_DEPS),true)
1329-include $(LIBGPR_TEST_UTIL_OBJS:.o=.dep)
1330endif
1331endif
1332
1333objs/$(CONFIG)/test/core/util/test_config.o:
1334
1335
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001336LIBGRPC_SRC = \
nnoblec87b1c52015-01-05 17:15:18 -08001337 src/core/security/auth.c \
1338 src/core/security/base64.c \
1339 src/core/security/credentials.c \
jboeuf6ad120e2015-01-12 17:08:15 -08001340 src/core/security/factories.c \
nnoblec87b1c52015-01-05 17:15:18 -08001341 src/core/security/google_root_certs.c \
1342 src/core/security/json_token.c \
1343 src/core/security/secure_endpoint.c \
1344 src/core/security/secure_transport_setup.c \
1345 src/core/security/security_context.c \
1346 src/core/security/server_secure_chttp2.c \
1347 src/core/tsi/fake_transport_security.c \
1348 src/core/tsi/ssl_transport_security.c \
1349 src/core/tsi/transport_security.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001350 src/core/channel/call_op_string.c \
1351 src/core/channel/census_filter.c \
1352 src/core/channel/channel_args.c \
1353 src/core/channel/channel_stack.c \
ctiller82e275f2014-12-12 08:43:28 -08001354 src/core/channel/child_channel.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001355 src/core/channel/client_channel.c \
1356 src/core/channel/client_setup.c \
1357 src/core/channel/connected_channel.c \
1358 src/core/channel/http_client_filter.c \
1359 src/core/channel/http_filter.c \
1360 src/core/channel/http_server_filter.c \
1361 src/core/channel/metadata_buffer.c \
1362 src/core/channel/noop_filter.c \
1363 src/core/compression/algorithm.c \
1364 src/core/compression/message_compress.c \
ctiller18b49ab2014-12-09 14:39:16 -08001365 src/core/httpcli/format_request.c \
1366 src/core/httpcli/httpcli.c \
1367 src/core/httpcli/httpcli_security_context.c \
1368 src/core/httpcli/parser.c \
ctiller52103932014-12-20 09:07:32 -08001369 src/core/iomgr/alarm.c \
1370 src/core/iomgr/alarm_heap.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001371 src/core/iomgr/endpoint.c \
ctiller18b49ab2014-12-09 14:39:16 -08001372 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001373 src/core/iomgr/fd_posix.c \
1374 src/core/iomgr/iomgr.c \
1375 src/core/iomgr/iomgr_posix.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08001376 src/core/iomgr/pollset_kick_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001377 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1378 src/core/iomgr/pollset_posix.c \
ctiller18b49ab2014-12-09 14:39:16 -08001379 src/core/iomgr/resolve_address_posix.c \
1380 src/core/iomgr/sockaddr_utils.c \
1381 src/core/iomgr/socket_utils_common_posix.c \
1382 src/core/iomgr/socket_utils_linux.c \
1383 src/core/iomgr/socket_utils_posix.c \
1384 src/core/iomgr/tcp_client_posix.c \
1385 src/core/iomgr/tcp_posix.c \
1386 src/core/iomgr/tcp_server_posix.c \
ctillerc1ddffb2014-12-15 13:08:18 -08001387 src/core/iomgr/time_averaged_stats.c \
ctiller18b49ab2014-12-09 14:39:16 -08001388 src/core/statistics/census_init.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001389 src/core/statistics/census_log.c \
ctiller18b49ab2014-12-09 14:39:16 -08001390 src/core/statistics/census_rpc_stats.c \
1391 src/core/statistics/census_tracing.c \
1392 src/core/statistics/hash_table.c \
ctiller18b49ab2014-12-09 14:39:16 -08001393 src/core/statistics/window_stats.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001394 src/core/surface/byte_buffer.c \
1395 src/core/surface/byte_buffer_reader.c \
1396 src/core/surface/call.c \
1397 src/core/surface/channel.c \
1398 src/core/surface/channel_create.c \
1399 src/core/surface/client.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001400 src/core/surface/completion_queue.c \
1401 src/core/surface/event_string.c \
1402 src/core/surface/init.c \
ctiller18b49ab2014-12-09 14:39:16 -08001403 src/core/surface/lame_client.c \
1404 src/core/surface/secure_channel_create.c \
1405 src/core/surface/secure_server_create.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001406 src/core/surface/server.c \
1407 src/core/surface/server_chttp2.c \
1408 src/core/surface/server_create.c \
nnoble0c475f02014-12-05 15:37:39 -08001409 src/core/transport/chttp2/alpn.c \
1410 src/core/transport/chttp2/bin_encoder.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001411 src/core/transport/chttp2/frame_data.c \
nnoble0c475f02014-12-05 15:37:39 -08001412 src/core/transport/chttp2/frame_goaway.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001413 src/core/transport/chttp2/frame_ping.c \
1414 src/core/transport/chttp2/frame_rst_stream.c \
1415 src/core/transport/chttp2/frame_settings.c \
1416 src/core/transport/chttp2/frame_window_update.c \
1417 src/core/transport/chttp2/hpack_parser.c \
1418 src/core/transport/chttp2/hpack_table.c \
nnoble0c475f02014-12-05 15:37:39 -08001419 src/core/transport/chttp2/huffsyms.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001420 src/core/transport/chttp2/status_conversion.c \
1421 src/core/transport/chttp2/stream_encoder.c \
1422 src/core/transport/chttp2/stream_map.c \
1423 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001424 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001425 src/core/transport/chttp2_transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001426 src/core/transport/metadata.c \
1427 src/core/transport/stream_op.c \
1428 src/core/transport/transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001429 third_party/cJSON/cJSON.c \
1430
nnoble85a49262014-12-08 18:14:03 -08001431PUBLIC_HEADERS_C += \
nnoblec87b1c52015-01-05 17:15:18 -08001432 include/grpc/grpc_security.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001433 include/grpc/byte_buffer.h \
1434 include/grpc/byte_buffer_reader.h \
1435 include/grpc/grpc.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001436 include/grpc/status.h \
1437
ctillercab52e72015-01-06 13:10:23 -08001438LIBGRPC_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001439
nnoble69ac39f2014-12-12 15:43:38 -08001440ifeq ($(NO_SECURE),true)
1441
Nicolas Noble047b7272015-01-16 13:55:05 -08001442# You can't build secure libraries if you don't have OpenSSL with ALPN.
1443
ctillercab52e72015-01-06 13:10:23 -08001444libs/$(CONFIG)/libgrpc.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08001445
nnoble5b7f32a2014-12-22 08:12:44 -08001446ifeq ($(SYSTEM),MINGW32)
ctillercab52e72015-01-06 13:10:23 -08001447libs/$(CONFIG)/grpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001448else
ctillercab52e72015-01-06 13:10:23 -08001449libs/$(CONFIG)/libgrpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001450endif
1451
nnoble69ac39f2014-12-12 15:43:38 -08001452else
1453
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001454ifneq ($(OPENSSL_DEP),)
1455src/core/security/auth.c: $(OPENSSL_DEP)
1456src/core/security/base64.c: $(OPENSSL_DEP)
1457src/core/security/credentials.c: $(OPENSSL_DEP)
1458src/core/security/factories.c: $(OPENSSL_DEP)
1459src/core/security/google_root_certs.c: $(OPENSSL_DEP)
1460src/core/security/json_token.c: $(OPENSSL_DEP)
1461src/core/security/secure_endpoint.c: $(OPENSSL_DEP)
1462src/core/security/secure_transport_setup.c: $(OPENSSL_DEP)
1463src/core/security/security_context.c: $(OPENSSL_DEP)
1464src/core/security/server_secure_chttp2.c: $(OPENSSL_DEP)
1465src/core/tsi/fake_transport_security.c: $(OPENSSL_DEP)
1466src/core/tsi/ssl_transport_security.c: $(OPENSSL_DEP)
1467src/core/tsi/transport_security.c: $(OPENSSL_DEP)
1468src/core/channel/call_op_string.c: $(OPENSSL_DEP)
1469src/core/channel/census_filter.c: $(OPENSSL_DEP)
1470src/core/channel/channel_args.c: $(OPENSSL_DEP)
1471src/core/channel/channel_stack.c: $(OPENSSL_DEP)
1472src/core/channel/child_channel.c: $(OPENSSL_DEP)
1473src/core/channel/client_channel.c: $(OPENSSL_DEP)
1474src/core/channel/client_setup.c: $(OPENSSL_DEP)
1475src/core/channel/connected_channel.c: $(OPENSSL_DEP)
1476src/core/channel/http_client_filter.c: $(OPENSSL_DEP)
1477src/core/channel/http_filter.c: $(OPENSSL_DEP)
1478src/core/channel/http_server_filter.c: $(OPENSSL_DEP)
1479src/core/channel/metadata_buffer.c: $(OPENSSL_DEP)
1480src/core/channel/noop_filter.c: $(OPENSSL_DEP)
1481src/core/compression/algorithm.c: $(OPENSSL_DEP)
1482src/core/compression/message_compress.c: $(OPENSSL_DEP)
1483src/core/httpcli/format_request.c: $(OPENSSL_DEP)
1484src/core/httpcli/httpcli.c: $(OPENSSL_DEP)
1485src/core/httpcli/httpcli_security_context.c: $(OPENSSL_DEP)
1486src/core/httpcli/parser.c: $(OPENSSL_DEP)
1487src/core/iomgr/alarm.c: $(OPENSSL_DEP)
1488src/core/iomgr/alarm_heap.c: $(OPENSSL_DEP)
1489src/core/iomgr/endpoint.c: $(OPENSSL_DEP)
1490src/core/iomgr/endpoint_pair_posix.c: $(OPENSSL_DEP)
1491src/core/iomgr/fd_posix.c: $(OPENSSL_DEP)
1492src/core/iomgr/iomgr.c: $(OPENSSL_DEP)
1493src/core/iomgr/iomgr_posix.c: $(OPENSSL_DEP)
David Klempner7f3ed1e2015-01-16 15:35:56 -08001494src/core/iomgr/pollset_kick_posix.c: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001495src/core/iomgr/pollset_multipoller_with_poll_posix.c: $(OPENSSL_DEP)
1496src/core/iomgr/pollset_posix.c: $(OPENSSL_DEP)
1497src/core/iomgr/resolve_address_posix.c: $(OPENSSL_DEP)
1498src/core/iomgr/sockaddr_utils.c: $(OPENSSL_DEP)
1499src/core/iomgr/socket_utils_common_posix.c: $(OPENSSL_DEP)
1500src/core/iomgr/socket_utils_linux.c: $(OPENSSL_DEP)
1501src/core/iomgr/socket_utils_posix.c: $(OPENSSL_DEP)
1502src/core/iomgr/tcp_client_posix.c: $(OPENSSL_DEP)
1503src/core/iomgr/tcp_posix.c: $(OPENSSL_DEP)
1504src/core/iomgr/tcp_server_posix.c: $(OPENSSL_DEP)
1505src/core/iomgr/time_averaged_stats.c: $(OPENSSL_DEP)
1506src/core/statistics/census_init.c: $(OPENSSL_DEP)
1507src/core/statistics/census_log.c: $(OPENSSL_DEP)
1508src/core/statistics/census_rpc_stats.c: $(OPENSSL_DEP)
1509src/core/statistics/census_tracing.c: $(OPENSSL_DEP)
1510src/core/statistics/hash_table.c: $(OPENSSL_DEP)
1511src/core/statistics/window_stats.c: $(OPENSSL_DEP)
1512src/core/surface/byte_buffer.c: $(OPENSSL_DEP)
1513src/core/surface/byte_buffer_reader.c: $(OPENSSL_DEP)
1514src/core/surface/call.c: $(OPENSSL_DEP)
1515src/core/surface/channel.c: $(OPENSSL_DEP)
1516src/core/surface/channel_create.c: $(OPENSSL_DEP)
1517src/core/surface/client.c: $(OPENSSL_DEP)
1518src/core/surface/completion_queue.c: $(OPENSSL_DEP)
1519src/core/surface/event_string.c: $(OPENSSL_DEP)
1520src/core/surface/init.c: $(OPENSSL_DEP)
1521src/core/surface/lame_client.c: $(OPENSSL_DEP)
1522src/core/surface/secure_channel_create.c: $(OPENSSL_DEP)
1523src/core/surface/secure_server_create.c: $(OPENSSL_DEP)
1524src/core/surface/server.c: $(OPENSSL_DEP)
1525src/core/surface/server_chttp2.c: $(OPENSSL_DEP)
1526src/core/surface/server_create.c: $(OPENSSL_DEP)
1527src/core/transport/chttp2/alpn.c: $(OPENSSL_DEP)
1528src/core/transport/chttp2/bin_encoder.c: $(OPENSSL_DEP)
1529src/core/transport/chttp2/frame_data.c: $(OPENSSL_DEP)
1530src/core/transport/chttp2/frame_goaway.c: $(OPENSSL_DEP)
1531src/core/transport/chttp2/frame_ping.c: $(OPENSSL_DEP)
1532src/core/transport/chttp2/frame_rst_stream.c: $(OPENSSL_DEP)
1533src/core/transport/chttp2/frame_settings.c: $(OPENSSL_DEP)
1534src/core/transport/chttp2/frame_window_update.c: $(OPENSSL_DEP)
1535src/core/transport/chttp2/hpack_parser.c: $(OPENSSL_DEP)
1536src/core/transport/chttp2/hpack_table.c: $(OPENSSL_DEP)
1537src/core/transport/chttp2/huffsyms.c: $(OPENSSL_DEP)
1538src/core/transport/chttp2/status_conversion.c: $(OPENSSL_DEP)
1539src/core/transport/chttp2/stream_encoder.c: $(OPENSSL_DEP)
1540src/core/transport/chttp2/stream_map.c: $(OPENSSL_DEP)
1541src/core/transport/chttp2/timeout_encoding.c: $(OPENSSL_DEP)
1542src/core/transport/chttp2/varint.c: $(OPENSSL_DEP)
1543src/core/transport/chttp2_transport.c: $(OPENSSL_DEP)
1544src/core/transport/metadata.c: $(OPENSSL_DEP)
1545src/core/transport/stream_op.c: $(OPENSSL_DEP)
1546src/core/transport/transport.c: $(OPENSSL_DEP)
1547third_party/cJSON/cJSON.c: $(OPENSSL_DEP)
1548endif
1549
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001550libs/$(CONFIG)/libgrpc.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001551 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001552 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001553 $(Q) rm -f libs/$(CONFIG)/libgrpc.a
ctillercab52e72015-01-06 13:10:23 -08001554 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS)
Craig Tillerd4773f52015-01-12 16:38:47 -08001555 $(Q) rm -rf tmp-merge
nnoble20e2e3f2014-12-16 15:37:57 -08001556 $(Q) mkdir tmp-merge
ctillercab52e72015-01-06 13:10:23 -08001557 $(Q) ( cd tmp-merge ; $(AR) x ../libs/$(CONFIG)/libgrpc.a )
nnoble20e2e3f2014-12-16 15:37:57 -08001558 $(Q) for l in $(OPENSSL_MERGE_LIBS) ; do ( cd tmp-merge ; ar x ../$${l} ) ; done
ctillercab52e72015-01-06 13:10:23 -08001559 $(Q) rm -f libs/$(CONFIG)/libgrpc.a tmp-merge/__.SYMDEF*
1560 $(Q) ar rcs libs/$(CONFIG)/libgrpc.a tmp-merge/*
nnoble20e2e3f2014-12-16 15:37:57 -08001561 $(Q) rm -rf tmp-merge
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001562ifeq ($(SYSTEM),Darwin)
1563 $(Q) ranlib libs/$(CONFIG)/libgrpc.a
1564endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001565
nnoble5b7f32a2014-12-22 08:12:44 -08001566
1567
1568ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001569libs/$(CONFIG)/grpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT) $(OPENSSL_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001570 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001571 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001572 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,--output-def=libs/$(CONFIG)/grpc.def -Wl,--out-implib=libs/$(CONFIG)/libgrpc-imp.a -o libs/$(CONFIG)/grpc.$(SHARED_EXT) $(LIBGRPC_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgpr-imp
nnoble5b7f32a2014-12-22 08:12:44 -08001573else
Craig Tillera614caa2015-01-15 09:33:21 -08001574libs/$(CONFIG)/libgrpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(OPENSSL_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001575 $(E) "[LD] Linking $@"
1576 $(Q) mkdir -p `dirname $@`
1577ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001578 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(LIBGRPC_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgpr
nnoble5b7f32a2014-12-22 08:12:44 -08001579else
ctillercab52e72015-01-06 13:10:23 -08001580 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgrpc.so.0 -o libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(LIBGRPC_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgpr
1581 $(Q) ln -sf libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.so
nnoble5b7f32a2014-12-22 08:12:44 -08001582endif
1583endif
1584
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001585
nnoble69ac39f2014-12-12 15:43:38 -08001586endif
1587
nnoble69ac39f2014-12-12 15:43:38 -08001588ifneq ($(NO_SECURE),true)
1589ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001590-include $(LIBGRPC_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001591endif
nnoble69ac39f2014-12-12 15:43:38 -08001592endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001593
Craig Tiller27715ca2015-01-12 16:55:59 -08001594objs/$(CONFIG)/src/core/security/auth.o:
1595objs/$(CONFIG)/src/core/security/base64.o:
1596objs/$(CONFIG)/src/core/security/credentials.o:
Craig Tiller770f60a2015-01-12 17:44:43 -08001597objs/$(CONFIG)/src/core/security/factories.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001598objs/$(CONFIG)/src/core/security/google_root_certs.o:
1599objs/$(CONFIG)/src/core/security/json_token.o:
1600objs/$(CONFIG)/src/core/security/secure_endpoint.o:
1601objs/$(CONFIG)/src/core/security/secure_transport_setup.o:
1602objs/$(CONFIG)/src/core/security/security_context.o:
1603objs/$(CONFIG)/src/core/security/server_secure_chttp2.o:
1604objs/$(CONFIG)/src/core/tsi/fake_transport_security.o:
1605objs/$(CONFIG)/src/core/tsi/ssl_transport_security.o:
1606objs/$(CONFIG)/src/core/tsi/transport_security.o:
1607objs/$(CONFIG)/src/core/channel/call_op_string.o:
1608objs/$(CONFIG)/src/core/channel/census_filter.o:
1609objs/$(CONFIG)/src/core/channel/channel_args.o:
1610objs/$(CONFIG)/src/core/channel/channel_stack.o:
1611objs/$(CONFIG)/src/core/channel/child_channel.o:
1612objs/$(CONFIG)/src/core/channel/client_channel.o:
1613objs/$(CONFIG)/src/core/channel/client_setup.o:
1614objs/$(CONFIG)/src/core/channel/connected_channel.o:
1615objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1616objs/$(CONFIG)/src/core/channel/http_filter.o:
1617objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1618objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1619objs/$(CONFIG)/src/core/channel/noop_filter.o:
1620objs/$(CONFIG)/src/core/compression/algorithm.o:
1621objs/$(CONFIG)/src/core/compression/message_compress.o:
1622objs/$(CONFIG)/src/core/httpcli/format_request.o:
1623objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1624objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1625objs/$(CONFIG)/src/core/httpcli/parser.o:
1626objs/$(CONFIG)/src/core/iomgr/alarm.o:
1627objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1628objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1629objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1630objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1631objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1632objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
David Klempner7f3ed1e2015-01-16 15:35:56 -08001633objs/$(CONFIG)/src/core/iomgr/pollset_kick_posix.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001634objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1635objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1636objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1637objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1638objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1639objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1640objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1641objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1642objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1643objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1644objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1645objs/$(CONFIG)/src/core/statistics/census_init.o:
1646objs/$(CONFIG)/src/core/statistics/census_log.o:
1647objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1648objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1649objs/$(CONFIG)/src/core/statistics/hash_table.o:
1650objs/$(CONFIG)/src/core/statistics/window_stats.o:
1651objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1652objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1653objs/$(CONFIG)/src/core/surface/call.o:
1654objs/$(CONFIG)/src/core/surface/channel.o:
1655objs/$(CONFIG)/src/core/surface/channel_create.o:
1656objs/$(CONFIG)/src/core/surface/client.o:
1657objs/$(CONFIG)/src/core/surface/completion_queue.o:
1658objs/$(CONFIG)/src/core/surface/event_string.o:
1659objs/$(CONFIG)/src/core/surface/init.o:
1660objs/$(CONFIG)/src/core/surface/lame_client.o:
1661objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1662objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1663objs/$(CONFIG)/src/core/surface/server.o:
1664objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1665objs/$(CONFIG)/src/core/surface/server_create.o:
1666objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1667objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1668objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1669objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1670objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1671objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1672objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1673objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1674objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1675objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1676objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1677objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1678objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1679objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1680objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1681objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1682objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1683objs/$(CONFIG)/src/core/transport/metadata.o:
1684objs/$(CONFIG)/src/core/transport/stream_op.o:
1685objs/$(CONFIG)/src/core/transport/transport.o:
1686objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1687
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001688
Craig Tiller17ec5f92015-01-18 11:30:41 -08001689LIBGRPC_TEST_UTIL_SRC = \
1690 test/core/end2end/cq_verifier.c \
1691 test/core/end2end/data/prod_roots_certs.c \
1692 test/core/end2end/data/server1_cert.c \
1693 test/core/end2end/data/server1_key.c \
1694 test/core/end2end/data/test_root_cert.c \
1695 test/core/iomgr/endpoint_tests.c \
1696 test/core/statistics/census_log_tests.c \
1697 test/core/transport/transport_end2end_tests.c \
1698 test/core/util/grpc_profiler.c \
1699 test/core/util/parse_hexstring.c \
1700 test/core/util/port_posix.c \
1701 test/core/util/slice_splitter.c \
1702
1703
1704LIBGRPC_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_TEST_UTIL_SRC))))
1705
1706ifeq ($(NO_SECURE),true)
1707
1708# You can't build secure libraries if you don't have OpenSSL with ALPN.
1709
1710libs/$(CONFIG)/libgrpc_test_util.a: openssl_dep_error
1711
1712
1713else
1714
1715ifneq ($(OPENSSL_DEP),)
1716test/core/end2end/cq_verifier.c: $(OPENSSL_DEP)
1717test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
1718test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
1719test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
1720test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
1721test/core/iomgr/endpoint_tests.c: $(OPENSSL_DEP)
1722test/core/statistics/census_log_tests.c: $(OPENSSL_DEP)
1723test/core/transport/transport_end2end_tests.c: $(OPENSSL_DEP)
1724test/core/util/grpc_profiler.c: $(OPENSSL_DEP)
1725test/core/util/parse_hexstring.c: $(OPENSSL_DEP)
1726test/core/util/port_posix.c: $(OPENSSL_DEP)
1727test/core/util/slice_splitter.c: $(OPENSSL_DEP)
1728endif
1729
1730libs/$(CONFIG)/libgrpc_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_TEST_UTIL_OBJS)
1731 $(E) "[AR] Creating $@"
1732 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001733 $(Q) rm -f libs/$(CONFIG)/libgrpc_test_util.a
Craig Tiller17ec5f92015-01-18 11:30:41 -08001734 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_test_util.a $(LIBGRPC_TEST_UTIL_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001735ifeq ($(SYSTEM),Darwin)
1736 $(Q) ranlib libs/$(CONFIG)/libgrpc_test_util.a
1737endif
Craig Tiller17ec5f92015-01-18 11:30:41 -08001738
1739
1740
1741
1742
1743endif
1744
1745ifneq ($(NO_SECURE),true)
1746ifneq ($(NO_DEPS),true)
1747-include $(LIBGRPC_TEST_UTIL_OBJS:.o=.dep)
1748endif
1749endif
1750
1751objs/$(CONFIG)/test/core/end2end/cq_verifier.o:
1752objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
1753objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
1754objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
1755objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
1756objs/$(CONFIG)/test/core/iomgr/endpoint_tests.o:
1757objs/$(CONFIG)/test/core/statistics/census_log_tests.o:
1758objs/$(CONFIG)/test/core/transport/transport_end2end_tests.o:
1759objs/$(CONFIG)/test/core/util/grpc_profiler.o:
1760objs/$(CONFIG)/test/core/util/parse_hexstring.o:
1761objs/$(CONFIG)/test/core/util/port_posix.o:
1762objs/$(CONFIG)/test/core/util/slice_splitter.o:
1763
1764
nnoblec87b1c52015-01-05 17:15:18 -08001765LIBGRPC_UNSECURE_SRC = \
1766 src/core/channel/call_op_string.c \
1767 src/core/channel/census_filter.c \
1768 src/core/channel/channel_args.c \
1769 src/core/channel/channel_stack.c \
1770 src/core/channel/child_channel.c \
1771 src/core/channel/client_channel.c \
1772 src/core/channel/client_setup.c \
1773 src/core/channel/connected_channel.c \
1774 src/core/channel/http_client_filter.c \
1775 src/core/channel/http_filter.c \
1776 src/core/channel/http_server_filter.c \
1777 src/core/channel/metadata_buffer.c \
1778 src/core/channel/noop_filter.c \
1779 src/core/compression/algorithm.c \
1780 src/core/compression/message_compress.c \
1781 src/core/httpcli/format_request.c \
1782 src/core/httpcli/httpcli.c \
1783 src/core/httpcli/httpcli_security_context.c \
1784 src/core/httpcli/parser.c \
1785 src/core/iomgr/alarm.c \
1786 src/core/iomgr/alarm_heap.c \
1787 src/core/iomgr/endpoint.c \
1788 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001789 src/core/iomgr/fd_posix.c \
1790 src/core/iomgr/iomgr.c \
1791 src/core/iomgr/iomgr_posix.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08001792 src/core/iomgr/pollset_kick_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001793 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1794 src/core/iomgr/pollset_posix.c \
nnoblec87b1c52015-01-05 17:15:18 -08001795 src/core/iomgr/resolve_address_posix.c \
1796 src/core/iomgr/sockaddr_utils.c \
1797 src/core/iomgr/socket_utils_common_posix.c \
1798 src/core/iomgr/socket_utils_linux.c \
1799 src/core/iomgr/socket_utils_posix.c \
1800 src/core/iomgr/tcp_client_posix.c \
1801 src/core/iomgr/tcp_posix.c \
1802 src/core/iomgr/tcp_server_posix.c \
1803 src/core/iomgr/time_averaged_stats.c \
1804 src/core/statistics/census_init.c \
1805 src/core/statistics/census_log.c \
1806 src/core/statistics/census_rpc_stats.c \
1807 src/core/statistics/census_tracing.c \
1808 src/core/statistics/hash_table.c \
1809 src/core/statistics/window_stats.c \
1810 src/core/surface/byte_buffer.c \
1811 src/core/surface/byte_buffer_reader.c \
1812 src/core/surface/call.c \
1813 src/core/surface/channel.c \
1814 src/core/surface/channel_create.c \
1815 src/core/surface/client.c \
1816 src/core/surface/completion_queue.c \
1817 src/core/surface/event_string.c \
1818 src/core/surface/init.c \
1819 src/core/surface/lame_client.c \
1820 src/core/surface/secure_channel_create.c \
1821 src/core/surface/secure_server_create.c \
1822 src/core/surface/server.c \
1823 src/core/surface/server_chttp2.c \
1824 src/core/surface/server_create.c \
1825 src/core/transport/chttp2/alpn.c \
1826 src/core/transport/chttp2/bin_encoder.c \
1827 src/core/transport/chttp2/frame_data.c \
1828 src/core/transport/chttp2/frame_goaway.c \
1829 src/core/transport/chttp2/frame_ping.c \
1830 src/core/transport/chttp2/frame_rst_stream.c \
1831 src/core/transport/chttp2/frame_settings.c \
1832 src/core/transport/chttp2/frame_window_update.c \
1833 src/core/transport/chttp2/hpack_parser.c \
1834 src/core/transport/chttp2/hpack_table.c \
1835 src/core/transport/chttp2/huffsyms.c \
1836 src/core/transport/chttp2/status_conversion.c \
1837 src/core/transport/chttp2/stream_encoder.c \
1838 src/core/transport/chttp2/stream_map.c \
1839 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001840 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001841 src/core/transport/chttp2_transport.c \
nnoblec87b1c52015-01-05 17:15:18 -08001842 src/core/transport/metadata.c \
1843 src/core/transport/stream_op.c \
1844 src/core/transport/transport.c \
1845 third_party/cJSON/cJSON.c \
1846
1847PUBLIC_HEADERS_C += \
1848 include/grpc/byte_buffer.h \
1849 include/grpc/byte_buffer_reader.h \
1850 include/grpc/grpc.h \
1851 include/grpc/status.h \
1852
ctillercab52e72015-01-06 13:10:23 -08001853LIBGRPC_UNSECURE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_UNSECURE_SRC))))
nnoblec87b1c52015-01-05 17:15:18 -08001854
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001855libs/$(CONFIG)/libgrpc_unsecure.a: $(ZLIB_DEP) $(LIBGRPC_UNSECURE_OBJS)
nnoblec87b1c52015-01-05 17:15:18 -08001856 $(E) "[AR] Creating $@"
1857 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001858 $(Q) rm -f libs/$(CONFIG)/libgrpc_unsecure.a
ctillercab52e72015-01-06 13:10:23 -08001859 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_unsecure.a $(LIBGRPC_UNSECURE_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001860ifeq ($(SYSTEM),Darwin)
1861 $(Q) ranlib libs/$(CONFIG)/libgrpc_unsecure.a
1862endif
nnoblec87b1c52015-01-05 17:15:18 -08001863
1864
1865
1866ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001867libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001868 $(E) "[LD] Linking $@"
1869 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001870 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,--output-def=libs/$(CONFIG)/grpc_unsecure.def -Wl,--out-implib=libs/$(CONFIG)/libgrpc_unsecure-imp.a -o libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr-imp
nnoblec87b1c52015-01-05 17:15:18 -08001871else
Craig Tillera614caa2015-01-15 09:33:21 -08001872libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001873 $(E) "[LD] Linking $@"
1874 $(Q) mkdir -p `dirname $@`
1875ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001876 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
nnoblec87b1c52015-01-05 17:15:18 -08001877else
ctillercab52e72015-01-06 13:10:23 -08001878 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.0 -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
1879 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.so
nnoblec87b1c52015-01-05 17:15:18 -08001880endif
1881endif
1882
1883
nnoblec87b1c52015-01-05 17:15:18 -08001884ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001885-include $(LIBGRPC_UNSECURE_OBJS:.o=.dep)
nnoblec87b1c52015-01-05 17:15:18 -08001886endif
1887
Craig Tiller27715ca2015-01-12 16:55:59 -08001888objs/$(CONFIG)/src/core/channel/call_op_string.o:
1889objs/$(CONFIG)/src/core/channel/census_filter.o:
1890objs/$(CONFIG)/src/core/channel/channel_args.o:
1891objs/$(CONFIG)/src/core/channel/channel_stack.o:
1892objs/$(CONFIG)/src/core/channel/child_channel.o:
1893objs/$(CONFIG)/src/core/channel/client_channel.o:
1894objs/$(CONFIG)/src/core/channel/client_setup.o:
1895objs/$(CONFIG)/src/core/channel/connected_channel.o:
1896objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1897objs/$(CONFIG)/src/core/channel/http_filter.o:
1898objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1899objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1900objs/$(CONFIG)/src/core/channel/noop_filter.o:
1901objs/$(CONFIG)/src/core/compression/algorithm.o:
1902objs/$(CONFIG)/src/core/compression/message_compress.o:
1903objs/$(CONFIG)/src/core/httpcli/format_request.o:
1904objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1905objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1906objs/$(CONFIG)/src/core/httpcli/parser.o:
1907objs/$(CONFIG)/src/core/iomgr/alarm.o:
1908objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1909objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1910objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1911objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1912objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1913objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
David Klempner7f3ed1e2015-01-16 15:35:56 -08001914objs/$(CONFIG)/src/core/iomgr/pollset_kick_posix.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001915objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1916objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1917objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1918objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1919objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1920objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1921objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1922objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1923objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1924objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1925objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1926objs/$(CONFIG)/src/core/statistics/census_init.o:
1927objs/$(CONFIG)/src/core/statistics/census_log.o:
1928objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1929objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1930objs/$(CONFIG)/src/core/statistics/hash_table.o:
1931objs/$(CONFIG)/src/core/statistics/window_stats.o:
1932objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1933objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1934objs/$(CONFIG)/src/core/surface/call.o:
1935objs/$(CONFIG)/src/core/surface/channel.o:
1936objs/$(CONFIG)/src/core/surface/channel_create.o:
1937objs/$(CONFIG)/src/core/surface/client.o:
1938objs/$(CONFIG)/src/core/surface/completion_queue.o:
1939objs/$(CONFIG)/src/core/surface/event_string.o:
1940objs/$(CONFIG)/src/core/surface/init.o:
1941objs/$(CONFIG)/src/core/surface/lame_client.o:
1942objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1943objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1944objs/$(CONFIG)/src/core/surface/server.o:
1945objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1946objs/$(CONFIG)/src/core/surface/server_create.o:
1947objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1948objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1949objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1950objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1951objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1952objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1953objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1954objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1955objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1956objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1957objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1958objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1959objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1960objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1961objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1962objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1963objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1964objs/$(CONFIG)/src/core/transport/metadata.o:
1965objs/$(CONFIG)/src/core/transport/stream_op.o:
1966objs/$(CONFIG)/src/core/transport/transport.o:
1967objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1968
nnoblec87b1c52015-01-05 17:15:18 -08001969
Craig Tiller996d9df2015-01-19 21:06:50 -08001970LIBGRPC++_SRC = \
1971 src/cpp/client/channel.cc \
1972 src/cpp/client/channel_arguments.cc \
1973 src/cpp/client/client_context.cc \
1974 src/cpp/client/create_channel.cc \
1975 src/cpp/client/credentials.cc \
1976 src/cpp/client/internal_stub.cc \
1977 src/cpp/common/rpc_method.cc \
1978 src/cpp/proto/proto_utils.cc \
1979 src/cpp/server/async_server.cc \
1980 src/cpp/server/async_server_context.cc \
1981 src/cpp/server/completion_queue.cc \
1982 src/cpp/server/server.cc \
1983 src/cpp/server/server_builder.cc \
1984 src/cpp/server/server_context_impl.cc \
1985 src/cpp/server/server_credentials.cc \
1986 src/cpp/server/server_rpc_handler.cc \
1987 src/cpp/server/thread_pool.cc \
1988 src/cpp/stream/stream_context.cc \
1989 src/cpp/util/status.cc \
1990 src/cpp/util/time.cc \
1991
1992PUBLIC_HEADERS_CXX += \
1993 include/grpc++/async_server.h \
1994 include/grpc++/async_server_context.h \
1995 include/grpc++/channel_arguments.h \
1996 include/grpc++/channel_interface.h \
1997 include/grpc++/client_context.h \
1998 include/grpc++/completion_queue.h \
1999 include/grpc++/config.h \
2000 include/grpc++/create_channel.h \
2001 include/grpc++/credentials.h \
2002 include/grpc++/impl/internal_stub.h \
2003 include/grpc++/impl/rpc_method.h \
2004 include/grpc++/impl/rpc_service_method.h \
2005 include/grpc++/server.h \
2006 include/grpc++/server_builder.h \
2007 include/grpc++/server_context.h \
2008 include/grpc++/server_credentials.h \
2009 include/grpc++/status.h \
2010 include/grpc++/stream.h \
2011 include/grpc++/stream_context_interface.h \
2012
2013LIBGRPC++_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_SRC))))
2014
2015ifeq ($(NO_SECURE),true)
2016
2017# You can't build secure libraries if you don't have OpenSSL with ALPN.
2018
2019libs/$(CONFIG)/libgrpc++.a: openssl_dep_error
2020
2021ifeq ($(SYSTEM),MINGW32)
2022libs/$(CONFIG)/grpc++.$(SHARED_EXT): openssl_dep_error
2023else
2024libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): openssl_dep_error
2025endif
2026
2027else
2028
2029ifneq ($(OPENSSL_DEP),)
2030src/cpp/client/channel.cc: $(OPENSSL_DEP)
2031src/cpp/client/channel_arguments.cc: $(OPENSSL_DEP)
2032src/cpp/client/client_context.cc: $(OPENSSL_DEP)
2033src/cpp/client/create_channel.cc: $(OPENSSL_DEP)
2034src/cpp/client/credentials.cc: $(OPENSSL_DEP)
2035src/cpp/client/internal_stub.cc: $(OPENSSL_DEP)
2036src/cpp/common/rpc_method.cc: $(OPENSSL_DEP)
2037src/cpp/proto/proto_utils.cc: $(OPENSSL_DEP)
2038src/cpp/server/async_server.cc: $(OPENSSL_DEP)
2039src/cpp/server/async_server_context.cc: $(OPENSSL_DEP)
2040src/cpp/server/completion_queue.cc: $(OPENSSL_DEP)
2041src/cpp/server/server.cc: $(OPENSSL_DEP)
2042src/cpp/server/server_builder.cc: $(OPENSSL_DEP)
2043src/cpp/server/server_context_impl.cc: $(OPENSSL_DEP)
2044src/cpp/server/server_credentials.cc: $(OPENSSL_DEP)
2045src/cpp/server/server_rpc_handler.cc: $(OPENSSL_DEP)
2046src/cpp/server/thread_pool.cc: $(OPENSSL_DEP)
2047src/cpp/stream/stream_context.cc: $(OPENSSL_DEP)
2048src/cpp/util/status.cc: $(OPENSSL_DEP)
2049src/cpp/util/time.cc: $(OPENSSL_DEP)
2050endif
2051
2052libs/$(CONFIG)/libgrpc++.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_OBJS)
2053 $(E) "[AR] Creating $@"
2054 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002055 $(Q) rm -f libs/$(CONFIG)/libgrpc++.a
Craig Tiller996d9df2015-01-19 21:06:50 -08002056 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++.a $(LIBGRPC++_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002057ifeq ($(SYSTEM),Darwin)
2058 $(Q) ranlib libs/$(CONFIG)/libgrpc++.a
2059endif
Craig Tiller996d9df2015-01-19 21:06:50 -08002060
2061
2062
2063ifeq ($(SYSTEM),MINGW32)
2064libs/$(CONFIG)/grpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/grpc.$(SHARED_EXT) $(OPENSSL_DEP)
2065 $(E) "[LD] Linking $@"
2066 $(Q) mkdir -p `dirname $@`
2067 $(Q) $(LDXX) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,--output-def=libs/$(CONFIG)/grpc++.def -Wl,--out-implib=libs/$(CONFIG)/libgrpc++-imp.a -o libs/$(CONFIG)/grpc++.$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgrpc-imp
2068else
2069libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(OPENSSL_DEP)
2070 $(E) "[LD] Linking $@"
2071 $(Q) mkdir -p `dirname $@`
2072ifeq ($(SYSTEM),Darwin)
2073 $(Q) $(LDXX) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgrpc
2074else
2075 $(Q) $(LDXX) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgrpc++.so.0 -o libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgrpc
2076 $(Q) ln -sf libgrpc++.$(SHARED_EXT) libs/$(CONFIG)/libgrpc++.so
2077endif
2078endif
2079
2080
2081endif
2082
2083ifneq ($(NO_SECURE),true)
2084ifneq ($(NO_DEPS),true)
2085-include $(LIBGRPC++_OBJS:.o=.dep)
2086endif
2087endif
2088
2089objs/$(CONFIG)/src/cpp/client/channel.o:
2090objs/$(CONFIG)/src/cpp/client/channel_arguments.o:
2091objs/$(CONFIG)/src/cpp/client/client_context.o:
2092objs/$(CONFIG)/src/cpp/client/create_channel.o:
2093objs/$(CONFIG)/src/cpp/client/credentials.o:
2094objs/$(CONFIG)/src/cpp/client/internal_stub.o:
2095objs/$(CONFIG)/src/cpp/common/rpc_method.o:
2096objs/$(CONFIG)/src/cpp/proto/proto_utils.o:
2097objs/$(CONFIG)/src/cpp/server/async_server.o:
2098objs/$(CONFIG)/src/cpp/server/async_server_context.o:
2099objs/$(CONFIG)/src/cpp/server/completion_queue.o:
2100objs/$(CONFIG)/src/cpp/server/server.o:
2101objs/$(CONFIG)/src/cpp/server/server_builder.o:
2102objs/$(CONFIG)/src/cpp/server/server_context_impl.o:
2103objs/$(CONFIG)/src/cpp/server/server_credentials.o:
2104objs/$(CONFIG)/src/cpp/server/server_rpc_handler.o:
2105objs/$(CONFIG)/src/cpp/server/thread_pool.o:
2106objs/$(CONFIG)/src/cpp/stream/stream_context.o:
2107objs/$(CONFIG)/src/cpp/util/status.o:
2108objs/$(CONFIG)/src/cpp/util/time.o:
2109
2110
2111LIBGRPC++_TEST_UTIL_SRC = \
2112 gens/test/cpp/util/echo.pb.cc \
2113 gens/test/cpp/util/echo_duplicate.pb.cc \
2114 gens/test/cpp/util/messages.pb.cc \
2115 test/cpp/end2end/async_test_server.cc \
2116 test/cpp/util/create_test_channel.cc \
2117
2118
2119LIBGRPC++_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_UTIL_SRC))))
2120
2121ifeq ($(NO_SECURE),true)
2122
2123# You can't build secure libraries if you don't have OpenSSL with ALPN.
2124
2125libs/$(CONFIG)/libgrpc++_test_util.a: openssl_dep_error
2126
2127
2128else
2129
2130ifneq ($(OPENSSL_DEP),)
2131test/cpp/util/echo.proto: $(OPENSSL_DEP)
2132test/cpp/util/echo_duplicate.proto: $(OPENSSL_DEP)
2133test/cpp/util/messages.proto: $(OPENSSL_DEP)
2134test/cpp/end2end/async_test_server.cc: $(OPENSSL_DEP)
2135test/cpp/util/create_test_channel.cc: $(OPENSSL_DEP)
2136endif
2137
2138libs/$(CONFIG)/libgrpc++_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_TEST_UTIL_OBJS)
2139 $(E) "[AR] Creating $@"
2140 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002141 $(Q) rm -f libs/$(CONFIG)/libgrpc++_test_util.a
Craig Tiller996d9df2015-01-19 21:06:50 -08002142 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++_test_util.a $(LIBGRPC++_TEST_UTIL_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002143ifeq ($(SYSTEM),Darwin)
2144 $(Q) ranlib libs/$(CONFIG)/libgrpc++_test_util.a
2145endif
Craig Tiller996d9df2015-01-19 21:06:50 -08002146
2147
2148
2149
2150
2151endif
2152
2153ifneq ($(NO_SECURE),true)
2154ifneq ($(NO_DEPS),true)
2155-include $(LIBGRPC++_TEST_UTIL_OBJS:.o=.dep)
2156endif
2157endif
2158
2159
2160
2161
2162objs/$(CONFIG)/test/cpp/end2end/async_test_server.o: gens/test/cpp/util/echo.pb.cc gens/test/cpp/util/echo_duplicate.pb.cc gens/test/cpp/util/messages.pb.cc
2163objs/$(CONFIG)/test/cpp/util/create_test_channel.o: gens/test/cpp/util/echo.pb.cc gens/test/cpp/util/echo_duplicate.pb.cc gens/test/cpp/util/messages.pb.cc
2164
2165
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002166LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC = \
2167 test/core/end2end/fixtures/chttp2_fake_security.c \
2168
2169
ctillercab52e72015-01-06 13:10:23 -08002170LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002171
nnoble69ac39f2014-12-12 15:43:38 -08002172ifeq ($(NO_SECURE),true)
2173
Nicolas Noble047b7272015-01-16 13:55:05 -08002174# You can't build secure libraries if you don't have OpenSSL with ALPN.
2175
ctillercab52e72015-01-06 13:10:23 -08002176libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002177
nnoble5b7f32a2014-12-22 08:12:44 -08002178
nnoble69ac39f2014-12-12 15:43:38 -08002179else
2180
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002181ifneq ($(OPENSSL_DEP),)
2182test/core/end2end/fixtures/chttp2_fake_security.c: $(OPENSSL_DEP)
2183endif
2184
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002185libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002186 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002187 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002188 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a
ctillercab52e72015-01-06 13:10:23 -08002189 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002190ifeq ($(SYSTEM),Darwin)
2191 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a
2192endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002193
2194
2195
nnoble5b7f32a2014-12-22 08:12:44 -08002196
2197
nnoble69ac39f2014-12-12 15:43:38 -08002198endif
2199
nnoble69ac39f2014-12-12 15:43:38 -08002200ifneq ($(NO_SECURE),true)
2201ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002202-include $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002203endif
nnoble69ac39f2014-12-12 15:43:38 -08002204endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002205
Craig Tiller27715ca2015-01-12 16:55:59 -08002206objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fake_security.o:
2207
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002208
2209LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC = \
2210 test/core/end2end/fixtures/chttp2_fullstack.c \
2211
2212
ctillercab52e72015-01-06 13:10:23 -08002213LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002214
nnoble69ac39f2014-12-12 15:43:38 -08002215ifeq ($(NO_SECURE),true)
2216
Nicolas Noble047b7272015-01-16 13:55:05 -08002217# You can't build secure libraries if you don't have OpenSSL with ALPN.
2218
ctillercab52e72015-01-06 13:10:23 -08002219libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002220
nnoble5b7f32a2014-12-22 08:12:44 -08002221
nnoble69ac39f2014-12-12 15:43:38 -08002222else
2223
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002224ifneq ($(OPENSSL_DEP),)
2225test/core/end2end/fixtures/chttp2_fullstack.c: $(OPENSSL_DEP)
2226endif
2227
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002228libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002229 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002230 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002231 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a
ctillercab52e72015-01-06 13:10:23 -08002232 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002233ifeq ($(SYSTEM),Darwin)
2234 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a
2235endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002236
2237
2238
nnoble5b7f32a2014-12-22 08:12:44 -08002239
2240
nnoble69ac39f2014-12-12 15:43:38 -08002241endif
2242
nnoble69ac39f2014-12-12 15:43:38 -08002243ifneq ($(NO_SECURE),true)
2244ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002245-include $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002246endif
nnoble69ac39f2014-12-12 15:43:38 -08002247endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002248
Craig Tiller27715ca2015-01-12 16:55:59 -08002249objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fullstack.o:
2250
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002251
2252LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_SRC = \
2253 test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c \
2254
2255
ctillercab52e72015-01-06 13:10:23 -08002256LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002257
nnoble69ac39f2014-12-12 15:43:38 -08002258ifeq ($(NO_SECURE),true)
2259
Nicolas Noble047b7272015-01-16 13:55:05 -08002260# You can't build secure libraries if you don't have OpenSSL with ALPN.
2261
ctillercab52e72015-01-06 13:10:23 -08002262libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002263
nnoble5b7f32a2014-12-22 08:12:44 -08002264
nnoble69ac39f2014-12-12 15:43:38 -08002265else
2266
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002267ifneq ($(OPENSSL_DEP),)
2268test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c: $(OPENSSL_DEP)
2269endif
2270
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002271libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002272 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002273 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002274 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a
ctillercab52e72015-01-06 13:10:23 -08002275 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002276ifeq ($(SYSTEM),Darwin)
2277 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a
2278endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002279
2280
2281
nnoble5b7f32a2014-12-22 08:12:44 -08002282
2283
nnoble69ac39f2014-12-12 15:43:38 -08002284endif
2285
nnoble69ac39f2014-12-12 15:43:38 -08002286ifneq ($(NO_SECURE),true)
2287ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002288-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002289endif
nnoble69ac39f2014-12-12 15:43:38 -08002290endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002291
Craig Tiller27715ca2015-01-12 16:55:59 -08002292objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.o:
2293
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002294
2295LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SRC = \
2296 test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c \
2297
2298
ctillercab52e72015-01-06 13:10:23 -08002299LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002300
nnoble69ac39f2014-12-12 15:43:38 -08002301ifeq ($(NO_SECURE),true)
2302
Nicolas Noble047b7272015-01-16 13:55:05 -08002303# You can't build secure libraries if you don't have OpenSSL with ALPN.
2304
ctillercab52e72015-01-06 13:10:23 -08002305libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002306
nnoble5b7f32a2014-12-22 08:12:44 -08002307
nnoble69ac39f2014-12-12 15:43:38 -08002308else
2309
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002310ifneq ($(OPENSSL_DEP),)
2311test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c: $(OPENSSL_DEP)
2312endif
2313
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002314libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002315 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002316 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002317 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a
ctillercab52e72015-01-06 13:10:23 -08002318 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002319ifeq ($(SYSTEM),Darwin)
2320 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a
2321endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002322
2323
2324
nnoble5b7f32a2014-12-22 08:12:44 -08002325
2326
nnoble69ac39f2014-12-12 15:43:38 -08002327endif
2328
nnoble69ac39f2014-12-12 15:43:38 -08002329ifneq ($(NO_SECURE),true)
2330ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002331-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002332endif
nnoble69ac39f2014-12-12 15:43:38 -08002333endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002334
Craig Tiller27715ca2015-01-12 16:55:59 -08002335objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.o:
2336
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002337
2338LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC = \
2339 test/core/end2end/fixtures/chttp2_socket_pair.c \
2340
2341
ctillercab52e72015-01-06 13:10:23 -08002342LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002343
nnoble69ac39f2014-12-12 15:43:38 -08002344ifeq ($(NO_SECURE),true)
2345
Nicolas Noble047b7272015-01-16 13:55:05 -08002346# You can't build secure libraries if you don't have OpenSSL with ALPN.
2347
ctillercab52e72015-01-06 13:10:23 -08002348libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002349
nnoble5b7f32a2014-12-22 08:12:44 -08002350
nnoble69ac39f2014-12-12 15:43:38 -08002351else
2352
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002353ifneq ($(OPENSSL_DEP),)
2354test/core/end2end/fixtures/chttp2_socket_pair.c: $(OPENSSL_DEP)
2355endif
2356
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002357libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002358 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002359 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002360 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a
ctillercab52e72015-01-06 13:10:23 -08002361 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002362ifeq ($(SYSTEM),Darwin)
2363 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a
2364endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002365
2366
2367
nnoble5b7f32a2014-12-22 08:12:44 -08002368
2369
nnoble69ac39f2014-12-12 15:43:38 -08002370endif
2371
nnoble69ac39f2014-12-12 15:43:38 -08002372ifneq ($(NO_SECURE),true)
2373ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002374-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002375endif
nnoble69ac39f2014-12-12 15:43:38 -08002376endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002377
Craig Tiller27715ca2015-01-12 16:55:59 -08002378objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair.o:
2379
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002380
nnoble0c475f02014-12-05 15:37:39 -08002381LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SRC = \
2382 test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c \
2383
2384
ctillercab52e72015-01-06 13:10:23 -08002385LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08002386
nnoble69ac39f2014-12-12 15:43:38 -08002387ifeq ($(NO_SECURE),true)
2388
Nicolas Noble047b7272015-01-16 13:55:05 -08002389# You can't build secure libraries if you don't have OpenSSL with ALPN.
2390
ctillercab52e72015-01-06 13:10:23 -08002391libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002392
nnoble5b7f32a2014-12-22 08:12:44 -08002393
nnoble69ac39f2014-12-12 15:43:38 -08002394else
2395
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002396ifneq ($(OPENSSL_DEP),)
2397test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c: $(OPENSSL_DEP)
2398endif
2399
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002400libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS)
nnoble0c475f02014-12-05 15:37:39 -08002401 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002402 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002403 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a
ctillercab52e72015-01-06 13:10:23 -08002404 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002405ifeq ($(SYSTEM),Darwin)
2406 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a
2407endif
nnoble0c475f02014-12-05 15:37:39 -08002408
2409
2410
nnoble5b7f32a2014-12-22 08:12:44 -08002411
2412
nnoble69ac39f2014-12-12 15:43:38 -08002413endif
2414
nnoble69ac39f2014-12-12 15:43:38 -08002415ifneq ($(NO_SECURE),true)
2416ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002417-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08002418endif
nnoble69ac39f2014-12-12 15:43:38 -08002419endif
nnoble0c475f02014-12-05 15:37:39 -08002420
Craig Tiller27715ca2015-01-12 16:55:59 -08002421objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.o:
2422
nnoble0c475f02014-12-05 15:37:39 -08002423
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002424LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC = \
2425 test/core/end2end/tests/cancel_after_accept.c \
2426
2427
ctillercab52e72015-01-06 13:10:23 -08002428LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002429
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002430libs/$(CONFIG)/libend2end_test_cancel_after_accept.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002431 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002432 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002433 $(Q) rm -f libs/$(CONFIG)/libend2end_test_cancel_after_accept.a
ctillercab52e72015-01-06 13:10:23 -08002434 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_accept.a $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002435ifeq ($(SYSTEM),Darwin)
2436 $(Q) ranlib libs/$(CONFIG)/libend2end_test_cancel_after_accept.a
2437endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002438
2439
2440
nnoble5b7f32a2014-12-22 08:12:44 -08002441
2442
nnoble69ac39f2014-12-12 15:43:38 -08002443ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002444-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002445endif
2446
Craig Tiller27715ca2015-01-12 16:55:59 -08002447objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept.o:
2448
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002449
2450LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_SRC = \
2451 test/core/end2end/tests/cancel_after_accept_and_writes_closed.c \
2452
2453
ctillercab52e72015-01-06 13:10:23 -08002454LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002455
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002456libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002457 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002458 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002459 $(Q) rm -f libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a
ctillercab52e72015-01-06 13:10:23 -08002460 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002461ifeq ($(SYSTEM),Darwin)
2462 $(Q) ranlib libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a
2463endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002464
2465
2466
nnoble5b7f32a2014-12-22 08:12:44 -08002467
2468
nnoble69ac39f2014-12-12 15:43:38 -08002469ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002470-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002471endif
2472
Craig Tiller27715ca2015-01-12 16:55:59 -08002473objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept_and_writes_closed.o:
2474
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002475
2476LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC = \
2477 test/core/end2end/tests/cancel_after_invoke.c \
2478
2479
ctillercab52e72015-01-06 13:10:23 -08002480LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002481
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002482libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002483 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002484 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002485 $(Q) rm -f libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a
ctillercab52e72015-01-06 13:10:23 -08002486 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002487ifeq ($(SYSTEM),Darwin)
2488 $(Q) ranlib libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a
2489endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002490
2491
2492
nnoble5b7f32a2014-12-22 08:12:44 -08002493
2494
nnoble69ac39f2014-12-12 15:43:38 -08002495ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002496-include $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002497endif
2498
Craig Tiller27715ca2015-01-12 16:55:59 -08002499objs/$(CONFIG)/test/core/end2end/tests/cancel_after_invoke.o:
2500
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002501
2502LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC = \
2503 test/core/end2end/tests/cancel_before_invoke.c \
2504
2505
ctillercab52e72015-01-06 13:10:23 -08002506LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002507
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002508libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002509 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002510 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002511 $(Q) rm -f libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a
ctillercab52e72015-01-06 13:10:23 -08002512 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002513ifeq ($(SYSTEM),Darwin)
2514 $(Q) ranlib libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a
2515endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002516
2517
2518
nnoble5b7f32a2014-12-22 08:12:44 -08002519
2520
nnoble69ac39f2014-12-12 15:43:38 -08002521ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002522-include $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002523endif
2524
Craig Tiller27715ca2015-01-12 16:55:59 -08002525objs/$(CONFIG)/test/core/end2end/tests/cancel_before_invoke.o:
2526
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002527
2528LIBEND2END_TEST_CANCEL_IN_A_VACUUM_SRC = \
2529 test/core/end2end/tests/cancel_in_a_vacuum.c \
2530
2531
ctillercab52e72015-01-06 13:10:23 -08002532LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002533
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002534libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002535 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002536 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002537 $(Q) rm -f libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a
ctillercab52e72015-01-06 13:10:23 -08002538 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002539ifeq ($(SYSTEM),Darwin)
2540 $(Q) ranlib libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a
2541endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002542
2543
2544
nnoble5b7f32a2014-12-22 08:12:44 -08002545
2546
nnoble69ac39f2014-12-12 15:43:38 -08002547ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002548-include $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002549endif
2550
Craig Tiller27715ca2015-01-12 16:55:59 -08002551objs/$(CONFIG)/test/core/end2end/tests/cancel_in_a_vacuum.o:
2552
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002553
hongyu24200d32015-01-08 15:13:49 -08002554LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC = \
2555 test/core/end2end/tests/census_simple_request.c \
2556
2557
2558LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08002559
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002560libs/$(CONFIG)/libend2end_test_census_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
hongyu24200d32015-01-08 15:13:49 -08002561 $(E) "[AR] Creating $@"
2562 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002563 $(Q) rm -f libs/$(CONFIG)/libend2end_test_census_simple_request.a
hongyu24200d32015-01-08 15:13:49 -08002564 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_census_simple_request.a $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002565ifeq ($(SYSTEM),Darwin)
2566 $(Q) ranlib libs/$(CONFIG)/libend2end_test_census_simple_request.a
2567endif
hongyu24200d32015-01-08 15:13:49 -08002568
2569
2570
2571
2572
hongyu24200d32015-01-08 15:13:49 -08002573ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002574-include $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08002575endif
2576
Craig Tiller27715ca2015-01-12 16:55:59 -08002577objs/$(CONFIG)/test/core/end2end/tests/census_simple_request.o:
2578
hongyu24200d32015-01-08 15:13:49 -08002579
ctillerc6d61c42014-12-15 14:52:08 -08002580LIBEND2END_TEST_DISAPPEARING_SERVER_SRC = \
2581 test/core/end2end/tests/disappearing_server.c \
2582
2583
ctillercab52e72015-01-06 13:10:23 -08002584LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_DISAPPEARING_SERVER_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08002585
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002586libs/$(CONFIG)/libend2end_test_disappearing_server.a: $(ZLIB_DEP) $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
ctillerc6d61c42014-12-15 14:52:08 -08002587 $(E) "[AR] Creating $@"
2588 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002589 $(Q) rm -f libs/$(CONFIG)/libend2end_test_disappearing_server.a
ctillercab52e72015-01-06 13:10:23 -08002590 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_disappearing_server.a $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002591ifeq ($(SYSTEM),Darwin)
2592 $(Q) ranlib libs/$(CONFIG)/libend2end_test_disappearing_server.a
2593endif
ctillerc6d61c42014-12-15 14:52:08 -08002594
2595
2596
nnoble5b7f32a2014-12-22 08:12:44 -08002597
2598
ctillerc6d61c42014-12-15 14:52:08 -08002599ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002600-include $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08002601endif
2602
Craig Tiller27715ca2015-01-12 16:55:59 -08002603objs/$(CONFIG)/test/core/end2end/tests/disappearing_server.o:
2604
ctillerc6d61c42014-12-15 14:52:08 -08002605
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002606LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_SRC = \
2607 test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c \
2608
2609
ctillercab52e72015-01-06 13:10:23 -08002610LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002611
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002612libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a: $(ZLIB_DEP) $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002613 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002614 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002615 $(Q) rm -f libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a
ctillercab52e72015-01-06 13:10:23 -08002616 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002617ifeq ($(SYSTEM),Darwin)
2618 $(Q) ranlib libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a
2619endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002620
2621
2622
nnoble5b7f32a2014-12-22 08:12:44 -08002623
2624
nnoble69ac39f2014-12-12 15:43:38 -08002625ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002626-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002627endif
2628
Craig Tiller27715ca2015-01-12 16:55:59 -08002629objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.o:
2630
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002631
2632LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_SRC = \
2633 test/core/end2end/tests/early_server_shutdown_finishes_tags.c \
2634
2635
ctillercab52e72015-01-06 13:10:23 -08002636LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002637
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002638libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a: $(ZLIB_DEP) $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002639 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002640 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002641 $(Q) rm -f libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a
ctillercab52e72015-01-06 13:10:23 -08002642 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002643ifeq ($(SYSTEM),Darwin)
2644 $(Q) ranlib libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a
2645endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002646
2647
2648
nnoble5b7f32a2014-12-22 08:12:44 -08002649
2650
nnoble69ac39f2014-12-12 15:43:38 -08002651ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002652-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002653endif
2654
Craig Tiller27715ca2015-01-12 16:55:59 -08002655objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_tags.o:
2656
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002657
Craig Tiller4ffdcd52015-01-16 11:34:55 -08002658LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_SRC = \
2659 test/core/end2end/tests/graceful_server_shutdown.c \
2660
2661
2662LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_SRC))))
2663
2664libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a: $(ZLIB_DEP) $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS)
2665 $(E) "[AR] Creating $@"
2666 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002667 $(Q) rm -f libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a
Craig Tiller4ffdcd52015-01-16 11:34:55 -08002668 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002669ifeq ($(SYSTEM),Darwin)
2670 $(Q) ranlib libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a
2671endif
Craig Tiller4ffdcd52015-01-16 11:34:55 -08002672
2673
2674
2675
2676
2677ifneq ($(NO_DEPS),true)
2678-include $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS:.o=.dep)
2679endif
2680
2681objs/$(CONFIG)/test/core/end2end/tests/graceful_server_shutdown.o:
2682
2683
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002684LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC = \
2685 test/core/end2end/tests/invoke_large_request.c \
2686
2687
ctillercab52e72015-01-06 13:10:23 -08002688LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002689
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002690libs/$(CONFIG)/libend2end_test_invoke_large_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002691 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002692 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002693 $(Q) rm -f libs/$(CONFIG)/libend2end_test_invoke_large_request.a
ctillercab52e72015-01-06 13:10:23 -08002694 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_invoke_large_request.a $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002695ifeq ($(SYSTEM),Darwin)
2696 $(Q) ranlib libs/$(CONFIG)/libend2end_test_invoke_large_request.a
2697endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002698
2699
2700
nnoble5b7f32a2014-12-22 08:12:44 -08002701
2702
nnoble69ac39f2014-12-12 15:43:38 -08002703ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002704-include $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002705endif
2706
Craig Tiller27715ca2015-01-12 16:55:59 -08002707objs/$(CONFIG)/test/core/end2end/tests/invoke_large_request.o:
2708
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002709
2710LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC = \
2711 test/core/end2end/tests/max_concurrent_streams.c \
2712
2713
ctillercab52e72015-01-06 13:10:23 -08002714LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002715
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002716libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a: $(ZLIB_DEP) $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002717 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002718 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002719 $(Q) rm -f libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a
ctillercab52e72015-01-06 13:10:23 -08002720 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002721ifeq ($(SYSTEM),Darwin)
2722 $(Q) ranlib libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a
2723endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002724
2725
2726
nnoble5b7f32a2014-12-22 08:12:44 -08002727
2728
nnoble69ac39f2014-12-12 15:43:38 -08002729ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002730-include $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002731endif
2732
Craig Tiller27715ca2015-01-12 16:55:59 -08002733objs/$(CONFIG)/test/core/end2end/tests/max_concurrent_streams.o:
2734
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002735
2736LIBEND2END_TEST_NO_OP_SRC = \
2737 test/core/end2end/tests/no_op.c \
2738
2739
ctillercab52e72015-01-06 13:10:23 -08002740LIBEND2END_TEST_NO_OP_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_NO_OP_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002741
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002742libs/$(CONFIG)/libend2end_test_no_op.a: $(ZLIB_DEP) $(LIBEND2END_TEST_NO_OP_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002743 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002744 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002745 $(Q) rm -f libs/$(CONFIG)/libend2end_test_no_op.a
ctillercab52e72015-01-06 13:10:23 -08002746 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_no_op.a $(LIBEND2END_TEST_NO_OP_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002747ifeq ($(SYSTEM),Darwin)
2748 $(Q) ranlib libs/$(CONFIG)/libend2end_test_no_op.a
2749endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002750
2751
2752
nnoble5b7f32a2014-12-22 08:12:44 -08002753
2754
nnoble69ac39f2014-12-12 15:43:38 -08002755ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002756-include $(LIBEND2END_TEST_NO_OP_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002757endif
2758
Craig Tiller27715ca2015-01-12 16:55:59 -08002759objs/$(CONFIG)/test/core/end2end/tests/no_op.o:
2760
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002761
2762LIBEND2END_TEST_PING_PONG_STREAMING_SRC = \
2763 test/core/end2end/tests/ping_pong_streaming.c \
2764
2765
ctillercab52e72015-01-06 13:10:23 -08002766LIBEND2END_TEST_PING_PONG_STREAMING_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_PING_PONG_STREAMING_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002767
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002768libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a: $(ZLIB_DEP) $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002769 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002770 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002771 $(Q) rm -f libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a
ctillercab52e72015-01-06 13:10:23 -08002772 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002773ifeq ($(SYSTEM),Darwin)
2774 $(Q) ranlib libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a
2775endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002776
2777
2778
nnoble5b7f32a2014-12-22 08:12:44 -08002779
2780
nnoble69ac39f2014-12-12 15:43:38 -08002781ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002782-include $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002783endif
2784
Craig Tiller27715ca2015-01-12 16:55:59 -08002785objs/$(CONFIG)/test/core/end2end/tests/ping_pong_streaming.o:
2786
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002787
ctiller33023c42014-12-12 16:28:33 -08002788LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_SRC = \
2789 test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c \
2790
2791
ctillercab52e72015-01-06 13:10:23 -08002792LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_SRC))))
ctiller33023c42014-12-12 16:28:33 -08002793
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002794libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a: $(ZLIB_DEP) $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS)
ctiller33023c42014-12-12 16:28:33 -08002795 $(E) "[AR] Creating $@"
2796 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002797 $(Q) rm -f libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a
ctillercab52e72015-01-06 13:10:23 -08002798 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002799ifeq ($(SYSTEM),Darwin)
2800 $(Q) ranlib libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a
2801endif
ctiller33023c42014-12-12 16:28:33 -08002802
2803
2804
nnoble5b7f32a2014-12-22 08:12:44 -08002805
2806
ctiller33023c42014-12-12 16:28:33 -08002807ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002808-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08002809endif
2810
Craig Tiller27715ca2015-01-12 16:55:59 -08002811objs/$(CONFIG)/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.o:
2812
ctiller33023c42014-12-12 16:28:33 -08002813
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002814LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_SRC = \
2815 test/core/end2end/tests/request_response_with_metadata_and_payload.c \
2816
2817
ctillercab52e72015-01-06 13:10:23 -08002818LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002819
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002820libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a: $(ZLIB_DEP) $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002821 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002822 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002823 $(Q) rm -f libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a
ctillercab52e72015-01-06 13:10:23 -08002824 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002825ifeq ($(SYSTEM),Darwin)
2826 $(Q) ranlib libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a
2827endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002828
2829
2830
nnoble5b7f32a2014-12-22 08:12:44 -08002831
2832
nnoble69ac39f2014-12-12 15:43:38 -08002833ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002834-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002835endif
2836
Craig Tiller27715ca2015-01-12 16:55:59 -08002837objs/$(CONFIG)/test/core/end2end/tests/request_response_with_metadata_and_payload.o:
2838
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002839
2840LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_SRC = \
2841 test/core/end2end/tests/request_response_with_payload.c \
2842
2843
ctillercab52e72015-01-06 13:10:23 -08002844LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002845
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002846libs/$(CONFIG)/libend2end_test_request_response_with_payload.a: $(ZLIB_DEP) $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002847 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002848 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002849 $(Q) rm -f libs/$(CONFIG)/libend2end_test_request_response_with_payload.a
ctillercab52e72015-01-06 13:10:23 -08002850 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002851ifeq ($(SYSTEM),Darwin)
2852 $(Q) ranlib libs/$(CONFIG)/libend2end_test_request_response_with_payload.a
2853endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002854
2855
2856
nnoble5b7f32a2014-12-22 08:12:44 -08002857
2858
nnoble69ac39f2014-12-12 15:43:38 -08002859ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002860-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002861endif
2862
Craig Tiller27715ca2015-01-12 16:55:59 -08002863objs/$(CONFIG)/test/core/end2end/tests/request_response_with_payload.o:
2864
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002865
ctiller2845cad2014-12-15 15:14:12 -08002866LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_SRC = \
2867 test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c \
2868
2869
ctillercab52e72015-01-06 13:10:23 -08002870LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_SRC))))
ctiller2845cad2014-12-15 15:14:12 -08002871
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002872libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a: $(ZLIB_DEP) $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS)
ctiller2845cad2014-12-15 15:14:12 -08002873 $(E) "[AR] Creating $@"
2874 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002875 $(Q) rm -f libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a
ctillercab52e72015-01-06 13:10:23 -08002876 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002877ifeq ($(SYSTEM),Darwin)
2878 $(Q) ranlib libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a
2879endif
ctiller2845cad2014-12-15 15:14:12 -08002880
2881
2882
nnoble5b7f32a2014-12-22 08:12:44 -08002883
2884
ctiller2845cad2014-12-15 15:14:12 -08002885ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002886-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08002887endif
2888
Craig Tiller27715ca2015-01-12 16:55:59 -08002889objs/$(CONFIG)/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.o:
2890
ctiller2845cad2014-12-15 15:14:12 -08002891
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002892LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC = \
2893 test/core/end2end/tests/simple_delayed_request.c \
2894
2895
ctillercab52e72015-01-06 13:10:23 -08002896LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002897
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002898libs/$(CONFIG)/libend2end_test_simple_delayed_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002899 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002900 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002901 $(Q) rm -f libs/$(CONFIG)/libend2end_test_simple_delayed_request.a
ctillercab52e72015-01-06 13:10:23 -08002902 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_delayed_request.a $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002903ifeq ($(SYSTEM),Darwin)
2904 $(Q) ranlib libs/$(CONFIG)/libend2end_test_simple_delayed_request.a
2905endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002906
2907
2908
nnoble5b7f32a2014-12-22 08:12:44 -08002909
2910
nnoble69ac39f2014-12-12 15:43:38 -08002911ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002912-include $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002913endif
2914
Craig Tiller27715ca2015-01-12 16:55:59 -08002915objs/$(CONFIG)/test/core/end2end/tests/simple_delayed_request.o:
2916
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002917
2918LIBEND2END_TEST_SIMPLE_REQUEST_SRC = \
2919 test/core/end2end/tests/simple_request.c \
2920
2921
ctillercab52e72015-01-06 13:10:23 -08002922LIBEND2END_TEST_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002923
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002924libs/$(CONFIG)/libend2end_test_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002925 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002926 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002927 $(Q) rm -f libs/$(CONFIG)/libend2end_test_simple_request.a
ctillercab52e72015-01-06 13:10:23 -08002928 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_request.a $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002929ifeq ($(SYSTEM),Darwin)
2930 $(Q) ranlib libs/$(CONFIG)/libend2end_test_simple_request.a
2931endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002932
2933
2934
nnoble5b7f32a2014-12-22 08:12:44 -08002935
2936
nnoble69ac39f2014-12-12 15:43:38 -08002937ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002938-include $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002939endif
2940
Craig Tiller27715ca2015-01-12 16:55:59 -08002941objs/$(CONFIG)/test/core/end2end/tests/simple_request.o:
2942
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002943
nathaniel52878172014-12-09 10:17:19 -08002944LIBEND2END_TEST_THREAD_STRESS_SRC = \
2945 test/core/end2end/tests/thread_stress.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002946
2947
ctillercab52e72015-01-06 13:10:23 -08002948LIBEND2END_TEST_THREAD_STRESS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_THREAD_STRESS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002949
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002950libs/$(CONFIG)/libend2end_test_thread_stress.a: $(ZLIB_DEP) $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002951 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002952 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002953 $(Q) rm -f libs/$(CONFIG)/libend2end_test_thread_stress.a
ctillercab52e72015-01-06 13:10:23 -08002954 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_thread_stress.a $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002955ifeq ($(SYSTEM),Darwin)
2956 $(Q) ranlib libs/$(CONFIG)/libend2end_test_thread_stress.a
2957endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002958
2959
2960
nnoble5b7f32a2014-12-22 08:12:44 -08002961
2962
nnoble69ac39f2014-12-12 15:43:38 -08002963ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002964-include $(LIBEND2END_TEST_THREAD_STRESS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002965endif
2966
Craig Tiller27715ca2015-01-12 16:55:59 -08002967objs/$(CONFIG)/test/core/end2end/tests/thread_stress.o:
2968
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002969
2970LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_SRC = \
2971 test/core/end2end/tests/writes_done_hangs_with_pending_read.c \
2972
2973
ctillercab52e72015-01-06 13:10:23 -08002974LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002975
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002976libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a: $(ZLIB_DEP) $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002977 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002978 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002979 $(Q) rm -f libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a
ctillercab52e72015-01-06 13:10:23 -08002980 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002981ifeq ($(SYSTEM),Darwin)
2982 $(Q) ranlib libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a
2983endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002984
2985
2986
nnoble5b7f32a2014-12-22 08:12:44 -08002987
2988
nnoble69ac39f2014-12-12 15:43:38 -08002989ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002990-include $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002991endif
2992
Craig Tiller27715ca2015-01-12 16:55:59 -08002993objs/$(CONFIG)/test/core/end2end/tests/writes_done_hangs_with_pending_read.o:
2994
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002995
2996LIBEND2END_CERTS_SRC = \
chenw97fd9e52014-12-19 17:12:36 -08002997 test/core/end2end/data/test_root_cert.c \
2998 test/core/end2end/data/prod_roots_certs.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002999 test/core/end2end/data/server1_cert.c \
3000 test/core/end2end/data/server1_key.c \
3001
3002
ctillercab52e72015-01-06 13:10:23 -08003003LIBEND2END_CERTS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_CERTS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003004
nnoble69ac39f2014-12-12 15:43:38 -08003005ifeq ($(NO_SECURE),true)
3006
Nicolas Noble047b7272015-01-16 13:55:05 -08003007# You can't build secure libraries if you don't have OpenSSL with ALPN.
3008
ctillercab52e72015-01-06 13:10:23 -08003009libs/$(CONFIG)/libend2end_certs.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003010
nnoble5b7f32a2014-12-22 08:12:44 -08003011
nnoble69ac39f2014-12-12 15:43:38 -08003012else
3013
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01003014ifneq ($(OPENSSL_DEP),)
3015test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
3016test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
3017test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
3018test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
3019endif
3020
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01003021libs/$(CONFIG)/libend2end_certs.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_CERTS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003022 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08003023 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08003024 $(Q) rm -f libs/$(CONFIG)/libend2end_certs.a
ctillercab52e72015-01-06 13:10:23 -08003025 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_certs.a $(LIBEND2END_CERTS_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08003026ifeq ($(SYSTEM),Darwin)
3027 $(Q) ranlib libs/$(CONFIG)/libend2end_certs.a
3028endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003029
3030
3031
nnoble5b7f32a2014-12-22 08:12:44 -08003032
3033
nnoble69ac39f2014-12-12 15:43:38 -08003034endif
3035
nnoble69ac39f2014-12-12 15:43:38 -08003036ifneq ($(NO_SECURE),true)
3037ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003038-include $(LIBEND2END_CERTS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003039endif
nnoble69ac39f2014-12-12 15:43:38 -08003040endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003041
Craig Tiller27715ca2015-01-12 16:55:59 -08003042objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
3043objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
3044objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
3045objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
3046
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003047
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003048
nnoble69ac39f2014-12-12 15:43:38 -08003049# All of the test targets, and protoc plugins
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003050
3051
Craig Tiller17ec5f92015-01-18 11:30:41 -08003052ALARM_HEAP_TEST_SRC = \
3053 test/core/iomgr/alarm_heap_test.c \
3054
3055ALARM_HEAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_HEAP_TEST_SRC))))
3056
3057ifeq ($(NO_SECURE),true)
3058
3059# You can't build secure targets if you don't have OpenSSL with ALPN.
3060
3061bins/$(CONFIG)/alarm_heap_test: openssl_dep_error
3062
3063else
3064
3065bins/$(CONFIG)/alarm_heap_test: $(ALARM_HEAP_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3066 $(E) "[LD] Linking $@"
3067 $(Q) mkdir -p `dirname $@`
3068 $(Q) $(LD) $(LDFLAGS) $(ALARM_HEAP_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/alarm_heap_test
3069
3070endif
3071
3072objs/$(CONFIG)/test/core/iomgr/alarm_heap_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3073
3074deps_alarm_heap_test: $(ALARM_HEAP_TEST_OBJS:.o=.dep)
3075
3076ifneq ($(NO_SECURE),true)
3077ifneq ($(NO_DEPS),true)
3078-include $(ALARM_HEAP_TEST_OBJS:.o=.dep)
3079endif
3080endif
3081
3082
3083ALARM_LIST_TEST_SRC = \
3084 test/core/iomgr/alarm_list_test.c \
3085
3086ALARM_LIST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_LIST_TEST_SRC))))
3087
3088ifeq ($(NO_SECURE),true)
3089
3090# You can't build secure targets if you don't have OpenSSL with ALPN.
3091
3092bins/$(CONFIG)/alarm_list_test: openssl_dep_error
3093
3094else
3095
3096bins/$(CONFIG)/alarm_list_test: $(ALARM_LIST_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3097 $(E) "[LD] Linking $@"
3098 $(Q) mkdir -p `dirname $@`
3099 $(Q) $(LD) $(LDFLAGS) $(ALARM_LIST_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/alarm_list_test
3100
3101endif
3102
3103objs/$(CONFIG)/test/core/iomgr/alarm_list_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3104
3105deps_alarm_list_test: $(ALARM_LIST_TEST_OBJS:.o=.dep)
3106
3107ifneq ($(NO_SECURE),true)
3108ifneq ($(NO_DEPS),true)
3109-include $(ALARM_LIST_TEST_OBJS:.o=.dep)
3110endif
3111endif
3112
3113
3114ALARM_TEST_SRC = \
3115 test/core/iomgr/alarm_test.c \
3116
3117ALARM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_TEST_SRC))))
3118
3119ifeq ($(NO_SECURE),true)
3120
3121# You can't build secure targets if you don't have OpenSSL with ALPN.
3122
3123bins/$(CONFIG)/alarm_test: openssl_dep_error
3124
3125else
3126
3127bins/$(CONFIG)/alarm_test: $(ALARM_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3128 $(E) "[LD] Linking $@"
3129 $(Q) mkdir -p `dirname $@`
3130 $(Q) $(LD) $(LDFLAGS) $(ALARM_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/alarm_test
3131
3132endif
3133
3134objs/$(CONFIG)/test/core/iomgr/alarm_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3135
3136deps_alarm_test: $(ALARM_TEST_OBJS:.o=.dep)
3137
3138ifneq ($(NO_SECURE),true)
3139ifneq ($(NO_DEPS),true)
3140-include $(ALARM_TEST_OBJS:.o=.dep)
3141endif
3142endif
3143
3144
3145ALPN_TEST_SRC = \
3146 test/core/transport/chttp2/alpn_test.c \
3147
3148ALPN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALPN_TEST_SRC))))
3149
3150ifeq ($(NO_SECURE),true)
3151
3152# You can't build secure targets if you don't have OpenSSL with ALPN.
3153
3154bins/$(CONFIG)/alpn_test: openssl_dep_error
3155
3156else
3157
3158bins/$(CONFIG)/alpn_test: $(ALPN_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3159 $(E) "[LD] Linking $@"
3160 $(Q) mkdir -p `dirname $@`
3161 $(Q) $(LD) $(LDFLAGS) $(ALPN_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/alpn_test
3162
3163endif
3164
3165objs/$(CONFIG)/test/core/transport/chttp2/alpn_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3166
3167deps_alpn_test: $(ALPN_TEST_OBJS:.o=.dep)
3168
3169ifneq ($(NO_SECURE),true)
3170ifneq ($(NO_DEPS),true)
3171-include $(ALPN_TEST_OBJS:.o=.dep)
3172endif
3173endif
3174
3175
3176BIN_ENCODER_TEST_SRC = \
3177 test/core/transport/chttp2/bin_encoder_test.c \
3178
3179BIN_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(BIN_ENCODER_TEST_SRC))))
3180
3181ifeq ($(NO_SECURE),true)
3182
3183# You can't build secure targets if you don't have OpenSSL with ALPN.
3184
3185bins/$(CONFIG)/bin_encoder_test: openssl_dep_error
3186
3187else
3188
3189bins/$(CONFIG)/bin_encoder_test: $(BIN_ENCODER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3190 $(E) "[LD] Linking $@"
3191 $(Q) mkdir -p `dirname $@`
3192 $(Q) $(LD) $(LDFLAGS) $(BIN_ENCODER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/bin_encoder_test
3193
3194endif
3195
3196objs/$(CONFIG)/test/core/transport/chttp2/bin_encoder_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3197
3198deps_bin_encoder_test: $(BIN_ENCODER_TEST_OBJS:.o=.dep)
3199
3200ifneq ($(NO_SECURE),true)
3201ifneq ($(NO_DEPS),true)
3202-include $(BIN_ENCODER_TEST_OBJS:.o=.dep)
3203endif
3204endif
3205
3206
3207CENSUS_HASH_TABLE_TEST_SRC = \
3208 test/core/statistics/hash_table_test.c \
3209
3210CENSUS_HASH_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_HASH_TABLE_TEST_SRC))))
3211
3212ifeq ($(NO_SECURE),true)
3213
3214# You can't build secure targets if you don't have OpenSSL with ALPN.
3215
3216bins/$(CONFIG)/census_hash_table_test: openssl_dep_error
3217
3218else
3219
3220bins/$(CONFIG)/census_hash_table_test: $(CENSUS_HASH_TABLE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3221 $(E) "[LD] Linking $@"
3222 $(Q) mkdir -p `dirname $@`
3223 $(Q) $(LD) $(LDFLAGS) $(CENSUS_HASH_TABLE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/census_hash_table_test
3224
3225endif
3226
3227objs/$(CONFIG)/test/core/statistics/hash_table_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3228
3229deps_census_hash_table_test: $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
3230
3231ifneq ($(NO_SECURE),true)
3232ifneq ($(NO_DEPS),true)
3233-include $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
3234endif
3235endif
3236
3237
3238CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_SRC = \
3239 test/core/statistics/multiple_writers_circular_buffer_test.c \
3240
3241CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_SRC))))
3242
3243ifeq ($(NO_SECURE),true)
3244
3245# You can't build secure targets if you don't have OpenSSL with ALPN.
3246
3247bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test: openssl_dep_error
3248
3249else
3250
3251bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3252 $(E) "[LD] Linking $@"
3253 $(Q) mkdir -p `dirname $@`
3254 $(Q) $(LD) $(LDFLAGS) $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test
3255
3256endif
3257
3258objs/$(CONFIG)/test/core/statistics/multiple_writers_circular_buffer_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3259
3260deps_census_statistics_multiple_writers_circular_buffer_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
3261
3262ifneq ($(NO_SECURE),true)
3263ifneq ($(NO_DEPS),true)
3264-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
3265endif
3266endif
3267
3268
3269CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC = \
3270 test/core/statistics/multiple_writers_test.c \
3271
3272CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC))))
3273
3274ifeq ($(NO_SECURE),true)
3275
3276# You can't build secure targets if you don't have OpenSSL with ALPN.
3277
3278bins/$(CONFIG)/census_statistics_multiple_writers_test: openssl_dep_error
3279
3280else
3281
3282bins/$(CONFIG)/census_statistics_multiple_writers_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3283 $(E) "[LD] Linking $@"
3284 $(Q) mkdir -p `dirname $@`
3285 $(Q) $(LD) $(LDFLAGS) $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/census_statistics_multiple_writers_test
3286
3287endif
3288
3289objs/$(CONFIG)/test/core/statistics/multiple_writers_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3290
3291deps_census_statistics_multiple_writers_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
3292
3293ifneq ($(NO_SECURE),true)
3294ifneq ($(NO_DEPS),true)
3295-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
3296endif
3297endif
3298
3299
3300CENSUS_STATISTICS_PERFORMANCE_TEST_SRC = \
3301 test/core/statistics/performance_test.c \
3302
3303CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_PERFORMANCE_TEST_SRC))))
3304
3305ifeq ($(NO_SECURE),true)
3306
3307# You can't build secure targets if you don't have OpenSSL with ALPN.
3308
3309bins/$(CONFIG)/census_statistics_performance_test: openssl_dep_error
3310
3311else
3312
3313bins/$(CONFIG)/census_statistics_performance_test: $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3314 $(E) "[LD] Linking $@"
3315 $(Q) mkdir -p `dirname $@`
3316 $(Q) $(LD) $(LDFLAGS) $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/census_statistics_performance_test
3317
3318endif
3319
3320objs/$(CONFIG)/test/core/statistics/performance_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3321
3322deps_census_statistics_performance_test: $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
3323
3324ifneq ($(NO_SECURE),true)
3325ifneq ($(NO_DEPS),true)
3326-include $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
3327endif
3328endif
3329
3330
3331CENSUS_STATISTICS_QUICK_TEST_SRC = \
3332 test/core/statistics/quick_test.c \
3333
3334CENSUS_STATISTICS_QUICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_QUICK_TEST_SRC))))
3335
3336ifeq ($(NO_SECURE),true)
3337
3338# You can't build secure targets if you don't have OpenSSL with ALPN.
3339
3340bins/$(CONFIG)/census_statistics_quick_test: openssl_dep_error
3341
3342else
3343
3344bins/$(CONFIG)/census_statistics_quick_test: $(CENSUS_STATISTICS_QUICK_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3345 $(E) "[LD] Linking $@"
3346 $(Q) mkdir -p `dirname $@`
3347 $(Q) $(LD) $(LDFLAGS) $(CENSUS_STATISTICS_QUICK_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/census_statistics_quick_test
3348
3349endif
3350
3351objs/$(CONFIG)/test/core/statistics/quick_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3352
3353deps_census_statistics_quick_test: $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
3354
3355ifneq ($(NO_SECURE),true)
3356ifneq ($(NO_DEPS),true)
3357-include $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
3358endif
3359endif
3360
3361
3362CENSUS_STATISTICS_SMALL_LOG_TEST_SRC = \
3363 test/core/statistics/small_log_test.c \
3364
3365CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_SMALL_LOG_TEST_SRC))))
3366
3367ifeq ($(NO_SECURE),true)
3368
3369# You can't build secure targets if you don't have OpenSSL with ALPN.
3370
3371bins/$(CONFIG)/census_statistics_small_log_test: openssl_dep_error
3372
3373else
3374
3375bins/$(CONFIG)/census_statistics_small_log_test: $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3376 $(E) "[LD] Linking $@"
3377 $(Q) mkdir -p `dirname $@`
3378 $(Q) $(LD) $(LDFLAGS) $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/census_statistics_small_log_test
3379
3380endif
3381
3382objs/$(CONFIG)/test/core/statistics/small_log_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3383
3384deps_census_statistics_small_log_test: $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
3385
3386ifneq ($(NO_SECURE),true)
3387ifneq ($(NO_DEPS),true)
3388-include $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
3389endif
3390endif
3391
3392
3393CENSUS_STATS_STORE_TEST_SRC = \
3394 test/core/statistics/rpc_stats_test.c \
3395
3396CENSUS_STATS_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATS_STORE_TEST_SRC))))
3397
3398ifeq ($(NO_SECURE),true)
3399
3400# You can't build secure targets if you don't have OpenSSL with ALPN.
3401
3402bins/$(CONFIG)/census_stats_store_test: openssl_dep_error
3403
3404else
3405
3406bins/$(CONFIG)/census_stats_store_test: $(CENSUS_STATS_STORE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3407 $(E) "[LD] Linking $@"
3408 $(Q) mkdir -p `dirname $@`
3409 $(Q) $(LD) $(LDFLAGS) $(CENSUS_STATS_STORE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/census_stats_store_test
3410
3411endif
3412
3413objs/$(CONFIG)/test/core/statistics/rpc_stats_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3414
3415deps_census_stats_store_test: $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
3416
3417ifneq ($(NO_SECURE),true)
3418ifneq ($(NO_DEPS),true)
3419-include $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
3420endif
3421endif
3422
3423
3424CENSUS_STUB_TEST_SRC = \
3425 test/core/statistics/census_stub_test.c \
3426
3427CENSUS_STUB_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STUB_TEST_SRC))))
3428
3429ifeq ($(NO_SECURE),true)
3430
3431# You can't build secure targets if you don't have OpenSSL with ALPN.
3432
3433bins/$(CONFIG)/census_stub_test: openssl_dep_error
3434
3435else
3436
3437bins/$(CONFIG)/census_stub_test: $(CENSUS_STUB_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3438 $(E) "[LD] Linking $@"
3439 $(Q) mkdir -p `dirname $@`
3440 $(Q) $(LD) $(LDFLAGS) $(CENSUS_STUB_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/census_stub_test
3441
3442endif
3443
3444objs/$(CONFIG)/test/core/statistics/census_stub_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3445
3446deps_census_stub_test: $(CENSUS_STUB_TEST_OBJS:.o=.dep)
3447
3448ifneq ($(NO_SECURE),true)
3449ifneq ($(NO_DEPS),true)
3450-include $(CENSUS_STUB_TEST_OBJS:.o=.dep)
3451endif
3452endif
3453
3454
3455CENSUS_TRACE_STORE_TEST_SRC = \
3456 test/core/statistics/trace_test.c \
3457
3458CENSUS_TRACE_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_TRACE_STORE_TEST_SRC))))
3459
3460ifeq ($(NO_SECURE),true)
3461
3462# You can't build secure targets if you don't have OpenSSL with ALPN.
3463
3464bins/$(CONFIG)/census_trace_store_test: openssl_dep_error
3465
3466else
3467
3468bins/$(CONFIG)/census_trace_store_test: $(CENSUS_TRACE_STORE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3469 $(E) "[LD] Linking $@"
3470 $(Q) mkdir -p `dirname $@`
3471 $(Q) $(LD) $(LDFLAGS) $(CENSUS_TRACE_STORE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/census_trace_store_test
3472
3473endif
3474
3475objs/$(CONFIG)/test/core/statistics/trace_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3476
3477deps_census_trace_store_test: $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
3478
3479ifneq ($(NO_SECURE),true)
3480ifneq ($(NO_DEPS),true)
3481-include $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
3482endif
3483endif
3484
3485
3486CENSUS_WINDOW_STATS_TEST_SRC = \
3487 test/core/statistics/window_stats_test.c \
3488
3489CENSUS_WINDOW_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_WINDOW_STATS_TEST_SRC))))
3490
3491ifeq ($(NO_SECURE),true)
3492
3493# You can't build secure targets if you don't have OpenSSL with ALPN.
3494
3495bins/$(CONFIG)/census_window_stats_test: openssl_dep_error
3496
3497else
3498
3499bins/$(CONFIG)/census_window_stats_test: $(CENSUS_WINDOW_STATS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3500 $(E) "[LD] Linking $@"
3501 $(Q) mkdir -p `dirname $@`
3502 $(Q) $(LD) $(LDFLAGS) $(CENSUS_WINDOW_STATS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/census_window_stats_test
3503
3504endif
3505
3506objs/$(CONFIG)/test/core/statistics/window_stats_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3507
3508deps_census_window_stats_test: $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
3509
3510ifneq ($(NO_SECURE),true)
3511ifneq ($(NO_DEPS),true)
3512-include $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
3513endif
3514endif
3515
3516
Craig Tiller17ec5f92015-01-18 11:30:41 -08003517CHTTP2_STATUS_CONVERSION_TEST_SRC = \
3518 test/core/transport/chttp2/status_conversion_test.c \
3519
3520CHTTP2_STATUS_CONVERSION_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STATUS_CONVERSION_TEST_SRC))))
3521
3522ifeq ($(NO_SECURE),true)
3523
3524# You can't build secure targets if you don't have OpenSSL with ALPN.
3525
3526bins/$(CONFIG)/chttp2_status_conversion_test: openssl_dep_error
3527
3528else
3529
3530bins/$(CONFIG)/chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3531 $(E) "[LD] Linking $@"
3532 $(Q) mkdir -p `dirname $@`
3533 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_STATUS_CONVERSION_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_status_conversion_test
3534
3535endif
3536
3537objs/$(CONFIG)/test/core/transport/chttp2/status_conversion_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3538
3539deps_chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
3540
3541ifneq ($(NO_SECURE),true)
3542ifneq ($(NO_DEPS),true)
3543-include $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
3544endif
3545endif
3546
3547
3548CHTTP2_STREAM_ENCODER_TEST_SRC = \
3549 test/core/transport/chttp2/stream_encoder_test.c \
3550
3551CHTTP2_STREAM_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_ENCODER_TEST_SRC))))
3552
3553ifeq ($(NO_SECURE),true)
3554
3555# You can't build secure targets if you don't have OpenSSL with ALPN.
3556
3557bins/$(CONFIG)/chttp2_stream_encoder_test: openssl_dep_error
3558
3559else
3560
3561bins/$(CONFIG)/chttp2_stream_encoder_test: $(CHTTP2_STREAM_ENCODER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3562 $(E) "[LD] Linking $@"
3563 $(Q) mkdir -p `dirname $@`
3564 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_STREAM_ENCODER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_stream_encoder_test
3565
3566endif
3567
3568objs/$(CONFIG)/test/core/transport/chttp2/stream_encoder_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3569
3570deps_chttp2_stream_encoder_test: $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
3571
3572ifneq ($(NO_SECURE),true)
3573ifneq ($(NO_DEPS),true)
3574-include $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
3575endif
3576endif
3577
3578
3579CHTTP2_STREAM_MAP_TEST_SRC = \
3580 test/core/transport/chttp2/stream_map_test.c \
3581
3582CHTTP2_STREAM_MAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_MAP_TEST_SRC))))
3583
3584ifeq ($(NO_SECURE),true)
3585
3586# You can't build secure targets if you don't have OpenSSL with ALPN.
3587
3588bins/$(CONFIG)/chttp2_stream_map_test: openssl_dep_error
3589
3590else
3591
3592bins/$(CONFIG)/chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3593 $(E) "[LD] Linking $@"
3594 $(Q) mkdir -p `dirname $@`
3595 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_STREAM_MAP_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_stream_map_test
3596
3597endif
3598
3599objs/$(CONFIG)/test/core/transport/chttp2/stream_map_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3600
3601deps_chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
3602
3603ifneq ($(NO_SECURE),true)
3604ifneq ($(NO_DEPS),true)
3605-include $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
3606endif
3607endif
3608
3609
3610CHTTP2_TRANSPORT_END2END_TEST_SRC = \
3611 test/core/transport/chttp2_transport_end2end_test.c \
3612
3613CHTTP2_TRANSPORT_END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_TRANSPORT_END2END_TEST_SRC))))
3614
3615ifeq ($(NO_SECURE),true)
3616
3617# You can't build secure targets if you don't have OpenSSL with ALPN.
3618
3619bins/$(CONFIG)/chttp2_transport_end2end_test: openssl_dep_error
3620
3621else
3622
3623bins/$(CONFIG)/chttp2_transport_end2end_test: $(CHTTP2_TRANSPORT_END2END_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3624 $(E) "[LD] Linking $@"
3625 $(Q) mkdir -p `dirname $@`
3626 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_TRANSPORT_END2END_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_transport_end2end_test
3627
3628endif
3629
3630objs/$(CONFIG)/test/core/transport/chttp2_transport_end2end_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3631
3632deps_chttp2_transport_end2end_test: $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
3633
3634ifneq ($(NO_SECURE),true)
3635ifneq ($(NO_DEPS),true)
3636-include $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
3637endif
3638endif
3639
3640
Craig Tiller17ec5f92015-01-18 11:30:41 -08003641DUALSTACK_SOCKET_TEST_SRC = \
3642 test/core/end2end/dualstack_socket_test.c \
3643
3644DUALSTACK_SOCKET_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(DUALSTACK_SOCKET_TEST_SRC))))
3645
3646ifeq ($(NO_SECURE),true)
3647
3648# You can't build secure targets if you don't have OpenSSL with ALPN.
3649
3650bins/$(CONFIG)/dualstack_socket_test: openssl_dep_error
3651
3652else
3653
3654bins/$(CONFIG)/dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3655 $(E) "[LD] Linking $@"
3656 $(Q) mkdir -p `dirname $@`
3657 $(Q) $(LD) $(LDFLAGS) $(DUALSTACK_SOCKET_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/dualstack_socket_test
3658
3659endif
3660
3661objs/$(CONFIG)/test/core/end2end/dualstack_socket_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3662
3663deps_dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
3664
3665ifneq ($(NO_SECURE),true)
3666ifneq ($(NO_DEPS),true)
3667-include $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
3668endif
3669endif
3670
3671
3672ECHO_CLIENT_SRC = \
3673 test/core/echo/client.c \
3674
3675ECHO_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_CLIENT_SRC))))
3676
3677ifeq ($(NO_SECURE),true)
3678
3679# You can't build secure targets if you don't have OpenSSL with ALPN.
3680
3681bins/$(CONFIG)/echo_client: openssl_dep_error
3682
3683else
3684
3685bins/$(CONFIG)/echo_client: $(ECHO_CLIENT_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3686 $(E) "[LD] Linking $@"
3687 $(Q) mkdir -p `dirname $@`
3688 $(Q) $(LD) $(LDFLAGS) $(ECHO_CLIENT_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/echo_client
3689
3690endif
3691
3692objs/$(CONFIG)/test/core/echo/client.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3693
3694deps_echo_client: $(ECHO_CLIENT_OBJS:.o=.dep)
3695
3696ifneq ($(NO_SECURE),true)
3697ifneq ($(NO_DEPS),true)
3698-include $(ECHO_CLIENT_OBJS:.o=.dep)
3699endif
3700endif
3701
3702
3703ECHO_SERVER_SRC = \
3704 test/core/echo/server.c \
3705
3706ECHO_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_SERVER_SRC))))
3707
3708ifeq ($(NO_SECURE),true)
3709
3710# You can't build secure targets if you don't have OpenSSL with ALPN.
3711
3712bins/$(CONFIG)/echo_server: openssl_dep_error
3713
3714else
3715
3716bins/$(CONFIG)/echo_server: $(ECHO_SERVER_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3717 $(E) "[LD] Linking $@"
3718 $(Q) mkdir -p `dirname $@`
3719 $(Q) $(LD) $(LDFLAGS) $(ECHO_SERVER_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/echo_server
3720
3721endif
3722
3723objs/$(CONFIG)/test/core/echo/server.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3724
3725deps_echo_server: $(ECHO_SERVER_OBJS:.o=.dep)
3726
3727ifneq ($(NO_SECURE),true)
3728ifneq ($(NO_DEPS),true)
3729-include $(ECHO_SERVER_OBJS:.o=.dep)
3730endif
3731endif
3732
3733
3734ECHO_TEST_SRC = \
3735 test/core/echo/echo_test.c \
3736
3737ECHO_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_TEST_SRC))))
3738
3739ifeq ($(NO_SECURE),true)
3740
3741# You can't build secure targets if you don't have OpenSSL with ALPN.
3742
3743bins/$(CONFIG)/echo_test: openssl_dep_error
3744
3745else
3746
3747bins/$(CONFIG)/echo_test: $(ECHO_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3748 $(E) "[LD] Linking $@"
3749 $(Q) mkdir -p `dirname $@`
3750 $(Q) $(LD) $(LDFLAGS) $(ECHO_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/echo_test
3751
3752endif
3753
3754objs/$(CONFIG)/test/core/echo/echo_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3755
3756deps_echo_test: $(ECHO_TEST_OBJS:.o=.dep)
3757
3758ifneq ($(NO_SECURE),true)
3759ifneq ($(NO_DEPS),true)
3760-include $(ECHO_TEST_OBJS:.o=.dep)
3761endif
3762endif
3763
3764
Craig Tiller17ec5f92015-01-18 11:30:41 -08003765FD_POSIX_TEST_SRC = \
3766 test/core/iomgr/fd_posix_test.c \
3767
3768FD_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FD_POSIX_TEST_SRC))))
3769
3770ifeq ($(NO_SECURE),true)
3771
3772# You can't build secure targets if you don't have OpenSSL with ALPN.
3773
3774bins/$(CONFIG)/fd_posix_test: openssl_dep_error
3775
3776else
3777
3778bins/$(CONFIG)/fd_posix_test: $(FD_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3779 $(E) "[LD] Linking $@"
3780 $(Q) mkdir -p `dirname $@`
3781 $(Q) $(LD) $(LDFLAGS) $(FD_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/fd_posix_test
3782
3783endif
3784
3785objs/$(CONFIG)/test/core/iomgr/fd_posix_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3786
3787deps_fd_posix_test: $(FD_POSIX_TEST_OBJS:.o=.dep)
3788
3789ifneq ($(NO_SECURE),true)
3790ifneq ($(NO_DEPS),true)
3791-include $(FD_POSIX_TEST_OBJS:.o=.dep)
3792endif
3793endif
3794
3795
3796FLING_CLIENT_SRC = \
3797 test/core/fling/client.c \
3798
3799FLING_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_CLIENT_SRC))))
3800
3801ifeq ($(NO_SECURE),true)
3802
3803# You can't build secure targets if you don't have OpenSSL with ALPN.
3804
3805bins/$(CONFIG)/fling_client: openssl_dep_error
3806
3807else
3808
3809bins/$(CONFIG)/fling_client: $(FLING_CLIENT_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3810 $(E) "[LD] Linking $@"
3811 $(Q) mkdir -p `dirname $@`
3812 $(Q) $(LD) $(LDFLAGS) $(FLING_CLIENT_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/fling_client
3813
3814endif
3815
3816objs/$(CONFIG)/test/core/fling/client.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3817
3818deps_fling_client: $(FLING_CLIENT_OBJS:.o=.dep)
3819
3820ifneq ($(NO_SECURE),true)
3821ifneq ($(NO_DEPS),true)
3822-include $(FLING_CLIENT_OBJS:.o=.dep)
3823endif
3824endif
3825
3826
3827FLING_SERVER_SRC = \
3828 test/core/fling/server.c \
3829
3830FLING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_SERVER_SRC))))
3831
3832ifeq ($(NO_SECURE),true)
3833
3834# You can't build secure targets if you don't have OpenSSL with ALPN.
3835
3836bins/$(CONFIG)/fling_server: openssl_dep_error
3837
3838else
3839
3840bins/$(CONFIG)/fling_server: $(FLING_SERVER_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3841 $(E) "[LD] Linking $@"
3842 $(Q) mkdir -p `dirname $@`
3843 $(Q) $(LD) $(LDFLAGS) $(FLING_SERVER_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/fling_server
3844
3845endif
3846
3847objs/$(CONFIG)/test/core/fling/server.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3848
3849deps_fling_server: $(FLING_SERVER_OBJS:.o=.dep)
3850
3851ifneq ($(NO_SECURE),true)
3852ifneq ($(NO_DEPS),true)
3853-include $(FLING_SERVER_OBJS:.o=.dep)
3854endif
3855endif
3856
3857
3858FLING_STREAM_TEST_SRC = \
3859 test/core/fling/fling_stream_test.c \
3860
3861FLING_STREAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_STREAM_TEST_SRC))))
3862
3863ifeq ($(NO_SECURE),true)
3864
3865# You can't build secure targets if you don't have OpenSSL with ALPN.
3866
3867bins/$(CONFIG)/fling_stream_test: openssl_dep_error
3868
3869else
3870
3871bins/$(CONFIG)/fling_stream_test: $(FLING_STREAM_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3872 $(E) "[LD] Linking $@"
3873 $(Q) mkdir -p `dirname $@`
3874 $(Q) $(LD) $(LDFLAGS) $(FLING_STREAM_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/fling_stream_test
3875
3876endif
3877
3878objs/$(CONFIG)/test/core/fling/fling_stream_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3879
3880deps_fling_stream_test: $(FLING_STREAM_TEST_OBJS:.o=.dep)
3881
3882ifneq ($(NO_SECURE),true)
3883ifneq ($(NO_DEPS),true)
3884-include $(FLING_STREAM_TEST_OBJS:.o=.dep)
3885endif
3886endif
3887
3888
3889FLING_TEST_SRC = \
3890 test/core/fling/fling_test.c \
3891
3892FLING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_TEST_SRC))))
3893
3894ifeq ($(NO_SECURE),true)
3895
3896# You can't build secure targets if you don't have OpenSSL with ALPN.
3897
3898bins/$(CONFIG)/fling_test: openssl_dep_error
3899
3900else
3901
3902bins/$(CONFIG)/fling_test: $(FLING_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3903 $(E) "[LD] Linking $@"
3904 $(Q) mkdir -p `dirname $@`
3905 $(Q) $(LD) $(LDFLAGS) $(FLING_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/fling_test
3906
3907endif
3908
3909objs/$(CONFIG)/test/core/fling/fling_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3910
3911deps_fling_test: $(FLING_TEST_OBJS:.o=.dep)
3912
3913ifneq ($(NO_SECURE),true)
3914ifneq ($(NO_DEPS),true)
3915-include $(FLING_TEST_OBJS:.o=.dep)
3916endif
3917endif
3918
3919
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003920GEN_HPACK_TABLES_SRC = \
3921 src/core/transport/chttp2/gen_hpack_tables.c \
3922
ctillercab52e72015-01-06 13:10:23 -08003923GEN_HPACK_TABLES_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_HPACK_TABLES_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003924
nnoble69ac39f2014-12-12 15:43:38 -08003925ifeq ($(NO_SECURE),true)
3926
Nicolas Noble047b7272015-01-16 13:55:05 -08003927# You can't build secure targets if you don't have OpenSSL with ALPN.
3928
ctillercab52e72015-01-06 13:10:23 -08003929bins/$(CONFIG)/gen_hpack_tables: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003930
3931else
3932
ctillercab52e72015-01-06 13:10:23 -08003933bins/$(CONFIG)/gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003934 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003935 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08003936 $(Q) $(LD) $(LDFLAGS) $(GEN_HPACK_TABLES_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gen_hpack_tables
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003937
nnoble69ac39f2014-12-12 15:43:38 -08003938endif
3939
Craig Tillerd4773f52015-01-12 16:38:47 -08003940objs/$(CONFIG)/src/core/transport/chttp2/gen_hpack_tables.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a
3941
Craig Tiller8f126a62015-01-15 08:50:19 -08003942deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003943
nnoble69ac39f2014-12-12 15:43:38 -08003944ifneq ($(NO_SECURE),true)
3945ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003946-include $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003947endif
nnoble69ac39f2014-12-12 15:43:38 -08003948endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003949
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003950
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003951GPR_CANCELLABLE_TEST_SRC = \
3952 test/core/support/cancellable_test.c \
3953
ctillercab52e72015-01-06 13:10:23 -08003954GPR_CANCELLABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CANCELLABLE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003955
nnoble69ac39f2014-12-12 15:43:38 -08003956ifeq ($(NO_SECURE),true)
3957
Nicolas Noble047b7272015-01-16 13:55:05 -08003958# You can't build secure targets if you don't have OpenSSL with ALPN.
3959
ctillercab52e72015-01-06 13:10:23 -08003960bins/$(CONFIG)/gpr_cancellable_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003961
3962else
3963
nnoble5f2ecb32015-01-12 16:40:18 -08003964bins/$(CONFIG)/gpr_cancellable_test: $(GPR_CANCELLABLE_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003965 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003966 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003967 $(Q) $(LD) $(LDFLAGS) $(GPR_CANCELLABLE_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_cancellable_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003968
nnoble69ac39f2014-12-12 15:43:38 -08003969endif
3970
Craig Tiller770f60a2015-01-12 17:44:43 -08003971objs/$(CONFIG)/test/core/support/cancellable_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003972
Craig Tiller8f126a62015-01-15 08:50:19 -08003973deps_gpr_cancellable_test: $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003974
nnoble69ac39f2014-12-12 15:43:38 -08003975ifneq ($(NO_SECURE),true)
3976ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003977-include $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003978endif
nnoble69ac39f2014-12-12 15:43:38 -08003979endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003980
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003981
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003982GPR_CMDLINE_TEST_SRC = \
3983 test/core/support/cmdline_test.c \
3984
ctillercab52e72015-01-06 13:10:23 -08003985GPR_CMDLINE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CMDLINE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003986
nnoble69ac39f2014-12-12 15:43:38 -08003987ifeq ($(NO_SECURE),true)
3988
Nicolas Noble047b7272015-01-16 13:55:05 -08003989# You can't build secure targets if you don't have OpenSSL with ALPN.
3990
ctillercab52e72015-01-06 13:10:23 -08003991bins/$(CONFIG)/gpr_cmdline_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003992
3993else
3994
nnoble5f2ecb32015-01-12 16:40:18 -08003995bins/$(CONFIG)/gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003996 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003997 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003998 $(Q) $(LD) $(LDFLAGS) $(GPR_CMDLINE_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_cmdline_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003999
nnoble69ac39f2014-12-12 15:43:38 -08004000endif
4001
Craig Tiller770f60a2015-01-12 17:44:43 -08004002objs/$(CONFIG)/test/core/support/cmdline_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004003
Craig Tiller8f126a62015-01-15 08:50:19 -08004004deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004005
nnoble69ac39f2014-12-12 15:43:38 -08004006ifneq ($(NO_SECURE),true)
4007ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004008-include $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004009endif
nnoble69ac39f2014-12-12 15:43:38 -08004010endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004011
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004012
4013GPR_HISTOGRAM_TEST_SRC = \
4014 test/core/support/histogram_test.c \
4015
ctillercab52e72015-01-06 13:10:23 -08004016GPR_HISTOGRAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HISTOGRAM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004017
nnoble69ac39f2014-12-12 15:43:38 -08004018ifeq ($(NO_SECURE),true)
4019
Nicolas Noble047b7272015-01-16 13:55:05 -08004020# You can't build secure targets if you don't have OpenSSL with ALPN.
4021
ctillercab52e72015-01-06 13:10:23 -08004022bins/$(CONFIG)/gpr_histogram_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004023
4024else
4025
nnoble5f2ecb32015-01-12 16:40:18 -08004026bins/$(CONFIG)/gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004027 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004028 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004029 $(Q) $(LD) $(LDFLAGS) $(GPR_HISTOGRAM_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_histogram_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004030
nnoble69ac39f2014-12-12 15:43:38 -08004031endif
4032
Craig Tiller770f60a2015-01-12 17:44:43 -08004033objs/$(CONFIG)/test/core/support/histogram_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004034
Craig Tiller8f126a62015-01-15 08:50:19 -08004035deps_gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004036
nnoble69ac39f2014-12-12 15:43:38 -08004037ifneq ($(NO_SECURE),true)
4038ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004039-include $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004040endif
nnoble69ac39f2014-12-12 15:43:38 -08004041endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004042
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004043
4044GPR_HOST_PORT_TEST_SRC = \
4045 test/core/support/host_port_test.c \
4046
ctillercab52e72015-01-06 13:10:23 -08004047GPR_HOST_PORT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HOST_PORT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004048
nnoble69ac39f2014-12-12 15:43:38 -08004049ifeq ($(NO_SECURE),true)
4050
Nicolas Noble047b7272015-01-16 13:55:05 -08004051# You can't build secure targets if you don't have OpenSSL with ALPN.
4052
ctillercab52e72015-01-06 13:10:23 -08004053bins/$(CONFIG)/gpr_host_port_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004054
4055else
4056
nnoble5f2ecb32015-01-12 16:40:18 -08004057bins/$(CONFIG)/gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004058 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004059 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004060 $(Q) $(LD) $(LDFLAGS) $(GPR_HOST_PORT_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_host_port_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004061
nnoble69ac39f2014-12-12 15:43:38 -08004062endif
4063
Craig Tiller770f60a2015-01-12 17:44:43 -08004064objs/$(CONFIG)/test/core/support/host_port_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004065
Craig Tiller8f126a62015-01-15 08:50:19 -08004066deps_gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004067
nnoble69ac39f2014-12-12 15:43:38 -08004068ifneq ($(NO_SECURE),true)
4069ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004070-include $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004071endif
nnoble69ac39f2014-12-12 15:43:38 -08004072endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004073
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004074
Craig Tiller17ec5f92015-01-18 11:30:41 -08004075GPR_LOG_TEST_SRC = \
4076 test/core/support/log_test.c \
4077
4078GPR_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_LOG_TEST_SRC))))
4079
4080ifeq ($(NO_SECURE),true)
4081
4082# You can't build secure targets if you don't have OpenSSL with ALPN.
4083
4084bins/$(CONFIG)/gpr_log_test: openssl_dep_error
4085
4086else
4087
4088bins/$(CONFIG)/gpr_log_test: $(GPR_LOG_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4089 $(E) "[LD] Linking $@"
4090 $(Q) mkdir -p `dirname $@`
4091 $(Q) $(LD) $(LDFLAGS) $(GPR_LOG_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_log_test
4092
4093endif
4094
4095objs/$(CONFIG)/test/core/support/log_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4096
4097deps_gpr_log_test: $(GPR_LOG_TEST_OBJS:.o=.dep)
4098
4099ifneq ($(NO_SECURE),true)
4100ifneq ($(NO_DEPS),true)
4101-include $(GPR_LOG_TEST_OBJS:.o=.dep)
4102endif
4103endif
4104
4105
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004106GPR_SLICE_BUFFER_TEST_SRC = \
4107 test/core/support/slice_buffer_test.c \
4108
ctillercab52e72015-01-06 13:10:23 -08004109GPR_SLICE_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_BUFFER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004110
nnoble69ac39f2014-12-12 15:43:38 -08004111ifeq ($(NO_SECURE),true)
4112
Nicolas Noble047b7272015-01-16 13:55:05 -08004113# You can't build secure targets if you don't have OpenSSL with ALPN.
4114
ctillercab52e72015-01-06 13:10:23 -08004115bins/$(CONFIG)/gpr_slice_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004116
4117else
4118
nnoble5f2ecb32015-01-12 16:40:18 -08004119bins/$(CONFIG)/gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004120 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004121 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004122 $(Q) $(LD) $(LDFLAGS) $(GPR_SLICE_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_slice_buffer_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004123
nnoble69ac39f2014-12-12 15:43:38 -08004124endif
4125
Craig Tiller770f60a2015-01-12 17:44:43 -08004126objs/$(CONFIG)/test/core/support/slice_buffer_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004127
Craig Tiller8f126a62015-01-15 08:50:19 -08004128deps_gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004129
nnoble69ac39f2014-12-12 15:43:38 -08004130ifneq ($(NO_SECURE),true)
4131ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004132-include $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004133endif
nnoble69ac39f2014-12-12 15:43:38 -08004134endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004135
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004136
4137GPR_SLICE_TEST_SRC = \
4138 test/core/support/slice_test.c \
4139
ctillercab52e72015-01-06 13:10:23 -08004140GPR_SLICE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004141
nnoble69ac39f2014-12-12 15:43:38 -08004142ifeq ($(NO_SECURE),true)
4143
Nicolas Noble047b7272015-01-16 13:55:05 -08004144# You can't build secure targets if you don't have OpenSSL with ALPN.
4145
ctillercab52e72015-01-06 13:10:23 -08004146bins/$(CONFIG)/gpr_slice_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004147
4148else
4149
nnoble5f2ecb32015-01-12 16:40:18 -08004150bins/$(CONFIG)/gpr_slice_test: $(GPR_SLICE_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004151 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004152 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004153 $(Q) $(LD) $(LDFLAGS) $(GPR_SLICE_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_slice_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004154
nnoble69ac39f2014-12-12 15:43:38 -08004155endif
4156
Craig Tiller770f60a2015-01-12 17:44:43 -08004157objs/$(CONFIG)/test/core/support/slice_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004158
Craig Tiller8f126a62015-01-15 08:50:19 -08004159deps_gpr_slice_test: $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004160
nnoble69ac39f2014-12-12 15:43:38 -08004161ifneq ($(NO_SECURE),true)
4162ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004163-include $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004164endif
nnoble69ac39f2014-12-12 15:43:38 -08004165endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004166
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004167
4168GPR_STRING_TEST_SRC = \
4169 test/core/support/string_test.c \
4170
ctillercab52e72015-01-06 13:10:23 -08004171GPR_STRING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STRING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004172
nnoble69ac39f2014-12-12 15:43:38 -08004173ifeq ($(NO_SECURE),true)
4174
Nicolas Noble047b7272015-01-16 13:55:05 -08004175# You can't build secure targets if you don't have OpenSSL with ALPN.
4176
ctillercab52e72015-01-06 13:10:23 -08004177bins/$(CONFIG)/gpr_string_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004178
4179else
4180
nnoble5f2ecb32015-01-12 16:40:18 -08004181bins/$(CONFIG)/gpr_string_test: $(GPR_STRING_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004182 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004183 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004184 $(Q) $(LD) $(LDFLAGS) $(GPR_STRING_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_string_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004185
nnoble69ac39f2014-12-12 15:43:38 -08004186endif
4187
Craig Tiller770f60a2015-01-12 17:44:43 -08004188objs/$(CONFIG)/test/core/support/string_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004189
Craig Tiller8f126a62015-01-15 08:50:19 -08004190deps_gpr_string_test: $(GPR_STRING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004191
nnoble69ac39f2014-12-12 15:43:38 -08004192ifneq ($(NO_SECURE),true)
4193ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004194-include $(GPR_STRING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004195endif
nnoble69ac39f2014-12-12 15:43:38 -08004196endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004197
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004198
4199GPR_SYNC_TEST_SRC = \
4200 test/core/support/sync_test.c \
4201
ctillercab52e72015-01-06 13:10:23 -08004202GPR_SYNC_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SYNC_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004203
nnoble69ac39f2014-12-12 15:43:38 -08004204ifeq ($(NO_SECURE),true)
4205
Nicolas Noble047b7272015-01-16 13:55:05 -08004206# You can't build secure targets if you don't have OpenSSL with ALPN.
4207
ctillercab52e72015-01-06 13:10:23 -08004208bins/$(CONFIG)/gpr_sync_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004209
4210else
4211
nnoble5f2ecb32015-01-12 16:40:18 -08004212bins/$(CONFIG)/gpr_sync_test: $(GPR_SYNC_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004213 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004214 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004215 $(Q) $(LD) $(LDFLAGS) $(GPR_SYNC_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_sync_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004216
nnoble69ac39f2014-12-12 15:43:38 -08004217endif
4218
Craig Tiller770f60a2015-01-12 17:44:43 -08004219objs/$(CONFIG)/test/core/support/sync_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004220
Craig Tiller8f126a62015-01-15 08:50:19 -08004221deps_gpr_sync_test: $(GPR_SYNC_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004222
nnoble69ac39f2014-12-12 15:43:38 -08004223ifneq ($(NO_SECURE),true)
4224ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004225-include $(GPR_SYNC_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004226endif
nnoble69ac39f2014-12-12 15:43:38 -08004227endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004228
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004229
4230GPR_THD_TEST_SRC = \
4231 test/core/support/thd_test.c \
4232
ctillercab52e72015-01-06 13:10:23 -08004233GPR_THD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_THD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004234
nnoble69ac39f2014-12-12 15:43:38 -08004235ifeq ($(NO_SECURE),true)
4236
Nicolas Noble047b7272015-01-16 13:55:05 -08004237# You can't build secure targets if you don't have OpenSSL with ALPN.
4238
ctillercab52e72015-01-06 13:10:23 -08004239bins/$(CONFIG)/gpr_thd_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004240
4241else
4242
nnoble5f2ecb32015-01-12 16:40:18 -08004243bins/$(CONFIG)/gpr_thd_test: $(GPR_THD_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004244 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004245 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004246 $(Q) $(LD) $(LDFLAGS) $(GPR_THD_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_thd_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004247
nnoble69ac39f2014-12-12 15:43:38 -08004248endif
4249
Craig Tiller770f60a2015-01-12 17:44:43 -08004250objs/$(CONFIG)/test/core/support/thd_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004251
Craig Tiller8f126a62015-01-15 08:50:19 -08004252deps_gpr_thd_test: $(GPR_THD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004253
nnoble69ac39f2014-12-12 15:43:38 -08004254ifneq ($(NO_SECURE),true)
4255ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004256-include $(GPR_THD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004257endif
nnoble69ac39f2014-12-12 15:43:38 -08004258endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004259
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004260
4261GPR_TIME_TEST_SRC = \
4262 test/core/support/time_test.c \
4263
ctillercab52e72015-01-06 13:10:23 -08004264GPR_TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_TIME_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004265
nnoble69ac39f2014-12-12 15:43:38 -08004266ifeq ($(NO_SECURE),true)
4267
Nicolas Noble047b7272015-01-16 13:55:05 -08004268# You can't build secure targets if you don't have OpenSSL with ALPN.
4269
ctillercab52e72015-01-06 13:10:23 -08004270bins/$(CONFIG)/gpr_time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004271
4272else
4273
nnoble5f2ecb32015-01-12 16:40:18 -08004274bins/$(CONFIG)/gpr_time_test: $(GPR_TIME_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004275 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004276 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004277 $(Q) $(LD) $(LDFLAGS) $(GPR_TIME_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_time_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004278
nnoble69ac39f2014-12-12 15:43:38 -08004279endif
4280
Craig Tiller770f60a2015-01-12 17:44:43 -08004281objs/$(CONFIG)/test/core/support/time_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004282
Craig Tiller8f126a62015-01-15 08:50:19 -08004283deps_gpr_time_test: $(GPR_TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004284
nnoble69ac39f2014-12-12 15:43:38 -08004285ifneq ($(NO_SECURE),true)
4286ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004287-include $(GPR_TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004288endif
nnoble69ac39f2014-12-12 15:43:38 -08004289endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004290
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004291
Craig Tiller17ec5f92015-01-18 11:30:41 -08004292GPR_USEFUL_TEST_SRC = \
4293 test/core/support/useful_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004294
Craig Tiller17ec5f92015-01-18 11:30:41 -08004295GPR_USEFUL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_USEFUL_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004296
nnoble69ac39f2014-12-12 15:43:38 -08004297ifeq ($(NO_SECURE),true)
4298
Nicolas Noble047b7272015-01-16 13:55:05 -08004299# You can't build secure targets if you don't have OpenSSL with ALPN.
4300
Craig Tiller17ec5f92015-01-18 11:30:41 -08004301bins/$(CONFIG)/gpr_useful_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004302
4303else
4304
Craig Tiller17ec5f92015-01-18 11:30:41 -08004305bins/$(CONFIG)/gpr_useful_test: $(GPR_USEFUL_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004306 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004307 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004308 $(Q) $(LD) $(LDFLAGS) $(GPR_USEFUL_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_useful_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004309
nnoble69ac39f2014-12-12 15:43:38 -08004310endif
4311
Craig Tiller17ec5f92015-01-18 11:30:41 -08004312objs/$(CONFIG)/test/core/support/useful_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004313
Craig Tiller17ec5f92015-01-18 11:30:41 -08004314deps_gpr_useful_test: $(GPR_USEFUL_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004315
nnoble69ac39f2014-12-12 15:43:38 -08004316ifneq ($(NO_SECURE),true)
4317ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004318-include $(GPR_USEFUL_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004319endif
nnoble69ac39f2014-12-12 15:43:38 -08004320endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004321
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004322
Craig Tiller17ec5f92015-01-18 11:30:41 -08004323GRPC_BASE64_TEST_SRC = \
4324 test/core/security/base64_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004325
Craig Tiller17ec5f92015-01-18 11:30:41 -08004326GRPC_BASE64_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BASE64_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004327
nnoble69ac39f2014-12-12 15:43:38 -08004328ifeq ($(NO_SECURE),true)
4329
Nicolas Noble047b7272015-01-16 13:55:05 -08004330# You can't build secure targets if you don't have OpenSSL with ALPN.
4331
Craig Tiller17ec5f92015-01-18 11:30:41 -08004332bins/$(CONFIG)/grpc_base64_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004333
4334else
4335
Craig Tiller17ec5f92015-01-18 11:30:41 -08004336bins/$(CONFIG)/grpc_base64_test: $(GRPC_BASE64_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004337 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004338 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004339 $(Q) $(LD) $(LDFLAGS) $(GRPC_BASE64_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_base64_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004340
nnoble69ac39f2014-12-12 15:43:38 -08004341endif
4342
Craig Tiller17ec5f92015-01-18 11:30:41 -08004343objs/$(CONFIG)/test/core/security/base64_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004344
Craig Tiller17ec5f92015-01-18 11:30:41 -08004345deps_grpc_base64_test: $(GRPC_BASE64_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004346
nnoble69ac39f2014-12-12 15:43:38 -08004347ifneq ($(NO_SECURE),true)
4348ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004349-include $(GRPC_BASE64_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004350endif
nnoble69ac39f2014-12-12 15:43:38 -08004351endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004352
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004353
Craig Tiller17ec5f92015-01-18 11:30:41 -08004354GRPC_BYTE_BUFFER_READER_TEST_SRC = \
4355 test/core/surface/byte_buffer_reader_test.c \
nnoble0c475f02014-12-05 15:37:39 -08004356
Craig Tiller17ec5f92015-01-18 11:30:41 -08004357GRPC_BYTE_BUFFER_READER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BYTE_BUFFER_READER_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08004358
nnoble69ac39f2014-12-12 15:43:38 -08004359ifeq ($(NO_SECURE),true)
4360
Nicolas Noble047b7272015-01-16 13:55:05 -08004361# You can't build secure targets if you don't have OpenSSL with ALPN.
4362
Craig Tiller17ec5f92015-01-18 11:30:41 -08004363bins/$(CONFIG)/grpc_byte_buffer_reader_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004364
4365else
4366
Craig Tiller17ec5f92015-01-18 11:30:41 -08004367bins/$(CONFIG)/grpc_byte_buffer_reader_test: $(GRPC_BYTE_BUFFER_READER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08004368 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004369 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004370 $(Q) $(LD) $(LDFLAGS) $(GRPC_BYTE_BUFFER_READER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_byte_buffer_reader_test
nnoble0c475f02014-12-05 15:37:39 -08004371
nnoble69ac39f2014-12-12 15:43:38 -08004372endif
4373
Craig Tiller17ec5f92015-01-18 11:30:41 -08004374objs/$(CONFIG)/test/core/surface/byte_buffer_reader_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004375
Craig Tiller17ec5f92015-01-18 11:30:41 -08004376deps_grpc_byte_buffer_reader_test: $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08004377
nnoble69ac39f2014-12-12 15:43:38 -08004378ifneq ($(NO_SECURE),true)
4379ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004380-include $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004381endif
nnoble69ac39f2014-12-12 15:43:38 -08004382endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004383
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004384
4385GRPC_CHANNEL_STACK_TEST_SRC = \
4386 test/core/channel/channel_stack_test.c \
4387
ctillercab52e72015-01-06 13:10:23 -08004388GRPC_CHANNEL_STACK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CHANNEL_STACK_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004389
nnoble69ac39f2014-12-12 15:43:38 -08004390ifeq ($(NO_SECURE),true)
4391
Nicolas Noble047b7272015-01-16 13:55:05 -08004392# You can't build secure targets if you don't have OpenSSL with ALPN.
4393
ctillercab52e72015-01-06 13:10:23 -08004394bins/$(CONFIG)/grpc_channel_stack_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004395
4396else
4397
nnoble5f2ecb32015-01-12 16:40:18 -08004398bins/$(CONFIG)/grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004399 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004400 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004401 $(Q) $(LD) $(LDFLAGS) $(GRPC_CHANNEL_STACK_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_channel_stack_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004402
nnoble69ac39f2014-12-12 15:43:38 -08004403endif
4404
Craig Tiller770f60a2015-01-12 17:44:43 -08004405objs/$(CONFIG)/test/core/channel/channel_stack_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004406
Craig Tiller8f126a62015-01-15 08:50:19 -08004407deps_grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004408
nnoble69ac39f2014-12-12 15:43:38 -08004409ifneq ($(NO_SECURE),true)
4410ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004411-include $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004412endif
nnoble69ac39f2014-12-12 15:43:38 -08004413endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004414
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004415
Craig Tiller17ec5f92015-01-18 11:30:41 -08004416GRPC_COMPLETION_QUEUE_BENCHMARK_SRC = \
4417 test/core/surface/completion_queue_benchmark.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004418
Craig Tiller17ec5f92015-01-18 11:30:41 -08004419GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004420
nnoble69ac39f2014-12-12 15:43:38 -08004421ifeq ($(NO_SECURE),true)
4422
Nicolas Noble047b7272015-01-16 13:55:05 -08004423# You can't build secure targets if you don't have OpenSSL with ALPN.
4424
Craig Tiller17ec5f92015-01-18 11:30:41 -08004425bins/$(CONFIG)/grpc_completion_queue_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004426
4427else
4428
Craig Tiller17ec5f92015-01-18 11:30:41 -08004429bins/$(CONFIG)/grpc_completion_queue_benchmark: $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004430 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004431 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004432 $(Q) $(LD) $(LDFLAGS) $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_completion_queue_benchmark
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004433
nnoble69ac39f2014-12-12 15:43:38 -08004434endif
4435
Craig Tiller17ec5f92015-01-18 11:30:41 -08004436objs/$(CONFIG)/test/core/surface/completion_queue_benchmark.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004437
Craig Tiller17ec5f92015-01-18 11:30:41 -08004438deps_grpc_completion_queue_benchmark: $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004439
nnoble69ac39f2014-12-12 15:43:38 -08004440ifneq ($(NO_SECURE),true)
4441ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004442-include $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004443endif
nnoble69ac39f2014-12-12 15:43:38 -08004444endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004445
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004446
4447GRPC_COMPLETION_QUEUE_TEST_SRC = \
4448 test/core/surface/completion_queue_test.c \
4449
ctillercab52e72015-01-06 13:10:23 -08004450GRPC_COMPLETION_QUEUE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004451
nnoble69ac39f2014-12-12 15:43:38 -08004452ifeq ($(NO_SECURE),true)
4453
Nicolas Noble047b7272015-01-16 13:55:05 -08004454# You can't build secure targets if you don't have OpenSSL with ALPN.
4455
ctillercab52e72015-01-06 13:10:23 -08004456bins/$(CONFIG)/grpc_completion_queue_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004457
4458else
4459
nnoble5f2ecb32015-01-12 16:40:18 -08004460bins/$(CONFIG)/grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004461 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004462 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004463 $(Q) $(LD) $(LDFLAGS) $(GRPC_COMPLETION_QUEUE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_completion_queue_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004464
nnoble69ac39f2014-12-12 15:43:38 -08004465endif
4466
Craig Tiller770f60a2015-01-12 17:44:43 -08004467objs/$(CONFIG)/test/core/surface/completion_queue_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004468
Craig Tiller8f126a62015-01-15 08:50:19 -08004469deps_grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004470
nnoble69ac39f2014-12-12 15:43:38 -08004471ifneq ($(NO_SECURE),true)
4472ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004473-include $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004474endif
nnoble69ac39f2014-12-12 15:43:38 -08004475endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004476
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004477
Craig Tiller17ec5f92015-01-18 11:30:41 -08004478GRPC_CREDENTIALS_TEST_SRC = \
4479 test/core/security/credentials_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004480
Craig Tiller17ec5f92015-01-18 11:30:41 -08004481GRPC_CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CREDENTIALS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004482
nnoble69ac39f2014-12-12 15:43:38 -08004483ifeq ($(NO_SECURE),true)
4484
Nicolas Noble047b7272015-01-16 13:55:05 -08004485# You can't build secure targets if you don't have OpenSSL with ALPN.
4486
Craig Tiller17ec5f92015-01-18 11:30:41 -08004487bins/$(CONFIG)/grpc_credentials_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004488
4489else
4490
Craig Tiller17ec5f92015-01-18 11:30:41 -08004491bins/$(CONFIG)/grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004492 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004493 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004494 $(Q) $(LD) $(LDFLAGS) $(GRPC_CREDENTIALS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_credentials_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004495
nnoble69ac39f2014-12-12 15:43:38 -08004496endif
4497
Craig Tiller17ec5f92015-01-18 11:30:41 -08004498objs/$(CONFIG)/test/core/security/credentials_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004499
Craig Tiller17ec5f92015-01-18 11:30:41 -08004500deps_grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004501
nnoble69ac39f2014-12-12 15:43:38 -08004502ifneq ($(NO_SECURE),true)
4503ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004504-include $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004505endif
nnoble69ac39f2014-12-12 15:43:38 -08004506endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004507
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004508
Craig Tiller17ec5f92015-01-18 11:30:41 -08004509GRPC_FETCH_OAUTH2_SRC = \
4510 test/core/security/fetch_oauth2.c \
hongyu24200d32015-01-08 15:13:49 -08004511
Craig Tiller17ec5f92015-01-18 11:30:41 -08004512GRPC_FETCH_OAUTH2_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_FETCH_OAUTH2_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004513
4514ifeq ($(NO_SECURE),true)
4515
Nicolas Noble047b7272015-01-16 13:55:05 -08004516# You can't build secure targets if you don't have OpenSSL with ALPN.
4517
Craig Tiller17ec5f92015-01-18 11:30:41 -08004518bins/$(CONFIG)/grpc_fetch_oauth2: openssl_dep_error
hongyu24200d32015-01-08 15:13:49 -08004519
4520else
4521
Craig Tiller17ec5f92015-01-18 11:30:41 -08004522bins/$(CONFIG)/grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
hongyu24200d32015-01-08 15:13:49 -08004523 $(E) "[LD] Linking $@"
4524 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004525 $(Q) $(LD) $(LDFLAGS) $(GRPC_FETCH_OAUTH2_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_fetch_oauth2
hongyu24200d32015-01-08 15:13:49 -08004526
4527endif
4528
Craig Tiller17ec5f92015-01-18 11:30:41 -08004529objs/$(CONFIG)/test/core/security/fetch_oauth2.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004530
Craig Tiller17ec5f92015-01-18 11:30:41 -08004531deps_grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004532
4533ifneq ($(NO_SECURE),true)
4534ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004535-include $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004536endif
4537endif
4538
hongyu24200d32015-01-08 15:13:49 -08004539
Craig Tiller17ec5f92015-01-18 11:30:41 -08004540GRPC_JSON_TOKEN_TEST_SRC = \
4541 test/core/security/json_token_test.c \
hongyu24200d32015-01-08 15:13:49 -08004542
Craig Tiller17ec5f92015-01-18 11:30:41 -08004543GRPC_JSON_TOKEN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_JSON_TOKEN_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004544
4545ifeq ($(NO_SECURE),true)
4546
Nicolas Noble047b7272015-01-16 13:55:05 -08004547# You can't build secure targets if you don't have OpenSSL with ALPN.
4548
Craig Tiller17ec5f92015-01-18 11:30:41 -08004549bins/$(CONFIG)/grpc_json_token_test: openssl_dep_error
hongyu24200d32015-01-08 15:13:49 -08004550
4551else
4552
Craig Tiller17ec5f92015-01-18 11:30:41 -08004553bins/$(CONFIG)/grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
hongyu24200d32015-01-08 15:13:49 -08004554 $(E) "[LD] Linking $@"
4555 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004556 $(Q) $(LD) $(LDFLAGS) $(GRPC_JSON_TOKEN_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_json_token_test
hongyu24200d32015-01-08 15:13:49 -08004557
4558endif
4559
Craig Tiller17ec5f92015-01-18 11:30:41 -08004560objs/$(CONFIG)/test/core/security/json_token_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004561
Craig Tiller17ec5f92015-01-18 11:30:41 -08004562deps_grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004563
4564ifneq ($(NO_SECURE),true)
4565ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004566-include $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004567endif
4568endif
4569
hongyu24200d32015-01-08 15:13:49 -08004570
Craig Tiller17ec5f92015-01-18 11:30:41 -08004571GRPC_STREAM_OP_TEST_SRC = \
4572 test/core/transport/stream_op_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004573
Craig Tiller17ec5f92015-01-18 11:30:41 -08004574GRPC_STREAM_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_STREAM_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004575
nnoble69ac39f2014-12-12 15:43:38 -08004576ifeq ($(NO_SECURE),true)
4577
Nicolas Noble047b7272015-01-16 13:55:05 -08004578# You can't build secure targets if you don't have OpenSSL with ALPN.
4579
Craig Tiller17ec5f92015-01-18 11:30:41 -08004580bins/$(CONFIG)/grpc_stream_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004581
4582else
4583
Craig Tiller17ec5f92015-01-18 11:30:41 -08004584bins/$(CONFIG)/grpc_stream_op_test: $(GRPC_STREAM_OP_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004585 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004586 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004587 $(Q) $(LD) $(LDFLAGS) $(GRPC_STREAM_OP_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_stream_op_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004588
nnoble69ac39f2014-12-12 15:43:38 -08004589endif
4590
Craig Tiller17ec5f92015-01-18 11:30:41 -08004591objs/$(CONFIG)/test/core/transport/stream_op_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004592
Craig Tiller17ec5f92015-01-18 11:30:41 -08004593deps_grpc_stream_op_test: $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004594
nnoble69ac39f2014-12-12 15:43:38 -08004595ifneq ($(NO_SECURE),true)
4596ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004597-include $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004598endif
nnoble69ac39f2014-12-12 15:43:38 -08004599endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004600
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004601
Craig Tiller17ec5f92015-01-18 11:30:41 -08004602HPACK_PARSER_TEST_SRC = \
4603 test/core/transport/chttp2/hpack_parser_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004604
Craig Tiller17ec5f92015-01-18 11:30:41 -08004605HPACK_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004606
nnoble69ac39f2014-12-12 15:43:38 -08004607ifeq ($(NO_SECURE),true)
4608
Nicolas Noble047b7272015-01-16 13:55:05 -08004609# You can't build secure targets if you don't have OpenSSL with ALPN.
4610
Craig Tiller17ec5f92015-01-18 11:30:41 -08004611bins/$(CONFIG)/hpack_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004612
4613else
4614
Craig Tiller17ec5f92015-01-18 11:30:41 -08004615bins/$(CONFIG)/hpack_parser_test: $(HPACK_PARSER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004616 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004617 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004618 $(Q) $(LD) $(LDFLAGS) $(HPACK_PARSER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/hpack_parser_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004619
nnoble69ac39f2014-12-12 15:43:38 -08004620endif
4621
Craig Tiller17ec5f92015-01-18 11:30:41 -08004622objs/$(CONFIG)/test/core/transport/chttp2/hpack_parser_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004623
Craig Tiller17ec5f92015-01-18 11:30:41 -08004624deps_hpack_parser_test: $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004625
nnoble69ac39f2014-12-12 15:43:38 -08004626ifneq ($(NO_SECURE),true)
4627ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004628-include $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004629endif
nnoble69ac39f2014-12-12 15:43:38 -08004630endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004631
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004632
Craig Tiller17ec5f92015-01-18 11:30:41 -08004633HPACK_TABLE_TEST_SRC = \
4634 test/core/transport/chttp2/hpack_table_test.c \
aveitch482a5be2014-12-15 10:25:12 -08004635
Craig Tiller17ec5f92015-01-18 11:30:41 -08004636HPACK_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_TABLE_TEST_SRC))))
aveitch482a5be2014-12-15 10:25:12 -08004637
4638ifeq ($(NO_SECURE),true)
4639
Nicolas Noble047b7272015-01-16 13:55:05 -08004640# You can't build secure targets if you don't have OpenSSL with ALPN.
4641
Craig Tiller17ec5f92015-01-18 11:30:41 -08004642bins/$(CONFIG)/hpack_table_test: openssl_dep_error
aveitch482a5be2014-12-15 10:25:12 -08004643
4644else
4645
Craig Tiller17ec5f92015-01-18 11:30:41 -08004646bins/$(CONFIG)/hpack_table_test: $(HPACK_TABLE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
aveitch482a5be2014-12-15 10:25:12 -08004647 $(E) "[LD] Linking $@"
4648 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004649 $(Q) $(LD) $(LDFLAGS) $(HPACK_TABLE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/hpack_table_test
aveitch482a5be2014-12-15 10:25:12 -08004650
4651endif
4652
Craig Tiller17ec5f92015-01-18 11:30:41 -08004653objs/$(CONFIG)/test/core/transport/chttp2/hpack_table_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004654
Craig Tiller17ec5f92015-01-18 11:30:41 -08004655deps_hpack_table_test: $(HPACK_TABLE_TEST_OBJS:.o=.dep)
aveitch482a5be2014-12-15 10:25:12 -08004656
4657ifneq ($(NO_SECURE),true)
4658ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004659-include $(HPACK_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004660endif
nnoble69ac39f2014-12-12 15:43:38 -08004661endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004662
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004663
4664HTTPCLI_FORMAT_REQUEST_TEST_SRC = \
4665 test/core/httpcli/format_request_test.c \
4666
ctillercab52e72015-01-06 13:10:23 -08004667HTTPCLI_FORMAT_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_FORMAT_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004668
nnoble69ac39f2014-12-12 15:43:38 -08004669ifeq ($(NO_SECURE),true)
4670
Nicolas Noble047b7272015-01-16 13:55:05 -08004671# You can't build secure targets if you don't have OpenSSL with ALPN.
4672
ctillercab52e72015-01-06 13:10:23 -08004673bins/$(CONFIG)/httpcli_format_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004674
4675else
4676
nnoble5f2ecb32015-01-12 16:40:18 -08004677bins/$(CONFIG)/httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004678 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004679 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004680 $(Q) $(LD) $(LDFLAGS) $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/httpcli_format_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004681
nnoble69ac39f2014-12-12 15:43:38 -08004682endif
4683
Craig Tiller770f60a2015-01-12 17:44:43 -08004684objs/$(CONFIG)/test/core/httpcli/format_request_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004685
Craig Tiller8f126a62015-01-15 08:50:19 -08004686deps_httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004687
nnoble69ac39f2014-12-12 15:43:38 -08004688ifneq ($(NO_SECURE),true)
4689ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004690-include $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004691endif
nnoble69ac39f2014-12-12 15:43:38 -08004692endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004693
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004694
4695HTTPCLI_PARSER_TEST_SRC = \
4696 test/core/httpcli/parser_test.c \
4697
ctillercab52e72015-01-06 13:10:23 -08004698HTTPCLI_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004699
nnoble69ac39f2014-12-12 15:43:38 -08004700ifeq ($(NO_SECURE),true)
4701
Nicolas Noble047b7272015-01-16 13:55:05 -08004702# You can't build secure targets if you don't have OpenSSL with ALPN.
4703
ctillercab52e72015-01-06 13:10:23 -08004704bins/$(CONFIG)/httpcli_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004705
4706else
4707
nnoble5f2ecb32015-01-12 16:40:18 -08004708bins/$(CONFIG)/httpcli_parser_test: $(HTTPCLI_PARSER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004709 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004710 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004711 $(Q) $(LD) $(LDFLAGS) $(HTTPCLI_PARSER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/httpcli_parser_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004712
nnoble69ac39f2014-12-12 15:43:38 -08004713endif
4714
Craig Tiller770f60a2015-01-12 17:44:43 -08004715objs/$(CONFIG)/test/core/httpcli/parser_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004716
Craig Tiller8f126a62015-01-15 08:50:19 -08004717deps_httpcli_parser_test: $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004718
nnoble69ac39f2014-12-12 15:43:38 -08004719ifneq ($(NO_SECURE),true)
4720ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004721-include $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004722endif
nnoble69ac39f2014-12-12 15:43:38 -08004723endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004724
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004725
4726HTTPCLI_TEST_SRC = \
4727 test/core/httpcli/httpcli_test.c \
4728
ctillercab52e72015-01-06 13:10:23 -08004729HTTPCLI_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004730
nnoble69ac39f2014-12-12 15:43:38 -08004731ifeq ($(NO_SECURE),true)
4732
Nicolas Noble047b7272015-01-16 13:55:05 -08004733# You can't build secure targets if you don't have OpenSSL with ALPN.
4734
ctillercab52e72015-01-06 13:10:23 -08004735bins/$(CONFIG)/httpcli_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004736
4737else
4738
nnoble5f2ecb32015-01-12 16:40:18 -08004739bins/$(CONFIG)/httpcli_test: $(HTTPCLI_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004740 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004741 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004742 $(Q) $(LD) $(LDFLAGS) $(HTTPCLI_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/httpcli_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004743
nnoble69ac39f2014-12-12 15:43:38 -08004744endif
4745
Craig Tiller770f60a2015-01-12 17:44:43 -08004746objs/$(CONFIG)/test/core/httpcli/httpcli_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004747
Craig Tiller8f126a62015-01-15 08:50:19 -08004748deps_httpcli_test: $(HTTPCLI_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004749
nnoble69ac39f2014-12-12 15:43:38 -08004750ifneq ($(NO_SECURE),true)
4751ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004752-include $(HTTPCLI_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004753endif
nnoble69ac39f2014-12-12 15:43:38 -08004754endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004755
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004756
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004757LAME_CLIENT_TEST_SRC = \
4758 test/core/surface/lame_client_test.c \
4759
ctillercab52e72015-01-06 13:10:23 -08004760LAME_CLIENT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LAME_CLIENT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004761
nnoble69ac39f2014-12-12 15:43:38 -08004762ifeq ($(NO_SECURE),true)
4763
Nicolas Noble047b7272015-01-16 13:55:05 -08004764# You can't build secure targets if you don't have OpenSSL with ALPN.
4765
ctillercab52e72015-01-06 13:10:23 -08004766bins/$(CONFIG)/lame_client_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004767
4768else
4769
nnoble5f2ecb32015-01-12 16:40:18 -08004770bins/$(CONFIG)/lame_client_test: $(LAME_CLIENT_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004771 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004772 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004773 $(Q) $(LD) $(LDFLAGS) $(LAME_CLIENT_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/lame_client_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004774
nnoble69ac39f2014-12-12 15:43:38 -08004775endif
4776
Craig Tiller770f60a2015-01-12 17:44:43 -08004777objs/$(CONFIG)/test/core/surface/lame_client_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004778
Craig Tiller8f126a62015-01-15 08:50:19 -08004779deps_lame_client_test: $(LAME_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004780
nnoble69ac39f2014-12-12 15:43:38 -08004781ifneq ($(NO_SECURE),true)
4782ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004783-include $(LAME_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004784endif
nnoble69ac39f2014-12-12 15:43:38 -08004785endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004786
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004787
Craig Tiller17ec5f92015-01-18 11:30:41 -08004788LOW_LEVEL_PING_PONG_BENCHMARK_SRC = \
4789 test/core/network_benchmarks/low_level_ping_pong.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004790
Craig Tiller17ec5f92015-01-18 11:30:41 -08004791LOW_LEVEL_PING_PONG_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LOW_LEVEL_PING_PONG_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004792
nnoble69ac39f2014-12-12 15:43:38 -08004793ifeq ($(NO_SECURE),true)
4794
Nicolas Noble047b7272015-01-16 13:55:05 -08004795# You can't build secure targets if you don't have OpenSSL with ALPN.
4796
Craig Tiller17ec5f92015-01-18 11:30:41 -08004797bins/$(CONFIG)/low_level_ping_pong_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004798
4799else
4800
Craig Tiller17ec5f92015-01-18 11:30:41 -08004801bins/$(CONFIG)/low_level_ping_pong_benchmark: $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004802 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004803 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004804 $(Q) $(LD) $(LDFLAGS) $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/low_level_ping_pong_benchmark
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004805
nnoble69ac39f2014-12-12 15:43:38 -08004806endif
4807
Craig Tiller17ec5f92015-01-18 11:30:41 -08004808objs/$(CONFIG)/test/core/network_benchmarks/low_level_ping_pong.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004809
Craig Tiller17ec5f92015-01-18 11:30:41 -08004810deps_low_level_ping_pong_benchmark: $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004811
nnoble69ac39f2014-12-12 15:43:38 -08004812ifneq ($(NO_SECURE),true)
4813ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004814-include $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004815endif
nnoble69ac39f2014-12-12 15:43:38 -08004816endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004817
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004818
Craig Tiller17ec5f92015-01-18 11:30:41 -08004819MESSAGE_COMPRESS_TEST_SRC = \
4820 test/core/compression/message_compress_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004821
Craig Tiller17ec5f92015-01-18 11:30:41 -08004822MESSAGE_COMPRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MESSAGE_COMPRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004823
nnoble69ac39f2014-12-12 15:43:38 -08004824ifeq ($(NO_SECURE),true)
4825
Nicolas Noble047b7272015-01-16 13:55:05 -08004826# You can't build secure targets if you don't have OpenSSL with ALPN.
4827
Craig Tiller17ec5f92015-01-18 11:30:41 -08004828bins/$(CONFIG)/message_compress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004829
4830else
4831
Craig Tiller17ec5f92015-01-18 11:30:41 -08004832bins/$(CONFIG)/message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004833 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004834 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004835 $(Q) $(LD) $(LDFLAGS) $(MESSAGE_COMPRESS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/message_compress_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004836
nnoble69ac39f2014-12-12 15:43:38 -08004837endif
4838
Craig Tiller17ec5f92015-01-18 11:30:41 -08004839objs/$(CONFIG)/test/core/compression/message_compress_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004840
Craig Tiller17ec5f92015-01-18 11:30:41 -08004841deps_message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004842
nnoble69ac39f2014-12-12 15:43:38 -08004843ifneq ($(NO_SECURE),true)
4844ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004845-include $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004846endif
nnoble69ac39f2014-12-12 15:43:38 -08004847endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004848
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004849
Craig Tiller17ec5f92015-01-18 11:30:41 -08004850METADATA_BUFFER_TEST_SRC = \
4851 test/core/channel/metadata_buffer_test.c \
ctiller8919f602014-12-10 10:19:42 -08004852
Craig Tiller17ec5f92015-01-18 11:30:41 -08004853METADATA_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(METADATA_BUFFER_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004854
nnoble69ac39f2014-12-12 15:43:38 -08004855ifeq ($(NO_SECURE),true)
4856
Nicolas Noble047b7272015-01-16 13:55:05 -08004857# You can't build secure targets if you don't have OpenSSL with ALPN.
4858
Craig Tiller17ec5f92015-01-18 11:30:41 -08004859bins/$(CONFIG)/metadata_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004860
4861else
4862
Craig Tiller17ec5f92015-01-18 11:30:41 -08004863bins/$(CONFIG)/metadata_buffer_test: $(METADATA_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08004864 $(E) "[LD] Linking $@"
4865 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004866 $(Q) $(LD) $(LDFLAGS) $(METADATA_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/metadata_buffer_test
ctiller8919f602014-12-10 10:19:42 -08004867
nnoble69ac39f2014-12-12 15:43:38 -08004868endif
4869
Craig Tiller17ec5f92015-01-18 11:30:41 -08004870objs/$(CONFIG)/test/core/channel/metadata_buffer_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004871
Craig Tiller17ec5f92015-01-18 11:30:41 -08004872deps_metadata_buffer_test: $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004873
nnoble69ac39f2014-12-12 15:43:38 -08004874ifneq ($(NO_SECURE),true)
4875ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004876-include $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
4877endif
4878endif
4879
4880
4881MURMUR_HASH_TEST_SRC = \
4882 test/core/support/murmur_hash_test.c \
4883
4884MURMUR_HASH_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MURMUR_HASH_TEST_SRC))))
4885
4886ifeq ($(NO_SECURE),true)
4887
4888# You can't build secure targets if you don't have OpenSSL with ALPN.
4889
4890bins/$(CONFIG)/murmur_hash_test: openssl_dep_error
4891
4892else
4893
4894bins/$(CONFIG)/murmur_hash_test: $(MURMUR_HASH_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4895 $(E) "[LD] Linking $@"
4896 $(Q) mkdir -p `dirname $@`
4897 $(Q) $(LD) $(LDFLAGS) $(MURMUR_HASH_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/murmur_hash_test
4898
4899endif
4900
4901objs/$(CONFIG)/test/core/support/murmur_hash_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4902
4903deps_murmur_hash_test: $(MURMUR_HASH_TEST_OBJS:.o=.dep)
4904
4905ifneq ($(NO_SECURE),true)
4906ifneq ($(NO_DEPS),true)
4907-include $(MURMUR_HASH_TEST_OBJS:.o=.dep)
4908endif
4909endif
4910
4911
4912NO_SERVER_TEST_SRC = \
4913 test/core/end2end/no_server_test.c \
4914
4915NO_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(NO_SERVER_TEST_SRC))))
4916
4917ifeq ($(NO_SECURE),true)
4918
4919# You can't build secure targets if you don't have OpenSSL with ALPN.
4920
4921bins/$(CONFIG)/no_server_test: openssl_dep_error
4922
4923else
4924
4925bins/$(CONFIG)/no_server_test: $(NO_SERVER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4926 $(E) "[LD] Linking $@"
4927 $(Q) mkdir -p `dirname $@`
4928 $(Q) $(LD) $(LDFLAGS) $(NO_SERVER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/no_server_test
4929
4930endif
4931
4932objs/$(CONFIG)/test/core/end2end/no_server_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4933
4934deps_no_server_test: $(NO_SERVER_TEST_OBJS:.o=.dep)
4935
4936ifneq ($(NO_SECURE),true)
4937ifneq ($(NO_DEPS),true)
4938-include $(NO_SERVER_TEST_OBJS:.o=.dep)
4939endif
4940endif
4941
4942
4943POLL_KICK_TEST_SRC = \
4944 test/core/iomgr/poll_kick_test.c \
4945
4946POLL_KICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(POLL_KICK_TEST_SRC))))
4947
4948ifeq ($(NO_SECURE),true)
4949
4950# You can't build secure targets if you don't have OpenSSL with ALPN.
4951
4952bins/$(CONFIG)/poll_kick_test: openssl_dep_error
4953
4954else
4955
4956bins/$(CONFIG)/poll_kick_test: $(POLL_KICK_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4957 $(E) "[LD] Linking $@"
4958 $(Q) mkdir -p `dirname $@`
4959 $(Q) $(LD) $(LDFLAGS) $(POLL_KICK_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/poll_kick_test
4960
4961endif
4962
4963objs/$(CONFIG)/test/core/iomgr/poll_kick_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4964
4965deps_poll_kick_test: $(POLL_KICK_TEST_OBJS:.o=.dep)
4966
4967ifneq ($(NO_SECURE),true)
4968ifneq ($(NO_DEPS),true)
4969-include $(POLL_KICK_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004970endif
nnoble69ac39f2014-12-12 15:43:38 -08004971endif
ctiller8919f602014-12-10 10:19:42 -08004972
ctiller8919f602014-12-10 10:19:42 -08004973
Craig Tiller17ec5f92015-01-18 11:30:41 -08004974RESOLVE_ADDRESS_TEST_SRC = \
4975 test/core/iomgr/resolve_address_test.c \
ctiller8919f602014-12-10 10:19:42 -08004976
Craig Tiller17ec5f92015-01-18 11:30:41 -08004977RESOLVE_ADDRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004978
nnoble69ac39f2014-12-12 15:43:38 -08004979ifeq ($(NO_SECURE),true)
4980
Nicolas Noble047b7272015-01-16 13:55:05 -08004981# You can't build secure targets if you don't have OpenSSL with ALPN.
4982
Craig Tiller17ec5f92015-01-18 11:30:41 -08004983bins/$(CONFIG)/resolve_address_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004984
4985else
4986
Craig Tiller17ec5f92015-01-18 11:30:41 -08004987bins/$(CONFIG)/resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08004988 $(E) "[LD] Linking $@"
4989 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004990 $(Q) $(LD) $(LDFLAGS) $(RESOLVE_ADDRESS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/resolve_address_test
ctiller8919f602014-12-10 10:19:42 -08004991
nnoble69ac39f2014-12-12 15:43:38 -08004992endif
4993
Craig Tiller17ec5f92015-01-18 11:30:41 -08004994objs/$(CONFIG)/test/core/iomgr/resolve_address_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004995
Craig Tiller17ec5f92015-01-18 11:30:41 -08004996deps_resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004997
nnoble69ac39f2014-12-12 15:43:38 -08004998ifneq ($(NO_SECURE),true)
4999ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005000-include $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005001endif
nnoble69ac39f2014-12-12 15:43:38 -08005002endif
ctiller8919f602014-12-10 10:19:42 -08005003
ctiller8919f602014-12-10 10:19:42 -08005004
Craig Tiller17ec5f92015-01-18 11:30:41 -08005005SECURE_ENDPOINT_TEST_SRC = \
5006 test/core/security/secure_endpoint_test.c \
5007
5008SECURE_ENDPOINT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_ENDPOINT_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005009
nnoble69ac39f2014-12-12 15:43:38 -08005010ifeq ($(NO_SECURE),true)
5011
Nicolas Noble047b7272015-01-16 13:55:05 -08005012# You can't build secure targets if you don't have OpenSSL with ALPN.
5013
Craig Tiller17ec5f92015-01-18 11:30:41 -08005014bins/$(CONFIG)/secure_endpoint_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005015
5016else
5017
Craig Tiller17ec5f92015-01-18 11:30:41 -08005018bins/$(CONFIG)/secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08005019 $(E) "[LD] Linking $@"
5020 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005021 $(Q) $(LD) $(LDFLAGS) $(SECURE_ENDPOINT_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/secure_endpoint_test
ctiller8919f602014-12-10 10:19:42 -08005022
nnoble69ac39f2014-12-12 15:43:38 -08005023endif
5024
Craig Tiller17ec5f92015-01-18 11:30:41 -08005025objs/$(CONFIG)/test/core/security/secure_endpoint_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08005026
Craig Tiller17ec5f92015-01-18 11:30:41 -08005027deps_secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005028
nnoble69ac39f2014-12-12 15:43:38 -08005029ifneq ($(NO_SECURE),true)
5030ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005031-include $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005032endif
nnoble69ac39f2014-12-12 15:43:38 -08005033endif
ctiller8919f602014-12-10 10:19:42 -08005034
ctiller8919f602014-12-10 10:19:42 -08005035
Craig Tiller17ec5f92015-01-18 11:30:41 -08005036SOCKADDR_UTILS_TEST_SRC = \
5037 test/core/iomgr/sockaddr_utils_test.c \
ctiller8919f602014-12-10 10:19:42 -08005038
Craig Tiller17ec5f92015-01-18 11:30:41 -08005039SOCKADDR_UTILS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKADDR_UTILS_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005040
nnoble69ac39f2014-12-12 15:43:38 -08005041ifeq ($(NO_SECURE),true)
5042
Nicolas Noble047b7272015-01-16 13:55:05 -08005043# You can't build secure targets if you don't have OpenSSL with ALPN.
5044
Craig Tiller17ec5f92015-01-18 11:30:41 -08005045bins/$(CONFIG)/sockaddr_utils_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005046
5047else
5048
Craig Tiller17ec5f92015-01-18 11:30:41 -08005049bins/$(CONFIG)/sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08005050 $(E) "[LD] Linking $@"
5051 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005052 $(Q) $(LD) $(LDFLAGS) $(SOCKADDR_UTILS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/sockaddr_utils_test
ctiller8919f602014-12-10 10:19:42 -08005053
nnoble69ac39f2014-12-12 15:43:38 -08005054endif
5055
Craig Tiller17ec5f92015-01-18 11:30:41 -08005056objs/$(CONFIG)/test/core/iomgr/sockaddr_utils_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08005057
Craig Tiller17ec5f92015-01-18 11:30:41 -08005058deps_sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005059
nnoble69ac39f2014-12-12 15:43:38 -08005060ifneq ($(NO_SECURE),true)
5061ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005062-include $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005063endif
nnoble69ac39f2014-12-12 15:43:38 -08005064endif
ctiller8919f602014-12-10 10:19:42 -08005065
ctiller8919f602014-12-10 10:19:42 -08005066
Craig Tiller17ec5f92015-01-18 11:30:41 -08005067TCP_CLIENT_POSIX_TEST_SRC = \
5068 test/core/iomgr/tcp_client_posix_test.c \
ctiller8919f602014-12-10 10:19:42 -08005069
Craig Tiller17ec5f92015-01-18 11:30:41 -08005070TCP_CLIENT_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_CLIENT_POSIX_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005071
nnoble69ac39f2014-12-12 15:43:38 -08005072ifeq ($(NO_SECURE),true)
5073
Nicolas Noble047b7272015-01-16 13:55:05 -08005074# You can't build secure targets if you don't have OpenSSL with ALPN.
5075
Craig Tiller17ec5f92015-01-18 11:30:41 -08005076bins/$(CONFIG)/tcp_client_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005077
5078else
5079
Craig Tiller17ec5f92015-01-18 11:30:41 -08005080bins/$(CONFIG)/tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08005081 $(E) "[LD] Linking $@"
5082 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005083 $(Q) $(LD) $(LDFLAGS) $(TCP_CLIENT_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/tcp_client_posix_test
ctiller8919f602014-12-10 10:19:42 -08005084
nnoble69ac39f2014-12-12 15:43:38 -08005085endif
5086
Craig Tiller17ec5f92015-01-18 11:30:41 -08005087objs/$(CONFIG)/test/core/iomgr/tcp_client_posix_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08005088
Craig Tiller17ec5f92015-01-18 11:30:41 -08005089deps_tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005090
nnoble69ac39f2014-12-12 15:43:38 -08005091ifneq ($(NO_SECURE),true)
5092ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005093-include $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005094endif
nnoble69ac39f2014-12-12 15:43:38 -08005095endif
ctiller8919f602014-12-10 10:19:42 -08005096
ctiller8919f602014-12-10 10:19:42 -08005097
Craig Tiller17ec5f92015-01-18 11:30:41 -08005098TCP_POSIX_TEST_SRC = \
5099 test/core/iomgr/tcp_posix_test.c \
ctiller3bf466f2014-12-19 16:21:57 -08005100
Craig Tiller17ec5f92015-01-18 11:30:41 -08005101TCP_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_POSIX_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08005102
5103ifeq ($(NO_SECURE),true)
5104
Nicolas Noble047b7272015-01-16 13:55:05 -08005105# You can't build secure targets if you don't have OpenSSL with ALPN.
5106
Craig Tiller17ec5f92015-01-18 11:30:41 -08005107bins/$(CONFIG)/tcp_posix_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08005108
5109else
5110
Craig Tiller17ec5f92015-01-18 11:30:41 -08005111bins/$(CONFIG)/tcp_posix_test: $(TCP_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller3bf466f2014-12-19 16:21:57 -08005112 $(E) "[LD] Linking $@"
5113 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005114 $(Q) $(LD) $(LDFLAGS) $(TCP_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/tcp_posix_test
ctiller3bf466f2014-12-19 16:21:57 -08005115
5116endif
5117
Craig Tiller17ec5f92015-01-18 11:30:41 -08005118objs/$(CONFIG)/test/core/iomgr/tcp_posix_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08005119
Craig Tiller17ec5f92015-01-18 11:30:41 -08005120deps_tcp_posix_test: $(TCP_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005121
5122ifneq ($(NO_SECURE),true)
5123ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005124-include $(TCP_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005125endif
5126endif
5127
ctiller3bf466f2014-12-19 16:21:57 -08005128
Craig Tiller17ec5f92015-01-18 11:30:41 -08005129TCP_SERVER_POSIX_TEST_SRC = \
5130 test/core/iomgr/tcp_server_posix_test.c \
ctiller3bf466f2014-12-19 16:21:57 -08005131
Craig Tiller17ec5f92015-01-18 11:30:41 -08005132TCP_SERVER_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_SERVER_POSIX_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08005133
5134ifeq ($(NO_SECURE),true)
5135
Nicolas Noble047b7272015-01-16 13:55:05 -08005136# You can't build secure targets if you don't have OpenSSL with ALPN.
5137
Craig Tiller17ec5f92015-01-18 11:30:41 -08005138bins/$(CONFIG)/tcp_server_posix_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08005139
5140else
5141
Craig Tiller17ec5f92015-01-18 11:30:41 -08005142bins/$(CONFIG)/tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller3bf466f2014-12-19 16:21:57 -08005143 $(E) "[LD] Linking $@"
5144 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005145 $(Q) $(LD) $(LDFLAGS) $(TCP_SERVER_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/tcp_server_posix_test
ctiller3bf466f2014-12-19 16:21:57 -08005146
5147endif
5148
Craig Tiller17ec5f92015-01-18 11:30:41 -08005149objs/$(CONFIG)/test/core/iomgr/tcp_server_posix_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08005150
Craig Tiller17ec5f92015-01-18 11:30:41 -08005151deps_tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005152
5153ifneq ($(NO_SECURE),true)
5154ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005155-include $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
5156endif
5157endif
5158
5159
Craig Tiller17ec5f92015-01-18 11:30:41 -08005160TIME_AVERAGED_STATS_TEST_SRC = \
5161 test/core/iomgr/time_averaged_stats_test.c \
5162
5163TIME_AVERAGED_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_AVERAGED_STATS_TEST_SRC))))
5164
5165ifeq ($(NO_SECURE),true)
5166
5167# You can't build secure targets if you don't have OpenSSL with ALPN.
5168
5169bins/$(CONFIG)/time_averaged_stats_test: openssl_dep_error
5170
5171else
5172
5173bins/$(CONFIG)/time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5174 $(E) "[LD] Linking $@"
5175 $(Q) mkdir -p `dirname $@`
5176 $(Q) $(LD) $(LDFLAGS) $(TIME_AVERAGED_STATS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/time_averaged_stats_test
5177
5178endif
5179
5180objs/$(CONFIG)/test/core/iomgr/time_averaged_stats_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5181
5182deps_time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
5183
5184ifneq ($(NO_SECURE),true)
5185ifneq ($(NO_DEPS),true)
5186-include $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005187endif
5188endif
5189
ctiller3bf466f2014-12-19 16:21:57 -08005190
ctiller8919f602014-12-10 10:19:42 -08005191TIME_TEST_SRC = \
5192 test/core/support/time_test.c \
5193
ctillercab52e72015-01-06 13:10:23 -08005194TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005195
nnoble69ac39f2014-12-12 15:43:38 -08005196ifeq ($(NO_SECURE),true)
5197
Nicolas Noble047b7272015-01-16 13:55:05 -08005198# You can't build secure targets if you don't have OpenSSL with ALPN.
5199
ctillercab52e72015-01-06 13:10:23 -08005200bins/$(CONFIG)/time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005201
5202else
5203
nnoble5f2ecb32015-01-12 16:40:18 -08005204bins/$(CONFIG)/time_test: $(TIME_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08005205 $(E) "[LD] Linking $@"
5206 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005207 $(Q) $(LD) $(LDFLAGS) $(TIME_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/time_test
ctiller8919f602014-12-10 10:19:42 -08005208
nnoble69ac39f2014-12-12 15:43:38 -08005209endif
5210
Craig Tiller770f60a2015-01-12 17:44:43 -08005211objs/$(CONFIG)/test/core/support/time_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08005212
Craig Tiller8f126a62015-01-15 08:50:19 -08005213deps_time_test: $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005214
nnoble69ac39f2014-12-12 15:43:38 -08005215ifneq ($(NO_SECURE),true)
5216ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005217-include $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005218endif
nnoble69ac39f2014-12-12 15:43:38 -08005219endif
ctiller8919f602014-12-10 10:19:42 -08005220
ctiller8919f602014-12-10 10:19:42 -08005221
Craig Tiller17ec5f92015-01-18 11:30:41 -08005222TIMEOUT_ENCODING_TEST_SRC = \
5223 test/core/transport/chttp2/timeout_encoding_test.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08005224
Craig Tiller17ec5f92015-01-18 11:30:41 -08005225TIMEOUT_ENCODING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMEOUT_ENCODING_TEST_SRC))))
David Klempner7f3ed1e2015-01-16 15:35:56 -08005226
5227ifeq ($(NO_SECURE),true)
5228
5229# You can't build secure targets if you don't have OpenSSL with ALPN.
5230
Craig Tiller17ec5f92015-01-18 11:30:41 -08005231bins/$(CONFIG)/timeout_encoding_test: openssl_dep_error
David Klempner7f3ed1e2015-01-16 15:35:56 -08005232
5233else
5234
Craig Tiller17ec5f92015-01-18 11:30:41 -08005235bins/$(CONFIG)/timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
David Klempner7f3ed1e2015-01-16 15:35:56 -08005236 $(E) "[LD] Linking $@"
5237 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005238 $(Q) $(LD) $(LDFLAGS) $(TIMEOUT_ENCODING_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/timeout_encoding_test
David Klempner7f3ed1e2015-01-16 15:35:56 -08005239
5240endif
5241
Craig Tiller17ec5f92015-01-18 11:30:41 -08005242objs/$(CONFIG)/test/core/transport/chttp2/timeout_encoding_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
David Klempner7f3ed1e2015-01-16 15:35:56 -08005243
Craig Tiller17ec5f92015-01-18 11:30:41 -08005244deps_timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
David Klempner7f3ed1e2015-01-16 15:35:56 -08005245
5246ifneq ($(NO_SECURE),true)
5247ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005248-include $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
5249endif
5250endif
5251
5252
5253TRANSPORT_METADATA_TEST_SRC = \
5254 test/core/transport/metadata_test.c \
5255
5256TRANSPORT_METADATA_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_METADATA_TEST_SRC))))
5257
5258ifeq ($(NO_SECURE),true)
5259
5260# You can't build secure targets if you don't have OpenSSL with ALPN.
5261
5262bins/$(CONFIG)/transport_metadata_test: openssl_dep_error
5263
5264else
5265
5266bins/$(CONFIG)/transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5267 $(E) "[LD] Linking $@"
5268 $(Q) mkdir -p `dirname $@`
5269 $(Q) $(LD) $(LDFLAGS) $(TRANSPORT_METADATA_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/transport_metadata_test
5270
5271endif
5272
5273objs/$(CONFIG)/test/core/transport/metadata_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5274
5275deps_transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
5276
5277ifneq ($(NO_SECURE),true)
5278ifneq ($(NO_DEPS),true)
5279-include $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
David Klempner7f3ed1e2015-01-16 15:35:56 -08005280endif
5281endif
5282
5283
Craig Tiller996d9df2015-01-19 21:06:50 -08005284CHANNEL_ARGUMENTS_TEST_SRC = \
5285 test/cpp/client/channel_arguments_test.cc \
5286
5287CHANNEL_ARGUMENTS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNEL_ARGUMENTS_TEST_SRC))))
5288
5289ifeq ($(NO_SECURE),true)
5290
5291# You can't build secure targets if you don't have OpenSSL with ALPN.
5292
5293bins/$(CONFIG)/channel_arguments_test: openssl_dep_error
5294
5295else
5296
5297bins/$(CONFIG)/channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5298 $(E) "[LD] Linking $@"
5299 $(Q) mkdir -p `dirname $@`
5300 $(Q) $(LDXX) $(LDFLAGS) $(CHANNEL_ARGUMENTS_TEST_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/channel_arguments_test
5301
5302endif
5303
5304objs/$(CONFIG)/test/cpp/client/channel_arguments_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5305
5306deps_channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
5307
5308ifneq ($(NO_SECURE),true)
5309ifneq ($(NO_DEPS),true)
5310-include $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
5311endif
5312endif
5313
5314
5315CPP_PLUGIN_SRC = \
5316 src/compiler/cpp_generator.cc \
5317 src/compiler/cpp_plugin.cc \
5318
5319CPP_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CPP_PLUGIN_SRC))))
5320
5321bins/$(CONFIG)/cpp_plugin: $(CPP_PLUGIN_OBJS)
5322 $(E) "[HOSTLD] Linking $@"
5323 $(Q) mkdir -p `dirname $@`
5324 $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(CPP_PLUGIN_OBJS) $(HOST_LDLIBSXX) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o bins/$(CONFIG)/cpp_plugin
5325
5326objs/$(CONFIG)/src/compiler/cpp_generator.o:
5327objs/$(CONFIG)/src/compiler/cpp_plugin.o:
5328
5329deps_cpp_plugin: $(CPP_PLUGIN_OBJS:.o=.dep)
5330
5331ifneq ($(NO_DEPS),true)
5332-include $(CPP_PLUGIN_OBJS:.o=.dep)
5333endif
5334
5335
5336CREDENTIALS_TEST_SRC = \
5337 test/cpp/client/credentials_test.cc \
5338
5339CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CREDENTIALS_TEST_SRC))))
5340
5341ifeq ($(NO_SECURE),true)
5342
5343# You can't build secure targets if you don't have OpenSSL with ALPN.
5344
5345bins/$(CONFIG)/credentials_test: openssl_dep_error
5346
5347else
5348
5349bins/$(CONFIG)/credentials_test: $(CREDENTIALS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5350 $(E) "[LD] Linking $@"
5351 $(Q) mkdir -p `dirname $@`
5352 $(Q) $(LDXX) $(LDFLAGS) $(CREDENTIALS_TEST_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/credentials_test
5353
5354endif
5355
5356objs/$(CONFIG)/test/cpp/client/credentials_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5357
5358deps_credentials_test: $(CREDENTIALS_TEST_OBJS:.o=.dep)
5359
5360ifneq ($(NO_SECURE),true)
5361ifneq ($(NO_DEPS),true)
5362-include $(CREDENTIALS_TEST_OBJS:.o=.dep)
5363endif
5364endif
5365
5366
5367END2END_TEST_SRC = \
5368 test/cpp/end2end/end2end_test.cc \
5369
5370END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(END2END_TEST_SRC))))
5371
5372ifeq ($(NO_SECURE),true)
5373
5374# You can't build secure targets if you don't have OpenSSL with ALPN.
5375
5376bins/$(CONFIG)/end2end_test: openssl_dep_error
5377
5378else
5379
5380bins/$(CONFIG)/end2end_test: $(END2END_TEST_OBJS) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5381 $(E) "[LD] Linking $@"
5382 $(Q) mkdir -p `dirname $@`
5383 $(Q) $(LDXX) $(LDFLAGS) $(END2END_TEST_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/end2end_test
5384
5385endif
5386
5387objs/$(CONFIG)/test/cpp/end2end/end2end_test.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5388
5389deps_end2end_test: $(END2END_TEST_OBJS:.o=.dep)
5390
5391ifneq ($(NO_SECURE),true)
5392ifneq ($(NO_DEPS),true)
5393-include $(END2END_TEST_OBJS:.o=.dep)
5394endif
5395endif
5396
5397
5398INTEROP_CLIENT_SRC = \
5399 gens/test/cpp/interop/empty.pb.cc \
5400 gens/test/cpp/interop/messages.pb.cc \
5401 gens/test/cpp/interop/test.pb.cc \
5402 test/cpp/interop/client.cc \
5403
5404INTEROP_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_CLIENT_SRC))))
5405
5406ifeq ($(NO_SECURE),true)
5407
5408# You can't build secure targets if you don't have OpenSSL with ALPN.
5409
5410bins/$(CONFIG)/interop_client: openssl_dep_error
5411
5412else
5413
5414bins/$(CONFIG)/interop_client: $(INTEROP_CLIENT_OBJS) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5415 $(E) "[LD] Linking $@"
5416 $(Q) mkdir -p `dirname $@`
5417 $(Q) $(LDXX) $(LDFLAGS) $(INTEROP_CLIENT_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/interop_client
5418
5419endif
5420
5421objs/$(CONFIG)/test/cpp/interop/empty.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5422objs/$(CONFIG)/test/cpp/interop/messages.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5423objs/$(CONFIG)/test/cpp/interop/test.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5424objs/$(CONFIG)/test/cpp/interop/client.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5425
5426deps_interop_client: $(INTEROP_CLIENT_OBJS:.o=.dep)
5427
5428ifneq ($(NO_SECURE),true)
5429ifneq ($(NO_DEPS),true)
5430-include $(INTEROP_CLIENT_OBJS:.o=.dep)
5431endif
5432endif
5433
5434
5435INTEROP_SERVER_SRC = \
5436 gens/test/cpp/interop/empty.pb.cc \
5437 gens/test/cpp/interop/messages.pb.cc \
5438 gens/test/cpp/interop/test.pb.cc \
5439 test/cpp/interop/server.cc \
5440
5441INTEROP_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_SERVER_SRC))))
5442
5443ifeq ($(NO_SECURE),true)
5444
5445# You can't build secure targets if you don't have OpenSSL with ALPN.
5446
5447bins/$(CONFIG)/interop_server: openssl_dep_error
5448
5449else
5450
5451bins/$(CONFIG)/interop_server: $(INTEROP_SERVER_OBJS) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5452 $(E) "[LD] Linking $@"
5453 $(Q) mkdir -p `dirname $@`
5454 $(Q) $(LDXX) $(LDFLAGS) $(INTEROP_SERVER_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/interop_server
5455
5456endif
5457
5458objs/$(CONFIG)/test/cpp/interop/empty.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5459objs/$(CONFIG)/test/cpp/interop/messages.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5460objs/$(CONFIG)/test/cpp/interop/test.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5461objs/$(CONFIG)/test/cpp/interop/server.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5462
5463deps_interop_server: $(INTEROP_SERVER_OBJS:.o=.dep)
5464
5465ifneq ($(NO_SECURE),true)
5466ifneq ($(NO_DEPS),true)
5467-include $(INTEROP_SERVER_OBJS:.o=.dep)
5468endif
5469endif
5470
5471
5472QPS_CLIENT_SRC = \
5473 gens/test/cpp/qps/qpstest.pb.cc \
5474 test/cpp/qps/client.cc \
5475
5476QPS_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_CLIENT_SRC))))
5477
5478ifeq ($(NO_SECURE),true)
5479
5480# You can't build secure targets if you don't have OpenSSL with ALPN.
5481
5482bins/$(CONFIG)/qps_client: openssl_dep_error
5483
5484else
5485
5486bins/$(CONFIG)/qps_client: $(QPS_CLIENT_OBJS) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5487 $(E) "[LD] Linking $@"
5488 $(Q) mkdir -p `dirname $@`
5489 $(Q) $(LDXX) $(LDFLAGS) $(QPS_CLIENT_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/qps_client
5490
5491endif
5492
5493objs/$(CONFIG)/test/cpp/qps/qpstest.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5494objs/$(CONFIG)/test/cpp/qps/client.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5495
5496deps_qps_client: $(QPS_CLIENT_OBJS:.o=.dep)
5497
5498ifneq ($(NO_SECURE),true)
5499ifneq ($(NO_DEPS),true)
5500-include $(QPS_CLIENT_OBJS:.o=.dep)
5501endif
5502endif
5503
5504
5505QPS_SERVER_SRC = \
5506 gens/test/cpp/qps/qpstest.pb.cc \
5507 test/cpp/qps/server.cc \
5508
5509QPS_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_SERVER_SRC))))
5510
5511ifeq ($(NO_SECURE),true)
5512
5513# You can't build secure targets if you don't have OpenSSL with ALPN.
5514
5515bins/$(CONFIG)/qps_server: openssl_dep_error
5516
5517else
5518
5519bins/$(CONFIG)/qps_server: $(QPS_SERVER_OBJS) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5520 $(E) "[LD] Linking $@"
5521 $(Q) mkdir -p `dirname $@`
5522 $(Q) $(LDXX) $(LDFLAGS) $(QPS_SERVER_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/qps_server
5523
5524endif
5525
5526objs/$(CONFIG)/test/cpp/qps/qpstest.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5527objs/$(CONFIG)/test/cpp/qps/server.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5528
5529deps_qps_server: $(QPS_SERVER_OBJS:.o=.dep)
5530
5531ifneq ($(NO_SECURE),true)
5532ifneq ($(NO_DEPS),true)
5533-include $(QPS_SERVER_OBJS:.o=.dep)
5534endif
5535endif
5536
5537
5538RUBY_PLUGIN_SRC = \
5539 src/compiler/ruby_generator.cc \
5540 src/compiler/ruby_plugin.cc \
5541
5542RUBY_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RUBY_PLUGIN_SRC))))
5543
5544bins/$(CONFIG)/ruby_plugin: $(RUBY_PLUGIN_OBJS)
5545 $(E) "[HOSTLD] Linking $@"
5546 $(Q) mkdir -p `dirname $@`
5547 $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(RUBY_PLUGIN_OBJS) $(HOST_LDLIBSXX) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o bins/$(CONFIG)/ruby_plugin
5548
5549objs/$(CONFIG)/src/compiler/ruby_generator.o:
5550objs/$(CONFIG)/src/compiler/ruby_plugin.o:
5551
5552deps_ruby_plugin: $(RUBY_PLUGIN_OBJS:.o=.dep)
5553
5554ifneq ($(NO_DEPS),true)
5555-include $(RUBY_PLUGIN_OBJS:.o=.dep)
5556endif
5557
5558
5559STATUS_TEST_SRC = \
5560 test/cpp/util/status_test.cc \
5561
5562STATUS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(STATUS_TEST_SRC))))
5563
5564ifeq ($(NO_SECURE),true)
5565
5566# You can't build secure targets if you don't have OpenSSL with ALPN.
5567
5568bins/$(CONFIG)/status_test: openssl_dep_error
5569
5570else
5571
5572bins/$(CONFIG)/status_test: $(STATUS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5573 $(E) "[LD] Linking $@"
5574 $(Q) mkdir -p `dirname $@`
5575 $(Q) $(LDXX) $(LDFLAGS) $(STATUS_TEST_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/status_test
5576
5577endif
5578
5579objs/$(CONFIG)/test/cpp/util/status_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5580
5581deps_status_test: $(STATUS_TEST_OBJS:.o=.dep)
5582
5583ifneq ($(NO_SECURE),true)
5584ifneq ($(NO_DEPS),true)
5585-include $(STATUS_TEST_OBJS:.o=.dep)
5586endif
5587endif
5588
5589
5590SYNC_CLIENT_ASYNC_SERVER_TEST_SRC = \
5591 test/cpp/end2end/sync_client_async_server_test.cc \
5592
5593SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SYNC_CLIENT_ASYNC_SERVER_TEST_SRC))))
5594
5595ifeq ($(NO_SECURE),true)
5596
5597# You can't build secure targets if you don't have OpenSSL with ALPN.
5598
5599bins/$(CONFIG)/sync_client_async_server_test: openssl_dep_error
5600
5601else
5602
5603bins/$(CONFIG)/sync_client_async_server_test: $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5604 $(E) "[LD] Linking $@"
5605 $(Q) mkdir -p `dirname $@`
5606 $(Q) $(LDXX) $(LDFLAGS) $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/sync_client_async_server_test
5607
5608endif
5609
5610objs/$(CONFIG)/test/cpp/end2end/sync_client_async_server_test.o: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5611
5612deps_sync_client_async_server_test: $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
5613
5614ifneq ($(NO_SECURE),true)
5615ifneq ($(NO_DEPS),true)
5616-include $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
5617endif
5618endif
5619
5620
5621THREAD_POOL_TEST_SRC = \
5622 test/cpp/server/thread_pool_test.cc \
5623
5624THREAD_POOL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(THREAD_POOL_TEST_SRC))))
5625
5626ifeq ($(NO_SECURE),true)
5627
5628# You can't build secure targets if you don't have OpenSSL with ALPN.
5629
5630bins/$(CONFIG)/thread_pool_test: openssl_dep_error
5631
5632else
5633
5634bins/$(CONFIG)/thread_pool_test: $(THREAD_POOL_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5635 $(E) "[LD] Linking $@"
5636 $(Q) mkdir -p `dirname $@`
5637 $(Q) $(LDXX) $(LDFLAGS) $(THREAD_POOL_TEST_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/thread_pool_test
5638
5639endif
5640
5641objs/$(CONFIG)/test/cpp/server/thread_pool_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5642
5643deps_thread_pool_test: $(THREAD_POOL_TEST_OBJS:.o=.dep)
5644
5645ifneq ($(NO_SECURE),true)
5646ifneq ($(NO_DEPS),true)
5647-include $(THREAD_POOL_TEST_OBJS:.o=.dep)
5648endif
5649endif
5650
5651
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005652CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_SRC = \
5653
ctillercab52e72015-01-06 13:10:23 -08005654CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005655
nnoble69ac39f2014-12-12 15:43:38 -08005656ifeq ($(NO_SECURE),true)
5657
Nicolas Noble047b7272015-01-16 13:55:05 -08005658# You can't build secure targets if you don't have OpenSSL with ALPN.
5659
ctillercab52e72015-01-06 13:10:23 -08005660bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005661
5662else
5663
nnoble5f2ecb32015-01-12 16:40:18 -08005664bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005665 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005666 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005667 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005668
nnoble69ac39f2014-12-12 15:43:38 -08005669endif
5670
Craig Tillerd4773f52015-01-12 16:38:47 -08005671
Craig Tiller8f126a62015-01-15 08:50:19 -08005672deps_chttp2_fake_security_cancel_after_accept_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005673
nnoble69ac39f2014-12-12 15:43:38 -08005674ifneq ($(NO_SECURE),true)
5675ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005676-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005677endif
nnoble69ac39f2014-12-12 15:43:38 -08005678endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005679
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005680
5681CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
5682
ctillercab52e72015-01-06 13:10:23 -08005683CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005684
nnoble69ac39f2014-12-12 15:43:38 -08005685ifeq ($(NO_SECURE),true)
5686
Nicolas Noble047b7272015-01-16 13:55:05 -08005687# You can't build secure targets if you don't have OpenSSL with ALPN.
5688
ctillercab52e72015-01-06 13:10:23 -08005689bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005690
5691else
5692
nnoble5f2ecb32015-01-12 16:40:18 -08005693bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005694 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005695 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005696 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005697
nnoble69ac39f2014-12-12 15:43:38 -08005698endif
5699
Craig Tillerd4773f52015-01-12 16:38:47 -08005700
Craig Tiller8f126a62015-01-15 08:50:19 -08005701deps_chttp2_fake_security_cancel_after_accept_and_writes_closed_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005702
nnoble69ac39f2014-12-12 15:43:38 -08005703ifneq ($(NO_SECURE),true)
5704ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005705-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005706endif
nnoble69ac39f2014-12-12 15:43:38 -08005707endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005708
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005709
5710CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_SRC = \
5711
ctillercab52e72015-01-06 13:10:23 -08005712CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005713
nnoble69ac39f2014-12-12 15:43:38 -08005714ifeq ($(NO_SECURE),true)
5715
Nicolas Noble047b7272015-01-16 13:55:05 -08005716# You can't build secure targets if you don't have OpenSSL with ALPN.
5717
ctillercab52e72015-01-06 13:10:23 -08005718bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005719
5720else
5721
nnoble5f2ecb32015-01-12 16:40:18 -08005722bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005723 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005724 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005725 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005726
nnoble69ac39f2014-12-12 15:43:38 -08005727endif
5728
Craig Tillerd4773f52015-01-12 16:38:47 -08005729
Craig Tiller8f126a62015-01-15 08:50:19 -08005730deps_chttp2_fake_security_cancel_after_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005731
nnoble69ac39f2014-12-12 15:43:38 -08005732ifneq ($(NO_SECURE),true)
5733ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005734-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005735endif
nnoble69ac39f2014-12-12 15:43:38 -08005736endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005737
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005738
5739CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_SRC = \
5740
ctillercab52e72015-01-06 13:10:23 -08005741CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005742
nnoble69ac39f2014-12-12 15:43:38 -08005743ifeq ($(NO_SECURE),true)
5744
Nicolas Noble047b7272015-01-16 13:55:05 -08005745# You can't build secure targets if you don't have OpenSSL with ALPN.
5746
ctillercab52e72015-01-06 13:10:23 -08005747bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005748
5749else
5750
nnoble5f2ecb32015-01-12 16:40:18 -08005751bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005752 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005753 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005754 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005755
nnoble69ac39f2014-12-12 15:43:38 -08005756endif
5757
Craig Tillerd4773f52015-01-12 16:38:47 -08005758
Craig Tiller8f126a62015-01-15 08:50:19 -08005759deps_chttp2_fake_security_cancel_before_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005760
nnoble69ac39f2014-12-12 15:43:38 -08005761ifneq ($(NO_SECURE),true)
5762ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005763-include $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005764endif
nnoble69ac39f2014-12-12 15:43:38 -08005765endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005766
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005767
5768CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_SRC = \
5769
ctillercab52e72015-01-06 13:10:23 -08005770CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005771
nnoble69ac39f2014-12-12 15:43:38 -08005772ifeq ($(NO_SECURE),true)
5773
Nicolas Noble047b7272015-01-16 13:55:05 -08005774# You can't build secure targets if you don't have OpenSSL with ALPN.
5775
ctillercab52e72015-01-06 13:10:23 -08005776bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005777
5778else
5779
nnoble5f2ecb32015-01-12 16:40:18 -08005780bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test: $(CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005781 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005782 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005783 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005784
nnoble69ac39f2014-12-12 15:43:38 -08005785endif
5786
Craig Tillerd4773f52015-01-12 16:38:47 -08005787
Craig Tiller8f126a62015-01-15 08:50:19 -08005788deps_chttp2_fake_security_cancel_in_a_vacuum_test: $(CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005789
nnoble69ac39f2014-12-12 15:43:38 -08005790ifneq ($(NO_SECURE),true)
5791ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005792-include $(CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005793endif
nnoble69ac39f2014-12-12 15:43:38 -08005794endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005795
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005796
hongyu24200d32015-01-08 15:13:49 -08005797CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
5798
5799CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08005800
5801ifeq ($(NO_SECURE),true)
5802
Nicolas Noble047b7272015-01-16 13:55:05 -08005803# You can't build secure targets if you don't have OpenSSL with ALPN.
5804
hongyu24200d32015-01-08 15:13:49 -08005805bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test: openssl_dep_error
5806
5807else
5808
nnoble5f2ecb32015-01-12 16:40:18 -08005809bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test: $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
hongyu24200d32015-01-08 15:13:49 -08005810 $(E) "[LD] Linking $@"
5811 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005812 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test
hongyu24200d32015-01-08 15:13:49 -08005813
5814endif
5815
Craig Tillerd4773f52015-01-12 16:38:47 -08005816
Craig Tiller8f126a62015-01-15 08:50:19 -08005817deps_chttp2_fake_security_census_simple_request_test: $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005818
5819ifneq ($(NO_SECURE),true)
5820ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005821-include $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005822endif
5823endif
5824
hongyu24200d32015-01-08 15:13:49 -08005825
ctillerc6d61c42014-12-15 14:52:08 -08005826CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_SRC = \
5827
ctillercab52e72015-01-06 13:10:23 -08005828CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08005829
5830ifeq ($(NO_SECURE),true)
5831
Nicolas Noble047b7272015-01-16 13:55:05 -08005832# You can't build secure targets if you don't have OpenSSL with ALPN.
5833
ctillercab52e72015-01-06 13:10:23 -08005834bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08005835
5836else
5837
nnoble5f2ecb32015-01-12 16:40:18 -08005838bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test: $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctillerc6d61c42014-12-15 14:52:08 -08005839 $(E) "[LD] Linking $@"
5840 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005841 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test
ctillerc6d61c42014-12-15 14:52:08 -08005842
5843endif
5844
Craig Tillerd4773f52015-01-12 16:38:47 -08005845
Craig Tiller8f126a62015-01-15 08:50:19 -08005846deps_chttp2_fake_security_disappearing_server_test: $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005847
5848ifneq ($(NO_SECURE),true)
5849ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005850-include $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005851endif
5852endif
5853
ctillerc6d61c42014-12-15 14:52:08 -08005854
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005855CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
5856
ctillercab52e72015-01-06 13:10:23 -08005857CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005858
nnoble69ac39f2014-12-12 15:43:38 -08005859ifeq ($(NO_SECURE),true)
5860
Nicolas Noble047b7272015-01-16 13:55:05 -08005861# You can't build secure targets if you don't have OpenSSL with ALPN.
5862
ctillercab52e72015-01-06 13:10:23 -08005863bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005864
5865else
5866
nnoble5f2ecb32015-01-12 16:40:18 -08005867bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005868 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005869 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005870 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005871
nnoble69ac39f2014-12-12 15:43:38 -08005872endif
5873
Craig Tillerd4773f52015-01-12 16:38:47 -08005874
Craig Tiller8f126a62015-01-15 08:50:19 -08005875deps_chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005876
nnoble69ac39f2014-12-12 15:43:38 -08005877ifneq ($(NO_SECURE),true)
5878ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005879-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005880endif
nnoble69ac39f2014-12-12 15:43:38 -08005881endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005882
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005883
5884CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
5885
ctillercab52e72015-01-06 13:10:23 -08005886CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005887
nnoble69ac39f2014-12-12 15:43:38 -08005888ifeq ($(NO_SECURE),true)
5889
Nicolas Noble047b7272015-01-16 13:55:05 -08005890# You can't build secure targets if you don't have OpenSSL with ALPN.
5891
ctillercab52e72015-01-06 13:10:23 -08005892bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005893
5894else
5895
nnoble5f2ecb32015-01-12 16:40:18 -08005896bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test: $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005897 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005898 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005899 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005900
nnoble69ac39f2014-12-12 15:43:38 -08005901endif
5902
Craig Tillerd4773f52015-01-12 16:38:47 -08005903
Craig Tiller8f126a62015-01-15 08:50:19 -08005904deps_chttp2_fake_security_early_server_shutdown_finishes_tags_test: $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005905
nnoble69ac39f2014-12-12 15:43:38 -08005906ifneq ($(NO_SECURE),true)
5907ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005908-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005909endif
nnoble69ac39f2014-12-12 15:43:38 -08005910endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005911
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005912
Craig Tiller4ffdcd52015-01-16 11:34:55 -08005913CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
5914
5915CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
5916
5917ifeq ($(NO_SECURE),true)
5918
David Klempner7f3ed1e2015-01-16 15:35:56 -08005919# You can't build secure targets if you don't have OpenSSL with ALPN.
5920
Craig Tiller4ffdcd52015-01-16 11:34:55 -08005921bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test: openssl_dep_error
5922
5923else
5924
5925bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test: $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5926 $(E) "[LD] Linking $@"
5927 $(Q) mkdir -p `dirname $@`
5928 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test
5929
5930endif
5931
5932
5933deps_chttp2_fake_security_graceful_server_shutdown_test: $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
5934
5935ifneq ($(NO_SECURE),true)
5936ifneq ($(NO_DEPS),true)
5937-include $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
5938endif
5939endif
5940
5941
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005942CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_SRC = \
5943
ctillercab52e72015-01-06 13:10:23 -08005944CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005945
nnoble69ac39f2014-12-12 15:43:38 -08005946ifeq ($(NO_SECURE),true)
5947
Nicolas Noble047b7272015-01-16 13:55:05 -08005948# You can't build secure targets if you don't have OpenSSL with ALPN.
5949
ctillercab52e72015-01-06 13:10:23 -08005950bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005951
5952else
5953
nnoble5f2ecb32015-01-12 16:40:18 -08005954bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test: $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005955 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005956 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005957 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005958
nnoble69ac39f2014-12-12 15:43:38 -08005959endif
5960
Craig Tillerd4773f52015-01-12 16:38:47 -08005961
Craig Tiller8f126a62015-01-15 08:50:19 -08005962deps_chttp2_fake_security_invoke_large_request_test: $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005963
nnoble69ac39f2014-12-12 15:43:38 -08005964ifneq ($(NO_SECURE),true)
5965ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005966-include $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005967endif
nnoble69ac39f2014-12-12 15:43:38 -08005968endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005969
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005970
5971CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_SRC = \
5972
ctillercab52e72015-01-06 13:10:23 -08005973CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005974
nnoble69ac39f2014-12-12 15:43:38 -08005975ifeq ($(NO_SECURE),true)
5976
Nicolas Noble047b7272015-01-16 13:55:05 -08005977# You can't build secure targets if you don't have OpenSSL with ALPN.
5978
ctillercab52e72015-01-06 13:10:23 -08005979bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005980
5981else
5982
nnoble5f2ecb32015-01-12 16:40:18 -08005983bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test: $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005984 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005985 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005986 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005987
nnoble69ac39f2014-12-12 15:43:38 -08005988endif
5989
Craig Tillerd4773f52015-01-12 16:38:47 -08005990
Craig Tiller8f126a62015-01-15 08:50:19 -08005991deps_chttp2_fake_security_max_concurrent_streams_test: $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005992
nnoble69ac39f2014-12-12 15:43:38 -08005993ifneq ($(NO_SECURE),true)
5994ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005995-include $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005996endif
nnoble69ac39f2014-12-12 15:43:38 -08005997endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005998
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005999
6000CHTTP2_FAKE_SECURITY_NO_OP_TEST_SRC = \
6001
ctillercab52e72015-01-06 13:10:23 -08006002CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006003
nnoble69ac39f2014-12-12 15:43:38 -08006004ifeq ($(NO_SECURE),true)
6005
Nicolas Noble047b7272015-01-16 13:55:05 -08006006# You can't build secure targets if you don't have OpenSSL with ALPN.
6007
ctillercab52e72015-01-06 13:10:23 -08006008bins/$(CONFIG)/chttp2_fake_security_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006009
6010else
6011
nnoble5f2ecb32015-01-12 16:40:18 -08006012bins/$(CONFIG)/chttp2_fake_security_no_op_test: $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006013 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006014 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006015 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_no_op_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006016
nnoble69ac39f2014-12-12 15:43:38 -08006017endif
6018
Craig Tillerd4773f52015-01-12 16:38:47 -08006019
Craig Tiller8f126a62015-01-15 08:50:19 -08006020deps_chttp2_fake_security_no_op_test: $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006021
nnoble69ac39f2014-12-12 15:43:38 -08006022ifneq ($(NO_SECURE),true)
6023ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006024-include $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006025endif
nnoble69ac39f2014-12-12 15:43:38 -08006026endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006027
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006028
6029CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_SRC = \
6030
ctillercab52e72015-01-06 13:10:23 -08006031CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006032
nnoble69ac39f2014-12-12 15:43:38 -08006033ifeq ($(NO_SECURE),true)
6034
Nicolas Noble047b7272015-01-16 13:55:05 -08006035# You can't build secure targets if you don't have OpenSSL with ALPN.
6036
ctillercab52e72015-01-06 13:10:23 -08006037bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006038
6039else
6040
nnoble5f2ecb32015-01-12 16:40:18 -08006041bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test: $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006042 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006043 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006044 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006045
nnoble69ac39f2014-12-12 15:43:38 -08006046endif
6047
Craig Tillerd4773f52015-01-12 16:38:47 -08006048
Craig Tiller8f126a62015-01-15 08:50:19 -08006049deps_chttp2_fake_security_ping_pong_streaming_test: $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006050
nnoble69ac39f2014-12-12 15:43:38 -08006051ifneq ($(NO_SECURE),true)
6052ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006053-include $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006054endif
nnoble69ac39f2014-12-12 15:43:38 -08006055endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006056
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006057
ctiller33023c42014-12-12 16:28:33 -08006058CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
6059
ctillercab52e72015-01-06 13:10:23 -08006060CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller33023c42014-12-12 16:28:33 -08006061
6062ifeq ($(NO_SECURE),true)
6063
Nicolas Noble047b7272015-01-16 13:55:05 -08006064# You can't build secure targets if you don't have OpenSSL with ALPN.
6065
ctillercab52e72015-01-06 13:10:23 -08006066bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08006067
6068else
6069
nnoble5f2ecb32015-01-12 16:40:18 -08006070bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller33023c42014-12-12 16:28:33 -08006071 $(E) "[LD] Linking $@"
6072 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006073 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test
ctiller33023c42014-12-12 16:28:33 -08006074
6075endif
6076
Craig Tillerd4773f52015-01-12 16:38:47 -08006077
Craig Tiller8f126a62015-01-15 08:50:19 -08006078deps_chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006079
6080ifneq ($(NO_SECURE),true)
6081ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006082-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006083endif
6084endif
6085
ctiller33023c42014-12-12 16:28:33 -08006086
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006087CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
6088
ctillercab52e72015-01-06 13:10:23 -08006089CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006090
nnoble69ac39f2014-12-12 15:43:38 -08006091ifeq ($(NO_SECURE),true)
6092
Nicolas Noble047b7272015-01-16 13:55:05 -08006093# You can't build secure targets if you don't have OpenSSL with ALPN.
6094
ctillercab52e72015-01-06 13:10:23 -08006095bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006096
6097else
6098
nnoble5f2ecb32015-01-12 16:40:18 -08006099bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test: $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006100 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006101 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006102 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006103
nnoble69ac39f2014-12-12 15:43:38 -08006104endif
6105
Craig Tillerd4773f52015-01-12 16:38:47 -08006106
Craig Tiller8f126a62015-01-15 08:50:19 -08006107deps_chttp2_fake_security_request_response_with_metadata_and_payload_test: $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006108
nnoble69ac39f2014-12-12 15:43:38 -08006109ifneq ($(NO_SECURE),true)
6110ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006111-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006112endif
nnoble69ac39f2014-12-12 15:43:38 -08006113endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006114
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006115
6116CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
6117
ctillercab52e72015-01-06 13:10:23 -08006118CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006119
nnoble69ac39f2014-12-12 15:43:38 -08006120ifeq ($(NO_SECURE),true)
6121
Nicolas Noble047b7272015-01-16 13:55:05 -08006122# You can't build secure targets if you don't have OpenSSL with ALPN.
6123
ctillercab52e72015-01-06 13:10:23 -08006124bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006125
6126else
6127
nnoble5f2ecb32015-01-12 16:40:18 -08006128bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test: $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006129 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006130 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006131 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006132
nnoble69ac39f2014-12-12 15:43:38 -08006133endif
6134
Craig Tillerd4773f52015-01-12 16:38:47 -08006135
Craig Tiller8f126a62015-01-15 08:50:19 -08006136deps_chttp2_fake_security_request_response_with_payload_test: $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006137
nnoble69ac39f2014-12-12 15:43:38 -08006138ifneq ($(NO_SECURE),true)
6139ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006140-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006141endif
nnoble69ac39f2014-12-12 15:43:38 -08006142endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006143
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006144
ctiller2845cad2014-12-15 15:14:12 -08006145CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
6146
ctillercab52e72015-01-06 13:10:23 -08006147CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller2845cad2014-12-15 15:14:12 -08006148
6149ifeq ($(NO_SECURE),true)
6150
Nicolas Noble047b7272015-01-16 13:55:05 -08006151# You can't build secure targets if you don't have OpenSSL with ALPN.
6152
ctillercab52e72015-01-06 13:10:23 -08006153bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08006154
6155else
6156
nnoble5f2ecb32015-01-12 16:40:18 -08006157bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller2845cad2014-12-15 15:14:12 -08006158 $(E) "[LD] Linking $@"
6159 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006160 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test
ctiller2845cad2014-12-15 15:14:12 -08006161
6162endif
6163
Craig Tillerd4773f52015-01-12 16:38:47 -08006164
Craig Tiller8f126a62015-01-15 08:50:19 -08006165deps_chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006166
6167ifneq ($(NO_SECURE),true)
6168ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006169-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006170endif
6171endif
6172
ctiller2845cad2014-12-15 15:14:12 -08006173
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006174CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6175
ctillercab52e72015-01-06 13:10:23 -08006176CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006177
nnoble69ac39f2014-12-12 15:43:38 -08006178ifeq ($(NO_SECURE),true)
6179
Nicolas Noble047b7272015-01-16 13:55:05 -08006180# You can't build secure targets if you don't have OpenSSL with ALPN.
6181
ctillercab52e72015-01-06 13:10:23 -08006182bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006183
6184else
6185
nnoble5f2ecb32015-01-12 16:40:18 -08006186bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006187 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006188 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006189 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006190
nnoble69ac39f2014-12-12 15:43:38 -08006191endif
6192
Craig Tillerd4773f52015-01-12 16:38:47 -08006193
Craig Tiller8f126a62015-01-15 08:50:19 -08006194deps_chttp2_fake_security_simple_delayed_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006195
nnoble69ac39f2014-12-12 15:43:38 -08006196ifneq ($(NO_SECURE),true)
6197ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006198-include $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006199endif
nnoble69ac39f2014-12-12 15:43:38 -08006200endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006201
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006202
6203CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_SRC = \
6204
ctillercab52e72015-01-06 13:10:23 -08006205CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006206
nnoble69ac39f2014-12-12 15:43:38 -08006207ifeq ($(NO_SECURE),true)
6208
Nicolas Noble047b7272015-01-16 13:55:05 -08006209# You can't build secure targets if you don't have OpenSSL with ALPN.
6210
ctillercab52e72015-01-06 13:10:23 -08006211bins/$(CONFIG)/chttp2_fake_security_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006212
6213else
6214
nnoble5f2ecb32015-01-12 16:40:18 -08006215bins/$(CONFIG)/chttp2_fake_security_simple_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006216 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006217 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006218 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_simple_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006219
nnoble69ac39f2014-12-12 15:43:38 -08006220endif
6221
Craig Tillerd4773f52015-01-12 16:38:47 -08006222
Craig Tiller8f126a62015-01-15 08:50:19 -08006223deps_chttp2_fake_security_simple_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006224
nnoble69ac39f2014-12-12 15:43:38 -08006225ifneq ($(NO_SECURE),true)
6226ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006227-include $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006228endif
nnoble69ac39f2014-12-12 15:43:38 -08006229endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006230
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006231
nathaniel52878172014-12-09 10:17:19 -08006232CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006233
ctillercab52e72015-01-06 13:10:23 -08006234CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006235
nnoble69ac39f2014-12-12 15:43:38 -08006236ifeq ($(NO_SECURE),true)
6237
Nicolas Noble047b7272015-01-16 13:55:05 -08006238# You can't build secure targets if you don't have OpenSSL with ALPN.
6239
ctillercab52e72015-01-06 13:10:23 -08006240bins/$(CONFIG)/chttp2_fake_security_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006241
6242else
6243
nnoble5f2ecb32015-01-12 16:40:18 -08006244bins/$(CONFIG)/chttp2_fake_security_thread_stress_test: $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006245 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006246 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006247 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_thread_stress_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006248
nnoble69ac39f2014-12-12 15:43:38 -08006249endif
6250
Craig Tillerd4773f52015-01-12 16:38:47 -08006251
Craig Tiller8f126a62015-01-15 08:50:19 -08006252deps_chttp2_fake_security_thread_stress_test: $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006253
nnoble69ac39f2014-12-12 15:43:38 -08006254ifneq ($(NO_SECURE),true)
6255ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006256-include $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006257endif
nnoble69ac39f2014-12-12 15:43:38 -08006258endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006259
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006260
6261CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6262
ctillercab52e72015-01-06 13:10:23 -08006263CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006264
nnoble69ac39f2014-12-12 15:43:38 -08006265ifeq ($(NO_SECURE),true)
6266
Nicolas Noble047b7272015-01-16 13:55:05 -08006267# You can't build secure targets if you don't have OpenSSL with ALPN.
6268
ctillercab52e72015-01-06 13:10:23 -08006269bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006270
6271else
6272
nnoble5f2ecb32015-01-12 16:40:18 -08006273bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test: $(CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006274 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006275 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006276 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006277
nnoble69ac39f2014-12-12 15:43:38 -08006278endif
6279
Craig Tillerd4773f52015-01-12 16:38:47 -08006280
Craig Tiller8f126a62015-01-15 08:50:19 -08006281deps_chttp2_fake_security_writes_done_hangs_with_pending_read_test: $(CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006282
nnoble69ac39f2014-12-12 15:43:38 -08006283ifneq ($(NO_SECURE),true)
6284ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006285-include $(CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006286endif
nnoble69ac39f2014-12-12 15:43:38 -08006287endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006288
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006289
6290CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6291
ctillercab52e72015-01-06 13:10:23 -08006292CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006293
nnoble69ac39f2014-12-12 15:43:38 -08006294ifeq ($(NO_SECURE),true)
6295
Nicolas Noble047b7272015-01-16 13:55:05 -08006296# You can't build secure targets if you don't have OpenSSL with ALPN.
6297
ctillercab52e72015-01-06 13:10:23 -08006298bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006299
6300else
6301
nnoble5f2ecb32015-01-12 16:40:18 -08006302bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006303 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006304 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006305 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006306
nnoble69ac39f2014-12-12 15:43:38 -08006307endif
6308
Craig Tillerd4773f52015-01-12 16:38:47 -08006309
Craig Tiller8f126a62015-01-15 08:50:19 -08006310deps_chttp2_fullstack_cancel_after_accept_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006311
nnoble69ac39f2014-12-12 15:43:38 -08006312ifneq ($(NO_SECURE),true)
6313ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006314-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006315endif
nnoble69ac39f2014-12-12 15:43:38 -08006316endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006317
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006318
6319CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6320
ctillercab52e72015-01-06 13:10:23 -08006321CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006322
nnoble69ac39f2014-12-12 15:43:38 -08006323ifeq ($(NO_SECURE),true)
6324
Nicolas Noble047b7272015-01-16 13:55:05 -08006325# You can't build secure targets if you don't have OpenSSL with ALPN.
6326
ctillercab52e72015-01-06 13:10:23 -08006327bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006328
6329else
6330
nnoble5f2ecb32015-01-12 16:40:18 -08006331bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006332 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006333 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006334 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006335
nnoble69ac39f2014-12-12 15:43:38 -08006336endif
6337
Craig Tillerd4773f52015-01-12 16:38:47 -08006338
Craig Tiller8f126a62015-01-15 08:50:19 -08006339deps_chttp2_fullstack_cancel_after_accept_and_writes_closed_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006340
nnoble69ac39f2014-12-12 15:43:38 -08006341ifneq ($(NO_SECURE),true)
6342ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006343-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006344endif
nnoble69ac39f2014-12-12 15:43:38 -08006345endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006346
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006347
6348CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6349
ctillercab52e72015-01-06 13:10:23 -08006350CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006351
nnoble69ac39f2014-12-12 15:43:38 -08006352ifeq ($(NO_SECURE),true)
6353
Nicolas Noble047b7272015-01-16 13:55:05 -08006354# You can't build secure targets if you don't have OpenSSL with ALPN.
6355
ctillercab52e72015-01-06 13:10:23 -08006356bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006357
6358else
6359
nnoble5f2ecb32015-01-12 16:40:18 -08006360bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006361 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006362 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006363 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006364
nnoble69ac39f2014-12-12 15:43:38 -08006365endif
6366
Craig Tillerd4773f52015-01-12 16:38:47 -08006367
Craig Tiller8f126a62015-01-15 08:50:19 -08006368deps_chttp2_fullstack_cancel_after_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006369
nnoble69ac39f2014-12-12 15:43:38 -08006370ifneq ($(NO_SECURE),true)
6371ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006372-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006373endif
nnoble69ac39f2014-12-12 15:43:38 -08006374endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006375
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006376
6377CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
6378
ctillercab52e72015-01-06 13:10:23 -08006379CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006380
nnoble69ac39f2014-12-12 15:43:38 -08006381ifeq ($(NO_SECURE),true)
6382
Nicolas Noble047b7272015-01-16 13:55:05 -08006383# You can't build secure targets if you don't have OpenSSL with ALPN.
6384
ctillercab52e72015-01-06 13:10:23 -08006385bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006386
6387else
6388
nnoble5f2ecb32015-01-12 16:40:18 -08006389bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006390 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006391 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006392 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006393
nnoble69ac39f2014-12-12 15:43:38 -08006394endif
6395
Craig Tillerd4773f52015-01-12 16:38:47 -08006396
Craig Tiller8f126a62015-01-15 08:50:19 -08006397deps_chttp2_fullstack_cancel_before_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006398
nnoble69ac39f2014-12-12 15:43:38 -08006399ifneq ($(NO_SECURE),true)
6400ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006401-include $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006402endif
nnoble69ac39f2014-12-12 15:43:38 -08006403endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006404
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006405
6406CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
6407
ctillercab52e72015-01-06 13:10:23 -08006408CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006409
nnoble69ac39f2014-12-12 15:43:38 -08006410ifeq ($(NO_SECURE),true)
6411
Nicolas Noble047b7272015-01-16 13:55:05 -08006412# You can't build secure targets if you don't have OpenSSL with ALPN.
6413
ctillercab52e72015-01-06 13:10:23 -08006414bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006415
6416else
6417
nnoble5f2ecb32015-01-12 16:40:18 -08006418bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006419 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006420 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006421 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006422
nnoble69ac39f2014-12-12 15:43:38 -08006423endif
6424
Craig Tillerd4773f52015-01-12 16:38:47 -08006425
Craig Tiller8f126a62015-01-15 08:50:19 -08006426deps_chttp2_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006427
nnoble69ac39f2014-12-12 15:43:38 -08006428ifneq ($(NO_SECURE),true)
6429ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006430-include $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006431endif
nnoble69ac39f2014-12-12 15:43:38 -08006432endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006433
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006434
hongyu24200d32015-01-08 15:13:49 -08006435CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
6436
6437CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08006438
6439ifeq ($(NO_SECURE),true)
6440
Nicolas Noble047b7272015-01-16 13:55:05 -08006441# You can't build secure targets if you don't have OpenSSL with ALPN.
6442
hongyu24200d32015-01-08 15:13:49 -08006443bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test: openssl_dep_error
6444
6445else
6446
nnoble5f2ecb32015-01-12 16:40:18 -08006447bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test: $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
hongyu24200d32015-01-08 15:13:49 -08006448 $(E) "[LD] Linking $@"
6449 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006450 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test
hongyu24200d32015-01-08 15:13:49 -08006451
6452endif
6453
Craig Tillerd4773f52015-01-12 16:38:47 -08006454
Craig Tiller8f126a62015-01-15 08:50:19 -08006455deps_chttp2_fullstack_census_simple_request_test: $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006456
6457ifneq ($(NO_SECURE),true)
6458ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006459-include $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006460endif
6461endif
6462
hongyu24200d32015-01-08 15:13:49 -08006463
ctillerc6d61c42014-12-15 14:52:08 -08006464CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
6465
ctillercab52e72015-01-06 13:10:23 -08006466CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08006467
6468ifeq ($(NO_SECURE),true)
6469
Nicolas Noble047b7272015-01-16 13:55:05 -08006470# You can't build secure targets if you don't have OpenSSL with ALPN.
6471
ctillercab52e72015-01-06 13:10:23 -08006472bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08006473
6474else
6475
nnoble5f2ecb32015-01-12 16:40:18 -08006476bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test: $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctillerc6d61c42014-12-15 14:52:08 -08006477 $(E) "[LD] Linking $@"
6478 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006479 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test
ctillerc6d61c42014-12-15 14:52:08 -08006480
6481endif
6482
Craig Tillerd4773f52015-01-12 16:38:47 -08006483
Craig Tiller8f126a62015-01-15 08:50:19 -08006484deps_chttp2_fullstack_disappearing_server_test: $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006485
6486ifneq ($(NO_SECURE),true)
6487ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006488-include $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006489endif
6490endif
6491
ctillerc6d61c42014-12-15 14:52:08 -08006492
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006493CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
6494
ctillercab52e72015-01-06 13:10:23 -08006495CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006496
nnoble69ac39f2014-12-12 15:43:38 -08006497ifeq ($(NO_SECURE),true)
6498
Nicolas Noble047b7272015-01-16 13:55:05 -08006499# You can't build secure targets if you don't have OpenSSL with ALPN.
6500
ctillercab52e72015-01-06 13:10:23 -08006501bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006502
6503else
6504
nnoble5f2ecb32015-01-12 16:40:18 -08006505bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006506 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006507 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006508 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006509
nnoble69ac39f2014-12-12 15:43:38 -08006510endif
6511
Craig Tillerd4773f52015-01-12 16:38:47 -08006512
Craig Tiller8f126a62015-01-15 08:50:19 -08006513deps_chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006514
nnoble69ac39f2014-12-12 15:43:38 -08006515ifneq ($(NO_SECURE),true)
6516ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006517-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006518endif
nnoble69ac39f2014-12-12 15:43:38 -08006519endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006520
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006521
6522CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
6523
ctillercab52e72015-01-06 13:10:23 -08006524CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006525
nnoble69ac39f2014-12-12 15:43:38 -08006526ifeq ($(NO_SECURE),true)
6527
Nicolas Noble047b7272015-01-16 13:55:05 -08006528# You can't build secure targets if you don't have OpenSSL with ALPN.
6529
ctillercab52e72015-01-06 13:10:23 -08006530bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006531
6532else
6533
nnoble5f2ecb32015-01-12 16:40:18 -08006534bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test: $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006535 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006536 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006537 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006538
nnoble69ac39f2014-12-12 15:43:38 -08006539endif
6540
Craig Tillerd4773f52015-01-12 16:38:47 -08006541
Craig Tiller8f126a62015-01-15 08:50:19 -08006542deps_chttp2_fullstack_early_server_shutdown_finishes_tags_test: $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006543
nnoble69ac39f2014-12-12 15:43:38 -08006544ifneq ($(NO_SECURE),true)
6545ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006546-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006547endif
nnoble69ac39f2014-12-12 15:43:38 -08006548endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006549
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006550
Craig Tiller4ffdcd52015-01-16 11:34:55 -08006551CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
6552
6553CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
6554
6555ifeq ($(NO_SECURE),true)
6556
David Klempner7f3ed1e2015-01-16 15:35:56 -08006557# You can't build secure targets if you don't have OpenSSL with ALPN.
6558
Craig Tiller4ffdcd52015-01-16 11:34:55 -08006559bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test: openssl_dep_error
6560
6561else
6562
6563bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test: $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
6564 $(E) "[LD] Linking $@"
6565 $(Q) mkdir -p `dirname $@`
6566 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test
6567
6568endif
6569
6570
6571deps_chttp2_fullstack_graceful_server_shutdown_test: $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
6572
6573ifneq ($(NO_SECURE),true)
6574ifneq ($(NO_DEPS),true)
6575-include $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
6576endif
6577endif
6578
6579
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006580CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
6581
ctillercab52e72015-01-06 13:10:23 -08006582CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006583
nnoble69ac39f2014-12-12 15:43:38 -08006584ifeq ($(NO_SECURE),true)
6585
Nicolas Noble047b7272015-01-16 13:55:05 -08006586# You can't build secure targets if you don't have OpenSSL with ALPN.
6587
ctillercab52e72015-01-06 13:10:23 -08006588bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006589
6590else
6591
nnoble5f2ecb32015-01-12 16:40:18 -08006592bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test: $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006593 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006594 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006595 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006596
nnoble69ac39f2014-12-12 15:43:38 -08006597endif
6598
Craig Tillerd4773f52015-01-12 16:38:47 -08006599
Craig Tiller8f126a62015-01-15 08:50:19 -08006600deps_chttp2_fullstack_invoke_large_request_test: $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006601
nnoble69ac39f2014-12-12 15:43:38 -08006602ifneq ($(NO_SECURE),true)
6603ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006604-include $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006605endif
nnoble69ac39f2014-12-12 15:43:38 -08006606endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006607
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006608
6609CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
6610
ctillercab52e72015-01-06 13:10:23 -08006611CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006612
nnoble69ac39f2014-12-12 15:43:38 -08006613ifeq ($(NO_SECURE),true)
6614
Nicolas Noble047b7272015-01-16 13:55:05 -08006615# You can't build secure targets if you don't have OpenSSL with ALPN.
6616
ctillercab52e72015-01-06 13:10:23 -08006617bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006618
6619else
6620
nnoble5f2ecb32015-01-12 16:40:18 -08006621bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test: $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006622 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006623 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006624 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006625
nnoble69ac39f2014-12-12 15:43:38 -08006626endif
6627
Craig Tillerd4773f52015-01-12 16:38:47 -08006628
Craig Tiller8f126a62015-01-15 08:50:19 -08006629deps_chttp2_fullstack_max_concurrent_streams_test: $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006630
nnoble69ac39f2014-12-12 15:43:38 -08006631ifneq ($(NO_SECURE),true)
6632ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006633-include $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006634endif
nnoble69ac39f2014-12-12 15:43:38 -08006635endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006636
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006637
6638CHTTP2_FULLSTACK_NO_OP_TEST_SRC = \
6639
ctillercab52e72015-01-06 13:10:23 -08006640CHTTP2_FULLSTACK_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_NO_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006641
nnoble69ac39f2014-12-12 15:43:38 -08006642ifeq ($(NO_SECURE),true)
6643
Nicolas Noble047b7272015-01-16 13:55:05 -08006644# You can't build secure targets if you don't have OpenSSL with ALPN.
6645
ctillercab52e72015-01-06 13:10:23 -08006646bins/$(CONFIG)/chttp2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006647
6648else
6649
nnoble5f2ecb32015-01-12 16:40:18 -08006650bins/$(CONFIG)/chttp2_fullstack_no_op_test: $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006651 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006652 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006653 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_no_op_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006654
nnoble69ac39f2014-12-12 15:43:38 -08006655endif
6656
Craig Tillerd4773f52015-01-12 16:38:47 -08006657
Craig Tiller8f126a62015-01-15 08:50:19 -08006658deps_chttp2_fullstack_no_op_test: $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006659
nnoble69ac39f2014-12-12 15:43:38 -08006660ifneq ($(NO_SECURE),true)
6661ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006662-include $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006663endif
nnoble69ac39f2014-12-12 15:43:38 -08006664endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006665
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006666
6667CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
6668
ctillercab52e72015-01-06 13:10:23 -08006669CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006670
nnoble69ac39f2014-12-12 15:43:38 -08006671ifeq ($(NO_SECURE),true)
6672
Nicolas Noble047b7272015-01-16 13:55:05 -08006673# You can't build secure targets if you don't have OpenSSL with ALPN.
6674
ctillercab52e72015-01-06 13:10:23 -08006675bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006676
6677else
6678
nnoble5f2ecb32015-01-12 16:40:18 -08006679bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test: $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006680 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006681 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006682 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006683
nnoble69ac39f2014-12-12 15:43:38 -08006684endif
6685
Craig Tillerd4773f52015-01-12 16:38:47 -08006686
Craig Tiller8f126a62015-01-15 08:50:19 -08006687deps_chttp2_fullstack_ping_pong_streaming_test: $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006688
nnoble69ac39f2014-12-12 15:43:38 -08006689ifneq ($(NO_SECURE),true)
6690ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006691-include $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006692endif
nnoble69ac39f2014-12-12 15:43:38 -08006693endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006694
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006695
ctiller33023c42014-12-12 16:28:33 -08006696CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
6697
ctillercab52e72015-01-06 13:10:23 -08006698CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller33023c42014-12-12 16:28:33 -08006699
6700ifeq ($(NO_SECURE),true)
6701
Nicolas Noble047b7272015-01-16 13:55:05 -08006702# You can't build secure targets if you don't have OpenSSL with ALPN.
6703
ctillercab52e72015-01-06 13:10:23 -08006704bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08006705
6706else
6707
nnoble5f2ecb32015-01-12 16:40:18 -08006708bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller33023c42014-12-12 16:28:33 -08006709 $(E) "[LD] Linking $@"
6710 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006711 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test
ctiller33023c42014-12-12 16:28:33 -08006712
6713endif
6714
Craig Tillerd4773f52015-01-12 16:38:47 -08006715
Craig Tiller8f126a62015-01-15 08:50:19 -08006716deps_chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006717
6718ifneq ($(NO_SECURE),true)
6719ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006720-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006721endif
6722endif
6723
ctiller33023c42014-12-12 16:28:33 -08006724
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006725CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
6726
ctillercab52e72015-01-06 13:10:23 -08006727CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006728
nnoble69ac39f2014-12-12 15:43:38 -08006729ifeq ($(NO_SECURE),true)
6730
Nicolas Noble047b7272015-01-16 13:55:05 -08006731# You can't build secure targets if you don't have OpenSSL with ALPN.
6732
ctillercab52e72015-01-06 13:10:23 -08006733bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006734
6735else
6736
nnoble5f2ecb32015-01-12 16:40:18 -08006737bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006738 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006739 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006740 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006741
nnoble69ac39f2014-12-12 15:43:38 -08006742endif
6743
Craig Tillerd4773f52015-01-12 16:38:47 -08006744
Craig Tiller8f126a62015-01-15 08:50:19 -08006745deps_chttp2_fullstack_request_response_with_metadata_and_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006746
nnoble69ac39f2014-12-12 15:43:38 -08006747ifneq ($(NO_SECURE),true)
6748ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006749-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006750endif
nnoble69ac39f2014-12-12 15:43:38 -08006751endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006752
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006753
6754CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
6755
ctillercab52e72015-01-06 13:10:23 -08006756CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006757
nnoble69ac39f2014-12-12 15:43:38 -08006758ifeq ($(NO_SECURE),true)
6759
Nicolas Noble047b7272015-01-16 13:55:05 -08006760# You can't build secure targets if you don't have OpenSSL with ALPN.
6761
ctillercab52e72015-01-06 13:10:23 -08006762bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006763
6764else
6765
nnoble5f2ecb32015-01-12 16:40:18 -08006766bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006767 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006768 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006769 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006770
nnoble69ac39f2014-12-12 15:43:38 -08006771endif
6772
Craig Tillerd4773f52015-01-12 16:38:47 -08006773
Craig Tiller8f126a62015-01-15 08:50:19 -08006774deps_chttp2_fullstack_request_response_with_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006775
nnoble69ac39f2014-12-12 15:43:38 -08006776ifneq ($(NO_SECURE),true)
6777ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006778-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006779endif
nnoble69ac39f2014-12-12 15:43:38 -08006780endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006781
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006782
ctiller2845cad2014-12-15 15:14:12 -08006783CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
6784
ctillercab52e72015-01-06 13:10:23 -08006785CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller2845cad2014-12-15 15:14:12 -08006786
6787ifeq ($(NO_SECURE),true)
6788
Nicolas Noble047b7272015-01-16 13:55:05 -08006789# You can't build secure targets if you don't have OpenSSL with ALPN.
6790
ctillercab52e72015-01-06 13:10:23 -08006791bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08006792
6793else
6794
nnoble5f2ecb32015-01-12 16:40:18 -08006795bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller2845cad2014-12-15 15:14:12 -08006796 $(E) "[LD] Linking $@"
6797 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006798 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test
ctiller2845cad2014-12-15 15:14:12 -08006799
6800endif
6801
Craig Tillerd4773f52015-01-12 16:38:47 -08006802
Craig Tiller8f126a62015-01-15 08:50:19 -08006803deps_chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006804
6805ifneq ($(NO_SECURE),true)
6806ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006807-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006808endif
6809endif
6810
ctiller2845cad2014-12-15 15:14:12 -08006811
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006812CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6813
ctillercab52e72015-01-06 13:10:23 -08006814CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006815
nnoble69ac39f2014-12-12 15:43:38 -08006816ifeq ($(NO_SECURE),true)
6817
Nicolas Noble047b7272015-01-16 13:55:05 -08006818# You can't build secure targets if you don't have OpenSSL with ALPN.
6819
ctillercab52e72015-01-06 13:10:23 -08006820bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006821
6822else
6823
nnoble5f2ecb32015-01-12 16:40:18 -08006824bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test: $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006825 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006826 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006827 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006828
nnoble69ac39f2014-12-12 15:43:38 -08006829endif
6830
Craig Tillerd4773f52015-01-12 16:38:47 -08006831
Craig Tiller8f126a62015-01-15 08:50:19 -08006832deps_chttp2_fullstack_simple_delayed_request_test: $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006833
nnoble69ac39f2014-12-12 15:43:38 -08006834ifneq ($(NO_SECURE),true)
6835ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006836-include $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006837endif
nnoble69ac39f2014-12-12 15:43:38 -08006838endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006839
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006840
6841CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
6842
ctillercab52e72015-01-06 13:10:23 -08006843CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006844
nnoble69ac39f2014-12-12 15:43:38 -08006845ifeq ($(NO_SECURE),true)
6846
Nicolas Noble047b7272015-01-16 13:55:05 -08006847# You can't build secure targets if you don't have OpenSSL with ALPN.
6848
ctillercab52e72015-01-06 13:10:23 -08006849bins/$(CONFIG)/chttp2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006850
6851else
6852
nnoble5f2ecb32015-01-12 16:40:18 -08006853bins/$(CONFIG)/chttp2_fullstack_simple_request_test: $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006854 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006855 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006856 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_simple_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006857
nnoble69ac39f2014-12-12 15:43:38 -08006858endif
6859
Craig Tillerd4773f52015-01-12 16:38:47 -08006860
Craig Tiller8f126a62015-01-15 08:50:19 -08006861deps_chttp2_fullstack_simple_request_test: $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006862
nnoble69ac39f2014-12-12 15:43:38 -08006863ifneq ($(NO_SECURE),true)
6864ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006865-include $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006866endif
nnoble69ac39f2014-12-12 15:43:38 -08006867endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006868
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006869
nathaniel52878172014-12-09 10:17:19 -08006870CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006871
ctillercab52e72015-01-06 13:10:23 -08006872CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006873
nnoble69ac39f2014-12-12 15:43:38 -08006874ifeq ($(NO_SECURE),true)
6875
Nicolas Noble047b7272015-01-16 13:55:05 -08006876# You can't build secure targets if you don't have OpenSSL with ALPN.
6877
ctillercab52e72015-01-06 13:10:23 -08006878bins/$(CONFIG)/chttp2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006879
6880else
6881
nnoble5f2ecb32015-01-12 16:40:18 -08006882bins/$(CONFIG)/chttp2_fullstack_thread_stress_test: $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006883 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006884 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006885 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_thread_stress_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006886
nnoble69ac39f2014-12-12 15:43:38 -08006887endif
6888
Craig Tillerd4773f52015-01-12 16:38:47 -08006889
Craig Tiller8f126a62015-01-15 08:50:19 -08006890deps_chttp2_fullstack_thread_stress_test: $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006891
nnoble69ac39f2014-12-12 15:43:38 -08006892ifneq ($(NO_SECURE),true)
6893ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006894-include $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006895endif
nnoble69ac39f2014-12-12 15:43:38 -08006896endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006897
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006898
6899CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6900
ctillercab52e72015-01-06 13:10:23 -08006901CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006902
nnoble69ac39f2014-12-12 15:43:38 -08006903ifeq ($(NO_SECURE),true)
6904
Nicolas Noble047b7272015-01-16 13:55:05 -08006905# You can't build secure targets if you don't have OpenSSL with ALPN.
6906
ctillercab52e72015-01-06 13:10:23 -08006907bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006908
6909else
6910
nnoble5f2ecb32015-01-12 16:40:18 -08006911bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test: $(CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006912 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006913 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006914 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006915
nnoble69ac39f2014-12-12 15:43:38 -08006916endif
6917
Craig Tillerd4773f52015-01-12 16:38:47 -08006918
Craig Tiller8f126a62015-01-15 08:50:19 -08006919deps_chttp2_fullstack_writes_done_hangs_with_pending_read_test: $(CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006920
nnoble69ac39f2014-12-12 15:43:38 -08006921ifneq ($(NO_SECURE),true)
6922ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006923-include $(CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006924endif
nnoble69ac39f2014-12-12 15:43:38 -08006925endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006926
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006927
6928CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6929
ctillercab52e72015-01-06 13:10:23 -08006930CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006931
nnoble69ac39f2014-12-12 15:43:38 -08006932ifeq ($(NO_SECURE),true)
6933
Nicolas Noble047b7272015-01-16 13:55:05 -08006934# You can't build secure targets if you don't have OpenSSL with ALPN.
6935
ctillercab52e72015-01-06 13:10:23 -08006936bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006937
6938else
6939
nnoble5f2ecb32015-01-12 16:40:18 -08006940bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006941 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006942 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006943 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006944
nnoble69ac39f2014-12-12 15:43:38 -08006945endif
6946
Craig Tillerd4773f52015-01-12 16:38:47 -08006947
Craig Tiller8f126a62015-01-15 08:50:19 -08006948deps_chttp2_simple_ssl_fullstack_cancel_after_accept_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006949
nnoble69ac39f2014-12-12 15:43:38 -08006950ifneq ($(NO_SECURE),true)
6951ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006952-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006953endif
nnoble69ac39f2014-12-12 15:43:38 -08006954endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006955
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006956
6957CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6958
ctillercab52e72015-01-06 13:10:23 -08006959CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006960
nnoble69ac39f2014-12-12 15:43:38 -08006961ifeq ($(NO_SECURE),true)
6962
Nicolas Noble047b7272015-01-16 13:55:05 -08006963# You can't build secure targets if you don't have OpenSSL with ALPN.
6964
ctillercab52e72015-01-06 13:10:23 -08006965bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006966
6967else
6968
nnoble5f2ecb32015-01-12 16:40:18 -08006969bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006970 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006971 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006972 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006973
nnoble69ac39f2014-12-12 15:43:38 -08006974endif
6975
Craig Tillerd4773f52015-01-12 16:38:47 -08006976
Craig Tiller8f126a62015-01-15 08:50:19 -08006977deps_chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006978
nnoble69ac39f2014-12-12 15:43:38 -08006979ifneq ($(NO_SECURE),true)
6980ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006981-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006982endif
nnoble69ac39f2014-12-12 15:43:38 -08006983endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006984
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006985
6986CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6987
ctillercab52e72015-01-06 13:10:23 -08006988CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006989
nnoble69ac39f2014-12-12 15:43:38 -08006990ifeq ($(NO_SECURE),true)
6991
Nicolas Noble047b7272015-01-16 13:55:05 -08006992# You can't build secure targets if you don't have OpenSSL with ALPN.
6993
ctillercab52e72015-01-06 13:10:23 -08006994bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006995
6996else
6997
nnoble5f2ecb32015-01-12 16:40:18 -08006998bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006999 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007000 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007001 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007002
nnoble69ac39f2014-12-12 15:43:38 -08007003endif
7004
Craig Tillerd4773f52015-01-12 16:38:47 -08007005
Craig Tiller8f126a62015-01-15 08:50:19 -08007006deps_chttp2_simple_ssl_fullstack_cancel_after_invoke_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007007
nnoble69ac39f2014-12-12 15:43:38 -08007008ifneq ($(NO_SECURE),true)
7009ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007010-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007011endif
nnoble69ac39f2014-12-12 15:43:38 -08007012endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007013
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007014
7015CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
7016
ctillercab52e72015-01-06 13:10:23 -08007017CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007018
nnoble69ac39f2014-12-12 15:43:38 -08007019ifeq ($(NO_SECURE),true)
7020
Nicolas Noble047b7272015-01-16 13:55:05 -08007021# You can't build secure targets if you don't have OpenSSL with ALPN.
7022
ctillercab52e72015-01-06 13:10:23 -08007023bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007024
7025else
7026
nnoble5f2ecb32015-01-12 16:40:18 -08007027bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007028 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007029 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007030 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007031
nnoble69ac39f2014-12-12 15:43:38 -08007032endif
7033
Craig Tillerd4773f52015-01-12 16:38:47 -08007034
Craig Tiller8f126a62015-01-15 08:50:19 -08007035deps_chttp2_simple_ssl_fullstack_cancel_before_invoke_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007036
nnoble69ac39f2014-12-12 15:43:38 -08007037ifneq ($(NO_SECURE),true)
7038ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007039-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007040endif
nnoble69ac39f2014-12-12 15:43:38 -08007041endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007042
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007043
7044CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
7045
ctillercab52e72015-01-06 13:10:23 -08007046CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007047
nnoble69ac39f2014-12-12 15:43:38 -08007048ifeq ($(NO_SECURE),true)
7049
Nicolas Noble047b7272015-01-16 13:55:05 -08007050# You can't build secure targets if you don't have OpenSSL with ALPN.
7051
ctillercab52e72015-01-06 13:10:23 -08007052bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007053
7054else
7055
nnoble5f2ecb32015-01-12 16:40:18 -08007056bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007057 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007058 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007059 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007060
nnoble69ac39f2014-12-12 15:43:38 -08007061endif
7062
Craig Tillerd4773f52015-01-12 16:38:47 -08007063
Craig Tiller8f126a62015-01-15 08:50:19 -08007064deps_chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007065
nnoble69ac39f2014-12-12 15:43:38 -08007066ifneq ($(NO_SECURE),true)
7067ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007068-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007069endif
nnoble69ac39f2014-12-12 15:43:38 -08007070endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007071
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007072
hongyu24200d32015-01-08 15:13:49 -08007073CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
7074
7075CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08007076
7077ifeq ($(NO_SECURE),true)
7078
Nicolas Noble047b7272015-01-16 13:55:05 -08007079# You can't build secure targets if you don't have OpenSSL with ALPN.
7080
hongyu24200d32015-01-08 15:13:49 -08007081bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test: openssl_dep_error
7082
7083else
7084
nnoble5f2ecb32015-01-12 16:40:18 -08007085bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
hongyu24200d32015-01-08 15:13:49 -08007086 $(E) "[LD] Linking $@"
7087 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007088 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test
hongyu24200d32015-01-08 15:13:49 -08007089
7090endif
7091
Craig Tillerd4773f52015-01-12 16:38:47 -08007092
Craig Tiller8f126a62015-01-15 08:50:19 -08007093deps_chttp2_simple_ssl_fullstack_census_simple_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007094
7095ifneq ($(NO_SECURE),true)
7096ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007097-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007098endif
7099endif
7100
hongyu24200d32015-01-08 15:13:49 -08007101
ctillerc6d61c42014-12-15 14:52:08 -08007102CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
7103
ctillercab52e72015-01-06 13:10:23 -08007104CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08007105
7106ifeq ($(NO_SECURE),true)
7107
Nicolas Noble047b7272015-01-16 13:55:05 -08007108# You can't build secure targets if you don't have OpenSSL with ALPN.
7109
ctillercab52e72015-01-06 13:10:23 -08007110bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08007111
7112else
7113
nnoble5f2ecb32015-01-12 16:40:18 -08007114bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctillerc6d61c42014-12-15 14:52:08 -08007115 $(E) "[LD] Linking $@"
7116 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007117 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test
ctillerc6d61c42014-12-15 14:52:08 -08007118
7119endif
7120
Craig Tillerd4773f52015-01-12 16:38:47 -08007121
Craig Tiller8f126a62015-01-15 08:50:19 -08007122deps_chttp2_simple_ssl_fullstack_disappearing_server_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007123
7124ifneq ($(NO_SECURE),true)
7125ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007126-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007127endif
7128endif
7129
ctillerc6d61c42014-12-15 14:52:08 -08007130
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007131CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
7132
ctillercab52e72015-01-06 13:10:23 -08007133CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007134
nnoble69ac39f2014-12-12 15:43:38 -08007135ifeq ($(NO_SECURE),true)
7136
Nicolas Noble047b7272015-01-16 13:55:05 -08007137# You can't build secure targets if you don't have OpenSSL with ALPN.
7138
ctillercab52e72015-01-06 13:10:23 -08007139bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007140
7141else
7142
nnoble5f2ecb32015-01-12 16:40:18 -08007143bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007144 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007145 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007146 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007147
nnoble69ac39f2014-12-12 15:43:38 -08007148endif
7149
Craig Tillerd4773f52015-01-12 16:38:47 -08007150
Craig Tiller8f126a62015-01-15 08:50:19 -08007151deps_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007152
nnoble69ac39f2014-12-12 15:43:38 -08007153ifneq ($(NO_SECURE),true)
7154ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007155-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007156endif
nnoble69ac39f2014-12-12 15:43:38 -08007157endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007158
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007159
7160CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7161
ctillercab52e72015-01-06 13:10:23 -08007162CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007163
nnoble69ac39f2014-12-12 15:43:38 -08007164ifeq ($(NO_SECURE),true)
7165
Nicolas Noble047b7272015-01-16 13:55:05 -08007166# You can't build secure targets if you don't have OpenSSL with ALPN.
7167
ctillercab52e72015-01-06 13:10:23 -08007168bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007169
7170else
7171
nnoble5f2ecb32015-01-12 16:40:18 -08007172bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007173 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007174 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007175 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007176
nnoble69ac39f2014-12-12 15:43:38 -08007177endif
7178
Craig Tillerd4773f52015-01-12 16:38:47 -08007179
Craig Tiller8f126a62015-01-15 08:50:19 -08007180deps_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007181
nnoble69ac39f2014-12-12 15:43:38 -08007182ifneq ($(NO_SECURE),true)
7183ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007184-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007185endif
nnoble69ac39f2014-12-12 15:43:38 -08007186endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007187
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007188
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007189CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
7190
7191CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
7192
7193ifeq ($(NO_SECURE),true)
7194
David Klempner7f3ed1e2015-01-16 15:35:56 -08007195# You can't build secure targets if you don't have OpenSSL with ALPN.
7196
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007197bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: openssl_dep_error
7198
7199else
7200
7201bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
7202 $(E) "[LD] Linking $@"
7203 $(Q) mkdir -p `dirname $@`
7204 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test
7205
7206endif
7207
7208
7209deps_chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7210
7211ifneq ($(NO_SECURE),true)
7212ifneq ($(NO_DEPS),true)
7213-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7214endif
7215endif
7216
7217
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007218CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7219
ctillercab52e72015-01-06 13:10:23 -08007220CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007221
nnoble69ac39f2014-12-12 15:43:38 -08007222ifeq ($(NO_SECURE),true)
7223
Nicolas Noble047b7272015-01-16 13:55:05 -08007224# You can't build secure targets if you don't have OpenSSL with ALPN.
7225
ctillercab52e72015-01-06 13:10:23 -08007226bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007227
7228else
7229
nnoble5f2ecb32015-01-12 16:40:18 -08007230bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007231 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007232 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007233 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007234
nnoble69ac39f2014-12-12 15:43:38 -08007235endif
7236
Craig Tillerd4773f52015-01-12 16:38:47 -08007237
Craig Tiller8f126a62015-01-15 08:50:19 -08007238deps_chttp2_simple_ssl_fullstack_invoke_large_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007239
nnoble69ac39f2014-12-12 15:43:38 -08007240ifneq ($(NO_SECURE),true)
7241ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007242-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007243endif
nnoble69ac39f2014-12-12 15:43:38 -08007244endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007245
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007246
7247CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7248
ctillercab52e72015-01-06 13:10:23 -08007249CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007250
nnoble69ac39f2014-12-12 15:43:38 -08007251ifeq ($(NO_SECURE),true)
7252
Nicolas Noble047b7272015-01-16 13:55:05 -08007253# You can't build secure targets if you don't have OpenSSL with ALPN.
7254
ctillercab52e72015-01-06 13:10:23 -08007255bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007256
7257else
7258
nnoble5f2ecb32015-01-12 16:40:18 -08007259bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007260 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007261 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007262 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007263
nnoble69ac39f2014-12-12 15:43:38 -08007264endif
7265
Craig Tillerd4773f52015-01-12 16:38:47 -08007266
Craig Tiller8f126a62015-01-15 08:50:19 -08007267deps_chttp2_simple_ssl_fullstack_max_concurrent_streams_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007268
nnoble69ac39f2014-12-12 15:43:38 -08007269ifneq ($(NO_SECURE),true)
7270ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007271-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007272endif
nnoble69ac39f2014-12-12 15:43:38 -08007273endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007274
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007275
7276CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_SRC = \
7277
ctillercab52e72015-01-06 13:10:23 -08007278CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007279
nnoble69ac39f2014-12-12 15:43:38 -08007280ifeq ($(NO_SECURE),true)
7281
Nicolas Noble047b7272015-01-16 13:55:05 -08007282# You can't build secure targets if you don't have OpenSSL with ALPN.
7283
ctillercab52e72015-01-06 13:10:23 -08007284bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007285
7286else
7287
nnoble5f2ecb32015-01-12 16:40:18 -08007288bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007289 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007290 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007291 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007292
nnoble69ac39f2014-12-12 15:43:38 -08007293endif
7294
Craig Tillerd4773f52015-01-12 16:38:47 -08007295
Craig Tiller8f126a62015-01-15 08:50:19 -08007296deps_chttp2_simple_ssl_fullstack_no_op_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007297
nnoble69ac39f2014-12-12 15:43:38 -08007298ifneq ($(NO_SECURE),true)
7299ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007300-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007301endif
nnoble69ac39f2014-12-12 15:43:38 -08007302endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007303
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007304
7305CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7306
ctillercab52e72015-01-06 13:10:23 -08007307CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007308
nnoble69ac39f2014-12-12 15:43:38 -08007309ifeq ($(NO_SECURE),true)
7310
Nicolas Noble047b7272015-01-16 13:55:05 -08007311# You can't build secure targets if you don't have OpenSSL with ALPN.
7312
ctillercab52e72015-01-06 13:10:23 -08007313bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007314
7315else
7316
nnoble5f2ecb32015-01-12 16:40:18 -08007317bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007318 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007319 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007320 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007321
nnoble69ac39f2014-12-12 15:43:38 -08007322endif
7323
Craig Tillerd4773f52015-01-12 16:38:47 -08007324
Craig Tiller8f126a62015-01-15 08:50:19 -08007325deps_chttp2_simple_ssl_fullstack_ping_pong_streaming_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007326
nnoble69ac39f2014-12-12 15:43:38 -08007327ifneq ($(NO_SECURE),true)
7328ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007329-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007330endif
nnoble69ac39f2014-12-12 15:43:38 -08007331endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007332
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007333
ctiller33023c42014-12-12 16:28:33 -08007334CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7335
ctillercab52e72015-01-06 13:10:23 -08007336CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller33023c42014-12-12 16:28:33 -08007337
7338ifeq ($(NO_SECURE),true)
7339
Nicolas Noble047b7272015-01-16 13:55:05 -08007340# You can't build secure targets if you don't have OpenSSL with ALPN.
7341
ctillercab52e72015-01-06 13:10:23 -08007342bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007343
7344else
7345
nnoble5f2ecb32015-01-12 16:40:18 -08007346bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller33023c42014-12-12 16:28:33 -08007347 $(E) "[LD] Linking $@"
7348 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007349 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test
ctiller33023c42014-12-12 16:28:33 -08007350
7351endif
7352
Craig Tillerd4773f52015-01-12 16:38:47 -08007353
Craig Tiller8f126a62015-01-15 08:50:19 -08007354deps_chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007355
7356ifneq ($(NO_SECURE),true)
7357ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007358-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007359endif
7360endif
7361
ctiller33023c42014-12-12 16:28:33 -08007362
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007363CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7364
ctillercab52e72015-01-06 13:10:23 -08007365CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007366
nnoble69ac39f2014-12-12 15:43:38 -08007367ifeq ($(NO_SECURE),true)
7368
Nicolas Noble047b7272015-01-16 13:55:05 -08007369# You can't build secure targets if you don't have OpenSSL with ALPN.
7370
ctillercab52e72015-01-06 13:10:23 -08007371bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007372
7373else
7374
nnoble5f2ecb32015-01-12 16:40:18 -08007375bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007376 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007377 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007378 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007379
nnoble69ac39f2014-12-12 15:43:38 -08007380endif
7381
Craig Tillerd4773f52015-01-12 16:38:47 -08007382
Craig Tiller8f126a62015-01-15 08:50:19 -08007383deps_chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007384
nnoble69ac39f2014-12-12 15:43:38 -08007385ifneq ($(NO_SECURE),true)
7386ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007387-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007388endif
nnoble69ac39f2014-12-12 15:43:38 -08007389endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007390
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007391
7392CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
7393
ctillercab52e72015-01-06 13:10:23 -08007394CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007395
nnoble69ac39f2014-12-12 15:43:38 -08007396ifeq ($(NO_SECURE),true)
7397
Nicolas Noble047b7272015-01-16 13:55:05 -08007398# You can't build secure targets if you don't have OpenSSL with ALPN.
7399
ctillercab52e72015-01-06 13:10:23 -08007400bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007401
7402else
7403
nnoble5f2ecb32015-01-12 16:40:18 -08007404bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007405 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007406 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007407 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007408
nnoble69ac39f2014-12-12 15:43:38 -08007409endif
7410
Craig Tillerd4773f52015-01-12 16:38:47 -08007411
Craig Tiller8f126a62015-01-15 08:50:19 -08007412deps_chttp2_simple_ssl_fullstack_request_response_with_payload_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007413
nnoble69ac39f2014-12-12 15:43:38 -08007414ifneq ($(NO_SECURE),true)
7415ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007416-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007417endif
nnoble69ac39f2014-12-12 15:43:38 -08007418endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007419
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007420
ctiller2845cad2014-12-15 15:14:12 -08007421CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
7422
ctillercab52e72015-01-06 13:10:23 -08007423CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller2845cad2014-12-15 15:14:12 -08007424
7425ifeq ($(NO_SECURE),true)
7426
Nicolas Noble047b7272015-01-16 13:55:05 -08007427# You can't build secure targets if you don't have OpenSSL with ALPN.
7428
ctillercab52e72015-01-06 13:10:23 -08007429bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08007430
7431else
7432
nnoble5f2ecb32015-01-12 16:40:18 -08007433bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller2845cad2014-12-15 15:14:12 -08007434 $(E) "[LD] Linking $@"
7435 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007436 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test
ctiller2845cad2014-12-15 15:14:12 -08007437
7438endif
7439
Craig Tillerd4773f52015-01-12 16:38:47 -08007440
Craig Tiller8f126a62015-01-15 08:50:19 -08007441deps_chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08007442
7443ifneq ($(NO_SECURE),true)
7444ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007445-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08007446endif
7447endif
7448
ctiller2845cad2014-12-15 15:14:12 -08007449
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007450CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
7451
ctillercab52e72015-01-06 13:10:23 -08007452CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007453
nnoble69ac39f2014-12-12 15:43:38 -08007454ifeq ($(NO_SECURE),true)
7455
Nicolas Noble047b7272015-01-16 13:55:05 -08007456# You can't build secure targets if you don't have OpenSSL with ALPN.
7457
ctillercab52e72015-01-06 13:10:23 -08007458bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007459
7460else
7461
nnoble5f2ecb32015-01-12 16:40:18 -08007462bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007463 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007464 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007465 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007466
nnoble69ac39f2014-12-12 15:43:38 -08007467endif
7468
Craig Tillerd4773f52015-01-12 16:38:47 -08007469
Craig Tiller8f126a62015-01-15 08:50:19 -08007470deps_chttp2_simple_ssl_fullstack_simple_delayed_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007471
nnoble69ac39f2014-12-12 15:43:38 -08007472ifneq ($(NO_SECURE),true)
7473ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007474-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007475endif
nnoble69ac39f2014-12-12 15:43:38 -08007476endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007477
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007478
7479CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
7480
ctillercab52e72015-01-06 13:10:23 -08007481CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007482
nnoble69ac39f2014-12-12 15:43:38 -08007483ifeq ($(NO_SECURE),true)
7484
Nicolas Noble047b7272015-01-16 13:55:05 -08007485# You can't build secure targets if you don't have OpenSSL with ALPN.
7486
ctillercab52e72015-01-06 13:10:23 -08007487bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007488
7489else
7490
nnoble5f2ecb32015-01-12 16:40:18 -08007491bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007492 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007493 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007494 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007495
nnoble69ac39f2014-12-12 15:43:38 -08007496endif
7497
Craig Tillerd4773f52015-01-12 16:38:47 -08007498
Craig Tiller8f126a62015-01-15 08:50:19 -08007499deps_chttp2_simple_ssl_fullstack_simple_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007500
nnoble69ac39f2014-12-12 15:43:38 -08007501ifneq ($(NO_SECURE),true)
7502ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007503-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007504endif
nnoble69ac39f2014-12-12 15:43:38 -08007505endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007506
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007507
nathaniel52878172014-12-09 10:17:19 -08007508CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007509
ctillercab52e72015-01-06 13:10:23 -08007510CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007511
nnoble69ac39f2014-12-12 15:43:38 -08007512ifeq ($(NO_SECURE),true)
7513
Nicolas Noble047b7272015-01-16 13:55:05 -08007514# You can't build secure targets if you don't have OpenSSL with ALPN.
7515
ctillercab52e72015-01-06 13:10:23 -08007516bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007517
7518else
7519
nnoble5f2ecb32015-01-12 16:40:18 -08007520bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007521 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007522 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007523 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007524
nnoble69ac39f2014-12-12 15:43:38 -08007525endif
7526
Craig Tillerd4773f52015-01-12 16:38:47 -08007527
Craig Tiller8f126a62015-01-15 08:50:19 -08007528deps_chttp2_simple_ssl_fullstack_thread_stress_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007529
nnoble69ac39f2014-12-12 15:43:38 -08007530ifneq ($(NO_SECURE),true)
7531ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007532-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007533endif
nnoble69ac39f2014-12-12 15:43:38 -08007534endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007535
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007536
7537CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
7538
ctillercab52e72015-01-06 13:10:23 -08007539CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007540
nnoble69ac39f2014-12-12 15:43:38 -08007541ifeq ($(NO_SECURE),true)
7542
Nicolas Noble047b7272015-01-16 13:55:05 -08007543# You can't build secure targets if you don't have OpenSSL with ALPN.
7544
ctillercab52e72015-01-06 13:10:23 -08007545bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007546
7547else
7548
nnoble5f2ecb32015-01-12 16:40:18 -08007549bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007550 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007551 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007552 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007553
nnoble69ac39f2014-12-12 15:43:38 -08007554endif
7555
Craig Tillerd4773f52015-01-12 16:38:47 -08007556
Craig Tiller8f126a62015-01-15 08:50:19 -08007557deps_chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007558
nnoble69ac39f2014-12-12 15:43:38 -08007559ifneq ($(NO_SECURE),true)
7560ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007561-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007562endif
nnoble69ac39f2014-12-12 15:43:38 -08007563endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007564
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007565
7566CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
7567
ctillercab52e72015-01-06 13:10:23 -08007568CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007569
nnoble69ac39f2014-12-12 15:43:38 -08007570ifeq ($(NO_SECURE),true)
7571
Nicolas Noble047b7272015-01-16 13:55:05 -08007572# You can't build secure targets if you don't have OpenSSL with ALPN.
7573
ctillercab52e72015-01-06 13:10:23 -08007574bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007575
7576else
7577
nnoble5f2ecb32015-01-12 16:40:18 -08007578bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007579 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007580 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007581 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007582
nnoble69ac39f2014-12-12 15:43:38 -08007583endif
7584
Craig Tillerd4773f52015-01-12 16:38:47 -08007585
Craig Tiller8f126a62015-01-15 08:50:19 -08007586deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007587
nnoble69ac39f2014-12-12 15:43:38 -08007588ifneq ($(NO_SECURE),true)
7589ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007590-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007591endif
nnoble69ac39f2014-12-12 15:43:38 -08007592endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007593
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007594
7595CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
7596
ctillercab52e72015-01-06 13:10:23 -08007597CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007598
nnoble69ac39f2014-12-12 15:43:38 -08007599ifeq ($(NO_SECURE),true)
7600
Nicolas Noble047b7272015-01-16 13:55:05 -08007601# You can't build secure targets if you don't have OpenSSL with ALPN.
7602
ctillercab52e72015-01-06 13:10:23 -08007603bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007604
7605else
7606
nnoble5f2ecb32015-01-12 16:40:18 -08007607bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007608 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007609 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007610 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007611
nnoble69ac39f2014-12-12 15:43:38 -08007612endif
7613
Craig Tillerd4773f52015-01-12 16:38:47 -08007614
Craig Tiller8f126a62015-01-15 08:50:19 -08007615deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007616
nnoble69ac39f2014-12-12 15:43:38 -08007617ifneq ($(NO_SECURE),true)
7618ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007619-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007620endif
nnoble69ac39f2014-12-12 15:43:38 -08007621endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007622
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007623
7624CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
7625
ctillercab52e72015-01-06 13:10:23 -08007626CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007627
nnoble69ac39f2014-12-12 15:43:38 -08007628ifeq ($(NO_SECURE),true)
7629
Nicolas Noble047b7272015-01-16 13:55:05 -08007630# You can't build secure targets if you don't have OpenSSL with ALPN.
7631
ctillercab52e72015-01-06 13:10:23 -08007632bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007633
7634else
7635
nnoble5f2ecb32015-01-12 16:40:18 -08007636bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007637 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007638 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007639 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007640
nnoble69ac39f2014-12-12 15:43:38 -08007641endif
7642
Craig Tillerd4773f52015-01-12 16:38:47 -08007643
Craig Tiller8f126a62015-01-15 08:50:19 -08007644deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007645
nnoble69ac39f2014-12-12 15:43:38 -08007646ifneq ($(NO_SECURE),true)
7647ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007648-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007649endif
nnoble69ac39f2014-12-12 15:43:38 -08007650endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007651
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007652
7653CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
7654
ctillercab52e72015-01-06 13:10:23 -08007655CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007656
nnoble69ac39f2014-12-12 15:43:38 -08007657ifeq ($(NO_SECURE),true)
7658
Nicolas Noble047b7272015-01-16 13:55:05 -08007659# You can't build secure targets if you don't have OpenSSL with ALPN.
7660
ctillercab52e72015-01-06 13:10:23 -08007661bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007662
7663else
7664
nnoble5f2ecb32015-01-12 16:40:18 -08007665bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007666 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007667 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007668 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007669
nnoble69ac39f2014-12-12 15:43:38 -08007670endif
7671
Craig Tillerd4773f52015-01-12 16:38:47 -08007672
Craig Tiller8f126a62015-01-15 08:50:19 -08007673deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007674
nnoble69ac39f2014-12-12 15:43:38 -08007675ifneq ($(NO_SECURE),true)
7676ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007677-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007678endif
nnoble69ac39f2014-12-12 15:43:38 -08007679endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007680
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007681
7682CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
7683
ctillercab52e72015-01-06 13:10:23 -08007684CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007685
nnoble69ac39f2014-12-12 15:43:38 -08007686ifeq ($(NO_SECURE),true)
7687
Nicolas Noble047b7272015-01-16 13:55:05 -08007688# You can't build secure targets if you don't have OpenSSL with ALPN.
7689
ctillercab52e72015-01-06 13:10:23 -08007690bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007691
7692else
7693
nnoble5f2ecb32015-01-12 16:40:18 -08007694bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007695 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007696 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007697 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007698
nnoble69ac39f2014-12-12 15:43:38 -08007699endif
7700
Craig Tillerd4773f52015-01-12 16:38:47 -08007701
Craig Tiller8f126a62015-01-15 08:50:19 -08007702deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007703
nnoble69ac39f2014-12-12 15:43:38 -08007704ifneq ($(NO_SECURE),true)
7705ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007706-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007707endif
nnoble69ac39f2014-12-12 15:43:38 -08007708endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007709
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007710
hongyu24200d32015-01-08 15:13:49 -08007711CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
7712
7713CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08007714
7715ifeq ($(NO_SECURE),true)
7716
Nicolas Noble047b7272015-01-16 13:55:05 -08007717# You can't build secure targets if you don't have OpenSSL with ALPN.
7718
hongyu24200d32015-01-08 15:13:49 -08007719bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: openssl_dep_error
7720
7721else
7722
nnoble5f2ecb32015-01-12 16:40:18 -08007723bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
hongyu24200d32015-01-08 15:13:49 -08007724 $(E) "[LD] Linking $@"
7725 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007726 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test
hongyu24200d32015-01-08 15:13:49 -08007727
7728endif
7729
Craig Tillerd4773f52015-01-12 16:38:47 -08007730
Craig Tiller8f126a62015-01-15 08:50:19 -08007731deps_chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007732
7733ifneq ($(NO_SECURE),true)
7734ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007735-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007736endif
7737endif
7738
hongyu24200d32015-01-08 15:13:49 -08007739
ctillerc6d61c42014-12-15 14:52:08 -08007740CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
7741
ctillercab52e72015-01-06 13:10:23 -08007742CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08007743
7744ifeq ($(NO_SECURE),true)
7745
Nicolas Noble047b7272015-01-16 13:55:05 -08007746# You can't build secure targets if you don't have OpenSSL with ALPN.
7747
ctillercab52e72015-01-06 13:10:23 -08007748bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08007749
7750else
7751
nnoble5f2ecb32015-01-12 16:40:18 -08007752bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctillerc6d61c42014-12-15 14:52:08 -08007753 $(E) "[LD] Linking $@"
7754 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007755 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test
ctillerc6d61c42014-12-15 14:52:08 -08007756
7757endif
7758
Craig Tillerd4773f52015-01-12 16:38:47 -08007759
Craig Tiller8f126a62015-01-15 08:50:19 -08007760deps_chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007761
7762ifneq ($(NO_SECURE),true)
7763ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007764-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007765endif
7766endif
7767
ctillerc6d61c42014-12-15 14:52:08 -08007768
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007769CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
7770
ctillercab52e72015-01-06 13:10:23 -08007771CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007772
nnoble69ac39f2014-12-12 15:43:38 -08007773ifeq ($(NO_SECURE),true)
7774
Nicolas Noble047b7272015-01-16 13:55:05 -08007775# You can't build secure targets if you don't have OpenSSL with ALPN.
7776
ctillercab52e72015-01-06 13:10:23 -08007777bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007778
7779else
7780
nnoble5f2ecb32015-01-12 16:40:18 -08007781bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007782 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007783 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007784 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007785
nnoble69ac39f2014-12-12 15:43:38 -08007786endif
7787
Craig Tillerd4773f52015-01-12 16:38:47 -08007788
Craig Tiller8f126a62015-01-15 08:50:19 -08007789deps_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007790
nnoble69ac39f2014-12-12 15:43:38 -08007791ifneq ($(NO_SECURE),true)
7792ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007793-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007794endif
nnoble69ac39f2014-12-12 15:43:38 -08007795endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007796
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007797
7798CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7799
ctillercab52e72015-01-06 13:10:23 -08007800CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007801
nnoble69ac39f2014-12-12 15:43:38 -08007802ifeq ($(NO_SECURE),true)
7803
Nicolas Noble047b7272015-01-16 13:55:05 -08007804# You can't build secure targets if you don't have OpenSSL with ALPN.
7805
ctillercab52e72015-01-06 13:10:23 -08007806bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007807
7808else
7809
nnoble5f2ecb32015-01-12 16:40:18 -08007810bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007811 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007812 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007813 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007814
nnoble69ac39f2014-12-12 15:43:38 -08007815endif
7816
Craig Tillerd4773f52015-01-12 16:38:47 -08007817
Craig Tiller8f126a62015-01-15 08:50:19 -08007818deps_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007819
nnoble69ac39f2014-12-12 15:43:38 -08007820ifneq ($(NO_SECURE),true)
7821ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007822-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007823endif
nnoble69ac39f2014-12-12 15:43:38 -08007824endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007825
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007826
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007827CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
7828
7829CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
7830
7831ifeq ($(NO_SECURE),true)
7832
David Klempner7f3ed1e2015-01-16 15:35:56 -08007833# You can't build secure targets if you don't have OpenSSL with ALPN.
7834
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007835bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: openssl_dep_error
7836
7837else
7838
7839bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
7840 $(E) "[LD] Linking $@"
7841 $(Q) mkdir -p `dirname $@`
7842 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test
7843
7844endif
7845
7846
7847deps_chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7848
7849ifneq ($(NO_SECURE),true)
7850ifneq ($(NO_DEPS),true)
7851-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7852endif
7853endif
7854
7855
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007856CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7857
ctillercab52e72015-01-06 13:10:23 -08007858CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007859
nnoble69ac39f2014-12-12 15:43:38 -08007860ifeq ($(NO_SECURE),true)
7861
Nicolas Noble047b7272015-01-16 13:55:05 -08007862# You can't build secure targets if you don't have OpenSSL with ALPN.
7863
ctillercab52e72015-01-06 13:10:23 -08007864bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007865
7866else
7867
nnoble5f2ecb32015-01-12 16:40:18 -08007868bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007869 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007870 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007871 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007872
nnoble69ac39f2014-12-12 15:43:38 -08007873endif
7874
Craig Tillerd4773f52015-01-12 16:38:47 -08007875
Craig Tiller8f126a62015-01-15 08:50:19 -08007876deps_chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007877
nnoble69ac39f2014-12-12 15:43:38 -08007878ifneq ($(NO_SECURE),true)
7879ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007880-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007881endif
nnoble69ac39f2014-12-12 15:43:38 -08007882endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007883
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007884
7885CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7886
ctillercab52e72015-01-06 13:10:23 -08007887CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007888
nnoble69ac39f2014-12-12 15:43:38 -08007889ifeq ($(NO_SECURE),true)
7890
Nicolas Noble047b7272015-01-16 13:55:05 -08007891# You can't build secure targets if you don't have OpenSSL with ALPN.
7892
ctillercab52e72015-01-06 13:10:23 -08007893bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007894
7895else
7896
nnoble5f2ecb32015-01-12 16:40:18 -08007897bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007898 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007899 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007900 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007901
nnoble69ac39f2014-12-12 15:43:38 -08007902endif
7903
Craig Tillerd4773f52015-01-12 16:38:47 -08007904
Craig Tiller8f126a62015-01-15 08:50:19 -08007905deps_chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007906
nnoble69ac39f2014-12-12 15:43:38 -08007907ifneq ($(NO_SECURE),true)
7908ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007909-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007910endif
nnoble69ac39f2014-12-12 15:43:38 -08007911endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007912
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007913
7914CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_SRC = \
7915
ctillercab52e72015-01-06 13:10:23 -08007916CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007917
nnoble69ac39f2014-12-12 15:43:38 -08007918ifeq ($(NO_SECURE),true)
7919
Nicolas Noble047b7272015-01-16 13:55:05 -08007920# You can't build secure targets if you don't have OpenSSL with ALPN.
7921
ctillercab52e72015-01-06 13:10:23 -08007922bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007923
7924else
7925
nnoble5f2ecb32015-01-12 16:40:18 -08007926bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007927 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007928 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007929 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007930
nnoble69ac39f2014-12-12 15:43:38 -08007931endif
7932
Craig Tillerd4773f52015-01-12 16:38:47 -08007933
Craig Tiller8f126a62015-01-15 08:50:19 -08007934deps_chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007935
nnoble69ac39f2014-12-12 15:43:38 -08007936ifneq ($(NO_SECURE),true)
7937ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007938-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007939endif
nnoble69ac39f2014-12-12 15:43:38 -08007940endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007941
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007942
7943CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7944
ctillercab52e72015-01-06 13:10:23 -08007945CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007946
nnoble69ac39f2014-12-12 15:43:38 -08007947ifeq ($(NO_SECURE),true)
7948
Nicolas Noble047b7272015-01-16 13:55:05 -08007949# You can't build secure targets if you don't have OpenSSL with ALPN.
7950
ctillercab52e72015-01-06 13:10:23 -08007951bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007952
7953else
7954
nnoble5f2ecb32015-01-12 16:40:18 -08007955bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007956 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007957 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007958 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007959
nnoble69ac39f2014-12-12 15:43:38 -08007960endif
7961
Craig Tillerd4773f52015-01-12 16:38:47 -08007962
Craig Tiller8f126a62015-01-15 08:50:19 -08007963deps_chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007964
nnoble69ac39f2014-12-12 15:43:38 -08007965ifneq ($(NO_SECURE),true)
7966ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007967-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007968endif
nnoble69ac39f2014-12-12 15:43:38 -08007969endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007970
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007971
ctiller33023c42014-12-12 16:28:33 -08007972CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7973
ctillercab52e72015-01-06 13:10:23 -08007974CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller33023c42014-12-12 16:28:33 -08007975
7976ifeq ($(NO_SECURE),true)
7977
Nicolas Noble047b7272015-01-16 13:55:05 -08007978# You can't build secure targets if you don't have OpenSSL with ALPN.
7979
ctillercab52e72015-01-06 13:10:23 -08007980bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007981
7982else
7983
nnoble5f2ecb32015-01-12 16:40:18 -08007984bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller33023c42014-12-12 16:28:33 -08007985 $(E) "[LD] Linking $@"
7986 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007987 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test
ctiller33023c42014-12-12 16:28:33 -08007988
7989endif
7990
Craig Tillerd4773f52015-01-12 16:38:47 -08007991
Craig Tiller8f126a62015-01-15 08:50:19 -08007992deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007993
7994ifneq ($(NO_SECURE),true)
7995ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007996-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007997endif
7998endif
7999
ctiller33023c42014-12-12 16:28:33 -08008000
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008001CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
8002
ctillercab52e72015-01-06 13:10:23 -08008003CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008004
nnoble69ac39f2014-12-12 15:43:38 -08008005ifeq ($(NO_SECURE),true)
8006
Nicolas Noble047b7272015-01-16 13:55:05 -08008007# You can't build secure targets if you don't have OpenSSL with ALPN.
8008
ctillercab52e72015-01-06 13:10:23 -08008009bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008010
8011else
8012
nnoble5f2ecb32015-01-12 16:40:18 -08008013bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008014 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008015 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008016 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008017
nnoble69ac39f2014-12-12 15:43:38 -08008018endif
8019
Craig Tillerd4773f52015-01-12 16:38:47 -08008020
Craig Tiller8f126a62015-01-15 08:50:19 -08008021deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008022
nnoble69ac39f2014-12-12 15:43:38 -08008023ifneq ($(NO_SECURE),true)
8024ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008025-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008026endif
nnoble69ac39f2014-12-12 15:43:38 -08008027endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008028
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008029
8030CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
8031
ctillercab52e72015-01-06 13:10:23 -08008032CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008033
nnoble69ac39f2014-12-12 15:43:38 -08008034ifeq ($(NO_SECURE),true)
8035
Nicolas Noble047b7272015-01-16 13:55:05 -08008036# You can't build secure targets if you don't have OpenSSL with ALPN.
8037
ctillercab52e72015-01-06 13:10:23 -08008038bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008039
8040else
8041
nnoble5f2ecb32015-01-12 16:40:18 -08008042bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008043 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008044 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008045 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008046
nnoble69ac39f2014-12-12 15:43:38 -08008047endif
8048
Craig Tillerd4773f52015-01-12 16:38:47 -08008049
Craig Tiller8f126a62015-01-15 08:50:19 -08008050deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008051
nnoble69ac39f2014-12-12 15:43:38 -08008052ifneq ($(NO_SECURE),true)
8053ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008054-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008055endif
nnoble69ac39f2014-12-12 15:43:38 -08008056endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008057
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008058
ctiller2845cad2014-12-15 15:14:12 -08008059CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
8060
ctillercab52e72015-01-06 13:10:23 -08008061CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller2845cad2014-12-15 15:14:12 -08008062
8063ifeq ($(NO_SECURE),true)
8064
Nicolas Noble047b7272015-01-16 13:55:05 -08008065# You can't build secure targets if you don't have OpenSSL with ALPN.
8066
ctillercab52e72015-01-06 13:10:23 -08008067bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08008068
8069else
8070
nnoble5f2ecb32015-01-12 16:40:18 -08008071bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller2845cad2014-12-15 15:14:12 -08008072 $(E) "[LD] Linking $@"
8073 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008074 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test
ctiller2845cad2014-12-15 15:14:12 -08008075
8076endif
8077
Craig Tillerd4773f52015-01-12 16:38:47 -08008078
Craig Tiller8f126a62015-01-15 08:50:19 -08008079deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008080
8081ifneq ($(NO_SECURE),true)
8082ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008083-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008084endif
8085endif
8086
ctiller2845cad2014-12-15 15:14:12 -08008087
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008088CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
8089
ctillercab52e72015-01-06 13:10:23 -08008090CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008091
nnoble69ac39f2014-12-12 15:43:38 -08008092ifeq ($(NO_SECURE),true)
8093
Nicolas Noble047b7272015-01-16 13:55:05 -08008094# You can't build secure targets if you don't have OpenSSL with ALPN.
8095
ctillercab52e72015-01-06 13:10:23 -08008096bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008097
8098else
8099
nnoble5f2ecb32015-01-12 16:40:18 -08008100bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008101 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008102 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008103 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008104
nnoble69ac39f2014-12-12 15:43:38 -08008105endif
8106
Craig Tillerd4773f52015-01-12 16:38:47 -08008107
Craig Tiller8f126a62015-01-15 08:50:19 -08008108deps_chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008109
nnoble69ac39f2014-12-12 15:43:38 -08008110ifneq ($(NO_SECURE),true)
8111ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008112-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008113endif
nnoble69ac39f2014-12-12 15:43:38 -08008114endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008115
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008116
8117CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
8118
ctillercab52e72015-01-06 13:10:23 -08008119CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008120
nnoble69ac39f2014-12-12 15:43:38 -08008121ifeq ($(NO_SECURE),true)
8122
Nicolas Noble047b7272015-01-16 13:55:05 -08008123# You can't build secure targets if you don't have OpenSSL with ALPN.
8124
ctillercab52e72015-01-06 13:10:23 -08008125bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008126
8127else
8128
nnoble5f2ecb32015-01-12 16:40:18 -08008129bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008130 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008131 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008132 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008133
nnoble69ac39f2014-12-12 15:43:38 -08008134endif
8135
Craig Tillerd4773f52015-01-12 16:38:47 -08008136
Craig Tiller8f126a62015-01-15 08:50:19 -08008137deps_chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008138
nnoble69ac39f2014-12-12 15:43:38 -08008139ifneq ($(NO_SECURE),true)
8140ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008141-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008142endif
nnoble69ac39f2014-12-12 15:43:38 -08008143endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008144
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008145
nathaniel52878172014-12-09 10:17:19 -08008146CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008147
ctillercab52e72015-01-06 13:10:23 -08008148CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008149
nnoble69ac39f2014-12-12 15:43:38 -08008150ifeq ($(NO_SECURE),true)
8151
Nicolas Noble047b7272015-01-16 13:55:05 -08008152# You can't build secure targets if you don't have OpenSSL with ALPN.
8153
ctillercab52e72015-01-06 13:10:23 -08008154bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008155
8156else
8157
nnoble5f2ecb32015-01-12 16:40:18 -08008158bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008159 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008160 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008161 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008162
nnoble69ac39f2014-12-12 15:43:38 -08008163endif
8164
Craig Tillerd4773f52015-01-12 16:38:47 -08008165
Craig Tiller8f126a62015-01-15 08:50:19 -08008166deps_chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008167
nnoble69ac39f2014-12-12 15:43:38 -08008168ifneq ($(NO_SECURE),true)
8169ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008170-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008171endif
nnoble69ac39f2014-12-12 15:43:38 -08008172endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008173
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008174
8175CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8176
ctillercab52e72015-01-06 13:10:23 -08008177CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008178
nnoble69ac39f2014-12-12 15:43:38 -08008179ifeq ($(NO_SECURE),true)
8180
Nicolas Noble047b7272015-01-16 13:55:05 -08008181# You can't build secure targets if you don't have OpenSSL with ALPN.
8182
ctillercab52e72015-01-06 13:10:23 -08008183bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008184
8185else
8186
nnoble5f2ecb32015-01-12 16:40:18 -08008187bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008188 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008189 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008190 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008191
nnoble69ac39f2014-12-12 15:43:38 -08008192endif
8193
Craig Tillerd4773f52015-01-12 16:38:47 -08008194
Craig Tiller8f126a62015-01-15 08:50:19 -08008195deps_chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008196
nnoble69ac39f2014-12-12 15:43:38 -08008197ifneq ($(NO_SECURE),true)
8198ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008199-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008200endif
nnoble69ac39f2014-12-12 15:43:38 -08008201endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008202
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008203
8204CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8205
ctillercab52e72015-01-06 13:10:23 -08008206CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008207
nnoble69ac39f2014-12-12 15:43:38 -08008208ifeq ($(NO_SECURE),true)
8209
Nicolas Noble047b7272015-01-16 13:55:05 -08008210# You can't build secure targets if you don't have OpenSSL with ALPN.
8211
ctillercab52e72015-01-06 13:10:23 -08008212bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008213
8214else
8215
nnoble5f2ecb32015-01-12 16:40:18 -08008216bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008217 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008218 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008219 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008220
nnoble69ac39f2014-12-12 15:43:38 -08008221endif
8222
Craig Tillerd4773f52015-01-12 16:38:47 -08008223
Craig Tiller8f126a62015-01-15 08:50:19 -08008224deps_chttp2_socket_pair_cancel_after_accept_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008225
nnoble69ac39f2014-12-12 15:43:38 -08008226ifneq ($(NO_SECURE),true)
8227ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008228-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008229endif
nnoble69ac39f2014-12-12 15:43:38 -08008230endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008231
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008232
8233CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8234
ctillercab52e72015-01-06 13:10:23 -08008235CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008236
nnoble69ac39f2014-12-12 15:43:38 -08008237ifeq ($(NO_SECURE),true)
8238
Nicolas Noble047b7272015-01-16 13:55:05 -08008239# You can't build secure targets if you don't have OpenSSL with ALPN.
8240
ctillercab52e72015-01-06 13:10:23 -08008241bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008242
8243else
8244
nnoble5f2ecb32015-01-12 16:40:18 -08008245bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008246 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008247 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008248 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008249
nnoble69ac39f2014-12-12 15:43:38 -08008250endif
8251
Craig Tillerd4773f52015-01-12 16:38:47 -08008252
Craig Tiller8f126a62015-01-15 08:50:19 -08008253deps_chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008254
nnoble69ac39f2014-12-12 15:43:38 -08008255ifneq ($(NO_SECURE),true)
8256ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008257-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008258endif
nnoble69ac39f2014-12-12 15:43:38 -08008259endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008260
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008261
8262CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_SRC = \
8263
ctillercab52e72015-01-06 13:10:23 -08008264CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008265
nnoble69ac39f2014-12-12 15:43:38 -08008266ifeq ($(NO_SECURE),true)
8267
Nicolas Noble047b7272015-01-16 13:55:05 -08008268# You can't build secure targets if you don't have OpenSSL with ALPN.
8269
ctillercab52e72015-01-06 13:10:23 -08008270bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008271
8272else
8273
nnoble5f2ecb32015-01-12 16:40:18 -08008274bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008275 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008276 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008277 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008278
nnoble69ac39f2014-12-12 15:43:38 -08008279endif
8280
Craig Tillerd4773f52015-01-12 16:38:47 -08008281
Craig Tiller8f126a62015-01-15 08:50:19 -08008282deps_chttp2_socket_pair_cancel_after_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008283
nnoble69ac39f2014-12-12 15:43:38 -08008284ifneq ($(NO_SECURE),true)
8285ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008286-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008287endif
nnoble69ac39f2014-12-12 15:43:38 -08008288endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008289
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008290
8291CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8292
ctillercab52e72015-01-06 13:10:23 -08008293CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008294
nnoble69ac39f2014-12-12 15:43:38 -08008295ifeq ($(NO_SECURE),true)
8296
Nicolas Noble047b7272015-01-16 13:55:05 -08008297# You can't build secure targets if you don't have OpenSSL with ALPN.
8298
ctillercab52e72015-01-06 13:10:23 -08008299bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008300
8301else
8302
nnoble5f2ecb32015-01-12 16:40:18 -08008303bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008304 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008305 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008306 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008307
nnoble69ac39f2014-12-12 15:43:38 -08008308endif
8309
Craig Tillerd4773f52015-01-12 16:38:47 -08008310
Craig Tiller8f126a62015-01-15 08:50:19 -08008311deps_chttp2_socket_pair_cancel_before_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008312
nnoble69ac39f2014-12-12 15:43:38 -08008313ifneq ($(NO_SECURE),true)
8314ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008315-include $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008316endif
nnoble69ac39f2014-12-12 15:43:38 -08008317endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008318
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008319
8320CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_SRC = \
8321
ctillercab52e72015-01-06 13:10:23 -08008322CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008323
nnoble69ac39f2014-12-12 15:43:38 -08008324ifeq ($(NO_SECURE),true)
8325
Nicolas Noble047b7272015-01-16 13:55:05 -08008326# You can't build secure targets if you don't have OpenSSL with ALPN.
8327
ctillercab52e72015-01-06 13:10:23 -08008328bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008329
8330else
8331
nnoble5f2ecb32015-01-12 16:40:18 -08008332bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test: $(CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008333 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008334 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008335 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008336
nnoble69ac39f2014-12-12 15:43:38 -08008337endif
8338
Craig Tillerd4773f52015-01-12 16:38:47 -08008339
Craig Tiller8f126a62015-01-15 08:50:19 -08008340deps_chttp2_socket_pair_cancel_in_a_vacuum_test: $(CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008341
nnoble69ac39f2014-12-12 15:43:38 -08008342ifneq ($(NO_SECURE),true)
8343ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008344-include $(CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008345endif
nnoble69ac39f2014-12-12 15:43:38 -08008346endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008347
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008348
hongyu24200d32015-01-08 15:13:49 -08008349CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8350
8351CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08008352
8353ifeq ($(NO_SECURE),true)
8354
Nicolas Noble047b7272015-01-16 13:55:05 -08008355# You can't build secure targets if you don't have OpenSSL with ALPN.
8356
hongyu24200d32015-01-08 15:13:49 -08008357bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test: openssl_dep_error
8358
8359else
8360
nnoble5f2ecb32015-01-12 16:40:18 -08008361bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test: $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
hongyu24200d32015-01-08 15:13:49 -08008362 $(E) "[LD] Linking $@"
8363 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008364 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test
hongyu24200d32015-01-08 15:13:49 -08008365
8366endif
8367
Craig Tillerd4773f52015-01-12 16:38:47 -08008368
Craig Tiller8f126a62015-01-15 08:50:19 -08008369deps_chttp2_socket_pair_census_simple_request_test: $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008370
8371ifneq ($(NO_SECURE),true)
8372ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008373-include $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008374endif
8375endif
8376
hongyu24200d32015-01-08 15:13:49 -08008377
ctillerc6d61c42014-12-15 14:52:08 -08008378CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_SRC = \
8379
ctillercab52e72015-01-06 13:10:23 -08008380CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08008381
8382ifeq ($(NO_SECURE),true)
8383
Nicolas Noble047b7272015-01-16 13:55:05 -08008384# You can't build secure targets if you don't have OpenSSL with ALPN.
8385
ctillercab52e72015-01-06 13:10:23 -08008386bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08008387
8388else
8389
nnoble5f2ecb32015-01-12 16:40:18 -08008390bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test: $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctillerc6d61c42014-12-15 14:52:08 -08008391 $(E) "[LD] Linking $@"
8392 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008393 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test
ctillerc6d61c42014-12-15 14:52:08 -08008394
8395endif
8396
Craig Tillerd4773f52015-01-12 16:38:47 -08008397
Craig Tiller8f126a62015-01-15 08:50:19 -08008398deps_chttp2_socket_pair_disappearing_server_test: $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008399
8400ifneq ($(NO_SECURE),true)
8401ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008402-include $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008403endif
8404endif
8405
ctillerc6d61c42014-12-15 14:52:08 -08008406
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008407CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
8408
ctillercab52e72015-01-06 13:10:23 -08008409CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008410
nnoble69ac39f2014-12-12 15:43:38 -08008411ifeq ($(NO_SECURE),true)
8412
Nicolas Noble047b7272015-01-16 13:55:05 -08008413# You can't build secure targets if you don't have OpenSSL with ALPN.
8414
ctillercab52e72015-01-06 13:10:23 -08008415bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008416
8417else
8418
nnoble5f2ecb32015-01-12 16:40:18 -08008419bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008420 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008421 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008422 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008423
nnoble69ac39f2014-12-12 15:43:38 -08008424endif
8425
Craig Tillerd4773f52015-01-12 16:38:47 -08008426
Craig Tiller8f126a62015-01-15 08:50:19 -08008427deps_chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008428
nnoble69ac39f2014-12-12 15:43:38 -08008429ifneq ($(NO_SECURE),true)
8430ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008431-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008432endif
nnoble69ac39f2014-12-12 15:43:38 -08008433endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008434
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008435
8436CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
8437
ctillercab52e72015-01-06 13:10:23 -08008438CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008439
nnoble69ac39f2014-12-12 15:43:38 -08008440ifeq ($(NO_SECURE),true)
8441
Nicolas Noble047b7272015-01-16 13:55:05 -08008442# You can't build secure targets if you don't have OpenSSL with ALPN.
8443
ctillercab52e72015-01-06 13:10:23 -08008444bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008445
8446else
8447
nnoble5f2ecb32015-01-12 16:40:18 -08008448bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test: $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008449 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008450 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008451 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008452
nnoble69ac39f2014-12-12 15:43:38 -08008453endif
8454
Craig Tillerd4773f52015-01-12 16:38:47 -08008455
Craig Tiller8f126a62015-01-15 08:50:19 -08008456deps_chttp2_socket_pair_early_server_shutdown_finishes_tags_test: $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008457
nnoble69ac39f2014-12-12 15:43:38 -08008458ifneq ($(NO_SECURE),true)
8459ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008460-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008461endif
nnoble69ac39f2014-12-12 15:43:38 -08008462endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008463
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008464
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008465CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
8466
8467CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
8468
8469ifeq ($(NO_SECURE),true)
8470
David Klempner7f3ed1e2015-01-16 15:35:56 -08008471# You can't build secure targets if you don't have OpenSSL with ALPN.
8472
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008473bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test: openssl_dep_error
8474
8475else
8476
8477bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
8478 $(E) "[LD] Linking $@"
8479 $(Q) mkdir -p `dirname $@`
8480 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test
8481
8482endif
8483
8484
8485deps_chttp2_socket_pair_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8486
8487ifneq ($(NO_SECURE),true)
8488ifneq ($(NO_DEPS),true)
8489-include $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8490endif
8491endif
8492
8493
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008494CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_SRC = \
8495
ctillercab52e72015-01-06 13:10:23 -08008496CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008497
nnoble69ac39f2014-12-12 15:43:38 -08008498ifeq ($(NO_SECURE),true)
8499
Nicolas Noble047b7272015-01-16 13:55:05 -08008500# You can't build secure targets if you don't have OpenSSL with ALPN.
8501
ctillercab52e72015-01-06 13:10:23 -08008502bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008503
8504else
8505
nnoble5f2ecb32015-01-12 16:40:18 -08008506bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test: $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008507 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008508 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008509 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008510
nnoble69ac39f2014-12-12 15:43:38 -08008511endif
8512
Craig Tillerd4773f52015-01-12 16:38:47 -08008513
Craig Tiller8f126a62015-01-15 08:50:19 -08008514deps_chttp2_socket_pair_invoke_large_request_test: $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008515
nnoble69ac39f2014-12-12 15:43:38 -08008516ifneq ($(NO_SECURE),true)
8517ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008518-include $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008519endif
nnoble69ac39f2014-12-12 15:43:38 -08008520endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008521
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008522
8523CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_SRC = \
8524
ctillercab52e72015-01-06 13:10:23 -08008525CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008526
nnoble69ac39f2014-12-12 15:43:38 -08008527ifeq ($(NO_SECURE),true)
8528
Nicolas Noble047b7272015-01-16 13:55:05 -08008529# You can't build secure targets if you don't have OpenSSL with ALPN.
8530
ctillercab52e72015-01-06 13:10:23 -08008531bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008532
8533else
8534
nnoble5f2ecb32015-01-12 16:40:18 -08008535bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test: $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008536 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008537 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008538 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008539
nnoble69ac39f2014-12-12 15:43:38 -08008540endif
8541
Craig Tillerd4773f52015-01-12 16:38:47 -08008542
Craig Tiller8f126a62015-01-15 08:50:19 -08008543deps_chttp2_socket_pair_max_concurrent_streams_test: $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008544
nnoble69ac39f2014-12-12 15:43:38 -08008545ifneq ($(NO_SECURE),true)
8546ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008547-include $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008548endif
nnoble69ac39f2014-12-12 15:43:38 -08008549endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008550
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008551
8552CHTTP2_SOCKET_PAIR_NO_OP_TEST_SRC = \
8553
ctillercab52e72015-01-06 13:10:23 -08008554CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008555
nnoble69ac39f2014-12-12 15:43:38 -08008556ifeq ($(NO_SECURE),true)
8557
Nicolas Noble047b7272015-01-16 13:55:05 -08008558# You can't build secure targets if you don't have OpenSSL with ALPN.
8559
ctillercab52e72015-01-06 13:10:23 -08008560bins/$(CONFIG)/chttp2_socket_pair_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008561
8562else
8563
nnoble5f2ecb32015-01-12 16:40:18 -08008564bins/$(CONFIG)/chttp2_socket_pair_no_op_test: $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008565 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008566 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008567 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_no_op_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008568
nnoble69ac39f2014-12-12 15:43:38 -08008569endif
8570
Craig Tillerd4773f52015-01-12 16:38:47 -08008571
Craig Tiller8f126a62015-01-15 08:50:19 -08008572deps_chttp2_socket_pair_no_op_test: $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008573
nnoble69ac39f2014-12-12 15:43:38 -08008574ifneq ($(NO_SECURE),true)
8575ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008576-include $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008577endif
nnoble69ac39f2014-12-12 15:43:38 -08008578endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008579
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008580
8581CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_SRC = \
8582
ctillercab52e72015-01-06 13:10:23 -08008583CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008584
nnoble69ac39f2014-12-12 15:43:38 -08008585ifeq ($(NO_SECURE),true)
8586
Nicolas Noble047b7272015-01-16 13:55:05 -08008587# You can't build secure targets if you don't have OpenSSL with ALPN.
8588
ctillercab52e72015-01-06 13:10:23 -08008589bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008590
8591else
8592
nnoble5f2ecb32015-01-12 16:40:18 -08008593bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test: $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008594 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008595 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008596 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008597
nnoble69ac39f2014-12-12 15:43:38 -08008598endif
8599
Craig Tillerd4773f52015-01-12 16:38:47 -08008600
Craig Tiller8f126a62015-01-15 08:50:19 -08008601deps_chttp2_socket_pair_ping_pong_streaming_test: $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008602
nnoble69ac39f2014-12-12 15:43:38 -08008603ifneq ($(NO_SECURE),true)
8604ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008605-include $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008606endif
nnoble69ac39f2014-12-12 15:43:38 -08008607endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008608
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008609
ctiller33023c42014-12-12 16:28:33 -08008610CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
8611
ctillercab52e72015-01-06 13:10:23 -08008612CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller33023c42014-12-12 16:28:33 -08008613
8614ifeq ($(NO_SECURE),true)
8615
Nicolas Noble047b7272015-01-16 13:55:05 -08008616# You can't build secure targets if you don't have OpenSSL with ALPN.
8617
ctillercab52e72015-01-06 13:10:23 -08008618bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08008619
8620else
8621
nnoble5f2ecb32015-01-12 16:40:18 -08008622bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller33023c42014-12-12 16:28:33 -08008623 $(E) "[LD] Linking $@"
8624 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008625 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test
ctiller33023c42014-12-12 16:28:33 -08008626
8627endif
8628
Craig Tillerd4773f52015-01-12 16:38:47 -08008629
Craig Tiller8f126a62015-01-15 08:50:19 -08008630deps_chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08008631
8632ifneq ($(NO_SECURE),true)
8633ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008634-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08008635endif
8636endif
8637
ctiller33023c42014-12-12 16:28:33 -08008638
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008639CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
8640
ctillercab52e72015-01-06 13:10:23 -08008641CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008642
nnoble69ac39f2014-12-12 15:43:38 -08008643ifeq ($(NO_SECURE),true)
8644
Nicolas Noble047b7272015-01-16 13:55:05 -08008645# You can't build secure targets if you don't have OpenSSL with ALPN.
8646
ctillercab52e72015-01-06 13:10:23 -08008647bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008648
8649else
8650
nnoble5f2ecb32015-01-12 16:40:18 -08008651bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008652 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008653 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008654 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008655
nnoble69ac39f2014-12-12 15:43:38 -08008656endif
8657
Craig Tillerd4773f52015-01-12 16:38:47 -08008658
Craig Tiller8f126a62015-01-15 08:50:19 -08008659deps_chttp2_socket_pair_request_response_with_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008660
nnoble69ac39f2014-12-12 15:43:38 -08008661ifneq ($(NO_SECURE),true)
8662ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008663-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008664endif
nnoble69ac39f2014-12-12 15:43:38 -08008665endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008666
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008667
8668CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
8669
ctillercab52e72015-01-06 13:10:23 -08008670CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008671
nnoble69ac39f2014-12-12 15:43:38 -08008672ifeq ($(NO_SECURE),true)
8673
Nicolas Noble047b7272015-01-16 13:55:05 -08008674# You can't build secure targets if you don't have OpenSSL with ALPN.
8675
ctillercab52e72015-01-06 13:10:23 -08008676bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008677
8678else
8679
nnoble5f2ecb32015-01-12 16:40:18 -08008680bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test: $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008681 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008682 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008683 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008684
nnoble69ac39f2014-12-12 15:43:38 -08008685endif
8686
Craig Tillerd4773f52015-01-12 16:38:47 -08008687
Craig Tiller8f126a62015-01-15 08:50:19 -08008688deps_chttp2_socket_pair_request_response_with_payload_test: $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008689
nnoble69ac39f2014-12-12 15:43:38 -08008690ifneq ($(NO_SECURE),true)
8691ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008692-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008693endif
nnoble69ac39f2014-12-12 15:43:38 -08008694endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008695
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008696
ctiller2845cad2014-12-15 15:14:12 -08008697CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
8698
ctillercab52e72015-01-06 13:10:23 -08008699CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller2845cad2014-12-15 15:14:12 -08008700
8701ifeq ($(NO_SECURE),true)
8702
Nicolas Noble047b7272015-01-16 13:55:05 -08008703# You can't build secure targets if you don't have OpenSSL with ALPN.
8704
ctillercab52e72015-01-06 13:10:23 -08008705bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08008706
8707else
8708
nnoble5f2ecb32015-01-12 16:40:18 -08008709bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller2845cad2014-12-15 15:14:12 -08008710 $(E) "[LD] Linking $@"
8711 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008712 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test
ctiller2845cad2014-12-15 15:14:12 -08008713
8714endif
8715
Craig Tillerd4773f52015-01-12 16:38:47 -08008716
Craig Tiller8f126a62015-01-15 08:50:19 -08008717deps_chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008718
8719ifneq ($(NO_SECURE),true)
8720ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008721-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008722endif
8723endif
8724
ctiller2845cad2014-12-15 15:14:12 -08008725
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008726CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
8727
ctillercab52e72015-01-06 13:10:23 -08008728CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008729
nnoble69ac39f2014-12-12 15:43:38 -08008730ifeq ($(NO_SECURE),true)
8731
Nicolas Noble047b7272015-01-16 13:55:05 -08008732# You can't build secure targets if you don't have OpenSSL with ALPN.
8733
ctillercab52e72015-01-06 13:10:23 -08008734bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008735
8736else
8737
nnoble5f2ecb32015-01-12 16:40:18 -08008738bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008739 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008740 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008741 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008742
nnoble69ac39f2014-12-12 15:43:38 -08008743endif
8744
Craig Tillerd4773f52015-01-12 16:38:47 -08008745
Craig Tiller8f126a62015-01-15 08:50:19 -08008746deps_chttp2_socket_pair_simple_delayed_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008747
nnoble69ac39f2014-12-12 15:43:38 -08008748ifneq ($(NO_SECURE),true)
8749ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008750-include $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008751endif
nnoble69ac39f2014-12-12 15:43:38 -08008752endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008753
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008754
8755CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_SRC = \
8756
ctillercab52e72015-01-06 13:10:23 -08008757CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008758
nnoble69ac39f2014-12-12 15:43:38 -08008759ifeq ($(NO_SECURE),true)
8760
Nicolas Noble047b7272015-01-16 13:55:05 -08008761# You can't build secure targets if you don't have OpenSSL with ALPN.
8762
ctillercab52e72015-01-06 13:10:23 -08008763bins/$(CONFIG)/chttp2_socket_pair_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008764
8765else
8766
nnoble5f2ecb32015-01-12 16:40:18 -08008767bins/$(CONFIG)/chttp2_socket_pair_simple_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008768 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008769 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008770 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_simple_request_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008771
nnoble69ac39f2014-12-12 15:43:38 -08008772endif
8773
Craig Tillerd4773f52015-01-12 16:38:47 -08008774
Craig Tiller8f126a62015-01-15 08:50:19 -08008775deps_chttp2_socket_pair_simple_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008776
nnoble69ac39f2014-12-12 15:43:38 -08008777ifneq ($(NO_SECURE),true)
8778ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008779-include $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008780endif
nnoble69ac39f2014-12-12 15:43:38 -08008781endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008782
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008783
nathaniel52878172014-12-09 10:17:19 -08008784CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008785
ctillercab52e72015-01-06 13:10:23 -08008786CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008787
nnoble69ac39f2014-12-12 15:43:38 -08008788ifeq ($(NO_SECURE),true)
8789
Nicolas Noble047b7272015-01-16 13:55:05 -08008790# You can't build secure targets if you don't have OpenSSL with ALPN.
8791
ctillercab52e72015-01-06 13:10:23 -08008792bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008793
8794else
8795
nnoble5f2ecb32015-01-12 16:40:18 -08008796bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test: $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008797 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008798 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008799 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008800
nnoble69ac39f2014-12-12 15:43:38 -08008801endif
8802
Craig Tillerd4773f52015-01-12 16:38:47 -08008803
Craig Tiller8f126a62015-01-15 08:50:19 -08008804deps_chttp2_socket_pair_thread_stress_test: $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008805
nnoble69ac39f2014-12-12 15:43:38 -08008806ifneq ($(NO_SECURE),true)
8807ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008808-include $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008809endif
nnoble69ac39f2014-12-12 15:43:38 -08008810endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008811
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008812
8813CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8814
ctillercab52e72015-01-06 13:10:23 -08008815CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008816
nnoble69ac39f2014-12-12 15:43:38 -08008817ifeq ($(NO_SECURE),true)
8818
Nicolas Noble047b7272015-01-16 13:55:05 -08008819# You can't build secure targets if you don't have OpenSSL with ALPN.
8820
ctillercab52e72015-01-06 13:10:23 -08008821bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008822
8823else
8824
nnoble5f2ecb32015-01-12 16:40:18 -08008825bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test: $(CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008826 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008827 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008828 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008829
nnoble69ac39f2014-12-12 15:43:38 -08008830endif
8831
Craig Tillerd4773f52015-01-12 16:38:47 -08008832
Craig Tiller8f126a62015-01-15 08:50:19 -08008833deps_chttp2_socket_pair_writes_done_hangs_with_pending_read_test: $(CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008834
nnoble69ac39f2014-12-12 15:43:38 -08008835ifneq ($(NO_SECURE),true)
8836ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008837-include $(CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008838endif
nnoble69ac39f2014-12-12 15:43:38 -08008839endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008840
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008841
nnoble0c475f02014-12-05 15:37:39 -08008842CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8843
ctillercab52e72015-01-06 13:10:23 -08008844CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08008845
nnoble69ac39f2014-12-12 15:43:38 -08008846ifeq ($(NO_SECURE),true)
8847
Nicolas Noble047b7272015-01-16 13:55:05 -08008848# You can't build secure targets if you don't have OpenSSL with ALPN.
8849
ctillercab52e72015-01-06 13:10:23 -08008850bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008851
8852else
8853
nnoble5f2ecb32015-01-12 16:40:18 -08008854bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08008855 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008856 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008857 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test
nnoble0c475f02014-12-05 15:37:39 -08008858
nnoble69ac39f2014-12-12 15:43:38 -08008859endif
8860
Craig Tillerd4773f52015-01-12 16:38:47 -08008861
Craig Tiller8f126a62015-01-15 08:50:19 -08008862deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008863
nnoble69ac39f2014-12-12 15:43:38 -08008864ifneq ($(NO_SECURE),true)
8865ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008866-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008867endif
nnoble69ac39f2014-12-12 15:43:38 -08008868endif
nnoble0c475f02014-12-05 15:37:39 -08008869
nnoble0c475f02014-12-05 15:37:39 -08008870
8871CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8872
ctillercab52e72015-01-06 13:10:23 -08008873CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08008874
nnoble69ac39f2014-12-12 15:43:38 -08008875ifeq ($(NO_SECURE),true)
8876
Nicolas Noble047b7272015-01-16 13:55:05 -08008877# You can't build secure targets if you don't have OpenSSL with ALPN.
8878
ctillercab52e72015-01-06 13:10:23 -08008879bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008880
8881else
8882
nnoble5f2ecb32015-01-12 16:40:18 -08008883bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08008884 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008885 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008886 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test
nnoble0c475f02014-12-05 15:37:39 -08008887
nnoble69ac39f2014-12-12 15:43:38 -08008888endif
8889
Craig Tillerd4773f52015-01-12 16:38:47 -08008890
Craig Tiller8f126a62015-01-15 08:50:19 -08008891deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008892
nnoble69ac39f2014-12-12 15:43:38 -08008893ifneq ($(NO_SECURE),true)
8894ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008895-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008896endif
nnoble69ac39f2014-12-12 15:43:38 -08008897endif
nnoble0c475f02014-12-05 15:37:39 -08008898
nnoble0c475f02014-12-05 15:37:39 -08008899
8900CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_SRC = \
8901
ctillercab52e72015-01-06 13:10:23 -08008902CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08008903
nnoble69ac39f2014-12-12 15:43:38 -08008904ifeq ($(NO_SECURE),true)
8905
Nicolas Noble047b7272015-01-16 13:55:05 -08008906# You can't build secure targets if you don't have OpenSSL with ALPN.
8907
ctillercab52e72015-01-06 13:10:23 -08008908bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008909
8910else
8911
nnoble5f2ecb32015-01-12 16:40:18 -08008912bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08008913 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008914 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008915 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test
nnoble0c475f02014-12-05 15:37:39 -08008916
nnoble69ac39f2014-12-12 15:43:38 -08008917endif
8918
Craig Tillerd4773f52015-01-12 16:38:47 -08008919
Craig Tiller8f126a62015-01-15 08:50:19 -08008920deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008921
nnoble69ac39f2014-12-12 15:43:38 -08008922ifneq ($(NO_SECURE),true)
8923ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008924-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008925endif
nnoble69ac39f2014-12-12 15:43:38 -08008926endif
nnoble0c475f02014-12-05 15:37:39 -08008927
nnoble0c475f02014-12-05 15:37:39 -08008928
8929CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8930
ctillercab52e72015-01-06 13:10:23 -08008931CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08008932
nnoble69ac39f2014-12-12 15:43:38 -08008933ifeq ($(NO_SECURE),true)
8934
Nicolas Noble047b7272015-01-16 13:55:05 -08008935# You can't build secure targets if you don't have OpenSSL with ALPN.
8936
ctillercab52e72015-01-06 13:10:23 -08008937bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008938
8939else
8940
nnoble5f2ecb32015-01-12 16:40:18 -08008941bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08008942 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008943 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008944 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test
nnoble0c475f02014-12-05 15:37:39 -08008945
nnoble69ac39f2014-12-12 15:43:38 -08008946endif
8947
Craig Tillerd4773f52015-01-12 16:38:47 -08008948
Craig Tiller8f126a62015-01-15 08:50:19 -08008949deps_chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008950
nnoble69ac39f2014-12-12 15:43:38 -08008951ifneq ($(NO_SECURE),true)
8952ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008953-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008954endif
nnoble69ac39f2014-12-12 15:43:38 -08008955endif
nnoble0c475f02014-12-05 15:37:39 -08008956
nnoble0c475f02014-12-05 15:37:39 -08008957
8958CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_SRC = \
8959
ctillercab52e72015-01-06 13:10:23 -08008960CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08008961
nnoble69ac39f2014-12-12 15:43:38 -08008962ifeq ($(NO_SECURE),true)
8963
Nicolas Noble047b7272015-01-16 13:55:05 -08008964# You can't build secure targets if you don't have OpenSSL with ALPN.
8965
ctillercab52e72015-01-06 13:10:23 -08008966bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008967
8968else
8969
nnoble5f2ecb32015-01-12 16:40:18 -08008970bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08008971 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008972 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008973 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test
nnoble0c475f02014-12-05 15:37:39 -08008974
nnoble69ac39f2014-12-12 15:43:38 -08008975endif
8976
Craig Tillerd4773f52015-01-12 16:38:47 -08008977
Craig Tiller8f126a62015-01-15 08:50:19 -08008978deps_chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008979
nnoble69ac39f2014-12-12 15:43:38 -08008980ifneq ($(NO_SECURE),true)
8981ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008982-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008983endif
nnoble69ac39f2014-12-12 15:43:38 -08008984endif
nnoble0c475f02014-12-05 15:37:39 -08008985
nnoble0c475f02014-12-05 15:37:39 -08008986
hongyu24200d32015-01-08 15:13:49 -08008987CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8988
8989CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08008990
8991ifeq ($(NO_SECURE),true)
8992
Nicolas Noble047b7272015-01-16 13:55:05 -08008993# You can't build secure targets if you don't have OpenSSL with ALPN.
8994
hongyu24200d32015-01-08 15:13:49 -08008995bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: openssl_dep_error
8996
8997else
8998
nnoble5f2ecb32015-01-12 16:40:18 -08008999bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
hongyu24200d32015-01-08 15:13:49 -08009000 $(E) "[LD] Linking $@"
9001 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009002 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test
hongyu24200d32015-01-08 15:13:49 -08009003
9004endif
9005
Craig Tillerd4773f52015-01-12 16:38:47 -08009006
Craig Tiller8f126a62015-01-15 08:50:19 -08009007deps_chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08009008
9009ifneq ($(NO_SECURE),true)
9010ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009011-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08009012endif
9013endif
9014
hongyu24200d32015-01-08 15:13:49 -08009015
ctillerc6d61c42014-12-15 14:52:08 -08009016CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_SRC = \
9017
ctillercab52e72015-01-06 13:10:23 -08009018CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08009019
9020ifeq ($(NO_SECURE),true)
9021
Nicolas Noble047b7272015-01-16 13:55:05 -08009022# You can't build secure targets if you don't have OpenSSL with ALPN.
9023
ctillercab52e72015-01-06 13:10:23 -08009024bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08009025
9026else
9027
nnoble5f2ecb32015-01-12 16:40:18 -08009028bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctillerc6d61c42014-12-15 14:52:08 -08009029 $(E) "[LD] Linking $@"
9030 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009031 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test
ctillerc6d61c42014-12-15 14:52:08 -08009032
9033endif
9034
Craig Tillerd4773f52015-01-12 16:38:47 -08009035
Craig Tiller8f126a62015-01-15 08:50:19 -08009036deps_chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08009037
9038ifneq ($(NO_SECURE),true)
9039ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009040-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08009041endif
9042endif
9043
ctillerc6d61c42014-12-15 14:52:08 -08009044
nnoble0c475f02014-12-05 15:37:39 -08009045CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
9046
ctillercab52e72015-01-06 13:10:23 -08009047CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009048
nnoble69ac39f2014-12-12 15:43:38 -08009049ifeq ($(NO_SECURE),true)
9050
Nicolas Noble047b7272015-01-16 13:55:05 -08009051# You can't build secure targets if you don't have OpenSSL with ALPN.
9052
ctillercab52e72015-01-06 13:10:23 -08009053bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009054
9055else
9056
nnoble5f2ecb32015-01-12 16:40:18 -08009057bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009058 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009059 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009060 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test
nnoble0c475f02014-12-05 15:37:39 -08009061
nnoble69ac39f2014-12-12 15:43:38 -08009062endif
9063
Craig Tillerd4773f52015-01-12 16:38:47 -08009064
Craig Tiller8f126a62015-01-15 08:50:19 -08009065deps_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009066
nnoble69ac39f2014-12-12 15:43:38 -08009067ifneq ($(NO_SECURE),true)
9068ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009069-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009070endif
nnoble69ac39f2014-12-12 15:43:38 -08009071endif
nnoble0c475f02014-12-05 15:37:39 -08009072
nnoble0c475f02014-12-05 15:37:39 -08009073
9074CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
9075
ctillercab52e72015-01-06 13:10:23 -08009076CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009077
nnoble69ac39f2014-12-12 15:43:38 -08009078ifeq ($(NO_SECURE),true)
9079
Nicolas Noble047b7272015-01-16 13:55:05 -08009080# You can't build secure targets if you don't have OpenSSL with ALPN.
9081
ctillercab52e72015-01-06 13:10:23 -08009082bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009083
9084else
9085
nnoble5f2ecb32015-01-12 16:40:18 -08009086bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009087 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009088 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009089 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test
nnoble0c475f02014-12-05 15:37:39 -08009090
nnoble69ac39f2014-12-12 15:43:38 -08009091endif
9092
Craig Tillerd4773f52015-01-12 16:38:47 -08009093
Craig Tiller8f126a62015-01-15 08:50:19 -08009094deps_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009095
nnoble69ac39f2014-12-12 15:43:38 -08009096ifneq ($(NO_SECURE),true)
9097ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009098-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009099endif
nnoble69ac39f2014-12-12 15:43:38 -08009100endif
nnoble0c475f02014-12-05 15:37:39 -08009101
nnoble0c475f02014-12-05 15:37:39 -08009102
Craig Tiller4ffdcd52015-01-16 11:34:55 -08009103CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
9104
9105CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
9106
9107ifeq ($(NO_SECURE),true)
9108
David Klempner7f3ed1e2015-01-16 15:35:56 -08009109# You can't build secure targets if you don't have OpenSSL with ALPN.
9110
Craig Tiller4ffdcd52015-01-16 11:34:55 -08009111bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: openssl_dep_error
9112
9113else
9114
9115bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
9116 $(E) "[LD] Linking $@"
9117 $(Q) mkdir -p `dirname $@`
9118 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test
9119
9120endif
9121
9122
9123deps_chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
9124
9125ifneq ($(NO_SECURE),true)
9126ifneq ($(NO_DEPS),true)
9127-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
9128endif
9129endif
9130
9131
nnoble0c475f02014-12-05 15:37:39 -08009132CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_SRC = \
9133
ctillercab52e72015-01-06 13:10:23 -08009134CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009135
nnoble69ac39f2014-12-12 15:43:38 -08009136ifeq ($(NO_SECURE),true)
9137
Nicolas Noble047b7272015-01-16 13:55:05 -08009138# You can't build secure targets if you don't have OpenSSL with ALPN.
9139
ctillercab52e72015-01-06 13:10:23 -08009140bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009141
9142else
9143
nnoble5f2ecb32015-01-12 16:40:18 -08009144bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009145 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009146 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009147 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test
nnoble0c475f02014-12-05 15:37:39 -08009148
nnoble69ac39f2014-12-12 15:43:38 -08009149endif
9150
Craig Tillerd4773f52015-01-12 16:38:47 -08009151
Craig Tiller8f126a62015-01-15 08:50:19 -08009152deps_chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009153
nnoble69ac39f2014-12-12 15:43:38 -08009154ifneq ($(NO_SECURE),true)
9155ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009156-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009157endif
nnoble69ac39f2014-12-12 15:43:38 -08009158endif
nnoble0c475f02014-12-05 15:37:39 -08009159
nnoble0c475f02014-12-05 15:37:39 -08009160
9161CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_SRC = \
9162
ctillercab52e72015-01-06 13:10:23 -08009163CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009164
nnoble69ac39f2014-12-12 15:43:38 -08009165ifeq ($(NO_SECURE),true)
9166
Nicolas Noble047b7272015-01-16 13:55:05 -08009167# You can't build secure targets if you don't have OpenSSL with ALPN.
9168
ctillercab52e72015-01-06 13:10:23 -08009169bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009170
9171else
9172
nnoble5f2ecb32015-01-12 16:40:18 -08009173bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009174 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009175 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009176 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test
nnoble0c475f02014-12-05 15:37:39 -08009177
nnoble69ac39f2014-12-12 15:43:38 -08009178endif
9179
Craig Tillerd4773f52015-01-12 16:38:47 -08009180
Craig Tiller8f126a62015-01-15 08:50:19 -08009181deps_chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009182
nnoble69ac39f2014-12-12 15:43:38 -08009183ifneq ($(NO_SECURE),true)
9184ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009185-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009186endif
nnoble69ac39f2014-12-12 15:43:38 -08009187endif
nnoble0c475f02014-12-05 15:37:39 -08009188
nnoble0c475f02014-12-05 15:37:39 -08009189
9190CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_SRC = \
9191
ctillercab52e72015-01-06 13:10:23 -08009192CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009193
nnoble69ac39f2014-12-12 15:43:38 -08009194ifeq ($(NO_SECURE),true)
9195
Nicolas Noble047b7272015-01-16 13:55:05 -08009196# You can't build secure targets if you don't have OpenSSL with ALPN.
9197
ctillercab52e72015-01-06 13:10:23 -08009198bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009199
9200else
9201
nnoble5f2ecb32015-01-12 16:40:18 -08009202bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009203 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009204 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009205 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test
nnoble0c475f02014-12-05 15:37:39 -08009206
nnoble69ac39f2014-12-12 15:43:38 -08009207endif
9208
Craig Tillerd4773f52015-01-12 16:38:47 -08009209
Craig Tiller8f126a62015-01-15 08:50:19 -08009210deps_chttp2_socket_pair_one_byte_at_a_time_no_op_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009211
nnoble69ac39f2014-12-12 15:43:38 -08009212ifneq ($(NO_SECURE),true)
9213ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009214-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009215endif
nnoble69ac39f2014-12-12 15:43:38 -08009216endif
nnoble0c475f02014-12-05 15:37:39 -08009217
nnoble0c475f02014-12-05 15:37:39 -08009218
9219CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_SRC = \
9220
ctillercab52e72015-01-06 13:10:23 -08009221CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009222
nnoble69ac39f2014-12-12 15:43:38 -08009223ifeq ($(NO_SECURE),true)
9224
Nicolas Noble047b7272015-01-16 13:55:05 -08009225# You can't build secure targets if you don't have OpenSSL with ALPN.
9226
ctillercab52e72015-01-06 13:10:23 -08009227bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009228
9229else
9230
nnoble5f2ecb32015-01-12 16:40:18 -08009231bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009232 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009233 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009234 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test
nnoble0c475f02014-12-05 15:37:39 -08009235
nnoble69ac39f2014-12-12 15:43:38 -08009236endif
9237
Craig Tillerd4773f52015-01-12 16:38:47 -08009238
Craig Tiller8f126a62015-01-15 08:50:19 -08009239deps_chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009240
nnoble69ac39f2014-12-12 15:43:38 -08009241ifneq ($(NO_SECURE),true)
9242ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009243-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009244endif
nnoble69ac39f2014-12-12 15:43:38 -08009245endif
nnoble0c475f02014-12-05 15:37:39 -08009246
nnoble0c475f02014-12-05 15:37:39 -08009247
ctiller33023c42014-12-12 16:28:33 -08009248CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
9249
ctillercab52e72015-01-06 13:10:23 -08009250CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller33023c42014-12-12 16:28:33 -08009251
9252ifeq ($(NO_SECURE),true)
9253
Nicolas Noble047b7272015-01-16 13:55:05 -08009254# You can't build secure targets if you don't have OpenSSL with ALPN.
9255
ctillercab52e72015-01-06 13:10:23 -08009256bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08009257
9258else
9259
nnoble5f2ecb32015-01-12 16:40:18 -08009260bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller33023c42014-12-12 16:28:33 -08009261 $(E) "[LD] Linking $@"
9262 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009263 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test
ctiller33023c42014-12-12 16:28:33 -08009264
9265endif
9266
Craig Tillerd4773f52015-01-12 16:38:47 -08009267
Craig Tiller8f126a62015-01-15 08:50:19 -08009268deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08009269
9270ifneq ($(NO_SECURE),true)
9271ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009272-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08009273endif
9274endif
9275
ctiller33023c42014-12-12 16:28:33 -08009276
nnoble0c475f02014-12-05 15:37:39 -08009277CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
9278
ctillercab52e72015-01-06 13:10:23 -08009279CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009280
nnoble69ac39f2014-12-12 15:43:38 -08009281ifeq ($(NO_SECURE),true)
9282
Nicolas Noble047b7272015-01-16 13:55:05 -08009283# You can't build secure targets if you don't have OpenSSL with ALPN.
9284
ctillercab52e72015-01-06 13:10:23 -08009285bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009286
9287else
9288
nnoble5f2ecb32015-01-12 16:40:18 -08009289bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009290 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009291 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009292 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test
nnoble0c475f02014-12-05 15:37:39 -08009293
nnoble69ac39f2014-12-12 15:43:38 -08009294endif
9295
Craig Tillerd4773f52015-01-12 16:38:47 -08009296
Craig Tiller8f126a62015-01-15 08:50:19 -08009297deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009298
nnoble69ac39f2014-12-12 15:43:38 -08009299ifneq ($(NO_SECURE),true)
9300ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009301-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009302endif
nnoble69ac39f2014-12-12 15:43:38 -08009303endif
nnoble0c475f02014-12-05 15:37:39 -08009304
nnoble0c475f02014-12-05 15:37:39 -08009305
9306CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
9307
ctillercab52e72015-01-06 13:10:23 -08009308CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009309
nnoble69ac39f2014-12-12 15:43:38 -08009310ifeq ($(NO_SECURE),true)
9311
Nicolas Noble047b7272015-01-16 13:55:05 -08009312# You can't build secure targets if you don't have OpenSSL with ALPN.
9313
ctillercab52e72015-01-06 13:10:23 -08009314bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009315
9316else
9317
nnoble5f2ecb32015-01-12 16:40:18 -08009318bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009319 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009320 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009321 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test
nnoble0c475f02014-12-05 15:37:39 -08009322
nnoble69ac39f2014-12-12 15:43:38 -08009323endif
9324
Craig Tillerd4773f52015-01-12 16:38:47 -08009325
Craig Tiller8f126a62015-01-15 08:50:19 -08009326deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009327
nnoble69ac39f2014-12-12 15:43:38 -08009328ifneq ($(NO_SECURE),true)
9329ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009330-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009331endif
nnoble69ac39f2014-12-12 15:43:38 -08009332endif
nnoble0c475f02014-12-05 15:37:39 -08009333
nnoble0c475f02014-12-05 15:37:39 -08009334
ctiller2845cad2014-12-15 15:14:12 -08009335CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
9336
ctillercab52e72015-01-06 13:10:23 -08009337CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC))))
ctiller2845cad2014-12-15 15:14:12 -08009338
9339ifeq ($(NO_SECURE),true)
9340
Nicolas Noble047b7272015-01-16 13:55:05 -08009341# You can't build secure targets if you don't have OpenSSL with ALPN.
9342
ctillercab52e72015-01-06 13:10:23 -08009343bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08009344
9345else
9346
nnoble5f2ecb32015-01-12 16:40:18 -08009347bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller2845cad2014-12-15 15:14:12 -08009348 $(E) "[LD] Linking $@"
9349 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009350 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test
ctiller2845cad2014-12-15 15:14:12 -08009351
9352endif
9353
Craig Tillerd4773f52015-01-12 16:38:47 -08009354
Craig Tiller8f126a62015-01-15 08:50:19 -08009355deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08009356
9357ifneq ($(NO_SECURE),true)
9358ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009359-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08009360endif
9361endif
9362
ctiller2845cad2014-12-15 15:14:12 -08009363
nnoble0c475f02014-12-05 15:37:39 -08009364CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
9365
ctillercab52e72015-01-06 13:10:23 -08009366CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009367
nnoble69ac39f2014-12-12 15:43:38 -08009368ifeq ($(NO_SECURE),true)
9369
Nicolas Noble047b7272015-01-16 13:55:05 -08009370# You can't build secure targets if you don't have OpenSSL with ALPN.
9371
ctillercab52e72015-01-06 13:10:23 -08009372bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009373
9374else
9375
nnoble5f2ecb32015-01-12 16:40:18 -08009376bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009377 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009378 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009379 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test
nnoble0c475f02014-12-05 15:37:39 -08009380
nnoble69ac39f2014-12-12 15:43:38 -08009381endif
9382
Craig Tillerd4773f52015-01-12 16:38:47 -08009383
Craig Tiller8f126a62015-01-15 08:50:19 -08009384deps_chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009385
nnoble69ac39f2014-12-12 15:43:38 -08009386ifneq ($(NO_SECURE),true)
9387ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009388-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009389endif
nnoble69ac39f2014-12-12 15:43:38 -08009390endif
nnoble0c475f02014-12-05 15:37:39 -08009391
nnoble0c475f02014-12-05 15:37:39 -08009392
9393CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_SRC = \
9394
ctillercab52e72015-01-06 13:10:23 -08009395CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009396
nnoble69ac39f2014-12-12 15:43:38 -08009397ifeq ($(NO_SECURE),true)
9398
Nicolas Noble047b7272015-01-16 13:55:05 -08009399# You can't build secure targets if you don't have OpenSSL with ALPN.
9400
ctillercab52e72015-01-06 13:10:23 -08009401bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009402
9403else
9404
nnoble5f2ecb32015-01-12 16:40:18 -08009405bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009406 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009407 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009408 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test
nnoble0c475f02014-12-05 15:37:39 -08009409
nnoble69ac39f2014-12-12 15:43:38 -08009410endif
9411
Craig Tillerd4773f52015-01-12 16:38:47 -08009412
Craig Tiller8f126a62015-01-15 08:50:19 -08009413deps_chttp2_socket_pair_one_byte_at_a_time_simple_request_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009414
nnoble69ac39f2014-12-12 15:43:38 -08009415ifneq ($(NO_SECURE),true)
9416ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009417-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009418endif
nnoble69ac39f2014-12-12 15:43:38 -08009419endif
nnoble0c475f02014-12-05 15:37:39 -08009420
nnoble0c475f02014-12-05 15:37:39 -08009421
nathaniel52878172014-12-09 10:17:19 -08009422CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_SRC = \
nnoble0c475f02014-12-05 15:37:39 -08009423
ctillercab52e72015-01-06 13:10:23 -08009424CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009425
nnoble69ac39f2014-12-12 15:43:38 -08009426ifeq ($(NO_SECURE),true)
9427
Nicolas Noble047b7272015-01-16 13:55:05 -08009428# You can't build secure targets if you don't have OpenSSL with ALPN.
9429
ctillercab52e72015-01-06 13:10:23 -08009430bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009431
9432else
9433
nnoble5f2ecb32015-01-12 16:40:18 -08009434bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009435 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009436 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009437 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test
nnoble0c475f02014-12-05 15:37:39 -08009438
nnoble69ac39f2014-12-12 15:43:38 -08009439endif
9440
Craig Tillerd4773f52015-01-12 16:38:47 -08009441
Craig Tiller8f126a62015-01-15 08:50:19 -08009442deps_chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009443
nnoble69ac39f2014-12-12 15:43:38 -08009444ifneq ($(NO_SECURE),true)
9445ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009446-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009447endif
nnoble69ac39f2014-12-12 15:43:38 -08009448endif
nnoble0c475f02014-12-05 15:37:39 -08009449
nnoble0c475f02014-12-05 15:37:39 -08009450
9451CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
9452
ctillercab52e72015-01-06 13:10:23 -08009453CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08009454
nnoble69ac39f2014-12-12 15:43:38 -08009455ifeq ($(NO_SECURE),true)
9456
Nicolas Noble047b7272015-01-16 13:55:05 -08009457# You can't build secure targets if you don't have OpenSSL with ALPN.
9458
ctillercab52e72015-01-06 13:10:23 -08009459bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009460
9461else
9462
nnoble5f2ecb32015-01-12 16:40:18 -08009463bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08009464 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009465 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009466 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test
nnoble0c475f02014-12-05 15:37:39 -08009467
nnoble69ac39f2014-12-12 15:43:38 -08009468endif
9469
Craig Tillerd4773f52015-01-12 16:38:47 -08009470
Craig Tiller8f126a62015-01-15 08:50:19 -08009471deps_chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009472
nnoble69ac39f2014-12-12 15:43:38 -08009473ifneq ($(NO_SECURE),true)
9474ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009475-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009476endif
nnoble69ac39f2014-12-12 15:43:38 -08009477endif
nnoble0c475f02014-12-05 15:37:39 -08009478
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08009479
9480
9481
9482
nnoble0c475f02014-12-05 15:37:39 -08009483
Craig Tillerf0afe502015-01-15 09:04:49 -08009484.PHONY: all strip tools dep_error openssl_dep_error openssl_dep_message git_update stop buildtests buildtests_c buildtests_cxx test test_c test_cxx install install_c install_cxx install-headers install-headers_c install-headers_cxx install-shared install-shared_c install-shared_cxx install-static install-static_c install-static_cxx strip strip-shared strip-static strip_c strip-shared_c strip-static_c strip_cxx strip-shared_cxx strip-static_cxx dep_c dep_cxx bins_dep_c bins_dep_cxx clean
nnoble0c475f02014-12-05 15:37:39 -08009485