blob: 5af4f354279ce18637df3ea13abb3138d404e1f4 [file] [log] [blame]
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001# GRPC global makefile
2# This currently builds C and C++ code.
3
4
ctiller8cfebb92015-01-06 15:02:12 -08005# Configurations
6
7VALID_CONFIG_opt = 1
8CC_opt = gcc
9CXX_opt = g++
10LD_opt = gcc
11LDXX_opt = g++
12CPPFLAGS_opt = -O2
13LDFLAGS_opt =
14DEFINES_opt = NDEBUG
15
16VALID_CONFIG_dbg = 1
17CC_dbg = gcc
18CXX_dbg = g++
19LD_dbg = gcc
20LDXX_dbg = g++
21CPPFLAGS_dbg = -O0
22LDFLAGS_dbg =
23DEFINES_dbg = _DEBUG DEBUG
24
Craig Tillerec0b8f32015-01-15 07:30:00 -080025VALID_CONFIG_valgrind = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080026REQUIRE_CUSTOM_LIBRARIES_valgrind = 1
Craig Tillerec0b8f32015-01-15 07:30:00 -080027CC_valgrind = gcc
28CXX_valgrind = g++
29LD_valgrind = gcc
30LDXX_valgrind = g++
31CPPFLAGS_valgrind = -O0
32OPENSSL_CFLAGS_valgrind = -DPURIFY
33LDFLAGS_valgrind =
34DEFINES_valgrind = _DEBUG DEBUG
35
ctiller8cfebb92015-01-06 15:02:12 -080036VALID_CONFIG_tsan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080037REQUIRE_CUSTOM_LIBRARIES_tsan = 1
ctiller8cfebb92015-01-06 15:02:12 -080038CC_tsan = clang
39CXX_tsan = clang++
40LD_tsan = clang
41LDXX_tsan = clang++
42CPPFLAGS_tsan = -O1 -fsanitize=thread -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080043OPENSSL_CONFIG_tsan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080044LDFLAGS_tsan = -fsanitize=thread
45DEFINES_tsan = NDEBUG
46
47VALID_CONFIG_asan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080048REQUIRE_CUSTOM_LIBRARIES_asan = 1
ctiller8cfebb92015-01-06 15:02:12 -080049CC_asan = clang
50CXX_asan = clang++
51LD_asan = clang
52LDXX_asan = clang++
53CPPFLAGS_asan = -O1 -fsanitize=address -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080054OPENSSL_CONFIG_asan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080055LDFLAGS_asan = -fsanitize=address
56DEFINES_asan = NDEBUG
57
58VALID_CONFIG_msan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080059REQUIRE_CUSTOM_LIBRARIES_msan = 1
ctiller8cfebb92015-01-06 15:02:12 -080060CC_msan = clang
61CXX_msan = clang++
62LD_msan = clang
63LDXX_msan = clang++
64CPPFLAGS_msan = -O1 -fsanitize=memory -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080065OPENSSL_CFLAGS_msan = -DPURIFY
66OPENSSL_CONFIG_msan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080067LDFLAGS_msan = -fsanitize=memory
68DEFINES_msan = NDEBUG
69
Craig Tiller934baa32015-01-12 18:19:45 -080070VALID_CONFIG_gcov = 1
71CC_gcov = gcc
72CXX_gcov = g++
73LD_gcov = gcc
74LDXX_gcov = g++
75CPPFLAGS_gcov = -O0 -fprofile-arcs -ftest-coverage
76LDFLAGS_gcov = -fprofile-arcs -ftest-coverage
77DEFINES_gcov = NDEBUG
78
Nicolas Noble047b7272015-01-16 13:55:05 -080079
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080080# General settings.
81# You may want to change these depending on your system.
82
83prefix ?= /usr/local
84
85PROTOC = protoc
yangg102e4fe2015-01-06 16:02:50 -080086CONFIG ?= opt
ctiller8cfebb92015-01-06 15:02:12 -080087CC = $(CC_$(CONFIG))
88CXX = $(CXX_$(CONFIG))
89LD = $(LD_$(CONFIG))
90LDXX = $(LDXX_$(CONFIG))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080091AR = ar
92STRIP = strip --strip-unneeded
93INSTALL = install -D
94RM = rm -f
95
yangg102e4fe2015-01-06 16:02:50 -080096ifndef VALID_CONFIG_$(CONFIG)
97$(error Invalid CONFIG value '$(CONFIG)')
98endif
99
Nicolas Noble047b7272015-01-16 13:55:05 -0800100
101# The HOST compiler settings are used to compile the protoc plugins.
102# In most cases, you won't have to change anything, but if you are
103# cross-compiling, you can override these variables from GNU make's
104# command line: make CC=cross-gcc HOST_CC=gcc
105
nnoble72309c62014-12-12 11:42:26 -0800106HOST_CC = $(CC)
107HOST_CXX = $(CXX)
108HOST_LD = $(LD)
109HOST_LDXX = $(LDXX)
110
ctillercab52e72015-01-06 13:10:23 -0800111CPPFLAGS += $(CPPFLAGS_$(CONFIG))
112DEFINES += $(DEFINES_$(CONFIG))
ctiller8cfebb92015-01-06 15:02:12 -0800113LDFLAGS += $(LDFLAGS_$(CONFIG))
ctillercab52e72015-01-06 13:10:23 -0800114
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800115CFLAGS += -std=c89 -pedantic
116CXXFLAGS += -std=c++11
117CPPFLAGS += -g -fPIC -Wall -Werror -Wno-long-long
118LDFLAGS += -g -pthread -fPIC
119
120INCLUDES = . include gens
ctillerc008ae52015-01-07 15:33:00 -0800121LIBS = rt m z pthread
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800122LIBSXX = protobuf
nnoblec78b3402014-12-11 16:06:57 -0800123LIBS_PROTOC = protoc protobuf
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800124
125ifneq ($(wildcard /usr/src/gtest/src/gtest-all.cc),)
126GTEST_LIB = /usr/src/gtest/src/gtest-all.cc -I/usr/src/gtest
127else
128GTEST_LIB = -lgtest
129endif
chenwa8fd44a2014-12-10 15:13:55 -0800130GTEST_LIB += -lgflags
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800131ifeq ($(V),1)
132E = @:
133Q =
134else
135E = @echo
136Q = @
137endif
138
139VERSION = 0.8.0.0
140
141CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
142CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
143
144LDFLAGS += $(ARCH_FLAGS)
145LDLIBS += $(addprefix -l, $(LIBS))
146LDLIBSXX += $(addprefix -l, $(LIBSXX))
nnoble72309c62014-12-12 11:42:26 -0800147HOST_LDLIBS_PROTOC += $(addprefix -l, $(LIBS_PROTOC))
148
149HOST_CPPFLAGS = $(CPPFLAGS)
150HOST_CFLAGS = $(CFLAGS)
151HOST_CXXFLAGS = $(CXXFLAGS)
152HOST_LDFLAGS = $(LDFLAGS)
153HOST_LDLIBS = $(LDLIBS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800154
nnoble69ac39f2014-12-12 15:43:38 -0800155
156# These are automatically computed variables.
157# There shouldn't be any need to change anything from now on.
158
159HOST_SYSTEM = $(shell uname | cut -f 1 -d_)
160ifeq ($(SYSTEM),)
161SYSTEM = $(HOST_SYSTEM)
162endif
163
nnoble5b7f32a2014-12-22 08:12:44 -0800164ifeq ($(SYSTEM),MINGW32)
165SHARED_EXT = dll
166endif
167ifeq ($(SYSTEM),Darwin)
168SHARED_EXT = dylib
169endif
170ifeq ($(SHARED_EXT),)
171SHARED_EXT = so.$(VERSION)
172endif
173
nnoble69ac39f2014-12-12 15:43:38 -0800174ifeq ($(wildcard .git),)
175IS_GIT_FOLDER = false
176else
177IS_GIT_FOLDER = true
178endif
179
nnoble7e012cf2014-12-22 17:53:44 -0800180OPENSSL_ALPN_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/openssl-alpn.c -lssl -lcrypto -ldl $(LDFLAGS)
181ZLIB_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/zlib.c -lz $(LDFLAGS)
Craig Tiller297fafa2015-01-15 15:46:39 -0800182PERFTOOLS_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/perftools.c -lprofiler $(LDFLAGS)
183
184HAS_SYSTEM_PERFTOOLS = $(shell $(PERFTOOLS_CHECK_CMD) 2> /dev/null && echo true || echo false)
185ifeq ($(HAS_SYSTEM_PERFTOOLS),true)
186DEFINES += GRPC_HAVE_PERFTOOLS
187LIBS += profiler
188endif
nnoble69ac39f2014-12-12 15:43:38 -0800189
Craig Tillerc4da6b72015-01-15 08:01:14 -0800190ifndef REQUIRE_CUSTOM_LIBRARIES_$(CONFIG)
nnoble60825402014-12-15 14:43:51 -0800191HAS_SYSTEM_OPENSSL_ALPN = $(shell $(OPENSSL_ALPN_CHECK_CMD) 2> /dev/null && echo true || echo false)
192HAS_SYSTEM_ZLIB = $(shell $(ZLIB_CHECK_CMD) 2> /dev/null && echo true || echo false)
Craig Tillerc4da6b72015-01-15 08:01:14 -0800193else
194# override system libraries if the config requires a custom compiled library
195HAS_SYSTEM_OPENSSL_ALPN = false
196HAS_SYSTEM_ZLIB = false
197endif
nnoble69ac39f2014-12-12 15:43:38 -0800198
nnoble69ac39f2014-12-12 15:43:38 -0800199ifeq ($(wildcard third_party/openssl/ssl/ssl.h),)
200HAS_EMBEDDED_OPENSSL_ALPN = false
201else
202HAS_EMBEDDED_OPENSSL_ALPN = true
203endif
204
205ifeq ($(wildcard third_party/zlib/zlib.h),)
206HAS_EMBEDDED_ZLIB = false
207else
208HAS_EMBEDDED_ZLIB = true
209endif
210
nnoble69ac39f2014-12-12 15:43:38 -0800211ifeq ($(HAS_SYSTEM_ZLIB),false)
212ifeq ($(HAS_EMBEDDED_ZLIB),true)
Craig Tiller3ccae022015-01-15 07:47:29 -0800213ZLIB_DEP = libs/$(CONFIG)/zlib/libz.a
nnoble69ac39f2014-12-12 15:43:38 -0800214CPPFLAGS += -Ithird_party/zlib
215LDFLAGS += -Lthird_party/zlib
216else
217DEP_MISSING += zlib
218endif
219endif
220
221ifeq ($(HAS_SYSTEM_OPENSSL_ALPN),false)
222ifeq ($(HAS_EMBEDDED_OPENSSL_ALPN),true)
Craig Tillerec0b8f32015-01-15 07:30:00 -0800223OPENSSL_DEP = libs/$(CONFIG)/openssl/libssl.a
224OPENSSL_MERGE_LIBS += libs/$(CONFIG)/openssl/libssl.a libs/$(CONFIG)/openssl/libcrypto.a
nnoble69ac39f2014-12-12 15:43:38 -0800225CPPFLAGS += -Ithird_party/openssl/include
Craig Tillerec0b8f32015-01-15 07:30:00 -0800226LDFLAGS += -Llibs/$(CONFIG)/openssl
nnoble5b7f32a2014-12-22 08:12:44 -0800227LIBS_SECURE = dl
nnoble69ac39f2014-12-12 15:43:38 -0800228else
229NO_SECURE = true
230endif
nnoble5b7f32a2014-12-22 08:12:44 -0800231else
232LIBS_SECURE = ssl crypto dl
nnoble69ac39f2014-12-12 15:43:38 -0800233endif
234
nnoble5b7f32a2014-12-22 08:12:44 -0800235LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE))
236
Craig Tiller12c82092015-01-15 08:45:56 -0800237ifeq ($(MAKECMDGOALS),clean)
nnoble69ac39f2014-12-12 15:43:38 -0800238NO_DEPS = true
239endif
240
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800241.SECONDARY = %.pb.h %.pb.cc
242
Craig Tillerf58b9ef2015-01-15 09:09:12 -0800243PROTOC_PLUGINS= bins/$(CONFIG)/cpp_plugin bins/$(CONFIG)/ruby_plugin
nnoble69ac39f2014-12-12 15:43:38 -0800244ifeq ($(DEP_MISSING),)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800245all: static shared
nnoble69ac39f2014-12-12 15:43:38 -0800246dep_error:
247 @echo "You shouldn't see this message - all of your dependencies are correct."
248else
249all: dep_error git_update stop
250
251dep_error:
252 @echo
253 @echo "DEPENDENCY ERROR"
254 @echo
255 @echo "You are missing system dependencies that are essential to build grpc,"
256 @echo "and the third_party directory doesn't have them:"
257 @echo
258 @echo " $(DEP_MISSING)"
259 @echo
260 @echo "Installing the development packages for your system will solve"
261 @echo "this issue. Please consult INSTALL to get more information."
262 @echo
263 @echo "If you need information about why these tests failed, run:"
264 @echo
265 @echo " make run_dep_checks"
266 @echo
267endif
268
269git_update:
270ifeq ($(IS_GIT_FOLDER),true)
271 @echo "Additionally, since you are in a git clone, you can download the"
272 @echo "missing dependencies in third_party by running the following command:"
273 @echo
ctiller64f29102014-12-15 10:40:59 -0800274 @echo " git submodule update --init"
nnoble69ac39f2014-12-12 15:43:38 -0800275 @echo
276endif
277
278openssl_dep_error: openssl_dep_message git_update stop
279
280openssl_dep_message:
281 @echo
282 @echo "DEPENDENCY ERROR"
283 @echo
284 @echo "The target you are trying to run requires OpenSSL with ALPN support."
285 @echo "Your system doesn't have it, and neither does the third_party directory."
286 @echo
287 @echo "Please consult INSTALL to get more information."
288 @echo
289 @echo "If you need information about why these tests failed, run:"
290 @echo
291 @echo " make run_dep_checks"
292 @echo
293
294stop:
295 @false
296
ctillercab52e72015-01-06 13:10:23 -0800297gen_hpack_tables: bins/$(CONFIG)/gen_hpack_tables
298cpp_plugin: bins/$(CONFIG)/cpp_plugin
299ruby_plugin: bins/$(CONFIG)/ruby_plugin
300grpc_byte_buffer_reader_test: bins/$(CONFIG)/grpc_byte_buffer_reader_test
301gpr_cancellable_test: bins/$(CONFIG)/gpr_cancellable_test
302gpr_log_test: bins/$(CONFIG)/gpr_log_test
303gpr_useful_test: bins/$(CONFIG)/gpr_useful_test
304gpr_cmdline_test: bins/$(CONFIG)/gpr_cmdline_test
305gpr_histogram_test: bins/$(CONFIG)/gpr_histogram_test
306gpr_host_port_test: bins/$(CONFIG)/gpr_host_port_test
307gpr_slice_buffer_test: bins/$(CONFIG)/gpr_slice_buffer_test
308gpr_slice_test: bins/$(CONFIG)/gpr_slice_test
309gpr_string_test: bins/$(CONFIG)/gpr_string_test
310gpr_sync_test: bins/$(CONFIG)/gpr_sync_test
311gpr_thd_test: bins/$(CONFIG)/gpr_thd_test
312gpr_time_test: bins/$(CONFIG)/gpr_time_test
313murmur_hash_test: bins/$(CONFIG)/murmur_hash_test
314grpc_stream_op_test: bins/$(CONFIG)/grpc_stream_op_test
315alpn_test: bins/$(CONFIG)/alpn_test
316time_averaged_stats_test: bins/$(CONFIG)/time_averaged_stats_test
317chttp2_stream_encoder_test: bins/$(CONFIG)/chttp2_stream_encoder_test
318hpack_table_test: bins/$(CONFIG)/hpack_table_test
319chttp2_stream_map_test: bins/$(CONFIG)/chttp2_stream_map_test
320hpack_parser_test: bins/$(CONFIG)/hpack_parser_test
321transport_metadata_test: bins/$(CONFIG)/transport_metadata_test
322chttp2_status_conversion_test: bins/$(CONFIG)/chttp2_status_conversion_test
323chttp2_transport_end2end_test: bins/$(CONFIG)/chttp2_transport_end2end_test
324tcp_posix_test: bins/$(CONFIG)/tcp_posix_test
325dualstack_socket_test: bins/$(CONFIG)/dualstack_socket_test
326no_server_test: bins/$(CONFIG)/no_server_test
327resolve_address_test: bins/$(CONFIG)/resolve_address_test
328sockaddr_utils_test: bins/$(CONFIG)/sockaddr_utils_test
329tcp_server_posix_test: bins/$(CONFIG)/tcp_server_posix_test
330tcp_client_posix_test: bins/$(CONFIG)/tcp_client_posix_test
331grpc_channel_stack_test: bins/$(CONFIG)/grpc_channel_stack_test
332metadata_buffer_test: bins/$(CONFIG)/metadata_buffer_test
333grpc_completion_queue_test: bins/$(CONFIG)/grpc_completion_queue_test
334grpc_completion_queue_benchmark: bins/$(CONFIG)/grpc_completion_queue_benchmark
hongyu24200d32015-01-08 15:13:49 -0800335census_trace_store_test: bins/$(CONFIG)/census_trace_store_test
336census_stats_store_test: bins/$(CONFIG)/census_stats_store_test
ctillercab52e72015-01-06 13:10:23 -0800337census_window_stats_test: bins/$(CONFIG)/census_window_stats_test
338census_statistics_quick_test: bins/$(CONFIG)/census_statistics_quick_test
339census_statistics_small_log_test: bins/$(CONFIG)/census_statistics_small_log_test
340census_statistics_performance_test: bins/$(CONFIG)/census_statistics_performance_test
341census_statistics_multiple_writers_test: bins/$(CONFIG)/census_statistics_multiple_writers_test
342census_statistics_multiple_writers_circular_buffer_test: bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test
343census_stub_test: bins/$(CONFIG)/census_stub_test
344census_hash_table_test: bins/$(CONFIG)/census_hash_table_test
345fling_server: bins/$(CONFIG)/fling_server
346fling_client: bins/$(CONFIG)/fling_client
347fling_test: bins/$(CONFIG)/fling_test
348echo_server: bins/$(CONFIG)/echo_server
349echo_client: bins/$(CONFIG)/echo_client
350echo_test: bins/$(CONFIG)/echo_test
351low_level_ping_pong_benchmark: bins/$(CONFIG)/low_level_ping_pong_benchmark
352message_compress_test: bins/$(CONFIG)/message_compress_test
353bin_encoder_test: bins/$(CONFIG)/bin_encoder_test
354secure_endpoint_test: bins/$(CONFIG)/secure_endpoint_test
355httpcli_format_request_test: bins/$(CONFIG)/httpcli_format_request_test
356httpcli_parser_test: bins/$(CONFIG)/httpcli_parser_test
357httpcli_test: bins/$(CONFIG)/httpcli_test
358grpc_credentials_test: bins/$(CONFIG)/grpc_credentials_test
359grpc_fetch_oauth2: bins/$(CONFIG)/grpc_fetch_oauth2
360grpc_base64_test: bins/$(CONFIG)/grpc_base64_test
361grpc_json_token_test: bins/$(CONFIG)/grpc_json_token_test
362timeout_encoding_test: bins/$(CONFIG)/timeout_encoding_test
363fd_posix_test: bins/$(CONFIG)/fd_posix_test
364fling_stream_test: bins/$(CONFIG)/fling_stream_test
365lame_client_test: bins/$(CONFIG)/lame_client_test
366thread_pool_test: bins/$(CONFIG)/thread_pool_test
367status_test: bins/$(CONFIG)/status_test
368sync_client_async_server_test: bins/$(CONFIG)/sync_client_async_server_test
369qps_client: bins/$(CONFIG)/qps_client
370qps_server: bins/$(CONFIG)/qps_server
371interop_server: bins/$(CONFIG)/interop_server
372interop_client: bins/$(CONFIG)/interop_client
373end2end_test: bins/$(CONFIG)/end2end_test
374channel_arguments_test: bins/$(CONFIG)/channel_arguments_test
yangg4105e2b2015-01-09 14:19:44 -0800375credentials_test: bins/$(CONFIG)/credentials_test
ctillercab52e72015-01-06 13:10:23 -0800376alarm_test: bins/$(CONFIG)/alarm_test
377alarm_list_test: bins/$(CONFIG)/alarm_list_test
378alarm_heap_test: bins/$(CONFIG)/alarm_heap_test
379time_test: bins/$(CONFIG)/time_test
David Klempner7f3ed1e2015-01-16 15:35:56 -0800380poll_kick_test: bins/$(CONFIG)/poll_kick_test
ctillercab52e72015-01-06 13:10:23 -0800381chttp2_fake_security_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test
382chttp2_fake_security_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test
383chttp2_fake_security_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test
384chttp2_fake_security_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test
385chttp2_fake_security_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800386chttp2_fake_security_census_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800387chttp2_fake_security_disappearing_server_test: bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test
388chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test
389chttp2_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 -0800390chttp2_fake_security_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800391chttp2_fake_security_invoke_large_request_test: bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test
392chttp2_fake_security_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test
393chttp2_fake_security_no_op_test: bins/$(CONFIG)/chttp2_fake_security_no_op_test
394chttp2_fake_security_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test
395chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test
396chttp2_fake_security_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test
397chttp2_fake_security_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test
398chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test
399chttp2_fake_security_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test
400chttp2_fake_security_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_request_test
401chttp2_fake_security_thread_stress_test: bins/$(CONFIG)/chttp2_fake_security_thread_stress_test
402chttp2_fake_security_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test
403chttp2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test
404chttp2_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test
405chttp2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test
406chttp2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test
407chttp2_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800408chttp2_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800409chttp2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test
410chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test
411chttp2_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800412chttp2_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800413chttp2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test
414chttp2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test
415chttp2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_fullstack_no_op_test
416chttp2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test
417chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test
418chttp2_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test
419chttp2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test
420chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test
421chttp2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test
422chttp2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_request_test
423chttp2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_fullstack_thread_stress_test
424chttp2_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test
425chttp2_simple_ssl_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test
426chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test
427chttp2_simple_ssl_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test
428chttp2_simple_ssl_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test
429chttp2_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 -0800430chttp2_simple_ssl_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800431chttp2_simple_ssl_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test
432chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test
433chttp2_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 -0800434chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800435chttp2_simple_ssl_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test
436chttp2_simple_ssl_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test
437chttp2_simple_ssl_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test
438chttp2_simple_ssl_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test
439chttp2_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
440chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test
441chttp2_simple_ssl_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test
442chttp2_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
443chttp2_simple_ssl_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test
444chttp2_simple_ssl_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test
445chttp2_simple_ssl_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test
446chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test
447chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test
448chttp2_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
449chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test
450chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test
451chttp2_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 -0800452chttp2_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 -0800453chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test
454chttp2_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
455chttp2_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 -0800456chttp2_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 -0800457chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test
458chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test
459chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test
460chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test
461chttp2_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
462chttp2_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
463chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test
464chttp2_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
465chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test
466chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test
467chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test
468chttp2_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
469chttp2_socket_pair_cancel_after_accept_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test
470chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test
471chttp2_socket_pair_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test
472chttp2_socket_pair_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test
473chttp2_socket_pair_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800474chttp2_socket_pair_census_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800475chttp2_socket_pair_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test
476chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test
477chttp2_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 -0800478chttp2_socket_pair_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800479chttp2_socket_pair_invoke_large_request_test: bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test
480chttp2_socket_pair_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test
481chttp2_socket_pair_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_no_op_test
482chttp2_socket_pair_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test
483chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test
484chttp2_socket_pair_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test
485chttp2_socket_pair_request_response_with_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test
486chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test
487chttp2_socket_pair_simple_delayed_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test
488chttp2_socket_pair_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_request_test
489chttp2_socket_pair_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test
490chttp2_socket_pair_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test
491chttp2_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
492chttp2_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
493chttp2_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
494chttp2_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
495chttp2_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 -0800496chttp2_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 -0800497chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test
498chttp2_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
499chttp2_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 -0800500chttp2_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 -0800501chttp2_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
502chttp2_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
503chttp2_socket_pair_one_byte_at_a_time_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test
504chttp2_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
505chttp2_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
506chttp2_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
507chttp2_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
508chttp2_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
509chttp2_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
510chttp2_socket_pair_one_byte_at_a_time_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test
511chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test
512chttp2_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 -0800513
nnoble69ac39f2014-12-12 15:43:38 -0800514run_dep_checks:
nnoble69ac39f2014-12-12 15:43:38 -0800515 $(OPENSSL_ALPN_CHECK_CMD) || true
516 $(ZLIB_CHECK_CMD) || true
517
Craig Tiller3ccae022015-01-15 07:47:29 -0800518libs/$(CONFIG)/zlib/libz.a:
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100519 $(E) "[MAKE] Building zlib"
520 $(Q)(cd third_party/zlib ; CC="$(CC)" CFLAGS="-fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG))" ./configure --static)
521 $(Q)$(MAKE) -C third_party/zlib clean
522 $(Q)$(MAKE) -C third_party/zlib
523 $(Q)mkdir -p libs/$(CONFIG)/zlib
524 $(Q)cp third_party/zlib/libz.a libs/$(CONFIG)/zlib
nnoble69ac39f2014-12-12 15:43:38 -0800525
Craig Tillerec0b8f32015-01-15 07:30:00 -0800526libs/$(CONFIG)/openssl/libssl.a:
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100527 $(E) "[MAKE] Building openssl"
528 $(Q)(cd third_party/openssl ; CC="$(CC) -fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG)) $(OPENSSL_CFLAGS_$(CONFIG))" ./config $(OPENSSL_CONFIG_$(CONFIG)))
529 $(Q)$(MAKE) -C third_party/openssl clean
530 $(Q)$(MAKE) -C third_party/openssl build_crypto build_ssl
531 $(Q)mkdir -p libs/$(CONFIG)/openssl
532 $(Q)cp third_party/openssl/libssl.a third_party/openssl/libcrypto.a libs/$(CONFIG)/openssl
nnoble69ac39f2014-12-12 15:43:38 -0800533
nnoble29e1d292014-12-01 10:27:40 -0800534static: static_c static_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800535
Craig Tiller12c82092015-01-15 08:45:56 -0800536static_c: libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800537
Craig Tiller12c82092015-01-15 08:45:56 -0800538static_cxx: libs/$(CONFIG)/libgrpc++.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800539
nnoble29e1d292014-12-01 10:27:40 -0800540shared: shared_c shared_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800541
Craig Tiller12c82092015-01-15 08:45:56 -0800542shared_c: libs/$(CONFIG)/libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800543
Craig Tiller12c82092015-01-15 08:45:56 -0800544shared_cxx: libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800545
nnoble29e1d292014-12-01 10:27:40 -0800546privatelibs: privatelibs_c privatelibs_cxx
547
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800548privatelibs_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 -0800549
Craig Tiller12c82092015-01-15 08:45:56 -0800550privatelibs_cxx: libs/$(CONFIG)/libgrpc++_test_util.a
nnoble29e1d292014-12-01 10:27:40 -0800551
552buildtests: buildtests_c buildtests_cxx
553
David Klempner7f3ed1e2015-01-16 15:35:56 -0800554buildtests_c: privatelibs_c bins/$(CONFIG)/grpc_byte_buffer_reader_test bins/$(CONFIG)/gpr_cancellable_test bins/$(CONFIG)/gpr_log_test bins/$(CONFIG)/gpr_useful_test bins/$(CONFIG)/gpr_cmdline_test bins/$(CONFIG)/gpr_histogram_test bins/$(CONFIG)/gpr_host_port_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)/murmur_hash_test bins/$(CONFIG)/grpc_stream_op_test bins/$(CONFIG)/alpn_test bins/$(CONFIG)/time_averaged_stats_test bins/$(CONFIG)/chttp2_stream_encoder_test bins/$(CONFIG)/hpack_table_test bins/$(CONFIG)/chttp2_stream_map_test bins/$(CONFIG)/hpack_parser_test bins/$(CONFIG)/transport_metadata_test bins/$(CONFIG)/chttp2_status_conversion_test bins/$(CONFIG)/chttp2_transport_end2end_test bins/$(CONFIG)/tcp_posix_test bins/$(CONFIG)/dualstack_socket_test bins/$(CONFIG)/no_server_test bins/$(CONFIG)/resolve_address_test bins/$(CONFIG)/sockaddr_utils_test bins/$(CONFIG)/tcp_server_posix_test bins/$(CONFIG)/tcp_client_posix_test bins/$(CONFIG)/grpc_channel_stack_test bins/$(CONFIG)/metadata_buffer_test bins/$(CONFIG)/grpc_completion_queue_test bins/$(CONFIG)/census_window_stats_test bins/$(CONFIG)/census_statistics_quick_test bins/$(CONFIG)/census_statistics_small_log_test bins/$(CONFIG)/census_statistics_performance_test bins/$(CONFIG)/census_statistics_multiple_writers_test bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test bins/$(CONFIG)/census_stub_test bins/$(CONFIG)/census_hash_table_test bins/$(CONFIG)/fling_server bins/$(CONFIG)/fling_client bins/$(CONFIG)/fling_test bins/$(CONFIG)/echo_server bins/$(CONFIG)/echo_client bins/$(CONFIG)/echo_test bins/$(CONFIG)/message_compress_test bins/$(CONFIG)/bin_encoder_test bins/$(CONFIG)/secure_endpoint_test bins/$(CONFIG)/httpcli_format_request_test bins/$(CONFIG)/httpcli_parser_test bins/$(CONFIG)/httpcli_test bins/$(CONFIG)/grpc_credentials_test bins/$(CONFIG)/grpc_base64_test bins/$(CONFIG)/grpc_json_token_test bins/$(CONFIG)/timeout_encoding_test bins/$(CONFIG)/fd_posix_test bins/$(CONFIG)/fling_stream_test bins/$(CONFIG)/lame_client_test bins/$(CONFIG)/alarm_test bins/$(CONFIG)/alarm_list_test bins/$(CONFIG)/alarm_heap_test bins/$(CONFIG)/time_test bins/$(CONFIG)/poll_kick_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 -0800555
Craig Tiller12c82092015-01-15 08:45:56 -0800556buildtests_cxx: privatelibs_cxx bins/$(CONFIG)/thread_pool_test bins/$(CONFIG)/status_test bins/$(CONFIG)/sync_client_async_server_test bins/$(CONFIG)/qps_client bins/$(CONFIG)/qps_server bins/$(CONFIG)/interop_server bins/$(CONFIG)/interop_client bins/$(CONFIG)/end2end_test bins/$(CONFIG)/channel_arguments_test bins/$(CONFIG)/credentials_test
nnoble29e1d292014-12-01 10:27:40 -0800557
nnoble85a49262014-12-08 18:14:03 -0800558test: test_c test_cxx
nnoble29e1d292014-12-01 10:27:40 -0800559
nnoble85a49262014-12-08 18:14:03 -0800560test_c: buildtests_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800561 $(E) "[RUN] Testing grpc_byte_buffer_reader_test"
ctillercab52e72015-01-06 13:10:23 -0800562 $(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 -0800563 $(E) "[RUN] Testing gpr_cancellable_test"
ctillercab52e72015-01-06 13:10:23 -0800564 $(Q) ./bins/$(CONFIG)/gpr_cancellable_test || ( echo test gpr_cancellable_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800565 $(E) "[RUN] Testing gpr_log_test"
ctillercab52e72015-01-06 13:10:23 -0800566 $(Q) ./bins/$(CONFIG)/gpr_log_test || ( echo test gpr_log_test failed ; exit 1 )
ctiller5e04b132014-12-15 09:24:43 -0800567 $(E) "[RUN] Testing gpr_useful_test"
ctillercab52e72015-01-06 13:10:23 -0800568 $(Q) ./bins/$(CONFIG)/gpr_useful_test || ( echo test gpr_useful_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800569 $(E) "[RUN] Testing gpr_cmdline_test"
ctillercab52e72015-01-06 13:10:23 -0800570 $(Q) ./bins/$(CONFIG)/gpr_cmdline_test || ( echo test gpr_cmdline_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800571 $(E) "[RUN] Testing gpr_histogram_test"
ctillercab52e72015-01-06 13:10:23 -0800572 $(Q) ./bins/$(CONFIG)/gpr_histogram_test || ( echo test gpr_histogram_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800573 $(E) "[RUN] Testing gpr_host_port_test"
ctillercab52e72015-01-06 13:10:23 -0800574 $(Q) ./bins/$(CONFIG)/gpr_host_port_test || ( echo test gpr_host_port_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800575 $(E) "[RUN] Testing gpr_slice_buffer_test"
ctillercab52e72015-01-06 13:10:23 -0800576 $(Q) ./bins/$(CONFIG)/gpr_slice_buffer_test || ( echo test gpr_slice_buffer_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800577 $(E) "[RUN] Testing gpr_slice_test"
ctillercab52e72015-01-06 13:10:23 -0800578 $(Q) ./bins/$(CONFIG)/gpr_slice_test || ( echo test gpr_slice_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800579 $(E) "[RUN] Testing gpr_string_test"
ctillercab52e72015-01-06 13:10:23 -0800580 $(Q) ./bins/$(CONFIG)/gpr_string_test || ( echo test gpr_string_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800581 $(E) "[RUN] Testing gpr_sync_test"
ctillercab52e72015-01-06 13:10:23 -0800582 $(Q) ./bins/$(CONFIG)/gpr_sync_test || ( echo test gpr_sync_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800583 $(E) "[RUN] Testing gpr_thd_test"
ctillercab52e72015-01-06 13:10:23 -0800584 $(Q) ./bins/$(CONFIG)/gpr_thd_test || ( echo test gpr_thd_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800585 $(E) "[RUN] Testing gpr_time_test"
ctillercab52e72015-01-06 13:10:23 -0800586 $(Q) ./bins/$(CONFIG)/gpr_time_test || ( echo test gpr_time_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800587 $(E) "[RUN] Testing murmur_hash_test"
ctillercab52e72015-01-06 13:10:23 -0800588 $(Q) ./bins/$(CONFIG)/murmur_hash_test || ( echo test murmur_hash_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800589 $(E) "[RUN] Testing grpc_stream_op_test"
ctillercab52e72015-01-06 13:10:23 -0800590 $(Q) ./bins/$(CONFIG)/grpc_stream_op_test || ( echo test grpc_stream_op_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800591 $(E) "[RUN] Testing alpn_test"
ctillercab52e72015-01-06 13:10:23 -0800592 $(Q) ./bins/$(CONFIG)/alpn_test || ( echo test alpn_test failed ; exit 1 )
ctillerc1ddffb2014-12-15 13:08:18 -0800593 $(E) "[RUN] Testing time_averaged_stats_test"
ctillercab52e72015-01-06 13:10:23 -0800594 $(Q) ./bins/$(CONFIG)/time_averaged_stats_test || ( echo test time_averaged_stats_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800595 $(E) "[RUN] Testing chttp2_stream_encoder_test"
ctillercab52e72015-01-06 13:10:23 -0800596 $(Q) ./bins/$(CONFIG)/chttp2_stream_encoder_test || ( echo test chttp2_stream_encoder_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800597 $(E) "[RUN] Testing hpack_table_test"
ctillercab52e72015-01-06 13:10:23 -0800598 $(Q) ./bins/$(CONFIG)/hpack_table_test || ( echo test hpack_table_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800599 $(E) "[RUN] Testing chttp2_stream_map_test"
ctillercab52e72015-01-06 13:10:23 -0800600 $(Q) ./bins/$(CONFIG)/chttp2_stream_map_test || ( echo test chttp2_stream_map_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800601 $(E) "[RUN] Testing hpack_parser_test"
ctillercab52e72015-01-06 13:10:23 -0800602 $(Q) ./bins/$(CONFIG)/hpack_parser_test || ( echo test hpack_parser_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800603 $(E) "[RUN] Testing transport_metadata_test"
ctillercab52e72015-01-06 13:10:23 -0800604 $(Q) ./bins/$(CONFIG)/transport_metadata_test || ( echo test transport_metadata_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800605 $(E) "[RUN] Testing chttp2_status_conversion_test"
ctillercab52e72015-01-06 13:10:23 -0800606 $(Q) ./bins/$(CONFIG)/chttp2_status_conversion_test || ( echo test chttp2_status_conversion_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800607 $(E) "[RUN] Testing chttp2_transport_end2end_test"
ctillercab52e72015-01-06 13:10:23 -0800608 $(Q) ./bins/$(CONFIG)/chttp2_transport_end2end_test || ( echo test chttp2_transport_end2end_test failed ; exit 1 )
ctiller18b49ab2014-12-09 14:39:16 -0800609 $(E) "[RUN] Testing tcp_posix_test"
ctillercab52e72015-01-06 13:10:23 -0800610 $(Q) ./bins/$(CONFIG)/tcp_posix_test || ( echo test tcp_posix_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800611 $(E) "[RUN] Testing dualstack_socket_test"
ctillercab52e72015-01-06 13:10:23 -0800612 $(Q) ./bins/$(CONFIG)/dualstack_socket_test || ( echo test dualstack_socket_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800613 $(E) "[RUN] Testing no_server_test"
ctillercab52e72015-01-06 13:10:23 -0800614 $(Q) ./bins/$(CONFIG)/no_server_test || ( echo test no_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800615 $(E) "[RUN] Testing resolve_address_test"
ctillercab52e72015-01-06 13:10:23 -0800616 $(Q) ./bins/$(CONFIG)/resolve_address_test || ( echo test resolve_address_test failed ; exit 1 )
ctiller18b49ab2014-12-09 14:39:16 -0800617 $(E) "[RUN] Testing sockaddr_utils_test"
ctillercab52e72015-01-06 13:10:23 -0800618 $(Q) ./bins/$(CONFIG)/sockaddr_utils_test || ( echo test sockaddr_utils_test failed ; exit 1 )
ctiller18b49ab2014-12-09 14:39:16 -0800619 $(E) "[RUN] Testing tcp_server_posix_test"
ctillercab52e72015-01-06 13:10:23 -0800620 $(Q) ./bins/$(CONFIG)/tcp_server_posix_test || ( echo test tcp_server_posix_test failed ; exit 1 )
ctiller18b49ab2014-12-09 14:39:16 -0800621 $(E) "[RUN] Testing tcp_client_posix_test"
ctillercab52e72015-01-06 13:10:23 -0800622 $(Q) ./bins/$(CONFIG)/tcp_client_posix_test || ( echo test tcp_client_posix_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800623 $(E) "[RUN] Testing grpc_channel_stack_test"
ctillercab52e72015-01-06 13:10:23 -0800624 $(Q) ./bins/$(CONFIG)/grpc_channel_stack_test || ( echo test grpc_channel_stack_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800625 $(E) "[RUN] Testing metadata_buffer_test"
ctillercab52e72015-01-06 13:10:23 -0800626 $(Q) ./bins/$(CONFIG)/metadata_buffer_test || ( echo test metadata_buffer_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800627 $(E) "[RUN] Testing grpc_completion_queue_test"
ctillercab52e72015-01-06 13:10:23 -0800628 $(Q) ./bins/$(CONFIG)/grpc_completion_queue_test || ( echo test grpc_completion_queue_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800629 $(E) "[RUN] Testing census_window_stats_test"
ctillercab52e72015-01-06 13:10:23 -0800630 $(Q) ./bins/$(CONFIG)/census_window_stats_test || ( echo test census_window_stats_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800631 $(E) "[RUN] Testing census_statistics_quick_test"
ctillercab52e72015-01-06 13:10:23 -0800632 $(Q) ./bins/$(CONFIG)/census_statistics_quick_test || ( echo test census_statistics_quick_test failed ; exit 1 )
aveitch482a5be2014-12-15 10:25:12 -0800633 $(E) "[RUN] Testing census_statistics_small_log_test"
ctillercab52e72015-01-06 13:10:23 -0800634 $(Q) ./bins/$(CONFIG)/census_statistics_small_log_test || ( echo test census_statistics_small_log_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800635 $(E) "[RUN] Testing census_statistics_performance_test"
ctillercab52e72015-01-06 13:10:23 -0800636 $(Q) ./bins/$(CONFIG)/census_statistics_performance_test || ( echo test census_statistics_performance_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800637 $(E) "[RUN] Testing census_statistics_multiple_writers_test"
ctillercab52e72015-01-06 13:10:23 -0800638 $(Q) ./bins/$(CONFIG)/census_statistics_multiple_writers_test || ( echo test census_statistics_multiple_writers_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800639 $(E) "[RUN] Testing census_statistics_multiple_writers_circular_buffer_test"
ctillercab52e72015-01-06 13:10:23 -0800640 $(Q) ./bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test || ( echo test census_statistics_multiple_writers_circular_buffer_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800641 $(E) "[RUN] Testing census_stub_test"
ctillercab52e72015-01-06 13:10:23 -0800642 $(Q) ./bins/$(CONFIG)/census_stub_test || ( echo test census_stub_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800643 $(E) "[RUN] Testing census_hash_table_test"
ctillercab52e72015-01-06 13:10:23 -0800644 $(Q) ./bins/$(CONFIG)/census_hash_table_test || ( echo test census_hash_table_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800645 $(E) "[RUN] Testing fling_test"
ctillercab52e72015-01-06 13:10:23 -0800646 $(Q) ./bins/$(CONFIG)/fling_test || ( echo test fling_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800647 $(E) "[RUN] Testing echo_test"
ctillercab52e72015-01-06 13:10:23 -0800648 $(Q) ./bins/$(CONFIG)/echo_test || ( echo test echo_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800649 $(E) "[RUN] Testing message_compress_test"
ctillercab52e72015-01-06 13:10:23 -0800650 $(Q) ./bins/$(CONFIG)/message_compress_test || ( echo test message_compress_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800651 $(E) "[RUN] Testing bin_encoder_test"
ctillercab52e72015-01-06 13:10:23 -0800652 $(Q) ./bins/$(CONFIG)/bin_encoder_test || ( echo test bin_encoder_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800653 $(E) "[RUN] Testing secure_endpoint_test"
ctillercab52e72015-01-06 13:10:23 -0800654 $(Q) ./bins/$(CONFIG)/secure_endpoint_test || ( echo test secure_endpoint_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800655 $(E) "[RUN] Testing httpcli_format_request_test"
ctillercab52e72015-01-06 13:10:23 -0800656 $(Q) ./bins/$(CONFIG)/httpcli_format_request_test || ( echo test httpcli_format_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800657 $(E) "[RUN] Testing httpcli_parser_test"
ctillercab52e72015-01-06 13:10:23 -0800658 $(Q) ./bins/$(CONFIG)/httpcli_parser_test || ( echo test httpcli_parser_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800659 $(E) "[RUN] Testing httpcli_test"
ctillercab52e72015-01-06 13:10:23 -0800660 $(Q) ./bins/$(CONFIG)/httpcli_test || ( echo test httpcli_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800661 $(E) "[RUN] Testing grpc_credentials_test"
ctillercab52e72015-01-06 13:10:23 -0800662 $(Q) ./bins/$(CONFIG)/grpc_credentials_test || ( echo test grpc_credentials_test failed ; exit 1 )
jboeufbefd2652014-12-12 15:39:47 -0800663 $(E) "[RUN] Testing grpc_base64_test"
ctillercab52e72015-01-06 13:10:23 -0800664 $(Q) ./bins/$(CONFIG)/grpc_base64_test || ( echo test grpc_base64_test failed ; exit 1 )
jboeufbefd2652014-12-12 15:39:47 -0800665 $(E) "[RUN] Testing grpc_json_token_test"
ctillercab52e72015-01-06 13:10:23 -0800666 $(Q) ./bins/$(CONFIG)/grpc_json_token_test || ( echo test grpc_json_token_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800667 $(E) "[RUN] Testing timeout_encoding_test"
ctillercab52e72015-01-06 13:10:23 -0800668 $(Q) ./bins/$(CONFIG)/timeout_encoding_test || ( echo test timeout_encoding_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800669 $(E) "[RUN] Testing fd_posix_test"
ctillercab52e72015-01-06 13:10:23 -0800670 $(Q) ./bins/$(CONFIG)/fd_posix_test || ( echo test fd_posix_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800671 $(E) "[RUN] Testing fling_stream_test"
ctillercab52e72015-01-06 13:10:23 -0800672 $(Q) ./bins/$(CONFIG)/fling_stream_test || ( echo test fling_stream_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800673 $(E) "[RUN] Testing lame_client_test"
ctillercab52e72015-01-06 13:10:23 -0800674 $(Q) ./bins/$(CONFIG)/lame_client_test || ( echo test lame_client_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800675 $(E) "[RUN] Testing alarm_test"
ctillercab52e72015-01-06 13:10:23 -0800676 $(Q) ./bins/$(CONFIG)/alarm_test || ( echo test alarm_test failed ; exit 1 )
ctiller3bf466f2014-12-19 16:21:57 -0800677 $(E) "[RUN] Testing alarm_list_test"
ctillercab52e72015-01-06 13:10:23 -0800678 $(Q) ./bins/$(CONFIG)/alarm_list_test || ( echo test alarm_list_test failed ; exit 1 )
ctiller3bf466f2014-12-19 16:21:57 -0800679 $(E) "[RUN] Testing alarm_heap_test"
ctillercab52e72015-01-06 13:10:23 -0800680 $(Q) ./bins/$(CONFIG)/alarm_heap_test || ( echo test alarm_heap_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800681 $(E) "[RUN] Testing time_test"
ctillercab52e72015-01-06 13:10:23 -0800682 $(Q) ./bins/$(CONFIG)/time_test || ( echo test time_test failed ; exit 1 )
David Klempner7f3ed1e2015-01-16 15:35:56 -0800683 $(E) "[RUN] Testing poll_kick_test"
684 $(Q) ./bins/$(CONFIG)/poll_kick_test || ( echo test poll_kick_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800685 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800686 $(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 -0800687 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800688 $(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 -0800689 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800690 $(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 -0800691 $(E) "[RUN] Testing chttp2_fake_security_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800692 $(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 -0800693 $(E) "[RUN] Testing chttp2_fake_security_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800694 $(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 -0800695 $(E) "[RUN] Testing chttp2_fake_security_census_simple_request_test"
696 $(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 -0800697 $(E) "[RUN] Testing chttp2_fake_security_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800698 $(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 -0800699 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800700 $(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 -0800701 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800702 $(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 -0800703 $(E) "[RUN] Testing chttp2_fake_security_graceful_server_shutdown_test"
704 $(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 -0800705 $(E) "[RUN] Testing chttp2_fake_security_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800706 $(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 -0800707 $(E) "[RUN] Testing chttp2_fake_security_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800708 $(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 -0800709 $(E) "[RUN] Testing chttp2_fake_security_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800710 $(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 -0800711 $(E) "[RUN] Testing chttp2_fake_security_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800712 $(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 -0800713 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800714 $(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 -0800715 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800716 $(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 -0800717 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800718 $(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 -0800719 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800720 $(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 -0800721 $(E) "[RUN] Testing chttp2_fake_security_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800722 $(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 -0800723 $(E) "[RUN] Testing chttp2_fake_security_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800724 $(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 -0800725 $(E) "[RUN] Testing chttp2_fake_security_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800726 $(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 -0800727 $(E) "[RUN] Testing chttp2_fake_security_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800728 $(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 -0800729 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800730 $(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 -0800731 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800732 $(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 -0800733 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800734 $(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 -0800735 $(E) "[RUN] Testing chttp2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800736 $(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 -0800737 $(E) "[RUN] Testing chttp2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800738 $(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 -0800739 $(E) "[RUN] Testing chttp2_fullstack_census_simple_request_test"
740 $(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 -0800741 $(E) "[RUN] Testing chttp2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800742 $(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 -0800743 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800744 $(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 -0800745 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800746 $(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 -0800747 $(E) "[RUN] Testing chttp2_fullstack_graceful_server_shutdown_test"
748 $(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 -0800749 $(E) "[RUN] Testing chttp2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800750 $(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 -0800751 $(E) "[RUN] Testing chttp2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800752 $(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 -0800753 $(E) "[RUN] Testing chttp2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800754 $(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 -0800755 $(E) "[RUN] Testing chttp2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800756 $(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 -0800757 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800758 $(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 -0800759 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800760 $(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 -0800761 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800762 $(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 -0800763 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800764 $(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 -0800765 $(E) "[RUN] Testing chttp2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800766 $(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 -0800767 $(E) "[RUN] Testing chttp2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800768 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_simple_request_test || ( echo test chttp2_fullstack_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800769 $(E) "[RUN] Testing chttp2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800770 $(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 -0800771 $(E) "[RUN] Testing chttp2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800772 $(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 -0800773 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800774 $(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 -0800775 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800776 $(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 -0800777 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800778 $(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 -0800779 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800780 $(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 -0800781 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800782 $(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 -0800783 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_census_simple_request_test"
784 $(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 -0800785 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800786 $(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 -0800787 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800788 $(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 -0800789 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800790 $(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 -0800791 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_graceful_server_shutdown_test"
792 $(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 -0800793 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800794 $(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 -0800795 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800796 $(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 -0800797 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800798 $(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 -0800799 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800800 $(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 -0800801 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800802 $(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 -0800803 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800804 $(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 -0800805 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800806 $(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 -0800807 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800808 $(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 -0800809 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800810 $(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 -0800811 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800812 $(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 -0800813 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800814 $(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 -0800815 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800816 $(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 -0800817 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800818 $(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 -0800819 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800820 $(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 -0800821 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800822 $(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 -0800823 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800824 $(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 -0800825 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800826 $(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 -0800827 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test"
828 $(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 -0800829 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800830 $(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 -0800831 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800832 $(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 -0800833 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800834 $(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 -0800835 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test"
836 $(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 -0800837 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800838 $(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 -0800839 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800840 $(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 -0800841 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800842 $(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 -0800843 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800844 $(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 -0800845 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800846 $(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 -0800847 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800848 $(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 -0800849 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800850 $(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 -0800851 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800852 $(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 -0800853 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800854 $(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 -0800855 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800856 $(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 -0800857 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800858 $(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 -0800859 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800860 $(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 -0800861 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800862 $(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 -0800863 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800864 $(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 -0800865 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800866 $(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 -0800867 $(E) "[RUN] Testing chttp2_socket_pair_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800868 $(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 -0800869 $(E) "[RUN] Testing chttp2_socket_pair_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800870 $(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 -0800871 $(E) "[RUN] Testing chttp2_socket_pair_census_simple_request_test"
872 $(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 -0800873 $(E) "[RUN] Testing chttp2_socket_pair_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800874 $(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 -0800875 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800876 $(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 -0800877 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800878 $(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 -0800879 $(E) "[RUN] Testing chttp2_socket_pair_graceful_server_shutdown_test"
880 $(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 -0800881 $(E) "[RUN] Testing chttp2_socket_pair_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800882 $(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 -0800883 $(E) "[RUN] Testing chttp2_socket_pair_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800884 $(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 -0800885 $(E) "[RUN] Testing chttp2_socket_pair_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800886 $(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 -0800887 $(E) "[RUN] Testing chttp2_socket_pair_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800888 $(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 -0800889 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800890 $(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 -0800891 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800892 $(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 -0800893 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800894 $(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 -0800895 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800896 $(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 -0800897 $(E) "[RUN] Testing chttp2_socket_pair_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800898 $(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 -0800899 $(E) "[RUN] Testing chttp2_socket_pair_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800900 $(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 -0800901 $(E) "[RUN] Testing chttp2_socket_pair_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800902 $(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 -0800903 $(E) "[RUN] Testing chttp2_socket_pair_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800904 $(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 -0800905 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800906 $(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 -0800907 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800908 $(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 -0800909 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800910 $(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 -0800911 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800912 $(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 -0800913 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800914 $(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 -0800915 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test"
916 $(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 -0800917 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800918 $(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 -0800919 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800920 $(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 -0800921 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800922 $(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 -0800923 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test"
924 $(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 -0800925 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800926 $(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 -0800927 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800928 $(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 -0800929 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800930 $(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 -0800931 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800932 $(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 -0800933 $(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 -0800934 $(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 -0800935 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800936 $(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 -0800937 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800938 $(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 -0800939 $(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 -0800940 $(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 -0800941 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800942 $(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 -0800943 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800944 $(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 -0800945 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800946 $(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 -0800947 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800948 $(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 -0800949
950
nnoble85a49262014-12-08 18:14:03 -0800951test_cxx: buildtests_cxx
nnoble29e1d292014-12-01 10:27:40 -0800952 $(E) "[RUN] Testing thread_pool_test"
ctillercab52e72015-01-06 13:10:23 -0800953 $(Q) ./bins/$(CONFIG)/thread_pool_test || ( echo test thread_pool_test failed ; exit 1 )
nnoble29e1d292014-12-01 10:27:40 -0800954 $(E) "[RUN] Testing status_test"
ctillercab52e72015-01-06 13:10:23 -0800955 $(Q) ./bins/$(CONFIG)/status_test || ( echo test status_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800956 $(E) "[RUN] Testing sync_client_async_server_test"
ctillercab52e72015-01-06 13:10:23 -0800957 $(Q) ./bins/$(CONFIG)/sync_client_async_server_test || ( echo test sync_client_async_server_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800958 $(E) "[RUN] Testing qps_client"
ctillercab52e72015-01-06 13:10:23 -0800959 $(Q) ./bins/$(CONFIG)/qps_client || ( echo test qps_client failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800960 $(E) "[RUN] Testing qps_server"
ctillercab52e72015-01-06 13:10:23 -0800961 $(Q) ./bins/$(CONFIG)/qps_server || ( echo test qps_server failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800962 $(E) "[RUN] Testing end2end_test"
ctillercab52e72015-01-06 13:10:23 -0800963 $(Q) ./bins/$(CONFIG)/end2end_test || ( echo test end2end_test failed ; exit 1 )
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 )
nnoble29e1d292014-12-01 10:27:40 -0800968
969
ctillercab52e72015-01-06 13:10:23 -0800970tools: privatelibs bins/$(CONFIG)/gen_hpack_tables bins/$(CONFIG)/grpc_fetch_oauth2
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800971
ctillercab52e72015-01-06 13:10:23 -0800972buildbenchmarks: privatelibs bins/$(CONFIG)/grpc_completion_queue_benchmark bins/$(CONFIG)/low_level_ping_pong_benchmark
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800973
974benchmarks: buildbenchmarks
975
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800976strip: strip-static strip-shared
977
nnoble20e2e3f2014-12-16 15:37:57 -0800978strip-static: strip-static_c strip-static_cxx
979
980strip-shared: strip-shared_c strip-shared_cxx
981
Nicolas Noble047b7272015-01-16 13:55:05 -0800982
983# TODO(nnoble): the strip target is stripping in-place, instead
984# of copying files in a temporary folder.
985# This prevents proper debugging after running make install.
986
nnoble85a49262014-12-08 18:14:03 -0800987strip-static_c: static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800988 $(E) "[STRIP] Stripping libgpr.a"
ctillercab52e72015-01-06 13:10:23 -0800989 $(Q) $(STRIP) libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800990 $(E) "[STRIP] Stripping libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -0800991 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800992 $(E) "[STRIP] Stripping libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -0800993 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800994
nnoble85a49262014-12-08 18:14:03 -0800995strip-static_cxx: static_cxx
996 $(E) "[STRIP] Stripping libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -0800997 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -0800998
999strip-shared_c: shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001000 $(E) "[STRIP] Stripping libgpr.so"
ctillercab52e72015-01-06 13:10:23 -08001001 $(Q) $(STRIP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001002 $(E) "[STRIP] Stripping libgrpc.so"
ctillercab52e72015-01-06 13:10:23 -08001003 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001004 $(E) "[STRIP] Stripping libgrpc_unsecure.so"
ctillercab52e72015-01-06 13:10:23 -08001005 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001006
nnoble85a49262014-12-08 18:14:03 -08001007strip-shared_cxx: shared_cxx
1008 $(E) "[STRIP] Stripping libgrpc++.so"
ctillercab52e72015-01-06 13:10:23 -08001009 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
nnoble85a49262014-12-08 18:14:03 -08001010
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001011gens/test/cpp/interop/empty.pb.cc: test/cpp/interop/empty.proto $(PROTOC_PLUGINS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001012 $(E) "[PROTOC] Generating protobuf CC file from $<"
1013 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001014 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001015
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001016gens/test/cpp/interop/messages.pb.cc: test/cpp/interop/messages.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001017 $(E) "[PROTOC] Generating protobuf CC file from $<"
1018 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001019 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001020
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001021gens/test/cpp/interop/test.pb.cc: test/cpp/interop/test.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001022 $(E) "[PROTOC] Generating protobuf CC file from $<"
1023 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001024 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001025
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001026gens/test/cpp/qps/qpstest.pb.cc: test/cpp/qps/qpstest.proto $(PROTOC_PLUGINS)
Craig Tillerbf2659f2015-01-13 12:27:06 -08001027 $(E) "[PROTOC] Generating protobuf CC file from $<"
1028 $(Q) mkdir -p `dirname $@`
1029 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1030
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001031gens/test/cpp/util/echo.pb.cc: test/cpp/util/echo.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001032 $(E) "[PROTOC] Generating protobuf CC file from $<"
1033 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001034 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001035
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001036gens/test/cpp/util/echo_duplicate.pb.cc: test/cpp/util/echo_duplicate.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001037 $(E) "[PROTOC] Generating protobuf CC file from $<"
1038 $(Q) mkdir -p `dirname $@`
1039 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1040
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001041gens/test/cpp/util/messages.pb.cc: test/cpp/util/messages.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001042 $(E) "[PROTOC] Generating protobuf CC file from $<"
1043 $(Q) mkdir -p `dirname $@`
1044 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1045
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001046
ctillercab52e72015-01-06 13:10:23 -08001047objs/$(CONFIG)/%.o : %.c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001048 $(E) "[C] Compiling $<"
1049 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001050 $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001051
ctillercab52e72015-01-06 13:10:23 -08001052objs/$(CONFIG)/%.o : gens/%.pb.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001053 $(E) "[CXX] Compiling $<"
1054 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001055 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001056
ctillercab52e72015-01-06 13:10:23 -08001057objs/$(CONFIG)/src/compiler/%.o : src/compiler/%.cc
nnoble72309c62014-12-12 11:42:26 -08001058 $(E) "[HOSTCXX] Compiling $<"
1059 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001060 $(Q) $(HOST_CXX) $(HOST_CXXFLAGS) $(HOST_CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
nnoble72309c62014-12-12 11:42:26 -08001061
ctillercab52e72015-01-06 13:10:23 -08001062objs/$(CONFIG)/%.o : %.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001063 $(E) "[CXX] Compiling $<"
1064 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001065 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001066
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001067
nnoble85a49262014-12-08 18:14:03 -08001068install: install_c install_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001069
nnoble85a49262014-12-08 18:14:03 -08001070install_c: install-headers_c install-static_c install-shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001071
nnoble85a49262014-12-08 18:14:03 -08001072install_cxx: install-headers_cxx install-static_cxx install-shared_cxx
1073
1074install-headers: install-headers_c install-headers_cxx
1075
1076install-headers_c:
1077 $(E) "[INSTALL] Installing public C headers"
1078 $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1079
1080install-headers_cxx:
1081 $(E) "[INSTALL] Installing public C++ headers"
1082 $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1083
1084install-static: install-static_c install-static_cxx
1085
1086install-static_c: static_c strip-static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001087 $(E) "[INSTALL] Installing libgpr.a"
ctillercab52e72015-01-06 13:10:23 -08001088 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.a $(prefix)/lib/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001089 $(E) "[INSTALL] Installing libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -08001090 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.a $(prefix)/lib/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001091 $(E) "[INSTALL] Installing libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -08001092 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.a $(prefix)/lib/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001093
nnoble85a49262014-12-08 18:14:03 -08001094install-static_cxx: static_cxx strip-static_cxx
1095 $(E) "[INSTALL] Installing libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -08001096 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.a $(prefix)/lib/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -08001097
1098install-shared_c: shared_c strip-shared_c
nnoble5b7f32a2014-12-22 08:12:44 -08001099ifeq ($(SYSTEM),MINGW32)
1100 $(E) "[INSTALL] Installing gpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001101 $(Q) $(INSTALL) libs/$(CONFIG)/gpr.$(SHARED_EXT) $(prefix)/lib/gpr.$(SHARED_EXT)
1102 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr-imp.a $(prefix)/lib/libgpr-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001103else
1104 $(E) "[INSTALL] Installing libgpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001105 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001106ifneq ($(SYSTEM),Darwin)
1107 $(Q) ln -sf libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.so
1108endif
1109endif
1110ifeq ($(SYSTEM),MINGW32)
1111 $(E) "[INSTALL] Installing grpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001112 $(Q) $(INSTALL) libs/$(CONFIG)/grpc.$(SHARED_EXT) $(prefix)/lib/grpc.$(SHARED_EXT)
1113 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc-imp.a $(prefix)/lib/libgrpc-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001114else
1115 $(E) "[INSTALL] Installing libgrpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001116 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001117ifneq ($(SYSTEM),Darwin)
1118 $(Q) ln -sf libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.so
1119endif
1120endif
1121ifeq ($(SYSTEM),MINGW32)
1122 $(E) "[INSTALL] Installing grpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001123 $(Q) $(INSTALL) libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT) $(prefix)/lib/grpc_unsecure.$(SHARED_EXT)
1124 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure-imp.a $(prefix)/lib/libgrpc_unsecure-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001125else
1126 $(E) "[INSTALL] Installing libgrpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001127 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001128ifneq ($(SYSTEM),Darwin)
1129 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.so
1130endif
1131endif
1132ifneq ($(SYSTEM),MINGW32)
1133ifneq ($(SYSTEM),Darwin)
1134 $(Q) ldconfig
1135endif
1136endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001137
nnoble85a49262014-12-08 18:14:03 -08001138install-shared_cxx: shared_cxx strip-shared_cxx
nnoble5b7f32a2014-12-22 08:12:44 -08001139ifeq ($(SYSTEM),MINGW32)
1140 $(E) "[INSTALL] Installing grpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001141 $(Q) $(INSTALL) libs/$(CONFIG)/grpc++.$(SHARED_EXT) $(prefix)/lib/grpc++.$(SHARED_EXT)
1142 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++-imp.a $(prefix)/lib/libgrpc++-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001143else
1144 $(E) "[INSTALL] Installing libgrpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001145 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001146ifneq ($(SYSTEM),Darwin)
1147 $(Q) ln -sf libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.so
1148endif
1149endif
1150ifneq ($(SYSTEM),MINGW32)
1151ifneq ($(SYSTEM),Darwin)
1152 $(Q) ldconfig
1153endif
1154endif
nnoble85a49262014-12-08 18:14:03 -08001155
Craig Tiller3759e6f2015-01-15 08:13:11 -08001156clean:
Craig Tiller12c82092015-01-15 08:45:56 -08001157 $(Q) $(RM) -rf objs libs bins gens
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001158
1159
1160# The various libraries
1161
1162
1163LIBGPR_SRC = \
1164 src/core/support/alloc.c \
1165 src/core/support/cancellable.c \
1166 src/core/support/cmdline.c \
ctillerd94ad102014-12-23 08:53:43 -08001167 src/core/support/cpu_linux.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001168 src/core/support/cpu_posix.c \
1169 src/core/support/histogram.c \
1170 src/core/support/host_port.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001171 src/core/support/log_android.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001172 src/core/support/log.c \
1173 src/core/support/log_linux.c \
1174 src/core/support/log_posix.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001175 src/core/support/log_win32.c \
1176 src/core/support/murmur_hash.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001177 src/core/support/slice_buffer.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001178 src/core/support/slice.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001179 src/core/support/string.c \
1180 src/core/support/string_posix.c \
nnoble0c475f02014-12-05 15:37:39 -08001181 src/core/support/string_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001182 src/core/support/sync.c \
1183 src/core/support/sync_posix.c \
jtattermusch98bffb72014-12-09 12:47:19 -08001184 src/core/support/sync_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001185 src/core/support/thd_posix.c \
1186 src/core/support/thd_win32.c \
1187 src/core/support/time.c \
1188 src/core/support/time_posix.c \
1189 src/core/support/time_win32.c \
1190
nnoble85a49262014-12-08 18:14:03 -08001191PUBLIC_HEADERS_C += \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001192 include/grpc/support/alloc.h \
1193 include/grpc/support/atm_gcc_atomic.h \
1194 include/grpc/support/atm_gcc_sync.h \
1195 include/grpc/support/atm.h \
1196 include/grpc/support/atm_win32.h \
1197 include/grpc/support/cancellable_platform.h \
1198 include/grpc/support/cmdline.h \
1199 include/grpc/support/histogram.h \
1200 include/grpc/support/host_port.h \
1201 include/grpc/support/log.h \
1202 include/grpc/support/port_platform.h \
1203 include/grpc/support/slice_buffer.h \
1204 include/grpc/support/slice.h \
1205 include/grpc/support/string.h \
1206 include/grpc/support/sync_generic.h \
1207 include/grpc/support/sync.h \
1208 include/grpc/support/sync_posix.h \
1209 include/grpc/support/sync_win32.h \
1210 include/grpc/support/thd.h \
1211 include/grpc/support/thd_posix.h \
1212 include/grpc/support/thd_win32.h \
1213 include/grpc/support/time.h \
1214 include/grpc/support/time_posix.h \
1215 include/grpc/support/time_win32.h \
1216 include/grpc/support/useful.h \
1217
ctillercab52e72015-01-06 13:10:23 -08001218LIBGPR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001219
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001220libs/$(CONFIG)/libgpr.a: $(ZLIB_DEP) $(LIBGPR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001221 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001222 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001223 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr.a $(LIBGPR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001224
nnoble5b7f32a2014-12-22 08:12:44 -08001225
1226
1227ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001228libs/$(CONFIG)/gpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001229 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001230 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001231 $(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 -08001232else
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001233libs/$(CONFIG)/libgpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001234 $(E) "[LD] Linking $@"
1235 $(Q) mkdir -p `dirname $@`
1236ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001237 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
nnoble5b7f32a2014-12-22 08:12:44 -08001238else
ctillercab52e72015-01-06 13:10:23 -08001239 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgpr.so.0 -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
1240 $(Q) ln -sf libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgpr.so
nnoble5b7f32a2014-12-22 08:12:44 -08001241endif
1242endif
1243
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001244
nnoble69ac39f2014-12-12 15:43:38 -08001245ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001246-include $(LIBGPR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001247endif
1248
Craig Tiller27715ca2015-01-12 16:55:59 -08001249objs/$(CONFIG)/src/core/support/alloc.o:
1250objs/$(CONFIG)/src/core/support/cancellable.o:
1251objs/$(CONFIG)/src/core/support/cmdline.o:
1252objs/$(CONFIG)/src/core/support/cpu_linux.o:
1253objs/$(CONFIG)/src/core/support/cpu_posix.o:
1254objs/$(CONFIG)/src/core/support/histogram.o:
1255objs/$(CONFIG)/src/core/support/host_port.o:
1256objs/$(CONFIG)/src/core/support/log_android.o:
1257objs/$(CONFIG)/src/core/support/log.o:
1258objs/$(CONFIG)/src/core/support/log_linux.o:
1259objs/$(CONFIG)/src/core/support/log_posix.o:
1260objs/$(CONFIG)/src/core/support/log_win32.o:
1261objs/$(CONFIG)/src/core/support/murmur_hash.o:
1262objs/$(CONFIG)/src/core/support/slice_buffer.o:
1263objs/$(CONFIG)/src/core/support/slice.o:
1264objs/$(CONFIG)/src/core/support/string.o:
1265objs/$(CONFIG)/src/core/support/string_posix.o:
1266objs/$(CONFIG)/src/core/support/string_win32.o:
1267objs/$(CONFIG)/src/core/support/sync.o:
1268objs/$(CONFIG)/src/core/support/sync_posix.o:
1269objs/$(CONFIG)/src/core/support/sync_win32.o:
1270objs/$(CONFIG)/src/core/support/thd_posix.o:
1271objs/$(CONFIG)/src/core/support/thd_win32.o:
1272objs/$(CONFIG)/src/core/support/time.o:
1273objs/$(CONFIG)/src/core/support/time_posix.o:
1274objs/$(CONFIG)/src/core/support/time_win32.o:
1275
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001276
1277LIBGRPC_SRC = \
nnoblec87b1c52015-01-05 17:15:18 -08001278 src/core/security/auth.c \
1279 src/core/security/base64.c \
1280 src/core/security/credentials.c \
jboeuf6ad120e2015-01-12 17:08:15 -08001281 src/core/security/factories.c \
nnoblec87b1c52015-01-05 17:15:18 -08001282 src/core/security/google_root_certs.c \
1283 src/core/security/json_token.c \
1284 src/core/security/secure_endpoint.c \
1285 src/core/security/secure_transport_setup.c \
1286 src/core/security/security_context.c \
1287 src/core/security/server_secure_chttp2.c \
1288 src/core/tsi/fake_transport_security.c \
1289 src/core/tsi/ssl_transport_security.c \
1290 src/core/tsi/transport_security.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001291 src/core/channel/call_op_string.c \
1292 src/core/channel/census_filter.c \
1293 src/core/channel/channel_args.c \
1294 src/core/channel/channel_stack.c \
ctiller82e275f2014-12-12 08:43:28 -08001295 src/core/channel/child_channel.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001296 src/core/channel/client_channel.c \
1297 src/core/channel/client_setup.c \
1298 src/core/channel/connected_channel.c \
1299 src/core/channel/http_client_filter.c \
1300 src/core/channel/http_filter.c \
1301 src/core/channel/http_server_filter.c \
1302 src/core/channel/metadata_buffer.c \
1303 src/core/channel/noop_filter.c \
1304 src/core/compression/algorithm.c \
1305 src/core/compression/message_compress.c \
ctiller18b49ab2014-12-09 14:39:16 -08001306 src/core/httpcli/format_request.c \
1307 src/core/httpcli/httpcli.c \
1308 src/core/httpcli/httpcli_security_context.c \
1309 src/core/httpcli/parser.c \
ctiller52103932014-12-20 09:07:32 -08001310 src/core/iomgr/alarm.c \
1311 src/core/iomgr/alarm_heap.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001312 src/core/iomgr/endpoint.c \
ctiller18b49ab2014-12-09 14:39:16 -08001313 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001314 src/core/iomgr/fd_posix.c \
1315 src/core/iomgr/iomgr.c \
1316 src/core/iomgr/iomgr_posix.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08001317 src/core/iomgr/pollset_kick_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001318 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1319 src/core/iomgr/pollset_posix.c \
ctiller18b49ab2014-12-09 14:39:16 -08001320 src/core/iomgr/resolve_address_posix.c \
1321 src/core/iomgr/sockaddr_utils.c \
1322 src/core/iomgr/socket_utils_common_posix.c \
1323 src/core/iomgr/socket_utils_linux.c \
1324 src/core/iomgr/socket_utils_posix.c \
1325 src/core/iomgr/tcp_client_posix.c \
1326 src/core/iomgr/tcp_posix.c \
1327 src/core/iomgr/tcp_server_posix.c \
ctillerc1ddffb2014-12-15 13:08:18 -08001328 src/core/iomgr/time_averaged_stats.c \
ctiller18b49ab2014-12-09 14:39:16 -08001329 src/core/statistics/census_init.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001330 src/core/statistics/census_log.c \
ctiller18b49ab2014-12-09 14:39:16 -08001331 src/core/statistics/census_rpc_stats.c \
1332 src/core/statistics/census_tracing.c \
1333 src/core/statistics/hash_table.c \
ctiller18b49ab2014-12-09 14:39:16 -08001334 src/core/statistics/window_stats.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001335 src/core/surface/byte_buffer.c \
1336 src/core/surface/byte_buffer_reader.c \
1337 src/core/surface/call.c \
1338 src/core/surface/channel.c \
1339 src/core/surface/channel_create.c \
1340 src/core/surface/client.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001341 src/core/surface/completion_queue.c \
1342 src/core/surface/event_string.c \
1343 src/core/surface/init.c \
ctiller18b49ab2014-12-09 14:39:16 -08001344 src/core/surface/lame_client.c \
1345 src/core/surface/secure_channel_create.c \
1346 src/core/surface/secure_server_create.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001347 src/core/surface/server.c \
1348 src/core/surface/server_chttp2.c \
1349 src/core/surface/server_create.c \
nnoble0c475f02014-12-05 15:37:39 -08001350 src/core/transport/chttp2/alpn.c \
1351 src/core/transport/chttp2/bin_encoder.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001352 src/core/transport/chttp2/frame_data.c \
nnoble0c475f02014-12-05 15:37:39 -08001353 src/core/transport/chttp2/frame_goaway.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001354 src/core/transport/chttp2/frame_ping.c \
1355 src/core/transport/chttp2/frame_rst_stream.c \
1356 src/core/transport/chttp2/frame_settings.c \
1357 src/core/transport/chttp2/frame_window_update.c \
1358 src/core/transport/chttp2/hpack_parser.c \
1359 src/core/transport/chttp2/hpack_table.c \
nnoble0c475f02014-12-05 15:37:39 -08001360 src/core/transport/chttp2/huffsyms.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001361 src/core/transport/chttp2/status_conversion.c \
1362 src/core/transport/chttp2/stream_encoder.c \
1363 src/core/transport/chttp2/stream_map.c \
1364 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001365 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001366 src/core/transport/chttp2_transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001367 src/core/transport/metadata.c \
1368 src/core/transport/stream_op.c \
1369 src/core/transport/transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001370 third_party/cJSON/cJSON.c \
1371
nnoble85a49262014-12-08 18:14:03 -08001372PUBLIC_HEADERS_C += \
nnoblec87b1c52015-01-05 17:15:18 -08001373 include/grpc/grpc_security.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001374 include/grpc/byte_buffer.h \
1375 include/grpc/byte_buffer_reader.h \
1376 include/grpc/grpc.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001377 include/grpc/status.h \
1378
ctillercab52e72015-01-06 13:10:23 -08001379LIBGRPC_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001380
nnoble69ac39f2014-12-12 15:43:38 -08001381ifeq ($(NO_SECURE),true)
1382
Nicolas Noble047b7272015-01-16 13:55:05 -08001383# You can't build secure libraries if you don't have OpenSSL with ALPN.
1384
ctillercab52e72015-01-06 13:10:23 -08001385libs/$(CONFIG)/libgrpc.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08001386
nnoble5b7f32a2014-12-22 08:12:44 -08001387ifeq ($(SYSTEM),MINGW32)
ctillercab52e72015-01-06 13:10:23 -08001388libs/$(CONFIG)/grpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001389else
ctillercab52e72015-01-06 13:10:23 -08001390libs/$(CONFIG)/libgrpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001391endif
1392
nnoble69ac39f2014-12-12 15:43:38 -08001393else
1394
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001395ifneq ($(OPENSSL_DEP),)
1396src/core/security/auth.c: $(OPENSSL_DEP)
1397src/core/security/base64.c: $(OPENSSL_DEP)
1398src/core/security/credentials.c: $(OPENSSL_DEP)
1399src/core/security/factories.c: $(OPENSSL_DEP)
1400src/core/security/google_root_certs.c: $(OPENSSL_DEP)
1401src/core/security/json_token.c: $(OPENSSL_DEP)
1402src/core/security/secure_endpoint.c: $(OPENSSL_DEP)
1403src/core/security/secure_transport_setup.c: $(OPENSSL_DEP)
1404src/core/security/security_context.c: $(OPENSSL_DEP)
1405src/core/security/server_secure_chttp2.c: $(OPENSSL_DEP)
1406src/core/tsi/fake_transport_security.c: $(OPENSSL_DEP)
1407src/core/tsi/ssl_transport_security.c: $(OPENSSL_DEP)
1408src/core/tsi/transport_security.c: $(OPENSSL_DEP)
1409src/core/channel/call_op_string.c: $(OPENSSL_DEP)
1410src/core/channel/census_filter.c: $(OPENSSL_DEP)
1411src/core/channel/channel_args.c: $(OPENSSL_DEP)
1412src/core/channel/channel_stack.c: $(OPENSSL_DEP)
1413src/core/channel/child_channel.c: $(OPENSSL_DEP)
1414src/core/channel/client_channel.c: $(OPENSSL_DEP)
1415src/core/channel/client_setup.c: $(OPENSSL_DEP)
1416src/core/channel/connected_channel.c: $(OPENSSL_DEP)
1417src/core/channel/http_client_filter.c: $(OPENSSL_DEP)
1418src/core/channel/http_filter.c: $(OPENSSL_DEP)
1419src/core/channel/http_server_filter.c: $(OPENSSL_DEP)
1420src/core/channel/metadata_buffer.c: $(OPENSSL_DEP)
1421src/core/channel/noop_filter.c: $(OPENSSL_DEP)
1422src/core/compression/algorithm.c: $(OPENSSL_DEP)
1423src/core/compression/message_compress.c: $(OPENSSL_DEP)
1424src/core/httpcli/format_request.c: $(OPENSSL_DEP)
1425src/core/httpcli/httpcli.c: $(OPENSSL_DEP)
1426src/core/httpcli/httpcli_security_context.c: $(OPENSSL_DEP)
1427src/core/httpcli/parser.c: $(OPENSSL_DEP)
1428src/core/iomgr/alarm.c: $(OPENSSL_DEP)
1429src/core/iomgr/alarm_heap.c: $(OPENSSL_DEP)
1430src/core/iomgr/endpoint.c: $(OPENSSL_DEP)
1431src/core/iomgr/endpoint_pair_posix.c: $(OPENSSL_DEP)
1432src/core/iomgr/fd_posix.c: $(OPENSSL_DEP)
1433src/core/iomgr/iomgr.c: $(OPENSSL_DEP)
1434src/core/iomgr/iomgr_posix.c: $(OPENSSL_DEP)
David Klempner7f3ed1e2015-01-16 15:35:56 -08001435src/core/iomgr/pollset_kick_posix.c: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001436src/core/iomgr/pollset_multipoller_with_poll_posix.c: $(OPENSSL_DEP)
1437src/core/iomgr/pollset_posix.c: $(OPENSSL_DEP)
1438src/core/iomgr/resolve_address_posix.c: $(OPENSSL_DEP)
1439src/core/iomgr/sockaddr_utils.c: $(OPENSSL_DEP)
1440src/core/iomgr/socket_utils_common_posix.c: $(OPENSSL_DEP)
1441src/core/iomgr/socket_utils_linux.c: $(OPENSSL_DEP)
1442src/core/iomgr/socket_utils_posix.c: $(OPENSSL_DEP)
1443src/core/iomgr/tcp_client_posix.c: $(OPENSSL_DEP)
1444src/core/iomgr/tcp_posix.c: $(OPENSSL_DEP)
1445src/core/iomgr/tcp_server_posix.c: $(OPENSSL_DEP)
1446src/core/iomgr/time_averaged_stats.c: $(OPENSSL_DEP)
1447src/core/statistics/census_init.c: $(OPENSSL_DEP)
1448src/core/statistics/census_log.c: $(OPENSSL_DEP)
1449src/core/statistics/census_rpc_stats.c: $(OPENSSL_DEP)
1450src/core/statistics/census_tracing.c: $(OPENSSL_DEP)
1451src/core/statistics/hash_table.c: $(OPENSSL_DEP)
1452src/core/statistics/window_stats.c: $(OPENSSL_DEP)
1453src/core/surface/byte_buffer.c: $(OPENSSL_DEP)
1454src/core/surface/byte_buffer_reader.c: $(OPENSSL_DEP)
1455src/core/surface/call.c: $(OPENSSL_DEP)
1456src/core/surface/channel.c: $(OPENSSL_DEP)
1457src/core/surface/channel_create.c: $(OPENSSL_DEP)
1458src/core/surface/client.c: $(OPENSSL_DEP)
1459src/core/surface/completion_queue.c: $(OPENSSL_DEP)
1460src/core/surface/event_string.c: $(OPENSSL_DEP)
1461src/core/surface/init.c: $(OPENSSL_DEP)
1462src/core/surface/lame_client.c: $(OPENSSL_DEP)
1463src/core/surface/secure_channel_create.c: $(OPENSSL_DEP)
1464src/core/surface/secure_server_create.c: $(OPENSSL_DEP)
1465src/core/surface/server.c: $(OPENSSL_DEP)
1466src/core/surface/server_chttp2.c: $(OPENSSL_DEP)
1467src/core/surface/server_create.c: $(OPENSSL_DEP)
1468src/core/transport/chttp2/alpn.c: $(OPENSSL_DEP)
1469src/core/transport/chttp2/bin_encoder.c: $(OPENSSL_DEP)
1470src/core/transport/chttp2/frame_data.c: $(OPENSSL_DEP)
1471src/core/transport/chttp2/frame_goaway.c: $(OPENSSL_DEP)
1472src/core/transport/chttp2/frame_ping.c: $(OPENSSL_DEP)
1473src/core/transport/chttp2/frame_rst_stream.c: $(OPENSSL_DEP)
1474src/core/transport/chttp2/frame_settings.c: $(OPENSSL_DEP)
1475src/core/transport/chttp2/frame_window_update.c: $(OPENSSL_DEP)
1476src/core/transport/chttp2/hpack_parser.c: $(OPENSSL_DEP)
1477src/core/transport/chttp2/hpack_table.c: $(OPENSSL_DEP)
1478src/core/transport/chttp2/huffsyms.c: $(OPENSSL_DEP)
1479src/core/transport/chttp2/status_conversion.c: $(OPENSSL_DEP)
1480src/core/transport/chttp2/stream_encoder.c: $(OPENSSL_DEP)
1481src/core/transport/chttp2/stream_map.c: $(OPENSSL_DEP)
1482src/core/transport/chttp2/timeout_encoding.c: $(OPENSSL_DEP)
1483src/core/transport/chttp2/varint.c: $(OPENSSL_DEP)
1484src/core/transport/chttp2_transport.c: $(OPENSSL_DEP)
1485src/core/transport/metadata.c: $(OPENSSL_DEP)
1486src/core/transport/stream_op.c: $(OPENSSL_DEP)
1487src/core/transport/transport.c: $(OPENSSL_DEP)
1488third_party/cJSON/cJSON.c: $(OPENSSL_DEP)
1489endif
1490
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001491libs/$(CONFIG)/libgrpc.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001492 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001493 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001494 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS)
Craig Tillerd4773f52015-01-12 16:38:47 -08001495 $(Q) rm -rf tmp-merge
nnoble20e2e3f2014-12-16 15:37:57 -08001496 $(Q) mkdir tmp-merge
ctillercab52e72015-01-06 13:10:23 -08001497 $(Q) ( cd tmp-merge ; $(AR) x ../libs/$(CONFIG)/libgrpc.a )
nnoble20e2e3f2014-12-16 15:37:57 -08001498 $(Q) for l in $(OPENSSL_MERGE_LIBS) ; do ( cd tmp-merge ; ar x ../$${l} ) ; done
ctillercab52e72015-01-06 13:10:23 -08001499 $(Q) rm -f libs/$(CONFIG)/libgrpc.a tmp-merge/__.SYMDEF*
1500 $(Q) ar rcs libs/$(CONFIG)/libgrpc.a tmp-merge/*
nnoble20e2e3f2014-12-16 15:37:57 -08001501 $(Q) rm -rf tmp-merge
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001502
nnoble5b7f32a2014-12-22 08:12:44 -08001503
1504
1505ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001506libs/$(CONFIG)/grpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT) $(OPENSSL_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001507 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001508 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001509 $(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 -08001510else
Craig Tillera614caa2015-01-15 09:33:21 -08001511libs/$(CONFIG)/libgrpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(OPENSSL_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001512 $(E) "[LD] Linking $@"
1513 $(Q) mkdir -p `dirname $@`
1514ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001515 $(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 -08001516else
ctillercab52e72015-01-06 13:10:23 -08001517 $(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
1518 $(Q) ln -sf libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.so
nnoble5b7f32a2014-12-22 08:12:44 -08001519endif
1520endif
1521
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001522
nnoble69ac39f2014-12-12 15:43:38 -08001523endif
1524
nnoble69ac39f2014-12-12 15:43:38 -08001525ifneq ($(NO_SECURE),true)
1526ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001527-include $(LIBGRPC_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001528endif
nnoble69ac39f2014-12-12 15:43:38 -08001529endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001530
Craig Tiller27715ca2015-01-12 16:55:59 -08001531objs/$(CONFIG)/src/core/security/auth.o:
1532objs/$(CONFIG)/src/core/security/base64.o:
1533objs/$(CONFIG)/src/core/security/credentials.o:
Craig Tiller770f60a2015-01-12 17:44:43 -08001534objs/$(CONFIG)/src/core/security/factories.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001535objs/$(CONFIG)/src/core/security/google_root_certs.o:
1536objs/$(CONFIG)/src/core/security/json_token.o:
1537objs/$(CONFIG)/src/core/security/secure_endpoint.o:
1538objs/$(CONFIG)/src/core/security/secure_transport_setup.o:
1539objs/$(CONFIG)/src/core/security/security_context.o:
1540objs/$(CONFIG)/src/core/security/server_secure_chttp2.o:
1541objs/$(CONFIG)/src/core/tsi/fake_transport_security.o:
1542objs/$(CONFIG)/src/core/tsi/ssl_transport_security.o:
1543objs/$(CONFIG)/src/core/tsi/transport_security.o:
1544objs/$(CONFIG)/src/core/channel/call_op_string.o:
1545objs/$(CONFIG)/src/core/channel/census_filter.o:
1546objs/$(CONFIG)/src/core/channel/channel_args.o:
1547objs/$(CONFIG)/src/core/channel/channel_stack.o:
1548objs/$(CONFIG)/src/core/channel/child_channel.o:
1549objs/$(CONFIG)/src/core/channel/client_channel.o:
1550objs/$(CONFIG)/src/core/channel/client_setup.o:
1551objs/$(CONFIG)/src/core/channel/connected_channel.o:
1552objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1553objs/$(CONFIG)/src/core/channel/http_filter.o:
1554objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1555objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1556objs/$(CONFIG)/src/core/channel/noop_filter.o:
1557objs/$(CONFIG)/src/core/compression/algorithm.o:
1558objs/$(CONFIG)/src/core/compression/message_compress.o:
1559objs/$(CONFIG)/src/core/httpcli/format_request.o:
1560objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1561objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1562objs/$(CONFIG)/src/core/httpcli/parser.o:
1563objs/$(CONFIG)/src/core/iomgr/alarm.o:
1564objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1565objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1566objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1567objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1568objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1569objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
David Klempner7f3ed1e2015-01-16 15:35:56 -08001570objs/$(CONFIG)/src/core/iomgr/pollset_kick_posix.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001571objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1572objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1573objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1574objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1575objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1576objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1577objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1578objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1579objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1580objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1581objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1582objs/$(CONFIG)/src/core/statistics/census_init.o:
1583objs/$(CONFIG)/src/core/statistics/census_log.o:
1584objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1585objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1586objs/$(CONFIG)/src/core/statistics/hash_table.o:
1587objs/$(CONFIG)/src/core/statistics/window_stats.o:
1588objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1589objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1590objs/$(CONFIG)/src/core/surface/call.o:
1591objs/$(CONFIG)/src/core/surface/channel.o:
1592objs/$(CONFIG)/src/core/surface/channel_create.o:
1593objs/$(CONFIG)/src/core/surface/client.o:
1594objs/$(CONFIG)/src/core/surface/completion_queue.o:
1595objs/$(CONFIG)/src/core/surface/event_string.o:
1596objs/$(CONFIG)/src/core/surface/init.o:
1597objs/$(CONFIG)/src/core/surface/lame_client.o:
1598objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1599objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1600objs/$(CONFIG)/src/core/surface/server.o:
1601objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1602objs/$(CONFIG)/src/core/surface/server_create.o:
1603objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1604objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1605objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1606objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1607objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1608objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1609objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1610objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1611objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1612objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1613objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1614objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1615objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1616objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1617objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1618objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1619objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1620objs/$(CONFIG)/src/core/transport/metadata.o:
1621objs/$(CONFIG)/src/core/transport/stream_op.o:
1622objs/$(CONFIG)/src/core/transport/transport.o:
1623objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1624
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001625
nnoblec87b1c52015-01-05 17:15:18 -08001626LIBGRPC_UNSECURE_SRC = \
1627 src/core/channel/call_op_string.c \
1628 src/core/channel/census_filter.c \
1629 src/core/channel/channel_args.c \
1630 src/core/channel/channel_stack.c \
1631 src/core/channel/child_channel.c \
1632 src/core/channel/client_channel.c \
1633 src/core/channel/client_setup.c \
1634 src/core/channel/connected_channel.c \
1635 src/core/channel/http_client_filter.c \
1636 src/core/channel/http_filter.c \
1637 src/core/channel/http_server_filter.c \
1638 src/core/channel/metadata_buffer.c \
1639 src/core/channel/noop_filter.c \
1640 src/core/compression/algorithm.c \
1641 src/core/compression/message_compress.c \
1642 src/core/httpcli/format_request.c \
1643 src/core/httpcli/httpcli.c \
1644 src/core/httpcli/httpcli_security_context.c \
1645 src/core/httpcli/parser.c \
1646 src/core/iomgr/alarm.c \
1647 src/core/iomgr/alarm_heap.c \
1648 src/core/iomgr/endpoint.c \
1649 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001650 src/core/iomgr/fd_posix.c \
1651 src/core/iomgr/iomgr.c \
1652 src/core/iomgr/iomgr_posix.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08001653 src/core/iomgr/pollset_kick_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001654 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1655 src/core/iomgr/pollset_posix.c \
nnoblec87b1c52015-01-05 17:15:18 -08001656 src/core/iomgr/resolve_address_posix.c \
1657 src/core/iomgr/sockaddr_utils.c \
1658 src/core/iomgr/socket_utils_common_posix.c \
1659 src/core/iomgr/socket_utils_linux.c \
1660 src/core/iomgr/socket_utils_posix.c \
1661 src/core/iomgr/tcp_client_posix.c \
1662 src/core/iomgr/tcp_posix.c \
1663 src/core/iomgr/tcp_server_posix.c \
1664 src/core/iomgr/time_averaged_stats.c \
1665 src/core/statistics/census_init.c \
1666 src/core/statistics/census_log.c \
1667 src/core/statistics/census_rpc_stats.c \
1668 src/core/statistics/census_tracing.c \
1669 src/core/statistics/hash_table.c \
1670 src/core/statistics/window_stats.c \
1671 src/core/surface/byte_buffer.c \
1672 src/core/surface/byte_buffer_reader.c \
1673 src/core/surface/call.c \
1674 src/core/surface/channel.c \
1675 src/core/surface/channel_create.c \
1676 src/core/surface/client.c \
1677 src/core/surface/completion_queue.c \
1678 src/core/surface/event_string.c \
1679 src/core/surface/init.c \
1680 src/core/surface/lame_client.c \
1681 src/core/surface/secure_channel_create.c \
1682 src/core/surface/secure_server_create.c \
1683 src/core/surface/server.c \
1684 src/core/surface/server_chttp2.c \
1685 src/core/surface/server_create.c \
1686 src/core/transport/chttp2/alpn.c \
1687 src/core/transport/chttp2/bin_encoder.c \
1688 src/core/transport/chttp2/frame_data.c \
1689 src/core/transport/chttp2/frame_goaway.c \
1690 src/core/transport/chttp2/frame_ping.c \
1691 src/core/transport/chttp2/frame_rst_stream.c \
1692 src/core/transport/chttp2/frame_settings.c \
1693 src/core/transport/chttp2/frame_window_update.c \
1694 src/core/transport/chttp2/hpack_parser.c \
1695 src/core/transport/chttp2/hpack_table.c \
1696 src/core/transport/chttp2/huffsyms.c \
1697 src/core/transport/chttp2/status_conversion.c \
1698 src/core/transport/chttp2/stream_encoder.c \
1699 src/core/transport/chttp2/stream_map.c \
1700 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001701 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001702 src/core/transport/chttp2_transport.c \
nnoblec87b1c52015-01-05 17:15:18 -08001703 src/core/transport/metadata.c \
1704 src/core/transport/stream_op.c \
1705 src/core/transport/transport.c \
1706 third_party/cJSON/cJSON.c \
1707
1708PUBLIC_HEADERS_C += \
1709 include/grpc/byte_buffer.h \
1710 include/grpc/byte_buffer_reader.h \
1711 include/grpc/grpc.h \
1712 include/grpc/status.h \
1713
ctillercab52e72015-01-06 13:10:23 -08001714LIBGRPC_UNSECURE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_UNSECURE_SRC))))
nnoblec87b1c52015-01-05 17:15:18 -08001715
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001716libs/$(CONFIG)/libgrpc_unsecure.a: $(ZLIB_DEP) $(LIBGRPC_UNSECURE_OBJS)
nnoblec87b1c52015-01-05 17:15:18 -08001717 $(E) "[AR] Creating $@"
1718 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001719 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_unsecure.a $(LIBGRPC_UNSECURE_OBJS)
nnoblec87b1c52015-01-05 17:15:18 -08001720
1721
1722
1723ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001724libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001725 $(E) "[LD] Linking $@"
1726 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001727 $(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 -08001728else
Craig Tillera614caa2015-01-15 09:33:21 -08001729libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001730 $(E) "[LD] Linking $@"
1731 $(Q) mkdir -p `dirname $@`
1732ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001733 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
nnoblec87b1c52015-01-05 17:15:18 -08001734else
ctillercab52e72015-01-06 13:10:23 -08001735 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.0 -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
1736 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.so
nnoblec87b1c52015-01-05 17:15:18 -08001737endif
1738endif
1739
1740
nnoblec87b1c52015-01-05 17:15:18 -08001741ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001742-include $(LIBGRPC_UNSECURE_OBJS:.o=.dep)
nnoblec87b1c52015-01-05 17:15:18 -08001743endif
1744
Craig Tiller27715ca2015-01-12 16:55:59 -08001745objs/$(CONFIG)/src/core/channel/call_op_string.o:
1746objs/$(CONFIG)/src/core/channel/census_filter.o:
1747objs/$(CONFIG)/src/core/channel/channel_args.o:
1748objs/$(CONFIG)/src/core/channel/channel_stack.o:
1749objs/$(CONFIG)/src/core/channel/child_channel.o:
1750objs/$(CONFIG)/src/core/channel/client_channel.o:
1751objs/$(CONFIG)/src/core/channel/client_setup.o:
1752objs/$(CONFIG)/src/core/channel/connected_channel.o:
1753objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1754objs/$(CONFIG)/src/core/channel/http_filter.o:
1755objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1756objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1757objs/$(CONFIG)/src/core/channel/noop_filter.o:
1758objs/$(CONFIG)/src/core/compression/algorithm.o:
1759objs/$(CONFIG)/src/core/compression/message_compress.o:
1760objs/$(CONFIG)/src/core/httpcli/format_request.o:
1761objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1762objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1763objs/$(CONFIG)/src/core/httpcli/parser.o:
1764objs/$(CONFIG)/src/core/iomgr/alarm.o:
1765objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1766objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1767objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1768objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1769objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1770objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
David Klempner7f3ed1e2015-01-16 15:35:56 -08001771objs/$(CONFIG)/src/core/iomgr/pollset_kick_posix.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001772objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1773objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1774objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1775objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1776objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1777objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1778objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1779objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1780objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1781objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1782objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1783objs/$(CONFIG)/src/core/statistics/census_init.o:
1784objs/$(CONFIG)/src/core/statistics/census_log.o:
1785objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1786objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1787objs/$(CONFIG)/src/core/statistics/hash_table.o:
1788objs/$(CONFIG)/src/core/statistics/window_stats.o:
1789objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1790objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1791objs/$(CONFIG)/src/core/surface/call.o:
1792objs/$(CONFIG)/src/core/surface/channel.o:
1793objs/$(CONFIG)/src/core/surface/channel_create.o:
1794objs/$(CONFIG)/src/core/surface/client.o:
1795objs/$(CONFIG)/src/core/surface/completion_queue.o:
1796objs/$(CONFIG)/src/core/surface/event_string.o:
1797objs/$(CONFIG)/src/core/surface/init.o:
1798objs/$(CONFIG)/src/core/surface/lame_client.o:
1799objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1800objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1801objs/$(CONFIG)/src/core/surface/server.o:
1802objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1803objs/$(CONFIG)/src/core/surface/server_create.o:
1804objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1805objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1806objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1807objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1808objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1809objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1810objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1811objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1812objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1813objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1814objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1815objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1816objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1817objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1818objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1819objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1820objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1821objs/$(CONFIG)/src/core/transport/metadata.o:
1822objs/$(CONFIG)/src/core/transport/stream_op.o:
1823objs/$(CONFIG)/src/core/transport/transport.o:
1824objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1825
nnoblec87b1c52015-01-05 17:15:18 -08001826
nnoble5f2ecb32015-01-12 16:40:18 -08001827LIBGPR_TEST_UTIL_SRC = \
1828 test/core/util/test_config.c \
1829
1830
1831LIBGPR_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_TEST_UTIL_SRC))))
nnoble5f2ecb32015-01-12 16:40:18 -08001832
1833ifeq ($(NO_SECURE),true)
1834
Nicolas Noble047b7272015-01-16 13:55:05 -08001835# You can't build secure libraries if you don't have OpenSSL with ALPN.
1836
nnoble5f2ecb32015-01-12 16:40:18 -08001837libs/$(CONFIG)/libgpr_test_util.a: openssl_dep_error
1838
1839
1840else
1841
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001842ifneq ($(OPENSSL_DEP),)
1843test/core/util/test_config.c: $(OPENSSL_DEP)
1844endif
1845
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001846libs/$(CONFIG)/libgpr_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGPR_TEST_UTIL_OBJS)
nnoble5f2ecb32015-01-12 16:40:18 -08001847 $(E) "[AR] Creating $@"
1848 $(Q) mkdir -p `dirname $@`
1849 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr_test_util.a $(LIBGPR_TEST_UTIL_OBJS)
1850
1851
1852
1853
1854
1855endif
1856
nnoble5f2ecb32015-01-12 16:40:18 -08001857ifneq ($(NO_SECURE),true)
1858ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001859-include $(LIBGPR_TEST_UTIL_OBJS:.o=.dep)
nnoble5f2ecb32015-01-12 16:40:18 -08001860endif
1861endif
1862
Craig Tiller770f60a2015-01-12 17:44:43 -08001863objs/$(CONFIG)/test/core/util/test_config.o:
1864
nnoble5f2ecb32015-01-12 16:40:18 -08001865
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001866LIBGRPC_TEST_UTIL_SRC = \
ctiller2bbb6c42014-12-17 09:44:44 -08001867 test/core/end2end/cq_verifier.c \
chenw97fd9e52014-12-19 17:12:36 -08001868 test/core/end2end/data/test_root_cert.c \
1869 test/core/end2end/data/prod_roots_certs.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001870 test/core/end2end/data/server1_cert.c \
1871 test/core/end2end/data/server1_key.c \
1872 test/core/iomgr/endpoint_tests.c \
1873 test/core/statistics/census_log_tests.c \
1874 test/core/transport/transport_end2end_tests.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001875 test/core/util/grpc_profiler.c \
jtattermusch97fb3f62014-12-08 15:13:41 -08001876 test/core/util/port_posix.c \
nnoble5f2ecb32015-01-12 16:40:18 -08001877 test/core/util/parse_hexstring.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001878 test/core/util/slice_splitter.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001879
1880
ctillercab52e72015-01-06 13:10:23 -08001881LIBGRPC_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_TEST_UTIL_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001882
nnoble69ac39f2014-12-12 15:43:38 -08001883ifeq ($(NO_SECURE),true)
1884
Nicolas Noble047b7272015-01-16 13:55:05 -08001885# You can't build secure libraries if you don't have OpenSSL with ALPN.
1886
ctillercab52e72015-01-06 13:10:23 -08001887libs/$(CONFIG)/libgrpc_test_util.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08001888
nnoble5b7f32a2014-12-22 08:12:44 -08001889
nnoble69ac39f2014-12-12 15:43:38 -08001890else
1891
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001892ifneq ($(OPENSSL_DEP),)
1893test/core/end2end/cq_verifier.c: $(OPENSSL_DEP)
1894test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
1895test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
1896test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
1897test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
1898test/core/iomgr/endpoint_tests.c: $(OPENSSL_DEP)
1899test/core/statistics/census_log_tests.c: $(OPENSSL_DEP)
1900test/core/transport/transport_end2end_tests.c: $(OPENSSL_DEP)
1901test/core/util/grpc_profiler.c: $(OPENSSL_DEP)
1902test/core/util/port_posix.c: $(OPENSSL_DEP)
1903test/core/util/parse_hexstring.c: $(OPENSSL_DEP)
1904test/core/util/slice_splitter.c: $(OPENSSL_DEP)
1905endif
1906
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001907libs/$(CONFIG)/libgrpc_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_TEST_UTIL_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001908 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001909 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001910 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_test_util.a $(LIBGRPC_TEST_UTIL_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001911
1912
1913
nnoble5b7f32a2014-12-22 08:12:44 -08001914
1915
nnoble69ac39f2014-12-12 15:43:38 -08001916endif
1917
nnoble69ac39f2014-12-12 15:43:38 -08001918ifneq ($(NO_SECURE),true)
1919ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001920-include $(LIBGRPC_TEST_UTIL_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001921endif
nnoble69ac39f2014-12-12 15:43:38 -08001922endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001923
Craig Tiller27715ca2015-01-12 16:55:59 -08001924objs/$(CONFIG)/test/core/end2end/cq_verifier.o:
1925objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
1926objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
1927objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
1928objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
1929objs/$(CONFIG)/test/core/iomgr/endpoint_tests.o:
1930objs/$(CONFIG)/test/core/statistics/census_log_tests.o:
1931objs/$(CONFIG)/test/core/transport/transport_end2end_tests.o:
1932objs/$(CONFIG)/test/core/util/grpc_profiler.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001933objs/$(CONFIG)/test/core/util/port_posix.o:
Craig Tiller770f60a2015-01-12 17:44:43 -08001934objs/$(CONFIG)/test/core/util/parse_hexstring.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001935objs/$(CONFIG)/test/core/util/slice_splitter.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001936
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001937
1938LIBGRPC++_SRC = \
ctiller2bbb6c42014-12-17 09:44:44 -08001939 src/cpp/client/channel.cc \
yangg59dfc902014-12-19 14:00:14 -08001940 src/cpp/client/channel_arguments.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001941 src/cpp/client/client_context.cc \
1942 src/cpp/client/create_channel.cc \
vpai80b6d012014-12-17 11:47:32 -08001943 src/cpp/client/credentials.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001944 src/cpp/client/internal_stub.cc \
1945 src/cpp/proto/proto_utils.cc \
rsilvera35e7b0c2015-01-12 13:52:04 -08001946 src/cpp/common/rpc_method.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001947 src/cpp/server/async_server.cc \
1948 src/cpp/server/async_server_context.cc \
1949 src/cpp/server/completion_queue.cc \
1950 src/cpp/server/server_builder.cc \
yanggfd2f3ac2014-12-17 16:46:06 -08001951 src/cpp/server/server_context_impl.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001952 src/cpp/server/server.cc \
1953 src/cpp/server/server_rpc_handler.cc \
vpai80b6d012014-12-17 11:47:32 -08001954 src/cpp/server/server_credentials.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001955 src/cpp/server/thread_pool.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001956 src/cpp/stream/stream_context.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001957 src/cpp/util/status.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001958 src/cpp/util/time.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001959
nnoble85a49262014-12-08 18:14:03 -08001960PUBLIC_HEADERS_CXX += \
ctiller2bbb6c42014-12-17 09:44:44 -08001961 include/grpc++/async_server_context.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001962 include/grpc++/async_server.h \
yangg59dfc902014-12-19 14:00:14 -08001963 include/grpc++/channel_arguments.h \
ctiller2bbb6c42014-12-17 09:44:44 -08001964 include/grpc++/channel_interface.h \
1965 include/grpc++/client_context.h \
1966 include/grpc++/completion_queue.h \
1967 include/grpc++/config.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001968 include/grpc++/create_channel.h \
vpai80b6d012014-12-17 11:47:32 -08001969 include/grpc++/credentials.h \
yangg1b151092015-01-09 15:31:05 -08001970 include/grpc++/impl/internal_stub.h \
1971 include/grpc++/impl/rpc_method.h \
1972 include/grpc++/impl/rpc_service_method.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001973 include/grpc++/server_builder.h \
yanggfd2f3ac2014-12-17 16:46:06 -08001974 include/grpc++/server_context.h \
vpai80b6d012014-12-17 11:47:32 -08001975 include/grpc++/server_credentials.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001976 include/grpc++/server.h \
ctiller2bbb6c42014-12-17 09:44:44 -08001977 include/grpc++/status.h \
1978 include/grpc++/stream_context_interface.h \
1979 include/grpc++/stream.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001980
ctillercab52e72015-01-06 13:10:23 -08001981LIBGRPC++_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001982
nnoble69ac39f2014-12-12 15:43:38 -08001983ifeq ($(NO_SECURE),true)
1984
Nicolas Noble047b7272015-01-16 13:55:05 -08001985# You can't build secure libraries if you don't have OpenSSL with ALPN.
1986
ctillercab52e72015-01-06 13:10:23 -08001987libs/$(CONFIG)/libgrpc++.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08001988
nnoble5b7f32a2014-12-22 08:12:44 -08001989ifeq ($(SYSTEM),MINGW32)
ctillercab52e72015-01-06 13:10:23 -08001990libs/$(CONFIG)/grpc++.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001991else
ctillercab52e72015-01-06 13:10:23 -08001992libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001993endif
1994
nnoble69ac39f2014-12-12 15:43:38 -08001995else
1996
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001997ifneq ($(OPENSSL_DEP),)
1998src/cpp/client/channel.cc: $(OPENSSL_DEP)
1999src/cpp/client/channel_arguments.cc: $(OPENSSL_DEP)
2000src/cpp/client/client_context.cc: $(OPENSSL_DEP)
2001src/cpp/client/create_channel.cc: $(OPENSSL_DEP)
2002src/cpp/client/credentials.cc: $(OPENSSL_DEP)
2003src/cpp/client/internal_stub.cc: $(OPENSSL_DEP)
2004src/cpp/proto/proto_utils.cc: $(OPENSSL_DEP)
2005src/cpp/common/rpc_method.cc: $(OPENSSL_DEP)
2006src/cpp/server/async_server.cc: $(OPENSSL_DEP)
2007src/cpp/server/async_server_context.cc: $(OPENSSL_DEP)
2008src/cpp/server/completion_queue.cc: $(OPENSSL_DEP)
2009src/cpp/server/server_builder.cc: $(OPENSSL_DEP)
2010src/cpp/server/server_context_impl.cc: $(OPENSSL_DEP)
2011src/cpp/server/server.cc: $(OPENSSL_DEP)
2012src/cpp/server/server_rpc_handler.cc: $(OPENSSL_DEP)
2013src/cpp/server/server_credentials.cc: $(OPENSSL_DEP)
2014src/cpp/server/thread_pool.cc: $(OPENSSL_DEP)
2015src/cpp/stream/stream_context.cc: $(OPENSSL_DEP)
2016src/cpp/util/status.cc: $(OPENSSL_DEP)
2017src/cpp/util/time.cc: $(OPENSSL_DEP)
2018endif
2019
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002020libs/$(CONFIG)/libgrpc++.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002021 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002022 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002023 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++.a $(LIBGRPC++_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002024
nnoble5b7f32a2014-12-22 08:12:44 -08002025
2026
2027ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002028libs/$(CONFIG)/grpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/grpc.$(SHARED_EXT) $(OPENSSL_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002029 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08002030 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002031 $(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
nnoble5b7f32a2014-12-22 08:12:44 -08002032else
Craig Tillera614caa2015-01-15 09:33:21 -08002033libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(OPENSSL_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08002034 $(E) "[LD] Linking $@"
2035 $(Q) mkdir -p `dirname $@`
2036ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08002037 $(Q) $(LDXX) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgrpc
nnoble5b7f32a2014-12-22 08:12:44 -08002038else
ctillercab52e72015-01-06 13:10:23 -08002039 $(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
2040 $(Q) ln -sf libgrpc++.$(SHARED_EXT) libs/$(CONFIG)/libgrpc++.so
nnoble5b7f32a2014-12-22 08:12:44 -08002041endif
2042endif
2043
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002044
nnoble69ac39f2014-12-12 15:43:38 -08002045endif
2046
nnoble69ac39f2014-12-12 15:43:38 -08002047ifneq ($(NO_SECURE),true)
2048ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002049-include $(LIBGRPC++_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002050endif
nnoble69ac39f2014-12-12 15:43:38 -08002051endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002052
Craig Tiller27715ca2015-01-12 16:55:59 -08002053objs/$(CONFIG)/src/cpp/client/channel.o:
2054objs/$(CONFIG)/src/cpp/client/channel_arguments.o:
2055objs/$(CONFIG)/src/cpp/client/client_context.o:
2056objs/$(CONFIG)/src/cpp/client/create_channel.o:
2057objs/$(CONFIG)/src/cpp/client/credentials.o:
2058objs/$(CONFIG)/src/cpp/client/internal_stub.o:
2059objs/$(CONFIG)/src/cpp/proto/proto_utils.o:
2060objs/$(CONFIG)/src/cpp/common/rpc_method.o:
2061objs/$(CONFIG)/src/cpp/server/async_server.o:
2062objs/$(CONFIG)/src/cpp/server/async_server_context.o:
2063objs/$(CONFIG)/src/cpp/server/completion_queue.o:
2064objs/$(CONFIG)/src/cpp/server/server_builder.o:
2065objs/$(CONFIG)/src/cpp/server/server_context_impl.o:
2066objs/$(CONFIG)/src/cpp/server/server.o:
2067objs/$(CONFIG)/src/cpp/server/server_rpc_handler.o:
2068objs/$(CONFIG)/src/cpp/server/server_credentials.o:
2069objs/$(CONFIG)/src/cpp/server/thread_pool.o:
2070objs/$(CONFIG)/src/cpp/stream/stream_context.o:
2071objs/$(CONFIG)/src/cpp/util/status.o:
2072objs/$(CONFIG)/src/cpp/util/time.o:
2073
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002074
2075LIBGRPC++_TEST_UTIL_SRC = \
yangg1456d152015-01-08 15:39:58 -08002076 gens/test/cpp/util/messages.pb.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08002077 gens/test/cpp/util/echo.pb.cc \
yangg1456d152015-01-08 15:39:58 -08002078 gens/test/cpp/util/echo_duplicate.pb.cc \
yangg59dfc902014-12-19 14:00:14 -08002079 test/cpp/util/create_test_channel.cc \
nnoble4cb93712014-12-17 14:18:08 -08002080 test/cpp/end2end/async_test_server.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002081
2082
ctillercab52e72015-01-06 13:10:23 -08002083LIBGRPC++_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_UTIL_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002084
nnoble69ac39f2014-12-12 15:43:38 -08002085ifeq ($(NO_SECURE),true)
2086
Nicolas Noble047b7272015-01-16 13:55:05 -08002087# You can't build secure libraries if you don't have OpenSSL with ALPN.
2088
ctillercab52e72015-01-06 13:10:23 -08002089libs/$(CONFIG)/libgrpc++_test_util.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002090
nnoble5b7f32a2014-12-22 08:12:44 -08002091
nnoble69ac39f2014-12-12 15:43:38 -08002092else
2093
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002094ifneq ($(OPENSSL_DEP),)
2095test/cpp/util/messages.proto: $(OPENSSL_DEP)
2096test/cpp/util/echo.proto: $(OPENSSL_DEP)
2097test/cpp/util/echo_duplicate.proto: $(OPENSSL_DEP)
2098test/cpp/util/create_test_channel.cc: $(OPENSSL_DEP)
2099test/cpp/end2end/async_test_server.cc: $(OPENSSL_DEP)
2100endif
2101
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002102libs/$(CONFIG)/libgrpc++_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_TEST_UTIL_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002103 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002104 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002105 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++_test_util.a $(LIBGRPC++_TEST_UTIL_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002106
2107
2108
nnoble5b7f32a2014-12-22 08:12:44 -08002109
2110
nnoble69ac39f2014-12-12 15:43:38 -08002111endif
2112
nnoble69ac39f2014-12-12 15:43:38 -08002113ifneq ($(NO_SECURE),true)
2114ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002115-include $(LIBGRPC++_TEST_UTIL_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002116endif
nnoble69ac39f2014-12-12 15:43:38 -08002117endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002118
Craig Tiller27715ca2015-01-12 16:55:59 -08002119
2120
2121
2122objs/$(CONFIG)/test/cpp/util/create_test_channel.o: gens/test/cpp/util/messages.pb.cc gens/test/cpp/util/echo.pb.cc gens/test/cpp/util/echo_duplicate.pb.cc
2123objs/$(CONFIG)/test/cpp/end2end/async_test_server.o: gens/test/cpp/util/messages.pb.cc gens/test/cpp/util/echo.pb.cc gens/test/cpp/util/echo_duplicate.pb.cc
2124
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002125
2126LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC = \
2127 test/core/end2end/fixtures/chttp2_fake_security.c \
2128
2129
ctillercab52e72015-01-06 13:10:23 -08002130LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002131
nnoble69ac39f2014-12-12 15:43:38 -08002132ifeq ($(NO_SECURE),true)
2133
Nicolas Noble047b7272015-01-16 13:55:05 -08002134# You can't build secure libraries if you don't have OpenSSL with ALPN.
2135
ctillercab52e72015-01-06 13:10:23 -08002136libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002137
nnoble5b7f32a2014-12-22 08:12:44 -08002138
nnoble69ac39f2014-12-12 15:43:38 -08002139else
2140
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002141ifneq ($(OPENSSL_DEP),)
2142test/core/end2end/fixtures/chttp2_fake_security.c: $(OPENSSL_DEP)
2143endif
2144
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002145libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002146 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002147 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002148 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002149
2150
2151
nnoble5b7f32a2014-12-22 08:12:44 -08002152
2153
nnoble69ac39f2014-12-12 15:43:38 -08002154endif
2155
nnoble69ac39f2014-12-12 15:43:38 -08002156ifneq ($(NO_SECURE),true)
2157ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002158-include $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002159endif
nnoble69ac39f2014-12-12 15:43:38 -08002160endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002161
Craig Tiller27715ca2015-01-12 16:55:59 -08002162objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fake_security.o:
2163
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002164
2165LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC = \
2166 test/core/end2end/fixtures/chttp2_fullstack.c \
2167
2168
ctillercab52e72015-01-06 13:10:23 -08002169LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002170
nnoble69ac39f2014-12-12 15:43:38 -08002171ifeq ($(NO_SECURE),true)
2172
Nicolas Noble047b7272015-01-16 13:55:05 -08002173# You can't build secure libraries if you don't have OpenSSL with ALPN.
2174
ctillercab52e72015-01-06 13:10:23 -08002175libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002176
nnoble5b7f32a2014-12-22 08:12:44 -08002177
nnoble69ac39f2014-12-12 15:43:38 -08002178else
2179
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002180ifneq ($(OPENSSL_DEP),)
2181test/core/end2end/fixtures/chttp2_fullstack.c: $(OPENSSL_DEP)
2182endif
2183
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002184libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002185 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002186 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002187 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002188
2189
2190
nnoble5b7f32a2014-12-22 08:12:44 -08002191
2192
nnoble69ac39f2014-12-12 15:43:38 -08002193endif
2194
nnoble69ac39f2014-12-12 15:43:38 -08002195ifneq ($(NO_SECURE),true)
2196ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002197-include $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002198endif
nnoble69ac39f2014-12-12 15:43:38 -08002199endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002200
Craig Tiller27715ca2015-01-12 16:55:59 -08002201objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fullstack.o:
2202
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002203
2204LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_SRC = \
2205 test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c \
2206
2207
ctillercab52e72015-01-06 13:10:23 -08002208LIBEND2END_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 -08002209
nnoble69ac39f2014-12-12 15:43:38 -08002210ifeq ($(NO_SECURE),true)
2211
Nicolas Noble047b7272015-01-16 13:55:05 -08002212# You can't build secure libraries if you don't have OpenSSL with ALPN.
2213
ctillercab52e72015-01-06 13:10:23 -08002214libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002215
nnoble5b7f32a2014-12-22 08:12:44 -08002216
nnoble69ac39f2014-12-12 15:43:38 -08002217else
2218
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002219ifneq ($(OPENSSL_DEP),)
2220test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c: $(OPENSSL_DEP)
2221endif
2222
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002223libs/$(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 -08002224 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002225 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002226 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002227
2228
2229
nnoble5b7f32a2014-12-22 08:12:44 -08002230
2231
nnoble69ac39f2014-12-12 15:43:38 -08002232endif
2233
nnoble69ac39f2014-12-12 15:43:38 -08002234ifneq ($(NO_SECURE),true)
2235ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002236-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002237endif
nnoble69ac39f2014-12-12 15:43:38 -08002238endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002239
Craig Tiller27715ca2015-01-12 16:55:59 -08002240objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.o:
2241
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002242
2243LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SRC = \
2244 test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c \
2245
2246
ctillercab52e72015-01-06 13:10:23 -08002247LIBEND2END_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 -08002248
nnoble69ac39f2014-12-12 15:43:38 -08002249ifeq ($(NO_SECURE),true)
2250
Nicolas Noble047b7272015-01-16 13:55:05 -08002251# You can't build secure libraries if you don't have OpenSSL with ALPN.
2252
ctillercab52e72015-01-06 13:10:23 -08002253libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002254
nnoble5b7f32a2014-12-22 08:12:44 -08002255
nnoble69ac39f2014-12-12 15:43:38 -08002256else
2257
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002258ifneq ($(OPENSSL_DEP),)
2259test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c: $(OPENSSL_DEP)
2260endif
2261
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002262libs/$(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 -08002263 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002264 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002265 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002266
2267
2268
nnoble5b7f32a2014-12-22 08:12:44 -08002269
2270
nnoble69ac39f2014-12-12 15:43:38 -08002271endif
2272
nnoble69ac39f2014-12-12 15:43:38 -08002273ifneq ($(NO_SECURE),true)
2274ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002275-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002276endif
nnoble69ac39f2014-12-12 15:43:38 -08002277endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002278
Craig Tiller27715ca2015-01-12 16:55:59 -08002279objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.o:
2280
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002281
2282LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC = \
2283 test/core/end2end/fixtures/chttp2_socket_pair.c \
2284
2285
ctillercab52e72015-01-06 13:10:23 -08002286LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002287
nnoble69ac39f2014-12-12 15:43:38 -08002288ifeq ($(NO_SECURE),true)
2289
Nicolas Noble047b7272015-01-16 13:55:05 -08002290# You can't build secure libraries if you don't have OpenSSL with ALPN.
2291
ctillercab52e72015-01-06 13:10:23 -08002292libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002293
nnoble5b7f32a2014-12-22 08:12:44 -08002294
nnoble69ac39f2014-12-12 15:43:38 -08002295else
2296
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002297ifneq ($(OPENSSL_DEP),)
2298test/core/end2end/fixtures/chttp2_socket_pair.c: $(OPENSSL_DEP)
2299endif
2300
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002301libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002302 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002303 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002304 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002305
2306
2307
nnoble5b7f32a2014-12-22 08:12:44 -08002308
2309
nnoble69ac39f2014-12-12 15:43:38 -08002310endif
2311
nnoble69ac39f2014-12-12 15:43:38 -08002312ifneq ($(NO_SECURE),true)
2313ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002314-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002315endif
nnoble69ac39f2014-12-12 15:43:38 -08002316endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002317
Craig Tiller27715ca2015-01-12 16:55:59 -08002318objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair.o:
2319
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002320
nnoble0c475f02014-12-05 15:37:39 -08002321LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SRC = \
2322 test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c \
2323
2324
ctillercab52e72015-01-06 13:10:23 -08002325LIBEND2END_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 -08002326
nnoble69ac39f2014-12-12 15:43:38 -08002327ifeq ($(NO_SECURE),true)
2328
Nicolas Noble047b7272015-01-16 13:55:05 -08002329# You can't build secure libraries if you don't have OpenSSL with ALPN.
2330
ctillercab52e72015-01-06 13:10:23 -08002331libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002332
nnoble5b7f32a2014-12-22 08:12:44 -08002333
nnoble69ac39f2014-12-12 15:43:38 -08002334else
2335
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002336ifneq ($(OPENSSL_DEP),)
2337test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c: $(OPENSSL_DEP)
2338endif
2339
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002340libs/$(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 -08002341 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002342 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002343 $(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)
nnoble0c475f02014-12-05 15:37:39 -08002344
2345
2346
nnoble5b7f32a2014-12-22 08:12:44 -08002347
2348
nnoble69ac39f2014-12-12 15:43:38 -08002349endif
2350
nnoble69ac39f2014-12-12 15:43:38 -08002351ifneq ($(NO_SECURE),true)
2352ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002353-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08002354endif
nnoble69ac39f2014-12-12 15:43:38 -08002355endif
nnoble0c475f02014-12-05 15:37:39 -08002356
Craig Tiller27715ca2015-01-12 16:55:59 -08002357objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.o:
2358
nnoble0c475f02014-12-05 15:37:39 -08002359
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002360LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC = \
2361 test/core/end2end/tests/cancel_after_accept.c \
2362
2363
ctillercab52e72015-01-06 13:10:23 -08002364LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002365
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002366libs/$(CONFIG)/libend2end_test_cancel_after_accept.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002367 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002368 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002369 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_accept.a $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002370
2371
2372
nnoble5b7f32a2014-12-22 08:12:44 -08002373
2374
nnoble69ac39f2014-12-12 15:43:38 -08002375ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002376-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002377endif
2378
Craig Tiller27715ca2015-01-12 16:55:59 -08002379objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept.o:
2380
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002381
2382LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_SRC = \
2383 test/core/end2end/tests/cancel_after_accept_and_writes_closed.c \
2384
2385
ctillercab52e72015-01-06 13:10:23 -08002386LIBEND2END_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 -08002387
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002388libs/$(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 -08002389 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002390 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002391 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002392
2393
2394
nnoble5b7f32a2014-12-22 08:12:44 -08002395
2396
nnoble69ac39f2014-12-12 15:43:38 -08002397ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002398-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002399endif
2400
Craig Tiller27715ca2015-01-12 16:55:59 -08002401objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept_and_writes_closed.o:
2402
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002403
2404LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC = \
2405 test/core/end2end/tests/cancel_after_invoke.c \
2406
2407
ctillercab52e72015-01-06 13:10:23 -08002408LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002409
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002410libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002411 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002412 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002413 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002414
2415
2416
nnoble5b7f32a2014-12-22 08:12:44 -08002417
2418
nnoble69ac39f2014-12-12 15:43:38 -08002419ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002420-include $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002421endif
2422
Craig Tiller27715ca2015-01-12 16:55:59 -08002423objs/$(CONFIG)/test/core/end2end/tests/cancel_after_invoke.o:
2424
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002425
2426LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC = \
2427 test/core/end2end/tests/cancel_before_invoke.c \
2428
2429
ctillercab52e72015-01-06 13:10:23 -08002430LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002431
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002432libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002433 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002434 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002435 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002436
2437
2438
nnoble5b7f32a2014-12-22 08:12:44 -08002439
2440
nnoble69ac39f2014-12-12 15:43:38 -08002441ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002442-include $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002443endif
2444
Craig Tiller27715ca2015-01-12 16:55:59 -08002445objs/$(CONFIG)/test/core/end2end/tests/cancel_before_invoke.o:
2446
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002447
2448LIBEND2END_TEST_CANCEL_IN_A_VACUUM_SRC = \
2449 test/core/end2end/tests/cancel_in_a_vacuum.c \
2450
2451
ctillercab52e72015-01-06 13:10:23 -08002452LIBEND2END_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 -08002453
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002454libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002455 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002456 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002457 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002458
2459
2460
nnoble5b7f32a2014-12-22 08:12:44 -08002461
2462
nnoble69ac39f2014-12-12 15:43:38 -08002463ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002464-include $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002465endif
2466
Craig Tiller27715ca2015-01-12 16:55:59 -08002467objs/$(CONFIG)/test/core/end2end/tests/cancel_in_a_vacuum.o:
2468
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002469
hongyu24200d32015-01-08 15:13:49 -08002470LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC = \
2471 test/core/end2end/tests/census_simple_request.c \
2472
2473
2474LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08002475
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002476libs/$(CONFIG)/libend2end_test_census_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
hongyu24200d32015-01-08 15:13:49 -08002477 $(E) "[AR] Creating $@"
2478 $(Q) mkdir -p `dirname $@`
2479 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_census_simple_request.a $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
2480
2481
2482
2483
2484
hongyu24200d32015-01-08 15:13:49 -08002485ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002486-include $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08002487endif
2488
Craig Tiller27715ca2015-01-12 16:55:59 -08002489objs/$(CONFIG)/test/core/end2end/tests/census_simple_request.o:
2490
hongyu24200d32015-01-08 15:13:49 -08002491
ctillerc6d61c42014-12-15 14:52:08 -08002492LIBEND2END_TEST_DISAPPEARING_SERVER_SRC = \
2493 test/core/end2end/tests/disappearing_server.c \
2494
2495
ctillercab52e72015-01-06 13:10:23 -08002496LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_DISAPPEARING_SERVER_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08002497
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002498libs/$(CONFIG)/libend2end_test_disappearing_server.a: $(ZLIB_DEP) $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
ctillerc6d61c42014-12-15 14:52:08 -08002499 $(E) "[AR] Creating $@"
2500 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002501 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_disappearing_server.a $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
ctillerc6d61c42014-12-15 14:52:08 -08002502
2503
2504
nnoble5b7f32a2014-12-22 08:12:44 -08002505
2506
ctillerc6d61c42014-12-15 14:52:08 -08002507ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002508-include $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08002509endif
2510
Craig Tiller27715ca2015-01-12 16:55:59 -08002511objs/$(CONFIG)/test/core/end2end/tests/disappearing_server.o:
2512
ctillerc6d61c42014-12-15 14:52:08 -08002513
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002514LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_SRC = \
2515 test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c \
2516
2517
ctillercab52e72015-01-06 13:10:23 -08002518LIBEND2END_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 -08002519
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002520libs/$(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 -08002521 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002522 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002523 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002524
2525
2526
nnoble5b7f32a2014-12-22 08:12:44 -08002527
2528
nnoble69ac39f2014-12-12 15:43:38 -08002529ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002530-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002531endif
2532
Craig Tiller27715ca2015-01-12 16:55:59 -08002533objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.o:
2534
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002535
2536LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_SRC = \
2537 test/core/end2end/tests/early_server_shutdown_finishes_tags.c \
2538
2539
ctillercab52e72015-01-06 13:10:23 -08002540LIBEND2END_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 -08002541
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002542libs/$(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 -08002543 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002544 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002545 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002546
2547
2548
nnoble5b7f32a2014-12-22 08:12:44 -08002549
2550
nnoble69ac39f2014-12-12 15:43:38 -08002551ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002552-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002553endif
2554
Craig Tiller27715ca2015-01-12 16:55:59 -08002555objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_tags.o:
2556
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002557
Craig Tiller4ffdcd52015-01-16 11:34:55 -08002558LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_SRC = \
2559 test/core/end2end/tests/graceful_server_shutdown.c \
2560
2561
2562LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_SRC))))
2563
2564libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a: $(ZLIB_DEP) $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS)
2565 $(E) "[AR] Creating $@"
2566 $(Q) mkdir -p `dirname $@`
2567 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS)
2568
2569
2570
2571
2572
2573ifneq ($(NO_DEPS),true)
2574-include $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS:.o=.dep)
2575endif
2576
2577objs/$(CONFIG)/test/core/end2end/tests/graceful_server_shutdown.o:
2578
2579
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002580LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC = \
2581 test/core/end2end/tests/invoke_large_request.c \
2582
2583
ctillercab52e72015-01-06 13:10:23 -08002584LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002585
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002586libs/$(CONFIG)/libend2end_test_invoke_large_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002587 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002588 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002589 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_invoke_large_request.a $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002590
2591
2592
nnoble5b7f32a2014-12-22 08:12:44 -08002593
2594
nnoble69ac39f2014-12-12 15:43:38 -08002595ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002596-include $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002597endif
2598
Craig Tiller27715ca2015-01-12 16:55:59 -08002599objs/$(CONFIG)/test/core/end2end/tests/invoke_large_request.o:
2600
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002601
2602LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC = \
2603 test/core/end2end/tests/max_concurrent_streams.c \
2604
2605
ctillercab52e72015-01-06 13:10:23 -08002606LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002607
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002608libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a: $(ZLIB_DEP) $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002609 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002610 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002611 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002612
2613
2614
nnoble5b7f32a2014-12-22 08:12:44 -08002615
2616
nnoble69ac39f2014-12-12 15:43:38 -08002617ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002618-include $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002619endif
2620
Craig Tiller27715ca2015-01-12 16:55:59 -08002621objs/$(CONFIG)/test/core/end2end/tests/max_concurrent_streams.o:
2622
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002623
2624LIBEND2END_TEST_NO_OP_SRC = \
2625 test/core/end2end/tests/no_op.c \
2626
2627
ctillercab52e72015-01-06 13:10:23 -08002628LIBEND2END_TEST_NO_OP_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_NO_OP_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002629
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002630libs/$(CONFIG)/libend2end_test_no_op.a: $(ZLIB_DEP) $(LIBEND2END_TEST_NO_OP_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002631 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002632 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002633 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_no_op.a $(LIBEND2END_TEST_NO_OP_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002634
2635
2636
nnoble5b7f32a2014-12-22 08:12:44 -08002637
2638
nnoble69ac39f2014-12-12 15:43:38 -08002639ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002640-include $(LIBEND2END_TEST_NO_OP_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002641endif
2642
Craig Tiller27715ca2015-01-12 16:55:59 -08002643objs/$(CONFIG)/test/core/end2end/tests/no_op.o:
2644
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002645
2646LIBEND2END_TEST_PING_PONG_STREAMING_SRC = \
2647 test/core/end2end/tests/ping_pong_streaming.c \
2648
2649
ctillercab52e72015-01-06 13:10:23 -08002650LIBEND2END_TEST_PING_PONG_STREAMING_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_PING_PONG_STREAMING_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002651
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002652libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a: $(ZLIB_DEP) $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002653 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002654 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002655 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002656
2657
2658
nnoble5b7f32a2014-12-22 08:12:44 -08002659
2660
nnoble69ac39f2014-12-12 15:43:38 -08002661ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002662-include $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002663endif
2664
Craig Tiller27715ca2015-01-12 16:55:59 -08002665objs/$(CONFIG)/test/core/end2end/tests/ping_pong_streaming.o:
2666
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002667
ctiller33023c42014-12-12 16:28:33 -08002668LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_SRC = \
2669 test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c \
2670
2671
ctillercab52e72015-01-06 13:10:23 -08002672LIBEND2END_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 -08002673
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002674libs/$(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 -08002675 $(E) "[AR] Creating $@"
2676 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002677 $(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)
ctiller33023c42014-12-12 16:28:33 -08002678
2679
2680
nnoble5b7f32a2014-12-22 08:12:44 -08002681
2682
ctiller33023c42014-12-12 16:28:33 -08002683ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002684-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08002685endif
2686
Craig Tiller27715ca2015-01-12 16:55:59 -08002687objs/$(CONFIG)/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.o:
2688
ctiller33023c42014-12-12 16:28:33 -08002689
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002690LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_SRC = \
2691 test/core/end2end/tests/request_response_with_metadata_and_payload.c \
2692
2693
ctillercab52e72015-01-06 13:10:23 -08002694LIBEND2END_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 -08002695
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002696libs/$(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 -08002697 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002698 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002699 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002700
2701
2702
nnoble5b7f32a2014-12-22 08:12:44 -08002703
2704
nnoble69ac39f2014-12-12 15:43:38 -08002705ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002706-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002707endif
2708
Craig Tiller27715ca2015-01-12 16:55:59 -08002709objs/$(CONFIG)/test/core/end2end/tests/request_response_with_metadata_and_payload.o:
2710
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002711
2712LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_SRC = \
2713 test/core/end2end/tests/request_response_with_payload.c \
2714
2715
ctillercab52e72015-01-06 13:10:23 -08002716LIBEND2END_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 -08002717
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002718libs/$(CONFIG)/libend2end_test_request_response_with_payload.a: $(ZLIB_DEP) $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002719 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002720 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002721 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002722
2723
2724
nnoble5b7f32a2014-12-22 08:12:44 -08002725
2726
nnoble69ac39f2014-12-12 15:43:38 -08002727ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002728-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002729endif
2730
Craig Tiller27715ca2015-01-12 16:55:59 -08002731objs/$(CONFIG)/test/core/end2end/tests/request_response_with_payload.o:
2732
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002733
ctiller2845cad2014-12-15 15:14:12 -08002734LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_SRC = \
2735 test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c \
2736
2737
ctillercab52e72015-01-06 13:10:23 -08002738LIBEND2END_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 -08002739
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002740libs/$(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 -08002741 $(E) "[AR] Creating $@"
2742 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002743 $(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)
ctiller2845cad2014-12-15 15:14:12 -08002744
2745
2746
nnoble5b7f32a2014-12-22 08:12:44 -08002747
2748
ctiller2845cad2014-12-15 15:14:12 -08002749ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002750-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08002751endif
2752
Craig Tiller27715ca2015-01-12 16:55:59 -08002753objs/$(CONFIG)/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.o:
2754
ctiller2845cad2014-12-15 15:14:12 -08002755
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002756LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC = \
2757 test/core/end2end/tests/simple_delayed_request.c \
2758
2759
ctillercab52e72015-01-06 13:10:23 -08002760LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002761
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002762libs/$(CONFIG)/libend2end_test_simple_delayed_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002763 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002764 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002765 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_delayed_request.a $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002766
2767
2768
nnoble5b7f32a2014-12-22 08:12:44 -08002769
2770
nnoble69ac39f2014-12-12 15:43:38 -08002771ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002772-include $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002773endif
2774
Craig Tiller27715ca2015-01-12 16:55:59 -08002775objs/$(CONFIG)/test/core/end2end/tests/simple_delayed_request.o:
2776
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002777
2778LIBEND2END_TEST_SIMPLE_REQUEST_SRC = \
2779 test/core/end2end/tests/simple_request.c \
2780
2781
ctillercab52e72015-01-06 13:10:23 -08002782LIBEND2END_TEST_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002783
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002784libs/$(CONFIG)/libend2end_test_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002785 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002786 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002787 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_request.a $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002788
2789
2790
nnoble5b7f32a2014-12-22 08:12:44 -08002791
2792
nnoble69ac39f2014-12-12 15:43:38 -08002793ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002794-include $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002795endif
2796
Craig Tiller27715ca2015-01-12 16:55:59 -08002797objs/$(CONFIG)/test/core/end2end/tests/simple_request.o:
2798
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002799
nathaniel52878172014-12-09 10:17:19 -08002800LIBEND2END_TEST_THREAD_STRESS_SRC = \
2801 test/core/end2end/tests/thread_stress.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002802
2803
ctillercab52e72015-01-06 13:10:23 -08002804LIBEND2END_TEST_THREAD_STRESS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_THREAD_STRESS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002805
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002806libs/$(CONFIG)/libend2end_test_thread_stress.a: $(ZLIB_DEP) $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002807 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002808 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002809 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_thread_stress.a $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002810
2811
2812
nnoble5b7f32a2014-12-22 08:12:44 -08002813
2814
nnoble69ac39f2014-12-12 15:43:38 -08002815ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002816-include $(LIBEND2END_TEST_THREAD_STRESS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002817endif
2818
Craig Tiller27715ca2015-01-12 16:55:59 -08002819objs/$(CONFIG)/test/core/end2end/tests/thread_stress.o:
2820
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002821
2822LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_SRC = \
2823 test/core/end2end/tests/writes_done_hangs_with_pending_read.c \
2824
2825
ctillercab52e72015-01-06 13:10:23 -08002826LIBEND2END_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 -08002827
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002828libs/$(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 -08002829 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002830 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002831 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002832
2833
2834
nnoble5b7f32a2014-12-22 08:12:44 -08002835
2836
nnoble69ac39f2014-12-12 15:43:38 -08002837ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002838-include $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002839endif
2840
Craig Tiller27715ca2015-01-12 16:55:59 -08002841objs/$(CONFIG)/test/core/end2end/tests/writes_done_hangs_with_pending_read.o:
2842
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002843
2844LIBEND2END_CERTS_SRC = \
chenw97fd9e52014-12-19 17:12:36 -08002845 test/core/end2end/data/test_root_cert.c \
2846 test/core/end2end/data/prod_roots_certs.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002847 test/core/end2end/data/server1_cert.c \
2848 test/core/end2end/data/server1_key.c \
2849
2850
ctillercab52e72015-01-06 13:10:23 -08002851LIBEND2END_CERTS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_CERTS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002852
nnoble69ac39f2014-12-12 15:43:38 -08002853ifeq ($(NO_SECURE),true)
2854
Nicolas Noble047b7272015-01-16 13:55:05 -08002855# You can't build secure libraries if you don't have OpenSSL with ALPN.
2856
ctillercab52e72015-01-06 13:10:23 -08002857libs/$(CONFIG)/libend2end_certs.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002858
nnoble5b7f32a2014-12-22 08:12:44 -08002859
nnoble69ac39f2014-12-12 15:43:38 -08002860else
2861
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002862ifneq ($(OPENSSL_DEP),)
2863test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
2864test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
2865test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
2866test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
2867endif
2868
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002869libs/$(CONFIG)/libend2end_certs.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_CERTS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002870 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002871 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002872 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_certs.a $(LIBEND2END_CERTS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002873
2874
2875
nnoble5b7f32a2014-12-22 08:12:44 -08002876
2877
nnoble69ac39f2014-12-12 15:43:38 -08002878endif
2879
nnoble69ac39f2014-12-12 15:43:38 -08002880ifneq ($(NO_SECURE),true)
2881ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002882-include $(LIBEND2END_CERTS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002883endif
nnoble69ac39f2014-12-12 15:43:38 -08002884endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002885
Craig Tiller27715ca2015-01-12 16:55:59 -08002886objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
2887objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
2888objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
2889objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
2890
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002891
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002892
nnoble69ac39f2014-12-12 15:43:38 -08002893# All of the test targets, and protoc plugins
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002894
2895
2896GEN_HPACK_TABLES_SRC = \
2897 src/core/transport/chttp2/gen_hpack_tables.c \
2898
ctillercab52e72015-01-06 13:10:23 -08002899GEN_HPACK_TABLES_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_HPACK_TABLES_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002900
nnoble69ac39f2014-12-12 15:43:38 -08002901ifeq ($(NO_SECURE),true)
2902
Nicolas Noble047b7272015-01-16 13:55:05 -08002903# You can't build secure targets if you don't have OpenSSL with ALPN.
2904
ctillercab52e72015-01-06 13:10:23 -08002905bins/$(CONFIG)/gen_hpack_tables: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002906
2907else
2908
ctillercab52e72015-01-06 13:10:23 -08002909bins/$(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 -08002910 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08002911 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002912 $(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 -08002913
nnoble69ac39f2014-12-12 15:43:38 -08002914endif
2915
Craig Tillerd4773f52015-01-12 16:38:47 -08002916objs/$(CONFIG)/src/core/transport/chttp2/gen_hpack_tables.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a
2917
Craig Tiller8f126a62015-01-15 08:50:19 -08002918deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002919
nnoble69ac39f2014-12-12 15:43:38 -08002920ifneq ($(NO_SECURE),true)
2921ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002922-include $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002923endif
nnoble69ac39f2014-12-12 15:43:38 -08002924endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002925
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002926
nnobleebebb7e2014-12-10 16:31:01 -08002927CPP_PLUGIN_SRC = \
Nicolas Noble54f68b62015-01-15 15:38:07 -08002928 src/compiler/cpp_plugin.cc \
2929 src/compiler/cpp_generator.cc \
nnobleebebb7e2014-12-10 16:31:01 -08002930
ctillercab52e72015-01-06 13:10:23 -08002931CPP_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CPP_PLUGIN_SRC))))
nnobleebebb7e2014-12-10 16:31:01 -08002932
ctillercab52e72015-01-06 13:10:23 -08002933bins/$(CONFIG)/cpp_plugin: $(CPP_PLUGIN_OBJS)
nnoble72309c62014-12-12 11:42:26 -08002934 $(E) "[HOSTLD] Linking $@"
nnobleebebb7e2014-12-10 16:31:01 -08002935 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002936 $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(CPP_PLUGIN_OBJS) $(HOST_LDLIBSXX) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o bins/$(CONFIG)/cpp_plugin
nnobleebebb7e2014-12-10 16:31:01 -08002937
Craig Tillerd4773f52015-01-12 16:38:47 -08002938objs/$(CONFIG)/src/compiler/cpp_plugin.o:
2939objs/$(CONFIG)/src/compiler/cpp_generator.o:
2940
Craig Tiller8f126a62015-01-15 08:50:19 -08002941deps_cpp_plugin: $(CPP_PLUGIN_OBJS:.o=.dep)
nnobleebebb7e2014-12-10 16:31:01 -08002942
nnoble69ac39f2014-12-12 15:43:38 -08002943ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002944-include $(CPP_PLUGIN_OBJS:.o=.dep)
nnobleebebb7e2014-12-10 16:31:01 -08002945endif
2946
nnobleebebb7e2014-12-10 16:31:01 -08002947
2948RUBY_PLUGIN_SRC = \
Nicolas Noble54f68b62015-01-15 15:38:07 -08002949 src/compiler/ruby_plugin.cc \
2950 src/compiler/ruby_generator.cc \
nnobleebebb7e2014-12-10 16:31:01 -08002951
ctillercab52e72015-01-06 13:10:23 -08002952RUBY_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RUBY_PLUGIN_SRC))))
nnobleebebb7e2014-12-10 16:31:01 -08002953
ctillercab52e72015-01-06 13:10:23 -08002954bins/$(CONFIG)/ruby_plugin: $(RUBY_PLUGIN_OBJS)
nnoble72309c62014-12-12 11:42:26 -08002955 $(E) "[HOSTLD] Linking $@"
nnobleebebb7e2014-12-10 16:31:01 -08002956 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002957 $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(RUBY_PLUGIN_OBJS) $(HOST_LDLIBSXX) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o bins/$(CONFIG)/ruby_plugin
nnobleebebb7e2014-12-10 16:31:01 -08002958
Craig Tillerd4773f52015-01-12 16:38:47 -08002959objs/$(CONFIG)/src/compiler/ruby_plugin.o:
2960objs/$(CONFIG)/src/compiler/ruby_generator.o:
2961
Craig Tiller8f126a62015-01-15 08:50:19 -08002962deps_ruby_plugin: $(RUBY_PLUGIN_OBJS:.o=.dep)
nnobleebebb7e2014-12-10 16:31:01 -08002963
nnoble69ac39f2014-12-12 15:43:38 -08002964ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002965-include $(RUBY_PLUGIN_OBJS:.o=.dep)
nnobleebebb7e2014-12-10 16:31:01 -08002966endif
2967
nnobleebebb7e2014-12-10 16:31:01 -08002968
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002969GRPC_BYTE_BUFFER_READER_TEST_SRC = \
2970 test/core/surface/byte_buffer_reader_test.c \
2971
ctillercab52e72015-01-06 13:10:23 -08002972GRPC_BYTE_BUFFER_READER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BYTE_BUFFER_READER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002973
nnoble69ac39f2014-12-12 15:43:38 -08002974ifeq ($(NO_SECURE),true)
2975
Nicolas Noble047b7272015-01-16 13:55:05 -08002976# You can't build secure targets if you don't have OpenSSL with ALPN.
2977
ctillercab52e72015-01-06 13:10:23 -08002978bins/$(CONFIG)/grpc_byte_buffer_reader_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002979
2980else
2981
nnoble5f2ecb32015-01-12 16:40:18 -08002982bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002983 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08002984 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08002985 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002986
nnoble69ac39f2014-12-12 15:43:38 -08002987endif
2988
Craig Tiller770f60a2015-01-12 17:44:43 -08002989objs/$(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 -08002990
Craig Tiller8f126a62015-01-15 08:50:19 -08002991deps_grpc_byte_buffer_reader_test: $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002992
nnoble69ac39f2014-12-12 15:43:38 -08002993ifneq ($(NO_SECURE),true)
2994ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002995-include $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002996endif
nnoble69ac39f2014-12-12 15:43:38 -08002997endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002998
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002999
3000GPR_CANCELLABLE_TEST_SRC = \
3001 test/core/support/cancellable_test.c \
3002
ctillercab52e72015-01-06 13:10:23 -08003003GPR_CANCELLABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CANCELLABLE_TEST_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 targets if you don't have OpenSSL with ALPN.
3008
ctillercab52e72015-01-06 13:10:23 -08003009bins/$(CONFIG)/gpr_cancellable_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003010
3011else
3012
nnoble5f2ecb32015-01-12 16:40:18 -08003013bins/$(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 -08003014 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003015 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003016 $(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 -08003017
nnoble69ac39f2014-12-12 15:43:38 -08003018endif
3019
Craig Tiller770f60a2015-01-12 17:44:43 -08003020objs/$(CONFIG)/test/core/support/cancellable_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003021
Craig Tiller8f126a62015-01-15 08:50:19 -08003022deps_gpr_cancellable_test: $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003023
nnoble69ac39f2014-12-12 15:43:38 -08003024ifneq ($(NO_SECURE),true)
3025ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003026-include $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003027endif
nnoble69ac39f2014-12-12 15:43:38 -08003028endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003029
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003030
3031GPR_LOG_TEST_SRC = \
3032 test/core/support/log_test.c \
3033
ctillercab52e72015-01-06 13:10:23 -08003034GPR_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_LOG_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003035
nnoble69ac39f2014-12-12 15:43:38 -08003036ifeq ($(NO_SECURE),true)
3037
Nicolas Noble047b7272015-01-16 13:55:05 -08003038# You can't build secure targets if you don't have OpenSSL with ALPN.
3039
ctillercab52e72015-01-06 13:10:23 -08003040bins/$(CONFIG)/gpr_log_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003041
3042else
3043
nnoble5f2ecb32015-01-12 16:40:18 -08003044bins/$(CONFIG)/gpr_log_test: $(GPR_LOG_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003045 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003046 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003047 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003048
nnoble69ac39f2014-12-12 15:43:38 -08003049endif
3050
Craig Tiller770f60a2015-01-12 17:44:43 -08003051objs/$(CONFIG)/test/core/support/log_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003052
Craig Tiller8f126a62015-01-15 08:50:19 -08003053deps_gpr_log_test: $(GPR_LOG_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003054
nnoble69ac39f2014-12-12 15:43:38 -08003055ifneq ($(NO_SECURE),true)
3056ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003057-include $(GPR_LOG_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003058endif
nnoble69ac39f2014-12-12 15:43:38 -08003059endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003060
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003061
ctiller5e04b132014-12-15 09:24:43 -08003062GPR_USEFUL_TEST_SRC = \
3063 test/core/support/useful_test.c \
3064
ctillercab52e72015-01-06 13:10:23 -08003065GPR_USEFUL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_USEFUL_TEST_SRC))))
ctiller5e04b132014-12-15 09:24:43 -08003066
3067ifeq ($(NO_SECURE),true)
3068
Nicolas Noble047b7272015-01-16 13:55:05 -08003069# You can't build secure targets if you don't have OpenSSL with ALPN.
3070
ctillercab52e72015-01-06 13:10:23 -08003071bins/$(CONFIG)/gpr_useful_test: openssl_dep_error
ctiller5e04b132014-12-15 09:24:43 -08003072
3073else
3074
nnoble5f2ecb32015-01-12 16:40:18 -08003075bins/$(CONFIG)/gpr_useful_test: $(GPR_USEFUL_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller5e04b132014-12-15 09:24:43 -08003076 $(E) "[LD] Linking $@"
3077 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003078 $(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
ctiller5e04b132014-12-15 09:24:43 -08003079
3080endif
3081
Craig Tiller770f60a2015-01-12 17:44:43 -08003082objs/$(CONFIG)/test/core/support/useful_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003083
Craig Tiller8f126a62015-01-15 08:50:19 -08003084deps_gpr_useful_test: $(GPR_USEFUL_TEST_OBJS:.o=.dep)
ctiller5e04b132014-12-15 09:24:43 -08003085
3086ifneq ($(NO_SECURE),true)
3087ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003088-include $(GPR_USEFUL_TEST_OBJS:.o=.dep)
ctiller5e04b132014-12-15 09:24:43 -08003089endif
3090endif
3091
ctiller5e04b132014-12-15 09:24:43 -08003092
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003093GPR_CMDLINE_TEST_SRC = \
3094 test/core/support/cmdline_test.c \
3095
ctillercab52e72015-01-06 13:10:23 -08003096GPR_CMDLINE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CMDLINE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003097
nnoble69ac39f2014-12-12 15:43:38 -08003098ifeq ($(NO_SECURE),true)
3099
Nicolas Noble047b7272015-01-16 13:55:05 -08003100# You can't build secure targets if you don't have OpenSSL with ALPN.
3101
ctillercab52e72015-01-06 13:10:23 -08003102bins/$(CONFIG)/gpr_cmdline_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003103
3104else
3105
nnoble5f2ecb32015-01-12 16:40:18 -08003106bins/$(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 -08003107 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003108 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003109 $(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 -08003110
nnoble69ac39f2014-12-12 15:43:38 -08003111endif
3112
Craig Tiller770f60a2015-01-12 17:44:43 -08003113objs/$(CONFIG)/test/core/support/cmdline_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003114
Craig Tiller8f126a62015-01-15 08:50:19 -08003115deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003116
nnoble69ac39f2014-12-12 15:43:38 -08003117ifneq ($(NO_SECURE),true)
3118ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003119-include $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003120endif
nnoble69ac39f2014-12-12 15:43:38 -08003121endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003122
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003123
3124GPR_HISTOGRAM_TEST_SRC = \
3125 test/core/support/histogram_test.c \
3126
ctillercab52e72015-01-06 13:10:23 -08003127GPR_HISTOGRAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HISTOGRAM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003128
nnoble69ac39f2014-12-12 15:43:38 -08003129ifeq ($(NO_SECURE),true)
3130
Nicolas Noble047b7272015-01-16 13:55:05 -08003131# You can't build secure targets if you don't have OpenSSL with ALPN.
3132
ctillercab52e72015-01-06 13:10:23 -08003133bins/$(CONFIG)/gpr_histogram_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003134
3135else
3136
nnoble5f2ecb32015-01-12 16:40:18 -08003137bins/$(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 -08003138 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003139 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003140 $(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 -08003141
nnoble69ac39f2014-12-12 15:43:38 -08003142endif
3143
Craig Tiller770f60a2015-01-12 17:44:43 -08003144objs/$(CONFIG)/test/core/support/histogram_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003145
Craig Tiller8f126a62015-01-15 08:50:19 -08003146deps_gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003147
nnoble69ac39f2014-12-12 15:43:38 -08003148ifneq ($(NO_SECURE),true)
3149ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003150-include $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003151endif
nnoble69ac39f2014-12-12 15:43:38 -08003152endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003153
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003154
3155GPR_HOST_PORT_TEST_SRC = \
3156 test/core/support/host_port_test.c \
3157
ctillercab52e72015-01-06 13:10:23 -08003158GPR_HOST_PORT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HOST_PORT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003159
nnoble69ac39f2014-12-12 15:43:38 -08003160ifeq ($(NO_SECURE),true)
3161
Nicolas Noble047b7272015-01-16 13:55:05 -08003162# You can't build secure targets if you don't have OpenSSL with ALPN.
3163
ctillercab52e72015-01-06 13:10:23 -08003164bins/$(CONFIG)/gpr_host_port_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003165
3166else
3167
nnoble5f2ecb32015-01-12 16:40:18 -08003168bins/$(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 -08003169 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003170 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003171 $(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 -08003172
nnoble69ac39f2014-12-12 15:43:38 -08003173endif
3174
Craig Tiller770f60a2015-01-12 17:44:43 -08003175objs/$(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 -08003176
Craig Tiller8f126a62015-01-15 08:50:19 -08003177deps_gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003178
nnoble69ac39f2014-12-12 15:43:38 -08003179ifneq ($(NO_SECURE),true)
3180ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003181-include $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003182endif
nnoble69ac39f2014-12-12 15:43:38 -08003183endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003184
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003185
3186GPR_SLICE_BUFFER_TEST_SRC = \
3187 test/core/support/slice_buffer_test.c \
3188
ctillercab52e72015-01-06 13:10:23 -08003189GPR_SLICE_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_BUFFER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003190
nnoble69ac39f2014-12-12 15:43:38 -08003191ifeq ($(NO_SECURE),true)
3192
Nicolas Noble047b7272015-01-16 13:55:05 -08003193# You can't build secure targets if you don't have OpenSSL with ALPN.
3194
ctillercab52e72015-01-06 13:10:23 -08003195bins/$(CONFIG)/gpr_slice_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003196
3197else
3198
nnoble5f2ecb32015-01-12 16:40:18 -08003199bins/$(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 -08003200 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003201 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003202 $(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 -08003203
nnoble69ac39f2014-12-12 15:43:38 -08003204endif
3205
Craig Tiller770f60a2015-01-12 17:44:43 -08003206objs/$(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 -08003207
Craig Tiller8f126a62015-01-15 08:50:19 -08003208deps_gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003209
nnoble69ac39f2014-12-12 15:43:38 -08003210ifneq ($(NO_SECURE),true)
3211ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003212-include $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003213endif
nnoble69ac39f2014-12-12 15:43:38 -08003214endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003215
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003216
3217GPR_SLICE_TEST_SRC = \
3218 test/core/support/slice_test.c \
3219
ctillercab52e72015-01-06 13:10:23 -08003220GPR_SLICE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003221
nnoble69ac39f2014-12-12 15:43:38 -08003222ifeq ($(NO_SECURE),true)
3223
Nicolas Noble047b7272015-01-16 13:55:05 -08003224# You can't build secure targets if you don't have OpenSSL with ALPN.
3225
ctillercab52e72015-01-06 13:10:23 -08003226bins/$(CONFIG)/gpr_slice_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003227
3228else
3229
nnoble5f2ecb32015-01-12 16:40:18 -08003230bins/$(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 -08003231 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003232 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003233 $(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 -08003234
nnoble69ac39f2014-12-12 15:43:38 -08003235endif
3236
Craig Tiller770f60a2015-01-12 17:44:43 -08003237objs/$(CONFIG)/test/core/support/slice_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003238
Craig Tiller8f126a62015-01-15 08:50:19 -08003239deps_gpr_slice_test: $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003240
nnoble69ac39f2014-12-12 15:43:38 -08003241ifneq ($(NO_SECURE),true)
3242ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003243-include $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003244endif
nnoble69ac39f2014-12-12 15:43:38 -08003245endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003246
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003247
3248GPR_STRING_TEST_SRC = \
3249 test/core/support/string_test.c \
3250
ctillercab52e72015-01-06 13:10:23 -08003251GPR_STRING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STRING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003252
nnoble69ac39f2014-12-12 15:43:38 -08003253ifeq ($(NO_SECURE),true)
3254
Nicolas Noble047b7272015-01-16 13:55:05 -08003255# You can't build secure targets if you don't have OpenSSL with ALPN.
3256
ctillercab52e72015-01-06 13:10:23 -08003257bins/$(CONFIG)/gpr_string_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003258
3259else
3260
nnoble5f2ecb32015-01-12 16:40:18 -08003261bins/$(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 -08003262 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003263 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003264 $(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 -08003265
nnoble69ac39f2014-12-12 15:43:38 -08003266endif
3267
Craig Tiller770f60a2015-01-12 17:44:43 -08003268objs/$(CONFIG)/test/core/support/string_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003269
Craig Tiller8f126a62015-01-15 08:50:19 -08003270deps_gpr_string_test: $(GPR_STRING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003271
nnoble69ac39f2014-12-12 15:43:38 -08003272ifneq ($(NO_SECURE),true)
3273ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003274-include $(GPR_STRING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003275endif
nnoble69ac39f2014-12-12 15:43:38 -08003276endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003277
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003278
3279GPR_SYNC_TEST_SRC = \
3280 test/core/support/sync_test.c \
3281
ctillercab52e72015-01-06 13:10:23 -08003282GPR_SYNC_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SYNC_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003283
nnoble69ac39f2014-12-12 15:43:38 -08003284ifeq ($(NO_SECURE),true)
3285
Nicolas Noble047b7272015-01-16 13:55:05 -08003286# You can't build secure targets if you don't have OpenSSL with ALPN.
3287
ctillercab52e72015-01-06 13:10:23 -08003288bins/$(CONFIG)/gpr_sync_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003289
3290else
3291
nnoble5f2ecb32015-01-12 16:40:18 -08003292bins/$(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 -08003293 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003294 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003295 $(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 -08003296
nnoble69ac39f2014-12-12 15:43:38 -08003297endif
3298
Craig Tiller770f60a2015-01-12 17:44:43 -08003299objs/$(CONFIG)/test/core/support/sync_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003300
Craig Tiller8f126a62015-01-15 08:50:19 -08003301deps_gpr_sync_test: $(GPR_SYNC_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003302
nnoble69ac39f2014-12-12 15:43:38 -08003303ifneq ($(NO_SECURE),true)
3304ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003305-include $(GPR_SYNC_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003306endif
nnoble69ac39f2014-12-12 15:43:38 -08003307endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003308
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003309
3310GPR_THD_TEST_SRC = \
3311 test/core/support/thd_test.c \
3312
ctillercab52e72015-01-06 13:10:23 -08003313GPR_THD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_THD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003314
nnoble69ac39f2014-12-12 15:43:38 -08003315ifeq ($(NO_SECURE),true)
3316
Nicolas Noble047b7272015-01-16 13:55:05 -08003317# You can't build secure targets if you don't have OpenSSL with ALPN.
3318
ctillercab52e72015-01-06 13:10:23 -08003319bins/$(CONFIG)/gpr_thd_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003320
3321else
3322
nnoble5f2ecb32015-01-12 16:40:18 -08003323bins/$(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 -08003324 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003325 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003326 $(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 -08003327
nnoble69ac39f2014-12-12 15:43:38 -08003328endif
3329
Craig Tiller770f60a2015-01-12 17:44:43 -08003330objs/$(CONFIG)/test/core/support/thd_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003331
Craig Tiller8f126a62015-01-15 08:50:19 -08003332deps_gpr_thd_test: $(GPR_THD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003333
nnoble69ac39f2014-12-12 15:43:38 -08003334ifneq ($(NO_SECURE),true)
3335ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003336-include $(GPR_THD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003337endif
nnoble69ac39f2014-12-12 15:43:38 -08003338endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003339
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003340
3341GPR_TIME_TEST_SRC = \
3342 test/core/support/time_test.c \
3343
ctillercab52e72015-01-06 13:10:23 -08003344GPR_TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_TIME_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003345
nnoble69ac39f2014-12-12 15:43:38 -08003346ifeq ($(NO_SECURE),true)
3347
Nicolas Noble047b7272015-01-16 13:55:05 -08003348# You can't build secure targets if you don't have OpenSSL with ALPN.
3349
ctillercab52e72015-01-06 13:10:23 -08003350bins/$(CONFIG)/gpr_time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003351
3352else
3353
nnoble5f2ecb32015-01-12 16:40:18 -08003354bins/$(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 -08003355 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003356 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003357 $(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 -08003358
nnoble69ac39f2014-12-12 15:43:38 -08003359endif
3360
Craig Tiller770f60a2015-01-12 17:44:43 -08003361objs/$(CONFIG)/test/core/support/time_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003362
Craig Tiller8f126a62015-01-15 08:50:19 -08003363deps_gpr_time_test: $(GPR_TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003364
nnoble69ac39f2014-12-12 15:43:38 -08003365ifneq ($(NO_SECURE),true)
3366ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003367-include $(GPR_TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003368endif
nnoble69ac39f2014-12-12 15:43:38 -08003369endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003370
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003371
3372MURMUR_HASH_TEST_SRC = \
3373 test/core/support/murmur_hash_test.c \
3374
ctillercab52e72015-01-06 13:10:23 -08003375MURMUR_HASH_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MURMUR_HASH_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003376
nnoble69ac39f2014-12-12 15:43:38 -08003377ifeq ($(NO_SECURE),true)
3378
Nicolas Noble047b7272015-01-16 13:55:05 -08003379# You can't build secure targets if you don't have OpenSSL with ALPN.
3380
ctillercab52e72015-01-06 13:10:23 -08003381bins/$(CONFIG)/murmur_hash_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003382
3383else
3384
nnoble5f2ecb32015-01-12 16:40:18 -08003385bins/$(CONFIG)/murmur_hash_test: $(MURMUR_HASH_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003386 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003387 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003388 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003389
nnoble69ac39f2014-12-12 15:43:38 -08003390endif
3391
Craig Tiller770f60a2015-01-12 17:44:43 -08003392objs/$(CONFIG)/test/core/support/murmur_hash_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003393
Craig Tiller8f126a62015-01-15 08:50:19 -08003394deps_murmur_hash_test: $(MURMUR_HASH_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003395
nnoble69ac39f2014-12-12 15:43:38 -08003396ifneq ($(NO_SECURE),true)
3397ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003398-include $(MURMUR_HASH_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003399endif
nnoble69ac39f2014-12-12 15:43:38 -08003400endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003401
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003402
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003403GRPC_STREAM_OP_TEST_SRC = \
3404 test/core/transport/stream_op_test.c \
3405
ctillercab52e72015-01-06 13:10:23 -08003406GRPC_STREAM_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_STREAM_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003407
nnoble69ac39f2014-12-12 15:43:38 -08003408ifeq ($(NO_SECURE),true)
3409
Nicolas Noble047b7272015-01-16 13:55:05 -08003410# You can't build secure targets if you don't have OpenSSL with ALPN.
3411
ctillercab52e72015-01-06 13:10:23 -08003412bins/$(CONFIG)/grpc_stream_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003413
3414else
3415
nnoble5f2ecb32015-01-12 16:40:18 -08003416bins/$(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 -08003417 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003418 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003419 $(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 -08003420
nnoble69ac39f2014-12-12 15:43:38 -08003421endif
3422
Craig Tiller770f60a2015-01-12 17:44:43 -08003423objs/$(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 -08003424
Craig Tiller8f126a62015-01-15 08:50:19 -08003425deps_grpc_stream_op_test: $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003426
nnoble69ac39f2014-12-12 15:43:38 -08003427ifneq ($(NO_SECURE),true)
3428ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003429-include $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003430endif
nnoble69ac39f2014-12-12 15:43:38 -08003431endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003432
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003433
nnoble0c475f02014-12-05 15:37:39 -08003434ALPN_TEST_SRC = \
3435 test/core/transport/chttp2/alpn_test.c \
3436
ctillercab52e72015-01-06 13:10:23 -08003437ALPN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALPN_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08003438
nnoble69ac39f2014-12-12 15:43:38 -08003439ifeq ($(NO_SECURE),true)
3440
Nicolas Noble047b7272015-01-16 13:55:05 -08003441# You can't build secure targets if you don't have OpenSSL with ALPN.
3442
ctillercab52e72015-01-06 13:10:23 -08003443bins/$(CONFIG)/alpn_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003444
3445else
3446
nnoble5f2ecb32015-01-12 16:40:18 -08003447bins/$(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
nnoble0c475f02014-12-05 15:37:39 -08003448 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003449 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003450 $(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
nnoble0c475f02014-12-05 15:37:39 -08003451
nnoble69ac39f2014-12-12 15:43:38 -08003452endif
3453
Craig Tiller770f60a2015-01-12 17:44:43 -08003454objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08003455
Craig Tiller8f126a62015-01-15 08:50:19 -08003456deps_alpn_test: $(ALPN_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003457
nnoble69ac39f2014-12-12 15:43:38 -08003458ifneq ($(NO_SECURE),true)
3459ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003460-include $(ALPN_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003461endif
nnoble69ac39f2014-12-12 15:43:38 -08003462endif
nnoble0c475f02014-12-05 15:37:39 -08003463
nnoble0c475f02014-12-05 15:37:39 -08003464
ctillerc1ddffb2014-12-15 13:08:18 -08003465TIME_AVERAGED_STATS_TEST_SRC = \
3466 test/core/iomgr/time_averaged_stats_test.c \
3467
ctillercab52e72015-01-06 13:10:23 -08003468TIME_AVERAGED_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_AVERAGED_STATS_TEST_SRC))))
ctillerc1ddffb2014-12-15 13:08:18 -08003469
3470ifeq ($(NO_SECURE),true)
3471
Nicolas Noble047b7272015-01-16 13:55:05 -08003472# You can't build secure targets if you don't have OpenSSL with ALPN.
3473
ctillercab52e72015-01-06 13:10:23 -08003474bins/$(CONFIG)/time_averaged_stats_test: openssl_dep_error
ctillerc1ddffb2014-12-15 13:08:18 -08003475
3476else
3477
nnoble5f2ecb32015-01-12 16:40:18 -08003478bins/$(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
ctillerc1ddffb2014-12-15 13:08:18 -08003479 $(E) "[LD] Linking $@"
3480 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003481 $(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
ctillerc1ddffb2014-12-15 13:08:18 -08003482
3483endif
3484
Craig Tiller770f60a2015-01-12 17:44:43 -08003485objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08003486
Craig Tiller8f126a62015-01-15 08:50:19 -08003487deps_time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
ctillerc1ddffb2014-12-15 13:08:18 -08003488
3489ifneq ($(NO_SECURE),true)
3490ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003491-include $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
ctillerc1ddffb2014-12-15 13:08:18 -08003492endif
3493endif
3494
ctillerc1ddffb2014-12-15 13:08:18 -08003495
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003496CHTTP2_STREAM_ENCODER_TEST_SRC = \
3497 test/core/transport/chttp2/stream_encoder_test.c \
3498
ctillercab52e72015-01-06 13:10:23 -08003499CHTTP2_STREAM_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_ENCODER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003500
nnoble69ac39f2014-12-12 15:43:38 -08003501ifeq ($(NO_SECURE),true)
3502
Nicolas Noble047b7272015-01-16 13:55:05 -08003503# You can't build secure targets if you don't have OpenSSL with ALPN.
3504
ctillercab52e72015-01-06 13:10:23 -08003505bins/$(CONFIG)/chttp2_stream_encoder_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003506
3507else
3508
nnoble5f2ecb32015-01-12 16:40:18 -08003509bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003510 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003511 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003512 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003513
nnoble69ac39f2014-12-12 15:43:38 -08003514endif
3515
Craig Tiller770f60a2015-01-12 17:44:43 -08003516objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08003517
Craig Tiller8f126a62015-01-15 08:50:19 -08003518deps_chttp2_stream_encoder_test: $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003519
nnoble69ac39f2014-12-12 15:43:38 -08003520ifneq ($(NO_SECURE),true)
3521ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003522-include $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003523endif
nnoble69ac39f2014-12-12 15:43:38 -08003524endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003525
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003526
3527HPACK_TABLE_TEST_SRC = \
3528 test/core/transport/chttp2/hpack_table_test.c \
3529
ctillercab52e72015-01-06 13:10:23 -08003530HPACK_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_TABLE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003531
nnoble69ac39f2014-12-12 15:43:38 -08003532ifeq ($(NO_SECURE),true)
3533
Nicolas Noble047b7272015-01-16 13:55:05 -08003534# You can't build secure targets if you don't have OpenSSL with ALPN.
3535
ctillercab52e72015-01-06 13:10:23 -08003536bins/$(CONFIG)/hpack_table_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003537
3538else
3539
nnoble5f2ecb32015-01-12 16:40:18 -08003540bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003541 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003542 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003543 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003544
nnoble69ac39f2014-12-12 15:43:38 -08003545endif
3546
Craig Tiller770f60a2015-01-12 17:44:43 -08003547objs/$(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 -08003548
Craig Tiller8f126a62015-01-15 08:50:19 -08003549deps_hpack_table_test: $(HPACK_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003550
nnoble69ac39f2014-12-12 15:43:38 -08003551ifneq ($(NO_SECURE),true)
3552ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003553-include $(HPACK_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003554endif
nnoble69ac39f2014-12-12 15:43:38 -08003555endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003556
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003557
3558CHTTP2_STREAM_MAP_TEST_SRC = \
3559 test/core/transport/chttp2/stream_map_test.c \
3560
ctillercab52e72015-01-06 13:10:23 -08003561CHTTP2_STREAM_MAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_MAP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003562
nnoble69ac39f2014-12-12 15:43:38 -08003563ifeq ($(NO_SECURE),true)
3564
Nicolas Noble047b7272015-01-16 13:55:05 -08003565# You can't build secure targets if you don't have OpenSSL with ALPN.
3566
ctillercab52e72015-01-06 13:10:23 -08003567bins/$(CONFIG)/chttp2_stream_map_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003568
3569else
3570
nnoble5f2ecb32015-01-12 16:40:18 -08003571bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003572 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003573 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003574 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003575
nnoble69ac39f2014-12-12 15:43:38 -08003576endif
3577
Craig Tiller770f60a2015-01-12 17:44:43 -08003578objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08003579
Craig Tiller8f126a62015-01-15 08:50:19 -08003580deps_chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003581
nnoble69ac39f2014-12-12 15:43:38 -08003582ifneq ($(NO_SECURE),true)
3583ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003584-include $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003585endif
nnoble69ac39f2014-12-12 15:43:38 -08003586endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003587
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003588
3589HPACK_PARSER_TEST_SRC = \
3590 test/core/transport/chttp2/hpack_parser_test.c \
3591
ctillercab52e72015-01-06 13:10:23 -08003592HPACK_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003593
nnoble69ac39f2014-12-12 15:43:38 -08003594ifeq ($(NO_SECURE),true)
3595
Nicolas Noble047b7272015-01-16 13:55:05 -08003596# You can't build secure targets if you don't have OpenSSL with ALPN.
3597
ctillercab52e72015-01-06 13:10:23 -08003598bins/$(CONFIG)/hpack_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003599
3600else
3601
nnoble5f2ecb32015-01-12 16:40:18 -08003602bins/$(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 -08003603 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003604 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003605 $(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 -08003606
nnoble69ac39f2014-12-12 15:43:38 -08003607endif
3608
Craig Tiller770f60a2015-01-12 17:44:43 -08003609objs/$(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 -08003610
Craig Tiller8f126a62015-01-15 08:50:19 -08003611deps_hpack_parser_test: $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003612
nnoble69ac39f2014-12-12 15:43:38 -08003613ifneq ($(NO_SECURE),true)
3614ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003615-include $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003616endif
nnoble69ac39f2014-12-12 15:43:38 -08003617endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003618
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003619
3620TRANSPORT_METADATA_TEST_SRC = \
3621 test/core/transport/metadata_test.c \
3622
ctillercab52e72015-01-06 13:10:23 -08003623TRANSPORT_METADATA_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_METADATA_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003624
nnoble69ac39f2014-12-12 15:43:38 -08003625ifeq ($(NO_SECURE),true)
3626
Nicolas Noble047b7272015-01-16 13:55:05 -08003627# You can't build secure targets if you don't have OpenSSL with ALPN.
3628
ctillercab52e72015-01-06 13:10:23 -08003629bins/$(CONFIG)/transport_metadata_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003630
3631else
3632
nnoble5f2ecb32015-01-12 16:40:18 -08003633bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003634 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003635 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003636 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003637
nnoble69ac39f2014-12-12 15:43:38 -08003638endif
3639
Craig Tiller770f60a2015-01-12 17:44:43 -08003640objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08003641
Craig Tiller8f126a62015-01-15 08:50:19 -08003642deps_transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003643
nnoble69ac39f2014-12-12 15:43:38 -08003644ifneq ($(NO_SECURE),true)
3645ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003646-include $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003647endif
nnoble69ac39f2014-12-12 15:43:38 -08003648endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003649
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003650
3651CHTTP2_STATUS_CONVERSION_TEST_SRC = \
3652 test/core/transport/chttp2/status_conversion_test.c \
3653
ctillercab52e72015-01-06 13:10:23 -08003654CHTTP2_STATUS_CONVERSION_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STATUS_CONVERSION_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003655
nnoble69ac39f2014-12-12 15:43:38 -08003656ifeq ($(NO_SECURE),true)
3657
Nicolas Noble047b7272015-01-16 13:55:05 -08003658# You can't build secure targets if you don't have OpenSSL with ALPN.
3659
ctillercab52e72015-01-06 13:10:23 -08003660bins/$(CONFIG)/chttp2_status_conversion_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003661
3662else
3663
nnoble5f2ecb32015-01-12 16:40:18 -08003664bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003665 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003666 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003667 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003668
nnoble69ac39f2014-12-12 15:43:38 -08003669endif
3670
Craig Tiller770f60a2015-01-12 17:44:43 -08003671objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08003672
Craig Tiller8f126a62015-01-15 08:50:19 -08003673deps_chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003674
nnoble69ac39f2014-12-12 15:43:38 -08003675ifneq ($(NO_SECURE),true)
3676ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003677-include $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003678endif
nnoble69ac39f2014-12-12 15:43:38 -08003679endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003680
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003681
3682CHTTP2_TRANSPORT_END2END_TEST_SRC = \
3683 test/core/transport/chttp2_transport_end2end_test.c \
3684
ctillercab52e72015-01-06 13:10:23 -08003685CHTTP2_TRANSPORT_END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_TRANSPORT_END2END_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003686
nnoble69ac39f2014-12-12 15:43:38 -08003687ifeq ($(NO_SECURE),true)
3688
Nicolas Noble047b7272015-01-16 13:55:05 -08003689# You can't build secure targets if you don't have OpenSSL with ALPN.
3690
ctillercab52e72015-01-06 13:10:23 -08003691bins/$(CONFIG)/chttp2_transport_end2end_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003692
3693else
3694
nnoble5f2ecb32015-01-12 16:40:18 -08003695bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003696 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003697 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003698 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003699
nnoble69ac39f2014-12-12 15:43:38 -08003700endif
3701
Craig Tiller770f60a2015-01-12 17:44:43 -08003702objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08003703
Craig Tiller8f126a62015-01-15 08:50:19 -08003704deps_chttp2_transport_end2end_test: $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003705
nnoble69ac39f2014-12-12 15:43:38 -08003706ifneq ($(NO_SECURE),true)
3707ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003708-include $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003709endif
nnoble69ac39f2014-12-12 15:43:38 -08003710endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003711
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003712
ctiller18b49ab2014-12-09 14:39:16 -08003713TCP_POSIX_TEST_SRC = \
3714 test/core/iomgr/tcp_posix_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003715
ctillercab52e72015-01-06 13:10:23 -08003716TCP_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_POSIX_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003717
nnoble69ac39f2014-12-12 15:43:38 -08003718ifeq ($(NO_SECURE),true)
3719
Nicolas Noble047b7272015-01-16 13:55:05 -08003720# You can't build secure targets if you don't have OpenSSL with ALPN.
3721
ctillercab52e72015-01-06 13:10:23 -08003722bins/$(CONFIG)/tcp_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003723
3724else
3725
nnoble5f2ecb32015-01-12 16:40:18 -08003726bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003727 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003728 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003729 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003730
nnoble69ac39f2014-12-12 15:43:38 -08003731endif
3732
Craig Tiller770f60a2015-01-12 17:44:43 -08003733objs/$(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 -08003734
Craig Tiller8f126a62015-01-15 08:50:19 -08003735deps_tcp_posix_test: $(TCP_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003736
nnoble69ac39f2014-12-12 15:43:38 -08003737ifneq ($(NO_SECURE),true)
3738ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003739-include $(TCP_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003740endif
nnoble69ac39f2014-12-12 15:43:38 -08003741endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003742
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003743
nnoble0c475f02014-12-05 15:37:39 -08003744DUALSTACK_SOCKET_TEST_SRC = \
3745 test/core/end2end/dualstack_socket_test.c \
3746
ctillercab52e72015-01-06 13:10:23 -08003747DUALSTACK_SOCKET_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(DUALSTACK_SOCKET_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08003748
nnoble69ac39f2014-12-12 15:43:38 -08003749ifeq ($(NO_SECURE),true)
3750
Nicolas Noble047b7272015-01-16 13:55:05 -08003751# You can't build secure targets if you don't have OpenSSL with ALPN.
3752
ctillercab52e72015-01-06 13:10:23 -08003753bins/$(CONFIG)/dualstack_socket_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003754
3755else
3756
nnoble5f2ecb32015-01-12 16:40:18 -08003757bins/$(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
nnoble0c475f02014-12-05 15:37:39 -08003758 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003759 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003760 $(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
nnoble0c475f02014-12-05 15:37:39 -08003761
nnoble69ac39f2014-12-12 15:43:38 -08003762endif
3763
Craig Tiller770f60a2015-01-12 17:44:43 -08003764objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08003765
Craig Tiller8f126a62015-01-15 08:50:19 -08003766deps_dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003767
nnoble69ac39f2014-12-12 15:43:38 -08003768ifneq ($(NO_SECURE),true)
3769ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003770-include $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003771endif
nnoble69ac39f2014-12-12 15:43:38 -08003772endif
nnoble0c475f02014-12-05 15:37:39 -08003773
nnoble0c475f02014-12-05 15:37:39 -08003774
3775NO_SERVER_TEST_SRC = \
3776 test/core/end2end/no_server_test.c \
3777
ctillercab52e72015-01-06 13:10:23 -08003778NO_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(NO_SERVER_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08003779
nnoble69ac39f2014-12-12 15:43:38 -08003780ifeq ($(NO_SECURE),true)
3781
Nicolas Noble047b7272015-01-16 13:55:05 -08003782# You can't build secure targets if you don't have OpenSSL with ALPN.
3783
ctillercab52e72015-01-06 13:10:23 -08003784bins/$(CONFIG)/no_server_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003785
3786else
3787
nnoble5f2ecb32015-01-12 16:40:18 -08003788bins/$(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
nnoble0c475f02014-12-05 15:37:39 -08003789 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003790 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003791 $(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
nnoble0c475f02014-12-05 15:37:39 -08003792
nnoble69ac39f2014-12-12 15:43:38 -08003793endif
3794
Craig Tiller770f60a2015-01-12 17:44:43 -08003795objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08003796
Craig Tiller8f126a62015-01-15 08:50:19 -08003797deps_no_server_test: $(NO_SERVER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003798
nnoble69ac39f2014-12-12 15:43:38 -08003799ifneq ($(NO_SECURE),true)
3800ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003801-include $(NO_SERVER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003802endif
nnoble69ac39f2014-12-12 15:43:38 -08003803endif
nnoble0c475f02014-12-05 15:37:39 -08003804
nnoble0c475f02014-12-05 15:37:39 -08003805
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003806RESOLVE_ADDRESS_TEST_SRC = \
ctiller18b49ab2014-12-09 14:39:16 -08003807 test/core/iomgr/resolve_address_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003808
ctillercab52e72015-01-06 13:10:23 -08003809RESOLVE_ADDRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003810
nnoble69ac39f2014-12-12 15:43:38 -08003811ifeq ($(NO_SECURE),true)
3812
Nicolas Noble047b7272015-01-16 13:55:05 -08003813# You can't build secure targets if you don't have OpenSSL with ALPN.
3814
ctillercab52e72015-01-06 13:10:23 -08003815bins/$(CONFIG)/resolve_address_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003816
3817else
3818
nnoble5f2ecb32015-01-12 16:40:18 -08003819bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003820 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003821 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003822 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003823
nnoble69ac39f2014-12-12 15:43:38 -08003824endif
3825
Craig Tiller770f60a2015-01-12 17:44:43 -08003826objs/$(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 -08003827
Craig Tiller8f126a62015-01-15 08:50:19 -08003828deps_resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003829
nnoble69ac39f2014-12-12 15:43:38 -08003830ifneq ($(NO_SECURE),true)
3831ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003832-include $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003833endif
nnoble69ac39f2014-12-12 15:43:38 -08003834endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003835
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003836
ctiller18b49ab2014-12-09 14:39:16 -08003837SOCKADDR_UTILS_TEST_SRC = \
3838 test/core/iomgr/sockaddr_utils_test.c \
nnoble0c475f02014-12-05 15:37:39 -08003839
ctillercab52e72015-01-06 13:10:23 -08003840SOCKADDR_UTILS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKADDR_UTILS_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08003841
nnoble69ac39f2014-12-12 15:43:38 -08003842ifeq ($(NO_SECURE),true)
3843
Nicolas Noble047b7272015-01-16 13:55:05 -08003844# You can't build secure targets if you don't have OpenSSL with ALPN.
3845
ctillercab52e72015-01-06 13:10:23 -08003846bins/$(CONFIG)/sockaddr_utils_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003847
3848else
3849
nnoble5f2ecb32015-01-12 16:40:18 -08003850bins/$(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
nnoble0c475f02014-12-05 15:37:39 -08003851 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003852 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003853 $(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
nnoble0c475f02014-12-05 15:37:39 -08003854
nnoble69ac39f2014-12-12 15:43:38 -08003855endif
3856
Craig Tiller770f60a2015-01-12 17:44:43 -08003857objs/$(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 -08003858
Craig Tiller8f126a62015-01-15 08:50:19 -08003859deps_sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003860
nnoble69ac39f2014-12-12 15:43:38 -08003861ifneq ($(NO_SECURE),true)
3862ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003863-include $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003864endif
nnoble69ac39f2014-12-12 15:43:38 -08003865endif
nnoble0c475f02014-12-05 15:37:39 -08003866
nnoble0c475f02014-12-05 15:37:39 -08003867
ctiller18b49ab2014-12-09 14:39:16 -08003868TCP_SERVER_POSIX_TEST_SRC = \
3869 test/core/iomgr/tcp_server_posix_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003870
ctillercab52e72015-01-06 13:10:23 -08003871TCP_SERVER_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_SERVER_POSIX_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003872
nnoble69ac39f2014-12-12 15:43:38 -08003873ifeq ($(NO_SECURE),true)
3874
Nicolas Noble047b7272015-01-16 13:55:05 -08003875# You can't build secure targets if you don't have OpenSSL with ALPN.
3876
ctillercab52e72015-01-06 13:10:23 -08003877bins/$(CONFIG)/tcp_server_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003878
3879else
3880
nnoble5f2ecb32015-01-12 16:40:18 -08003881bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003882 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003883 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003884 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003885
nnoble69ac39f2014-12-12 15:43:38 -08003886endif
3887
Craig Tiller770f60a2015-01-12 17:44:43 -08003888objs/$(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 -08003889
Craig Tiller8f126a62015-01-15 08:50:19 -08003890deps_tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003891
nnoble69ac39f2014-12-12 15:43:38 -08003892ifneq ($(NO_SECURE),true)
3893ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003894-include $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003895endif
nnoble69ac39f2014-12-12 15:43:38 -08003896endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003897
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003898
ctiller18b49ab2014-12-09 14:39:16 -08003899TCP_CLIENT_POSIX_TEST_SRC = \
3900 test/core/iomgr/tcp_client_posix_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003901
ctillercab52e72015-01-06 13:10:23 -08003902TCP_CLIENT_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_CLIENT_POSIX_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003903
nnoble69ac39f2014-12-12 15:43:38 -08003904ifeq ($(NO_SECURE),true)
3905
Nicolas Noble047b7272015-01-16 13:55:05 -08003906# You can't build secure targets if you don't have OpenSSL with ALPN.
3907
ctillercab52e72015-01-06 13:10:23 -08003908bins/$(CONFIG)/tcp_client_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003909
3910else
3911
nnoble5f2ecb32015-01-12 16:40:18 -08003912bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003913 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003914 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003915 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003916
nnoble69ac39f2014-12-12 15:43:38 -08003917endif
3918
Craig Tiller770f60a2015-01-12 17:44:43 -08003919objs/$(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 -08003920
Craig Tiller8f126a62015-01-15 08:50:19 -08003921deps_tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003922
nnoble69ac39f2014-12-12 15:43:38 -08003923ifneq ($(NO_SECURE),true)
3924ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003925-include $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003926endif
nnoble69ac39f2014-12-12 15:43:38 -08003927endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003928
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003929
3930GRPC_CHANNEL_STACK_TEST_SRC = \
3931 test/core/channel/channel_stack_test.c \
3932
ctillercab52e72015-01-06 13:10:23 -08003933GRPC_CHANNEL_STACK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CHANNEL_STACK_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003934
nnoble69ac39f2014-12-12 15:43:38 -08003935ifeq ($(NO_SECURE),true)
3936
Nicolas Noble047b7272015-01-16 13:55:05 -08003937# You can't build secure targets if you don't have OpenSSL with ALPN.
3938
ctillercab52e72015-01-06 13:10:23 -08003939bins/$(CONFIG)/grpc_channel_stack_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003940
3941else
3942
nnoble5f2ecb32015-01-12 16:40:18 -08003943bins/$(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 -08003944 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003945 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003946 $(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 -08003947
nnoble69ac39f2014-12-12 15:43:38 -08003948endif
3949
Craig Tiller770f60a2015-01-12 17:44:43 -08003950objs/$(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 -08003951
Craig Tiller8f126a62015-01-15 08:50:19 -08003952deps_grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003953
nnoble69ac39f2014-12-12 15:43:38 -08003954ifneq ($(NO_SECURE),true)
3955ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003956-include $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003957endif
nnoble69ac39f2014-12-12 15:43:38 -08003958endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003959
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003960
3961METADATA_BUFFER_TEST_SRC = \
3962 test/core/channel/metadata_buffer_test.c \
3963
ctillercab52e72015-01-06 13:10:23 -08003964METADATA_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(METADATA_BUFFER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003965
nnoble69ac39f2014-12-12 15:43:38 -08003966ifeq ($(NO_SECURE),true)
3967
Nicolas Noble047b7272015-01-16 13:55:05 -08003968# You can't build secure targets if you don't have OpenSSL with ALPN.
3969
ctillercab52e72015-01-06 13:10:23 -08003970bins/$(CONFIG)/metadata_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003971
3972else
3973
nnoble5f2ecb32015-01-12 16:40:18 -08003974bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003975 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003976 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003977 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003978
nnoble69ac39f2014-12-12 15:43:38 -08003979endif
3980
Craig Tiller770f60a2015-01-12 17:44:43 -08003981objs/$(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 -08003982
Craig Tiller8f126a62015-01-15 08:50:19 -08003983deps_metadata_buffer_test: $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003984
nnoble69ac39f2014-12-12 15:43:38 -08003985ifneq ($(NO_SECURE),true)
3986ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003987-include $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003988endif
nnoble69ac39f2014-12-12 15:43:38 -08003989endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003990
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003991
3992GRPC_COMPLETION_QUEUE_TEST_SRC = \
3993 test/core/surface/completion_queue_test.c \
3994
ctillercab52e72015-01-06 13:10:23 -08003995GRPC_COMPLETION_QUEUE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003996
nnoble69ac39f2014-12-12 15:43:38 -08003997ifeq ($(NO_SECURE),true)
3998
Nicolas Noble047b7272015-01-16 13:55:05 -08003999# You can't build secure targets if you don't have OpenSSL with ALPN.
4000
ctillercab52e72015-01-06 13:10:23 -08004001bins/$(CONFIG)/grpc_completion_queue_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004002
4003else
4004
nnoble5f2ecb32015-01-12 16:40:18 -08004005bins/$(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 -08004006 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004007 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004008 $(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 -08004009
nnoble69ac39f2014-12-12 15:43:38 -08004010endif
4011
Craig Tiller770f60a2015-01-12 17:44:43 -08004012objs/$(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 -08004013
Craig Tiller8f126a62015-01-15 08:50:19 -08004014deps_grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004015
nnoble69ac39f2014-12-12 15:43:38 -08004016ifneq ($(NO_SECURE),true)
4017ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004018-include $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004019endif
nnoble69ac39f2014-12-12 15:43:38 -08004020endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004021
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004022
4023GRPC_COMPLETION_QUEUE_BENCHMARK_SRC = \
4024 test/core/surface/completion_queue_benchmark.c \
4025
ctillercab52e72015-01-06 13:10:23 -08004026GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004027
nnoble69ac39f2014-12-12 15:43:38 -08004028ifeq ($(NO_SECURE),true)
4029
Nicolas Noble047b7272015-01-16 13:55:05 -08004030# You can't build secure targets if you don't have OpenSSL with ALPN.
4031
ctillercab52e72015-01-06 13:10:23 -08004032bins/$(CONFIG)/grpc_completion_queue_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004033
4034else
4035
nnoble5f2ecb32015-01-12 16:40:18 -08004036bins/$(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 -08004037 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004038 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004039 $(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 -08004040
nnoble69ac39f2014-12-12 15:43:38 -08004041endif
4042
Craig Tiller770f60a2015-01-12 17:44:43 -08004043objs/$(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 -08004044
Craig Tiller8f126a62015-01-15 08:50:19 -08004045deps_grpc_completion_queue_benchmark: $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004046
nnoble69ac39f2014-12-12 15:43:38 -08004047ifneq ($(NO_SECURE),true)
4048ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004049-include $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004050endif
nnoble69ac39f2014-12-12 15:43:38 -08004051endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004052
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004053
hongyu24200d32015-01-08 15:13:49 -08004054CENSUS_TRACE_STORE_TEST_SRC = \
4055 test/core/statistics/trace_test.c \
4056
4057CENSUS_TRACE_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_TRACE_STORE_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004058
4059ifeq ($(NO_SECURE),true)
4060
Nicolas Noble047b7272015-01-16 13:55:05 -08004061# You can't build secure targets if you don't have OpenSSL with ALPN.
4062
hongyu24200d32015-01-08 15:13:49 -08004063bins/$(CONFIG)/census_trace_store_test: openssl_dep_error
4064
4065else
4066
nnoble5f2ecb32015-01-12 16:40:18 -08004067bins/$(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
hongyu24200d32015-01-08 15:13:49 -08004068 $(E) "[LD] Linking $@"
4069 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004070 $(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
hongyu24200d32015-01-08 15:13:49 -08004071
4072endif
4073
Craig Tiller770f60a2015-01-12 17:44:43 -08004074objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004075
Craig Tiller8f126a62015-01-15 08:50:19 -08004076deps_census_trace_store_test: $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004077
4078ifneq ($(NO_SECURE),true)
4079ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004080-include $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004081endif
4082endif
4083
hongyu24200d32015-01-08 15:13:49 -08004084
4085CENSUS_STATS_STORE_TEST_SRC = \
4086 test/core/statistics/rpc_stats_test.c \
4087
4088CENSUS_STATS_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATS_STORE_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004089
4090ifeq ($(NO_SECURE),true)
4091
Nicolas Noble047b7272015-01-16 13:55:05 -08004092# You can't build secure targets if you don't have OpenSSL with ALPN.
4093
hongyu24200d32015-01-08 15:13:49 -08004094bins/$(CONFIG)/census_stats_store_test: openssl_dep_error
4095
4096else
4097
nnoble5f2ecb32015-01-12 16:40:18 -08004098bins/$(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
hongyu24200d32015-01-08 15:13:49 -08004099 $(E) "[LD] Linking $@"
4100 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004101 $(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
hongyu24200d32015-01-08 15:13:49 -08004102
4103endif
4104
Craig Tiller770f60a2015-01-12 17:44:43 -08004105objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004106
Craig Tiller8f126a62015-01-15 08:50:19 -08004107deps_census_stats_store_test: $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004108
4109ifneq ($(NO_SECURE),true)
4110ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004111-include $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004112endif
4113endif
4114
hongyu24200d32015-01-08 15:13:49 -08004115
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004116CENSUS_WINDOW_STATS_TEST_SRC = \
4117 test/core/statistics/window_stats_test.c \
4118
ctillercab52e72015-01-06 13:10:23 -08004119CENSUS_WINDOW_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_WINDOW_STATS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004120
nnoble69ac39f2014-12-12 15:43:38 -08004121ifeq ($(NO_SECURE),true)
4122
Nicolas Noble047b7272015-01-16 13:55:05 -08004123# You can't build secure targets if you don't have OpenSSL with ALPN.
4124
ctillercab52e72015-01-06 13:10:23 -08004125bins/$(CONFIG)/census_window_stats_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004126
4127else
4128
nnoble5f2ecb32015-01-12 16:40:18 -08004129bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004130 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004131 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004132 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004133
nnoble69ac39f2014-12-12 15:43:38 -08004134endif
4135
Craig Tiller770f60a2015-01-12 17:44:43 -08004136objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004137
Craig Tiller8f126a62015-01-15 08:50:19 -08004138deps_census_window_stats_test: $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004139
nnoble69ac39f2014-12-12 15:43:38 -08004140ifneq ($(NO_SECURE),true)
4141ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004142-include $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004143endif
nnoble69ac39f2014-12-12 15:43:38 -08004144endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004145
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004146
4147CENSUS_STATISTICS_QUICK_TEST_SRC = \
4148 test/core/statistics/quick_test.c \
4149
ctillercab52e72015-01-06 13:10:23 -08004150CENSUS_STATISTICS_QUICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_QUICK_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004151
nnoble69ac39f2014-12-12 15:43:38 -08004152ifeq ($(NO_SECURE),true)
4153
Nicolas Noble047b7272015-01-16 13:55:05 -08004154# You can't build secure targets if you don't have OpenSSL with ALPN.
4155
ctillercab52e72015-01-06 13:10:23 -08004156bins/$(CONFIG)/census_statistics_quick_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004157
4158else
4159
nnoble5f2ecb32015-01-12 16:40:18 -08004160bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004161 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004162 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004163 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004164
nnoble69ac39f2014-12-12 15:43:38 -08004165endif
4166
Craig Tiller770f60a2015-01-12 17:44:43 -08004167objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004168
Craig Tiller8f126a62015-01-15 08:50:19 -08004169deps_census_statistics_quick_test: $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004170
nnoble69ac39f2014-12-12 15:43:38 -08004171ifneq ($(NO_SECURE),true)
4172ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004173-include $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004174endif
nnoble69ac39f2014-12-12 15:43:38 -08004175endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004176
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004177
aveitch482a5be2014-12-15 10:25:12 -08004178CENSUS_STATISTICS_SMALL_LOG_TEST_SRC = \
4179 test/core/statistics/small_log_test.c \
4180
ctillercab52e72015-01-06 13:10:23 -08004181CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_SMALL_LOG_TEST_SRC))))
aveitch482a5be2014-12-15 10:25:12 -08004182
4183ifeq ($(NO_SECURE),true)
4184
Nicolas Noble047b7272015-01-16 13:55:05 -08004185# You can't build secure targets if you don't have OpenSSL with ALPN.
4186
ctillercab52e72015-01-06 13:10:23 -08004187bins/$(CONFIG)/census_statistics_small_log_test: openssl_dep_error
aveitch482a5be2014-12-15 10:25:12 -08004188
4189else
4190
nnoble5f2ecb32015-01-12 16:40:18 -08004191bins/$(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
aveitch482a5be2014-12-15 10:25:12 -08004192 $(E) "[LD] Linking $@"
4193 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004194 $(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
aveitch482a5be2014-12-15 10:25:12 -08004195
4196endif
4197
Craig Tiller770f60a2015-01-12 17:44:43 -08004198objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004199
Craig Tiller8f126a62015-01-15 08:50:19 -08004200deps_census_statistics_small_log_test: $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
aveitch482a5be2014-12-15 10:25:12 -08004201
4202ifneq ($(NO_SECURE),true)
4203ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004204-include $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
aveitch482a5be2014-12-15 10:25:12 -08004205endif
4206endif
4207
aveitch482a5be2014-12-15 10:25:12 -08004208
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004209CENSUS_STATISTICS_PERFORMANCE_TEST_SRC = \
4210 test/core/statistics/performance_test.c \
4211
ctillercab52e72015-01-06 13:10:23 -08004212CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_PERFORMANCE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004213
nnoble69ac39f2014-12-12 15:43:38 -08004214ifeq ($(NO_SECURE),true)
4215
Nicolas Noble047b7272015-01-16 13:55:05 -08004216# You can't build secure targets if you don't have OpenSSL with ALPN.
4217
ctillercab52e72015-01-06 13:10:23 -08004218bins/$(CONFIG)/census_statistics_performance_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004219
4220else
4221
nnoble5f2ecb32015-01-12 16:40:18 -08004222bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004223 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004224 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004225 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004226
nnoble69ac39f2014-12-12 15:43:38 -08004227endif
4228
Craig Tiller770f60a2015-01-12 17:44:43 -08004229objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004230
Craig Tiller8f126a62015-01-15 08:50:19 -08004231deps_census_statistics_performance_test: $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004232
nnoble69ac39f2014-12-12 15:43:38 -08004233ifneq ($(NO_SECURE),true)
4234ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004235-include $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004236endif
nnoble69ac39f2014-12-12 15:43:38 -08004237endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004238
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004239
4240CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC = \
4241 test/core/statistics/multiple_writers_test.c \
4242
ctillercab52e72015-01-06 13:10:23 -08004243CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004244
nnoble69ac39f2014-12-12 15:43:38 -08004245ifeq ($(NO_SECURE),true)
4246
Nicolas Noble047b7272015-01-16 13:55:05 -08004247# You can't build secure targets if you don't have OpenSSL with ALPN.
4248
ctillercab52e72015-01-06 13:10:23 -08004249bins/$(CONFIG)/census_statistics_multiple_writers_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004250
4251else
4252
nnoble5f2ecb32015-01-12 16:40:18 -08004253bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004254 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004255 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004256 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004257
nnoble69ac39f2014-12-12 15:43:38 -08004258endif
4259
Craig Tiller770f60a2015-01-12 17:44:43 -08004260objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004261
Craig Tiller8f126a62015-01-15 08:50:19 -08004262deps_census_statistics_multiple_writers_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004263
nnoble69ac39f2014-12-12 15:43:38 -08004264ifneq ($(NO_SECURE),true)
4265ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004266-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004267endif
nnoble69ac39f2014-12-12 15:43:38 -08004268endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004269
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004270
4271CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_SRC = \
4272 test/core/statistics/multiple_writers_circular_buffer_test.c \
4273
ctillercab52e72015-01-06 13:10:23 -08004274CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004275
nnoble69ac39f2014-12-12 15:43:38 -08004276ifeq ($(NO_SECURE),true)
4277
Nicolas Noble047b7272015-01-16 13:55:05 -08004278# You can't build secure targets if you don't have OpenSSL with ALPN.
4279
ctillercab52e72015-01-06 13:10:23 -08004280bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004281
4282else
4283
nnoble5f2ecb32015-01-12 16:40:18 -08004284bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004285 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004286 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004287 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004288
nnoble69ac39f2014-12-12 15:43:38 -08004289endif
4290
Craig Tiller770f60a2015-01-12 17:44:43 -08004291objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004292
Craig Tiller8f126a62015-01-15 08:50:19 -08004293deps_census_statistics_multiple_writers_circular_buffer_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004294
nnoble69ac39f2014-12-12 15:43:38 -08004295ifneq ($(NO_SECURE),true)
4296ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004297-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004298endif
nnoble69ac39f2014-12-12 15:43:38 -08004299endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004300
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004301
4302CENSUS_STUB_TEST_SRC = \
4303 test/core/statistics/census_stub_test.c \
4304
ctillercab52e72015-01-06 13:10:23 -08004305CENSUS_STUB_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STUB_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004306
nnoble69ac39f2014-12-12 15:43:38 -08004307ifeq ($(NO_SECURE),true)
4308
Nicolas Noble047b7272015-01-16 13:55:05 -08004309# You can't build secure targets if you don't have OpenSSL with ALPN.
4310
ctillercab52e72015-01-06 13:10:23 -08004311bins/$(CONFIG)/census_stub_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004312
4313else
4314
nnoble5f2ecb32015-01-12 16:40:18 -08004315bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004316 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004317 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004318 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004319
nnoble69ac39f2014-12-12 15:43:38 -08004320endif
4321
Craig Tiller770f60a2015-01-12 17:44:43 -08004322objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004323
Craig Tiller8f126a62015-01-15 08:50:19 -08004324deps_census_stub_test: $(CENSUS_STUB_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004325
nnoble69ac39f2014-12-12 15:43:38 -08004326ifneq ($(NO_SECURE),true)
4327ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004328-include $(CENSUS_STUB_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004329endif
nnoble69ac39f2014-12-12 15:43:38 -08004330endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004331
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004332
4333CENSUS_HASH_TABLE_TEST_SRC = \
4334 test/core/statistics/hash_table_test.c \
4335
ctillercab52e72015-01-06 13:10:23 -08004336CENSUS_HASH_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_HASH_TABLE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004337
nnoble69ac39f2014-12-12 15:43:38 -08004338ifeq ($(NO_SECURE),true)
4339
Nicolas Noble047b7272015-01-16 13:55:05 -08004340# You can't build secure targets if you don't have OpenSSL with ALPN.
4341
ctillercab52e72015-01-06 13:10:23 -08004342bins/$(CONFIG)/census_hash_table_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004343
4344else
4345
nnoble5f2ecb32015-01-12 16:40:18 -08004346bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004347 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004348 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004349 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004350
nnoble69ac39f2014-12-12 15:43:38 -08004351endif
4352
Craig Tiller770f60a2015-01-12 17:44:43 -08004353objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004354
Craig Tiller8f126a62015-01-15 08:50:19 -08004355deps_census_hash_table_test: $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004356
nnoble69ac39f2014-12-12 15:43:38 -08004357ifneq ($(NO_SECURE),true)
4358ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004359-include $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004360endif
nnoble69ac39f2014-12-12 15:43:38 -08004361endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004362
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004363
4364FLING_SERVER_SRC = \
4365 test/core/fling/server.c \
4366
ctillercab52e72015-01-06 13:10:23 -08004367FLING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_SERVER_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004368
nnoble69ac39f2014-12-12 15:43:38 -08004369ifeq ($(NO_SECURE),true)
4370
Nicolas Noble047b7272015-01-16 13:55:05 -08004371# You can't build secure targets if you don't have OpenSSL with ALPN.
4372
ctillercab52e72015-01-06 13:10:23 -08004373bins/$(CONFIG)/fling_server: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004374
4375else
4376
nnoble5f2ecb32015-01-12 16:40:18 -08004377bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004378 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004379 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004380 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004381
nnoble69ac39f2014-12-12 15:43:38 -08004382endif
4383
Craig Tiller770f60a2015-01-12 17:44:43 -08004384objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004385
Craig Tiller8f126a62015-01-15 08:50:19 -08004386deps_fling_server: $(FLING_SERVER_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004387
nnoble69ac39f2014-12-12 15:43:38 -08004388ifneq ($(NO_SECURE),true)
4389ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004390-include $(FLING_SERVER_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004391endif
nnoble69ac39f2014-12-12 15:43:38 -08004392endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004393
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004394
4395FLING_CLIENT_SRC = \
4396 test/core/fling/client.c \
4397
ctillercab52e72015-01-06 13:10:23 -08004398FLING_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_CLIENT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004399
nnoble69ac39f2014-12-12 15:43:38 -08004400ifeq ($(NO_SECURE),true)
4401
Nicolas Noble047b7272015-01-16 13:55:05 -08004402# You can't build secure targets if you don't have OpenSSL with ALPN.
4403
ctillercab52e72015-01-06 13:10:23 -08004404bins/$(CONFIG)/fling_client: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004405
4406else
4407
nnoble5f2ecb32015-01-12 16:40:18 -08004408bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004409 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004410 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004411 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004412
nnoble69ac39f2014-12-12 15:43:38 -08004413endif
4414
Craig Tiller770f60a2015-01-12 17:44:43 -08004415objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004416
Craig Tiller8f126a62015-01-15 08:50:19 -08004417deps_fling_client: $(FLING_CLIENT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004418
nnoble69ac39f2014-12-12 15:43:38 -08004419ifneq ($(NO_SECURE),true)
4420ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004421-include $(FLING_CLIENT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004422endif
nnoble69ac39f2014-12-12 15:43:38 -08004423endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004424
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004425
4426FLING_TEST_SRC = \
4427 test/core/fling/fling_test.c \
4428
ctillercab52e72015-01-06 13:10:23 -08004429FLING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004430
nnoble69ac39f2014-12-12 15:43:38 -08004431ifeq ($(NO_SECURE),true)
4432
Nicolas Noble047b7272015-01-16 13:55:05 -08004433# You can't build secure targets if you don't have OpenSSL with ALPN.
4434
ctillercab52e72015-01-06 13:10:23 -08004435bins/$(CONFIG)/fling_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004436
4437else
4438
nnoble5f2ecb32015-01-12 16:40:18 -08004439bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004440 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004441 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004442 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004443
nnoble69ac39f2014-12-12 15:43:38 -08004444endif
4445
Craig Tiller770f60a2015-01-12 17:44:43 -08004446objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004447
Craig Tiller8f126a62015-01-15 08:50:19 -08004448deps_fling_test: $(FLING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004449
nnoble69ac39f2014-12-12 15:43:38 -08004450ifneq ($(NO_SECURE),true)
4451ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004452-include $(FLING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004453endif
nnoble69ac39f2014-12-12 15:43:38 -08004454endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004455
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004456
4457ECHO_SERVER_SRC = \
4458 test/core/echo/server.c \
4459
ctillercab52e72015-01-06 13:10:23 -08004460ECHO_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_SERVER_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004461
nnoble69ac39f2014-12-12 15:43:38 -08004462ifeq ($(NO_SECURE),true)
4463
Nicolas Noble047b7272015-01-16 13:55:05 -08004464# You can't build secure targets if you don't have OpenSSL with ALPN.
4465
ctillercab52e72015-01-06 13:10:23 -08004466bins/$(CONFIG)/echo_server: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004467
4468else
4469
nnoble5f2ecb32015-01-12 16:40:18 -08004470bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004471 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004472 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004473 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004474
nnoble69ac39f2014-12-12 15:43:38 -08004475endif
4476
Craig Tiller770f60a2015-01-12 17:44:43 -08004477objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004478
Craig Tiller8f126a62015-01-15 08:50:19 -08004479deps_echo_server: $(ECHO_SERVER_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004480
nnoble69ac39f2014-12-12 15:43:38 -08004481ifneq ($(NO_SECURE),true)
4482ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004483-include $(ECHO_SERVER_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004484endif
nnoble69ac39f2014-12-12 15:43:38 -08004485endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004486
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004487
4488ECHO_CLIENT_SRC = \
4489 test/core/echo/client.c \
4490
ctillercab52e72015-01-06 13:10:23 -08004491ECHO_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_CLIENT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004492
nnoble69ac39f2014-12-12 15:43:38 -08004493ifeq ($(NO_SECURE),true)
4494
Nicolas Noble047b7272015-01-16 13:55:05 -08004495# You can't build secure targets if you don't have OpenSSL with ALPN.
4496
ctillercab52e72015-01-06 13:10:23 -08004497bins/$(CONFIG)/echo_client: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004498
4499else
4500
nnoble5f2ecb32015-01-12 16:40:18 -08004501bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004502 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004503 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004504 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004505
nnoble69ac39f2014-12-12 15:43:38 -08004506endif
4507
Craig Tiller770f60a2015-01-12 17:44:43 -08004508objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004509
Craig Tiller8f126a62015-01-15 08:50:19 -08004510deps_echo_client: $(ECHO_CLIENT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004511
nnoble69ac39f2014-12-12 15:43:38 -08004512ifneq ($(NO_SECURE),true)
4513ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004514-include $(ECHO_CLIENT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004515endif
nnoble69ac39f2014-12-12 15:43:38 -08004516endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004517
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004518
4519ECHO_TEST_SRC = \
4520 test/core/echo/echo_test.c \
4521
ctillercab52e72015-01-06 13:10:23 -08004522ECHO_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004523
nnoble69ac39f2014-12-12 15:43:38 -08004524ifeq ($(NO_SECURE),true)
4525
Nicolas Noble047b7272015-01-16 13:55:05 -08004526# You can't build secure targets if you don't have OpenSSL with ALPN.
4527
ctillercab52e72015-01-06 13:10:23 -08004528bins/$(CONFIG)/echo_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004529
4530else
4531
nnoble5f2ecb32015-01-12 16:40:18 -08004532bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004533 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004534 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004535 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004536
nnoble69ac39f2014-12-12 15:43:38 -08004537endif
4538
Craig Tiller770f60a2015-01-12 17:44:43 -08004539objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004540
Craig Tiller8f126a62015-01-15 08:50:19 -08004541deps_echo_test: $(ECHO_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004542
nnoble69ac39f2014-12-12 15:43:38 -08004543ifneq ($(NO_SECURE),true)
4544ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004545-include $(ECHO_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004546endif
nnoble69ac39f2014-12-12 15:43:38 -08004547endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004548
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004549
4550LOW_LEVEL_PING_PONG_BENCHMARK_SRC = \
4551 test/core/network_benchmarks/low_level_ping_pong.c \
4552
ctillercab52e72015-01-06 13:10:23 -08004553LOW_LEVEL_PING_PONG_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LOW_LEVEL_PING_PONG_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004554
nnoble69ac39f2014-12-12 15:43:38 -08004555ifeq ($(NO_SECURE),true)
4556
Nicolas Noble047b7272015-01-16 13:55:05 -08004557# You can't build secure targets if you don't have OpenSSL with ALPN.
4558
ctillercab52e72015-01-06 13:10:23 -08004559bins/$(CONFIG)/low_level_ping_pong_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004560
4561else
4562
nnoble5f2ecb32015-01-12 16:40:18 -08004563bins/$(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 -08004564 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004565 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004566 $(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 -08004567
nnoble69ac39f2014-12-12 15:43:38 -08004568endif
4569
Craig Tiller770f60a2015-01-12 17:44:43 -08004570objs/$(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 -08004571
Craig Tiller8f126a62015-01-15 08:50:19 -08004572deps_low_level_ping_pong_benchmark: $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004573
nnoble69ac39f2014-12-12 15:43:38 -08004574ifneq ($(NO_SECURE),true)
4575ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004576-include $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004577endif
nnoble69ac39f2014-12-12 15:43:38 -08004578endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004579
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004580
4581MESSAGE_COMPRESS_TEST_SRC = \
4582 test/core/compression/message_compress_test.c \
4583
ctillercab52e72015-01-06 13:10:23 -08004584MESSAGE_COMPRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MESSAGE_COMPRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004585
nnoble69ac39f2014-12-12 15:43:38 -08004586ifeq ($(NO_SECURE),true)
4587
Nicolas Noble047b7272015-01-16 13:55:05 -08004588# You can't build secure targets if you don't have OpenSSL with ALPN.
4589
ctillercab52e72015-01-06 13:10:23 -08004590bins/$(CONFIG)/message_compress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004591
4592else
4593
nnoble5f2ecb32015-01-12 16:40:18 -08004594bins/$(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 -08004595 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004596 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004597 $(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 -08004598
nnoble69ac39f2014-12-12 15:43:38 -08004599endif
4600
Craig Tiller770f60a2015-01-12 17:44:43 -08004601objs/$(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 -08004602
Craig Tiller8f126a62015-01-15 08:50:19 -08004603deps_message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004604
nnoble69ac39f2014-12-12 15:43:38 -08004605ifneq ($(NO_SECURE),true)
4606ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004607-include $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004608endif
nnoble69ac39f2014-12-12 15:43:38 -08004609endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004610
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004611
nnoble0c475f02014-12-05 15:37:39 -08004612BIN_ENCODER_TEST_SRC = \
4613 test/core/transport/chttp2/bin_encoder_test.c \
4614
ctillercab52e72015-01-06 13:10:23 -08004615BIN_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(BIN_ENCODER_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08004616
nnoble69ac39f2014-12-12 15:43:38 -08004617ifeq ($(NO_SECURE),true)
4618
Nicolas Noble047b7272015-01-16 13:55:05 -08004619# You can't build secure targets if you don't have OpenSSL with ALPN.
4620
ctillercab52e72015-01-06 13:10:23 -08004621bins/$(CONFIG)/bin_encoder_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004622
4623else
4624
nnoble5f2ecb32015-01-12 16:40:18 -08004625bins/$(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
nnoble0c475f02014-12-05 15:37:39 -08004626 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004627 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004628 $(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
nnoble0c475f02014-12-05 15:37:39 -08004629
nnoble69ac39f2014-12-12 15:43:38 -08004630endif
4631
Craig Tiller770f60a2015-01-12 17:44:43 -08004632objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004633
Craig Tiller8f126a62015-01-15 08:50:19 -08004634deps_bin_encoder_test: $(BIN_ENCODER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08004635
nnoble69ac39f2014-12-12 15:43:38 -08004636ifneq ($(NO_SECURE),true)
4637ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004638-include $(BIN_ENCODER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08004639endif
nnoble69ac39f2014-12-12 15:43:38 -08004640endif
nnoble0c475f02014-12-05 15:37:39 -08004641
nnoble0c475f02014-12-05 15:37:39 -08004642
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004643SECURE_ENDPOINT_TEST_SRC = \
ctiller2bbb6c42014-12-17 09:44:44 -08004644 test/core/security/secure_endpoint_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004645
ctillercab52e72015-01-06 13:10:23 -08004646SECURE_ENDPOINT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_ENDPOINT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004647
nnoble69ac39f2014-12-12 15:43:38 -08004648ifeq ($(NO_SECURE),true)
4649
Nicolas Noble047b7272015-01-16 13:55:05 -08004650# You can't build secure targets if you don't have OpenSSL with ALPN.
4651
ctillercab52e72015-01-06 13:10:23 -08004652bins/$(CONFIG)/secure_endpoint_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004653
4654else
4655
nnoble5f2ecb32015-01-12 16:40:18 -08004656bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004657 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004658 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004659 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004660
nnoble69ac39f2014-12-12 15:43:38 -08004661endif
4662
Craig Tiller770f60a2015-01-12 17:44:43 -08004663objs/$(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 -08004664
Craig Tiller8f126a62015-01-15 08:50:19 -08004665deps_secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004666
nnoble69ac39f2014-12-12 15:43:38 -08004667ifneq ($(NO_SECURE),true)
4668ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004669-include $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004670endif
nnoble69ac39f2014-12-12 15:43:38 -08004671endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004672
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004673
4674HTTPCLI_FORMAT_REQUEST_TEST_SRC = \
4675 test/core/httpcli/format_request_test.c \
4676
ctillercab52e72015-01-06 13:10:23 -08004677HTTPCLI_FORMAT_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_FORMAT_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004678
nnoble69ac39f2014-12-12 15:43:38 -08004679ifeq ($(NO_SECURE),true)
4680
Nicolas Noble047b7272015-01-16 13:55:05 -08004681# You can't build secure targets if you don't have OpenSSL with ALPN.
4682
ctillercab52e72015-01-06 13:10:23 -08004683bins/$(CONFIG)/httpcli_format_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004684
4685else
4686
nnoble5f2ecb32015-01-12 16:40:18 -08004687bins/$(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 -08004688 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004689 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004690 $(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 -08004691
nnoble69ac39f2014-12-12 15:43:38 -08004692endif
4693
Craig Tiller770f60a2015-01-12 17:44:43 -08004694objs/$(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 -08004695
Craig Tiller8f126a62015-01-15 08:50:19 -08004696deps_httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004697
nnoble69ac39f2014-12-12 15:43:38 -08004698ifneq ($(NO_SECURE),true)
4699ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004700-include $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004701endif
nnoble69ac39f2014-12-12 15:43:38 -08004702endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004703
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004704
4705HTTPCLI_PARSER_TEST_SRC = \
4706 test/core/httpcli/parser_test.c \
4707
ctillercab52e72015-01-06 13:10:23 -08004708HTTPCLI_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004709
nnoble69ac39f2014-12-12 15:43:38 -08004710ifeq ($(NO_SECURE),true)
4711
Nicolas Noble047b7272015-01-16 13:55:05 -08004712# You can't build secure targets if you don't have OpenSSL with ALPN.
4713
ctillercab52e72015-01-06 13:10:23 -08004714bins/$(CONFIG)/httpcli_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004715
4716else
4717
nnoble5f2ecb32015-01-12 16:40:18 -08004718bins/$(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 -08004719 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004720 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004721 $(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 -08004722
nnoble69ac39f2014-12-12 15:43:38 -08004723endif
4724
Craig Tiller770f60a2015-01-12 17:44:43 -08004725objs/$(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 -08004726
Craig Tiller8f126a62015-01-15 08:50:19 -08004727deps_httpcli_parser_test: $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004728
nnoble69ac39f2014-12-12 15:43:38 -08004729ifneq ($(NO_SECURE),true)
4730ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004731-include $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004732endif
nnoble69ac39f2014-12-12 15:43:38 -08004733endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004734
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004735
4736HTTPCLI_TEST_SRC = \
4737 test/core/httpcli/httpcli_test.c \
4738
ctillercab52e72015-01-06 13:10:23 -08004739HTTPCLI_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004740
nnoble69ac39f2014-12-12 15:43:38 -08004741ifeq ($(NO_SECURE),true)
4742
Nicolas Noble047b7272015-01-16 13:55:05 -08004743# You can't build secure targets if you don't have OpenSSL with ALPN.
4744
ctillercab52e72015-01-06 13:10:23 -08004745bins/$(CONFIG)/httpcli_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004746
4747else
4748
nnoble5f2ecb32015-01-12 16:40:18 -08004749bins/$(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 -08004750 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004751 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004752 $(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 -08004753
nnoble69ac39f2014-12-12 15:43:38 -08004754endif
4755
Craig Tiller770f60a2015-01-12 17:44:43 -08004756objs/$(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 -08004757
Craig Tiller8f126a62015-01-15 08:50:19 -08004758deps_httpcli_test: $(HTTPCLI_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004759
nnoble69ac39f2014-12-12 15:43:38 -08004760ifneq ($(NO_SECURE),true)
4761ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004762-include $(HTTPCLI_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004763endif
nnoble69ac39f2014-12-12 15:43:38 -08004764endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004765
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004766
4767GRPC_CREDENTIALS_TEST_SRC = \
4768 test/core/security/credentials_test.c \
4769
ctillercab52e72015-01-06 13:10:23 -08004770GRPC_CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CREDENTIALS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004771
nnoble69ac39f2014-12-12 15:43:38 -08004772ifeq ($(NO_SECURE),true)
4773
Nicolas Noble047b7272015-01-16 13:55:05 -08004774# You can't build secure targets if you don't have OpenSSL with ALPN.
4775
ctillercab52e72015-01-06 13:10:23 -08004776bins/$(CONFIG)/grpc_credentials_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004777
4778else
4779
nnoble5f2ecb32015-01-12 16:40:18 -08004780bins/$(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 -08004781 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004782 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004783 $(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 -08004784
nnoble69ac39f2014-12-12 15:43:38 -08004785endif
4786
Craig Tiller770f60a2015-01-12 17:44:43 -08004787objs/$(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 -08004788
Craig Tiller8f126a62015-01-15 08:50:19 -08004789deps_grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004790
nnoble69ac39f2014-12-12 15:43:38 -08004791ifneq ($(NO_SECURE),true)
4792ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004793-include $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004794endif
nnoble69ac39f2014-12-12 15:43:38 -08004795endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004796
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004797
jboeuf1a809c02014-12-19 15:44:30 -08004798GRPC_FETCH_OAUTH2_SRC = \
4799 test/core/security/fetch_oauth2.c \
4800
ctillercab52e72015-01-06 13:10:23 -08004801GRPC_FETCH_OAUTH2_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_FETCH_OAUTH2_SRC))))
jboeuf1a809c02014-12-19 15:44:30 -08004802
4803ifeq ($(NO_SECURE),true)
4804
Nicolas Noble047b7272015-01-16 13:55:05 -08004805# You can't build secure targets if you don't have OpenSSL with ALPN.
4806
ctillercab52e72015-01-06 13:10:23 -08004807bins/$(CONFIG)/grpc_fetch_oauth2: openssl_dep_error
jboeuf1a809c02014-12-19 15:44:30 -08004808
4809else
4810
nnoble5f2ecb32015-01-12 16:40:18 -08004811bins/$(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
jboeuf1a809c02014-12-19 15:44:30 -08004812 $(E) "[LD] Linking $@"
4813 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004814 $(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
jboeuf1a809c02014-12-19 15:44:30 -08004815
4816endif
4817
Craig Tiller770f60a2015-01-12 17:44:43 -08004818objs/$(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 -08004819
Craig Tiller8f126a62015-01-15 08:50:19 -08004820deps_grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
jboeuf1a809c02014-12-19 15:44:30 -08004821
4822ifneq ($(NO_SECURE),true)
4823ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004824-include $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
jboeuf1a809c02014-12-19 15:44:30 -08004825endif
4826endif
4827
jboeuf1a809c02014-12-19 15:44:30 -08004828
jboeufbefd2652014-12-12 15:39:47 -08004829GRPC_BASE64_TEST_SRC = \
4830 test/core/security/base64_test.c \
4831
ctillercab52e72015-01-06 13:10:23 -08004832GRPC_BASE64_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BASE64_TEST_SRC))))
jboeufbefd2652014-12-12 15:39:47 -08004833
nnoble69ac39f2014-12-12 15:43:38 -08004834ifeq ($(NO_SECURE),true)
4835
Nicolas Noble047b7272015-01-16 13:55:05 -08004836# You can't build secure targets if you don't have OpenSSL with ALPN.
4837
ctillercab52e72015-01-06 13:10:23 -08004838bins/$(CONFIG)/grpc_base64_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004839
4840else
4841
nnoble5f2ecb32015-01-12 16:40:18 -08004842bins/$(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
jboeufbefd2652014-12-12 15:39:47 -08004843 $(E) "[LD] Linking $@"
4844 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004845 $(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
jboeufbefd2652014-12-12 15:39:47 -08004846
nnoble69ac39f2014-12-12 15:43:38 -08004847endif
4848
Craig Tiller770f60a2015-01-12 17:44:43 -08004849objs/$(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 -08004850
Craig Tiller8f126a62015-01-15 08:50:19 -08004851deps_grpc_base64_test: $(GRPC_BASE64_TEST_OBJS:.o=.dep)
jboeufbefd2652014-12-12 15:39:47 -08004852
nnoble69ac39f2014-12-12 15:43:38 -08004853ifneq ($(NO_SECURE),true)
4854ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004855-include $(GRPC_BASE64_TEST_OBJS:.o=.dep)
jboeufbefd2652014-12-12 15:39:47 -08004856endif
nnoble69ac39f2014-12-12 15:43:38 -08004857endif
jboeufbefd2652014-12-12 15:39:47 -08004858
jboeufbefd2652014-12-12 15:39:47 -08004859
4860GRPC_JSON_TOKEN_TEST_SRC = \
4861 test/core/security/json_token_test.c \
4862
ctillercab52e72015-01-06 13:10:23 -08004863GRPC_JSON_TOKEN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_JSON_TOKEN_TEST_SRC))))
jboeufbefd2652014-12-12 15:39:47 -08004864
nnoble69ac39f2014-12-12 15:43:38 -08004865ifeq ($(NO_SECURE),true)
4866
Nicolas Noble047b7272015-01-16 13:55:05 -08004867# You can't build secure targets if you don't have OpenSSL with ALPN.
4868
ctillercab52e72015-01-06 13:10:23 -08004869bins/$(CONFIG)/grpc_json_token_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004870
4871else
4872
nnoble5f2ecb32015-01-12 16:40:18 -08004873bins/$(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
jboeufbefd2652014-12-12 15:39:47 -08004874 $(E) "[LD] Linking $@"
4875 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004876 $(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
jboeufbefd2652014-12-12 15:39:47 -08004877
nnoble69ac39f2014-12-12 15:43:38 -08004878endif
4879
Craig Tiller770f60a2015-01-12 17:44:43 -08004880objs/$(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 -08004881
Craig Tiller8f126a62015-01-15 08:50:19 -08004882deps_grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
jboeufbefd2652014-12-12 15:39:47 -08004883
nnoble69ac39f2014-12-12 15:43:38 -08004884ifneq ($(NO_SECURE),true)
4885ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004886-include $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
jboeufbefd2652014-12-12 15:39:47 -08004887endif
nnoble69ac39f2014-12-12 15:43:38 -08004888endif
jboeufbefd2652014-12-12 15:39:47 -08004889
jboeufbefd2652014-12-12 15:39:47 -08004890
ctiller8919f602014-12-10 10:19:42 -08004891TIMEOUT_ENCODING_TEST_SRC = \
4892 test/core/transport/chttp2/timeout_encoding_test.c \
4893
ctillercab52e72015-01-06 13:10:23 -08004894TIMEOUT_ENCODING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMEOUT_ENCODING_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004895
nnoble69ac39f2014-12-12 15:43:38 -08004896ifeq ($(NO_SECURE),true)
4897
Nicolas Noble047b7272015-01-16 13:55:05 -08004898# You can't build secure targets if you don't have OpenSSL with ALPN.
4899
ctillercab52e72015-01-06 13:10:23 -08004900bins/$(CONFIG)/timeout_encoding_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004901
4902else
4903
nnoble5f2ecb32015-01-12 16:40:18 -08004904bins/$(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
ctiller8919f602014-12-10 10:19:42 -08004905 $(E) "[LD] Linking $@"
4906 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004907 $(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
ctiller8919f602014-12-10 10:19:42 -08004908
nnoble69ac39f2014-12-12 15:43:38 -08004909endif
4910
Craig Tiller770f60a2015-01-12 17:44:43 -08004911objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004912
Craig Tiller8f126a62015-01-15 08:50:19 -08004913deps_timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004914
nnoble69ac39f2014-12-12 15:43:38 -08004915ifneq ($(NO_SECURE),true)
4916ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004917-include $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004918endif
nnoble69ac39f2014-12-12 15:43:38 -08004919endif
ctiller8919f602014-12-10 10:19:42 -08004920
ctiller8919f602014-12-10 10:19:42 -08004921
4922FD_POSIX_TEST_SRC = \
4923 test/core/iomgr/fd_posix_test.c \
4924
ctillercab52e72015-01-06 13:10:23 -08004925FD_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FD_POSIX_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004926
nnoble69ac39f2014-12-12 15:43:38 -08004927ifeq ($(NO_SECURE),true)
4928
Nicolas Noble047b7272015-01-16 13:55:05 -08004929# You can't build secure targets if you don't have OpenSSL with ALPN.
4930
ctillercab52e72015-01-06 13:10:23 -08004931bins/$(CONFIG)/fd_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004932
4933else
4934
nnoble5f2ecb32015-01-12 16:40:18 -08004935bins/$(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
ctiller8919f602014-12-10 10:19:42 -08004936 $(E) "[LD] Linking $@"
4937 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004938 $(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
ctiller8919f602014-12-10 10:19:42 -08004939
nnoble69ac39f2014-12-12 15:43:38 -08004940endif
4941
Craig Tiller770f60a2015-01-12 17:44:43 -08004942objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004943
Craig Tiller8f126a62015-01-15 08:50:19 -08004944deps_fd_posix_test: $(FD_POSIX_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004945
nnoble69ac39f2014-12-12 15:43:38 -08004946ifneq ($(NO_SECURE),true)
4947ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004948-include $(FD_POSIX_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004949endif
nnoble69ac39f2014-12-12 15:43:38 -08004950endif
ctiller8919f602014-12-10 10:19:42 -08004951
ctiller8919f602014-12-10 10:19:42 -08004952
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004953FLING_STREAM_TEST_SRC = \
4954 test/core/fling/fling_stream_test.c \
4955
ctillercab52e72015-01-06 13:10:23 -08004956FLING_STREAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_STREAM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004957
nnoble69ac39f2014-12-12 15:43:38 -08004958ifeq ($(NO_SECURE),true)
4959
Nicolas Noble047b7272015-01-16 13:55:05 -08004960# You can't build secure targets if you don't have OpenSSL with ALPN.
4961
ctillercab52e72015-01-06 13:10:23 -08004962bins/$(CONFIG)/fling_stream_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004963
4964else
4965
nnoble5f2ecb32015-01-12 16:40:18 -08004966bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004967 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004968 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004969 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004970
nnoble69ac39f2014-12-12 15:43:38 -08004971endif
4972
Craig Tiller770f60a2015-01-12 17:44:43 -08004973objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08004974
Craig Tiller8f126a62015-01-15 08:50:19 -08004975deps_fling_stream_test: $(FLING_STREAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004976
nnoble69ac39f2014-12-12 15:43:38 -08004977ifneq ($(NO_SECURE),true)
4978ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004979-include $(FLING_STREAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004980endif
nnoble69ac39f2014-12-12 15:43:38 -08004981endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004982
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004983
4984LAME_CLIENT_TEST_SRC = \
4985 test/core/surface/lame_client_test.c \
4986
ctillercab52e72015-01-06 13:10:23 -08004987LAME_CLIENT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LAME_CLIENT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004988
nnoble69ac39f2014-12-12 15:43:38 -08004989ifeq ($(NO_SECURE),true)
4990
Nicolas Noble047b7272015-01-16 13:55:05 -08004991# You can't build secure targets if you don't have OpenSSL with ALPN.
4992
ctillercab52e72015-01-06 13:10:23 -08004993bins/$(CONFIG)/lame_client_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004994
4995else
4996
nnoble5f2ecb32015-01-12 16:40:18 -08004997bins/$(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 -08004998 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004999 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005000 $(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 -08005001
nnoble69ac39f2014-12-12 15:43:38 -08005002endif
5003
Craig Tiller770f60a2015-01-12 17:44:43 -08005004objs/$(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 -08005005
Craig Tiller8f126a62015-01-15 08:50:19 -08005006deps_lame_client_test: $(LAME_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005007
nnoble69ac39f2014-12-12 15:43:38 -08005008ifneq ($(NO_SECURE),true)
5009ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005010-include $(LAME_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005011endif
nnoble69ac39f2014-12-12 15:43:38 -08005012endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005013
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005014
5015THREAD_POOL_TEST_SRC = \
5016 test/cpp/server/thread_pool_test.cc \
5017
ctillercab52e72015-01-06 13:10:23 -08005018THREAD_POOL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(THREAD_POOL_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005019
nnoble69ac39f2014-12-12 15:43:38 -08005020ifeq ($(NO_SECURE),true)
5021
Nicolas Noble047b7272015-01-16 13:55:05 -08005022# You can't build secure targets if you don't have OpenSSL with ALPN.
5023
ctillercab52e72015-01-06 13:10:23 -08005024bins/$(CONFIG)/thread_pool_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005025
5026else
5027
nnoble5f2ecb32015-01-12 16:40:18 -08005028bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005029 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005030 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005031 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005032
nnoble69ac39f2014-12-12 15:43:38 -08005033endif
5034
Craig Tiller770f60a2015-01-12 17:44:43 -08005035objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005036
Craig Tiller8f126a62015-01-15 08:50:19 -08005037deps_thread_pool_test: $(THREAD_POOL_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005038
nnoble69ac39f2014-12-12 15:43:38 -08005039ifneq ($(NO_SECURE),true)
5040ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005041-include $(THREAD_POOL_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005042endif
nnoble69ac39f2014-12-12 15:43:38 -08005043endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005044
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005045
5046STATUS_TEST_SRC = \
5047 test/cpp/util/status_test.cc \
5048
ctillercab52e72015-01-06 13:10:23 -08005049STATUS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(STATUS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005050
nnoble69ac39f2014-12-12 15:43:38 -08005051ifeq ($(NO_SECURE),true)
5052
Nicolas Noble047b7272015-01-16 13:55:05 -08005053# You can't build secure targets if you don't have OpenSSL with ALPN.
5054
ctillercab52e72015-01-06 13:10:23 -08005055bins/$(CONFIG)/status_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005056
5057else
5058
nnoble5f2ecb32015-01-12 16:40:18 -08005059bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005060 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005061 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005062 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005063
nnoble69ac39f2014-12-12 15:43:38 -08005064endif
5065
Craig Tiller770f60a2015-01-12 17:44:43 -08005066objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005067
Craig Tiller8f126a62015-01-15 08:50:19 -08005068deps_status_test: $(STATUS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005069
nnoble69ac39f2014-12-12 15:43:38 -08005070ifneq ($(NO_SECURE),true)
5071ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005072-include $(STATUS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005073endif
nnoble69ac39f2014-12-12 15:43:38 -08005074endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005075
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005076
ctiller8919f602014-12-10 10:19:42 -08005077SYNC_CLIENT_ASYNC_SERVER_TEST_SRC = \
5078 test/cpp/end2end/sync_client_async_server_test.cc \
5079
ctillercab52e72015-01-06 13:10:23 -08005080SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SYNC_CLIENT_ASYNC_SERVER_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005081
nnoble69ac39f2014-12-12 15:43:38 -08005082ifeq ($(NO_SECURE),true)
5083
Nicolas Noble047b7272015-01-16 13:55:05 -08005084# You can't build secure targets if you don't have OpenSSL with ALPN.
5085
ctillercab52e72015-01-06 13:10:23 -08005086bins/$(CONFIG)/sync_client_async_server_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005087
5088else
5089
Craig Tiller770f60a2015-01-12 17:44:43 -08005090bins/$(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
ctiller8919f602014-12-10 10:19:42 -08005091 $(E) "[LD] Linking $@"
5092 $(Q) mkdir -p `dirname $@`
Craig Tiller770f60a2015-01-12 17:44:43 -08005093 $(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
ctiller8919f602014-12-10 10:19:42 -08005094
nnoble69ac39f2014-12-12 15:43:38 -08005095endif
5096
Craig Tiller770f60a2015-01-12 17:44:43 -08005097objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005098
Craig Tiller8f126a62015-01-15 08:50:19 -08005099deps_sync_client_async_server_test: $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005100
nnoble69ac39f2014-12-12 15:43:38 -08005101ifneq ($(NO_SECURE),true)
5102ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005103-include $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005104endif
nnoble69ac39f2014-12-12 15:43:38 -08005105endif
ctiller8919f602014-12-10 10:19:42 -08005106
ctiller8919f602014-12-10 10:19:42 -08005107
5108QPS_CLIENT_SRC = \
Craig Tillerbf2659f2015-01-13 12:27:06 -08005109 gens/test/cpp/qps/qpstest.pb.cc \
vpai80b6d012014-12-17 11:47:32 -08005110 test/cpp/qps/client.cc \
ctiller8919f602014-12-10 10:19:42 -08005111
ctillercab52e72015-01-06 13:10:23 -08005112QPS_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_CLIENT_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005113
nnoble69ac39f2014-12-12 15:43:38 -08005114ifeq ($(NO_SECURE),true)
5115
Nicolas Noble047b7272015-01-16 13:55:05 -08005116# You can't build secure targets if you don't have OpenSSL with ALPN.
5117
ctillercab52e72015-01-06 13:10:23 -08005118bins/$(CONFIG)/qps_client: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005119
5120else
5121
nnoble5f2ecb32015-01-12 16:40:18 -08005122bins/$(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
ctiller8919f602014-12-10 10:19:42 -08005123 $(E) "[LD] Linking $@"
5124 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005125 $(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
ctiller8919f602014-12-10 10:19:42 -08005126
nnoble69ac39f2014-12-12 15:43:38 -08005127endif
5128
Craig Tillerbf2659f2015-01-13 12:27:06 -08005129objs/$(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
Craig Tiller770f60a2015-01-12 17:44:43 -08005130objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005131
Craig Tiller8f126a62015-01-15 08:50:19 -08005132deps_qps_client: $(QPS_CLIENT_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005133
nnoble69ac39f2014-12-12 15:43:38 -08005134ifneq ($(NO_SECURE),true)
5135ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005136-include $(QPS_CLIENT_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005137endif
nnoble69ac39f2014-12-12 15:43:38 -08005138endif
ctiller8919f602014-12-10 10:19:42 -08005139
ctiller8919f602014-12-10 10:19:42 -08005140
5141QPS_SERVER_SRC = \
Craig Tillerbf2659f2015-01-13 12:27:06 -08005142 gens/test/cpp/qps/qpstest.pb.cc \
vpai80b6d012014-12-17 11:47:32 -08005143 test/cpp/qps/server.cc \
ctiller8919f602014-12-10 10:19:42 -08005144
ctillercab52e72015-01-06 13:10:23 -08005145QPS_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_SERVER_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005146
nnoble69ac39f2014-12-12 15:43:38 -08005147ifeq ($(NO_SECURE),true)
5148
Nicolas Noble047b7272015-01-16 13:55:05 -08005149# You can't build secure targets if you don't have OpenSSL with ALPN.
5150
ctillercab52e72015-01-06 13:10:23 -08005151bins/$(CONFIG)/qps_server: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005152
5153else
5154
nnoble5f2ecb32015-01-12 16:40:18 -08005155bins/$(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
ctiller8919f602014-12-10 10:19:42 -08005156 $(E) "[LD] Linking $@"
5157 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005158 $(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
ctiller8919f602014-12-10 10:19:42 -08005159
nnoble69ac39f2014-12-12 15:43:38 -08005160endif
5161
Craig Tillerbf2659f2015-01-13 12:27:06 -08005162objs/$(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
Craig Tiller770f60a2015-01-12 17:44:43 -08005163objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005164
Craig Tiller8f126a62015-01-15 08:50:19 -08005165deps_qps_server: $(QPS_SERVER_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005166
nnoble69ac39f2014-12-12 15:43:38 -08005167ifneq ($(NO_SECURE),true)
5168ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005169-include $(QPS_SERVER_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005170endif
nnoble69ac39f2014-12-12 15:43:38 -08005171endif
ctiller8919f602014-12-10 10:19:42 -08005172
ctiller8919f602014-12-10 10:19:42 -08005173
5174INTEROP_SERVER_SRC = \
nnoble72309c62014-12-12 11:42:26 -08005175 gens/test/cpp/interop/empty.pb.cc \
5176 gens/test/cpp/interop/messages.pb.cc \
5177 gens/test/cpp/interop/test.pb.cc \
ctiller8919f602014-12-10 10:19:42 -08005178 test/cpp/interop/server.cc \
5179
ctillercab52e72015-01-06 13:10:23 -08005180INTEROP_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_SERVER_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005181
nnoble69ac39f2014-12-12 15:43:38 -08005182ifeq ($(NO_SECURE),true)
5183
Nicolas Noble047b7272015-01-16 13:55:05 -08005184# You can't build secure targets if you don't have OpenSSL with ALPN.
5185
ctillercab52e72015-01-06 13:10:23 -08005186bins/$(CONFIG)/interop_server: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005187
5188else
5189
nnoble5f2ecb32015-01-12 16:40:18 -08005190bins/$(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
ctiller8919f602014-12-10 10:19:42 -08005191 $(E) "[LD] Linking $@"
5192 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005193 $(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
ctiller8919f602014-12-10 10:19:42 -08005194
nnoble69ac39f2014-12-12 15:43:38 -08005195endif
5196
Craig Tiller770f60a2015-01-12 17:44:43 -08005197objs/$(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
5198objs/$(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
5199objs/$(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
5200objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005201
Craig Tiller8f126a62015-01-15 08:50:19 -08005202deps_interop_server: $(INTEROP_SERVER_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005203
nnoble69ac39f2014-12-12 15:43:38 -08005204ifneq ($(NO_SECURE),true)
5205ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005206-include $(INTEROP_SERVER_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005207endif
nnoble69ac39f2014-12-12 15:43:38 -08005208endif
ctiller8919f602014-12-10 10:19:42 -08005209
ctiller8919f602014-12-10 10:19:42 -08005210
5211INTEROP_CLIENT_SRC = \
nnoble72309c62014-12-12 11:42:26 -08005212 gens/test/cpp/interop/empty.pb.cc \
5213 gens/test/cpp/interop/messages.pb.cc \
5214 gens/test/cpp/interop/test.pb.cc \
ctiller8919f602014-12-10 10:19:42 -08005215 test/cpp/interop/client.cc \
5216
ctillercab52e72015-01-06 13:10:23 -08005217INTEROP_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_CLIENT_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005218
nnoble69ac39f2014-12-12 15:43:38 -08005219ifeq ($(NO_SECURE),true)
5220
Nicolas Noble047b7272015-01-16 13:55:05 -08005221# You can't build secure targets if you don't have OpenSSL with ALPN.
5222
ctillercab52e72015-01-06 13:10:23 -08005223bins/$(CONFIG)/interop_client: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005224
5225else
5226
nnoble5f2ecb32015-01-12 16:40:18 -08005227bins/$(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
ctiller8919f602014-12-10 10:19:42 -08005228 $(E) "[LD] Linking $@"
5229 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005230 $(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
ctiller8919f602014-12-10 10:19:42 -08005231
nnoble69ac39f2014-12-12 15:43:38 -08005232endif
5233
Craig Tiller770f60a2015-01-12 17:44:43 -08005234objs/$(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
5235objs/$(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
5236objs/$(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
5237objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005238
Craig Tiller8f126a62015-01-15 08:50:19 -08005239deps_interop_client: $(INTEROP_CLIENT_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005240
nnoble69ac39f2014-12-12 15:43:38 -08005241ifneq ($(NO_SECURE),true)
5242ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005243-include $(INTEROP_CLIENT_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005244endif
nnoble69ac39f2014-12-12 15:43:38 -08005245endif
ctiller8919f602014-12-10 10:19:42 -08005246
ctiller8919f602014-12-10 10:19:42 -08005247
5248END2END_TEST_SRC = \
5249 test/cpp/end2end/end2end_test.cc \
5250
ctillercab52e72015-01-06 13:10:23 -08005251END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(END2END_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005252
nnoble69ac39f2014-12-12 15:43:38 -08005253ifeq ($(NO_SECURE),true)
5254
Nicolas Noble047b7272015-01-16 13:55:05 -08005255# You can't build secure targets if you don't have OpenSSL with ALPN.
5256
ctillercab52e72015-01-06 13:10:23 -08005257bins/$(CONFIG)/end2end_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005258
5259else
5260
nnoble5f2ecb32015-01-12 16:40:18 -08005261bins/$(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
ctiller8919f602014-12-10 10:19:42 -08005262 $(E) "[LD] Linking $@"
5263 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005264 $(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
ctiller8919f602014-12-10 10:19:42 -08005265
nnoble69ac39f2014-12-12 15:43:38 -08005266endif
5267
Craig Tiller770f60a2015-01-12 17:44:43 -08005268objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005269
Craig Tiller8f126a62015-01-15 08:50:19 -08005270deps_end2end_test: $(END2END_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005271
nnoble69ac39f2014-12-12 15:43:38 -08005272ifneq ($(NO_SECURE),true)
5273ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005274-include $(END2END_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005275endif
nnoble69ac39f2014-12-12 15:43:38 -08005276endif
ctiller8919f602014-12-10 10:19:42 -08005277
ctiller8919f602014-12-10 10:19:42 -08005278
yangg59dfc902014-12-19 14:00:14 -08005279CHANNEL_ARGUMENTS_TEST_SRC = \
5280 test/cpp/client/channel_arguments_test.cc \
5281
ctillercab52e72015-01-06 13:10:23 -08005282CHANNEL_ARGUMENTS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNEL_ARGUMENTS_TEST_SRC))))
yangg59dfc902014-12-19 14:00:14 -08005283
5284ifeq ($(NO_SECURE),true)
5285
Nicolas Noble047b7272015-01-16 13:55:05 -08005286# You can't build secure targets if you don't have OpenSSL with ALPN.
5287
ctillercab52e72015-01-06 13:10:23 -08005288bins/$(CONFIG)/channel_arguments_test: openssl_dep_error
yangg59dfc902014-12-19 14:00:14 -08005289
5290else
5291
Craig Tillerd4773f52015-01-12 16:38:47 -08005292bins/$(CONFIG)/channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
yangg59dfc902014-12-19 14:00:14 -08005293 $(E) "[LD] Linking $@"
5294 $(Q) mkdir -p `dirname $@`
Craig Tillerd4773f52015-01-12 16:38:47 -08005295 $(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
yangg59dfc902014-12-19 14:00:14 -08005296
5297endif
5298
Craig Tillerd4773f52015-01-12 16:38:47 -08005299objs/$(CONFIG)/test/cpp/client/channel_arguments_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5300
Craig Tiller8f126a62015-01-15 08:50:19 -08005301deps_channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
yangg59dfc902014-12-19 14:00:14 -08005302
5303ifneq ($(NO_SECURE),true)
5304ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005305-include $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
yangg59dfc902014-12-19 14:00:14 -08005306endif
5307endif
5308
yangg59dfc902014-12-19 14:00:14 -08005309
yangg4105e2b2015-01-09 14:19:44 -08005310CREDENTIALS_TEST_SRC = \
5311 test/cpp/client/credentials_test.cc \
5312
5313CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CREDENTIALS_TEST_SRC))))
yangg4105e2b2015-01-09 14:19:44 -08005314
5315ifeq ($(NO_SECURE),true)
5316
Nicolas Noble047b7272015-01-16 13:55:05 -08005317# You can't build secure targets if you don't have OpenSSL with ALPN.
5318
yangg4105e2b2015-01-09 14:19:44 -08005319bins/$(CONFIG)/credentials_test: openssl_dep_error
5320
5321else
5322
Craig Tillerd4773f52015-01-12 16:38:47 -08005323bins/$(CONFIG)/credentials_test: $(CREDENTIALS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
yangg4105e2b2015-01-09 14:19:44 -08005324 $(E) "[LD] Linking $@"
5325 $(Q) mkdir -p `dirname $@`
Craig Tillerd4773f52015-01-12 16:38:47 -08005326 $(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
yangg4105e2b2015-01-09 14:19:44 -08005327
5328endif
5329
Craig Tillerd4773f52015-01-12 16:38:47 -08005330objs/$(CONFIG)/test/cpp/client/credentials_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5331
Craig Tiller8f126a62015-01-15 08:50:19 -08005332deps_credentials_test: $(CREDENTIALS_TEST_OBJS:.o=.dep)
yangg4105e2b2015-01-09 14:19:44 -08005333
5334ifneq ($(NO_SECURE),true)
5335ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005336-include $(CREDENTIALS_TEST_OBJS:.o=.dep)
yangg4105e2b2015-01-09 14:19:44 -08005337endif
5338endif
5339
yangg4105e2b2015-01-09 14:19:44 -08005340
ctiller8919f602014-12-10 10:19:42 -08005341ALARM_TEST_SRC = \
5342 test/core/iomgr/alarm_test.c \
5343
ctillercab52e72015-01-06 13:10:23 -08005344ALARM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005345
nnoble69ac39f2014-12-12 15:43:38 -08005346ifeq ($(NO_SECURE),true)
5347
Nicolas Noble047b7272015-01-16 13:55:05 -08005348# You can't build secure targets if you don't have OpenSSL with ALPN.
5349
ctillercab52e72015-01-06 13:10:23 -08005350bins/$(CONFIG)/alarm_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005351
5352else
5353
nnoble5f2ecb32015-01-12 16:40:18 -08005354bins/$(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
ctiller8919f602014-12-10 10:19:42 -08005355 $(E) "[LD] Linking $@"
5356 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005357 $(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
ctiller8919f602014-12-10 10:19:42 -08005358
nnoble69ac39f2014-12-12 15:43:38 -08005359endif
5360
Craig Tiller770f60a2015-01-12 17:44:43 -08005361objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005362
Craig Tiller8f126a62015-01-15 08:50:19 -08005363deps_alarm_test: $(ALARM_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005364
nnoble69ac39f2014-12-12 15:43:38 -08005365ifneq ($(NO_SECURE),true)
5366ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005367-include $(ALARM_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005368endif
nnoble69ac39f2014-12-12 15:43:38 -08005369endif
ctiller8919f602014-12-10 10:19:42 -08005370
ctiller8919f602014-12-10 10:19:42 -08005371
ctiller3bf466f2014-12-19 16:21:57 -08005372ALARM_LIST_TEST_SRC = \
5373 test/core/iomgr/alarm_list_test.c \
5374
ctillercab52e72015-01-06 13:10:23 -08005375ALARM_LIST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_LIST_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08005376
5377ifeq ($(NO_SECURE),true)
5378
Nicolas Noble047b7272015-01-16 13:55:05 -08005379# You can't build secure targets if you don't have OpenSSL with ALPN.
5380
ctillercab52e72015-01-06 13:10:23 -08005381bins/$(CONFIG)/alarm_list_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08005382
5383else
5384
nnoble5f2ecb32015-01-12 16:40:18 -08005385bins/$(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
ctiller3bf466f2014-12-19 16:21:57 -08005386 $(E) "[LD] Linking $@"
5387 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005388 $(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
ctiller3bf466f2014-12-19 16:21:57 -08005389
5390endif
5391
Craig Tiller770f60a2015-01-12 17:44:43 -08005392objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005393
Craig Tiller8f126a62015-01-15 08:50:19 -08005394deps_alarm_list_test: $(ALARM_LIST_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005395
5396ifneq ($(NO_SECURE),true)
5397ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005398-include $(ALARM_LIST_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005399endif
5400endif
5401
ctiller3bf466f2014-12-19 16:21:57 -08005402
5403ALARM_HEAP_TEST_SRC = \
5404 test/core/iomgr/alarm_heap_test.c \
5405
ctillercab52e72015-01-06 13:10:23 -08005406ALARM_HEAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_HEAP_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08005407
5408ifeq ($(NO_SECURE),true)
5409
Nicolas Noble047b7272015-01-16 13:55:05 -08005410# You can't build secure targets if you don't have OpenSSL with ALPN.
5411
ctillercab52e72015-01-06 13:10:23 -08005412bins/$(CONFIG)/alarm_heap_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08005413
5414else
5415
nnoble5f2ecb32015-01-12 16:40:18 -08005416bins/$(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
ctiller3bf466f2014-12-19 16:21:57 -08005417 $(E) "[LD] Linking $@"
5418 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005419 $(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
ctiller3bf466f2014-12-19 16:21:57 -08005420
5421endif
5422
Craig Tiller770f60a2015-01-12 17:44:43 -08005423objs/$(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
Craig Tillerd4773f52015-01-12 16:38:47 -08005424
Craig Tiller8f126a62015-01-15 08:50:19 -08005425deps_alarm_heap_test: $(ALARM_HEAP_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005426
5427ifneq ($(NO_SECURE),true)
5428ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005429-include $(ALARM_HEAP_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005430endif
5431endif
5432
ctiller3bf466f2014-12-19 16:21:57 -08005433
ctiller8919f602014-12-10 10:19:42 -08005434TIME_TEST_SRC = \
5435 test/core/support/time_test.c \
5436
ctillercab52e72015-01-06 13:10:23 -08005437TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005438
nnoble69ac39f2014-12-12 15:43:38 -08005439ifeq ($(NO_SECURE),true)
5440
Nicolas Noble047b7272015-01-16 13:55:05 -08005441# You can't build secure targets if you don't have OpenSSL with ALPN.
5442
ctillercab52e72015-01-06 13:10:23 -08005443bins/$(CONFIG)/time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005444
5445else
5446
nnoble5f2ecb32015-01-12 16:40:18 -08005447bins/$(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 -08005448 $(E) "[LD] Linking $@"
5449 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005450 $(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 -08005451
nnoble69ac39f2014-12-12 15:43:38 -08005452endif
5453
Craig Tiller770f60a2015-01-12 17:44:43 -08005454objs/$(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 -08005455
Craig Tiller8f126a62015-01-15 08:50:19 -08005456deps_time_test: $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005457
nnoble69ac39f2014-12-12 15:43:38 -08005458ifneq ($(NO_SECURE),true)
5459ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005460-include $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005461endif
nnoble69ac39f2014-12-12 15:43:38 -08005462endif
ctiller8919f602014-12-10 10:19:42 -08005463
ctiller8919f602014-12-10 10:19:42 -08005464
David Klempner7f3ed1e2015-01-16 15:35:56 -08005465POLL_KICK_TEST_SRC = \
5466 test/core/iomgr/poll_kick_test.c \
5467
5468POLL_KICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(POLL_KICK_TEST_SRC))))
5469
5470ifeq ($(NO_SECURE),true)
5471
5472# You can't build secure targets if you don't have OpenSSL with ALPN.
5473
5474bins/$(CONFIG)/poll_kick_test: openssl_dep_error
5475
5476else
5477
5478bins/$(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
5479 $(E) "[LD] Linking $@"
5480 $(Q) mkdir -p `dirname $@`
5481 $(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
5482
5483endif
5484
5485objs/$(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
5486
5487deps_poll_kick_test: $(POLL_KICK_TEST_OBJS:.o=.dep)
5488
5489ifneq ($(NO_SECURE),true)
5490ifneq ($(NO_DEPS),true)
5491-include $(POLL_KICK_TEST_OBJS:.o=.dep)
5492endif
5493endif
5494
5495
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005496CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_SRC = \
5497
ctillercab52e72015-01-06 13:10:23 -08005498CHTTP2_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 -08005499
nnoble69ac39f2014-12-12 15:43:38 -08005500ifeq ($(NO_SECURE),true)
5501
Nicolas Noble047b7272015-01-16 13:55:05 -08005502# You can't build secure targets if you don't have OpenSSL with ALPN.
5503
ctillercab52e72015-01-06 13:10:23 -08005504bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005505
5506else
5507
nnoble5f2ecb32015-01-12 16:40:18 -08005508bins/$(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 -08005509 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005510 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005511 $(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 -08005512
nnoble69ac39f2014-12-12 15:43:38 -08005513endif
5514
Craig Tillerd4773f52015-01-12 16:38:47 -08005515
Craig Tiller8f126a62015-01-15 08:50:19 -08005516deps_chttp2_fake_security_cancel_after_accept_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005517
nnoble69ac39f2014-12-12 15:43:38 -08005518ifneq ($(NO_SECURE),true)
5519ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005520-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005521endif
nnoble69ac39f2014-12-12 15:43:38 -08005522endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005523
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005524
5525CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
5526
ctillercab52e72015-01-06 13:10:23 -08005527CHTTP2_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 -08005528
nnoble69ac39f2014-12-12 15:43:38 -08005529ifeq ($(NO_SECURE),true)
5530
Nicolas Noble047b7272015-01-16 13:55:05 -08005531# You can't build secure targets if you don't have OpenSSL with ALPN.
5532
ctillercab52e72015-01-06 13:10:23 -08005533bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005534
5535else
5536
nnoble5f2ecb32015-01-12 16:40:18 -08005537bins/$(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 -08005538 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005539 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005540 $(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 -08005541
nnoble69ac39f2014-12-12 15:43:38 -08005542endif
5543
Craig Tillerd4773f52015-01-12 16:38:47 -08005544
Craig Tiller8f126a62015-01-15 08:50:19 -08005545deps_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 -08005546
nnoble69ac39f2014-12-12 15:43:38 -08005547ifneq ($(NO_SECURE),true)
5548ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005549-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005550endif
nnoble69ac39f2014-12-12 15:43:38 -08005551endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005552
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005553
5554CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_SRC = \
5555
ctillercab52e72015-01-06 13:10:23 -08005556CHTTP2_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 -08005557
nnoble69ac39f2014-12-12 15:43:38 -08005558ifeq ($(NO_SECURE),true)
5559
Nicolas Noble047b7272015-01-16 13:55:05 -08005560# You can't build secure targets if you don't have OpenSSL with ALPN.
5561
ctillercab52e72015-01-06 13:10:23 -08005562bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005563
5564else
5565
nnoble5f2ecb32015-01-12 16:40:18 -08005566bins/$(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 -08005567 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005568 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005569 $(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 -08005570
nnoble69ac39f2014-12-12 15:43:38 -08005571endif
5572
Craig Tillerd4773f52015-01-12 16:38:47 -08005573
Craig Tiller8f126a62015-01-15 08:50:19 -08005574deps_chttp2_fake_security_cancel_after_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005575
nnoble69ac39f2014-12-12 15:43:38 -08005576ifneq ($(NO_SECURE),true)
5577ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005578-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005579endif
nnoble69ac39f2014-12-12 15:43:38 -08005580endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005581
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005582
5583CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_SRC = \
5584
ctillercab52e72015-01-06 13:10:23 -08005585CHTTP2_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 -08005586
nnoble69ac39f2014-12-12 15:43:38 -08005587ifeq ($(NO_SECURE),true)
5588
Nicolas Noble047b7272015-01-16 13:55:05 -08005589# You can't build secure targets if you don't have OpenSSL with ALPN.
5590
ctillercab52e72015-01-06 13:10:23 -08005591bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005592
5593else
5594
nnoble5f2ecb32015-01-12 16:40:18 -08005595bins/$(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 -08005596 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005597 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005598 $(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 -08005599
nnoble69ac39f2014-12-12 15:43:38 -08005600endif
5601
Craig Tillerd4773f52015-01-12 16:38:47 -08005602
Craig Tiller8f126a62015-01-15 08:50:19 -08005603deps_chttp2_fake_security_cancel_before_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005604
nnoble69ac39f2014-12-12 15:43:38 -08005605ifneq ($(NO_SECURE),true)
5606ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005607-include $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005608endif
nnoble69ac39f2014-12-12 15:43:38 -08005609endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005610
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005611
5612CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_SRC = \
5613
ctillercab52e72015-01-06 13:10:23 -08005614CHTTP2_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 -08005615
nnoble69ac39f2014-12-12 15:43:38 -08005616ifeq ($(NO_SECURE),true)
5617
Nicolas Noble047b7272015-01-16 13:55:05 -08005618# You can't build secure targets if you don't have OpenSSL with ALPN.
5619
ctillercab52e72015-01-06 13:10:23 -08005620bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005621
5622else
5623
nnoble5f2ecb32015-01-12 16:40:18 -08005624bins/$(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 -08005625 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005626 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005627 $(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 -08005628
nnoble69ac39f2014-12-12 15:43:38 -08005629endif
5630
Craig Tillerd4773f52015-01-12 16:38:47 -08005631
Craig Tiller8f126a62015-01-15 08:50:19 -08005632deps_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 -08005633
nnoble69ac39f2014-12-12 15:43:38 -08005634ifneq ($(NO_SECURE),true)
5635ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005636-include $(CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005637endif
nnoble69ac39f2014-12-12 15:43:38 -08005638endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005639
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005640
hongyu24200d32015-01-08 15:13:49 -08005641CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
5642
5643CHTTP2_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 -08005644
5645ifeq ($(NO_SECURE),true)
5646
Nicolas Noble047b7272015-01-16 13:55:05 -08005647# You can't build secure targets if you don't have OpenSSL with ALPN.
5648
hongyu24200d32015-01-08 15:13:49 -08005649bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test: openssl_dep_error
5650
5651else
5652
nnoble5f2ecb32015-01-12 16:40:18 -08005653bins/$(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 -08005654 $(E) "[LD] Linking $@"
5655 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005656 $(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 -08005657
5658endif
5659
Craig Tillerd4773f52015-01-12 16:38:47 -08005660
Craig Tiller8f126a62015-01-15 08:50:19 -08005661deps_chttp2_fake_security_census_simple_request_test: $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005662
5663ifneq ($(NO_SECURE),true)
5664ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005665-include $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005666endif
5667endif
5668
hongyu24200d32015-01-08 15:13:49 -08005669
ctillerc6d61c42014-12-15 14:52:08 -08005670CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_SRC = \
5671
ctillercab52e72015-01-06 13:10:23 -08005672CHTTP2_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 -08005673
5674ifeq ($(NO_SECURE),true)
5675
Nicolas Noble047b7272015-01-16 13:55:05 -08005676# You can't build secure targets if you don't have OpenSSL with ALPN.
5677
ctillercab52e72015-01-06 13:10:23 -08005678bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08005679
5680else
5681
nnoble5f2ecb32015-01-12 16:40:18 -08005682bins/$(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 -08005683 $(E) "[LD] Linking $@"
5684 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005685 $(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 -08005686
5687endif
5688
Craig Tillerd4773f52015-01-12 16:38:47 -08005689
Craig Tiller8f126a62015-01-15 08:50:19 -08005690deps_chttp2_fake_security_disappearing_server_test: $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005691
5692ifneq ($(NO_SECURE),true)
5693ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005694-include $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005695endif
5696endif
5697
ctillerc6d61c42014-12-15 14:52:08 -08005698
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005699CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
5700
ctillercab52e72015-01-06 13:10:23 -08005701CHTTP2_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 -08005702
nnoble69ac39f2014-12-12 15:43:38 -08005703ifeq ($(NO_SECURE),true)
5704
Nicolas Noble047b7272015-01-16 13:55:05 -08005705# You can't build secure targets if you don't have OpenSSL with ALPN.
5706
ctillercab52e72015-01-06 13:10:23 -08005707bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005708
5709else
5710
nnoble5f2ecb32015-01-12 16:40:18 -08005711bins/$(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 -08005712 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005713 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005714 $(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 -08005715
nnoble69ac39f2014-12-12 15:43:38 -08005716endif
5717
Craig Tillerd4773f52015-01-12 16:38:47 -08005718
Craig Tiller8f126a62015-01-15 08:50:19 -08005719deps_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 -08005720
nnoble69ac39f2014-12-12 15:43:38 -08005721ifneq ($(NO_SECURE),true)
5722ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005723-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005724endif
nnoble69ac39f2014-12-12 15:43:38 -08005725endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005726
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005727
5728CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
5729
ctillercab52e72015-01-06 13:10:23 -08005730CHTTP2_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 -08005731
nnoble69ac39f2014-12-12 15:43:38 -08005732ifeq ($(NO_SECURE),true)
5733
Nicolas Noble047b7272015-01-16 13:55:05 -08005734# You can't build secure targets if you don't have OpenSSL with ALPN.
5735
ctillercab52e72015-01-06 13:10:23 -08005736bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005737
5738else
5739
nnoble5f2ecb32015-01-12 16:40:18 -08005740bins/$(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 -08005741 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005742 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005743 $(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 -08005744
nnoble69ac39f2014-12-12 15:43:38 -08005745endif
5746
Craig Tillerd4773f52015-01-12 16:38:47 -08005747
Craig Tiller8f126a62015-01-15 08:50:19 -08005748deps_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 -08005749
nnoble69ac39f2014-12-12 15:43:38 -08005750ifneq ($(NO_SECURE),true)
5751ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005752-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005753endif
nnoble69ac39f2014-12-12 15:43:38 -08005754endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005755
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005756
Craig Tiller4ffdcd52015-01-16 11:34:55 -08005757CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
5758
5759CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
5760
5761ifeq ($(NO_SECURE),true)
5762
David Klempner7f3ed1e2015-01-16 15:35:56 -08005763# You can't build secure targets if you don't have OpenSSL with ALPN.
5764
Craig Tiller4ffdcd52015-01-16 11:34:55 -08005765bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test: openssl_dep_error
5766
5767else
5768
5769bins/$(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
5770 $(E) "[LD] Linking $@"
5771 $(Q) mkdir -p `dirname $@`
5772 $(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
5773
5774endif
5775
5776
5777deps_chttp2_fake_security_graceful_server_shutdown_test: $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
5778
5779ifneq ($(NO_SECURE),true)
5780ifneq ($(NO_DEPS),true)
5781-include $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
5782endif
5783endif
5784
5785
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005786CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_SRC = \
5787
ctillercab52e72015-01-06 13:10:23 -08005788CHTTP2_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 -08005789
nnoble69ac39f2014-12-12 15:43:38 -08005790ifeq ($(NO_SECURE),true)
5791
Nicolas Noble047b7272015-01-16 13:55:05 -08005792# You can't build secure targets if you don't have OpenSSL with ALPN.
5793
ctillercab52e72015-01-06 13:10:23 -08005794bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005795
5796else
5797
nnoble5f2ecb32015-01-12 16:40:18 -08005798bins/$(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 -08005799 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005800 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005801 $(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 -08005802
nnoble69ac39f2014-12-12 15:43:38 -08005803endif
5804
Craig Tillerd4773f52015-01-12 16:38:47 -08005805
Craig Tiller8f126a62015-01-15 08:50:19 -08005806deps_chttp2_fake_security_invoke_large_request_test: $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005807
nnoble69ac39f2014-12-12 15:43:38 -08005808ifneq ($(NO_SECURE),true)
5809ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005810-include $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005811endif
nnoble69ac39f2014-12-12 15:43:38 -08005812endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005813
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005814
5815CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_SRC = \
5816
ctillercab52e72015-01-06 13:10:23 -08005817CHTTP2_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 -08005818
nnoble69ac39f2014-12-12 15:43:38 -08005819ifeq ($(NO_SECURE),true)
5820
Nicolas Noble047b7272015-01-16 13:55:05 -08005821# You can't build secure targets if you don't have OpenSSL with ALPN.
5822
ctillercab52e72015-01-06 13:10:23 -08005823bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005824
5825else
5826
nnoble5f2ecb32015-01-12 16:40:18 -08005827bins/$(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 -08005828 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005829 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005830 $(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 -08005831
nnoble69ac39f2014-12-12 15:43:38 -08005832endif
5833
Craig Tillerd4773f52015-01-12 16:38:47 -08005834
Craig Tiller8f126a62015-01-15 08:50:19 -08005835deps_chttp2_fake_security_max_concurrent_streams_test: $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005836
nnoble69ac39f2014-12-12 15:43:38 -08005837ifneq ($(NO_SECURE),true)
5838ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005839-include $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005840endif
nnoble69ac39f2014-12-12 15:43:38 -08005841endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005842
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005843
5844CHTTP2_FAKE_SECURITY_NO_OP_TEST_SRC = \
5845
ctillercab52e72015-01-06 13:10:23 -08005846CHTTP2_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 -08005847
nnoble69ac39f2014-12-12 15:43:38 -08005848ifeq ($(NO_SECURE),true)
5849
Nicolas Noble047b7272015-01-16 13:55:05 -08005850# You can't build secure targets if you don't have OpenSSL with ALPN.
5851
ctillercab52e72015-01-06 13:10:23 -08005852bins/$(CONFIG)/chttp2_fake_security_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005853
5854else
5855
nnoble5f2ecb32015-01-12 16:40:18 -08005856bins/$(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 -08005857 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005858 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005859 $(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 -08005860
nnoble69ac39f2014-12-12 15:43:38 -08005861endif
5862
Craig Tillerd4773f52015-01-12 16:38:47 -08005863
Craig Tiller8f126a62015-01-15 08:50:19 -08005864deps_chttp2_fake_security_no_op_test: $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005865
nnoble69ac39f2014-12-12 15:43:38 -08005866ifneq ($(NO_SECURE),true)
5867ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005868-include $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005869endif
nnoble69ac39f2014-12-12 15:43:38 -08005870endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005871
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005872
5873CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_SRC = \
5874
ctillercab52e72015-01-06 13:10:23 -08005875CHTTP2_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 -08005876
nnoble69ac39f2014-12-12 15:43:38 -08005877ifeq ($(NO_SECURE),true)
5878
Nicolas Noble047b7272015-01-16 13:55:05 -08005879# You can't build secure targets if you don't have OpenSSL with ALPN.
5880
ctillercab52e72015-01-06 13:10:23 -08005881bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005882
5883else
5884
nnoble5f2ecb32015-01-12 16:40:18 -08005885bins/$(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 -08005886 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005887 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005888 $(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 -08005889
nnoble69ac39f2014-12-12 15:43:38 -08005890endif
5891
Craig Tillerd4773f52015-01-12 16:38:47 -08005892
Craig Tiller8f126a62015-01-15 08:50:19 -08005893deps_chttp2_fake_security_ping_pong_streaming_test: $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005894
nnoble69ac39f2014-12-12 15:43:38 -08005895ifneq ($(NO_SECURE),true)
5896ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005897-include $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005898endif
nnoble69ac39f2014-12-12 15:43:38 -08005899endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005900
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005901
ctiller33023c42014-12-12 16:28:33 -08005902CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
5903
ctillercab52e72015-01-06 13:10:23 -08005904CHTTP2_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 -08005905
5906ifeq ($(NO_SECURE),true)
5907
Nicolas Noble047b7272015-01-16 13:55:05 -08005908# You can't build secure targets if you don't have OpenSSL with ALPN.
5909
ctillercab52e72015-01-06 13:10:23 -08005910bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08005911
5912else
5913
nnoble5f2ecb32015-01-12 16:40:18 -08005914bins/$(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 -08005915 $(E) "[LD] Linking $@"
5916 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005917 $(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 -08005918
5919endif
5920
Craig Tillerd4773f52015-01-12 16:38:47 -08005921
Craig Tiller8f126a62015-01-15 08:50:19 -08005922deps_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 -08005923
5924ifneq ($(NO_SECURE),true)
5925ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005926-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08005927endif
5928endif
5929
ctiller33023c42014-12-12 16:28:33 -08005930
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005931CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
5932
ctillercab52e72015-01-06 13:10:23 -08005933CHTTP2_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 -08005934
nnoble69ac39f2014-12-12 15:43:38 -08005935ifeq ($(NO_SECURE),true)
5936
Nicolas Noble047b7272015-01-16 13:55:05 -08005937# You can't build secure targets if you don't have OpenSSL with ALPN.
5938
ctillercab52e72015-01-06 13:10:23 -08005939bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005940
5941else
5942
nnoble5f2ecb32015-01-12 16:40:18 -08005943bins/$(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 -08005944 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005945 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005946 $(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 -08005947
nnoble69ac39f2014-12-12 15:43:38 -08005948endif
5949
Craig Tillerd4773f52015-01-12 16:38:47 -08005950
Craig Tiller8f126a62015-01-15 08:50:19 -08005951deps_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 -08005952
nnoble69ac39f2014-12-12 15:43:38 -08005953ifneq ($(NO_SECURE),true)
5954ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005955-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005956endif
nnoble69ac39f2014-12-12 15:43:38 -08005957endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005958
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005959
5960CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
5961
ctillercab52e72015-01-06 13:10:23 -08005962CHTTP2_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 -08005963
nnoble69ac39f2014-12-12 15:43:38 -08005964ifeq ($(NO_SECURE),true)
5965
Nicolas Noble047b7272015-01-16 13:55:05 -08005966# You can't build secure targets if you don't have OpenSSL with ALPN.
5967
ctillercab52e72015-01-06 13:10:23 -08005968bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005969
5970else
5971
nnoble5f2ecb32015-01-12 16:40:18 -08005972bins/$(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 -08005973 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005974 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005975 $(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 -08005976
nnoble69ac39f2014-12-12 15:43:38 -08005977endif
5978
Craig Tillerd4773f52015-01-12 16:38:47 -08005979
Craig Tiller8f126a62015-01-15 08:50:19 -08005980deps_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 -08005981
nnoble69ac39f2014-12-12 15:43:38 -08005982ifneq ($(NO_SECURE),true)
5983ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005984-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005985endif
nnoble69ac39f2014-12-12 15:43:38 -08005986endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005987
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005988
ctiller2845cad2014-12-15 15:14:12 -08005989CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
5990
ctillercab52e72015-01-06 13:10:23 -08005991CHTTP2_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 -08005992
5993ifeq ($(NO_SECURE),true)
5994
Nicolas Noble047b7272015-01-16 13:55:05 -08005995# You can't build secure targets if you don't have OpenSSL with ALPN.
5996
ctillercab52e72015-01-06 13:10:23 -08005997bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08005998
5999else
6000
nnoble5f2ecb32015-01-12 16:40:18 -08006001bins/$(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 -08006002 $(E) "[LD] Linking $@"
6003 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006004 $(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 -08006005
6006endif
6007
Craig Tillerd4773f52015-01-12 16:38:47 -08006008
Craig Tiller8f126a62015-01-15 08:50:19 -08006009deps_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 -08006010
6011ifneq ($(NO_SECURE),true)
6012ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006013-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006014endif
6015endif
6016
ctiller2845cad2014-12-15 15:14:12 -08006017
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006018CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6019
ctillercab52e72015-01-06 13:10:23 -08006020CHTTP2_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 -08006021
nnoble69ac39f2014-12-12 15:43:38 -08006022ifeq ($(NO_SECURE),true)
6023
Nicolas Noble047b7272015-01-16 13:55:05 -08006024# You can't build secure targets if you don't have OpenSSL with ALPN.
6025
ctillercab52e72015-01-06 13:10:23 -08006026bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006027
6028else
6029
nnoble5f2ecb32015-01-12 16:40:18 -08006030bins/$(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 -08006031 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006032 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006033 $(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 -08006034
nnoble69ac39f2014-12-12 15:43:38 -08006035endif
6036
Craig Tillerd4773f52015-01-12 16:38:47 -08006037
Craig Tiller8f126a62015-01-15 08:50:19 -08006038deps_chttp2_fake_security_simple_delayed_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006039
nnoble69ac39f2014-12-12 15:43:38 -08006040ifneq ($(NO_SECURE),true)
6041ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006042-include $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006043endif
nnoble69ac39f2014-12-12 15:43:38 -08006044endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006045
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006046
6047CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_SRC = \
6048
ctillercab52e72015-01-06 13:10:23 -08006049CHTTP2_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 -08006050
nnoble69ac39f2014-12-12 15:43:38 -08006051ifeq ($(NO_SECURE),true)
6052
Nicolas Noble047b7272015-01-16 13:55:05 -08006053# You can't build secure targets if you don't have OpenSSL with ALPN.
6054
ctillercab52e72015-01-06 13:10:23 -08006055bins/$(CONFIG)/chttp2_fake_security_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006056
6057else
6058
nnoble5f2ecb32015-01-12 16:40:18 -08006059bins/$(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 -08006060 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006061 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006062 $(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 -08006063
nnoble69ac39f2014-12-12 15:43:38 -08006064endif
6065
Craig Tillerd4773f52015-01-12 16:38:47 -08006066
Craig Tiller8f126a62015-01-15 08:50:19 -08006067deps_chttp2_fake_security_simple_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006068
nnoble69ac39f2014-12-12 15:43:38 -08006069ifneq ($(NO_SECURE),true)
6070ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006071-include $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006072endif
nnoble69ac39f2014-12-12 15:43:38 -08006073endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006074
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006075
nathaniel52878172014-12-09 10:17:19 -08006076CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006077
ctillercab52e72015-01-06 13:10:23 -08006078CHTTP2_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 -08006079
nnoble69ac39f2014-12-12 15:43:38 -08006080ifeq ($(NO_SECURE),true)
6081
Nicolas Noble047b7272015-01-16 13:55:05 -08006082# You can't build secure targets if you don't have OpenSSL with ALPN.
6083
ctillercab52e72015-01-06 13:10:23 -08006084bins/$(CONFIG)/chttp2_fake_security_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006085
6086else
6087
nnoble5f2ecb32015-01-12 16:40:18 -08006088bins/$(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 -08006089 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006090 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006091 $(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 -08006092
nnoble69ac39f2014-12-12 15:43:38 -08006093endif
6094
Craig Tillerd4773f52015-01-12 16:38:47 -08006095
Craig Tiller8f126a62015-01-15 08:50:19 -08006096deps_chttp2_fake_security_thread_stress_test: $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006097
nnoble69ac39f2014-12-12 15:43:38 -08006098ifneq ($(NO_SECURE),true)
6099ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006100-include $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006101endif
nnoble69ac39f2014-12-12 15:43:38 -08006102endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006103
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006104
6105CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6106
ctillercab52e72015-01-06 13:10:23 -08006107CHTTP2_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 -08006108
nnoble69ac39f2014-12-12 15:43:38 -08006109ifeq ($(NO_SECURE),true)
6110
Nicolas Noble047b7272015-01-16 13:55:05 -08006111# You can't build secure targets if you don't have OpenSSL with ALPN.
6112
ctillercab52e72015-01-06 13:10:23 -08006113bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006114
6115else
6116
nnoble5f2ecb32015-01-12 16:40:18 -08006117bins/$(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 -08006118 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006119 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006120 $(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 -08006121
nnoble69ac39f2014-12-12 15:43:38 -08006122endif
6123
Craig Tillerd4773f52015-01-12 16:38:47 -08006124
Craig Tiller8f126a62015-01-15 08:50:19 -08006125deps_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 -08006126
nnoble69ac39f2014-12-12 15:43:38 -08006127ifneq ($(NO_SECURE),true)
6128ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006129-include $(CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006130endif
nnoble69ac39f2014-12-12 15:43:38 -08006131endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006132
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006133
6134CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6135
ctillercab52e72015-01-06 13:10:23 -08006136CHTTP2_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 -08006137
nnoble69ac39f2014-12-12 15:43:38 -08006138ifeq ($(NO_SECURE),true)
6139
Nicolas Noble047b7272015-01-16 13:55:05 -08006140# You can't build secure targets if you don't have OpenSSL with ALPN.
6141
ctillercab52e72015-01-06 13:10:23 -08006142bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006143
6144else
6145
nnoble5f2ecb32015-01-12 16:40:18 -08006146bins/$(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 -08006147 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006148 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006149 $(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 -08006150
nnoble69ac39f2014-12-12 15:43:38 -08006151endif
6152
Craig Tillerd4773f52015-01-12 16:38:47 -08006153
Craig Tiller8f126a62015-01-15 08:50:19 -08006154deps_chttp2_fullstack_cancel_after_accept_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006155
nnoble69ac39f2014-12-12 15:43:38 -08006156ifneq ($(NO_SECURE),true)
6157ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006158-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006159endif
nnoble69ac39f2014-12-12 15:43:38 -08006160endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006161
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006162
6163CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6164
ctillercab52e72015-01-06 13:10:23 -08006165CHTTP2_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 -08006166
nnoble69ac39f2014-12-12 15:43:38 -08006167ifeq ($(NO_SECURE),true)
6168
Nicolas Noble047b7272015-01-16 13:55:05 -08006169# You can't build secure targets if you don't have OpenSSL with ALPN.
6170
ctillercab52e72015-01-06 13:10:23 -08006171bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006172
6173else
6174
nnoble5f2ecb32015-01-12 16:40:18 -08006175bins/$(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 -08006176 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006177 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006178 $(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 -08006179
nnoble69ac39f2014-12-12 15:43:38 -08006180endif
6181
Craig Tillerd4773f52015-01-12 16:38:47 -08006182
Craig Tiller8f126a62015-01-15 08:50:19 -08006183deps_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 -08006184
nnoble69ac39f2014-12-12 15:43:38 -08006185ifneq ($(NO_SECURE),true)
6186ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006187-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006188endif
nnoble69ac39f2014-12-12 15:43:38 -08006189endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006190
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006191
6192CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6193
ctillercab52e72015-01-06 13:10:23 -08006194CHTTP2_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 -08006195
nnoble69ac39f2014-12-12 15:43:38 -08006196ifeq ($(NO_SECURE),true)
6197
Nicolas Noble047b7272015-01-16 13:55:05 -08006198# You can't build secure targets if you don't have OpenSSL with ALPN.
6199
ctillercab52e72015-01-06 13:10:23 -08006200bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006201
6202else
6203
nnoble5f2ecb32015-01-12 16:40:18 -08006204bins/$(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 -08006205 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006206 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006207 $(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 -08006208
nnoble69ac39f2014-12-12 15:43:38 -08006209endif
6210
Craig Tillerd4773f52015-01-12 16:38:47 -08006211
Craig Tiller8f126a62015-01-15 08:50:19 -08006212deps_chttp2_fullstack_cancel_after_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006213
nnoble69ac39f2014-12-12 15:43:38 -08006214ifneq ($(NO_SECURE),true)
6215ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006216-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006217endif
nnoble69ac39f2014-12-12 15:43:38 -08006218endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006219
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006220
6221CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
6222
ctillercab52e72015-01-06 13:10:23 -08006223CHTTP2_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 -08006224
nnoble69ac39f2014-12-12 15:43:38 -08006225ifeq ($(NO_SECURE),true)
6226
Nicolas Noble047b7272015-01-16 13:55:05 -08006227# You can't build secure targets if you don't have OpenSSL with ALPN.
6228
ctillercab52e72015-01-06 13:10:23 -08006229bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006230
6231else
6232
nnoble5f2ecb32015-01-12 16:40:18 -08006233bins/$(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 -08006234 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006235 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006236 $(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 -08006237
nnoble69ac39f2014-12-12 15:43:38 -08006238endif
6239
Craig Tillerd4773f52015-01-12 16:38:47 -08006240
Craig Tiller8f126a62015-01-15 08:50:19 -08006241deps_chttp2_fullstack_cancel_before_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006242
nnoble69ac39f2014-12-12 15:43:38 -08006243ifneq ($(NO_SECURE),true)
6244ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006245-include $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006246endif
nnoble69ac39f2014-12-12 15:43:38 -08006247endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006248
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006249
6250CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
6251
ctillercab52e72015-01-06 13:10:23 -08006252CHTTP2_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 -08006253
nnoble69ac39f2014-12-12 15:43:38 -08006254ifeq ($(NO_SECURE),true)
6255
Nicolas Noble047b7272015-01-16 13:55:05 -08006256# You can't build secure targets if you don't have OpenSSL with ALPN.
6257
ctillercab52e72015-01-06 13:10:23 -08006258bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006259
6260else
6261
nnoble5f2ecb32015-01-12 16:40:18 -08006262bins/$(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 -08006263 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006264 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006265 $(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 -08006266
nnoble69ac39f2014-12-12 15:43:38 -08006267endif
6268
Craig Tillerd4773f52015-01-12 16:38:47 -08006269
Craig Tiller8f126a62015-01-15 08:50:19 -08006270deps_chttp2_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006271
nnoble69ac39f2014-12-12 15:43:38 -08006272ifneq ($(NO_SECURE),true)
6273ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006274-include $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006275endif
nnoble69ac39f2014-12-12 15:43:38 -08006276endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006277
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006278
hongyu24200d32015-01-08 15:13:49 -08006279CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
6280
6281CHTTP2_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 -08006282
6283ifeq ($(NO_SECURE),true)
6284
Nicolas Noble047b7272015-01-16 13:55:05 -08006285# You can't build secure targets if you don't have OpenSSL with ALPN.
6286
hongyu24200d32015-01-08 15:13:49 -08006287bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test: openssl_dep_error
6288
6289else
6290
nnoble5f2ecb32015-01-12 16:40:18 -08006291bins/$(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 -08006292 $(E) "[LD] Linking $@"
6293 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006294 $(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 -08006295
6296endif
6297
Craig Tillerd4773f52015-01-12 16:38:47 -08006298
Craig Tiller8f126a62015-01-15 08:50:19 -08006299deps_chttp2_fullstack_census_simple_request_test: $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006300
6301ifneq ($(NO_SECURE),true)
6302ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006303-include $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006304endif
6305endif
6306
hongyu24200d32015-01-08 15:13:49 -08006307
ctillerc6d61c42014-12-15 14:52:08 -08006308CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
6309
ctillercab52e72015-01-06 13:10:23 -08006310CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08006311
6312ifeq ($(NO_SECURE),true)
6313
Nicolas Noble047b7272015-01-16 13:55:05 -08006314# You can't build secure targets if you don't have OpenSSL with ALPN.
6315
ctillercab52e72015-01-06 13:10:23 -08006316bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08006317
6318else
6319
nnoble5f2ecb32015-01-12 16:40:18 -08006320bins/$(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 -08006321 $(E) "[LD] Linking $@"
6322 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006323 $(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 -08006324
6325endif
6326
Craig Tillerd4773f52015-01-12 16:38:47 -08006327
Craig Tiller8f126a62015-01-15 08:50:19 -08006328deps_chttp2_fullstack_disappearing_server_test: $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006329
6330ifneq ($(NO_SECURE),true)
6331ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006332-include $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006333endif
6334endif
6335
ctillerc6d61c42014-12-15 14:52:08 -08006336
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006337CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
6338
ctillercab52e72015-01-06 13:10:23 -08006339CHTTP2_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 -08006340
nnoble69ac39f2014-12-12 15:43:38 -08006341ifeq ($(NO_SECURE),true)
6342
Nicolas Noble047b7272015-01-16 13:55:05 -08006343# You can't build secure targets if you don't have OpenSSL with ALPN.
6344
ctillercab52e72015-01-06 13:10:23 -08006345bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006346
6347else
6348
nnoble5f2ecb32015-01-12 16:40:18 -08006349bins/$(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 -08006350 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006351 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006352 $(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 -08006353
nnoble69ac39f2014-12-12 15:43:38 -08006354endif
6355
Craig Tillerd4773f52015-01-12 16:38:47 -08006356
Craig Tiller8f126a62015-01-15 08:50:19 -08006357deps_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 -08006358
nnoble69ac39f2014-12-12 15:43:38 -08006359ifneq ($(NO_SECURE),true)
6360ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006361-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006362endif
nnoble69ac39f2014-12-12 15:43:38 -08006363endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006364
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006365
6366CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
6367
ctillercab52e72015-01-06 13:10:23 -08006368CHTTP2_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 -08006369
nnoble69ac39f2014-12-12 15:43:38 -08006370ifeq ($(NO_SECURE),true)
6371
Nicolas Noble047b7272015-01-16 13:55:05 -08006372# You can't build secure targets if you don't have OpenSSL with ALPN.
6373
ctillercab52e72015-01-06 13:10:23 -08006374bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006375
6376else
6377
nnoble5f2ecb32015-01-12 16:40:18 -08006378bins/$(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 -08006379 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006380 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006381 $(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 -08006382
nnoble69ac39f2014-12-12 15:43:38 -08006383endif
6384
Craig Tillerd4773f52015-01-12 16:38:47 -08006385
Craig Tiller8f126a62015-01-15 08:50:19 -08006386deps_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 -08006387
nnoble69ac39f2014-12-12 15:43:38 -08006388ifneq ($(NO_SECURE),true)
6389ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006390-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006391endif
nnoble69ac39f2014-12-12 15:43:38 -08006392endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006393
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006394
Craig Tiller4ffdcd52015-01-16 11:34:55 -08006395CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
6396
6397CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
6398
6399ifeq ($(NO_SECURE),true)
6400
David Klempner7f3ed1e2015-01-16 15:35:56 -08006401# You can't build secure targets if you don't have OpenSSL with ALPN.
6402
Craig Tiller4ffdcd52015-01-16 11:34:55 -08006403bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test: openssl_dep_error
6404
6405else
6406
6407bins/$(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
6408 $(E) "[LD] Linking $@"
6409 $(Q) mkdir -p `dirname $@`
6410 $(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
6411
6412endif
6413
6414
6415deps_chttp2_fullstack_graceful_server_shutdown_test: $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
6416
6417ifneq ($(NO_SECURE),true)
6418ifneq ($(NO_DEPS),true)
6419-include $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
6420endif
6421endif
6422
6423
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006424CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
6425
ctillercab52e72015-01-06 13:10:23 -08006426CHTTP2_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 -08006427
nnoble69ac39f2014-12-12 15:43:38 -08006428ifeq ($(NO_SECURE),true)
6429
Nicolas Noble047b7272015-01-16 13:55:05 -08006430# You can't build secure targets if you don't have OpenSSL with ALPN.
6431
ctillercab52e72015-01-06 13:10:23 -08006432bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006433
6434else
6435
nnoble5f2ecb32015-01-12 16:40:18 -08006436bins/$(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 -08006437 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006438 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006439 $(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 -08006440
nnoble69ac39f2014-12-12 15:43:38 -08006441endif
6442
Craig Tillerd4773f52015-01-12 16:38:47 -08006443
Craig Tiller8f126a62015-01-15 08:50:19 -08006444deps_chttp2_fullstack_invoke_large_request_test: $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006445
nnoble69ac39f2014-12-12 15:43:38 -08006446ifneq ($(NO_SECURE),true)
6447ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006448-include $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006449endif
nnoble69ac39f2014-12-12 15:43:38 -08006450endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006451
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006452
6453CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
6454
ctillercab52e72015-01-06 13:10:23 -08006455CHTTP2_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 -08006456
nnoble69ac39f2014-12-12 15:43:38 -08006457ifeq ($(NO_SECURE),true)
6458
Nicolas Noble047b7272015-01-16 13:55:05 -08006459# You can't build secure targets if you don't have OpenSSL with ALPN.
6460
ctillercab52e72015-01-06 13:10:23 -08006461bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006462
6463else
6464
nnoble5f2ecb32015-01-12 16:40:18 -08006465bins/$(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 -08006466 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006467 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006468 $(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 -08006469
nnoble69ac39f2014-12-12 15:43:38 -08006470endif
6471
Craig Tillerd4773f52015-01-12 16:38:47 -08006472
Craig Tiller8f126a62015-01-15 08:50:19 -08006473deps_chttp2_fullstack_max_concurrent_streams_test: $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006474
nnoble69ac39f2014-12-12 15:43:38 -08006475ifneq ($(NO_SECURE),true)
6476ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006477-include $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006478endif
nnoble69ac39f2014-12-12 15:43:38 -08006479endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006480
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006481
6482CHTTP2_FULLSTACK_NO_OP_TEST_SRC = \
6483
ctillercab52e72015-01-06 13:10:23 -08006484CHTTP2_FULLSTACK_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_NO_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006485
nnoble69ac39f2014-12-12 15:43:38 -08006486ifeq ($(NO_SECURE),true)
6487
Nicolas Noble047b7272015-01-16 13:55:05 -08006488# You can't build secure targets if you don't have OpenSSL with ALPN.
6489
ctillercab52e72015-01-06 13:10:23 -08006490bins/$(CONFIG)/chttp2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006491
6492else
6493
nnoble5f2ecb32015-01-12 16:40:18 -08006494bins/$(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 -08006495 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006496 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006497 $(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 -08006498
nnoble69ac39f2014-12-12 15:43:38 -08006499endif
6500
Craig Tillerd4773f52015-01-12 16:38:47 -08006501
Craig Tiller8f126a62015-01-15 08:50:19 -08006502deps_chttp2_fullstack_no_op_test: $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006503
nnoble69ac39f2014-12-12 15:43:38 -08006504ifneq ($(NO_SECURE),true)
6505ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006506-include $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006507endif
nnoble69ac39f2014-12-12 15:43:38 -08006508endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006509
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006510
6511CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
6512
ctillercab52e72015-01-06 13:10:23 -08006513CHTTP2_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 -08006514
nnoble69ac39f2014-12-12 15:43:38 -08006515ifeq ($(NO_SECURE),true)
6516
Nicolas Noble047b7272015-01-16 13:55:05 -08006517# You can't build secure targets if you don't have OpenSSL with ALPN.
6518
ctillercab52e72015-01-06 13:10:23 -08006519bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006520
6521else
6522
nnoble5f2ecb32015-01-12 16:40:18 -08006523bins/$(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 -08006524 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006525 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006526 $(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 -08006527
nnoble69ac39f2014-12-12 15:43:38 -08006528endif
6529
Craig Tillerd4773f52015-01-12 16:38:47 -08006530
Craig Tiller8f126a62015-01-15 08:50:19 -08006531deps_chttp2_fullstack_ping_pong_streaming_test: $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006532
nnoble69ac39f2014-12-12 15:43:38 -08006533ifneq ($(NO_SECURE),true)
6534ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006535-include $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006536endif
nnoble69ac39f2014-12-12 15:43:38 -08006537endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006538
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006539
ctiller33023c42014-12-12 16:28:33 -08006540CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
6541
ctillercab52e72015-01-06 13:10:23 -08006542CHTTP2_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 -08006543
6544ifeq ($(NO_SECURE),true)
6545
Nicolas Noble047b7272015-01-16 13:55:05 -08006546# You can't build secure targets if you don't have OpenSSL with ALPN.
6547
ctillercab52e72015-01-06 13:10:23 -08006548bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08006549
6550else
6551
nnoble5f2ecb32015-01-12 16:40:18 -08006552bins/$(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 -08006553 $(E) "[LD] Linking $@"
6554 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006555 $(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 -08006556
6557endif
6558
Craig Tillerd4773f52015-01-12 16:38:47 -08006559
Craig Tiller8f126a62015-01-15 08:50:19 -08006560deps_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 -08006561
6562ifneq ($(NO_SECURE),true)
6563ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006564-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006565endif
6566endif
6567
ctiller33023c42014-12-12 16:28:33 -08006568
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006569CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
6570
ctillercab52e72015-01-06 13:10:23 -08006571CHTTP2_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 -08006572
nnoble69ac39f2014-12-12 15:43:38 -08006573ifeq ($(NO_SECURE),true)
6574
Nicolas Noble047b7272015-01-16 13:55:05 -08006575# You can't build secure targets if you don't have OpenSSL with ALPN.
6576
ctillercab52e72015-01-06 13:10:23 -08006577bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006578
6579else
6580
nnoble5f2ecb32015-01-12 16:40:18 -08006581bins/$(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 -08006582 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006583 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006584 $(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 -08006585
nnoble69ac39f2014-12-12 15:43:38 -08006586endif
6587
Craig Tillerd4773f52015-01-12 16:38:47 -08006588
Craig Tiller8f126a62015-01-15 08:50:19 -08006589deps_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 -08006590
nnoble69ac39f2014-12-12 15:43:38 -08006591ifneq ($(NO_SECURE),true)
6592ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006593-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006594endif
nnoble69ac39f2014-12-12 15:43:38 -08006595endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006596
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006597
6598CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
6599
ctillercab52e72015-01-06 13:10:23 -08006600CHTTP2_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 -08006601
nnoble69ac39f2014-12-12 15:43:38 -08006602ifeq ($(NO_SECURE),true)
6603
Nicolas Noble047b7272015-01-16 13:55:05 -08006604# You can't build secure targets if you don't have OpenSSL with ALPN.
6605
ctillercab52e72015-01-06 13:10:23 -08006606bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006607
6608else
6609
nnoble5f2ecb32015-01-12 16:40:18 -08006610bins/$(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 -08006611 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006612 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006613 $(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 -08006614
nnoble69ac39f2014-12-12 15:43:38 -08006615endif
6616
Craig Tillerd4773f52015-01-12 16:38:47 -08006617
Craig Tiller8f126a62015-01-15 08:50:19 -08006618deps_chttp2_fullstack_request_response_with_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006619
nnoble69ac39f2014-12-12 15:43:38 -08006620ifneq ($(NO_SECURE),true)
6621ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006622-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006623endif
nnoble69ac39f2014-12-12 15:43:38 -08006624endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006625
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006626
ctiller2845cad2014-12-15 15:14:12 -08006627CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
6628
ctillercab52e72015-01-06 13:10:23 -08006629CHTTP2_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 -08006630
6631ifeq ($(NO_SECURE),true)
6632
Nicolas Noble047b7272015-01-16 13:55:05 -08006633# You can't build secure targets if you don't have OpenSSL with ALPN.
6634
ctillercab52e72015-01-06 13:10:23 -08006635bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08006636
6637else
6638
nnoble5f2ecb32015-01-12 16:40:18 -08006639bins/$(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 -08006640 $(E) "[LD] Linking $@"
6641 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006642 $(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 -08006643
6644endif
6645
Craig Tillerd4773f52015-01-12 16:38:47 -08006646
Craig Tiller8f126a62015-01-15 08:50:19 -08006647deps_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 -08006648
6649ifneq ($(NO_SECURE),true)
6650ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006651-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006652endif
6653endif
6654
ctiller2845cad2014-12-15 15:14:12 -08006655
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006656CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6657
ctillercab52e72015-01-06 13:10:23 -08006658CHTTP2_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 -08006659
nnoble69ac39f2014-12-12 15:43:38 -08006660ifeq ($(NO_SECURE),true)
6661
Nicolas Noble047b7272015-01-16 13:55:05 -08006662# You can't build secure targets if you don't have OpenSSL with ALPN.
6663
ctillercab52e72015-01-06 13:10:23 -08006664bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006665
6666else
6667
nnoble5f2ecb32015-01-12 16:40:18 -08006668bins/$(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 -08006669 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006670 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006671 $(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 -08006672
nnoble69ac39f2014-12-12 15:43:38 -08006673endif
6674
Craig Tillerd4773f52015-01-12 16:38:47 -08006675
Craig Tiller8f126a62015-01-15 08:50:19 -08006676deps_chttp2_fullstack_simple_delayed_request_test: $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006677
nnoble69ac39f2014-12-12 15:43:38 -08006678ifneq ($(NO_SECURE),true)
6679ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006680-include $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006681endif
nnoble69ac39f2014-12-12 15:43:38 -08006682endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006683
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006684
6685CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
6686
ctillercab52e72015-01-06 13:10:23 -08006687CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006688
nnoble69ac39f2014-12-12 15:43:38 -08006689ifeq ($(NO_SECURE),true)
6690
Nicolas Noble047b7272015-01-16 13:55:05 -08006691# You can't build secure targets if you don't have OpenSSL with ALPN.
6692
ctillercab52e72015-01-06 13:10:23 -08006693bins/$(CONFIG)/chttp2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006694
6695else
6696
nnoble5f2ecb32015-01-12 16:40:18 -08006697bins/$(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 -08006698 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006699 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006700 $(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 -08006701
nnoble69ac39f2014-12-12 15:43:38 -08006702endif
6703
Craig Tillerd4773f52015-01-12 16:38:47 -08006704
Craig Tiller8f126a62015-01-15 08:50:19 -08006705deps_chttp2_fullstack_simple_request_test: $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006706
nnoble69ac39f2014-12-12 15:43:38 -08006707ifneq ($(NO_SECURE),true)
6708ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006709-include $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006710endif
nnoble69ac39f2014-12-12 15:43:38 -08006711endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006712
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006713
nathaniel52878172014-12-09 10:17:19 -08006714CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006715
ctillercab52e72015-01-06 13:10:23 -08006716CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006717
nnoble69ac39f2014-12-12 15:43:38 -08006718ifeq ($(NO_SECURE),true)
6719
Nicolas Noble047b7272015-01-16 13:55:05 -08006720# You can't build secure targets if you don't have OpenSSL with ALPN.
6721
ctillercab52e72015-01-06 13:10:23 -08006722bins/$(CONFIG)/chttp2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006723
6724else
6725
nnoble5f2ecb32015-01-12 16:40:18 -08006726bins/$(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 -08006727 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006728 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006729 $(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 -08006730
nnoble69ac39f2014-12-12 15:43:38 -08006731endif
6732
Craig Tillerd4773f52015-01-12 16:38:47 -08006733
Craig Tiller8f126a62015-01-15 08:50:19 -08006734deps_chttp2_fullstack_thread_stress_test: $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006735
nnoble69ac39f2014-12-12 15:43:38 -08006736ifneq ($(NO_SECURE),true)
6737ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006738-include $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006739endif
nnoble69ac39f2014-12-12 15:43:38 -08006740endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006741
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006742
6743CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6744
ctillercab52e72015-01-06 13:10:23 -08006745CHTTP2_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 -08006746
nnoble69ac39f2014-12-12 15:43:38 -08006747ifeq ($(NO_SECURE),true)
6748
Nicolas Noble047b7272015-01-16 13:55:05 -08006749# You can't build secure targets if you don't have OpenSSL with ALPN.
6750
ctillercab52e72015-01-06 13:10:23 -08006751bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006752
6753else
6754
nnoble5f2ecb32015-01-12 16:40:18 -08006755bins/$(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 -08006756 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006757 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006758 $(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 -08006759
nnoble69ac39f2014-12-12 15:43:38 -08006760endif
6761
Craig Tillerd4773f52015-01-12 16:38:47 -08006762
Craig Tiller8f126a62015-01-15 08:50:19 -08006763deps_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 -08006764
nnoble69ac39f2014-12-12 15:43:38 -08006765ifneq ($(NO_SECURE),true)
6766ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006767-include $(CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006768endif
nnoble69ac39f2014-12-12 15:43:38 -08006769endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006770
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006771
6772CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6773
ctillercab52e72015-01-06 13:10:23 -08006774CHTTP2_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 -08006775
nnoble69ac39f2014-12-12 15:43:38 -08006776ifeq ($(NO_SECURE),true)
6777
Nicolas Noble047b7272015-01-16 13:55:05 -08006778# You can't build secure targets if you don't have OpenSSL with ALPN.
6779
ctillercab52e72015-01-06 13:10:23 -08006780bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006781
6782else
6783
nnoble5f2ecb32015-01-12 16:40:18 -08006784bins/$(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 -08006785 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006786 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006787 $(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 -08006788
nnoble69ac39f2014-12-12 15:43:38 -08006789endif
6790
Craig Tillerd4773f52015-01-12 16:38:47 -08006791
Craig Tiller8f126a62015-01-15 08:50:19 -08006792deps_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 -08006793
nnoble69ac39f2014-12-12 15:43:38 -08006794ifneq ($(NO_SECURE),true)
6795ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006796-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006797endif
nnoble69ac39f2014-12-12 15:43:38 -08006798endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006799
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006800
6801CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6802
ctillercab52e72015-01-06 13:10:23 -08006803CHTTP2_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 -08006804
nnoble69ac39f2014-12-12 15:43:38 -08006805ifeq ($(NO_SECURE),true)
6806
Nicolas Noble047b7272015-01-16 13:55:05 -08006807# You can't build secure targets if you don't have OpenSSL with ALPN.
6808
ctillercab52e72015-01-06 13:10:23 -08006809bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006810
6811else
6812
nnoble5f2ecb32015-01-12 16:40:18 -08006813bins/$(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 -08006814 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006815 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006816 $(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 -08006817
nnoble69ac39f2014-12-12 15:43:38 -08006818endif
6819
Craig Tillerd4773f52015-01-12 16:38:47 -08006820
Craig Tiller8f126a62015-01-15 08:50:19 -08006821deps_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 -08006822
nnoble69ac39f2014-12-12 15:43:38 -08006823ifneq ($(NO_SECURE),true)
6824ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006825-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006826endif
nnoble69ac39f2014-12-12 15:43:38 -08006827endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006828
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006829
6830CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6831
ctillercab52e72015-01-06 13:10:23 -08006832CHTTP2_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 -08006833
nnoble69ac39f2014-12-12 15:43:38 -08006834ifeq ($(NO_SECURE),true)
6835
Nicolas Noble047b7272015-01-16 13:55:05 -08006836# You can't build secure targets if you don't have OpenSSL with ALPN.
6837
ctillercab52e72015-01-06 13:10:23 -08006838bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006839
6840else
6841
nnoble5f2ecb32015-01-12 16:40:18 -08006842bins/$(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 -08006843 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006844 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006845 $(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 -08006846
nnoble69ac39f2014-12-12 15:43:38 -08006847endif
6848
Craig Tillerd4773f52015-01-12 16:38:47 -08006849
Craig Tiller8f126a62015-01-15 08:50:19 -08006850deps_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 -08006851
nnoble69ac39f2014-12-12 15:43:38 -08006852ifneq ($(NO_SECURE),true)
6853ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006854-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006855endif
nnoble69ac39f2014-12-12 15:43:38 -08006856endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006857
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006858
6859CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
6860
ctillercab52e72015-01-06 13:10:23 -08006861CHTTP2_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 -08006862
nnoble69ac39f2014-12-12 15:43:38 -08006863ifeq ($(NO_SECURE),true)
6864
Nicolas Noble047b7272015-01-16 13:55:05 -08006865# You can't build secure targets if you don't have OpenSSL with ALPN.
6866
ctillercab52e72015-01-06 13:10:23 -08006867bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006868
6869else
6870
nnoble5f2ecb32015-01-12 16:40:18 -08006871bins/$(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 -08006872 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006873 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006874 $(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 -08006875
nnoble69ac39f2014-12-12 15:43:38 -08006876endif
6877
Craig Tillerd4773f52015-01-12 16:38:47 -08006878
Craig Tiller8f126a62015-01-15 08:50:19 -08006879deps_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 -08006880
nnoble69ac39f2014-12-12 15:43:38 -08006881ifneq ($(NO_SECURE),true)
6882ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006883-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006884endif
nnoble69ac39f2014-12-12 15:43:38 -08006885endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006886
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006887
6888CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
6889
ctillercab52e72015-01-06 13:10:23 -08006890CHTTP2_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 -08006891
nnoble69ac39f2014-12-12 15:43:38 -08006892ifeq ($(NO_SECURE),true)
6893
Nicolas Noble047b7272015-01-16 13:55:05 -08006894# You can't build secure targets if you don't have OpenSSL with ALPN.
6895
ctillercab52e72015-01-06 13:10:23 -08006896bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006897
6898else
6899
nnoble5f2ecb32015-01-12 16:40:18 -08006900bins/$(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 -08006901 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006902 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006903 $(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 -08006904
nnoble69ac39f2014-12-12 15:43:38 -08006905endif
6906
Craig Tillerd4773f52015-01-12 16:38:47 -08006907
Craig Tiller8f126a62015-01-15 08:50:19 -08006908deps_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 -08006909
nnoble69ac39f2014-12-12 15:43:38 -08006910ifneq ($(NO_SECURE),true)
6911ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006912-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006913endif
nnoble69ac39f2014-12-12 15:43:38 -08006914endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006915
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006916
hongyu24200d32015-01-08 15:13:49 -08006917CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
6918
6919CHTTP2_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 -08006920
6921ifeq ($(NO_SECURE),true)
6922
Nicolas Noble047b7272015-01-16 13:55:05 -08006923# You can't build secure targets if you don't have OpenSSL with ALPN.
6924
hongyu24200d32015-01-08 15:13:49 -08006925bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test: openssl_dep_error
6926
6927else
6928
nnoble5f2ecb32015-01-12 16:40:18 -08006929bins/$(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 -08006930 $(E) "[LD] Linking $@"
6931 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006932 $(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 -08006933
6934endif
6935
Craig Tillerd4773f52015-01-12 16:38:47 -08006936
Craig Tiller8f126a62015-01-15 08:50:19 -08006937deps_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 -08006938
6939ifneq ($(NO_SECURE),true)
6940ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006941-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006942endif
6943endif
6944
hongyu24200d32015-01-08 15:13:49 -08006945
ctillerc6d61c42014-12-15 14:52:08 -08006946CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
6947
ctillercab52e72015-01-06 13:10:23 -08006948CHTTP2_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 -08006949
6950ifeq ($(NO_SECURE),true)
6951
Nicolas Noble047b7272015-01-16 13:55:05 -08006952# You can't build secure targets if you don't have OpenSSL with ALPN.
6953
ctillercab52e72015-01-06 13:10:23 -08006954bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08006955
6956else
6957
nnoble5f2ecb32015-01-12 16:40:18 -08006958bins/$(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 -08006959 $(E) "[LD] Linking $@"
6960 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006961 $(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 -08006962
6963endif
6964
Craig Tillerd4773f52015-01-12 16:38:47 -08006965
Craig Tiller8f126a62015-01-15 08:50:19 -08006966deps_chttp2_simple_ssl_fullstack_disappearing_server_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006967
6968ifneq ($(NO_SECURE),true)
6969ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006970-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006971endif
6972endif
6973
ctillerc6d61c42014-12-15 14:52:08 -08006974
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006975CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
6976
ctillercab52e72015-01-06 13:10:23 -08006977CHTTP2_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 -08006978
nnoble69ac39f2014-12-12 15:43:38 -08006979ifeq ($(NO_SECURE),true)
6980
Nicolas Noble047b7272015-01-16 13:55:05 -08006981# You can't build secure targets if you don't have OpenSSL with ALPN.
6982
ctillercab52e72015-01-06 13:10:23 -08006983bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006984
6985else
6986
nnoble5f2ecb32015-01-12 16:40:18 -08006987bins/$(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 -08006988 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006989 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006990 $(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 -08006991
nnoble69ac39f2014-12-12 15:43:38 -08006992endif
6993
Craig Tillerd4773f52015-01-12 16:38:47 -08006994
Craig Tiller8f126a62015-01-15 08:50:19 -08006995deps_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 -08006996
nnoble69ac39f2014-12-12 15:43:38 -08006997ifneq ($(NO_SECURE),true)
6998ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006999-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007000endif
nnoble69ac39f2014-12-12 15:43:38 -08007001endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007002
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007003
7004CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7005
ctillercab52e72015-01-06 13:10:23 -08007006CHTTP2_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 -08007007
nnoble69ac39f2014-12-12 15:43:38 -08007008ifeq ($(NO_SECURE),true)
7009
Nicolas Noble047b7272015-01-16 13:55:05 -08007010# You can't build secure targets if you don't have OpenSSL with ALPN.
7011
ctillercab52e72015-01-06 13:10:23 -08007012bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007013
7014else
7015
nnoble5f2ecb32015-01-12 16:40:18 -08007016bins/$(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 -08007017 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007018 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007019 $(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 -08007020
nnoble69ac39f2014-12-12 15:43:38 -08007021endif
7022
Craig Tillerd4773f52015-01-12 16:38:47 -08007023
Craig Tiller8f126a62015-01-15 08:50:19 -08007024deps_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 -08007025
nnoble69ac39f2014-12-12 15:43:38 -08007026ifneq ($(NO_SECURE),true)
7027ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007028-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007029endif
nnoble69ac39f2014-12-12 15:43:38 -08007030endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007031
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007032
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007033CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
7034
7035CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
7036
7037ifeq ($(NO_SECURE),true)
7038
David Klempner7f3ed1e2015-01-16 15:35:56 -08007039# You can't build secure targets if you don't have OpenSSL with ALPN.
7040
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007041bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: openssl_dep_error
7042
7043else
7044
7045bins/$(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
7046 $(E) "[LD] Linking $@"
7047 $(Q) mkdir -p `dirname $@`
7048 $(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
7049
7050endif
7051
7052
7053deps_chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7054
7055ifneq ($(NO_SECURE),true)
7056ifneq ($(NO_DEPS),true)
7057-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7058endif
7059endif
7060
7061
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007062CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7063
ctillercab52e72015-01-06 13:10:23 -08007064CHTTP2_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 -08007065
nnoble69ac39f2014-12-12 15:43:38 -08007066ifeq ($(NO_SECURE),true)
7067
Nicolas Noble047b7272015-01-16 13:55:05 -08007068# You can't build secure targets if you don't have OpenSSL with ALPN.
7069
ctillercab52e72015-01-06 13:10:23 -08007070bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007071
7072else
7073
nnoble5f2ecb32015-01-12 16:40:18 -08007074bins/$(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 -08007075 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007076 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007077 $(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 -08007078
nnoble69ac39f2014-12-12 15:43:38 -08007079endif
7080
Craig Tillerd4773f52015-01-12 16:38:47 -08007081
Craig Tiller8f126a62015-01-15 08:50:19 -08007082deps_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 -08007083
nnoble69ac39f2014-12-12 15:43:38 -08007084ifneq ($(NO_SECURE),true)
7085ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007086-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007087endif
nnoble69ac39f2014-12-12 15:43:38 -08007088endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007089
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007090
7091CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7092
ctillercab52e72015-01-06 13:10:23 -08007093CHTTP2_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 -08007094
nnoble69ac39f2014-12-12 15:43:38 -08007095ifeq ($(NO_SECURE),true)
7096
Nicolas Noble047b7272015-01-16 13:55:05 -08007097# You can't build secure targets if you don't have OpenSSL with ALPN.
7098
ctillercab52e72015-01-06 13:10:23 -08007099bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007100
7101else
7102
nnoble5f2ecb32015-01-12 16:40:18 -08007103bins/$(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 -08007104 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007105 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007106 $(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 -08007107
nnoble69ac39f2014-12-12 15:43:38 -08007108endif
7109
Craig Tillerd4773f52015-01-12 16:38:47 -08007110
Craig Tiller8f126a62015-01-15 08:50:19 -08007111deps_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 -08007112
nnoble69ac39f2014-12-12 15:43:38 -08007113ifneq ($(NO_SECURE),true)
7114ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007115-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007116endif
nnoble69ac39f2014-12-12 15:43:38 -08007117endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007118
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007119
7120CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_SRC = \
7121
ctillercab52e72015-01-06 13:10:23 -08007122CHTTP2_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 -08007123
nnoble69ac39f2014-12-12 15:43:38 -08007124ifeq ($(NO_SECURE),true)
7125
Nicolas Noble047b7272015-01-16 13:55:05 -08007126# You can't build secure targets if you don't have OpenSSL with ALPN.
7127
ctillercab52e72015-01-06 13:10:23 -08007128bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007129
7130else
7131
nnoble5f2ecb32015-01-12 16:40:18 -08007132bins/$(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 -08007133 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007134 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007135 $(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 -08007136
nnoble69ac39f2014-12-12 15:43:38 -08007137endif
7138
Craig Tillerd4773f52015-01-12 16:38:47 -08007139
Craig Tiller8f126a62015-01-15 08:50:19 -08007140deps_chttp2_simple_ssl_fullstack_no_op_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007141
nnoble69ac39f2014-12-12 15:43:38 -08007142ifneq ($(NO_SECURE),true)
7143ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007144-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007145endif
nnoble69ac39f2014-12-12 15:43:38 -08007146endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007147
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007148
7149CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7150
ctillercab52e72015-01-06 13:10:23 -08007151CHTTP2_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 -08007152
nnoble69ac39f2014-12-12 15:43:38 -08007153ifeq ($(NO_SECURE),true)
7154
Nicolas Noble047b7272015-01-16 13:55:05 -08007155# You can't build secure targets if you don't have OpenSSL with ALPN.
7156
ctillercab52e72015-01-06 13:10:23 -08007157bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007158
7159else
7160
nnoble5f2ecb32015-01-12 16:40:18 -08007161bins/$(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 -08007162 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007163 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007164 $(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 -08007165
nnoble69ac39f2014-12-12 15:43:38 -08007166endif
7167
Craig Tillerd4773f52015-01-12 16:38:47 -08007168
Craig Tiller8f126a62015-01-15 08:50:19 -08007169deps_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 -08007170
nnoble69ac39f2014-12-12 15:43:38 -08007171ifneq ($(NO_SECURE),true)
7172ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007173-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007174endif
nnoble69ac39f2014-12-12 15:43:38 -08007175endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007176
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007177
ctiller33023c42014-12-12 16:28:33 -08007178CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7179
ctillercab52e72015-01-06 13:10:23 -08007180CHTTP2_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 -08007181
7182ifeq ($(NO_SECURE),true)
7183
Nicolas Noble047b7272015-01-16 13:55:05 -08007184# You can't build secure targets if you don't have OpenSSL with ALPN.
7185
ctillercab52e72015-01-06 13:10:23 -08007186bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007187
7188else
7189
nnoble5f2ecb32015-01-12 16:40:18 -08007190bins/$(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 -08007191 $(E) "[LD] Linking $@"
7192 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007193 $(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 -08007194
7195endif
7196
Craig Tillerd4773f52015-01-12 16:38:47 -08007197
Craig Tiller8f126a62015-01-15 08:50:19 -08007198deps_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 -08007199
7200ifneq ($(NO_SECURE),true)
7201ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007202-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007203endif
7204endif
7205
ctiller33023c42014-12-12 16:28:33 -08007206
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007207CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7208
ctillercab52e72015-01-06 13:10:23 -08007209CHTTP2_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 -08007210
nnoble69ac39f2014-12-12 15:43:38 -08007211ifeq ($(NO_SECURE),true)
7212
Nicolas Noble047b7272015-01-16 13:55:05 -08007213# You can't build secure targets if you don't have OpenSSL with ALPN.
7214
ctillercab52e72015-01-06 13:10:23 -08007215bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007216
7217else
7218
nnoble5f2ecb32015-01-12 16:40:18 -08007219bins/$(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 -08007220 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007221 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007222 $(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 -08007223
nnoble69ac39f2014-12-12 15:43:38 -08007224endif
7225
Craig Tillerd4773f52015-01-12 16:38:47 -08007226
Craig Tiller8f126a62015-01-15 08:50:19 -08007227deps_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 -08007228
nnoble69ac39f2014-12-12 15:43:38 -08007229ifneq ($(NO_SECURE),true)
7230ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007231-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007232endif
nnoble69ac39f2014-12-12 15:43:38 -08007233endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007234
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007235
7236CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
7237
ctillercab52e72015-01-06 13:10:23 -08007238CHTTP2_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 -08007239
nnoble69ac39f2014-12-12 15:43:38 -08007240ifeq ($(NO_SECURE),true)
7241
Nicolas Noble047b7272015-01-16 13:55:05 -08007242# You can't build secure targets if you don't have OpenSSL with ALPN.
7243
ctillercab52e72015-01-06 13:10:23 -08007244bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007245
7246else
7247
nnoble5f2ecb32015-01-12 16:40:18 -08007248bins/$(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 -08007249 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007250 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007251 $(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 -08007252
nnoble69ac39f2014-12-12 15:43:38 -08007253endif
7254
Craig Tillerd4773f52015-01-12 16:38:47 -08007255
Craig Tiller8f126a62015-01-15 08:50:19 -08007256deps_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 -08007257
nnoble69ac39f2014-12-12 15:43:38 -08007258ifneq ($(NO_SECURE),true)
7259ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007260-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007261endif
nnoble69ac39f2014-12-12 15:43:38 -08007262endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007263
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007264
ctiller2845cad2014-12-15 15:14:12 -08007265CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
7266
ctillercab52e72015-01-06 13:10:23 -08007267CHTTP2_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 -08007268
7269ifeq ($(NO_SECURE),true)
7270
Nicolas Noble047b7272015-01-16 13:55:05 -08007271# You can't build secure targets if you don't have OpenSSL with ALPN.
7272
ctillercab52e72015-01-06 13:10:23 -08007273bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08007274
7275else
7276
nnoble5f2ecb32015-01-12 16:40:18 -08007277bins/$(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 -08007278 $(E) "[LD] Linking $@"
7279 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007280 $(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 -08007281
7282endif
7283
Craig Tillerd4773f52015-01-12 16:38:47 -08007284
Craig Tiller8f126a62015-01-15 08:50:19 -08007285deps_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 -08007286
7287ifneq ($(NO_SECURE),true)
7288ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007289-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08007290endif
7291endif
7292
ctiller2845cad2014-12-15 15:14:12 -08007293
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007294CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
7295
ctillercab52e72015-01-06 13:10:23 -08007296CHTTP2_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 -08007297
nnoble69ac39f2014-12-12 15:43:38 -08007298ifeq ($(NO_SECURE),true)
7299
Nicolas Noble047b7272015-01-16 13:55:05 -08007300# You can't build secure targets if you don't have OpenSSL with ALPN.
7301
ctillercab52e72015-01-06 13:10:23 -08007302bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007303
7304else
7305
nnoble5f2ecb32015-01-12 16:40:18 -08007306bins/$(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 -08007307 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007308 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007309 $(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 -08007310
nnoble69ac39f2014-12-12 15:43:38 -08007311endif
7312
Craig Tillerd4773f52015-01-12 16:38:47 -08007313
Craig Tiller8f126a62015-01-15 08:50:19 -08007314deps_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 -08007315
nnoble69ac39f2014-12-12 15:43:38 -08007316ifneq ($(NO_SECURE),true)
7317ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007318-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007319endif
nnoble69ac39f2014-12-12 15:43:38 -08007320endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007321
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007322
7323CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
7324
ctillercab52e72015-01-06 13:10:23 -08007325CHTTP2_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 -08007326
nnoble69ac39f2014-12-12 15:43:38 -08007327ifeq ($(NO_SECURE),true)
7328
Nicolas Noble047b7272015-01-16 13:55:05 -08007329# You can't build secure targets if you don't have OpenSSL with ALPN.
7330
ctillercab52e72015-01-06 13:10:23 -08007331bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007332
7333else
7334
nnoble5f2ecb32015-01-12 16:40:18 -08007335bins/$(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 -08007336 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007337 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007338 $(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 -08007339
nnoble69ac39f2014-12-12 15:43:38 -08007340endif
7341
Craig Tillerd4773f52015-01-12 16:38:47 -08007342
Craig Tiller8f126a62015-01-15 08:50:19 -08007343deps_chttp2_simple_ssl_fullstack_simple_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007344
nnoble69ac39f2014-12-12 15:43:38 -08007345ifneq ($(NO_SECURE),true)
7346ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007347-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007348endif
nnoble69ac39f2014-12-12 15:43:38 -08007349endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007350
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007351
nathaniel52878172014-12-09 10:17:19 -08007352CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007353
ctillercab52e72015-01-06 13:10:23 -08007354CHTTP2_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 -08007355
nnoble69ac39f2014-12-12 15:43:38 -08007356ifeq ($(NO_SECURE),true)
7357
Nicolas Noble047b7272015-01-16 13:55:05 -08007358# You can't build secure targets if you don't have OpenSSL with ALPN.
7359
ctillercab52e72015-01-06 13:10:23 -08007360bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007361
7362else
7363
nnoble5f2ecb32015-01-12 16:40:18 -08007364bins/$(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 -08007365 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007366 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007367 $(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 -08007368
nnoble69ac39f2014-12-12 15:43:38 -08007369endif
7370
Craig Tillerd4773f52015-01-12 16:38:47 -08007371
Craig Tiller8f126a62015-01-15 08:50:19 -08007372deps_chttp2_simple_ssl_fullstack_thread_stress_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007373
nnoble69ac39f2014-12-12 15:43:38 -08007374ifneq ($(NO_SECURE),true)
7375ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007376-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007377endif
nnoble69ac39f2014-12-12 15:43:38 -08007378endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007379
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007380
7381CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
7382
ctillercab52e72015-01-06 13:10:23 -08007383CHTTP2_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 -08007384
nnoble69ac39f2014-12-12 15:43:38 -08007385ifeq ($(NO_SECURE),true)
7386
Nicolas Noble047b7272015-01-16 13:55:05 -08007387# You can't build secure targets if you don't have OpenSSL with ALPN.
7388
ctillercab52e72015-01-06 13:10:23 -08007389bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007390
7391else
7392
nnoble5f2ecb32015-01-12 16:40:18 -08007393bins/$(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 -08007394 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007395 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007396 $(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 -08007397
nnoble69ac39f2014-12-12 15:43:38 -08007398endif
7399
Craig Tillerd4773f52015-01-12 16:38:47 -08007400
Craig Tiller8f126a62015-01-15 08:50:19 -08007401deps_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 -08007402
nnoble69ac39f2014-12-12 15:43:38 -08007403ifneq ($(NO_SECURE),true)
7404ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007405-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007406endif
nnoble69ac39f2014-12-12 15:43:38 -08007407endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007408
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007409
7410CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
7411
ctillercab52e72015-01-06 13:10:23 -08007412CHTTP2_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 -08007413
nnoble69ac39f2014-12-12 15:43:38 -08007414ifeq ($(NO_SECURE),true)
7415
Nicolas Noble047b7272015-01-16 13:55:05 -08007416# You can't build secure targets if you don't have OpenSSL with ALPN.
7417
ctillercab52e72015-01-06 13:10:23 -08007418bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007419
7420else
7421
nnoble5f2ecb32015-01-12 16:40:18 -08007422bins/$(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 -08007423 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007424 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007425 $(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 -08007426
nnoble69ac39f2014-12-12 15:43:38 -08007427endif
7428
Craig Tillerd4773f52015-01-12 16:38:47 -08007429
Craig Tiller8f126a62015-01-15 08:50:19 -08007430deps_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 -08007431
nnoble69ac39f2014-12-12 15:43:38 -08007432ifneq ($(NO_SECURE),true)
7433ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007434-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007435endif
nnoble69ac39f2014-12-12 15:43:38 -08007436endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007437
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007438
7439CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
7440
ctillercab52e72015-01-06 13:10:23 -08007441CHTTP2_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 -08007442
nnoble69ac39f2014-12-12 15:43:38 -08007443ifeq ($(NO_SECURE),true)
7444
Nicolas Noble047b7272015-01-16 13:55:05 -08007445# You can't build secure targets if you don't have OpenSSL with ALPN.
7446
ctillercab52e72015-01-06 13:10:23 -08007447bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007448
7449else
7450
nnoble5f2ecb32015-01-12 16:40:18 -08007451bins/$(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 -08007452 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007453 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007454 $(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 -08007455
nnoble69ac39f2014-12-12 15:43:38 -08007456endif
7457
Craig Tillerd4773f52015-01-12 16:38:47 -08007458
Craig Tiller8f126a62015-01-15 08:50:19 -08007459deps_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 -08007460
nnoble69ac39f2014-12-12 15:43:38 -08007461ifneq ($(NO_SECURE),true)
7462ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007463-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007464endif
nnoble69ac39f2014-12-12 15:43:38 -08007465endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007466
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007467
7468CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
7469
ctillercab52e72015-01-06 13:10:23 -08007470CHTTP2_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 -08007471
nnoble69ac39f2014-12-12 15:43:38 -08007472ifeq ($(NO_SECURE),true)
7473
Nicolas Noble047b7272015-01-16 13:55:05 -08007474# You can't build secure targets if you don't have OpenSSL with ALPN.
7475
ctillercab52e72015-01-06 13:10:23 -08007476bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007477
7478else
7479
nnoble5f2ecb32015-01-12 16:40:18 -08007480bins/$(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 -08007481 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007482 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007483 $(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 -08007484
nnoble69ac39f2014-12-12 15:43:38 -08007485endif
7486
Craig Tillerd4773f52015-01-12 16:38:47 -08007487
Craig Tiller8f126a62015-01-15 08:50:19 -08007488deps_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 -08007489
nnoble69ac39f2014-12-12 15:43:38 -08007490ifneq ($(NO_SECURE),true)
7491ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007492-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007493endif
nnoble69ac39f2014-12-12 15:43:38 -08007494endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007495
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007496
7497CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
7498
ctillercab52e72015-01-06 13:10:23 -08007499CHTTP2_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 -08007500
nnoble69ac39f2014-12-12 15:43:38 -08007501ifeq ($(NO_SECURE),true)
7502
Nicolas Noble047b7272015-01-16 13:55:05 -08007503# You can't build secure targets if you don't have OpenSSL with ALPN.
7504
ctillercab52e72015-01-06 13:10:23 -08007505bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007506
7507else
7508
nnoble5f2ecb32015-01-12 16:40:18 -08007509bins/$(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 -08007510 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007511 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007512 $(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 -08007513
nnoble69ac39f2014-12-12 15:43:38 -08007514endif
7515
Craig Tillerd4773f52015-01-12 16:38:47 -08007516
Craig Tiller8f126a62015-01-15 08:50:19 -08007517deps_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 -08007518
nnoble69ac39f2014-12-12 15:43:38 -08007519ifneq ($(NO_SECURE),true)
7520ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007521-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007522endif
nnoble69ac39f2014-12-12 15:43:38 -08007523endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007524
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007525
7526CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
7527
ctillercab52e72015-01-06 13:10:23 -08007528CHTTP2_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 -08007529
nnoble69ac39f2014-12-12 15:43:38 -08007530ifeq ($(NO_SECURE),true)
7531
Nicolas Noble047b7272015-01-16 13:55:05 -08007532# You can't build secure targets if you don't have OpenSSL with ALPN.
7533
ctillercab52e72015-01-06 13:10:23 -08007534bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007535
7536else
7537
nnoble5f2ecb32015-01-12 16:40:18 -08007538bins/$(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 -08007539 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007540 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007541 $(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 -08007542
nnoble69ac39f2014-12-12 15:43:38 -08007543endif
7544
Craig Tillerd4773f52015-01-12 16:38:47 -08007545
Craig Tiller8f126a62015-01-15 08:50:19 -08007546deps_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 -08007547
nnoble69ac39f2014-12-12 15:43:38 -08007548ifneq ($(NO_SECURE),true)
7549ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007550-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007551endif
nnoble69ac39f2014-12-12 15:43:38 -08007552endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007553
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007554
hongyu24200d32015-01-08 15:13:49 -08007555CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
7556
7557CHTTP2_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 -08007558
7559ifeq ($(NO_SECURE),true)
7560
Nicolas Noble047b7272015-01-16 13:55:05 -08007561# You can't build secure targets if you don't have OpenSSL with ALPN.
7562
hongyu24200d32015-01-08 15:13:49 -08007563bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: openssl_dep_error
7564
7565else
7566
nnoble5f2ecb32015-01-12 16:40:18 -08007567bins/$(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 -08007568 $(E) "[LD] Linking $@"
7569 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007570 $(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 -08007571
7572endif
7573
Craig Tillerd4773f52015-01-12 16:38:47 -08007574
Craig Tiller8f126a62015-01-15 08:50:19 -08007575deps_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 -08007576
7577ifneq ($(NO_SECURE),true)
7578ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007579-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007580endif
7581endif
7582
hongyu24200d32015-01-08 15:13:49 -08007583
ctillerc6d61c42014-12-15 14:52:08 -08007584CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
7585
ctillercab52e72015-01-06 13:10:23 -08007586CHTTP2_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 -08007587
7588ifeq ($(NO_SECURE),true)
7589
Nicolas Noble047b7272015-01-16 13:55:05 -08007590# You can't build secure targets if you don't have OpenSSL with ALPN.
7591
ctillercab52e72015-01-06 13:10:23 -08007592bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08007593
7594else
7595
nnoble5f2ecb32015-01-12 16:40:18 -08007596bins/$(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 -08007597 $(E) "[LD] Linking $@"
7598 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007599 $(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 -08007600
7601endif
7602
Craig Tillerd4773f52015-01-12 16:38:47 -08007603
Craig Tiller8f126a62015-01-15 08:50:19 -08007604deps_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 -08007605
7606ifneq ($(NO_SECURE),true)
7607ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007608-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007609endif
7610endif
7611
ctillerc6d61c42014-12-15 14:52:08 -08007612
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007613CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
7614
ctillercab52e72015-01-06 13:10:23 -08007615CHTTP2_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 -08007616
nnoble69ac39f2014-12-12 15:43:38 -08007617ifeq ($(NO_SECURE),true)
7618
Nicolas Noble047b7272015-01-16 13:55:05 -08007619# You can't build secure targets if you don't have OpenSSL with ALPN.
7620
ctillercab52e72015-01-06 13:10:23 -08007621bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007622
7623else
7624
nnoble5f2ecb32015-01-12 16:40:18 -08007625bins/$(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 -08007626 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007627 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007628 $(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 -08007629
nnoble69ac39f2014-12-12 15:43:38 -08007630endif
7631
Craig Tillerd4773f52015-01-12 16:38:47 -08007632
Craig Tiller8f126a62015-01-15 08:50:19 -08007633deps_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 -08007634
nnoble69ac39f2014-12-12 15:43:38 -08007635ifneq ($(NO_SECURE),true)
7636ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007637-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007638endif
nnoble69ac39f2014-12-12 15:43:38 -08007639endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007640
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007641
7642CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7643
ctillercab52e72015-01-06 13:10:23 -08007644CHTTP2_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 -08007645
nnoble69ac39f2014-12-12 15:43:38 -08007646ifeq ($(NO_SECURE),true)
7647
Nicolas Noble047b7272015-01-16 13:55:05 -08007648# You can't build secure targets if you don't have OpenSSL with ALPN.
7649
ctillercab52e72015-01-06 13:10:23 -08007650bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007651
7652else
7653
nnoble5f2ecb32015-01-12 16:40:18 -08007654bins/$(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 -08007655 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007656 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007657 $(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 -08007658
nnoble69ac39f2014-12-12 15:43:38 -08007659endif
7660
Craig Tillerd4773f52015-01-12 16:38:47 -08007661
Craig Tiller8f126a62015-01-15 08:50:19 -08007662deps_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 -08007663
nnoble69ac39f2014-12-12 15:43:38 -08007664ifneq ($(NO_SECURE),true)
7665ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007666-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007667endif
nnoble69ac39f2014-12-12 15:43:38 -08007668endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007669
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007670
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007671CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
7672
7673CHTTP2_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))))
7674
7675ifeq ($(NO_SECURE),true)
7676
David Klempner7f3ed1e2015-01-16 15:35:56 -08007677# You can't build secure targets if you don't have OpenSSL with ALPN.
7678
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007679bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: openssl_dep_error
7680
7681else
7682
7683bins/$(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
7684 $(E) "[LD] Linking $@"
7685 $(Q) mkdir -p `dirname $@`
7686 $(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
7687
7688endif
7689
7690
7691deps_chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7692
7693ifneq ($(NO_SECURE),true)
7694ifneq ($(NO_DEPS),true)
7695-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7696endif
7697endif
7698
7699
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007700CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7701
ctillercab52e72015-01-06 13:10:23 -08007702CHTTP2_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 -08007703
nnoble69ac39f2014-12-12 15:43:38 -08007704ifeq ($(NO_SECURE),true)
7705
Nicolas Noble047b7272015-01-16 13:55:05 -08007706# You can't build secure targets if you don't have OpenSSL with ALPN.
7707
ctillercab52e72015-01-06 13:10:23 -08007708bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007709
7710else
7711
nnoble5f2ecb32015-01-12 16:40:18 -08007712bins/$(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 -08007713 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007714 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007715 $(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 -08007716
nnoble69ac39f2014-12-12 15:43:38 -08007717endif
7718
Craig Tillerd4773f52015-01-12 16:38:47 -08007719
Craig Tiller8f126a62015-01-15 08:50:19 -08007720deps_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 -08007721
nnoble69ac39f2014-12-12 15:43:38 -08007722ifneq ($(NO_SECURE),true)
7723ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007724-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007725endif
nnoble69ac39f2014-12-12 15:43:38 -08007726endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007727
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007728
7729CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7730
ctillercab52e72015-01-06 13:10:23 -08007731CHTTP2_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 -08007732
nnoble69ac39f2014-12-12 15:43:38 -08007733ifeq ($(NO_SECURE),true)
7734
Nicolas Noble047b7272015-01-16 13:55:05 -08007735# You can't build secure targets if you don't have OpenSSL with ALPN.
7736
ctillercab52e72015-01-06 13:10:23 -08007737bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007738
7739else
7740
nnoble5f2ecb32015-01-12 16:40:18 -08007741bins/$(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 -08007742 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007743 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007744 $(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 -08007745
nnoble69ac39f2014-12-12 15:43:38 -08007746endif
7747
Craig Tillerd4773f52015-01-12 16:38:47 -08007748
Craig Tiller8f126a62015-01-15 08:50:19 -08007749deps_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 -08007750
nnoble69ac39f2014-12-12 15:43:38 -08007751ifneq ($(NO_SECURE),true)
7752ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007753-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007754endif
nnoble69ac39f2014-12-12 15:43:38 -08007755endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007756
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007757
7758CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_SRC = \
7759
ctillercab52e72015-01-06 13:10:23 -08007760CHTTP2_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 -08007761
nnoble69ac39f2014-12-12 15:43:38 -08007762ifeq ($(NO_SECURE),true)
7763
Nicolas Noble047b7272015-01-16 13:55:05 -08007764# You can't build secure targets if you don't have OpenSSL with ALPN.
7765
ctillercab52e72015-01-06 13:10:23 -08007766bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007767
7768else
7769
nnoble5f2ecb32015-01-12 16:40:18 -08007770bins/$(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 -08007771 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007772 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007773 $(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 -08007774
nnoble69ac39f2014-12-12 15:43:38 -08007775endif
7776
Craig Tillerd4773f52015-01-12 16:38:47 -08007777
Craig Tiller8f126a62015-01-15 08:50:19 -08007778deps_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 -08007779
nnoble69ac39f2014-12-12 15:43:38 -08007780ifneq ($(NO_SECURE),true)
7781ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007782-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007783endif
nnoble69ac39f2014-12-12 15:43:38 -08007784endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007785
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007786
7787CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7788
ctillercab52e72015-01-06 13:10:23 -08007789CHTTP2_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 -08007790
nnoble69ac39f2014-12-12 15:43:38 -08007791ifeq ($(NO_SECURE),true)
7792
Nicolas Noble047b7272015-01-16 13:55:05 -08007793# You can't build secure targets if you don't have OpenSSL with ALPN.
7794
ctillercab52e72015-01-06 13:10:23 -08007795bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007796
7797else
7798
nnoble5f2ecb32015-01-12 16:40:18 -08007799bins/$(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 -08007800 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007801 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007802 $(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 -08007803
nnoble69ac39f2014-12-12 15:43:38 -08007804endif
7805
Craig Tillerd4773f52015-01-12 16:38:47 -08007806
Craig Tiller8f126a62015-01-15 08:50:19 -08007807deps_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 -08007808
nnoble69ac39f2014-12-12 15:43:38 -08007809ifneq ($(NO_SECURE),true)
7810ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007811-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007812endif
nnoble69ac39f2014-12-12 15:43:38 -08007813endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007814
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007815
ctiller33023c42014-12-12 16:28:33 -08007816CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7817
ctillercab52e72015-01-06 13:10:23 -08007818CHTTP2_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 -08007819
7820ifeq ($(NO_SECURE),true)
7821
Nicolas Noble047b7272015-01-16 13:55:05 -08007822# You can't build secure targets if you don't have OpenSSL with ALPN.
7823
ctillercab52e72015-01-06 13:10:23 -08007824bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007825
7826else
7827
nnoble5f2ecb32015-01-12 16:40:18 -08007828bins/$(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 -08007829 $(E) "[LD] Linking $@"
7830 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007831 $(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 -08007832
7833endif
7834
Craig Tillerd4773f52015-01-12 16:38:47 -08007835
Craig Tiller8f126a62015-01-15 08:50:19 -08007836deps_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 -08007837
7838ifneq ($(NO_SECURE),true)
7839ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007840-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007841endif
7842endif
7843
ctiller33023c42014-12-12 16:28:33 -08007844
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007845CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7846
ctillercab52e72015-01-06 13:10:23 -08007847CHTTP2_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 -08007848
nnoble69ac39f2014-12-12 15:43:38 -08007849ifeq ($(NO_SECURE),true)
7850
Nicolas Noble047b7272015-01-16 13:55:05 -08007851# You can't build secure targets if you don't have OpenSSL with ALPN.
7852
ctillercab52e72015-01-06 13:10:23 -08007853bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007854
7855else
7856
nnoble5f2ecb32015-01-12 16:40:18 -08007857bins/$(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 -08007858 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007859 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007860 $(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 -08007861
nnoble69ac39f2014-12-12 15:43:38 -08007862endif
7863
Craig Tillerd4773f52015-01-12 16:38:47 -08007864
Craig Tiller8f126a62015-01-15 08:50:19 -08007865deps_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 -08007866
nnoble69ac39f2014-12-12 15:43:38 -08007867ifneq ($(NO_SECURE),true)
7868ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007869-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007870endif
nnoble69ac39f2014-12-12 15:43:38 -08007871endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007872
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007873
7874CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
7875
ctillercab52e72015-01-06 13:10:23 -08007876CHTTP2_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 -08007877
nnoble69ac39f2014-12-12 15:43:38 -08007878ifeq ($(NO_SECURE),true)
7879
Nicolas Noble047b7272015-01-16 13:55:05 -08007880# You can't build secure targets if you don't have OpenSSL with ALPN.
7881
ctillercab52e72015-01-06 13:10:23 -08007882bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007883
7884else
7885
nnoble5f2ecb32015-01-12 16:40:18 -08007886bins/$(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 -08007887 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007888 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007889 $(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 -08007890
nnoble69ac39f2014-12-12 15:43:38 -08007891endif
7892
Craig Tillerd4773f52015-01-12 16:38:47 -08007893
Craig Tiller8f126a62015-01-15 08:50:19 -08007894deps_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 -08007895
nnoble69ac39f2014-12-12 15:43:38 -08007896ifneq ($(NO_SECURE),true)
7897ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007898-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007899endif
nnoble69ac39f2014-12-12 15:43:38 -08007900endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007901
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007902
ctiller2845cad2014-12-15 15:14:12 -08007903CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
7904
ctillercab52e72015-01-06 13:10:23 -08007905CHTTP2_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 -08007906
7907ifeq ($(NO_SECURE),true)
7908
Nicolas Noble047b7272015-01-16 13:55:05 -08007909# You can't build secure targets if you don't have OpenSSL with ALPN.
7910
ctillercab52e72015-01-06 13:10:23 -08007911bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08007912
7913else
7914
nnoble5f2ecb32015-01-12 16:40:18 -08007915bins/$(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 -08007916 $(E) "[LD] Linking $@"
7917 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007918 $(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 -08007919
7920endif
7921
Craig Tillerd4773f52015-01-12 16:38:47 -08007922
Craig Tiller8f126a62015-01-15 08:50:19 -08007923deps_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 -08007924
7925ifneq ($(NO_SECURE),true)
7926ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007927-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08007928endif
7929endif
7930
ctiller2845cad2014-12-15 15:14:12 -08007931
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007932CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
7933
ctillercab52e72015-01-06 13:10:23 -08007934CHTTP2_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 -08007935
nnoble69ac39f2014-12-12 15:43:38 -08007936ifeq ($(NO_SECURE),true)
7937
Nicolas Noble047b7272015-01-16 13:55:05 -08007938# You can't build secure targets if you don't have OpenSSL with ALPN.
7939
ctillercab52e72015-01-06 13:10:23 -08007940bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007941
7942else
7943
nnoble5f2ecb32015-01-12 16:40:18 -08007944bins/$(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 -08007945 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007946 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007947 $(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 -08007948
nnoble69ac39f2014-12-12 15:43:38 -08007949endif
7950
Craig Tillerd4773f52015-01-12 16:38:47 -08007951
Craig Tiller8f126a62015-01-15 08:50:19 -08007952deps_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 -08007953
nnoble69ac39f2014-12-12 15:43:38 -08007954ifneq ($(NO_SECURE),true)
7955ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007956-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007957endif
nnoble69ac39f2014-12-12 15:43:38 -08007958endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007959
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007960
7961CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
7962
ctillercab52e72015-01-06 13:10:23 -08007963CHTTP2_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 -08007964
nnoble69ac39f2014-12-12 15:43:38 -08007965ifeq ($(NO_SECURE),true)
7966
Nicolas Noble047b7272015-01-16 13:55:05 -08007967# You can't build secure targets if you don't have OpenSSL with ALPN.
7968
ctillercab52e72015-01-06 13:10:23 -08007969bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007970
7971else
7972
nnoble5f2ecb32015-01-12 16:40:18 -08007973bins/$(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 -08007974 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007975 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007976 $(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 -08007977
nnoble69ac39f2014-12-12 15:43:38 -08007978endif
7979
Craig Tillerd4773f52015-01-12 16:38:47 -08007980
Craig Tiller8f126a62015-01-15 08:50:19 -08007981deps_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 -08007982
nnoble69ac39f2014-12-12 15:43:38 -08007983ifneq ($(NO_SECURE),true)
7984ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007985-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007986endif
nnoble69ac39f2014-12-12 15:43:38 -08007987endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007988
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007989
nathaniel52878172014-12-09 10:17:19 -08007990CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007991
ctillercab52e72015-01-06 13:10:23 -08007992CHTTP2_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 -08007993
nnoble69ac39f2014-12-12 15:43:38 -08007994ifeq ($(NO_SECURE),true)
7995
Nicolas Noble047b7272015-01-16 13:55:05 -08007996# You can't build secure targets if you don't have OpenSSL with ALPN.
7997
ctillercab52e72015-01-06 13:10:23 -08007998bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007999
8000else
8001
nnoble5f2ecb32015-01-12 16:40:18 -08008002bins/$(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 -08008003 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008004 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008005 $(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 -08008006
nnoble69ac39f2014-12-12 15:43:38 -08008007endif
8008
Craig Tillerd4773f52015-01-12 16:38:47 -08008009
Craig Tiller8f126a62015-01-15 08:50:19 -08008010deps_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 -08008011
nnoble69ac39f2014-12-12 15:43:38 -08008012ifneq ($(NO_SECURE),true)
8013ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008014-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008015endif
nnoble69ac39f2014-12-12 15:43:38 -08008016endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008017
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008018
8019CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8020
ctillercab52e72015-01-06 13:10:23 -08008021CHTTP2_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 -08008022
nnoble69ac39f2014-12-12 15:43:38 -08008023ifeq ($(NO_SECURE),true)
8024
Nicolas Noble047b7272015-01-16 13:55:05 -08008025# You can't build secure targets if you don't have OpenSSL with ALPN.
8026
ctillercab52e72015-01-06 13:10:23 -08008027bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008028
8029else
8030
nnoble5f2ecb32015-01-12 16:40:18 -08008031bins/$(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 -08008032 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008033 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008034 $(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 -08008035
nnoble69ac39f2014-12-12 15:43:38 -08008036endif
8037
Craig Tillerd4773f52015-01-12 16:38:47 -08008038
Craig Tiller8f126a62015-01-15 08:50:19 -08008039deps_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 -08008040
nnoble69ac39f2014-12-12 15:43:38 -08008041ifneq ($(NO_SECURE),true)
8042ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008043-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008044endif
nnoble69ac39f2014-12-12 15:43:38 -08008045endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008046
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008047
8048CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8049
ctillercab52e72015-01-06 13:10:23 -08008050CHTTP2_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 -08008051
nnoble69ac39f2014-12-12 15:43:38 -08008052ifeq ($(NO_SECURE),true)
8053
Nicolas Noble047b7272015-01-16 13:55:05 -08008054# You can't build secure targets if you don't have OpenSSL with ALPN.
8055
ctillercab52e72015-01-06 13:10:23 -08008056bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008057
8058else
8059
nnoble5f2ecb32015-01-12 16:40:18 -08008060bins/$(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 -08008061 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008062 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008063 $(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 -08008064
nnoble69ac39f2014-12-12 15:43:38 -08008065endif
8066
Craig Tillerd4773f52015-01-12 16:38:47 -08008067
Craig Tiller8f126a62015-01-15 08:50:19 -08008068deps_chttp2_socket_pair_cancel_after_accept_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008069
nnoble69ac39f2014-12-12 15:43:38 -08008070ifneq ($(NO_SECURE),true)
8071ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008072-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008073endif
nnoble69ac39f2014-12-12 15:43:38 -08008074endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008075
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008076
8077CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8078
ctillercab52e72015-01-06 13:10:23 -08008079CHTTP2_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 -08008080
nnoble69ac39f2014-12-12 15:43:38 -08008081ifeq ($(NO_SECURE),true)
8082
Nicolas Noble047b7272015-01-16 13:55:05 -08008083# You can't build secure targets if you don't have OpenSSL with ALPN.
8084
ctillercab52e72015-01-06 13:10:23 -08008085bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008086
8087else
8088
nnoble5f2ecb32015-01-12 16:40:18 -08008089bins/$(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 -08008090 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008091 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008092 $(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 -08008093
nnoble69ac39f2014-12-12 15:43:38 -08008094endif
8095
Craig Tillerd4773f52015-01-12 16:38:47 -08008096
Craig Tiller8f126a62015-01-15 08:50:19 -08008097deps_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 -08008098
nnoble69ac39f2014-12-12 15:43:38 -08008099ifneq ($(NO_SECURE),true)
8100ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008101-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008102endif
nnoble69ac39f2014-12-12 15:43:38 -08008103endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008104
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008105
8106CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_SRC = \
8107
ctillercab52e72015-01-06 13:10:23 -08008108CHTTP2_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 -08008109
nnoble69ac39f2014-12-12 15:43:38 -08008110ifeq ($(NO_SECURE),true)
8111
Nicolas Noble047b7272015-01-16 13:55:05 -08008112# You can't build secure targets if you don't have OpenSSL with ALPN.
8113
ctillercab52e72015-01-06 13:10:23 -08008114bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008115
8116else
8117
nnoble5f2ecb32015-01-12 16:40:18 -08008118bins/$(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 -08008119 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008120 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008121 $(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 -08008122
nnoble69ac39f2014-12-12 15:43:38 -08008123endif
8124
Craig Tillerd4773f52015-01-12 16:38:47 -08008125
Craig Tiller8f126a62015-01-15 08:50:19 -08008126deps_chttp2_socket_pair_cancel_after_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008127
nnoble69ac39f2014-12-12 15:43:38 -08008128ifneq ($(NO_SECURE),true)
8129ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008130-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008131endif
nnoble69ac39f2014-12-12 15:43:38 -08008132endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008133
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008134
8135CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8136
ctillercab52e72015-01-06 13:10:23 -08008137CHTTP2_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 -08008138
nnoble69ac39f2014-12-12 15:43:38 -08008139ifeq ($(NO_SECURE),true)
8140
Nicolas Noble047b7272015-01-16 13:55:05 -08008141# You can't build secure targets if you don't have OpenSSL with ALPN.
8142
ctillercab52e72015-01-06 13:10:23 -08008143bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008144
8145else
8146
nnoble5f2ecb32015-01-12 16:40:18 -08008147bins/$(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 -08008148 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008149 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008150 $(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 -08008151
nnoble69ac39f2014-12-12 15:43:38 -08008152endif
8153
Craig Tillerd4773f52015-01-12 16:38:47 -08008154
Craig Tiller8f126a62015-01-15 08:50:19 -08008155deps_chttp2_socket_pair_cancel_before_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008156
nnoble69ac39f2014-12-12 15:43:38 -08008157ifneq ($(NO_SECURE),true)
8158ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008159-include $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008160endif
nnoble69ac39f2014-12-12 15:43:38 -08008161endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008162
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008163
8164CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_SRC = \
8165
ctillercab52e72015-01-06 13:10:23 -08008166CHTTP2_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 -08008167
nnoble69ac39f2014-12-12 15:43:38 -08008168ifeq ($(NO_SECURE),true)
8169
Nicolas Noble047b7272015-01-16 13:55:05 -08008170# You can't build secure targets if you don't have OpenSSL with ALPN.
8171
ctillercab52e72015-01-06 13:10:23 -08008172bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008173
8174else
8175
nnoble5f2ecb32015-01-12 16:40:18 -08008176bins/$(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 -08008177 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008178 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008179 $(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 -08008180
nnoble69ac39f2014-12-12 15:43:38 -08008181endif
8182
Craig Tillerd4773f52015-01-12 16:38:47 -08008183
Craig Tiller8f126a62015-01-15 08:50:19 -08008184deps_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 -08008185
nnoble69ac39f2014-12-12 15:43:38 -08008186ifneq ($(NO_SECURE),true)
8187ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008188-include $(CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008189endif
nnoble69ac39f2014-12-12 15:43:38 -08008190endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008191
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008192
hongyu24200d32015-01-08 15:13:49 -08008193CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8194
8195CHTTP2_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 -08008196
8197ifeq ($(NO_SECURE),true)
8198
Nicolas Noble047b7272015-01-16 13:55:05 -08008199# You can't build secure targets if you don't have OpenSSL with ALPN.
8200
hongyu24200d32015-01-08 15:13:49 -08008201bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test: openssl_dep_error
8202
8203else
8204
nnoble5f2ecb32015-01-12 16:40:18 -08008205bins/$(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 -08008206 $(E) "[LD] Linking $@"
8207 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008208 $(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 -08008209
8210endif
8211
Craig Tillerd4773f52015-01-12 16:38:47 -08008212
Craig Tiller8f126a62015-01-15 08:50:19 -08008213deps_chttp2_socket_pair_census_simple_request_test: $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008214
8215ifneq ($(NO_SECURE),true)
8216ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008217-include $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008218endif
8219endif
8220
hongyu24200d32015-01-08 15:13:49 -08008221
ctillerc6d61c42014-12-15 14:52:08 -08008222CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_SRC = \
8223
ctillercab52e72015-01-06 13:10:23 -08008224CHTTP2_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 -08008225
8226ifeq ($(NO_SECURE),true)
8227
Nicolas Noble047b7272015-01-16 13:55:05 -08008228# You can't build secure targets if you don't have OpenSSL with ALPN.
8229
ctillercab52e72015-01-06 13:10:23 -08008230bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08008231
8232else
8233
nnoble5f2ecb32015-01-12 16:40:18 -08008234bins/$(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 -08008235 $(E) "[LD] Linking $@"
8236 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008237 $(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 -08008238
8239endif
8240
Craig Tillerd4773f52015-01-12 16:38:47 -08008241
Craig Tiller8f126a62015-01-15 08:50:19 -08008242deps_chttp2_socket_pair_disappearing_server_test: $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008243
8244ifneq ($(NO_SECURE),true)
8245ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008246-include $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008247endif
8248endif
8249
ctillerc6d61c42014-12-15 14:52:08 -08008250
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008251CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
8252
ctillercab52e72015-01-06 13:10:23 -08008253CHTTP2_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 -08008254
nnoble69ac39f2014-12-12 15:43:38 -08008255ifeq ($(NO_SECURE),true)
8256
Nicolas Noble047b7272015-01-16 13:55:05 -08008257# You can't build secure targets if you don't have OpenSSL with ALPN.
8258
ctillercab52e72015-01-06 13:10:23 -08008259bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008260
8261else
8262
nnoble5f2ecb32015-01-12 16:40:18 -08008263bins/$(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 -08008264 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008265 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008266 $(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 -08008267
nnoble69ac39f2014-12-12 15:43:38 -08008268endif
8269
Craig Tillerd4773f52015-01-12 16:38:47 -08008270
Craig Tiller8f126a62015-01-15 08:50:19 -08008271deps_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 -08008272
nnoble69ac39f2014-12-12 15:43:38 -08008273ifneq ($(NO_SECURE),true)
8274ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008275-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008276endif
nnoble69ac39f2014-12-12 15:43:38 -08008277endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008278
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008279
8280CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
8281
ctillercab52e72015-01-06 13:10:23 -08008282CHTTP2_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 -08008283
nnoble69ac39f2014-12-12 15:43:38 -08008284ifeq ($(NO_SECURE),true)
8285
Nicolas Noble047b7272015-01-16 13:55:05 -08008286# You can't build secure targets if you don't have OpenSSL with ALPN.
8287
ctillercab52e72015-01-06 13:10:23 -08008288bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008289
8290else
8291
nnoble5f2ecb32015-01-12 16:40:18 -08008292bins/$(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 -08008293 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008294 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008295 $(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 -08008296
nnoble69ac39f2014-12-12 15:43:38 -08008297endif
8298
Craig Tillerd4773f52015-01-12 16:38:47 -08008299
Craig Tiller8f126a62015-01-15 08:50:19 -08008300deps_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 -08008301
nnoble69ac39f2014-12-12 15:43:38 -08008302ifneq ($(NO_SECURE),true)
8303ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008304-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008305endif
nnoble69ac39f2014-12-12 15:43:38 -08008306endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008307
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008308
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008309CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
8310
8311CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
8312
8313ifeq ($(NO_SECURE),true)
8314
David Klempner7f3ed1e2015-01-16 15:35:56 -08008315# You can't build secure targets if you don't have OpenSSL with ALPN.
8316
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008317bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test: openssl_dep_error
8318
8319else
8320
8321bins/$(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
8322 $(E) "[LD] Linking $@"
8323 $(Q) mkdir -p `dirname $@`
8324 $(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
8325
8326endif
8327
8328
8329deps_chttp2_socket_pair_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8330
8331ifneq ($(NO_SECURE),true)
8332ifneq ($(NO_DEPS),true)
8333-include $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8334endif
8335endif
8336
8337
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008338CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_SRC = \
8339
ctillercab52e72015-01-06 13:10:23 -08008340CHTTP2_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 -08008341
nnoble69ac39f2014-12-12 15:43:38 -08008342ifeq ($(NO_SECURE),true)
8343
Nicolas Noble047b7272015-01-16 13:55:05 -08008344# You can't build secure targets if you don't have OpenSSL with ALPN.
8345
ctillercab52e72015-01-06 13:10:23 -08008346bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008347
8348else
8349
nnoble5f2ecb32015-01-12 16:40:18 -08008350bins/$(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 -08008351 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008352 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008353 $(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 -08008354
nnoble69ac39f2014-12-12 15:43:38 -08008355endif
8356
Craig Tillerd4773f52015-01-12 16:38:47 -08008357
Craig Tiller8f126a62015-01-15 08:50:19 -08008358deps_chttp2_socket_pair_invoke_large_request_test: $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008359
nnoble69ac39f2014-12-12 15:43:38 -08008360ifneq ($(NO_SECURE),true)
8361ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008362-include $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008363endif
nnoble69ac39f2014-12-12 15:43:38 -08008364endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008365
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008366
8367CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_SRC = \
8368
ctillercab52e72015-01-06 13:10:23 -08008369CHTTP2_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 -08008370
nnoble69ac39f2014-12-12 15:43:38 -08008371ifeq ($(NO_SECURE),true)
8372
Nicolas Noble047b7272015-01-16 13:55:05 -08008373# You can't build secure targets if you don't have OpenSSL with ALPN.
8374
ctillercab52e72015-01-06 13:10:23 -08008375bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008376
8377else
8378
nnoble5f2ecb32015-01-12 16:40:18 -08008379bins/$(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 -08008380 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008381 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008382 $(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 -08008383
nnoble69ac39f2014-12-12 15:43:38 -08008384endif
8385
Craig Tillerd4773f52015-01-12 16:38:47 -08008386
Craig Tiller8f126a62015-01-15 08:50:19 -08008387deps_chttp2_socket_pair_max_concurrent_streams_test: $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008388
nnoble69ac39f2014-12-12 15:43:38 -08008389ifneq ($(NO_SECURE),true)
8390ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008391-include $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008392endif
nnoble69ac39f2014-12-12 15:43:38 -08008393endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008394
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008395
8396CHTTP2_SOCKET_PAIR_NO_OP_TEST_SRC = \
8397
ctillercab52e72015-01-06 13:10:23 -08008398CHTTP2_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 -08008399
nnoble69ac39f2014-12-12 15:43:38 -08008400ifeq ($(NO_SECURE),true)
8401
Nicolas Noble047b7272015-01-16 13:55:05 -08008402# You can't build secure targets if you don't have OpenSSL with ALPN.
8403
ctillercab52e72015-01-06 13:10:23 -08008404bins/$(CONFIG)/chttp2_socket_pair_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008405
8406else
8407
nnoble5f2ecb32015-01-12 16:40:18 -08008408bins/$(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 -08008409 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008410 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008411 $(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 -08008412
nnoble69ac39f2014-12-12 15:43:38 -08008413endif
8414
Craig Tillerd4773f52015-01-12 16:38:47 -08008415
Craig Tiller8f126a62015-01-15 08:50:19 -08008416deps_chttp2_socket_pair_no_op_test: $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008417
nnoble69ac39f2014-12-12 15:43:38 -08008418ifneq ($(NO_SECURE),true)
8419ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008420-include $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008421endif
nnoble69ac39f2014-12-12 15:43:38 -08008422endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008423
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008424
8425CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_SRC = \
8426
ctillercab52e72015-01-06 13:10:23 -08008427CHTTP2_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 -08008428
nnoble69ac39f2014-12-12 15:43:38 -08008429ifeq ($(NO_SECURE),true)
8430
Nicolas Noble047b7272015-01-16 13:55:05 -08008431# You can't build secure targets if you don't have OpenSSL with ALPN.
8432
ctillercab52e72015-01-06 13:10:23 -08008433bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008434
8435else
8436
nnoble5f2ecb32015-01-12 16:40:18 -08008437bins/$(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 -08008438 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008439 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008440 $(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 -08008441
nnoble69ac39f2014-12-12 15:43:38 -08008442endif
8443
Craig Tillerd4773f52015-01-12 16:38:47 -08008444
Craig Tiller8f126a62015-01-15 08:50:19 -08008445deps_chttp2_socket_pair_ping_pong_streaming_test: $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008446
nnoble69ac39f2014-12-12 15:43:38 -08008447ifneq ($(NO_SECURE),true)
8448ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008449-include $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008450endif
nnoble69ac39f2014-12-12 15:43:38 -08008451endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008452
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008453
ctiller33023c42014-12-12 16:28:33 -08008454CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
8455
ctillercab52e72015-01-06 13:10:23 -08008456CHTTP2_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 -08008457
8458ifeq ($(NO_SECURE),true)
8459
Nicolas Noble047b7272015-01-16 13:55:05 -08008460# You can't build secure targets if you don't have OpenSSL with ALPN.
8461
ctillercab52e72015-01-06 13:10:23 -08008462bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08008463
8464else
8465
nnoble5f2ecb32015-01-12 16:40:18 -08008466bins/$(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 -08008467 $(E) "[LD] Linking $@"
8468 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008469 $(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 -08008470
8471endif
8472
Craig Tillerd4773f52015-01-12 16:38:47 -08008473
Craig Tiller8f126a62015-01-15 08:50:19 -08008474deps_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 -08008475
8476ifneq ($(NO_SECURE),true)
8477ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008478-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08008479endif
8480endif
8481
ctiller33023c42014-12-12 16:28:33 -08008482
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008483CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
8484
ctillercab52e72015-01-06 13:10:23 -08008485CHTTP2_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 -08008486
nnoble69ac39f2014-12-12 15:43:38 -08008487ifeq ($(NO_SECURE),true)
8488
Nicolas Noble047b7272015-01-16 13:55:05 -08008489# You can't build secure targets if you don't have OpenSSL with ALPN.
8490
ctillercab52e72015-01-06 13:10:23 -08008491bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008492
8493else
8494
nnoble5f2ecb32015-01-12 16:40:18 -08008495bins/$(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 -08008496 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008497 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008498 $(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 -08008499
nnoble69ac39f2014-12-12 15:43:38 -08008500endif
8501
Craig Tillerd4773f52015-01-12 16:38:47 -08008502
Craig Tiller8f126a62015-01-15 08:50:19 -08008503deps_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 -08008504
nnoble69ac39f2014-12-12 15:43:38 -08008505ifneq ($(NO_SECURE),true)
8506ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008507-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008508endif
nnoble69ac39f2014-12-12 15:43:38 -08008509endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008510
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008511
8512CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
8513
ctillercab52e72015-01-06 13:10:23 -08008514CHTTP2_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 -08008515
nnoble69ac39f2014-12-12 15:43:38 -08008516ifeq ($(NO_SECURE),true)
8517
Nicolas Noble047b7272015-01-16 13:55:05 -08008518# You can't build secure targets if you don't have OpenSSL with ALPN.
8519
ctillercab52e72015-01-06 13:10:23 -08008520bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008521
8522else
8523
nnoble5f2ecb32015-01-12 16:40:18 -08008524bins/$(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 -08008525 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008526 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008527 $(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 -08008528
nnoble69ac39f2014-12-12 15:43:38 -08008529endif
8530
Craig Tillerd4773f52015-01-12 16:38:47 -08008531
Craig Tiller8f126a62015-01-15 08:50:19 -08008532deps_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 -08008533
nnoble69ac39f2014-12-12 15:43:38 -08008534ifneq ($(NO_SECURE),true)
8535ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008536-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008537endif
nnoble69ac39f2014-12-12 15:43:38 -08008538endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008539
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008540
ctiller2845cad2014-12-15 15:14:12 -08008541CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
8542
ctillercab52e72015-01-06 13:10:23 -08008543CHTTP2_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 -08008544
8545ifeq ($(NO_SECURE),true)
8546
Nicolas Noble047b7272015-01-16 13:55:05 -08008547# You can't build secure targets if you don't have OpenSSL with ALPN.
8548
ctillercab52e72015-01-06 13:10:23 -08008549bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08008550
8551else
8552
nnoble5f2ecb32015-01-12 16:40:18 -08008553bins/$(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 -08008554 $(E) "[LD] Linking $@"
8555 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008556 $(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 -08008557
8558endif
8559
Craig Tillerd4773f52015-01-12 16:38:47 -08008560
Craig Tiller8f126a62015-01-15 08:50:19 -08008561deps_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 -08008562
8563ifneq ($(NO_SECURE),true)
8564ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008565-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008566endif
8567endif
8568
ctiller2845cad2014-12-15 15:14:12 -08008569
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008570CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
8571
ctillercab52e72015-01-06 13:10:23 -08008572CHTTP2_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 -08008573
nnoble69ac39f2014-12-12 15:43:38 -08008574ifeq ($(NO_SECURE),true)
8575
Nicolas Noble047b7272015-01-16 13:55:05 -08008576# You can't build secure targets if you don't have OpenSSL with ALPN.
8577
ctillercab52e72015-01-06 13:10:23 -08008578bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008579
8580else
8581
nnoble5f2ecb32015-01-12 16:40:18 -08008582bins/$(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 -08008583 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008584 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008585 $(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 -08008586
nnoble69ac39f2014-12-12 15:43:38 -08008587endif
8588
Craig Tillerd4773f52015-01-12 16:38:47 -08008589
Craig Tiller8f126a62015-01-15 08:50:19 -08008590deps_chttp2_socket_pair_simple_delayed_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008591
nnoble69ac39f2014-12-12 15:43:38 -08008592ifneq ($(NO_SECURE),true)
8593ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008594-include $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008595endif
nnoble69ac39f2014-12-12 15:43:38 -08008596endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008597
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008598
8599CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_SRC = \
8600
ctillercab52e72015-01-06 13:10:23 -08008601CHTTP2_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 -08008602
nnoble69ac39f2014-12-12 15:43:38 -08008603ifeq ($(NO_SECURE),true)
8604
Nicolas Noble047b7272015-01-16 13:55:05 -08008605# You can't build secure targets if you don't have OpenSSL with ALPN.
8606
ctillercab52e72015-01-06 13:10:23 -08008607bins/$(CONFIG)/chttp2_socket_pair_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008608
8609else
8610
nnoble5f2ecb32015-01-12 16:40:18 -08008611bins/$(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 -08008612 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008613 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008614 $(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 -08008615
nnoble69ac39f2014-12-12 15:43:38 -08008616endif
8617
Craig Tillerd4773f52015-01-12 16:38:47 -08008618
Craig Tiller8f126a62015-01-15 08:50:19 -08008619deps_chttp2_socket_pair_simple_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008620
nnoble69ac39f2014-12-12 15:43:38 -08008621ifneq ($(NO_SECURE),true)
8622ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008623-include $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008624endif
nnoble69ac39f2014-12-12 15:43:38 -08008625endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008626
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008627
nathaniel52878172014-12-09 10:17:19 -08008628CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008629
ctillercab52e72015-01-06 13:10:23 -08008630CHTTP2_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 -08008631
nnoble69ac39f2014-12-12 15:43:38 -08008632ifeq ($(NO_SECURE),true)
8633
Nicolas Noble047b7272015-01-16 13:55:05 -08008634# You can't build secure targets if you don't have OpenSSL with ALPN.
8635
ctillercab52e72015-01-06 13:10:23 -08008636bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008637
8638else
8639
nnoble5f2ecb32015-01-12 16:40:18 -08008640bins/$(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 -08008641 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008642 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008643 $(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 -08008644
nnoble69ac39f2014-12-12 15:43:38 -08008645endif
8646
Craig Tillerd4773f52015-01-12 16:38:47 -08008647
Craig Tiller8f126a62015-01-15 08:50:19 -08008648deps_chttp2_socket_pair_thread_stress_test: $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008649
nnoble69ac39f2014-12-12 15:43:38 -08008650ifneq ($(NO_SECURE),true)
8651ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008652-include $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008653endif
nnoble69ac39f2014-12-12 15:43:38 -08008654endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008655
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008656
8657CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8658
ctillercab52e72015-01-06 13:10:23 -08008659CHTTP2_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 -08008660
nnoble69ac39f2014-12-12 15:43:38 -08008661ifeq ($(NO_SECURE),true)
8662
Nicolas Noble047b7272015-01-16 13:55:05 -08008663# You can't build secure targets if you don't have OpenSSL with ALPN.
8664
ctillercab52e72015-01-06 13:10:23 -08008665bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008666
8667else
8668
nnoble5f2ecb32015-01-12 16:40:18 -08008669bins/$(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 -08008670 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008671 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008672 $(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 -08008673
nnoble69ac39f2014-12-12 15:43:38 -08008674endif
8675
Craig Tillerd4773f52015-01-12 16:38:47 -08008676
Craig Tiller8f126a62015-01-15 08:50:19 -08008677deps_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 -08008678
nnoble69ac39f2014-12-12 15:43:38 -08008679ifneq ($(NO_SECURE),true)
8680ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008681-include $(CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008682endif
nnoble69ac39f2014-12-12 15:43:38 -08008683endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008684
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008685
nnoble0c475f02014-12-05 15:37:39 -08008686CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8687
ctillercab52e72015-01-06 13:10:23 -08008688CHTTP2_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 -08008689
nnoble69ac39f2014-12-12 15:43:38 -08008690ifeq ($(NO_SECURE),true)
8691
Nicolas Noble047b7272015-01-16 13:55:05 -08008692# You can't build secure targets if you don't have OpenSSL with ALPN.
8693
ctillercab52e72015-01-06 13:10:23 -08008694bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008695
8696else
8697
nnoble5f2ecb32015-01-12 16:40:18 -08008698bins/$(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 -08008699 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008700 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008701 $(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 -08008702
nnoble69ac39f2014-12-12 15:43:38 -08008703endif
8704
Craig Tillerd4773f52015-01-12 16:38:47 -08008705
Craig Tiller8f126a62015-01-15 08:50:19 -08008706deps_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 -08008707
nnoble69ac39f2014-12-12 15:43:38 -08008708ifneq ($(NO_SECURE),true)
8709ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008710-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008711endif
nnoble69ac39f2014-12-12 15:43:38 -08008712endif
nnoble0c475f02014-12-05 15:37:39 -08008713
nnoble0c475f02014-12-05 15:37:39 -08008714
8715CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8716
ctillercab52e72015-01-06 13:10:23 -08008717CHTTP2_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 -08008718
nnoble69ac39f2014-12-12 15:43:38 -08008719ifeq ($(NO_SECURE),true)
8720
Nicolas Noble047b7272015-01-16 13:55:05 -08008721# You can't build secure targets if you don't have OpenSSL with ALPN.
8722
ctillercab52e72015-01-06 13:10:23 -08008723bins/$(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 -08008724
8725else
8726
nnoble5f2ecb32015-01-12 16:40:18 -08008727bins/$(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 -08008728 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008729 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008730 $(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 -08008731
nnoble69ac39f2014-12-12 15:43:38 -08008732endif
8733
Craig Tillerd4773f52015-01-12 16:38:47 -08008734
Craig Tiller8f126a62015-01-15 08:50:19 -08008735deps_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 -08008736
nnoble69ac39f2014-12-12 15:43:38 -08008737ifneq ($(NO_SECURE),true)
8738ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008739-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 -08008740endif
nnoble69ac39f2014-12-12 15:43:38 -08008741endif
nnoble0c475f02014-12-05 15:37:39 -08008742
nnoble0c475f02014-12-05 15:37:39 -08008743
8744CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_SRC = \
8745
ctillercab52e72015-01-06 13:10:23 -08008746CHTTP2_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 -08008747
nnoble69ac39f2014-12-12 15:43:38 -08008748ifeq ($(NO_SECURE),true)
8749
Nicolas Noble047b7272015-01-16 13:55:05 -08008750# You can't build secure targets if you don't have OpenSSL with ALPN.
8751
ctillercab52e72015-01-06 13:10:23 -08008752bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008753
8754else
8755
nnoble5f2ecb32015-01-12 16:40:18 -08008756bins/$(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 -08008757 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008758 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008759 $(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 -08008760
nnoble69ac39f2014-12-12 15:43:38 -08008761endif
8762
Craig Tillerd4773f52015-01-12 16:38:47 -08008763
Craig Tiller8f126a62015-01-15 08:50:19 -08008764deps_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 -08008765
nnoble69ac39f2014-12-12 15:43:38 -08008766ifneq ($(NO_SECURE),true)
8767ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008768-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008769endif
nnoble69ac39f2014-12-12 15:43:38 -08008770endif
nnoble0c475f02014-12-05 15:37:39 -08008771
nnoble0c475f02014-12-05 15:37:39 -08008772
8773CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8774
ctillercab52e72015-01-06 13:10:23 -08008775CHTTP2_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 -08008776
nnoble69ac39f2014-12-12 15:43:38 -08008777ifeq ($(NO_SECURE),true)
8778
Nicolas Noble047b7272015-01-16 13:55:05 -08008779# You can't build secure targets if you don't have OpenSSL with ALPN.
8780
ctillercab52e72015-01-06 13:10:23 -08008781bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008782
8783else
8784
nnoble5f2ecb32015-01-12 16:40:18 -08008785bins/$(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 -08008786 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008787 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008788 $(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 -08008789
nnoble69ac39f2014-12-12 15:43:38 -08008790endif
8791
Craig Tillerd4773f52015-01-12 16:38:47 -08008792
Craig Tiller8f126a62015-01-15 08:50:19 -08008793deps_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 -08008794
nnoble69ac39f2014-12-12 15:43:38 -08008795ifneq ($(NO_SECURE),true)
8796ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008797-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008798endif
nnoble69ac39f2014-12-12 15:43:38 -08008799endif
nnoble0c475f02014-12-05 15:37:39 -08008800
nnoble0c475f02014-12-05 15:37:39 -08008801
8802CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_SRC = \
8803
ctillercab52e72015-01-06 13:10:23 -08008804CHTTP2_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 -08008805
nnoble69ac39f2014-12-12 15:43:38 -08008806ifeq ($(NO_SECURE),true)
8807
Nicolas Noble047b7272015-01-16 13:55:05 -08008808# You can't build secure targets if you don't have OpenSSL with ALPN.
8809
ctillercab52e72015-01-06 13:10:23 -08008810bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008811
8812else
8813
nnoble5f2ecb32015-01-12 16:40:18 -08008814bins/$(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 -08008815 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008816 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008817 $(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 -08008818
nnoble69ac39f2014-12-12 15:43:38 -08008819endif
8820
Craig Tillerd4773f52015-01-12 16:38:47 -08008821
Craig Tiller8f126a62015-01-15 08:50:19 -08008822deps_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 -08008823
nnoble69ac39f2014-12-12 15:43:38 -08008824ifneq ($(NO_SECURE),true)
8825ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008826-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008827endif
nnoble69ac39f2014-12-12 15:43:38 -08008828endif
nnoble0c475f02014-12-05 15:37:39 -08008829
nnoble0c475f02014-12-05 15:37:39 -08008830
hongyu24200d32015-01-08 15:13:49 -08008831CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8832
8833CHTTP2_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 -08008834
8835ifeq ($(NO_SECURE),true)
8836
Nicolas Noble047b7272015-01-16 13:55:05 -08008837# You can't build secure targets if you don't have OpenSSL with ALPN.
8838
hongyu24200d32015-01-08 15:13:49 -08008839bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: openssl_dep_error
8840
8841else
8842
nnoble5f2ecb32015-01-12 16:40:18 -08008843bins/$(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 -08008844 $(E) "[LD] Linking $@"
8845 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008846 $(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 -08008847
8848endif
8849
Craig Tillerd4773f52015-01-12 16:38:47 -08008850
Craig Tiller8f126a62015-01-15 08:50:19 -08008851deps_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 -08008852
8853ifneq ($(NO_SECURE),true)
8854ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008855-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008856endif
8857endif
8858
hongyu24200d32015-01-08 15:13:49 -08008859
ctillerc6d61c42014-12-15 14:52:08 -08008860CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_SRC = \
8861
ctillercab52e72015-01-06 13:10:23 -08008862CHTTP2_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 -08008863
8864ifeq ($(NO_SECURE),true)
8865
Nicolas Noble047b7272015-01-16 13:55:05 -08008866# You can't build secure targets if you don't have OpenSSL with ALPN.
8867
ctillercab52e72015-01-06 13:10:23 -08008868bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08008869
8870else
8871
nnoble5f2ecb32015-01-12 16:40:18 -08008872bins/$(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 -08008873 $(E) "[LD] Linking $@"
8874 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008875 $(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 -08008876
8877endif
8878
Craig Tillerd4773f52015-01-12 16:38:47 -08008879
Craig Tiller8f126a62015-01-15 08:50:19 -08008880deps_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 -08008881
8882ifneq ($(NO_SECURE),true)
8883ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008884-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008885endif
8886endif
8887
ctillerc6d61c42014-12-15 14:52:08 -08008888
nnoble0c475f02014-12-05 15:37:39 -08008889CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
8890
ctillercab52e72015-01-06 13:10:23 -08008891CHTTP2_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 -08008892
nnoble69ac39f2014-12-12 15:43:38 -08008893ifeq ($(NO_SECURE),true)
8894
Nicolas Noble047b7272015-01-16 13:55:05 -08008895# You can't build secure targets if you don't have OpenSSL with ALPN.
8896
ctillercab52e72015-01-06 13:10:23 -08008897bins/$(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 -08008898
8899else
8900
nnoble5f2ecb32015-01-12 16:40:18 -08008901bins/$(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 -08008902 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008903 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008904 $(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 -08008905
nnoble69ac39f2014-12-12 15:43:38 -08008906endif
8907
Craig Tillerd4773f52015-01-12 16:38:47 -08008908
Craig Tiller8f126a62015-01-15 08:50:19 -08008909deps_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 -08008910
nnoble69ac39f2014-12-12 15:43:38 -08008911ifneq ($(NO_SECURE),true)
8912ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008913-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 -08008914endif
nnoble69ac39f2014-12-12 15:43:38 -08008915endif
nnoble0c475f02014-12-05 15:37:39 -08008916
nnoble0c475f02014-12-05 15:37:39 -08008917
8918CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
8919
ctillercab52e72015-01-06 13:10:23 -08008920CHTTP2_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 -08008921
nnoble69ac39f2014-12-12 15:43:38 -08008922ifeq ($(NO_SECURE),true)
8923
Nicolas Noble047b7272015-01-16 13:55:05 -08008924# You can't build secure targets if you don't have OpenSSL with ALPN.
8925
ctillercab52e72015-01-06 13:10:23 -08008926bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008927
8928else
8929
nnoble5f2ecb32015-01-12 16:40:18 -08008930bins/$(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 -08008931 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008932 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008933 $(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 -08008934
nnoble69ac39f2014-12-12 15:43:38 -08008935endif
8936
Craig Tillerd4773f52015-01-12 16:38:47 -08008937
Craig Tiller8f126a62015-01-15 08:50:19 -08008938deps_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 -08008939
nnoble69ac39f2014-12-12 15:43:38 -08008940ifneq ($(NO_SECURE),true)
8941ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008942-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008943endif
nnoble69ac39f2014-12-12 15:43:38 -08008944endif
nnoble0c475f02014-12-05 15:37:39 -08008945
nnoble0c475f02014-12-05 15:37:39 -08008946
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008947CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
8948
8949CHTTP2_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))))
8950
8951ifeq ($(NO_SECURE),true)
8952
David Klempner7f3ed1e2015-01-16 15:35:56 -08008953# You can't build secure targets if you don't have OpenSSL with ALPN.
8954
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008955bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: openssl_dep_error
8956
8957else
8958
8959bins/$(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
8960 $(E) "[LD] Linking $@"
8961 $(Q) mkdir -p `dirname $@`
8962 $(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
8963
8964endif
8965
8966
8967deps_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)
8968
8969ifneq ($(NO_SECURE),true)
8970ifneq ($(NO_DEPS),true)
8971-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8972endif
8973endif
8974
8975
nnoble0c475f02014-12-05 15:37:39 -08008976CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_SRC = \
8977
ctillercab52e72015-01-06 13:10:23 -08008978CHTTP2_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 -08008979
nnoble69ac39f2014-12-12 15:43:38 -08008980ifeq ($(NO_SECURE),true)
8981
Nicolas Noble047b7272015-01-16 13:55:05 -08008982# You can't build secure targets if you don't have OpenSSL with ALPN.
8983
ctillercab52e72015-01-06 13:10:23 -08008984bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008985
8986else
8987
nnoble5f2ecb32015-01-12 16:40:18 -08008988bins/$(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 -08008989 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008990 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008991 $(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 -08008992
nnoble69ac39f2014-12-12 15:43:38 -08008993endif
8994
Craig Tillerd4773f52015-01-12 16:38:47 -08008995
Craig Tiller8f126a62015-01-15 08:50:19 -08008996deps_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 -08008997
nnoble69ac39f2014-12-12 15:43:38 -08008998ifneq ($(NO_SECURE),true)
8999ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009000-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009001endif
nnoble69ac39f2014-12-12 15:43:38 -08009002endif
nnoble0c475f02014-12-05 15:37:39 -08009003
nnoble0c475f02014-12-05 15:37:39 -08009004
9005CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_SRC = \
9006
ctillercab52e72015-01-06 13:10:23 -08009007CHTTP2_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 -08009008
nnoble69ac39f2014-12-12 15:43:38 -08009009ifeq ($(NO_SECURE),true)
9010
Nicolas Noble047b7272015-01-16 13:55:05 -08009011# You can't build secure targets if you don't have OpenSSL with ALPN.
9012
ctillercab52e72015-01-06 13:10:23 -08009013bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009014
9015else
9016
nnoble5f2ecb32015-01-12 16:40:18 -08009017bins/$(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 -08009018 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009019 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009020 $(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 -08009021
nnoble69ac39f2014-12-12 15:43:38 -08009022endif
9023
Craig Tillerd4773f52015-01-12 16:38:47 -08009024
Craig Tiller8f126a62015-01-15 08:50:19 -08009025deps_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 -08009026
nnoble69ac39f2014-12-12 15:43:38 -08009027ifneq ($(NO_SECURE),true)
9028ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009029-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009030endif
nnoble69ac39f2014-12-12 15:43:38 -08009031endif
nnoble0c475f02014-12-05 15:37:39 -08009032
nnoble0c475f02014-12-05 15:37:39 -08009033
9034CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_SRC = \
9035
ctillercab52e72015-01-06 13:10:23 -08009036CHTTP2_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 -08009037
nnoble69ac39f2014-12-12 15:43:38 -08009038ifeq ($(NO_SECURE),true)
9039
Nicolas Noble047b7272015-01-16 13:55:05 -08009040# You can't build secure targets if you don't have OpenSSL with ALPN.
9041
ctillercab52e72015-01-06 13:10:23 -08009042bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009043
9044else
9045
nnoble5f2ecb32015-01-12 16:40:18 -08009046bins/$(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 -08009047 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009048 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009049 $(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 -08009050
nnoble69ac39f2014-12-12 15:43:38 -08009051endif
9052
Craig Tillerd4773f52015-01-12 16:38:47 -08009053
Craig Tiller8f126a62015-01-15 08:50:19 -08009054deps_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 -08009055
nnoble69ac39f2014-12-12 15:43:38 -08009056ifneq ($(NO_SECURE),true)
9057ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009058-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009059endif
nnoble69ac39f2014-12-12 15:43:38 -08009060endif
nnoble0c475f02014-12-05 15:37:39 -08009061
nnoble0c475f02014-12-05 15:37:39 -08009062
9063CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_SRC = \
9064
ctillercab52e72015-01-06 13:10:23 -08009065CHTTP2_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 -08009066
nnoble69ac39f2014-12-12 15:43:38 -08009067ifeq ($(NO_SECURE),true)
9068
Nicolas Noble047b7272015-01-16 13:55:05 -08009069# You can't build secure targets if you don't have OpenSSL with ALPN.
9070
ctillercab52e72015-01-06 13:10:23 -08009071bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009072
9073else
9074
nnoble5f2ecb32015-01-12 16:40:18 -08009075bins/$(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 -08009076 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009077 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009078 $(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 -08009079
nnoble69ac39f2014-12-12 15:43:38 -08009080endif
9081
Craig Tillerd4773f52015-01-12 16:38:47 -08009082
Craig Tiller8f126a62015-01-15 08:50:19 -08009083deps_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 -08009084
nnoble69ac39f2014-12-12 15:43:38 -08009085ifneq ($(NO_SECURE),true)
9086ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009087-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009088endif
nnoble69ac39f2014-12-12 15:43:38 -08009089endif
nnoble0c475f02014-12-05 15:37:39 -08009090
nnoble0c475f02014-12-05 15:37:39 -08009091
ctiller33023c42014-12-12 16:28:33 -08009092CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
9093
ctillercab52e72015-01-06 13:10:23 -08009094CHTTP2_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 -08009095
9096ifeq ($(NO_SECURE),true)
9097
Nicolas Noble047b7272015-01-16 13:55:05 -08009098# You can't build secure targets if you don't have OpenSSL with ALPN.
9099
ctillercab52e72015-01-06 13:10:23 -08009100bins/$(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 -08009101
9102else
9103
nnoble5f2ecb32015-01-12 16:40:18 -08009104bins/$(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 -08009105 $(E) "[LD] Linking $@"
9106 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009107 $(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 -08009108
9109endif
9110
Craig Tillerd4773f52015-01-12 16:38:47 -08009111
Craig Tiller8f126a62015-01-15 08:50:19 -08009112deps_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 -08009113
9114ifneq ($(NO_SECURE),true)
9115ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009116-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 -08009117endif
9118endif
9119
ctiller33023c42014-12-12 16:28:33 -08009120
nnoble0c475f02014-12-05 15:37:39 -08009121CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
9122
ctillercab52e72015-01-06 13:10:23 -08009123CHTTP2_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 -08009124
nnoble69ac39f2014-12-12 15:43:38 -08009125ifeq ($(NO_SECURE),true)
9126
Nicolas Noble047b7272015-01-16 13:55:05 -08009127# You can't build secure targets if you don't have OpenSSL with ALPN.
9128
ctillercab52e72015-01-06 13:10:23 -08009129bins/$(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 -08009130
9131else
9132
nnoble5f2ecb32015-01-12 16:40:18 -08009133bins/$(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 -08009134 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009135 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009136 $(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 -08009137
nnoble69ac39f2014-12-12 15:43:38 -08009138endif
9139
Craig Tillerd4773f52015-01-12 16:38:47 -08009140
Craig Tiller8f126a62015-01-15 08:50:19 -08009141deps_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 -08009142
nnoble69ac39f2014-12-12 15:43:38 -08009143ifneq ($(NO_SECURE),true)
9144ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009145-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 -08009146endif
nnoble69ac39f2014-12-12 15:43:38 -08009147endif
nnoble0c475f02014-12-05 15:37:39 -08009148
nnoble0c475f02014-12-05 15:37:39 -08009149
9150CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
9151
ctillercab52e72015-01-06 13:10:23 -08009152CHTTP2_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 -08009153
nnoble69ac39f2014-12-12 15:43:38 -08009154ifeq ($(NO_SECURE),true)
9155
Nicolas Noble047b7272015-01-16 13:55:05 -08009156# You can't build secure targets if you don't have OpenSSL with ALPN.
9157
ctillercab52e72015-01-06 13:10:23 -08009158bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009159
9160else
9161
nnoble5f2ecb32015-01-12 16:40:18 -08009162bins/$(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 -08009163 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009164 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009165 $(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 -08009166
nnoble69ac39f2014-12-12 15:43:38 -08009167endif
9168
Craig Tillerd4773f52015-01-12 16:38:47 -08009169
Craig Tiller8f126a62015-01-15 08:50:19 -08009170deps_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 -08009171
nnoble69ac39f2014-12-12 15:43:38 -08009172ifneq ($(NO_SECURE),true)
9173ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009174-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009175endif
nnoble69ac39f2014-12-12 15:43:38 -08009176endif
nnoble0c475f02014-12-05 15:37:39 -08009177
nnoble0c475f02014-12-05 15:37:39 -08009178
ctiller2845cad2014-12-15 15:14:12 -08009179CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
9180
ctillercab52e72015-01-06 13:10:23 -08009181CHTTP2_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 -08009182
9183ifeq ($(NO_SECURE),true)
9184
Nicolas Noble047b7272015-01-16 13:55:05 -08009185# You can't build secure targets if you don't have OpenSSL with ALPN.
9186
ctillercab52e72015-01-06 13:10:23 -08009187bins/$(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 -08009188
9189else
9190
nnoble5f2ecb32015-01-12 16:40:18 -08009191bins/$(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 -08009192 $(E) "[LD] Linking $@"
9193 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009194 $(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 -08009195
9196endif
9197
Craig Tillerd4773f52015-01-12 16:38:47 -08009198
Craig Tiller8f126a62015-01-15 08:50:19 -08009199deps_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 -08009200
9201ifneq ($(NO_SECURE),true)
9202ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009203-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 -08009204endif
9205endif
9206
ctiller2845cad2014-12-15 15:14:12 -08009207
nnoble0c475f02014-12-05 15:37:39 -08009208CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
9209
ctillercab52e72015-01-06 13:10:23 -08009210CHTTP2_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 -08009211
nnoble69ac39f2014-12-12 15:43:38 -08009212ifeq ($(NO_SECURE),true)
9213
Nicolas Noble047b7272015-01-16 13:55:05 -08009214# You can't build secure targets if you don't have OpenSSL with ALPN.
9215
ctillercab52e72015-01-06 13:10:23 -08009216bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009217
9218else
9219
nnoble5f2ecb32015-01-12 16:40:18 -08009220bins/$(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 -08009221 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009222 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009223 $(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 -08009224
nnoble69ac39f2014-12-12 15:43:38 -08009225endif
9226
Craig Tillerd4773f52015-01-12 16:38:47 -08009227
Craig Tiller8f126a62015-01-15 08:50:19 -08009228deps_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 -08009229
nnoble69ac39f2014-12-12 15:43:38 -08009230ifneq ($(NO_SECURE),true)
9231ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009232-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009233endif
nnoble69ac39f2014-12-12 15:43:38 -08009234endif
nnoble0c475f02014-12-05 15:37:39 -08009235
nnoble0c475f02014-12-05 15:37:39 -08009236
9237CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_SRC = \
9238
ctillercab52e72015-01-06 13:10:23 -08009239CHTTP2_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 -08009240
nnoble69ac39f2014-12-12 15:43:38 -08009241ifeq ($(NO_SECURE),true)
9242
Nicolas Noble047b7272015-01-16 13:55:05 -08009243# You can't build secure targets if you don't have OpenSSL with ALPN.
9244
ctillercab52e72015-01-06 13:10:23 -08009245bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009246
9247else
9248
nnoble5f2ecb32015-01-12 16:40:18 -08009249bins/$(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 -08009250 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009251 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009252 $(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 -08009253
nnoble69ac39f2014-12-12 15:43:38 -08009254endif
9255
Craig Tillerd4773f52015-01-12 16:38:47 -08009256
Craig Tiller8f126a62015-01-15 08:50:19 -08009257deps_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 -08009258
nnoble69ac39f2014-12-12 15:43:38 -08009259ifneq ($(NO_SECURE),true)
9260ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009261-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009262endif
nnoble69ac39f2014-12-12 15:43:38 -08009263endif
nnoble0c475f02014-12-05 15:37:39 -08009264
nnoble0c475f02014-12-05 15:37:39 -08009265
nathaniel52878172014-12-09 10:17:19 -08009266CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_SRC = \
nnoble0c475f02014-12-05 15:37:39 -08009267
ctillercab52e72015-01-06 13:10:23 -08009268CHTTP2_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 -08009269
nnoble69ac39f2014-12-12 15:43:38 -08009270ifeq ($(NO_SECURE),true)
9271
Nicolas Noble047b7272015-01-16 13:55:05 -08009272# You can't build secure targets if you don't have OpenSSL with ALPN.
9273
ctillercab52e72015-01-06 13:10:23 -08009274bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009275
9276else
9277
nnoble5f2ecb32015-01-12 16:40:18 -08009278bins/$(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 -08009279 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009280 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009281 $(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 -08009282
nnoble69ac39f2014-12-12 15:43:38 -08009283endif
9284
Craig Tillerd4773f52015-01-12 16:38:47 -08009285
Craig Tiller8f126a62015-01-15 08:50:19 -08009286deps_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 -08009287
nnoble69ac39f2014-12-12 15:43:38 -08009288ifneq ($(NO_SECURE),true)
9289ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009290-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009291endif
nnoble69ac39f2014-12-12 15:43:38 -08009292endif
nnoble0c475f02014-12-05 15:37:39 -08009293
nnoble0c475f02014-12-05 15:37:39 -08009294
9295CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
9296
ctillercab52e72015-01-06 13:10:23 -08009297CHTTP2_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 -08009298
nnoble69ac39f2014-12-12 15:43:38 -08009299ifeq ($(NO_SECURE),true)
9300
Nicolas Noble047b7272015-01-16 13:55:05 -08009301# You can't build secure targets if you don't have OpenSSL with ALPN.
9302
ctillercab52e72015-01-06 13:10:23 -08009303bins/$(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 -08009304
9305else
9306
nnoble5f2ecb32015-01-12 16:40:18 -08009307bins/$(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 -08009308 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009309 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009310 $(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 -08009311
nnoble69ac39f2014-12-12 15:43:38 -08009312endif
9313
Craig Tillerd4773f52015-01-12 16:38:47 -08009314
Craig Tiller8f126a62015-01-15 08:50:19 -08009315deps_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 -08009316
nnoble69ac39f2014-12-12 15:43:38 -08009317ifneq ($(NO_SECURE),true)
9318ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009319-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 -08009320endif
nnoble69ac39f2014-12-12 15:43:38 -08009321endif
nnoble0c475f02014-12-05 15:37:39 -08009322
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08009323
9324
9325
9326
nnoble0c475f02014-12-05 15:37:39 -08009327
Craig Tillerf0afe502015-01-15 09:04:49 -08009328.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 -08009329