blob: da8842593945c50d86d8fc164d9169aed0035bda [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)
nnoble69ac39f2014-12-12 15:43:38 -0800182
Craig Tillerc4da6b72015-01-15 08:01:14 -0800183ifndef REQUIRE_CUSTOM_LIBRARIES_$(CONFIG)
nnoble60825402014-12-15 14:43:51 -0800184HAS_SYSTEM_OPENSSL_ALPN = $(shell $(OPENSSL_ALPN_CHECK_CMD) 2> /dev/null && echo true || echo false)
185HAS_SYSTEM_ZLIB = $(shell $(ZLIB_CHECK_CMD) 2> /dev/null && echo true || echo false)
Craig Tillerc4da6b72015-01-15 08:01:14 -0800186else
187# override system libraries if the config requires a custom compiled library
188HAS_SYSTEM_OPENSSL_ALPN = false
189HAS_SYSTEM_ZLIB = false
190endif
nnoble69ac39f2014-12-12 15:43:38 -0800191
nnoble69ac39f2014-12-12 15:43:38 -0800192ifeq ($(wildcard third_party/openssl/ssl/ssl.h),)
193HAS_EMBEDDED_OPENSSL_ALPN = false
194else
195HAS_EMBEDDED_OPENSSL_ALPN = true
196endif
197
198ifeq ($(wildcard third_party/zlib/zlib.h),)
199HAS_EMBEDDED_ZLIB = false
200else
201HAS_EMBEDDED_ZLIB = true
202endif
203
nnoble69ac39f2014-12-12 15:43:38 -0800204ifeq ($(HAS_SYSTEM_ZLIB),false)
205ifeq ($(HAS_EMBEDDED_ZLIB),true)
Craig Tiller3ccae022015-01-15 07:47:29 -0800206ZLIB_DEP = libs/$(CONFIG)/zlib/libz.a
nnoble69ac39f2014-12-12 15:43:38 -0800207CPPFLAGS += -Ithird_party/zlib
208LDFLAGS += -Lthird_party/zlib
209else
210DEP_MISSING += zlib
211endif
212endif
213
214ifeq ($(HAS_SYSTEM_OPENSSL_ALPN),false)
215ifeq ($(HAS_EMBEDDED_OPENSSL_ALPN),true)
Craig Tillerec0b8f32015-01-15 07:30:00 -0800216OPENSSL_DEP = libs/$(CONFIG)/openssl/libssl.a
217OPENSSL_MERGE_LIBS += libs/$(CONFIG)/openssl/libssl.a libs/$(CONFIG)/openssl/libcrypto.a
nnoble69ac39f2014-12-12 15:43:38 -0800218CPPFLAGS += -Ithird_party/openssl/include
Craig Tillerec0b8f32015-01-15 07:30:00 -0800219LDFLAGS += -Llibs/$(CONFIG)/openssl
nnoble5b7f32a2014-12-22 08:12:44 -0800220LIBS_SECURE = dl
nnoble69ac39f2014-12-12 15:43:38 -0800221else
222NO_SECURE = true
223endif
nnoble5b7f32a2014-12-22 08:12:44 -0800224else
225LIBS_SECURE = ssl crypto dl
nnoble69ac39f2014-12-12 15:43:38 -0800226endif
227
nnoble5b7f32a2014-12-22 08:12:44 -0800228LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE))
229
Craig Tiller12c82092015-01-15 08:45:56 -0800230ifeq ($(MAKECMDGOALS),clean)
nnoble69ac39f2014-12-12 15:43:38 -0800231NO_DEPS = true
232endif
233
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800234.SECONDARY = %.pb.h %.pb.cc
235
Craig Tillerf58b9ef2015-01-15 09:09:12 -0800236PROTOC_PLUGINS= bins/$(CONFIG)/cpp_plugin bins/$(CONFIG)/ruby_plugin
nnoble69ac39f2014-12-12 15:43:38 -0800237ifeq ($(DEP_MISSING),)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800238all: static shared
nnoble69ac39f2014-12-12 15:43:38 -0800239dep_error:
240 @echo "You shouldn't see this message - all of your dependencies are correct."
241else
242all: dep_error git_update stop
243
244dep_error:
245 @echo
246 @echo "DEPENDENCY ERROR"
247 @echo
248 @echo "You are missing system dependencies that are essential to build grpc,"
249 @echo "and the third_party directory doesn't have them:"
250 @echo
251 @echo " $(DEP_MISSING)"
252 @echo
253 @echo "Installing the development packages for your system will solve"
254 @echo "this issue. Please consult INSTALL to get more information."
255 @echo
256 @echo "If you need information about why these tests failed, run:"
257 @echo
258 @echo " make run_dep_checks"
259 @echo
260endif
261
262git_update:
263ifeq ($(IS_GIT_FOLDER),true)
264 @echo "Additionally, since you are in a git clone, you can download the"
265 @echo "missing dependencies in third_party by running the following command:"
266 @echo
ctiller64f29102014-12-15 10:40:59 -0800267 @echo " git submodule update --init"
nnoble69ac39f2014-12-12 15:43:38 -0800268 @echo
269endif
270
271openssl_dep_error: openssl_dep_message git_update stop
272
273openssl_dep_message:
274 @echo
275 @echo "DEPENDENCY ERROR"
276 @echo
277 @echo "The target you are trying to run requires OpenSSL with ALPN support."
278 @echo "Your system doesn't have it, and neither does the third_party directory."
279 @echo
280 @echo "Please consult INSTALL to get more information."
281 @echo
282 @echo "If you need information about why these tests failed, run:"
283 @echo
284 @echo " make run_dep_checks"
285 @echo
286
287stop:
288 @false
289
ctillercab52e72015-01-06 13:10:23 -0800290gen_hpack_tables: bins/$(CONFIG)/gen_hpack_tables
291cpp_plugin: bins/$(CONFIG)/cpp_plugin
292ruby_plugin: bins/$(CONFIG)/ruby_plugin
293grpc_byte_buffer_reader_test: bins/$(CONFIG)/grpc_byte_buffer_reader_test
294gpr_cancellable_test: bins/$(CONFIG)/gpr_cancellable_test
295gpr_log_test: bins/$(CONFIG)/gpr_log_test
296gpr_useful_test: bins/$(CONFIG)/gpr_useful_test
297gpr_cmdline_test: bins/$(CONFIG)/gpr_cmdline_test
298gpr_histogram_test: bins/$(CONFIG)/gpr_histogram_test
299gpr_host_port_test: bins/$(CONFIG)/gpr_host_port_test
300gpr_slice_buffer_test: bins/$(CONFIG)/gpr_slice_buffer_test
301gpr_slice_test: bins/$(CONFIG)/gpr_slice_test
302gpr_string_test: bins/$(CONFIG)/gpr_string_test
303gpr_sync_test: bins/$(CONFIG)/gpr_sync_test
304gpr_thd_test: bins/$(CONFIG)/gpr_thd_test
305gpr_time_test: bins/$(CONFIG)/gpr_time_test
306murmur_hash_test: bins/$(CONFIG)/murmur_hash_test
307grpc_stream_op_test: bins/$(CONFIG)/grpc_stream_op_test
308alpn_test: bins/$(CONFIG)/alpn_test
309time_averaged_stats_test: bins/$(CONFIG)/time_averaged_stats_test
310chttp2_stream_encoder_test: bins/$(CONFIG)/chttp2_stream_encoder_test
311hpack_table_test: bins/$(CONFIG)/hpack_table_test
312chttp2_stream_map_test: bins/$(CONFIG)/chttp2_stream_map_test
313hpack_parser_test: bins/$(CONFIG)/hpack_parser_test
314transport_metadata_test: bins/$(CONFIG)/transport_metadata_test
315chttp2_status_conversion_test: bins/$(CONFIG)/chttp2_status_conversion_test
316chttp2_transport_end2end_test: bins/$(CONFIG)/chttp2_transport_end2end_test
317tcp_posix_test: bins/$(CONFIG)/tcp_posix_test
318dualstack_socket_test: bins/$(CONFIG)/dualstack_socket_test
319no_server_test: bins/$(CONFIG)/no_server_test
320resolve_address_test: bins/$(CONFIG)/resolve_address_test
321sockaddr_utils_test: bins/$(CONFIG)/sockaddr_utils_test
322tcp_server_posix_test: bins/$(CONFIG)/tcp_server_posix_test
323tcp_client_posix_test: bins/$(CONFIG)/tcp_client_posix_test
324grpc_channel_stack_test: bins/$(CONFIG)/grpc_channel_stack_test
325metadata_buffer_test: bins/$(CONFIG)/metadata_buffer_test
326grpc_completion_queue_test: bins/$(CONFIG)/grpc_completion_queue_test
327grpc_completion_queue_benchmark: bins/$(CONFIG)/grpc_completion_queue_benchmark
hongyu24200d32015-01-08 15:13:49 -0800328census_trace_store_test: bins/$(CONFIG)/census_trace_store_test
329census_stats_store_test: bins/$(CONFIG)/census_stats_store_test
ctillercab52e72015-01-06 13:10:23 -0800330census_window_stats_test: bins/$(CONFIG)/census_window_stats_test
331census_statistics_quick_test: bins/$(CONFIG)/census_statistics_quick_test
332census_statistics_small_log_test: bins/$(CONFIG)/census_statistics_small_log_test
333census_statistics_performance_test: bins/$(CONFIG)/census_statistics_performance_test
334census_statistics_multiple_writers_test: bins/$(CONFIG)/census_statistics_multiple_writers_test
335census_statistics_multiple_writers_circular_buffer_test: bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test
336census_stub_test: bins/$(CONFIG)/census_stub_test
337census_hash_table_test: bins/$(CONFIG)/census_hash_table_test
338fling_server: bins/$(CONFIG)/fling_server
339fling_client: bins/$(CONFIG)/fling_client
340fling_test: bins/$(CONFIG)/fling_test
341echo_server: bins/$(CONFIG)/echo_server
342echo_client: bins/$(CONFIG)/echo_client
343echo_test: bins/$(CONFIG)/echo_test
344low_level_ping_pong_benchmark: bins/$(CONFIG)/low_level_ping_pong_benchmark
345message_compress_test: bins/$(CONFIG)/message_compress_test
346bin_encoder_test: bins/$(CONFIG)/bin_encoder_test
347secure_endpoint_test: bins/$(CONFIG)/secure_endpoint_test
348httpcli_format_request_test: bins/$(CONFIG)/httpcli_format_request_test
349httpcli_parser_test: bins/$(CONFIG)/httpcli_parser_test
350httpcli_test: bins/$(CONFIG)/httpcli_test
351grpc_credentials_test: bins/$(CONFIG)/grpc_credentials_test
352grpc_fetch_oauth2: bins/$(CONFIG)/grpc_fetch_oauth2
353grpc_base64_test: bins/$(CONFIG)/grpc_base64_test
354grpc_json_token_test: bins/$(CONFIG)/grpc_json_token_test
355timeout_encoding_test: bins/$(CONFIG)/timeout_encoding_test
356fd_posix_test: bins/$(CONFIG)/fd_posix_test
357fling_stream_test: bins/$(CONFIG)/fling_stream_test
358lame_client_test: bins/$(CONFIG)/lame_client_test
359thread_pool_test: bins/$(CONFIG)/thread_pool_test
360status_test: bins/$(CONFIG)/status_test
361sync_client_async_server_test: bins/$(CONFIG)/sync_client_async_server_test
362qps_client: bins/$(CONFIG)/qps_client
363qps_server: bins/$(CONFIG)/qps_server
364interop_server: bins/$(CONFIG)/interop_server
365interop_client: bins/$(CONFIG)/interop_client
366end2end_test: bins/$(CONFIG)/end2end_test
367channel_arguments_test: bins/$(CONFIG)/channel_arguments_test
yangg4105e2b2015-01-09 14:19:44 -0800368credentials_test: bins/$(CONFIG)/credentials_test
ctillercab52e72015-01-06 13:10:23 -0800369alarm_test: bins/$(CONFIG)/alarm_test
370alarm_list_test: bins/$(CONFIG)/alarm_list_test
371alarm_heap_test: bins/$(CONFIG)/alarm_heap_test
372time_test: bins/$(CONFIG)/time_test
373chttp2_fake_security_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test
374chttp2_fake_security_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test
375chttp2_fake_security_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test
376chttp2_fake_security_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test
377chttp2_fake_security_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800378chttp2_fake_security_census_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800379chttp2_fake_security_disappearing_server_test: bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test
380chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test
381chttp2_fake_security_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test
382chttp2_fake_security_invoke_large_request_test: bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test
383chttp2_fake_security_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test
384chttp2_fake_security_no_op_test: bins/$(CONFIG)/chttp2_fake_security_no_op_test
385chttp2_fake_security_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test
386chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test
387chttp2_fake_security_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test
388chttp2_fake_security_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test
389chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test
390chttp2_fake_security_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test
391chttp2_fake_security_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_request_test
392chttp2_fake_security_thread_stress_test: bins/$(CONFIG)/chttp2_fake_security_thread_stress_test
393chttp2_fake_security_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test
394chttp2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test
395chttp2_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test
396chttp2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test
397chttp2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test
398chttp2_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800399chttp2_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800400chttp2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test
401chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test
402chttp2_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test
403chttp2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test
404chttp2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test
405chttp2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_fullstack_no_op_test
406chttp2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test
407chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test
408chttp2_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test
409chttp2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test
410chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test
411chttp2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test
412chttp2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_request_test
413chttp2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_fullstack_thread_stress_test
414chttp2_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test
415chttp2_simple_ssl_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test
416chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test
417chttp2_simple_ssl_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test
418chttp2_simple_ssl_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test
419chttp2_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 -0800420chttp2_simple_ssl_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800421chttp2_simple_ssl_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test
422chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test
423chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test
424chttp2_simple_ssl_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test
425chttp2_simple_ssl_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test
426chttp2_simple_ssl_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test
427chttp2_simple_ssl_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test
428chttp2_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
429chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test
430chttp2_simple_ssl_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test
431chttp2_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
432chttp2_simple_ssl_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test
433chttp2_simple_ssl_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test
434chttp2_simple_ssl_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test
435chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test
436chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test
437chttp2_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
438chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test
439chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test
440chttp2_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 -0800441chttp2_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 -0800442chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test
443chttp2_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
444chttp2_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
445chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test
446chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test
447chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test
448chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test
449chttp2_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
450chttp2_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
451chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test
452chttp2_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
453chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test
454chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test
455chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test
456chttp2_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
457chttp2_socket_pair_cancel_after_accept_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test
458chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test
459chttp2_socket_pair_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test
460chttp2_socket_pair_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test
461chttp2_socket_pair_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800462chttp2_socket_pair_census_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800463chttp2_socket_pair_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test
464chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test
465chttp2_socket_pair_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test
466chttp2_socket_pair_invoke_large_request_test: bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test
467chttp2_socket_pair_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test
468chttp2_socket_pair_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_no_op_test
469chttp2_socket_pair_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test
470chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test
471chttp2_socket_pair_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test
472chttp2_socket_pair_request_response_with_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test
473chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test
474chttp2_socket_pair_simple_delayed_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test
475chttp2_socket_pair_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_request_test
476chttp2_socket_pair_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test
477chttp2_socket_pair_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test
478chttp2_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
479chttp2_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
480chttp2_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
481chttp2_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
482chttp2_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 -0800483chttp2_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 -0800484chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test
485chttp2_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
486chttp2_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
487chttp2_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
488chttp2_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
489chttp2_socket_pair_one_byte_at_a_time_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test
490chttp2_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
491chttp2_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
492chttp2_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
493chttp2_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
494chttp2_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
495chttp2_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
496chttp2_socket_pair_one_byte_at_a_time_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test
497chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test
498chttp2_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 -0800499
nnoble69ac39f2014-12-12 15:43:38 -0800500run_dep_checks:
nnoble69ac39f2014-12-12 15:43:38 -0800501 $(OPENSSL_ALPN_CHECK_CMD) || true
502 $(ZLIB_CHECK_CMD) || true
503
Craig Tiller3ccae022015-01-15 07:47:29 -0800504libs/$(CONFIG)/zlib/libz.a:
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100505 $(E) "[MAKE] Building zlib"
506 $(Q)(cd third_party/zlib ; CC="$(CC)" CFLAGS="-fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG))" ./configure --static)
507 $(Q)$(MAKE) -C third_party/zlib clean
508 $(Q)$(MAKE) -C third_party/zlib
509 $(Q)mkdir -p libs/$(CONFIG)/zlib
510 $(Q)cp third_party/zlib/libz.a libs/$(CONFIG)/zlib
nnoble69ac39f2014-12-12 15:43:38 -0800511
Craig Tillerec0b8f32015-01-15 07:30:00 -0800512libs/$(CONFIG)/openssl/libssl.a:
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100513 $(E) "[MAKE] Building openssl"
514 $(Q)(cd third_party/openssl ; CC="$(CC) -fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG)) $(OPENSSL_CFLAGS_$(CONFIG))" ./config $(OPENSSL_CONFIG_$(CONFIG)))
515 $(Q)$(MAKE) -C third_party/openssl clean
516 $(Q)$(MAKE) -C third_party/openssl build_crypto build_ssl
517 $(Q)mkdir -p libs/$(CONFIG)/openssl
518 $(Q)cp third_party/openssl/libssl.a third_party/openssl/libcrypto.a libs/$(CONFIG)/openssl
nnoble69ac39f2014-12-12 15:43:38 -0800519
nnoble29e1d292014-12-01 10:27:40 -0800520static: static_c static_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800521
Craig Tiller12c82092015-01-15 08:45:56 -0800522static_c: libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800523
Craig Tiller12c82092015-01-15 08:45:56 -0800524static_cxx: libs/$(CONFIG)/libgrpc++.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800525
nnoble29e1d292014-12-01 10:27:40 -0800526shared: shared_c shared_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800527
Craig Tiller12c82092015-01-15 08:45:56 -0800528shared_c: libs/$(CONFIG)/libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800529
Craig Tiller12c82092015-01-15 08:45:56 -0800530shared_cxx: libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800531
nnoble29e1d292014-12-01 10:27:40 -0800532privatelibs: privatelibs_c privatelibs_cxx
533
Craig Tiller12c82092015-01-15 08:45:56 -0800534privatelibs_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_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 -0800535
Craig Tiller12c82092015-01-15 08:45:56 -0800536privatelibs_cxx: libs/$(CONFIG)/libgrpc++_test_util.a
nnoble29e1d292014-12-01 10:27:40 -0800537
538buildtests: buildtests_c buildtests_cxx
539
Craig Tiller12c82092015-01-15 08:45:56 -0800540buildtests_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)/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_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_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_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_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_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_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 -0800541
Craig Tiller12c82092015-01-15 08:45:56 -0800542buildtests_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 -0800543
nnoble85a49262014-12-08 18:14:03 -0800544test: test_c test_cxx
nnoble29e1d292014-12-01 10:27:40 -0800545
nnoble85a49262014-12-08 18:14:03 -0800546test_c: buildtests_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800547 $(E) "[RUN] Testing grpc_byte_buffer_reader_test"
ctillercab52e72015-01-06 13:10:23 -0800548 $(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 -0800549 $(E) "[RUN] Testing gpr_cancellable_test"
ctillercab52e72015-01-06 13:10:23 -0800550 $(Q) ./bins/$(CONFIG)/gpr_cancellable_test || ( echo test gpr_cancellable_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800551 $(E) "[RUN] Testing gpr_log_test"
ctillercab52e72015-01-06 13:10:23 -0800552 $(Q) ./bins/$(CONFIG)/gpr_log_test || ( echo test gpr_log_test failed ; exit 1 )
ctiller5e04b132014-12-15 09:24:43 -0800553 $(E) "[RUN] Testing gpr_useful_test"
ctillercab52e72015-01-06 13:10:23 -0800554 $(Q) ./bins/$(CONFIG)/gpr_useful_test || ( echo test gpr_useful_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800555 $(E) "[RUN] Testing gpr_cmdline_test"
ctillercab52e72015-01-06 13:10:23 -0800556 $(Q) ./bins/$(CONFIG)/gpr_cmdline_test || ( echo test gpr_cmdline_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800557 $(E) "[RUN] Testing gpr_histogram_test"
ctillercab52e72015-01-06 13:10:23 -0800558 $(Q) ./bins/$(CONFIG)/gpr_histogram_test || ( echo test gpr_histogram_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800559 $(E) "[RUN] Testing gpr_host_port_test"
ctillercab52e72015-01-06 13:10:23 -0800560 $(Q) ./bins/$(CONFIG)/gpr_host_port_test || ( echo test gpr_host_port_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800561 $(E) "[RUN] Testing gpr_slice_buffer_test"
ctillercab52e72015-01-06 13:10:23 -0800562 $(Q) ./bins/$(CONFIG)/gpr_slice_buffer_test || ( echo test gpr_slice_buffer_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800563 $(E) "[RUN] Testing gpr_slice_test"
ctillercab52e72015-01-06 13:10:23 -0800564 $(Q) ./bins/$(CONFIG)/gpr_slice_test || ( echo test gpr_slice_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800565 $(E) "[RUN] Testing gpr_string_test"
ctillercab52e72015-01-06 13:10:23 -0800566 $(Q) ./bins/$(CONFIG)/gpr_string_test || ( echo test gpr_string_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800567 $(E) "[RUN] Testing gpr_sync_test"
ctillercab52e72015-01-06 13:10:23 -0800568 $(Q) ./bins/$(CONFIG)/gpr_sync_test || ( echo test gpr_sync_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800569 $(E) "[RUN] Testing gpr_thd_test"
ctillercab52e72015-01-06 13:10:23 -0800570 $(Q) ./bins/$(CONFIG)/gpr_thd_test || ( echo test gpr_thd_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800571 $(E) "[RUN] Testing gpr_time_test"
ctillercab52e72015-01-06 13:10:23 -0800572 $(Q) ./bins/$(CONFIG)/gpr_time_test || ( echo test gpr_time_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800573 $(E) "[RUN] Testing murmur_hash_test"
ctillercab52e72015-01-06 13:10:23 -0800574 $(Q) ./bins/$(CONFIG)/murmur_hash_test || ( echo test murmur_hash_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800575 $(E) "[RUN] Testing grpc_stream_op_test"
ctillercab52e72015-01-06 13:10:23 -0800576 $(Q) ./bins/$(CONFIG)/grpc_stream_op_test || ( echo test grpc_stream_op_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800577 $(E) "[RUN] Testing alpn_test"
ctillercab52e72015-01-06 13:10:23 -0800578 $(Q) ./bins/$(CONFIG)/alpn_test || ( echo test alpn_test failed ; exit 1 )
ctillerc1ddffb2014-12-15 13:08:18 -0800579 $(E) "[RUN] Testing time_averaged_stats_test"
ctillercab52e72015-01-06 13:10:23 -0800580 $(Q) ./bins/$(CONFIG)/time_averaged_stats_test || ( echo test time_averaged_stats_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800581 $(E) "[RUN] Testing chttp2_stream_encoder_test"
ctillercab52e72015-01-06 13:10:23 -0800582 $(Q) ./bins/$(CONFIG)/chttp2_stream_encoder_test || ( echo test chttp2_stream_encoder_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800583 $(E) "[RUN] Testing hpack_table_test"
ctillercab52e72015-01-06 13:10:23 -0800584 $(Q) ./bins/$(CONFIG)/hpack_table_test || ( echo test hpack_table_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800585 $(E) "[RUN] Testing chttp2_stream_map_test"
ctillercab52e72015-01-06 13:10:23 -0800586 $(Q) ./bins/$(CONFIG)/chttp2_stream_map_test || ( echo test chttp2_stream_map_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800587 $(E) "[RUN] Testing hpack_parser_test"
ctillercab52e72015-01-06 13:10:23 -0800588 $(Q) ./bins/$(CONFIG)/hpack_parser_test || ( echo test hpack_parser_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800589 $(E) "[RUN] Testing transport_metadata_test"
ctillercab52e72015-01-06 13:10:23 -0800590 $(Q) ./bins/$(CONFIG)/transport_metadata_test || ( echo test transport_metadata_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800591 $(E) "[RUN] Testing chttp2_status_conversion_test"
ctillercab52e72015-01-06 13:10:23 -0800592 $(Q) ./bins/$(CONFIG)/chttp2_status_conversion_test || ( echo test chttp2_status_conversion_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800593 $(E) "[RUN] Testing chttp2_transport_end2end_test"
ctillercab52e72015-01-06 13:10:23 -0800594 $(Q) ./bins/$(CONFIG)/chttp2_transport_end2end_test || ( echo test chttp2_transport_end2end_test failed ; exit 1 )
ctiller18b49ab2014-12-09 14:39:16 -0800595 $(E) "[RUN] Testing tcp_posix_test"
ctillercab52e72015-01-06 13:10:23 -0800596 $(Q) ./bins/$(CONFIG)/tcp_posix_test || ( echo test tcp_posix_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800597 $(E) "[RUN] Testing dualstack_socket_test"
ctillercab52e72015-01-06 13:10:23 -0800598 $(Q) ./bins/$(CONFIG)/dualstack_socket_test || ( echo test dualstack_socket_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800599 $(E) "[RUN] Testing no_server_test"
ctillercab52e72015-01-06 13:10:23 -0800600 $(Q) ./bins/$(CONFIG)/no_server_test || ( echo test no_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800601 $(E) "[RUN] Testing resolve_address_test"
ctillercab52e72015-01-06 13:10:23 -0800602 $(Q) ./bins/$(CONFIG)/resolve_address_test || ( echo test resolve_address_test failed ; exit 1 )
ctiller18b49ab2014-12-09 14:39:16 -0800603 $(E) "[RUN] Testing sockaddr_utils_test"
ctillercab52e72015-01-06 13:10:23 -0800604 $(Q) ./bins/$(CONFIG)/sockaddr_utils_test || ( echo test sockaddr_utils_test failed ; exit 1 )
ctiller18b49ab2014-12-09 14:39:16 -0800605 $(E) "[RUN] Testing tcp_server_posix_test"
ctillercab52e72015-01-06 13:10:23 -0800606 $(Q) ./bins/$(CONFIG)/tcp_server_posix_test || ( echo test tcp_server_posix_test failed ; exit 1 )
ctiller18b49ab2014-12-09 14:39:16 -0800607 $(E) "[RUN] Testing tcp_client_posix_test"
ctillercab52e72015-01-06 13:10:23 -0800608 $(Q) ./bins/$(CONFIG)/tcp_client_posix_test || ( echo test tcp_client_posix_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800609 $(E) "[RUN] Testing grpc_channel_stack_test"
ctillercab52e72015-01-06 13:10:23 -0800610 $(Q) ./bins/$(CONFIG)/grpc_channel_stack_test || ( echo test grpc_channel_stack_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800611 $(E) "[RUN] Testing metadata_buffer_test"
ctillercab52e72015-01-06 13:10:23 -0800612 $(Q) ./bins/$(CONFIG)/metadata_buffer_test || ( echo test metadata_buffer_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800613 $(E) "[RUN] Testing grpc_completion_queue_test"
ctillercab52e72015-01-06 13:10:23 -0800614 $(Q) ./bins/$(CONFIG)/grpc_completion_queue_test || ( echo test grpc_completion_queue_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800615 $(E) "[RUN] Testing census_window_stats_test"
ctillercab52e72015-01-06 13:10:23 -0800616 $(Q) ./bins/$(CONFIG)/census_window_stats_test || ( echo test census_window_stats_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800617 $(E) "[RUN] Testing census_statistics_quick_test"
ctillercab52e72015-01-06 13:10:23 -0800618 $(Q) ./bins/$(CONFIG)/census_statistics_quick_test || ( echo test census_statistics_quick_test failed ; exit 1 )
aveitch482a5be2014-12-15 10:25:12 -0800619 $(E) "[RUN] Testing census_statistics_small_log_test"
ctillercab52e72015-01-06 13:10:23 -0800620 $(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 -0800621 $(E) "[RUN] Testing census_statistics_performance_test"
ctillercab52e72015-01-06 13:10:23 -0800622 $(Q) ./bins/$(CONFIG)/census_statistics_performance_test || ( echo test census_statistics_performance_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800623 $(E) "[RUN] Testing census_statistics_multiple_writers_test"
ctillercab52e72015-01-06 13:10:23 -0800624 $(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 -0800625 $(E) "[RUN] Testing census_statistics_multiple_writers_circular_buffer_test"
ctillercab52e72015-01-06 13:10:23 -0800626 $(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 -0800627 $(E) "[RUN] Testing census_stub_test"
ctillercab52e72015-01-06 13:10:23 -0800628 $(Q) ./bins/$(CONFIG)/census_stub_test || ( echo test census_stub_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800629 $(E) "[RUN] Testing census_hash_table_test"
ctillercab52e72015-01-06 13:10:23 -0800630 $(Q) ./bins/$(CONFIG)/census_hash_table_test || ( echo test census_hash_table_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800631 $(E) "[RUN] Testing fling_test"
ctillercab52e72015-01-06 13:10:23 -0800632 $(Q) ./bins/$(CONFIG)/fling_test || ( echo test fling_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800633 $(E) "[RUN] Testing echo_test"
ctillercab52e72015-01-06 13:10:23 -0800634 $(Q) ./bins/$(CONFIG)/echo_test || ( echo test echo_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800635 $(E) "[RUN] Testing message_compress_test"
ctillercab52e72015-01-06 13:10:23 -0800636 $(Q) ./bins/$(CONFIG)/message_compress_test || ( echo test message_compress_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800637 $(E) "[RUN] Testing bin_encoder_test"
ctillercab52e72015-01-06 13:10:23 -0800638 $(Q) ./bins/$(CONFIG)/bin_encoder_test || ( echo test bin_encoder_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800639 $(E) "[RUN] Testing secure_endpoint_test"
ctillercab52e72015-01-06 13:10:23 -0800640 $(Q) ./bins/$(CONFIG)/secure_endpoint_test || ( echo test secure_endpoint_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800641 $(E) "[RUN] Testing httpcli_format_request_test"
ctillercab52e72015-01-06 13:10:23 -0800642 $(Q) ./bins/$(CONFIG)/httpcli_format_request_test || ( echo test httpcli_format_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800643 $(E) "[RUN] Testing httpcli_parser_test"
ctillercab52e72015-01-06 13:10:23 -0800644 $(Q) ./bins/$(CONFIG)/httpcli_parser_test || ( echo test httpcli_parser_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800645 $(E) "[RUN] Testing httpcli_test"
ctillercab52e72015-01-06 13:10:23 -0800646 $(Q) ./bins/$(CONFIG)/httpcli_test || ( echo test httpcli_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800647 $(E) "[RUN] Testing grpc_credentials_test"
ctillercab52e72015-01-06 13:10:23 -0800648 $(Q) ./bins/$(CONFIG)/grpc_credentials_test || ( echo test grpc_credentials_test failed ; exit 1 )
jboeufbefd2652014-12-12 15:39:47 -0800649 $(E) "[RUN] Testing grpc_base64_test"
ctillercab52e72015-01-06 13:10:23 -0800650 $(Q) ./bins/$(CONFIG)/grpc_base64_test || ( echo test grpc_base64_test failed ; exit 1 )
jboeufbefd2652014-12-12 15:39:47 -0800651 $(E) "[RUN] Testing grpc_json_token_test"
ctillercab52e72015-01-06 13:10:23 -0800652 $(Q) ./bins/$(CONFIG)/grpc_json_token_test || ( echo test grpc_json_token_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800653 $(E) "[RUN] Testing timeout_encoding_test"
ctillercab52e72015-01-06 13:10:23 -0800654 $(Q) ./bins/$(CONFIG)/timeout_encoding_test || ( echo test timeout_encoding_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800655 $(E) "[RUN] Testing fd_posix_test"
ctillercab52e72015-01-06 13:10:23 -0800656 $(Q) ./bins/$(CONFIG)/fd_posix_test || ( echo test fd_posix_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800657 $(E) "[RUN] Testing fling_stream_test"
ctillercab52e72015-01-06 13:10:23 -0800658 $(Q) ./bins/$(CONFIG)/fling_stream_test || ( echo test fling_stream_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800659 $(E) "[RUN] Testing lame_client_test"
ctillercab52e72015-01-06 13:10:23 -0800660 $(Q) ./bins/$(CONFIG)/lame_client_test || ( echo test lame_client_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800661 $(E) "[RUN] Testing alarm_test"
ctillercab52e72015-01-06 13:10:23 -0800662 $(Q) ./bins/$(CONFIG)/alarm_test || ( echo test alarm_test failed ; exit 1 )
ctiller3bf466f2014-12-19 16:21:57 -0800663 $(E) "[RUN] Testing alarm_list_test"
ctillercab52e72015-01-06 13:10:23 -0800664 $(Q) ./bins/$(CONFIG)/alarm_list_test || ( echo test alarm_list_test failed ; exit 1 )
ctiller3bf466f2014-12-19 16:21:57 -0800665 $(E) "[RUN] Testing alarm_heap_test"
ctillercab52e72015-01-06 13:10:23 -0800666 $(Q) ./bins/$(CONFIG)/alarm_heap_test || ( echo test alarm_heap_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800667 $(E) "[RUN] Testing time_test"
ctillercab52e72015-01-06 13:10:23 -0800668 $(Q) ./bins/$(CONFIG)/time_test || ( echo test time_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800669 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800670 $(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 -0800671 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800672 $(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 -0800673 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800674 $(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 -0800675 $(E) "[RUN] Testing chttp2_fake_security_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800676 $(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 -0800677 $(E) "[RUN] Testing chttp2_fake_security_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800678 $(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 -0800679 $(E) "[RUN] Testing chttp2_fake_security_census_simple_request_test"
680 $(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 -0800681 $(E) "[RUN] Testing chttp2_fake_security_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800682 $(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 -0800683 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800684 $(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 -0800685 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800686 $(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 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800687 $(E) "[RUN] Testing chttp2_fake_security_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800688 $(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 -0800689 $(E) "[RUN] Testing chttp2_fake_security_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800690 $(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 -0800691 $(E) "[RUN] Testing chttp2_fake_security_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800692 $(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 -0800693 $(E) "[RUN] Testing chttp2_fake_security_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800694 $(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 -0800695 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800696 $(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 -0800697 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800698 $(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 -0800699 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800700 $(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 -0800701 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800702 $(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 -0800703 $(E) "[RUN] Testing chttp2_fake_security_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800704 $(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 -0800705 $(E) "[RUN] Testing chttp2_fake_security_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800706 $(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 -0800707 $(E) "[RUN] Testing chttp2_fake_security_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800708 $(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 -0800709 $(E) "[RUN] Testing chttp2_fake_security_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800710 $(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 -0800711 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800712 $(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 -0800713 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800714 $(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 -0800715 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800716 $(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 -0800717 $(E) "[RUN] Testing chttp2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800718 $(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 -0800719 $(E) "[RUN] Testing chttp2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800720 $(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 -0800721 $(E) "[RUN] Testing chttp2_fullstack_census_simple_request_test"
722 $(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 -0800723 $(E) "[RUN] Testing chttp2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800724 $(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 -0800725 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800726 $(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 -0800727 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800728 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test || ( echo test chttp2_fullstack_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800729 $(E) "[RUN] Testing chttp2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800730 $(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 -0800731 $(E) "[RUN] Testing chttp2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800732 $(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 -0800733 $(E) "[RUN] Testing chttp2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800734 $(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 -0800735 $(E) "[RUN] Testing chttp2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800736 $(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 -0800737 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800738 $(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 -0800739 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800740 $(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 -0800741 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800742 $(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 -0800743 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800744 $(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 -0800745 $(E) "[RUN] Testing chttp2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800746 $(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 -0800747 $(E) "[RUN] Testing chttp2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800748 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_simple_request_test || ( echo test chttp2_fullstack_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800749 $(E) "[RUN] Testing chttp2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800750 $(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 -0800751 $(E) "[RUN] Testing chttp2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800752 $(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 -0800753 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800754 $(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 -0800755 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800756 $(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 -0800757 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800758 $(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 -0800759 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800760 $(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 -0800761 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800762 $(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 -0800763 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_census_simple_request_test"
764 $(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 -0800765 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800766 $(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 -0800767 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800768 $(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 -0800769 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800770 $(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 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800771 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800772 $(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 -0800773 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800774 $(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 -0800775 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800776 $(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 -0800777 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800778 $(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 -0800779 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800780 $(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 -0800781 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800782 $(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 -0800783 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800784 $(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 -0800785 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800786 $(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 -0800787 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800788 $(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 -0800789 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800790 $(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 -0800791 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800792 $(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 -0800793 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800794 $(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 -0800795 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800796 $(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 -0800797 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800798 $(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 -0800799 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800800 $(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 -0800801 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800802 $(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 -0800803 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800804 $(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 -0800805 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test"
806 $(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 -0800807 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800808 $(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 -0800809 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800810 $(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 -0800811 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800812 $(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 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800813 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800814 $(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 -0800815 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800816 $(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 -0800817 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800818 $(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 -0800819 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800820 $(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 -0800821 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800822 $(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 -0800823 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800824 $(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 -0800825 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800826 $(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 -0800827 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800828 $(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 -0800829 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800830 $(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 -0800831 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800832 $(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 -0800833 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800834 $(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 -0800835 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800836 $(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 -0800837 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800838 $(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 -0800839 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800840 $(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 -0800841 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800842 $(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 -0800843 $(E) "[RUN] Testing chttp2_socket_pair_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800844 $(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 -0800845 $(E) "[RUN] Testing chttp2_socket_pair_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800846 $(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 -0800847 $(E) "[RUN] Testing chttp2_socket_pair_census_simple_request_test"
848 $(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 -0800849 $(E) "[RUN] Testing chttp2_socket_pair_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800850 $(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 -0800851 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800852 $(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 -0800853 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800854 $(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 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800855 $(E) "[RUN] Testing chttp2_socket_pair_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800856 $(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 -0800857 $(E) "[RUN] Testing chttp2_socket_pair_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800858 $(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 -0800859 $(E) "[RUN] Testing chttp2_socket_pair_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800860 $(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 -0800861 $(E) "[RUN] Testing chttp2_socket_pair_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800862 $(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 -0800863 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800864 $(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 -0800865 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800866 $(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 -0800867 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800868 $(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 -0800869 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800870 $(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 -0800871 $(E) "[RUN] Testing chttp2_socket_pair_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800872 $(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 -0800873 $(E) "[RUN] Testing chttp2_socket_pair_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800874 $(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 -0800875 $(E) "[RUN] Testing chttp2_socket_pair_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800876 $(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 -0800877 $(E) "[RUN] Testing chttp2_socket_pair_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800878 $(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 -0800879 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800880 $(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 -0800881 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800882 $(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 -0800883 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800884 $(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 -0800885 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800886 $(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 -0800887 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800888 $(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 -0800889 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test"
890 $(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 -0800891 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800892 $(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 -0800893 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800894 $(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 -0800895 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800896 $(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 )
nnoble0c475f02014-12-05 15:37:39 -0800897 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800898 $(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 -0800899 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800900 $(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 -0800901 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800902 $(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 -0800903 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800904 $(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 -0800905 $(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 -0800906 $(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 -0800907 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800908 $(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 -0800909 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800910 $(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 -0800911 $(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 -0800912 $(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 -0800913 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800914 $(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 -0800915 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800916 $(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 -0800917 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800918 $(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 -0800919 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800920 $(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 -0800921
922
nnoble85a49262014-12-08 18:14:03 -0800923test_cxx: buildtests_cxx
nnoble29e1d292014-12-01 10:27:40 -0800924 $(E) "[RUN] Testing thread_pool_test"
ctillercab52e72015-01-06 13:10:23 -0800925 $(Q) ./bins/$(CONFIG)/thread_pool_test || ( echo test thread_pool_test failed ; exit 1 )
nnoble29e1d292014-12-01 10:27:40 -0800926 $(E) "[RUN] Testing status_test"
ctillercab52e72015-01-06 13:10:23 -0800927 $(Q) ./bins/$(CONFIG)/status_test || ( echo test status_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800928 $(E) "[RUN] Testing sync_client_async_server_test"
ctillercab52e72015-01-06 13:10:23 -0800929 $(Q) ./bins/$(CONFIG)/sync_client_async_server_test || ( echo test sync_client_async_server_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800930 $(E) "[RUN] Testing qps_client"
ctillercab52e72015-01-06 13:10:23 -0800931 $(Q) ./bins/$(CONFIG)/qps_client || ( echo test qps_client failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800932 $(E) "[RUN] Testing qps_server"
ctillercab52e72015-01-06 13:10:23 -0800933 $(Q) ./bins/$(CONFIG)/qps_server || ( echo test qps_server failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800934 $(E) "[RUN] Testing end2end_test"
ctillercab52e72015-01-06 13:10:23 -0800935 $(Q) ./bins/$(CONFIG)/end2end_test || ( echo test end2end_test failed ; exit 1 )
yangg59dfc902014-12-19 14:00:14 -0800936 $(E) "[RUN] Testing channel_arguments_test"
ctillercab52e72015-01-06 13:10:23 -0800937 $(Q) ./bins/$(CONFIG)/channel_arguments_test || ( echo test channel_arguments_test failed ; exit 1 )
yangg4105e2b2015-01-09 14:19:44 -0800938 $(E) "[RUN] Testing credentials_test"
939 $(Q) ./bins/$(CONFIG)/credentials_test || ( echo test credentials_test failed ; exit 1 )
nnoble29e1d292014-12-01 10:27:40 -0800940
941
ctillercab52e72015-01-06 13:10:23 -0800942tools: privatelibs bins/$(CONFIG)/gen_hpack_tables bins/$(CONFIG)/grpc_fetch_oauth2
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800943
ctillercab52e72015-01-06 13:10:23 -0800944buildbenchmarks: privatelibs bins/$(CONFIG)/grpc_completion_queue_benchmark bins/$(CONFIG)/low_level_ping_pong_benchmark
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800945
946benchmarks: buildbenchmarks
947
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800948strip: strip-static strip-shared
949
nnoble20e2e3f2014-12-16 15:37:57 -0800950strip-static: strip-static_c strip-static_cxx
951
952strip-shared: strip-shared_c strip-shared_cxx
953
Nicolas Noble047b7272015-01-16 13:55:05 -0800954
955# TODO(nnoble): the strip target is stripping in-place, instead
956# of copying files in a temporary folder.
957# This prevents proper debugging after running make install.
958
nnoble85a49262014-12-08 18:14:03 -0800959strip-static_c: static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800960 $(E) "[STRIP] Stripping libgpr.a"
ctillercab52e72015-01-06 13:10:23 -0800961 $(Q) $(STRIP) libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800962 $(E) "[STRIP] Stripping libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -0800963 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800964 $(E) "[STRIP] Stripping libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -0800965 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800966
nnoble85a49262014-12-08 18:14:03 -0800967strip-static_cxx: static_cxx
968 $(E) "[STRIP] Stripping libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -0800969 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -0800970
971strip-shared_c: shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800972 $(E) "[STRIP] Stripping libgpr.so"
ctillercab52e72015-01-06 13:10:23 -0800973 $(Q) $(STRIP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800974 $(E) "[STRIP] Stripping libgrpc.so"
ctillercab52e72015-01-06 13:10:23 -0800975 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800976 $(E) "[STRIP] Stripping libgrpc_unsecure.so"
ctillercab52e72015-01-06 13:10:23 -0800977 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800978
nnoble85a49262014-12-08 18:14:03 -0800979strip-shared_cxx: shared_cxx
980 $(E) "[STRIP] Stripping libgrpc++.so"
ctillercab52e72015-01-06 13:10:23 -0800981 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
nnoble85a49262014-12-08 18:14:03 -0800982
Craig Tillerf58b9ef2015-01-15 09:09:12 -0800983gens/test/cpp/interop/empty.pb.cc: test/cpp/interop/empty.proto $(PROTOC_PLUGINS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800984 $(E) "[PROTOC] Generating protobuf CC file from $<"
985 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -0800986 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -0800987
Craig Tillerf58b9ef2015-01-15 09:09:12 -0800988gens/test/cpp/interop/messages.pb.cc: test/cpp/interop/messages.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -0800989 $(E) "[PROTOC] Generating protobuf CC file from $<"
990 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -0800991 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -0800992
Craig Tillerf58b9ef2015-01-15 09:09:12 -0800993gens/test/cpp/interop/test.pb.cc: test/cpp/interop/test.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -0800994 $(E) "[PROTOC] Generating protobuf CC file from $<"
995 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -0800996 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -0800997
Craig Tillerf58b9ef2015-01-15 09:09:12 -0800998gens/test/cpp/qps/qpstest.pb.cc: test/cpp/qps/qpstest.proto $(PROTOC_PLUGINS)
Craig Tillerbf2659f2015-01-13 12:27:06 -0800999 $(E) "[PROTOC] Generating protobuf CC file from $<"
1000 $(Q) mkdir -p `dirname $@`
1001 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1002
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001003gens/test/cpp/util/echo.pb.cc: test/cpp/util/echo.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001004 $(E) "[PROTOC] Generating protobuf CC file from $<"
1005 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001006 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001007
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001008gens/test/cpp/util/echo_duplicate.pb.cc: test/cpp/util/echo_duplicate.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001009 $(E) "[PROTOC] Generating protobuf CC file from $<"
1010 $(Q) mkdir -p `dirname $@`
1011 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1012
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001013gens/test/cpp/util/messages.pb.cc: test/cpp/util/messages.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001014 $(E) "[PROTOC] Generating protobuf CC file from $<"
1015 $(Q) mkdir -p `dirname $@`
1016 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1017
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001018
ctillercab52e72015-01-06 13:10:23 -08001019objs/$(CONFIG)/%.o : %.c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001020 $(E) "[C] Compiling $<"
1021 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001022 $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001023
ctillercab52e72015-01-06 13:10:23 -08001024objs/$(CONFIG)/%.o : gens/%.pb.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001025 $(E) "[CXX] Compiling $<"
1026 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001027 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001028
ctillercab52e72015-01-06 13:10:23 -08001029objs/$(CONFIG)/src/compiler/%.o : src/compiler/%.cc
nnoble72309c62014-12-12 11:42:26 -08001030 $(E) "[HOSTCXX] Compiling $<"
1031 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001032 $(Q) $(HOST_CXX) $(HOST_CXXFLAGS) $(HOST_CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
nnoble72309c62014-12-12 11:42:26 -08001033
ctillercab52e72015-01-06 13:10:23 -08001034objs/$(CONFIG)/%.o : %.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001035 $(E) "[CXX] Compiling $<"
1036 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001037 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001038
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001039
nnoble85a49262014-12-08 18:14:03 -08001040install: install_c install_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001041
nnoble85a49262014-12-08 18:14:03 -08001042install_c: install-headers_c install-static_c install-shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001043
nnoble85a49262014-12-08 18:14:03 -08001044install_cxx: install-headers_cxx install-static_cxx install-shared_cxx
1045
1046install-headers: install-headers_c install-headers_cxx
1047
1048install-headers_c:
1049 $(E) "[INSTALL] Installing public C headers"
1050 $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1051
1052install-headers_cxx:
1053 $(E) "[INSTALL] Installing public C++ headers"
1054 $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1055
1056install-static: install-static_c install-static_cxx
1057
1058install-static_c: static_c strip-static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001059 $(E) "[INSTALL] Installing libgpr.a"
ctillercab52e72015-01-06 13:10:23 -08001060 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.a $(prefix)/lib/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001061 $(E) "[INSTALL] Installing libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -08001062 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.a $(prefix)/lib/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001063 $(E) "[INSTALL] Installing libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -08001064 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.a $(prefix)/lib/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001065
nnoble85a49262014-12-08 18:14:03 -08001066install-static_cxx: static_cxx strip-static_cxx
1067 $(E) "[INSTALL] Installing libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -08001068 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.a $(prefix)/lib/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -08001069
1070install-shared_c: shared_c strip-shared_c
nnoble5b7f32a2014-12-22 08:12:44 -08001071ifeq ($(SYSTEM),MINGW32)
1072 $(E) "[INSTALL] Installing gpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001073 $(Q) $(INSTALL) libs/$(CONFIG)/gpr.$(SHARED_EXT) $(prefix)/lib/gpr.$(SHARED_EXT)
1074 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr-imp.a $(prefix)/lib/libgpr-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001075else
1076 $(E) "[INSTALL] Installing libgpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001077 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001078ifneq ($(SYSTEM),Darwin)
1079 $(Q) ln -sf libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.so
1080endif
1081endif
1082ifeq ($(SYSTEM),MINGW32)
1083 $(E) "[INSTALL] Installing grpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001084 $(Q) $(INSTALL) libs/$(CONFIG)/grpc.$(SHARED_EXT) $(prefix)/lib/grpc.$(SHARED_EXT)
1085 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc-imp.a $(prefix)/lib/libgrpc-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001086else
1087 $(E) "[INSTALL] Installing libgrpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001088 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001089ifneq ($(SYSTEM),Darwin)
1090 $(Q) ln -sf libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.so
1091endif
1092endif
1093ifeq ($(SYSTEM),MINGW32)
1094 $(E) "[INSTALL] Installing grpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001095 $(Q) $(INSTALL) libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT) $(prefix)/lib/grpc_unsecure.$(SHARED_EXT)
1096 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure-imp.a $(prefix)/lib/libgrpc_unsecure-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001097else
1098 $(E) "[INSTALL] Installing libgrpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001099 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001100ifneq ($(SYSTEM),Darwin)
1101 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.so
1102endif
1103endif
1104ifneq ($(SYSTEM),MINGW32)
1105ifneq ($(SYSTEM),Darwin)
1106 $(Q) ldconfig
1107endif
1108endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001109
nnoble85a49262014-12-08 18:14:03 -08001110install-shared_cxx: shared_cxx strip-shared_cxx
nnoble5b7f32a2014-12-22 08:12:44 -08001111ifeq ($(SYSTEM),MINGW32)
1112 $(E) "[INSTALL] Installing grpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001113 $(Q) $(INSTALL) libs/$(CONFIG)/grpc++.$(SHARED_EXT) $(prefix)/lib/grpc++.$(SHARED_EXT)
1114 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++-imp.a $(prefix)/lib/libgrpc++-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001115else
1116 $(E) "[INSTALL] Installing libgrpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001117 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001118ifneq ($(SYSTEM),Darwin)
1119 $(Q) ln -sf libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.so
1120endif
1121endif
1122ifneq ($(SYSTEM),MINGW32)
1123ifneq ($(SYSTEM),Darwin)
1124 $(Q) ldconfig
1125endif
1126endif
nnoble85a49262014-12-08 18:14:03 -08001127
Craig Tiller3759e6f2015-01-15 08:13:11 -08001128clean:
Craig Tiller12c82092015-01-15 08:45:56 -08001129 $(Q) $(RM) -rf objs libs bins gens
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001130
1131
1132# The various libraries
1133
1134
1135LIBGPR_SRC = \
1136 src/core/support/alloc.c \
1137 src/core/support/cancellable.c \
1138 src/core/support/cmdline.c \
ctillerd94ad102014-12-23 08:53:43 -08001139 src/core/support/cpu_linux.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001140 src/core/support/cpu_posix.c \
1141 src/core/support/histogram.c \
1142 src/core/support/host_port.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001143 src/core/support/log_android.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001144 src/core/support/log.c \
1145 src/core/support/log_linux.c \
1146 src/core/support/log_posix.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001147 src/core/support/log_win32.c \
1148 src/core/support/murmur_hash.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001149 src/core/support/slice_buffer.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001150 src/core/support/slice.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001151 src/core/support/string.c \
1152 src/core/support/string_posix.c \
nnoble0c475f02014-12-05 15:37:39 -08001153 src/core/support/string_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001154 src/core/support/sync.c \
1155 src/core/support/sync_posix.c \
jtattermusch98bffb72014-12-09 12:47:19 -08001156 src/core/support/sync_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001157 src/core/support/thd_posix.c \
1158 src/core/support/thd_win32.c \
1159 src/core/support/time.c \
1160 src/core/support/time_posix.c \
1161 src/core/support/time_win32.c \
1162
nnoble85a49262014-12-08 18:14:03 -08001163PUBLIC_HEADERS_C += \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001164 include/grpc/support/alloc.h \
1165 include/grpc/support/atm_gcc_atomic.h \
1166 include/grpc/support/atm_gcc_sync.h \
1167 include/grpc/support/atm.h \
1168 include/grpc/support/atm_win32.h \
1169 include/grpc/support/cancellable_platform.h \
1170 include/grpc/support/cmdline.h \
1171 include/grpc/support/histogram.h \
1172 include/grpc/support/host_port.h \
1173 include/grpc/support/log.h \
1174 include/grpc/support/port_platform.h \
1175 include/grpc/support/slice_buffer.h \
1176 include/grpc/support/slice.h \
1177 include/grpc/support/string.h \
1178 include/grpc/support/sync_generic.h \
1179 include/grpc/support/sync.h \
1180 include/grpc/support/sync_posix.h \
1181 include/grpc/support/sync_win32.h \
1182 include/grpc/support/thd.h \
1183 include/grpc/support/thd_posix.h \
1184 include/grpc/support/thd_win32.h \
1185 include/grpc/support/time.h \
1186 include/grpc/support/time_posix.h \
1187 include/grpc/support/time_win32.h \
1188 include/grpc/support/useful.h \
1189
ctillercab52e72015-01-06 13:10:23 -08001190LIBGPR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001191
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001192libs/$(CONFIG)/libgpr.a: $(ZLIB_DEP) $(LIBGPR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001193 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001194 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001195 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr.a $(LIBGPR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001196
nnoble5b7f32a2014-12-22 08:12:44 -08001197
1198
1199ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001200libs/$(CONFIG)/gpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001201 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001202 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001203 $(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 -08001204else
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001205libs/$(CONFIG)/libgpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001206 $(E) "[LD] Linking $@"
1207 $(Q) mkdir -p `dirname $@`
1208ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001209 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
nnoble5b7f32a2014-12-22 08:12:44 -08001210else
ctillercab52e72015-01-06 13:10:23 -08001211 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgpr.so.0 -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
1212 $(Q) ln -sf libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgpr.so
nnoble5b7f32a2014-12-22 08:12:44 -08001213endif
1214endif
1215
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001216
nnoble69ac39f2014-12-12 15:43:38 -08001217ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001218-include $(LIBGPR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001219endif
1220
Craig Tiller27715ca2015-01-12 16:55:59 -08001221objs/$(CONFIG)/src/core/support/alloc.o:
1222objs/$(CONFIG)/src/core/support/cancellable.o:
1223objs/$(CONFIG)/src/core/support/cmdline.o:
1224objs/$(CONFIG)/src/core/support/cpu_linux.o:
1225objs/$(CONFIG)/src/core/support/cpu_posix.o:
1226objs/$(CONFIG)/src/core/support/histogram.o:
1227objs/$(CONFIG)/src/core/support/host_port.o:
1228objs/$(CONFIG)/src/core/support/log_android.o:
1229objs/$(CONFIG)/src/core/support/log.o:
1230objs/$(CONFIG)/src/core/support/log_linux.o:
1231objs/$(CONFIG)/src/core/support/log_posix.o:
1232objs/$(CONFIG)/src/core/support/log_win32.o:
1233objs/$(CONFIG)/src/core/support/murmur_hash.o:
1234objs/$(CONFIG)/src/core/support/slice_buffer.o:
1235objs/$(CONFIG)/src/core/support/slice.o:
1236objs/$(CONFIG)/src/core/support/string.o:
1237objs/$(CONFIG)/src/core/support/string_posix.o:
1238objs/$(CONFIG)/src/core/support/string_win32.o:
1239objs/$(CONFIG)/src/core/support/sync.o:
1240objs/$(CONFIG)/src/core/support/sync_posix.o:
1241objs/$(CONFIG)/src/core/support/sync_win32.o:
1242objs/$(CONFIG)/src/core/support/thd_posix.o:
1243objs/$(CONFIG)/src/core/support/thd_win32.o:
1244objs/$(CONFIG)/src/core/support/time.o:
1245objs/$(CONFIG)/src/core/support/time_posix.o:
1246objs/$(CONFIG)/src/core/support/time_win32.o:
1247
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001248
1249LIBGRPC_SRC = \
nnoblec87b1c52015-01-05 17:15:18 -08001250 src/core/security/auth.c \
1251 src/core/security/base64.c \
1252 src/core/security/credentials.c \
jboeuf6ad120e2015-01-12 17:08:15 -08001253 src/core/security/factories.c \
nnoblec87b1c52015-01-05 17:15:18 -08001254 src/core/security/google_root_certs.c \
1255 src/core/security/json_token.c \
1256 src/core/security/secure_endpoint.c \
1257 src/core/security/secure_transport_setup.c \
1258 src/core/security/security_context.c \
1259 src/core/security/server_secure_chttp2.c \
1260 src/core/tsi/fake_transport_security.c \
1261 src/core/tsi/ssl_transport_security.c \
1262 src/core/tsi/transport_security.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001263 src/core/channel/call_op_string.c \
1264 src/core/channel/census_filter.c \
1265 src/core/channel/channel_args.c \
1266 src/core/channel/channel_stack.c \
ctiller82e275f2014-12-12 08:43:28 -08001267 src/core/channel/child_channel.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001268 src/core/channel/client_channel.c \
1269 src/core/channel/client_setup.c \
1270 src/core/channel/connected_channel.c \
1271 src/core/channel/http_client_filter.c \
1272 src/core/channel/http_filter.c \
1273 src/core/channel/http_server_filter.c \
1274 src/core/channel/metadata_buffer.c \
1275 src/core/channel/noop_filter.c \
1276 src/core/compression/algorithm.c \
1277 src/core/compression/message_compress.c \
ctiller18b49ab2014-12-09 14:39:16 -08001278 src/core/httpcli/format_request.c \
1279 src/core/httpcli/httpcli.c \
1280 src/core/httpcli/httpcli_security_context.c \
1281 src/core/httpcli/parser.c \
ctiller52103932014-12-20 09:07:32 -08001282 src/core/iomgr/alarm.c \
1283 src/core/iomgr/alarm_heap.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001284 src/core/iomgr/endpoint.c \
ctiller18b49ab2014-12-09 14:39:16 -08001285 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001286 src/core/iomgr/fd_posix.c \
1287 src/core/iomgr/iomgr.c \
1288 src/core/iomgr/iomgr_posix.c \
1289 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1290 src/core/iomgr/pollset_posix.c \
ctiller18b49ab2014-12-09 14:39:16 -08001291 src/core/iomgr/resolve_address_posix.c \
1292 src/core/iomgr/sockaddr_utils.c \
1293 src/core/iomgr/socket_utils_common_posix.c \
1294 src/core/iomgr/socket_utils_linux.c \
1295 src/core/iomgr/socket_utils_posix.c \
1296 src/core/iomgr/tcp_client_posix.c \
1297 src/core/iomgr/tcp_posix.c \
1298 src/core/iomgr/tcp_server_posix.c \
ctillerc1ddffb2014-12-15 13:08:18 -08001299 src/core/iomgr/time_averaged_stats.c \
ctiller18b49ab2014-12-09 14:39:16 -08001300 src/core/statistics/census_init.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001301 src/core/statistics/census_log.c \
ctiller18b49ab2014-12-09 14:39:16 -08001302 src/core/statistics/census_rpc_stats.c \
1303 src/core/statistics/census_tracing.c \
1304 src/core/statistics/hash_table.c \
ctiller18b49ab2014-12-09 14:39:16 -08001305 src/core/statistics/window_stats.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001306 src/core/surface/byte_buffer.c \
1307 src/core/surface/byte_buffer_reader.c \
1308 src/core/surface/call.c \
1309 src/core/surface/channel.c \
1310 src/core/surface/channel_create.c \
1311 src/core/surface/client.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001312 src/core/surface/completion_queue.c \
1313 src/core/surface/event_string.c \
1314 src/core/surface/init.c \
ctiller18b49ab2014-12-09 14:39:16 -08001315 src/core/surface/lame_client.c \
1316 src/core/surface/secure_channel_create.c \
1317 src/core/surface/secure_server_create.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001318 src/core/surface/server.c \
1319 src/core/surface/server_chttp2.c \
1320 src/core/surface/server_create.c \
nnoble0c475f02014-12-05 15:37:39 -08001321 src/core/transport/chttp2/alpn.c \
1322 src/core/transport/chttp2/bin_encoder.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001323 src/core/transport/chttp2/frame_data.c \
nnoble0c475f02014-12-05 15:37:39 -08001324 src/core/transport/chttp2/frame_goaway.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001325 src/core/transport/chttp2/frame_ping.c \
1326 src/core/transport/chttp2/frame_rst_stream.c \
1327 src/core/transport/chttp2/frame_settings.c \
1328 src/core/transport/chttp2/frame_window_update.c \
1329 src/core/transport/chttp2/hpack_parser.c \
1330 src/core/transport/chttp2/hpack_table.c \
nnoble0c475f02014-12-05 15:37:39 -08001331 src/core/transport/chttp2/huffsyms.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001332 src/core/transport/chttp2/status_conversion.c \
1333 src/core/transport/chttp2/stream_encoder.c \
1334 src/core/transport/chttp2/stream_map.c \
1335 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001336 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001337 src/core/transport/chttp2_transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001338 src/core/transport/metadata.c \
1339 src/core/transport/stream_op.c \
1340 src/core/transport/transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001341 third_party/cJSON/cJSON.c \
1342
nnoble85a49262014-12-08 18:14:03 -08001343PUBLIC_HEADERS_C += \
nnoblec87b1c52015-01-05 17:15:18 -08001344 include/grpc/grpc_security.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001345 include/grpc/byte_buffer.h \
1346 include/grpc/byte_buffer_reader.h \
1347 include/grpc/grpc.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001348 include/grpc/status.h \
1349
ctillercab52e72015-01-06 13:10:23 -08001350LIBGRPC_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001351
nnoble69ac39f2014-12-12 15:43:38 -08001352ifeq ($(NO_SECURE),true)
1353
Nicolas Noble047b7272015-01-16 13:55:05 -08001354# You can't build secure libraries if you don't have OpenSSL with ALPN.
1355
ctillercab52e72015-01-06 13:10:23 -08001356libs/$(CONFIG)/libgrpc.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08001357
nnoble5b7f32a2014-12-22 08:12:44 -08001358ifeq ($(SYSTEM),MINGW32)
ctillercab52e72015-01-06 13:10:23 -08001359libs/$(CONFIG)/grpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001360else
ctillercab52e72015-01-06 13:10:23 -08001361libs/$(CONFIG)/libgrpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001362endif
1363
nnoble69ac39f2014-12-12 15:43:38 -08001364else
1365
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001366ifneq ($(OPENSSL_DEP),)
1367src/core/security/auth.c: $(OPENSSL_DEP)
1368src/core/security/base64.c: $(OPENSSL_DEP)
1369src/core/security/credentials.c: $(OPENSSL_DEP)
1370src/core/security/factories.c: $(OPENSSL_DEP)
1371src/core/security/google_root_certs.c: $(OPENSSL_DEP)
1372src/core/security/json_token.c: $(OPENSSL_DEP)
1373src/core/security/secure_endpoint.c: $(OPENSSL_DEP)
1374src/core/security/secure_transport_setup.c: $(OPENSSL_DEP)
1375src/core/security/security_context.c: $(OPENSSL_DEP)
1376src/core/security/server_secure_chttp2.c: $(OPENSSL_DEP)
1377src/core/tsi/fake_transport_security.c: $(OPENSSL_DEP)
1378src/core/tsi/ssl_transport_security.c: $(OPENSSL_DEP)
1379src/core/tsi/transport_security.c: $(OPENSSL_DEP)
1380src/core/channel/call_op_string.c: $(OPENSSL_DEP)
1381src/core/channel/census_filter.c: $(OPENSSL_DEP)
1382src/core/channel/channel_args.c: $(OPENSSL_DEP)
1383src/core/channel/channel_stack.c: $(OPENSSL_DEP)
1384src/core/channel/child_channel.c: $(OPENSSL_DEP)
1385src/core/channel/client_channel.c: $(OPENSSL_DEP)
1386src/core/channel/client_setup.c: $(OPENSSL_DEP)
1387src/core/channel/connected_channel.c: $(OPENSSL_DEP)
1388src/core/channel/http_client_filter.c: $(OPENSSL_DEP)
1389src/core/channel/http_filter.c: $(OPENSSL_DEP)
1390src/core/channel/http_server_filter.c: $(OPENSSL_DEP)
1391src/core/channel/metadata_buffer.c: $(OPENSSL_DEP)
1392src/core/channel/noop_filter.c: $(OPENSSL_DEP)
1393src/core/compression/algorithm.c: $(OPENSSL_DEP)
1394src/core/compression/message_compress.c: $(OPENSSL_DEP)
1395src/core/httpcli/format_request.c: $(OPENSSL_DEP)
1396src/core/httpcli/httpcli.c: $(OPENSSL_DEP)
1397src/core/httpcli/httpcli_security_context.c: $(OPENSSL_DEP)
1398src/core/httpcli/parser.c: $(OPENSSL_DEP)
1399src/core/iomgr/alarm.c: $(OPENSSL_DEP)
1400src/core/iomgr/alarm_heap.c: $(OPENSSL_DEP)
1401src/core/iomgr/endpoint.c: $(OPENSSL_DEP)
1402src/core/iomgr/endpoint_pair_posix.c: $(OPENSSL_DEP)
1403src/core/iomgr/fd_posix.c: $(OPENSSL_DEP)
1404src/core/iomgr/iomgr.c: $(OPENSSL_DEP)
1405src/core/iomgr/iomgr_posix.c: $(OPENSSL_DEP)
1406src/core/iomgr/pollset_multipoller_with_poll_posix.c: $(OPENSSL_DEP)
1407src/core/iomgr/pollset_posix.c: $(OPENSSL_DEP)
1408src/core/iomgr/resolve_address_posix.c: $(OPENSSL_DEP)
1409src/core/iomgr/sockaddr_utils.c: $(OPENSSL_DEP)
1410src/core/iomgr/socket_utils_common_posix.c: $(OPENSSL_DEP)
1411src/core/iomgr/socket_utils_linux.c: $(OPENSSL_DEP)
1412src/core/iomgr/socket_utils_posix.c: $(OPENSSL_DEP)
1413src/core/iomgr/tcp_client_posix.c: $(OPENSSL_DEP)
1414src/core/iomgr/tcp_posix.c: $(OPENSSL_DEP)
1415src/core/iomgr/tcp_server_posix.c: $(OPENSSL_DEP)
1416src/core/iomgr/time_averaged_stats.c: $(OPENSSL_DEP)
1417src/core/statistics/census_init.c: $(OPENSSL_DEP)
1418src/core/statistics/census_log.c: $(OPENSSL_DEP)
1419src/core/statistics/census_rpc_stats.c: $(OPENSSL_DEP)
1420src/core/statistics/census_tracing.c: $(OPENSSL_DEP)
1421src/core/statistics/hash_table.c: $(OPENSSL_DEP)
1422src/core/statistics/window_stats.c: $(OPENSSL_DEP)
1423src/core/surface/byte_buffer.c: $(OPENSSL_DEP)
1424src/core/surface/byte_buffer_reader.c: $(OPENSSL_DEP)
1425src/core/surface/call.c: $(OPENSSL_DEP)
1426src/core/surface/channel.c: $(OPENSSL_DEP)
1427src/core/surface/channel_create.c: $(OPENSSL_DEP)
1428src/core/surface/client.c: $(OPENSSL_DEP)
1429src/core/surface/completion_queue.c: $(OPENSSL_DEP)
1430src/core/surface/event_string.c: $(OPENSSL_DEP)
1431src/core/surface/init.c: $(OPENSSL_DEP)
1432src/core/surface/lame_client.c: $(OPENSSL_DEP)
1433src/core/surface/secure_channel_create.c: $(OPENSSL_DEP)
1434src/core/surface/secure_server_create.c: $(OPENSSL_DEP)
1435src/core/surface/server.c: $(OPENSSL_DEP)
1436src/core/surface/server_chttp2.c: $(OPENSSL_DEP)
1437src/core/surface/server_create.c: $(OPENSSL_DEP)
1438src/core/transport/chttp2/alpn.c: $(OPENSSL_DEP)
1439src/core/transport/chttp2/bin_encoder.c: $(OPENSSL_DEP)
1440src/core/transport/chttp2/frame_data.c: $(OPENSSL_DEP)
1441src/core/transport/chttp2/frame_goaway.c: $(OPENSSL_DEP)
1442src/core/transport/chttp2/frame_ping.c: $(OPENSSL_DEP)
1443src/core/transport/chttp2/frame_rst_stream.c: $(OPENSSL_DEP)
1444src/core/transport/chttp2/frame_settings.c: $(OPENSSL_DEP)
1445src/core/transport/chttp2/frame_window_update.c: $(OPENSSL_DEP)
1446src/core/transport/chttp2/hpack_parser.c: $(OPENSSL_DEP)
1447src/core/transport/chttp2/hpack_table.c: $(OPENSSL_DEP)
1448src/core/transport/chttp2/huffsyms.c: $(OPENSSL_DEP)
1449src/core/transport/chttp2/status_conversion.c: $(OPENSSL_DEP)
1450src/core/transport/chttp2/stream_encoder.c: $(OPENSSL_DEP)
1451src/core/transport/chttp2/stream_map.c: $(OPENSSL_DEP)
1452src/core/transport/chttp2/timeout_encoding.c: $(OPENSSL_DEP)
1453src/core/transport/chttp2/varint.c: $(OPENSSL_DEP)
1454src/core/transport/chttp2_transport.c: $(OPENSSL_DEP)
1455src/core/transport/metadata.c: $(OPENSSL_DEP)
1456src/core/transport/stream_op.c: $(OPENSSL_DEP)
1457src/core/transport/transport.c: $(OPENSSL_DEP)
1458third_party/cJSON/cJSON.c: $(OPENSSL_DEP)
1459endif
1460
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001461libs/$(CONFIG)/libgrpc.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001462 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001463 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001464 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS)
Craig Tillerd4773f52015-01-12 16:38:47 -08001465 $(Q) rm -rf tmp-merge
nnoble20e2e3f2014-12-16 15:37:57 -08001466 $(Q) mkdir tmp-merge
ctillercab52e72015-01-06 13:10:23 -08001467 $(Q) ( cd tmp-merge ; $(AR) x ../libs/$(CONFIG)/libgrpc.a )
nnoble20e2e3f2014-12-16 15:37:57 -08001468 $(Q) for l in $(OPENSSL_MERGE_LIBS) ; do ( cd tmp-merge ; ar x ../$${l} ) ; done
ctillercab52e72015-01-06 13:10:23 -08001469 $(Q) rm -f libs/$(CONFIG)/libgrpc.a tmp-merge/__.SYMDEF*
1470 $(Q) ar rcs libs/$(CONFIG)/libgrpc.a tmp-merge/*
nnoble20e2e3f2014-12-16 15:37:57 -08001471 $(Q) rm -rf tmp-merge
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001472
nnoble5b7f32a2014-12-22 08:12:44 -08001473
1474
1475ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001476libs/$(CONFIG)/grpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT) $(OPENSSL_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001477 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001478 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001479 $(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 -08001480else
Craig Tillera614caa2015-01-15 09:33:21 -08001481libs/$(CONFIG)/libgrpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(OPENSSL_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001482 $(E) "[LD] Linking $@"
1483 $(Q) mkdir -p `dirname $@`
1484ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001485 $(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 -08001486else
ctillercab52e72015-01-06 13:10:23 -08001487 $(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
1488 $(Q) ln -sf libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.so
nnoble5b7f32a2014-12-22 08:12:44 -08001489endif
1490endif
1491
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001492
nnoble69ac39f2014-12-12 15:43:38 -08001493endif
1494
nnoble69ac39f2014-12-12 15:43:38 -08001495ifneq ($(NO_SECURE),true)
1496ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001497-include $(LIBGRPC_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001498endif
nnoble69ac39f2014-12-12 15:43:38 -08001499endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001500
Craig Tiller27715ca2015-01-12 16:55:59 -08001501objs/$(CONFIG)/src/core/security/auth.o:
1502objs/$(CONFIG)/src/core/security/base64.o:
1503objs/$(CONFIG)/src/core/security/credentials.o:
Craig Tiller770f60a2015-01-12 17:44:43 -08001504objs/$(CONFIG)/src/core/security/factories.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001505objs/$(CONFIG)/src/core/security/google_root_certs.o:
1506objs/$(CONFIG)/src/core/security/json_token.o:
1507objs/$(CONFIG)/src/core/security/secure_endpoint.o:
1508objs/$(CONFIG)/src/core/security/secure_transport_setup.o:
1509objs/$(CONFIG)/src/core/security/security_context.o:
1510objs/$(CONFIG)/src/core/security/server_secure_chttp2.o:
1511objs/$(CONFIG)/src/core/tsi/fake_transport_security.o:
1512objs/$(CONFIG)/src/core/tsi/ssl_transport_security.o:
1513objs/$(CONFIG)/src/core/tsi/transport_security.o:
1514objs/$(CONFIG)/src/core/channel/call_op_string.o:
1515objs/$(CONFIG)/src/core/channel/census_filter.o:
1516objs/$(CONFIG)/src/core/channel/channel_args.o:
1517objs/$(CONFIG)/src/core/channel/channel_stack.o:
1518objs/$(CONFIG)/src/core/channel/child_channel.o:
1519objs/$(CONFIG)/src/core/channel/client_channel.o:
1520objs/$(CONFIG)/src/core/channel/client_setup.o:
1521objs/$(CONFIG)/src/core/channel/connected_channel.o:
1522objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1523objs/$(CONFIG)/src/core/channel/http_filter.o:
1524objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1525objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1526objs/$(CONFIG)/src/core/channel/noop_filter.o:
1527objs/$(CONFIG)/src/core/compression/algorithm.o:
1528objs/$(CONFIG)/src/core/compression/message_compress.o:
1529objs/$(CONFIG)/src/core/httpcli/format_request.o:
1530objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1531objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1532objs/$(CONFIG)/src/core/httpcli/parser.o:
1533objs/$(CONFIG)/src/core/iomgr/alarm.o:
1534objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1535objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1536objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1537objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1538objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1539objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
1540objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1541objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1542objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1543objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1544objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1545objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1546objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1547objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1548objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1549objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1550objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1551objs/$(CONFIG)/src/core/statistics/census_init.o:
1552objs/$(CONFIG)/src/core/statistics/census_log.o:
1553objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1554objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1555objs/$(CONFIG)/src/core/statistics/hash_table.o:
1556objs/$(CONFIG)/src/core/statistics/window_stats.o:
1557objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1558objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1559objs/$(CONFIG)/src/core/surface/call.o:
1560objs/$(CONFIG)/src/core/surface/channel.o:
1561objs/$(CONFIG)/src/core/surface/channel_create.o:
1562objs/$(CONFIG)/src/core/surface/client.o:
1563objs/$(CONFIG)/src/core/surface/completion_queue.o:
1564objs/$(CONFIG)/src/core/surface/event_string.o:
1565objs/$(CONFIG)/src/core/surface/init.o:
1566objs/$(CONFIG)/src/core/surface/lame_client.o:
1567objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1568objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1569objs/$(CONFIG)/src/core/surface/server.o:
1570objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1571objs/$(CONFIG)/src/core/surface/server_create.o:
1572objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1573objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1574objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1575objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1576objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1577objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1578objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1579objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1580objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1581objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1582objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1583objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1584objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1585objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1586objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1587objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1588objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1589objs/$(CONFIG)/src/core/transport/metadata.o:
1590objs/$(CONFIG)/src/core/transport/stream_op.o:
1591objs/$(CONFIG)/src/core/transport/transport.o:
1592objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1593
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001594
nnoblec87b1c52015-01-05 17:15:18 -08001595LIBGRPC_UNSECURE_SRC = \
1596 src/core/channel/call_op_string.c \
1597 src/core/channel/census_filter.c \
1598 src/core/channel/channel_args.c \
1599 src/core/channel/channel_stack.c \
1600 src/core/channel/child_channel.c \
1601 src/core/channel/client_channel.c \
1602 src/core/channel/client_setup.c \
1603 src/core/channel/connected_channel.c \
1604 src/core/channel/http_client_filter.c \
1605 src/core/channel/http_filter.c \
1606 src/core/channel/http_server_filter.c \
1607 src/core/channel/metadata_buffer.c \
1608 src/core/channel/noop_filter.c \
1609 src/core/compression/algorithm.c \
1610 src/core/compression/message_compress.c \
1611 src/core/httpcli/format_request.c \
1612 src/core/httpcli/httpcli.c \
1613 src/core/httpcli/httpcli_security_context.c \
1614 src/core/httpcli/parser.c \
1615 src/core/iomgr/alarm.c \
1616 src/core/iomgr/alarm_heap.c \
1617 src/core/iomgr/endpoint.c \
1618 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001619 src/core/iomgr/fd_posix.c \
1620 src/core/iomgr/iomgr.c \
1621 src/core/iomgr/iomgr_posix.c \
1622 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1623 src/core/iomgr/pollset_posix.c \
nnoblec87b1c52015-01-05 17:15:18 -08001624 src/core/iomgr/resolve_address_posix.c \
1625 src/core/iomgr/sockaddr_utils.c \
1626 src/core/iomgr/socket_utils_common_posix.c \
1627 src/core/iomgr/socket_utils_linux.c \
1628 src/core/iomgr/socket_utils_posix.c \
1629 src/core/iomgr/tcp_client_posix.c \
1630 src/core/iomgr/tcp_posix.c \
1631 src/core/iomgr/tcp_server_posix.c \
1632 src/core/iomgr/time_averaged_stats.c \
1633 src/core/statistics/census_init.c \
1634 src/core/statistics/census_log.c \
1635 src/core/statistics/census_rpc_stats.c \
1636 src/core/statistics/census_tracing.c \
1637 src/core/statistics/hash_table.c \
1638 src/core/statistics/window_stats.c \
1639 src/core/surface/byte_buffer.c \
1640 src/core/surface/byte_buffer_reader.c \
1641 src/core/surface/call.c \
1642 src/core/surface/channel.c \
1643 src/core/surface/channel_create.c \
1644 src/core/surface/client.c \
1645 src/core/surface/completion_queue.c \
1646 src/core/surface/event_string.c \
1647 src/core/surface/init.c \
1648 src/core/surface/lame_client.c \
1649 src/core/surface/secure_channel_create.c \
1650 src/core/surface/secure_server_create.c \
1651 src/core/surface/server.c \
1652 src/core/surface/server_chttp2.c \
1653 src/core/surface/server_create.c \
1654 src/core/transport/chttp2/alpn.c \
1655 src/core/transport/chttp2/bin_encoder.c \
1656 src/core/transport/chttp2/frame_data.c \
1657 src/core/transport/chttp2/frame_goaway.c \
1658 src/core/transport/chttp2/frame_ping.c \
1659 src/core/transport/chttp2/frame_rst_stream.c \
1660 src/core/transport/chttp2/frame_settings.c \
1661 src/core/transport/chttp2/frame_window_update.c \
1662 src/core/transport/chttp2/hpack_parser.c \
1663 src/core/transport/chttp2/hpack_table.c \
1664 src/core/transport/chttp2/huffsyms.c \
1665 src/core/transport/chttp2/status_conversion.c \
1666 src/core/transport/chttp2/stream_encoder.c \
1667 src/core/transport/chttp2/stream_map.c \
1668 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001669 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001670 src/core/transport/chttp2_transport.c \
nnoblec87b1c52015-01-05 17:15:18 -08001671 src/core/transport/metadata.c \
1672 src/core/transport/stream_op.c \
1673 src/core/transport/transport.c \
1674 third_party/cJSON/cJSON.c \
1675
1676PUBLIC_HEADERS_C += \
1677 include/grpc/byte_buffer.h \
1678 include/grpc/byte_buffer_reader.h \
1679 include/grpc/grpc.h \
1680 include/grpc/status.h \
1681
ctillercab52e72015-01-06 13:10:23 -08001682LIBGRPC_UNSECURE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_UNSECURE_SRC))))
nnoblec87b1c52015-01-05 17:15:18 -08001683
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001684libs/$(CONFIG)/libgrpc_unsecure.a: $(ZLIB_DEP) $(LIBGRPC_UNSECURE_OBJS)
nnoblec87b1c52015-01-05 17:15:18 -08001685 $(E) "[AR] Creating $@"
1686 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001687 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_unsecure.a $(LIBGRPC_UNSECURE_OBJS)
nnoblec87b1c52015-01-05 17:15:18 -08001688
1689
1690
1691ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001692libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001693 $(E) "[LD] Linking $@"
1694 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001695 $(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 -08001696else
Craig Tillera614caa2015-01-15 09:33:21 -08001697libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001698 $(E) "[LD] Linking $@"
1699 $(Q) mkdir -p `dirname $@`
1700ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001701 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
nnoblec87b1c52015-01-05 17:15:18 -08001702else
ctillercab52e72015-01-06 13:10:23 -08001703 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.0 -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
1704 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.so
nnoblec87b1c52015-01-05 17:15:18 -08001705endif
1706endif
1707
1708
nnoblec87b1c52015-01-05 17:15:18 -08001709ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001710-include $(LIBGRPC_UNSECURE_OBJS:.o=.dep)
nnoblec87b1c52015-01-05 17:15:18 -08001711endif
1712
Craig Tiller27715ca2015-01-12 16:55:59 -08001713objs/$(CONFIG)/src/core/channel/call_op_string.o:
1714objs/$(CONFIG)/src/core/channel/census_filter.o:
1715objs/$(CONFIG)/src/core/channel/channel_args.o:
1716objs/$(CONFIG)/src/core/channel/channel_stack.o:
1717objs/$(CONFIG)/src/core/channel/child_channel.o:
1718objs/$(CONFIG)/src/core/channel/client_channel.o:
1719objs/$(CONFIG)/src/core/channel/client_setup.o:
1720objs/$(CONFIG)/src/core/channel/connected_channel.o:
1721objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1722objs/$(CONFIG)/src/core/channel/http_filter.o:
1723objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1724objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1725objs/$(CONFIG)/src/core/channel/noop_filter.o:
1726objs/$(CONFIG)/src/core/compression/algorithm.o:
1727objs/$(CONFIG)/src/core/compression/message_compress.o:
1728objs/$(CONFIG)/src/core/httpcli/format_request.o:
1729objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1730objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1731objs/$(CONFIG)/src/core/httpcli/parser.o:
1732objs/$(CONFIG)/src/core/iomgr/alarm.o:
1733objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1734objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1735objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1736objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1737objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1738objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
1739objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1740objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1741objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1742objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1743objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1744objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1745objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1746objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1747objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1748objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1749objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1750objs/$(CONFIG)/src/core/statistics/census_init.o:
1751objs/$(CONFIG)/src/core/statistics/census_log.o:
1752objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1753objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1754objs/$(CONFIG)/src/core/statistics/hash_table.o:
1755objs/$(CONFIG)/src/core/statistics/window_stats.o:
1756objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1757objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1758objs/$(CONFIG)/src/core/surface/call.o:
1759objs/$(CONFIG)/src/core/surface/channel.o:
1760objs/$(CONFIG)/src/core/surface/channel_create.o:
1761objs/$(CONFIG)/src/core/surface/client.o:
1762objs/$(CONFIG)/src/core/surface/completion_queue.o:
1763objs/$(CONFIG)/src/core/surface/event_string.o:
1764objs/$(CONFIG)/src/core/surface/init.o:
1765objs/$(CONFIG)/src/core/surface/lame_client.o:
1766objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1767objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1768objs/$(CONFIG)/src/core/surface/server.o:
1769objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1770objs/$(CONFIG)/src/core/surface/server_create.o:
1771objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1772objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1773objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1774objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1775objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1776objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1777objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1778objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1779objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1780objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1781objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1782objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1783objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1784objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1785objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1786objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1787objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1788objs/$(CONFIG)/src/core/transport/metadata.o:
1789objs/$(CONFIG)/src/core/transport/stream_op.o:
1790objs/$(CONFIG)/src/core/transport/transport.o:
1791objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1792
nnoblec87b1c52015-01-05 17:15:18 -08001793
nnoble5f2ecb32015-01-12 16:40:18 -08001794LIBGPR_TEST_UTIL_SRC = \
1795 test/core/util/test_config.c \
1796
1797
1798LIBGPR_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_TEST_UTIL_SRC))))
nnoble5f2ecb32015-01-12 16:40:18 -08001799
1800ifeq ($(NO_SECURE),true)
1801
Nicolas Noble047b7272015-01-16 13:55:05 -08001802# You can't build secure libraries if you don't have OpenSSL with ALPN.
1803
nnoble5f2ecb32015-01-12 16:40:18 -08001804libs/$(CONFIG)/libgpr_test_util.a: openssl_dep_error
1805
1806
1807else
1808
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001809ifneq ($(OPENSSL_DEP),)
1810test/core/util/test_config.c: $(OPENSSL_DEP)
1811endif
1812
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001813libs/$(CONFIG)/libgpr_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGPR_TEST_UTIL_OBJS)
nnoble5f2ecb32015-01-12 16:40:18 -08001814 $(E) "[AR] Creating $@"
1815 $(Q) mkdir -p `dirname $@`
1816 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr_test_util.a $(LIBGPR_TEST_UTIL_OBJS)
1817
1818
1819
1820
1821
1822endif
1823
nnoble5f2ecb32015-01-12 16:40:18 -08001824ifneq ($(NO_SECURE),true)
1825ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001826-include $(LIBGPR_TEST_UTIL_OBJS:.o=.dep)
nnoble5f2ecb32015-01-12 16:40:18 -08001827endif
1828endif
1829
Craig Tiller770f60a2015-01-12 17:44:43 -08001830objs/$(CONFIG)/test/core/util/test_config.o:
1831
nnoble5f2ecb32015-01-12 16:40:18 -08001832
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001833LIBGRPC_TEST_UTIL_SRC = \
ctiller2bbb6c42014-12-17 09:44:44 -08001834 test/core/end2end/cq_verifier.c \
chenw97fd9e52014-12-19 17:12:36 -08001835 test/core/end2end/data/test_root_cert.c \
1836 test/core/end2end/data/prod_roots_certs.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001837 test/core/end2end/data/server1_cert.c \
1838 test/core/end2end/data/server1_key.c \
1839 test/core/iomgr/endpoint_tests.c \
1840 test/core/statistics/census_log_tests.c \
1841 test/core/transport/transport_end2end_tests.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001842 test/core/util/grpc_profiler.c \
jtattermusch97fb3f62014-12-08 15:13:41 -08001843 test/core/util/port_posix.c \
nnoble5f2ecb32015-01-12 16:40:18 -08001844 test/core/util/parse_hexstring.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001845 test/core/util/slice_splitter.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001846
1847
ctillercab52e72015-01-06 13:10:23 -08001848LIBGRPC_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_TEST_UTIL_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001849
nnoble69ac39f2014-12-12 15:43:38 -08001850ifeq ($(NO_SECURE),true)
1851
Nicolas Noble047b7272015-01-16 13:55:05 -08001852# You can't build secure libraries if you don't have OpenSSL with ALPN.
1853
ctillercab52e72015-01-06 13:10:23 -08001854libs/$(CONFIG)/libgrpc_test_util.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08001855
nnoble5b7f32a2014-12-22 08:12:44 -08001856
nnoble69ac39f2014-12-12 15:43:38 -08001857else
1858
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001859ifneq ($(OPENSSL_DEP),)
1860test/core/end2end/cq_verifier.c: $(OPENSSL_DEP)
1861test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
1862test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
1863test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
1864test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
1865test/core/iomgr/endpoint_tests.c: $(OPENSSL_DEP)
1866test/core/statistics/census_log_tests.c: $(OPENSSL_DEP)
1867test/core/transport/transport_end2end_tests.c: $(OPENSSL_DEP)
1868test/core/util/grpc_profiler.c: $(OPENSSL_DEP)
1869test/core/util/port_posix.c: $(OPENSSL_DEP)
1870test/core/util/parse_hexstring.c: $(OPENSSL_DEP)
1871test/core/util/slice_splitter.c: $(OPENSSL_DEP)
1872endif
1873
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001874libs/$(CONFIG)/libgrpc_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_TEST_UTIL_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001875 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001876 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001877 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_test_util.a $(LIBGRPC_TEST_UTIL_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001878
1879
1880
nnoble5b7f32a2014-12-22 08:12:44 -08001881
1882
nnoble69ac39f2014-12-12 15:43:38 -08001883endif
1884
nnoble69ac39f2014-12-12 15:43:38 -08001885ifneq ($(NO_SECURE),true)
1886ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001887-include $(LIBGRPC_TEST_UTIL_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001888endif
nnoble69ac39f2014-12-12 15:43:38 -08001889endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001890
Craig Tiller27715ca2015-01-12 16:55:59 -08001891objs/$(CONFIG)/test/core/end2end/cq_verifier.o:
1892objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
1893objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
1894objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
1895objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
1896objs/$(CONFIG)/test/core/iomgr/endpoint_tests.o:
1897objs/$(CONFIG)/test/core/statistics/census_log_tests.o:
1898objs/$(CONFIG)/test/core/transport/transport_end2end_tests.o:
1899objs/$(CONFIG)/test/core/util/grpc_profiler.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001900objs/$(CONFIG)/test/core/util/port_posix.o:
Craig Tiller770f60a2015-01-12 17:44:43 -08001901objs/$(CONFIG)/test/core/util/parse_hexstring.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001902objs/$(CONFIG)/test/core/util/slice_splitter.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001903
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001904
1905LIBGRPC++_SRC = \
ctiller2bbb6c42014-12-17 09:44:44 -08001906 src/cpp/client/channel.cc \
yangg59dfc902014-12-19 14:00:14 -08001907 src/cpp/client/channel_arguments.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001908 src/cpp/client/client_context.cc \
1909 src/cpp/client/create_channel.cc \
vpai80b6d012014-12-17 11:47:32 -08001910 src/cpp/client/credentials.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001911 src/cpp/client/internal_stub.cc \
1912 src/cpp/proto/proto_utils.cc \
rsilvera35e7b0c2015-01-12 13:52:04 -08001913 src/cpp/common/rpc_method.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001914 src/cpp/server/async_server.cc \
1915 src/cpp/server/async_server_context.cc \
1916 src/cpp/server/completion_queue.cc \
1917 src/cpp/server/server_builder.cc \
yanggfd2f3ac2014-12-17 16:46:06 -08001918 src/cpp/server/server_context_impl.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001919 src/cpp/server/server.cc \
1920 src/cpp/server/server_rpc_handler.cc \
vpai80b6d012014-12-17 11:47:32 -08001921 src/cpp/server/server_credentials.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001922 src/cpp/server/thread_pool.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001923 src/cpp/stream/stream_context.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001924 src/cpp/util/status.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001925 src/cpp/util/time.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001926
nnoble85a49262014-12-08 18:14:03 -08001927PUBLIC_HEADERS_CXX += \
ctiller2bbb6c42014-12-17 09:44:44 -08001928 include/grpc++/async_server_context.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001929 include/grpc++/async_server.h \
yangg59dfc902014-12-19 14:00:14 -08001930 include/grpc++/channel_arguments.h \
ctiller2bbb6c42014-12-17 09:44:44 -08001931 include/grpc++/channel_interface.h \
1932 include/grpc++/client_context.h \
1933 include/grpc++/completion_queue.h \
1934 include/grpc++/config.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001935 include/grpc++/create_channel.h \
vpai80b6d012014-12-17 11:47:32 -08001936 include/grpc++/credentials.h \
yangg1b151092015-01-09 15:31:05 -08001937 include/grpc++/impl/internal_stub.h \
1938 include/grpc++/impl/rpc_method.h \
1939 include/grpc++/impl/rpc_service_method.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001940 include/grpc++/server_builder.h \
yanggfd2f3ac2014-12-17 16:46:06 -08001941 include/grpc++/server_context.h \
vpai80b6d012014-12-17 11:47:32 -08001942 include/grpc++/server_credentials.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001943 include/grpc++/server.h \
ctiller2bbb6c42014-12-17 09:44:44 -08001944 include/grpc++/status.h \
1945 include/grpc++/stream_context_interface.h \
1946 include/grpc++/stream.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001947
ctillercab52e72015-01-06 13:10:23 -08001948LIBGRPC++_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001949
nnoble69ac39f2014-12-12 15:43:38 -08001950ifeq ($(NO_SECURE),true)
1951
Nicolas Noble047b7272015-01-16 13:55:05 -08001952# You can't build secure libraries if you don't have OpenSSL with ALPN.
1953
ctillercab52e72015-01-06 13:10:23 -08001954libs/$(CONFIG)/libgrpc++.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08001955
nnoble5b7f32a2014-12-22 08:12:44 -08001956ifeq ($(SYSTEM),MINGW32)
ctillercab52e72015-01-06 13:10:23 -08001957libs/$(CONFIG)/grpc++.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001958else
ctillercab52e72015-01-06 13:10:23 -08001959libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001960endif
1961
nnoble69ac39f2014-12-12 15:43:38 -08001962else
1963
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001964ifneq ($(OPENSSL_DEP),)
1965src/cpp/client/channel.cc: $(OPENSSL_DEP)
1966src/cpp/client/channel_arguments.cc: $(OPENSSL_DEP)
1967src/cpp/client/client_context.cc: $(OPENSSL_DEP)
1968src/cpp/client/create_channel.cc: $(OPENSSL_DEP)
1969src/cpp/client/credentials.cc: $(OPENSSL_DEP)
1970src/cpp/client/internal_stub.cc: $(OPENSSL_DEP)
1971src/cpp/proto/proto_utils.cc: $(OPENSSL_DEP)
1972src/cpp/common/rpc_method.cc: $(OPENSSL_DEP)
1973src/cpp/server/async_server.cc: $(OPENSSL_DEP)
1974src/cpp/server/async_server_context.cc: $(OPENSSL_DEP)
1975src/cpp/server/completion_queue.cc: $(OPENSSL_DEP)
1976src/cpp/server/server_builder.cc: $(OPENSSL_DEP)
1977src/cpp/server/server_context_impl.cc: $(OPENSSL_DEP)
1978src/cpp/server/server.cc: $(OPENSSL_DEP)
1979src/cpp/server/server_rpc_handler.cc: $(OPENSSL_DEP)
1980src/cpp/server/server_credentials.cc: $(OPENSSL_DEP)
1981src/cpp/server/thread_pool.cc: $(OPENSSL_DEP)
1982src/cpp/stream/stream_context.cc: $(OPENSSL_DEP)
1983src/cpp/util/status.cc: $(OPENSSL_DEP)
1984src/cpp/util/time.cc: $(OPENSSL_DEP)
1985endif
1986
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001987libs/$(CONFIG)/libgrpc++.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001988 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001989 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001990 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++.a $(LIBGRPC++_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001991
nnoble5b7f32a2014-12-22 08:12:44 -08001992
1993
1994ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001995libs/$(CONFIG)/grpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/grpc.$(SHARED_EXT) $(OPENSSL_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001996 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001997 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001998 $(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 -08001999else
Craig Tillera614caa2015-01-15 09:33:21 -08002000libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(OPENSSL_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08002001 $(E) "[LD] Linking $@"
2002 $(Q) mkdir -p `dirname $@`
2003ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08002004 $(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 -08002005else
ctillercab52e72015-01-06 13:10:23 -08002006 $(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
2007 $(Q) ln -sf libgrpc++.$(SHARED_EXT) libs/$(CONFIG)/libgrpc++.so
nnoble5b7f32a2014-12-22 08:12:44 -08002008endif
2009endif
2010
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002011
nnoble69ac39f2014-12-12 15:43:38 -08002012endif
2013
nnoble69ac39f2014-12-12 15:43:38 -08002014ifneq ($(NO_SECURE),true)
2015ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002016-include $(LIBGRPC++_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002017endif
nnoble69ac39f2014-12-12 15:43:38 -08002018endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002019
Craig Tiller27715ca2015-01-12 16:55:59 -08002020objs/$(CONFIG)/src/cpp/client/channel.o:
2021objs/$(CONFIG)/src/cpp/client/channel_arguments.o:
2022objs/$(CONFIG)/src/cpp/client/client_context.o:
2023objs/$(CONFIG)/src/cpp/client/create_channel.o:
2024objs/$(CONFIG)/src/cpp/client/credentials.o:
2025objs/$(CONFIG)/src/cpp/client/internal_stub.o:
2026objs/$(CONFIG)/src/cpp/proto/proto_utils.o:
2027objs/$(CONFIG)/src/cpp/common/rpc_method.o:
2028objs/$(CONFIG)/src/cpp/server/async_server.o:
2029objs/$(CONFIG)/src/cpp/server/async_server_context.o:
2030objs/$(CONFIG)/src/cpp/server/completion_queue.o:
2031objs/$(CONFIG)/src/cpp/server/server_builder.o:
2032objs/$(CONFIG)/src/cpp/server/server_context_impl.o:
2033objs/$(CONFIG)/src/cpp/server/server.o:
2034objs/$(CONFIG)/src/cpp/server/server_rpc_handler.o:
2035objs/$(CONFIG)/src/cpp/server/server_credentials.o:
2036objs/$(CONFIG)/src/cpp/server/thread_pool.o:
2037objs/$(CONFIG)/src/cpp/stream/stream_context.o:
2038objs/$(CONFIG)/src/cpp/util/status.o:
2039objs/$(CONFIG)/src/cpp/util/time.o:
2040
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002041
2042LIBGRPC++_TEST_UTIL_SRC = \
yangg1456d152015-01-08 15:39:58 -08002043 gens/test/cpp/util/messages.pb.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08002044 gens/test/cpp/util/echo.pb.cc \
yangg1456d152015-01-08 15:39:58 -08002045 gens/test/cpp/util/echo_duplicate.pb.cc \
yangg59dfc902014-12-19 14:00:14 -08002046 test/cpp/util/create_test_channel.cc \
nnoble4cb93712014-12-17 14:18:08 -08002047 test/cpp/end2end/async_test_server.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002048
2049
ctillercab52e72015-01-06 13:10:23 -08002050LIBGRPC++_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_UTIL_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002051
nnoble69ac39f2014-12-12 15:43:38 -08002052ifeq ($(NO_SECURE),true)
2053
Nicolas Noble047b7272015-01-16 13:55:05 -08002054# You can't build secure libraries if you don't have OpenSSL with ALPN.
2055
ctillercab52e72015-01-06 13:10:23 -08002056libs/$(CONFIG)/libgrpc++_test_util.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002057
nnoble5b7f32a2014-12-22 08:12:44 -08002058
nnoble69ac39f2014-12-12 15:43:38 -08002059else
2060
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002061ifneq ($(OPENSSL_DEP),)
2062test/cpp/util/messages.proto: $(OPENSSL_DEP)
2063test/cpp/util/echo.proto: $(OPENSSL_DEP)
2064test/cpp/util/echo_duplicate.proto: $(OPENSSL_DEP)
2065test/cpp/util/create_test_channel.cc: $(OPENSSL_DEP)
2066test/cpp/end2end/async_test_server.cc: $(OPENSSL_DEP)
2067endif
2068
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002069libs/$(CONFIG)/libgrpc++_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_TEST_UTIL_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002070 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002071 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002072 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++_test_util.a $(LIBGRPC++_TEST_UTIL_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002073
2074
2075
nnoble5b7f32a2014-12-22 08:12:44 -08002076
2077
nnoble69ac39f2014-12-12 15:43:38 -08002078endif
2079
nnoble69ac39f2014-12-12 15:43:38 -08002080ifneq ($(NO_SECURE),true)
2081ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002082-include $(LIBGRPC++_TEST_UTIL_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002083endif
nnoble69ac39f2014-12-12 15:43:38 -08002084endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002085
Craig Tiller27715ca2015-01-12 16:55:59 -08002086
2087
2088
2089objs/$(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
2090objs/$(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
2091
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002092
2093LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC = \
2094 test/core/end2end/fixtures/chttp2_fake_security.c \
2095
2096
ctillercab52e72015-01-06 13:10:23 -08002097LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002098
nnoble69ac39f2014-12-12 15:43:38 -08002099ifeq ($(NO_SECURE),true)
2100
Nicolas Noble047b7272015-01-16 13:55:05 -08002101# You can't build secure libraries if you don't have OpenSSL with ALPN.
2102
ctillercab52e72015-01-06 13:10:23 -08002103libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002104
nnoble5b7f32a2014-12-22 08:12:44 -08002105
nnoble69ac39f2014-12-12 15:43:38 -08002106else
2107
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002108ifneq ($(OPENSSL_DEP),)
2109test/core/end2end/fixtures/chttp2_fake_security.c: $(OPENSSL_DEP)
2110endif
2111
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002112libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002113 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002114 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002115 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002116
2117
2118
nnoble5b7f32a2014-12-22 08:12:44 -08002119
2120
nnoble69ac39f2014-12-12 15:43:38 -08002121endif
2122
nnoble69ac39f2014-12-12 15:43:38 -08002123ifneq ($(NO_SECURE),true)
2124ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002125-include $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002126endif
nnoble69ac39f2014-12-12 15:43:38 -08002127endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002128
Craig Tiller27715ca2015-01-12 16:55:59 -08002129objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fake_security.o:
2130
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002131
2132LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC = \
2133 test/core/end2end/fixtures/chttp2_fullstack.c \
2134
2135
ctillercab52e72015-01-06 13:10:23 -08002136LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002137
nnoble69ac39f2014-12-12 15:43:38 -08002138ifeq ($(NO_SECURE),true)
2139
Nicolas Noble047b7272015-01-16 13:55:05 -08002140# You can't build secure libraries if you don't have OpenSSL with ALPN.
2141
ctillercab52e72015-01-06 13:10:23 -08002142libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002143
nnoble5b7f32a2014-12-22 08:12:44 -08002144
nnoble69ac39f2014-12-12 15:43:38 -08002145else
2146
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002147ifneq ($(OPENSSL_DEP),)
2148test/core/end2end/fixtures/chttp2_fullstack.c: $(OPENSSL_DEP)
2149endif
2150
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002151libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002152 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002153 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002154 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002155
2156
2157
nnoble5b7f32a2014-12-22 08:12:44 -08002158
2159
nnoble69ac39f2014-12-12 15:43:38 -08002160endif
2161
nnoble69ac39f2014-12-12 15:43:38 -08002162ifneq ($(NO_SECURE),true)
2163ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002164-include $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002165endif
nnoble69ac39f2014-12-12 15:43:38 -08002166endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002167
Craig Tiller27715ca2015-01-12 16:55:59 -08002168objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fullstack.o:
2169
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002170
2171LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_SRC = \
2172 test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c \
2173
2174
ctillercab52e72015-01-06 13:10:23 -08002175LIBEND2END_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 -08002176
nnoble69ac39f2014-12-12 15:43:38 -08002177ifeq ($(NO_SECURE),true)
2178
Nicolas Noble047b7272015-01-16 13:55:05 -08002179# You can't build secure libraries if you don't have OpenSSL with ALPN.
2180
ctillercab52e72015-01-06 13:10:23 -08002181libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002182
nnoble5b7f32a2014-12-22 08:12:44 -08002183
nnoble69ac39f2014-12-12 15:43:38 -08002184else
2185
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002186ifneq ($(OPENSSL_DEP),)
2187test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c: $(OPENSSL_DEP)
2188endif
2189
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002190libs/$(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 -08002191 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002192 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002193 $(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 -08002194
2195
2196
nnoble5b7f32a2014-12-22 08:12:44 -08002197
2198
nnoble69ac39f2014-12-12 15:43:38 -08002199endif
2200
nnoble69ac39f2014-12-12 15:43:38 -08002201ifneq ($(NO_SECURE),true)
2202ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002203-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002204endif
nnoble69ac39f2014-12-12 15:43:38 -08002205endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002206
Craig Tiller27715ca2015-01-12 16:55:59 -08002207objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.o:
2208
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002209
2210LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SRC = \
2211 test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c \
2212
2213
ctillercab52e72015-01-06 13:10:23 -08002214LIBEND2END_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 -08002215
nnoble69ac39f2014-12-12 15:43:38 -08002216ifeq ($(NO_SECURE),true)
2217
Nicolas Noble047b7272015-01-16 13:55:05 -08002218# You can't build secure libraries if you don't have OpenSSL with ALPN.
2219
ctillercab52e72015-01-06 13:10:23 -08002220libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002221
nnoble5b7f32a2014-12-22 08:12:44 -08002222
nnoble69ac39f2014-12-12 15:43:38 -08002223else
2224
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002225ifneq ($(OPENSSL_DEP),)
2226test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c: $(OPENSSL_DEP)
2227endif
2228
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002229libs/$(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 -08002230 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002231 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002232 $(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 -08002233
2234
2235
nnoble5b7f32a2014-12-22 08:12:44 -08002236
2237
nnoble69ac39f2014-12-12 15:43:38 -08002238endif
2239
nnoble69ac39f2014-12-12 15:43:38 -08002240ifneq ($(NO_SECURE),true)
2241ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002242-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002243endif
nnoble69ac39f2014-12-12 15:43:38 -08002244endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002245
Craig Tiller27715ca2015-01-12 16:55:59 -08002246objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.o:
2247
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002248
2249LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC = \
2250 test/core/end2end/fixtures/chttp2_socket_pair.c \
2251
2252
ctillercab52e72015-01-06 13:10:23 -08002253LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002254
nnoble69ac39f2014-12-12 15:43:38 -08002255ifeq ($(NO_SECURE),true)
2256
Nicolas Noble047b7272015-01-16 13:55:05 -08002257# You can't build secure libraries if you don't have OpenSSL with ALPN.
2258
ctillercab52e72015-01-06 13:10:23 -08002259libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002260
nnoble5b7f32a2014-12-22 08:12:44 -08002261
nnoble69ac39f2014-12-12 15:43:38 -08002262else
2263
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002264ifneq ($(OPENSSL_DEP),)
2265test/core/end2end/fixtures/chttp2_socket_pair.c: $(OPENSSL_DEP)
2266endif
2267
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002268libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002269 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002270 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002271 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002272
2273
2274
nnoble5b7f32a2014-12-22 08:12:44 -08002275
2276
nnoble69ac39f2014-12-12 15:43:38 -08002277endif
2278
nnoble69ac39f2014-12-12 15:43:38 -08002279ifneq ($(NO_SECURE),true)
2280ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002281-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002282endif
nnoble69ac39f2014-12-12 15:43:38 -08002283endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002284
Craig Tiller27715ca2015-01-12 16:55:59 -08002285objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair.o:
2286
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002287
nnoble0c475f02014-12-05 15:37:39 -08002288LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SRC = \
2289 test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c \
2290
2291
ctillercab52e72015-01-06 13:10:23 -08002292LIBEND2END_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 -08002293
nnoble69ac39f2014-12-12 15:43:38 -08002294ifeq ($(NO_SECURE),true)
2295
Nicolas Noble047b7272015-01-16 13:55:05 -08002296# You can't build secure libraries if you don't have OpenSSL with ALPN.
2297
ctillercab52e72015-01-06 13:10:23 -08002298libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002299
nnoble5b7f32a2014-12-22 08:12:44 -08002300
nnoble69ac39f2014-12-12 15:43:38 -08002301else
2302
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002303ifneq ($(OPENSSL_DEP),)
2304test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c: $(OPENSSL_DEP)
2305endif
2306
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002307libs/$(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 -08002308 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002309 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002310 $(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 -08002311
2312
2313
nnoble5b7f32a2014-12-22 08:12:44 -08002314
2315
nnoble69ac39f2014-12-12 15:43:38 -08002316endif
2317
nnoble69ac39f2014-12-12 15:43:38 -08002318ifneq ($(NO_SECURE),true)
2319ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002320-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08002321endif
nnoble69ac39f2014-12-12 15:43:38 -08002322endif
nnoble0c475f02014-12-05 15:37:39 -08002323
Craig Tiller27715ca2015-01-12 16:55:59 -08002324objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.o:
2325
nnoble0c475f02014-12-05 15:37:39 -08002326
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002327LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC = \
2328 test/core/end2end/tests/cancel_after_accept.c \
2329
2330
ctillercab52e72015-01-06 13:10:23 -08002331LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002332
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002333libs/$(CONFIG)/libend2end_test_cancel_after_accept.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002334 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002335 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002336 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_accept.a $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002337
2338
2339
nnoble5b7f32a2014-12-22 08:12:44 -08002340
2341
nnoble69ac39f2014-12-12 15:43:38 -08002342ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002343-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002344endif
2345
Craig Tiller27715ca2015-01-12 16:55:59 -08002346objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept.o:
2347
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002348
2349LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_SRC = \
2350 test/core/end2end/tests/cancel_after_accept_and_writes_closed.c \
2351
2352
ctillercab52e72015-01-06 13:10:23 -08002353LIBEND2END_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 -08002354
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002355libs/$(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 -08002356 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002357 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002358 $(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 -08002359
2360
2361
nnoble5b7f32a2014-12-22 08:12:44 -08002362
2363
nnoble69ac39f2014-12-12 15:43:38 -08002364ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002365-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002366endif
2367
Craig Tiller27715ca2015-01-12 16:55:59 -08002368objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept_and_writes_closed.o:
2369
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002370
2371LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC = \
2372 test/core/end2end/tests/cancel_after_invoke.c \
2373
2374
ctillercab52e72015-01-06 13:10:23 -08002375LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002376
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002377libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002378 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002379 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002380 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002381
2382
2383
nnoble5b7f32a2014-12-22 08:12:44 -08002384
2385
nnoble69ac39f2014-12-12 15:43:38 -08002386ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002387-include $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002388endif
2389
Craig Tiller27715ca2015-01-12 16:55:59 -08002390objs/$(CONFIG)/test/core/end2end/tests/cancel_after_invoke.o:
2391
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002392
2393LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC = \
2394 test/core/end2end/tests/cancel_before_invoke.c \
2395
2396
ctillercab52e72015-01-06 13:10:23 -08002397LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002398
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002399libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002400 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002401 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002402 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002403
2404
2405
nnoble5b7f32a2014-12-22 08:12:44 -08002406
2407
nnoble69ac39f2014-12-12 15:43:38 -08002408ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002409-include $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002410endif
2411
Craig Tiller27715ca2015-01-12 16:55:59 -08002412objs/$(CONFIG)/test/core/end2end/tests/cancel_before_invoke.o:
2413
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002414
2415LIBEND2END_TEST_CANCEL_IN_A_VACUUM_SRC = \
2416 test/core/end2end/tests/cancel_in_a_vacuum.c \
2417
2418
ctillercab52e72015-01-06 13:10:23 -08002419LIBEND2END_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 -08002420
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002421libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002422 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002423 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002424 $(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 -08002425
2426
2427
nnoble5b7f32a2014-12-22 08:12:44 -08002428
2429
nnoble69ac39f2014-12-12 15:43:38 -08002430ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002431-include $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002432endif
2433
Craig Tiller27715ca2015-01-12 16:55:59 -08002434objs/$(CONFIG)/test/core/end2end/tests/cancel_in_a_vacuum.o:
2435
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002436
hongyu24200d32015-01-08 15:13:49 -08002437LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC = \
2438 test/core/end2end/tests/census_simple_request.c \
2439
2440
2441LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08002442
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002443libs/$(CONFIG)/libend2end_test_census_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
hongyu24200d32015-01-08 15:13:49 -08002444 $(E) "[AR] Creating $@"
2445 $(Q) mkdir -p `dirname $@`
2446 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_census_simple_request.a $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
2447
2448
2449
2450
2451
hongyu24200d32015-01-08 15:13:49 -08002452ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002453-include $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08002454endif
2455
Craig Tiller27715ca2015-01-12 16:55:59 -08002456objs/$(CONFIG)/test/core/end2end/tests/census_simple_request.o:
2457
hongyu24200d32015-01-08 15:13:49 -08002458
ctillerc6d61c42014-12-15 14:52:08 -08002459LIBEND2END_TEST_DISAPPEARING_SERVER_SRC = \
2460 test/core/end2end/tests/disappearing_server.c \
2461
2462
ctillercab52e72015-01-06 13:10:23 -08002463LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_DISAPPEARING_SERVER_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08002464
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002465libs/$(CONFIG)/libend2end_test_disappearing_server.a: $(ZLIB_DEP) $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
ctillerc6d61c42014-12-15 14:52:08 -08002466 $(E) "[AR] Creating $@"
2467 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002468 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_disappearing_server.a $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
ctillerc6d61c42014-12-15 14:52:08 -08002469
2470
2471
nnoble5b7f32a2014-12-22 08:12:44 -08002472
2473
ctillerc6d61c42014-12-15 14:52:08 -08002474ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002475-include $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08002476endif
2477
Craig Tiller27715ca2015-01-12 16:55:59 -08002478objs/$(CONFIG)/test/core/end2end/tests/disappearing_server.o:
2479
ctillerc6d61c42014-12-15 14:52:08 -08002480
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002481LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_SRC = \
2482 test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c \
2483
2484
ctillercab52e72015-01-06 13:10:23 -08002485LIBEND2END_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 -08002486
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002487libs/$(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 -08002488 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002489 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002490 $(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 -08002491
2492
2493
nnoble5b7f32a2014-12-22 08:12:44 -08002494
2495
nnoble69ac39f2014-12-12 15:43:38 -08002496ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002497-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002498endif
2499
Craig Tiller27715ca2015-01-12 16:55:59 -08002500objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.o:
2501
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002502
2503LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_SRC = \
2504 test/core/end2end/tests/early_server_shutdown_finishes_tags.c \
2505
2506
ctillercab52e72015-01-06 13:10:23 -08002507LIBEND2END_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 -08002508
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002509libs/$(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 -08002510 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002511 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002512 $(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 -08002513
2514
2515
nnoble5b7f32a2014-12-22 08:12:44 -08002516
2517
nnoble69ac39f2014-12-12 15:43:38 -08002518ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002519-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002520endif
2521
Craig Tiller27715ca2015-01-12 16:55:59 -08002522objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_tags.o:
2523
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002524
2525LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC = \
2526 test/core/end2end/tests/invoke_large_request.c \
2527
2528
ctillercab52e72015-01-06 13:10:23 -08002529LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002530
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002531libs/$(CONFIG)/libend2end_test_invoke_large_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002532 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002533 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002534 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_invoke_large_request.a $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002535
2536
2537
nnoble5b7f32a2014-12-22 08:12:44 -08002538
2539
nnoble69ac39f2014-12-12 15:43:38 -08002540ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002541-include $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002542endif
2543
Craig Tiller27715ca2015-01-12 16:55:59 -08002544objs/$(CONFIG)/test/core/end2end/tests/invoke_large_request.o:
2545
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002546
2547LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC = \
2548 test/core/end2end/tests/max_concurrent_streams.c \
2549
2550
ctillercab52e72015-01-06 13:10:23 -08002551LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002552
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002553libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a: $(ZLIB_DEP) $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002554 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002555 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002556 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002557
2558
2559
nnoble5b7f32a2014-12-22 08:12:44 -08002560
2561
nnoble69ac39f2014-12-12 15:43:38 -08002562ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002563-include $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002564endif
2565
Craig Tiller27715ca2015-01-12 16:55:59 -08002566objs/$(CONFIG)/test/core/end2end/tests/max_concurrent_streams.o:
2567
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002568
2569LIBEND2END_TEST_NO_OP_SRC = \
2570 test/core/end2end/tests/no_op.c \
2571
2572
ctillercab52e72015-01-06 13:10:23 -08002573LIBEND2END_TEST_NO_OP_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_NO_OP_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002574
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002575libs/$(CONFIG)/libend2end_test_no_op.a: $(ZLIB_DEP) $(LIBEND2END_TEST_NO_OP_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002576 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002577 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002578 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_no_op.a $(LIBEND2END_TEST_NO_OP_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002579
2580
2581
nnoble5b7f32a2014-12-22 08:12:44 -08002582
2583
nnoble69ac39f2014-12-12 15:43:38 -08002584ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002585-include $(LIBEND2END_TEST_NO_OP_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002586endif
2587
Craig Tiller27715ca2015-01-12 16:55:59 -08002588objs/$(CONFIG)/test/core/end2end/tests/no_op.o:
2589
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002590
2591LIBEND2END_TEST_PING_PONG_STREAMING_SRC = \
2592 test/core/end2end/tests/ping_pong_streaming.c \
2593
2594
ctillercab52e72015-01-06 13:10:23 -08002595LIBEND2END_TEST_PING_PONG_STREAMING_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_PING_PONG_STREAMING_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002596
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002597libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a: $(ZLIB_DEP) $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002598 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002599 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002600 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002601
2602
2603
nnoble5b7f32a2014-12-22 08:12:44 -08002604
2605
nnoble69ac39f2014-12-12 15:43:38 -08002606ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002607-include $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002608endif
2609
Craig Tiller27715ca2015-01-12 16:55:59 -08002610objs/$(CONFIG)/test/core/end2end/tests/ping_pong_streaming.o:
2611
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002612
ctiller33023c42014-12-12 16:28:33 -08002613LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_SRC = \
2614 test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c \
2615
2616
ctillercab52e72015-01-06 13:10:23 -08002617LIBEND2END_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 -08002618
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002619libs/$(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 -08002620 $(E) "[AR] Creating $@"
2621 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002622 $(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 -08002623
2624
2625
nnoble5b7f32a2014-12-22 08:12:44 -08002626
2627
ctiller33023c42014-12-12 16:28:33 -08002628ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002629-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08002630endif
2631
Craig Tiller27715ca2015-01-12 16:55:59 -08002632objs/$(CONFIG)/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.o:
2633
ctiller33023c42014-12-12 16:28:33 -08002634
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002635LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_SRC = \
2636 test/core/end2end/tests/request_response_with_metadata_and_payload.c \
2637
2638
ctillercab52e72015-01-06 13:10:23 -08002639LIBEND2END_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 -08002640
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002641libs/$(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 -08002642 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002643 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002644 $(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 -08002645
2646
2647
nnoble5b7f32a2014-12-22 08:12:44 -08002648
2649
nnoble69ac39f2014-12-12 15:43:38 -08002650ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002651-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002652endif
2653
Craig Tiller27715ca2015-01-12 16:55:59 -08002654objs/$(CONFIG)/test/core/end2end/tests/request_response_with_metadata_and_payload.o:
2655
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002656
2657LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_SRC = \
2658 test/core/end2end/tests/request_response_with_payload.c \
2659
2660
ctillercab52e72015-01-06 13:10:23 -08002661LIBEND2END_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 -08002662
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002663libs/$(CONFIG)/libend2end_test_request_response_with_payload.a: $(ZLIB_DEP) $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002664 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002665 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002666 $(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 -08002667
2668
2669
nnoble5b7f32a2014-12-22 08:12:44 -08002670
2671
nnoble69ac39f2014-12-12 15:43:38 -08002672ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002673-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002674endif
2675
Craig Tiller27715ca2015-01-12 16:55:59 -08002676objs/$(CONFIG)/test/core/end2end/tests/request_response_with_payload.o:
2677
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002678
ctiller2845cad2014-12-15 15:14:12 -08002679LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_SRC = \
2680 test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c \
2681
2682
ctillercab52e72015-01-06 13:10:23 -08002683LIBEND2END_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 -08002684
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002685libs/$(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 -08002686 $(E) "[AR] Creating $@"
2687 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002688 $(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 -08002689
2690
2691
nnoble5b7f32a2014-12-22 08:12:44 -08002692
2693
ctiller2845cad2014-12-15 15:14:12 -08002694ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002695-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08002696endif
2697
Craig Tiller27715ca2015-01-12 16:55:59 -08002698objs/$(CONFIG)/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.o:
2699
ctiller2845cad2014-12-15 15:14:12 -08002700
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002701LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC = \
2702 test/core/end2end/tests/simple_delayed_request.c \
2703
2704
ctillercab52e72015-01-06 13:10:23 -08002705LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002706
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002707libs/$(CONFIG)/libend2end_test_simple_delayed_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002708 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002709 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002710 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_delayed_request.a $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002711
2712
2713
nnoble5b7f32a2014-12-22 08:12:44 -08002714
2715
nnoble69ac39f2014-12-12 15:43:38 -08002716ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002717-include $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002718endif
2719
Craig Tiller27715ca2015-01-12 16:55:59 -08002720objs/$(CONFIG)/test/core/end2end/tests/simple_delayed_request.o:
2721
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002722
2723LIBEND2END_TEST_SIMPLE_REQUEST_SRC = \
2724 test/core/end2end/tests/simple_request.c \
2725
2726
ctillercab52e72015-01-06 13:10:23 -08002727LIBEND2END_TEST_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002728
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002729libs/$(CONFIG)/libend2end_test_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002730 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002731 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002732 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_request.a $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002733
2734
2735
nnoble5b7f32a2014-12-22 08:12:44 -08002736
2737
nnoble69ac39f2014-12-12 15:43:38 -08002738ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002739-include $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002740endif
2741
Craig Tiller27715ca2015-01-12 16:55:59 -08002742objs/$(CONFIG)/test/core/end2end/tests/simple_request.o:
2743
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002744
nathaniel52878172014-12-09 10:17:19 -08002745LIBEND2END_TEST_THREAD_STRESS_SRC = \
2746 test/core/end2end/tests/thread_stress.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002747
2748
ctillercab52e72015-01-06 13:10:23 -08002749LIBEND2END_TEST_THREAD_STRESS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_THREAD_STRESS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002750
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002751libs/$(CONFIG)/libend2end_test_thread_stress.a: $(ZLIB_DEP) $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002752 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002753 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002754 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_thread_stress.a $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002755
2756
2757
nnoble5b7f32a2014-12-22 08:12:44 -08002758
2759
nnoble69ac39f2014-12-12 15:43:38 -08002760ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002761-include $(LIBEND2END_TEST_THREAD_STRESS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002762endif
2763
Craig Tiller27715ca2015-01-12 16:55:59 -08002764objs/$(CONFIG)/test/core/end2end/tests/thread_stress.o:
2765
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002766
2767LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_SRC = \
2768 test/core/end2end/tests/writes_done_hangs_with_pending_read.c \
2769
2770
ctillercab52e72015-01-06 13:10:23 -08002771LIBEND2END_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 -08002772
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002773libs/$(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 -08002774 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002775 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002776 $(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 -08002777
2778
2779
nnoble5b7f32a2014-12-22 08:12:44 -08002780
2781
nnoble69ac39f2014-12-12 15:43:38 -08002782ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002783-include $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002784endif
2785
Craig Tiller27715ca2015-01-12 16:55:59 -08002786objs/$(CONFIG)/test/core/end2end/tests/writes_done_hangs_with_pending_read.o:
2787
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002788
2789LIBEND2END_CERTS_SRC = \
chenw97fd9e52014-12-19 17:12:36 -08002790 test/core/end2end/data/test_root_cert.c \
2791 test/core/end2end/data/prod_roots_certs.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002792 test/core/end2end/data/server1_cert.c \
2793 test/core/end2end/data/server1_key.c \
2794
2795
ctillercab52e72015-01-06 13:10:23 -08002796LIBEND2END_CERTS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_CERTS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002797
nnoble69ac39f2014-12-12 15:43:38 -08002798ifeq ($(NO_SECURE),true)
2799
Nicolas Noble047b7272015-01-16 13:55:05 -08002800# You can't build secure libraries if you don't have OpenSSL with ALPN.
2801
ctillercab52e72015-01-06 13:10:23 -08002802libs/$(CONFIG)/libend2end_certs.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002803
nnoble5b7f32a2014-12-22 08:12:44 -08002804
nnoble69ac39f2014-12-12 15:43:38 -08002805else
2806
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002807ifneq ($(OPENSSL_DEP),)
2808test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
2809test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
2810test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
2811test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
2812endif
2813
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002814libs/$(CONFIG)/libend2end_certs.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_CERTS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002815 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002816 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002817 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_certs.a $(LIBEND2END_CERTS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002818
2819
2820
nnoble5b7f32a2014-12-22 08:12:44 -08002821
2822
nnoble69ac39f2014-12-12 15:43:38 -08002823endif
2824
nnoble69ac39f2014-12-12 15:43:38 -08002825ifneq ($(NO_SECURE),true)
2826ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002827-include $(LIBEND2END_CERTS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002828endif
nnoble69ac39f2014-12-12 15:43:38 -08002829endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002830
Craig Tiller27715ca2015-01-12 16:55:59 -08002831objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
2832objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
2833objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
2834objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
2835
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002836
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002837
nnoble69ac39f2014-12-12 15:43:38 -08002838# All of the test targets, and protoc plugins
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002839
2840
2841GEN_HPACK_TABLES_SRC = \
2842 src/core/transport/chttp2/gen_hpack_tables.c \
2843
ctillercab52e72015-01-06 13:10:23 -08002844GEN_HPACK_TABLES_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_HPACK_TABLES_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002845
nnoble69ac39f2014-12-12 15:43:38 -08002846ifeq ($(NO_SECURE),true)
2847
Nicolas Noble047b7272015-01-16 13:55:05 -08002848# You can't build secure targets if you don't have OpenSSL with ALPN.
2849
ctillercab52e72015-01-06 13:10:23 -08002850bins/$(CONFIG)/gen_hpack_tables: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002851
2852else
2853
ctillercab52e72015-01-06 13:10:23 -08002854bins/$(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 -08002855 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08002856 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002857 $(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 -08002858
nnoble69ac39f2014-12-12 15:43:38 -08002859endif
2860
Craig Tillerd4773f52015-01-12 16:38:47 -08002861objs/$(CONFIG)/src/core/transport/chttp2/gen_hpack_tables.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a
2862
Craig Tiller8f126a62015-01-15 08:50:19 -08002863deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002864
nnoble69ac39f2014-12-12 15:43:38 -08002865ifneq ($(NO_SECURE),true)
2866ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002867-include $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002868endif
nnoble69ac39f2014-12-12 15:43:38 -08002869endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002870
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002871
nnobleebebb7e2014-12-10 16:31:01 -08002872CPP_PLUGIN_SRC = \
Nicolas Noble54f68b62015-01-15 15:38:07 -08002873 src/compiler/cpp_plugin.cc \
2874 src/compiler/cpp_generator.cc \
nnobleebebb7e2014-12-10 16:31:01 -08002875
ctillercab52e72015-01-06 13:10:23 -08002876CPP_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CPP_PLUGIN_SRC))))
nnobleebebb7e2014-12-10 16:31:01 -08002877
ctillercab52e72015-01-06 13:10:23 -08002878bins/$(CONFIG)/cpp_plugin: $(CPP_PLUGIN_OBJS)
nnoble72309c62014-12-12 11:42:26 -08002879 $(E) "[HOSTLD] Linking $@"
nnobleebebb7e2014-12-10 16:31:01 -08002880 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002881 $(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 -08002882
Craig Tillerd4773f52015-01-12 16:38:47 -08002883objs/$(CONFIG)/src/compiler/cpp_plugin.o:
2884objs/$(CONFIG)/src/compiler/cpp_generator.o:
2885
Craig Tiller8f126a62015-01-15 08:50:19 -08002886deps_cpp_plugin: $(CPP_PLUGIN_OBJS:.o=.dep)
nnobleebebb7e2014-12-10 16:31:01 -08002887
nnoble69ac39f2014-12-12 15:43:38 -08002888ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002889-include $(CPP_PLUGIN_OBJS:.o=.dep)
nnobleebebb7e2014-12-10 16:31:01 -08002890endif
2891
nnobleebebb7e2014-12-10 16:31:01 -08002892
2893RUBY_PLUGIN_SRC = \
Nicolas Noble54f68b62015-01-15 15:38:07 -08002894 src/compiler/ruby_plugin.cc \
2895 src/compiler/ruby_generator.cc \
nnobleebebb7e2014-12-10 16:31:01 -08002896
ctillercab52e72015-01-06 13:10:23 -08002897RUBY_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RUBY_PLUGIN_SRC))))
nnobleebebb7e2014-12-10 16:31:01 -08002898
ctillercab52e72015-01-06 13:10:23 -08002899bins/$(CONFIG)/ruby_plugin: $(RUBY_PLUGIN_OBJS)
nnoble72309c62014-12-12 11:42:26 -08002900 $(E) "[HOSTLD] Linking $@"
nnobleebebb7e2014-12-10 16:31:01 -08002901 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002902 $(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 -08002903
Craig Tillerd4773f52015-01-12 16:38:47 -08002904objs/$(CONFIG)/src/compiler/ruby_plugin.o:
2905objs/$(CONFIG)/src/compiler/ruby_generator.o:
2906
Craig Tiller8f126a62015-01-15 08:50:19 -08002907deps_ruby_plugin: $(RUBY_PLUGIN_OBJS:.o=.dep)
nnobleebebb7e2014-12-10 16:31:01 -08002908
nnoble69ac39f2014-12-12 15:43:38 -08002909ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002910-include $(RUBY_PLUGIN_OBJS:.o=.dep)
nnobleebebb7e2014-12-10 16:31:01 -08002911endif
2912
nnobleebebb7e2014-12-10 16:31:01 -08002913
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002914GRPC_BYTE_BUFFER_READER_TEST_SRC = \
2915 test/core/surface/byte_buffer_reader_test.c \
2916
ctillercab52e72015-01-06 13:10:23 -08002917GRPC_BYTE_BUFFER_READER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BYTE_BUFFER_READER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002918
nnoble69ac39f2014-12-12 15:43:38 -08002919ifeq ($(NO_SECURE),true)
2920
Nicolas Noble047b7272015-01-16 13:55:05 -08002921# You can't build secure targets if you don't have OpenSSL with ALPN.
2922
ctillercab52e72015-01-06 13:10:23 -08002923bins/$(CONFIG)/grpc_byte_buffer_reader_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002924
2925else
2926
nnoble5f2ecb32015-01-12 16:40:18 -08002927bins/$(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 -08002928 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08002929 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08002930 $(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 -08002931
nnoble69ac39f2014-12-12 15:43:38 -08002932endif
2933
Craig Tiller770f60a2015-01-12 17:44:43 -08002934objs/$(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 -08002935
Craig Tiller8f126a62015-01-15 08:50:19 -08002936deps_grpc_byte_buffer_reader_test: $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002937
nnoble69ac39f2014-12-12 15:43:38 -08002938ifneq ($(NO_SECURE),true)
2939ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002940-include $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002941endif
nnoble69ac39f2014-12-12 15:43:38 -08002942endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002943
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002944
2945GPR_CANCELLABLE_TEST_SRC = \
2946 test/core/support/cancellable_test.c \
2947
ctillercab52e72015-01-06 13:10:23 -08002948GPR_CANCELLABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CANCELLABLE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002949
nnoble69ac39f2014-12-12 15:43:38 -08002950ifeq ($(NO_SECURE),true)
2951
Nicolas Noble047b7272015-01-16 13:55:05 -08002952# You can't build secure targets if you don't have OpenSSL with ALPN.
2953
ctillercab52e72015-01-06 13:10:23 -08002954bins/$(CONFIG)/gpr_cancellable_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002955
2956else
2957
nnoble5f2ecb32015-01-12 16:40:18 -08002958bins/$(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 -08002959 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08002960 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08002961 $(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 -08002962
nnoble69ac39f2014-12-12 15:43:38 -08002963endif
2964
Craig Tiller770f60a2015-01-12 17:44:43 -08002965objs/$(CONFIG)/test/core/support/cancellable_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08002966
Craig Tiller8f126a62015-01-15 08:50:19 -08002967deps_gpr_cancellable_test: $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002968
nnoble69ac39f2014-12-12 15:43:38 -08002969ifneq ($(NO_SECURE),true)
2970ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002971-include $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002972endif
nnoble69ac39f2014-12-12 15:43:38 -08002973endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002974
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002975
2976GPR_LOG_TEST_SRC = \
2977 test/core/support/log_test.c \
2978
ctillercab52e72015-01-06 13:10:23 -08002979GPR_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_LOG_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002980
nnoble69ac39f2014-12-12 15:43:38 -08002981ifeq ($(NO_SECURE),true)
2982
Nicolas Noble047b7272015-01-16 13:55:05 -08002983# You can't build secure targets if you don't have OpenSSL with ALPN.
2984
ctillercab52e72015-01-06 13:10:23 -08002985bins/$(CONFIG)/gpr_log_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002986
2987else
2988
nnoble5f2ecb32015-01-12 16:40:18 -08002989bins/$(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 -08002990 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08002991 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08002992 $(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 -08002993
nnoble69ac39f2014-12-12 15:43:38 -08002994endif
2995
Craig Tiller770f60a2015-01-12 17:44:43 -08002996objs/$(CONFIG)/test/core/support/log_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08002997
Craig Tiller8f126a62015-01-15 08:50:19 -08002998deps_gpr_log_test: $(GPR_LOG_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002999
nnoble69ac39f2014-12-12 15:43:38 -08003000ifneq ($(NO_SECURE),true)
3001ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003002-include $(GPR_LOG_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003003endif
nnoble69ac39f2014-12-12 15:43:38 -08003004endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003005
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003006
ctiller5e04b132014-12-15 09:24:43 -08003007GPR_USEFUL_TEST_SRC = \
3008 test/core/support/useful_test.c \
3009
ctillercab52e72015-01-06 13:10:23 -08003010GPR_USEFUL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_USEFUL_TEST_SRC))))
ctiller5e04b132014-12-15 09:24:43 -08003011
3012ifeq ($(NO_SECURE),true)
3013
Nicolas Noble047b7272015-01-16 13:55:05 -08003014# You can't build secure targets if you don't have OpenSSL with ALPN.
3015
ctillercab52e72015-01-06 13:10:23 -08003016bins/$(CONFIG)/gpr_useful_test: openssl_dep_error
ctiller5e04b132014-12-15 09:24:43 -08003017
3018else
3019
nnoble5f2ecb32015-01-12 16:40:18 -08003020bins/$(CONFIG)/gpr_useful_test: $(GPR_USEFUL_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller5e04b132014-12-15 09:24:43 -08003021 $(E) "[LD] Linking $@"
3022 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003023 $(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 -08003024
3025endif
3026
Craig Tiller770f60a2015-01-12 17:44:43 -08003027objs/$(CONFIG)/test/core/support/useful_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003028
Craig Tiller8f126a62015-01-15 08:50:19 -08003029deps_gpr_useful_test: $(GPR_USEFUL_TEST_OBJS:.o=.dep)
ctiller5e04b132014-12-15 09:24:43 -08003030
3031ifneq ($(NO_SECURE),true)
3032ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003033-include $(GPR_USEFUL_TEST_OBJS:.o=.dep)
ctiller5e04b132014-12-15 09:24:43 -08003034endif
3035endif
3036
ctiller5e04b132014-12-15 09:24:43 -08003037
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003038GPR_CMDLINE_TEST_SRC = \
3039 test/core/support/cmdline_test.c \
3040
ctillercab52e72015-01-06 13:10:23 -08003041GPR_CMDLINE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CMDLINE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003042
nnoble69ac39f2014-12-12 15:43:38 -08003043ifeq ($(NO_SECURE),true)
3044
Nicolas Noble047b7272015-01-16 13:55:05 -08003045# You can't build secure targets if you don't have OpenSSL with ALPN.
3046
ctillercab52e72015-01-06 13:10:23 -08003047bins/$(CONFIG)/gpr_cmdline_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003048
3049else
3050
nnoble5f2ecb32015-01-12 16:40:18 -08003051bins/$(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 -08003052 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003053 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003054 $(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 -08003055
nnoble69ac39f2014-12-12 15:43:38 -08003056endif
3057
Craig Tiller770f60a2015-01-12 17:44:43 -08003058objs/$(CONFIG)/test/core/support/cmdline_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003059
Craig Tiller8f126a62015-01-15 08:50:19 -08003060deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003061
nnoble69ac39f2014-12-12 15:43:38 -08003062ifneq ($(NO_SECURE),true)
3063ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003064-include $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003065endif
nnoble69ac39f2014-12-12 15:43:38 -08003066endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003067
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003068
3069GPR_HISTOGRAM_TEST_SRC = \
3070 test/core/support/histogram_test.c \
3071
ctillercab52e72015-01-06 13:10:23 -08003072GPR_HISTOGRAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HISTOGRAM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003073
nnoble69ac39f2014-12-12 15:43:38 -08003074ifeq ($(NO_SECURE),true)
3075
Nicolas Noble047b7272015-01-16 13:55:05 -08003076# You can't build secure targets if you don't have OpenSSL with ALPN.
3077
ctillercab52e72015-01-06 13:10:23 -08003078bins/$(CONFIG)/gpr_histogram_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003079
3080else
3081
nnoble5f2ecb32015-01-12 16:40:18 -08003082bins/$(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 -08003083 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003084 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003085 $(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 -08003086
nnoble69ac39f2014-12-12 15:43:38 -08003087endif
3088
Craig Tiller770f60a2015-01-12 17:44:43 -08003089objs/$(CONFIG)/test/core/support/histogram_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003090
Craig Tiller8f126a62015-01-15 08:50:19 -08003091deps_gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003092
nnoble69ac39f2014-12-12 15:43:38 -08003093ifneq ($(NO_SECURE),true)
3094ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003095-include $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003096endif
nnoble69ac39f2014-12-12 15:43:38 -08003097endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003098
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003099
3100GPR_HOST_PORT_TEST_SRC = \
3101 test/core/support/host_port_test.c \
3102
ctillercab52e72015-01-06 13:10:23 -08003103GPR_HOST_PORT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HOST_PORT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003104
nnoble69ac39f2014-12-12 15:43:38 -08003105ifeq ($(NO_SECURE),true)
3106
Nicolas Noble047b7272015-01-16 13:55:05 -08003107# You can't build secure targets if you don't have OpenSSL with ALPN.
3108
ctillercab52e72015-01-06 13:10:23 -08003109bins/$(CONFIG)/gpr_host_port_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003110
3111else
3112
nnoble5f2ecb32015-01-12 16:40:18 -08003113bins/$(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 -08003114 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003115 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003116 $(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 -08003117
nnoble69ac39f2014-12-12 15:43:38 -08003118endif
3119
Craig Tiller770f60a2015-01-12 17:44:43 -08003120objs/$(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 -08003121
Craig Tiller8f126a62015-01-15 08:50:19 -08003122deps_gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003123
nnoble69ac39f2014-12-12 15:43:38 -08003124ifneq ($(NO_SECURE),true)
3125ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003126-include $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003127endif
nnoble69ac39f2014-12-12 15:43:38 -08003128endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003129
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003130
3131GPR_SLICE_BUFFER_TEST_SRC = \
3132 test/core/support/slice_buffer_test.c \
3133
ctillercab52e72015-01-06 13:10:23 -08003134GPR_SLICE_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_BUFFER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003135
nnoble69ac39f2014-12-12 15:43:38 -08003136ifeq ($(NO_SECURE),true)
3137
Nicolas Noble047b7272015-01-16 13:55:05 -08003138# You can't build secure targets if you don't have OpenSSL with ALPN.
3139
ctillercab52e72015-01-06 13:10:23 -08003140bins/$(CONFIG)/gpr_slice_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003141
3142else
3143
nnoble5f2ecb32015-01-12 16:40:18 -08003144bins/$(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 -08003145 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003146 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003147 $(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 -08003148
nnoble69ac39f2014-12-12 15:43:38 -08003149endif
3150
Craig Tiller770f60a2015-01-12 17:44:43 -08003151objs/$(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 -08003152
Craig Tiller8f126a62015-01-15 08:50:19 -08003153deps_gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003154
nnoble69ac39f2014-12-12 15:43:38 -08003155ifneq ($(NO_SECURE),true)
3156ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003157-include $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003158endif
nnoble69ac39f2014-12-12 15:43:38 -08003159endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003160
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003161
3162GPR_SLICE_TEST_SRC = \
3163 test/core/support/slice_test.c \
3164
ctillercab52e72015-01-06 13:10:23 -08003165GPR_SLICE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003166
nnoble69ac39f2014-12-12 15:43:38 -08003167ifeq ($(NO_SECURE),true)
3168
Nicolas Noble047b7272015-01-16 13:55:05 -08003169# You can't build secure targets if you don't have OpenSSL with ALPN.
3170
ctillercab52e72015-01-06 13:10:23 -08003171bins/$(CONFIG)/gpr_slice_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003172
3173else
3174
nnoble5f2ecb32015-01-12 16:40:18 -08003175bins/$(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 -08003176 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003177 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003178 $(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 -08003179
nnoble69ac39f2014-12-12 15:43:38 -08003180endif
3181
Craig Tiller770f60a2015-01-12 17:44:43 -08003182objs/$(CONFIG)/test/core/support/slice_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003183
Craig Tiller8f126a62015-01-15 08:50:19 -08003184deps_gpr_slice_test: $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003185
nnoble69ac39f2014-12-12 15:43:38 -08003186ifneq ($(NO_SECURE),true)
3187ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003188-include $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003189endif
nnoble69ac39f2014-12-12 15:43:38 -08003190endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003191
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003192
3193GPR_STRING_TEST_SRC = \
3194 test/core/support/string_test.c \
3195
ctillercab52e72015-01-06 13:10:23 -08003196GPR_STRING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STRING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003197
nnoble69ac39f2014-12-12 15:43:38 -08003198ifeq ($(NO_SECURE),true)
3199
Nicolas Noble047b7272015-01-16 13:55:05 -08003200# You can't build secure targets if you don't have OpenSSL with ALPN.
3201
ctillercab52e72015-01-06 13:10:23 -08003202bins/$(CONFIG)/gpr_string_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003203
3204else
3205
nnoble5f2ecb32015-01-12 16:40:18 -08003206bins/$(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 -08003207 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003208 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003209 $(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 -08003210
nnoble69ac39f2014-12-12 15:43:38 -08003211endif
3212
Craig Tiller770f60a2015-01-12 17:44:43 -08003213objs/$(CONFIG)/test/core/support/string_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003214
Craig Tiller8f126a62015-01-15 08:50:19 -08003215deps_gpr_string_test: $(GPR_STRING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003216
nnoble69ac39f2014-12-12 15:43:38 -08003217ifneq ($(NO_SECURE),true)
3218ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003219-include $(GPR_STRING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003220endif
nnoble69ac39f2014-12-12 15:43:38 -08003221endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003222
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003223
3224GPR_SYNC_TEST_SRC = \
3225 test/core/support/sync_test.c \
3226
ctillercab52e72015-01-06 13:10:23 -08003227GPR_SYNC_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SYNC_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003228
nnoble69ac39f2014-12-12 15:43:38 -08003229ifeq ($(NO_SECURE),true)
3230
Nicolas Noble047b7272015-01-16 13:55:05 -08003231# You can't build secure targets if you don't have OpenSSL with ALPN.
3232
ctillercab52e72015-01-06 13:10:23 -08003233bins/$(CONFIG)/gpr_sync_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003234
3235else
3236
nnoble5f2ecb32015-01-12 16:40:18 -08003237bins/$(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 -08003238 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003239 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003240 $(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 -08003241
nnoble69ac39f2014-12-12 15:43:38 -08003242endif
3243
Craig Tiller770f60a2015-01-12 17:44:43 -08003244objs/$(CONFIG)/test/core/support/sync_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003245
Craig Tiller8f126a62015-01-15 08:50:19 -08003246deps_gpr_sync_test: $(GPR_SYNC_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003247
nnoble69ac39f2014-12-12 15:43:38 -08003248ifneq ($(NO_SECURE),true)
3249ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003250-include $(GPR_SYNC_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003251endif
nnoble69ac39f2014-12-12 15:43:38 -08003252endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003253
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003254
3255GPR_THD_TEST_SRC = \
3256 test/core/support/thd_test.c \
3257
ctillercab52e72015-01-06 13:10:23 -08003258GPR_THD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_THD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003259
nnoble69ac39f2014-12-12 15:43:38 -08003260ifeq ($(NO_SECURE),true)
3261
Nicolas Noble047b7272015-01-16 13:55:05 -08003262# You can't build secure targets if you don't have OpenSSL with ALPN.
3263
ctillercab52e72015-01-06 13:10:23 -08003264bins/$(CONFIG)/gpr_thd_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003265
3266else
3267
nnoble5f2ecb32015-01-12 16:40:18 -08003268bins/$(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 -08003269 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003270 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003271 $(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 -08003272
nnoble69ac39f2014-12-12 15:43:38 -08003273endif
3274
Craig Tiller770f60a2015-01-12 17:44:43 -08003275objs/$(CONFIG)/test/core/support/thd_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003276
Craig Tiller8f126a62015-01-15 08:50:19 -08003277deps_gpr_thd_test: $(GPR_THD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003278
nnoble69ac39f2014-12-12 15:43:38 -08003279ifneq ($(NO_SECURE),true)
3280ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003281-include $(GPR_THD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003282endif
nnoble69ac39f2014-12-12 15:43:38 -08003283endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003284
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003285
3286GPR_TIME_TEST_SRC = \
3287 test/core/support/time_test.c \
3288
ctillercab52e72015-01-06 13:10:23 -08003289GPR_TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_TIME_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003290
nnoble69ac39f2014-12-12 15:43:38 -08003291ifeq ($(NO_SECURE),true)
3292
Nicolas Noble047b7272015-01-16 13:55:05 -08003293# You can't build secure targets if you don't have OpenSSL with ALPN.
3294
ctillercab52e72015-01-06 13:10:23 -08003295bins/$(CONFIG)/gpr_time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003296
3297else
3298
nnoble5f2ecb32015-01-12 16:40:18 -08003299bins/$(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 -08003300 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003301 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003302 $(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 -08003303
nnoble69ac39f2014-12-12 15:43:38 -08003304endif
3305
Craig Tiller770f60a2015-01-12 17:44:43 -08003306objs/$(CONFIG)/test/core/support/time_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003307
Craig Tiller8f126a62015-01-15 08:50:19 -08003308deps_gpr_time_test: $(GPR_TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003309
nnoble69ac39f2014-12-12 15:43:38 -08003310ifneq ($(NO_SECURE),true)
3311ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003312-include $(GPR_TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003313endif
nnoble69ac39f2014-12-12 15:43:38 -08003314endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003315
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003316
3317MURMUR_HASH_TEST_SRC = \
3318 test/core/support/murmur_hash_test.c \
3319
ctillercab52e72015-01-06 13:10:23 -08003320MURMUR_HASH_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MURMUR_HASH_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003321
nnoble69ac39f2014-12-12 15:43:38 -08003322ifeq ($(NO_SECURE),true)
3323
Nicolas Noble047b7272015-01-16 13:55:05 -08003324# You can't build secure targets if you don't have OpenSSL with ALPN.
3325
ctillercab52e72015-01-06 13:10:23 -08003326bins/$(CONFIG)/murmur_hash_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003327
3328else
3329
nnoble5f2ecb32015-01-12 16:40:18 -08003330bins/$(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 -08003331 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003332 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003333 $(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 -08003334
nnoble69ac39f2014-12-12 15:43:38 -08003335endif
3336
Craig Tiller770f60a2015-01-12 17:44:43 -08003337objs/$(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 -08003338
Craig Tiller8f126a62015-01-15 08:50:19 -08003339deps_murmur_hash_test: $(MURMUR_HASH_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003340
nnoble69ac39f2014-12-12 15:43:38 -08003341ifneq ($(NO_SECURE),true)
3342ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003343-include $(MURMUR_HASH_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003344endif
nnoble69ac39f2014-12-12 15:43:38 -08003345endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003346
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003347
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003348GRPC_STREAM_OP_TEST_SRC = \
3349 test/core/transport/stream_op_test.c \
3350
ctillercab52e72015-01-06 13:10:23 -08003351GRPC_STREAM_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_STREAM_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003352
nnoble69ac39f2014-12-12 15:43:38 -08003353ifeq ($(NO_SECURE),true)
3354
Nicolas Noble047b7272015-01-16 13:55:05 -08003355# You can't build secure targets if you don't have OpenSSL with ALPN.
3356
ctillercab52e72015-01-06 13:10:23 -08003357bins/$(CONFIG)/grpc_stream_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003358
3359else
3360
nnoble5f2ecb32015-01-12 16:40:18 -08003361bins/$(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 -08003362 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003363 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003364 $(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 -08003365
nnoble69ac39f2014-12-12 15:43:38 -08003366endif
3367
Craig Tiller770f60a2015-01-12 17:44:43 -08003368objs/$(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 -08003369
Craig Tiller8f126a62015-01-15 08:50:19 -08003370deps_grpc_stream_op_test: $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003371
nnoble69ac39f2014-12-12 15:43:38 -08003372ifneq ($(NO_SECURE),true)
3373ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003374-include $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003375endif
nnoble69ac39f2014-12-12 15:43:38 -08003376endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003377
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003378
nnoble0c475f02014-12-05 15:37:39 -08003379ALPN_TEST_SRC = \
3380 test/core/transport/chttp2/alpn_test.c \
3381
ctillercab52e72015-01-06 13:10:23 -08003382ALPN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALPN_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08003383
nnoble69ac39f2014-12-12 15:43:38 -08003384ifeq ($(NO_SECURE),true)
3385
Nicolas Noble047b7272015-01-16 13:55:05 -08003386# You can't build secure targets if you don't have OpenSSL with ALPN.
3387
ctillercab52e72015-01-06 13:10:23 -08003388bins/$(CONFIG)/alpn_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003389
3390else
3391
nnoble5f2ecb32015-01-12 16:40:18 -08003392bins/$(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 -08003393 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003394 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003395 $(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 -08003396
nnoble69ac39f2014-12-12 15:43:38 -08003397endif
3398
Craig Tiller770f60a2015-01-12 17:44:43 -08003399objs/$(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 -08003400
Craig Tiller8f126a62015-01-15 08:50:19 -08003401deps_alpn_test: $(ALPN_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003402
nnoble69ac39f2014-12-12 15:43:38 -08003403ifneq ($(NO_SECURE),true)
3404ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003405-include $(ALPN_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003406endif
nnoble69ac39f2014-12-12 15:43:38 -08003407endif
nnoble0c475f02014-12-05 15:37:39 -08003408
nnoble0c475f02014-12-05 15:37:39 -08003409
ctillerc1ddffb2014-12-15 13:08:18 -08003410TIME_AVERAGED_STATS_TEST_SRC = \
3411 test/core/iomgr/time_averaged_stats_test.c \
3412
ctillercab52e72015-01-06 13:10:23 -08003413TIME_AVERAGED_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_AVERAGED_STATS_TEST_SRC))))
ctillerc1ddffb2014-12-15 13:08:18 -08003414
3415ifeq ($(NO_SECURE),true)
3416
Nicolas Noble047b7272015-01-16 13:55:05 -08003417# You can't build secure targets if you don't have OpenSSL with ALPN.
3418
ctillercab52e72015-01-06 13:10:23 -08003419bins/$(CONFIG)/time_averaged_stats_test: openssl_dep_error
ctillerc1ddffb2014-12-15 13:08:18 -08003420
3421else
3422
nnoble5f2ecb32015-01-12 16:40:18 -08003423bins/$(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 -08003424 $(E) "[LD] Linking $@"
3425 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003426 $(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 -08003427
3428endif
3429
Craig Tiller770f60a2015-01-12 17:44:43 -08003430objs/$(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 -08003431
Craig Tiller8f126a62015-01-15 08:50:19 -08003432deps_time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
ctillerc1ddffb2014-12-15 13:08:18 -08003433
3434ifneq ($(NO_SECURE),true)
3435ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003436-include $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
ctillerc1ddffb2014-12-15 13:08:18 -08003437endif
3438endif
3439
ctillerc1ddffb2014-12-15 13:08:18 -08003440
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003441CHTTP2_STREAM_ENCODER_TEST_SRC = \
3442 test/core/transport/chttp2/stream_encoder_test.c \
3443
ctillercab52e72015-01-06 13:10:23 -08003444CHTTP2_STREAM_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_ENCODER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003445
nnoble69ac39f2014-12-12 15:43:38 -08003446ifeq ($(NO_SECURE),true)
3447
Nicolas Noble047b7272015-01-16 13:55:05 -08003448# You can't build secure targets if you don't have OpenSSL with ALPN.
3449
ctillercab52e72015-01-06 13:10:23 -08003450bins/$(CONFIG)/chttp2_stream_encoder_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003451
3452else
3453
nnoble5f2ecb32015-01-12 16:40:18 -08003454bins/$(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 -08003455 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003456 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003457 $(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 -08003458
nnoble69ac39f2014-12-12 15:43:38 -08003459endif
3460
Craig Tiller770f60a2015-01-12 17:44:43 -08003461objs/$(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 -08003462
Craig Tiller8f126a62015-01-15 08:50:19 -08003463deps_chttp2_stream_encoder_test: $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003464
nnoble69ac39f2014-12-12 15:43:38 -08003465ifneq ($(NO_SECURE),true)
3466ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003467-include $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003468endif
nnoble69ac39f2014-12-12 15:43:38 -08003469endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003470
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003471
3472HPACK_TABLE_TEST_SRC = \
3473 test/core/transport/chttp2/hpack_table_test.c \
3474
ctillercab52e72015-01-06 13:10:23 -08003475HPACK_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_TABLE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003476
nnoble69ac39f2014-12-12 15:43:38 -08003477ifeq ($(NO_SECURE),true)
3478
Nicolas Noble047b7272015-01-16 13:55:05 -08003479# You can't build secure targets if you don't have OpenSSL with ALPN.
3480
ctillercab52e72015-01-06 13:10:23 -08003481bins/$(CONFIG)/hpack_table_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003482
3483else
3484
nnoble5f2ecb32015-01-12 16:40:18 -08003485bins/$(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 -08003486 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003487 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003488 $(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 -08003489
nnoble69ac39f2014-12-12 15:43:38 -08003490endif
3491
Craig Tiller770f60a2015-01-12 17:44:43 -08003492objs/$(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 -08003493
Craig Tiller8f126a62015-01-15 08:50:19 -08003494deps_hpack_table_test: $(HPACK_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003495
nnoble69ac39f2014-12-12 15:43:38 -08003496ifneq ($(NO_SECURE),true)
3497ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003498-include $(HPACK_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003499endif
nnoble69ac39f2014-12-12 15:43:38 -08003500endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003501
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003502
3503CHTTP2_STREAM_MAP_TEST_SRC = \
3504 test/core/transport/chttp2/stream_map_test.c \
3505
ctillercab52e72015-01-06 13:10:23 -08003506CHTTP2_STREAM_MAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_MAP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003507
nnoble69ac39f2014-12-12 15:43:38 -08003508ifeq ($(NO_SECURE),true)
3509
Nicolas Noble047b7272015-01-16 13:55:05 -08003510# You can't build secure targets if you don't have OpenSSL with ALPN.
3511
ctillercab52e72015-01-06 13:10:23 -08003512bins/$(CONFIG)/chttp2_stream_map_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003513
3514else
3515
nnoble5f2ecb32015-01-12 16:40:18 -08003516bins/$(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 -08003517 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003518 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003519 $(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 -08003520
nnoble69ac39f2014-12-12 15:43:38 -08003521endif
3522
Craig Tiller770f60a2015-01-12 17:44:43 -08003523objs/$(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 -08003524
Craig Tiller8f126a62015-01-15 08:50:19 -08003525deps_chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003526
nnoble69ac39f2014-12-12 15:43:38 -08003527ifneq ($(NO_SECURE),true)
3528ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003529-include $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003530endif
nnoble69ac39f2014-12-12 15:43:38 -08003531endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003532
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003533
3534HPACK_PARSER_TEST_SRC = \
3535 test/core/transport/chttp2/hpack_parser_test.c \
3536
ctillercab52e72015-01-06 13:10:23 -08003537HPACK_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003538
nnoble69ac39f2014-12-12 15:43:38 -08003539ifeq ($(NO_SECURE),true)
3540
Nicolas Noble047b7272015-01-16 13:55:05 -08003541# You can't build secure targets if you don't have OpenSSL with ALPN.
3542
ctillercab52e72015-01-06 13:10:23 -08003543bins/$(CONFIG)/hpack_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003544
3545else
3546
nnoble5f2ecb32015-01-12 16:40:18 -08003547bins/$(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 -08003548 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003549 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003550 $(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 -08003551
nnoble69ac39f2014-12-12 15:43:38 -08003552endif
3553
Craig Tiller770f60a2015-01-12 17:44:43 -08003554objs/$(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 -08003555
Craig Tiller8f126a62015-01-15 08:50:19 -08003556deps_hpack_parser_test: $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003557
nnoble69ac39f2014-12-12 15:43:38 -08003558ifneq ($(NO_SECURE),true)
3559ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003560-include $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003561endif
nnoble69ac39f2014-12-12 15:43:38 -08003562endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003563
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003564
3565TRANSPORT_METADATA_TEST_SRC = \
3566 test/core/transport/metadata_test.c \
3567
ctillercab52e72015-01-06 13:10:23 -08003568TRANSPORT_METADATA_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_METADATA_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003569
nnoble69ac39f2014-12-12 15:43:38 -08003570ifeq ($(NO_SECURE),true)
3571
Nicolas Noble047b7272015-01-16 13:55:05 -08003572# You can't build secure targets if you don't have OpenSSL with ALPN.
3573
ctillercab52e72015-01-06 13:10:23 -08003574bins/$(CONFIG)/transport_metadata_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003575
3576else
3577
nnoble5f2ecb32015-01-12 16:40:18 -08003578bins/$(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 -08003579 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003580 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003581 $(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 -08003582
nnoble69ac39f2014-12-12 15:43:38 -08003583endif
3584
Craig Tiller770f60a2015-01-12 17:44:43 -08003585objs/$(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 -08003586
Craig Tiller8f126a62015-01-15 08:50:19 -08003587deps_transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003588
nnoble69ac39f2014-12-12 15:43:38 -08003589ifneq ($(NO_SECURE),true)
3590ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003591-include $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003592endif
nnoble69ac39f2014-12-12 15:43:38 -08003593endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003594
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003595
3596CHTTP2_STATUS_CONVERSION_TEST_SRC = \
3597 test/core/transport/chttp2/status_conversion_test.c \
3598
ctillercab52e72015-01-06 13:10:23 -08003599CHTTP2_STATUS_CONVERSION_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STATUS_CONVERSION_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003600
nnoble69ac39f2014-12-12 15:43:38 -08003601ifeq ($(NO_SECURE),true)
3602
Nicolas Noble047b7272015-01-16 13:55:05 -08003603# You can't build secure targets if you don't have OpenSSL with ALPN.
3604
ctillercab52e72015-01-06 13:10:23 -08003605bins/$(CONFIG)/chttp2_status_conversion_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003606
3607else
3608
nnoble5f2ecb32015-01-12 16:40:18 -08003609bins/$(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 -08003610 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003611 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003612 $(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 -08003613
nnoble69ac39f2014-12-12 15:43:38 -08003614endif
3615
Craig Tiller770f60a2015-01-12 17:44:43 -08003616objs/$(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 -08003617
Craig Tiller8f126a62015-01-15 08:50:19 -08003618deps_chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003619
nnoble69ac39f2014-12-12 15:43:38 -08003620ifneq ($(NO_SECURE),true)
3621ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003622-include $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003623endif
nnoble69ac39f2014-12-12 15:43:38 -08003624endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003625
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003626
3627CHTTP2_TRANSPORT_END2END_TEST_SRC = \
3628 test/core/transport/chttp2_transport_end2end_test.c \
3629
ctillercab52e72015-01-06 13:10:23 -08003630CHTTP2_TRANSPORT_END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_TRANSPORT_END2END_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003631
nnoble69ac39f2014-12-12 15:43:38 -08003632ifeq ($(NO_SECURE),true)
3633
Nicolas Noble047b7272015-01-16 13:55:05 -08003634# You can't build secure targets if you don't have OpenSSL with ALPN.
3635
ctillercab52e72015-01-06 13:10:23 -08003636bins/$(CONFIG)/chttp2_transport_end2end_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003637
3638else
3639
nnoble5f2ecb32015-01-12 16:40:18 -08003640bins/$(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 -08003641 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003642 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003643 $(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 -08003644
nnoble69ac39f2014-12-12 15:43:38 -08003645endif
3646
Craig Tiller770f60a2015-01-12 17:44:43 -08003647objs/$(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 -08003648
Craig Tiller8f126a62015-01-15 08:50:19 -08003649deps_chttp2_transport_end2end_test: $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003650
nnoble69ac39f2014-12-12 15:43:38 -08003651ifneq ($(NO_SECURE),true)
3652ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003653-include $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003654endif
nnoble69ac39f2014-12-12 15:43:38 -08003655endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003656
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003657
ctiller18b49ab2014-12-09 14:39:16 -08003658TCP_POSIX_TEST_SRC = \
3659 test/core/iomgr/tcp_posix_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003660
ctillercab52e72015-01-06 13:10:23 -08003661TCP_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_POSIX_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003662
nnoble69ac39f2014-12-12 15:43:38 -08003663ifeq ($(NO_SECURE),true)
3664
Nicolas Noble047b7272015-01-16 13:55:05 -08003665# You can't build secure targets if you don't have OpenSSL with ALPN.
3666
ctillercab52e72015-01-06 13:10:23 -08003667bins/$(CONFIG)/tcp_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003668
3669else
3670
nnoble5f2ecb32015-01-12 16:40:18 -08003671bins/$(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 -08003672 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003673 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003674 $(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 -08003675
nnoble69ac39f2014-12-12 15:43:38 -08003676endif
3677
Craig Tiller770f60a2015-01-12 17:44:43 -08003678objs/$(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 -08003679
Craig Tiller8f126a62015-01-15 08:50:19 -08003680deps_tcp_posix_test: $(TCP_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003681
nnoble69ac39f2014-12-12 15:43:38 -08003682ifneq ($(NO_SECURE),true)
3683ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003684-include $(TCP_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003685endif
nnoble69ac39f2014-12-12 15:43:38 -08003686endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003687
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003688
nnoble0c475f02014-12-05 15:37:39 -08003689DUALSTACK_SOCKET_TEST_SRC = \
3690 test/core/end2end/dualstack_socket_test.c \
3691
ctillercab52e72015-01-06 13:10:23 -08003692DUALSTACK_SOCKET_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(DUALSTACK_SOCKET_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08003693
nnoble69ac39f2014-12-12 15:43:38 -08003694ifeq ($(NO_SECURE),true)
3695
Nicolas Noble047b7272015-01-16 13:55:05 -08003696# You can't build secure targets if you don't have OpenSSL with ALPN.
3697
ctillercab52e72015-01-06 13:10:23 -08003698bins/$(CONFIG)/dualstack_socket_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003699
3700else
3701
nnoble5f2ecb32015-01-12 16:40:18 -08003702bins/$(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 -08003703 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003704 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003705 $(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 -08003706
nnoble69ac39f2014-12-12 15:43:38 -08003707endif
3708
Craig Tiller770f60a2015-01-12 17:44:43 -08003709objs/$(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 -08003710
Craig Tiller8f126a62015-01-15 08:50:19 -08003711deps_dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003712
nnoble69ac39f2014-12-12 15:43:38 -08003713ifneq ($(NO_SECURE),true)
3714ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003715-include $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003716endif
nnoble69ac39f2014-12-12 15:43:38 -08003717endif
nnoble0c475f02014-12-05 15:37:39 -08003718
nnoble0c475f02014-12-05 15:37:39 -08003719
3720NO_SERVER_TEST_SRC = \
3721 test/core/end2end/no_server_test.c \
3722
ctillercab52e72015-01-06 13:10:23 -08003723NO_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(NO_SERVER_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08003724
nnoble69ac39f2014-12-12 15:43:38 -08003725ifeq ($(NO_SECURE),true)
3726
Nicolas Noble047b7272015-01-16 13:55:05 -08003727# You can't build secure targets if you don't have OpenSSL with ALPN.
3728
ctillercab52e72015-01-06 13:10:23 -08003729bins/$(CONFIG)/no_server_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003730
3731else
3732
nnoble5f2ecb32015-01-12 16:40:18 -08003733bins/$(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 -08003734 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003735 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003736 $(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 -08003737
nnoble69ac39f2014-12-12 15:43:38 -08003738endif
3739
Craig Tiller770f60a2015-01-12 17:44:43 -08003740objs/$(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 -08003741
Craig Tiller8f126a62015-01-15 08:50:19 -08003742deps_no_server_test: $(NO_SERVER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003743
nnoble69ac39f2014-12-12 15:43:38 -08003744ifneq ($(NO_SECURE),true)
3745ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003746-include $(NO_SERVER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003747endif
nnoble69ac39f2014-12-12 15:43:38 -08003748endif
nnoble0c475f02014-12-05 15:37:39 -08003749
nnoble0c475f02014-12-05 15:37:39 -08003750
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003751RESOLVE_ADDRESS_TEST_SRC = \
ctiller18b49ab2014-12-09 14:39:16 -08003752 test/core/iomgr/resolve_address_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003753
ctillercab52e72015-01-06 13:10:23 -08003754RESOLVE_ADDRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003755
nnoble69ac39f2014-12-12 15:43:38 -08003756ifeq ($(NO_SECURE),true)
3757
Nicolas Noble047b7272015-01-16 13:55:05 -08003758# You can't build secure targets if you don't have OpenSSL with ALPN.
3759
ctillercab52e72015-01-06 13:10:23 -08003760bins/$(CONFIG)/resolve_address_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003761
3762else
3763
nnoble5f2ecb32015-01-12 16:40:18 -08003764bins/$(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 -08003765 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003766 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003767 $(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 -08003768
nnoble69ac39f2014-12-12 15:43:38 -08003769endif
3770
Craig Tiller770f60a2015-01-12 17:44:43 -08003771objs/$(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 -08003772
Craig Tiller8f126a62015-01-15 08:50:19 -08003773deps_resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003774
nnoble69ac39f2014-12-12 15:43:38 -08003775ifneq ($(NO_SECURE),true)
3776ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003777-include $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003778endif
nnoble69ac39f2014-12-12 15:43:38 -08003779endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003780
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003781
ctiller18b49ab2014-12-09 14:39:16 -08003782SOCKADDR_UTILS_TEST_SRC = \
3783 test/core/iomgr/sockaddr_utils_test.c \
nnoble0c475f02014-12-05 15:37:39 -08003784
ctillercab52e72015-01-06 13:10:23 -08003785SOCKADDR_UTILS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKADDR_UTILS_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08003786
nnoble69ac39f2014-12-12 15:43:38 -08003787ifeq ($(NO_SECURE),true)
3788
Nicolas Noble047b7272015-01-16 13:55:05 -08003789# You can't build secure targets if you don't have OpenSSL with ALPN.
3790
ctillercab52e72015-01-06 13:10:23 -08003791bins/$(CONFIG)/sockaddr_utils_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003792
3793else
3794
nnoble5f2ecb32015-01-12 16:40:18 -08003795bins/$(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 -08003796 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003797 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003798 $(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 -08003799
nnoble69ac39f2014-12-12 15:43:38 -08003800endif
3801
Craig Tiller770f60a2015-01-12 17:44:43 -08003802objs/$(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 -08003803
Craig Tiller8f126a62015-01-15 08:50:19 -08003804deps_sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003805
nnoble69ac39f2014-12-12 15:43:38 -08003806ifneq ($(NO_SECURE),true)
3807ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003808-include $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08003809endif
nnoble69ac39f2014-12-12 15:43:38 -08003810endif
nnoble0c475f02014-12-05 15:37:39 -08003811
nnoble0c475f02014-12-05 15:37:39 -08003812
ctiller18b49ab2014-12-09 14:39:16 -08003813TCP_SERVER_POSIX_TEST_SRC = \
3814 test/core/iomgr/tcp_server_posix_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003815
ctillercab52e72015-01-06 13:10:23 -08003816TCP_SERVER_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_SERVER_POSIX_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003817
nnoble69ac39f2014-12-12 15:43:38 -08003818ifeq ($(NO_SECURE),true)
3819
Nicolas Noble047b7272015-01-16 13:55:05 -08003820# You can't build secure targets if you don't have OpenSSL with ALPN.
3821
ctillercab52e72015-01-06 13:10:23 -08003822bins/$(CONFIG)/tcp_server_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003823
3824else
3825
nnoble5f2ecb32015-01-12 16:40:18 -08003826bins/$(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 -08003827 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003828 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003829 $(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 -08003830
nnoble69ac39f2014-12-12 15:43:38 -08003831endif
3832
Craig Tiller770f60a2015-01-12 17:44:43 -08003833objs/$(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 -08003834
Craig Tiller8f126a62015-01-15 08:50:19 -08003835deps_tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003836
nnoble69ac39f2014-12-12 15:43:38 -08003837ifneq ($(NO_SECURE),true)
3838ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003839-include $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003840endif
nnoble69ac39f2014-12-12 15:43:38 -08003841endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003842
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003843
ctiller18b49ab2014-12-09 14:39:16 -08003844TCP_CLIENT_POSIX_TEST_SRC = \
3845 test/core/iomgr/tcp_client_posix_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003846
ctillercab52e72015-01-06 13:10:23 -08003847TCP_CLIENT_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_CLIENT_POSIX_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003848
nnoble69ac39f2014-12-12 15:43:38 -08003849ifeq ($(NO_SECURE),true)
3850
Nicolas Noble047b7272015-01-16 13:55:05 -08003851# You can't build secure targets if you don't have OpenSSL with ALPN.
3852
ctillercab52e72015-01-06 13:10:23 -08003853bins/$(CONFIG)/tcp_client_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003854
3855else
3856
nnoble5f2ecb32015-01-12 16:40:18 -08003857bins/$(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 -08003858 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003859 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003860 $(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 -08003861
nnoble69ac39f2014-12-12 15:43:38 -08003862endif
3863
Craig Tiller770f60a2015-01-12 17:44:43 -08003864objs/$(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 -08003865
Craig Tiller8f126a62015-01-15 08:50:19 -08003866deps_tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003867
nnoble69ac39f2014-12-12 15:43:38 -08003868ifneq ($(NO_SECURE),true)
3869ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003870-include $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003871endif
nnoble69ac39f2014-12-12 15:43:38 -08003872endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003873
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003874
3875GRPC_CHANNEL_STACK_TEST_SRC = \
3876 test/core/channel/channel_stack_test.c \
3877
ctillercab52e72015-01-06 13:10:23 -08003878GRPC_CHANNEL_STACK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CHANNEL_STACK_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003879
nnoble69ac39f2014-12-12 15:43:38 -08003880ifeq ($(NO_SECURE),true)
3881
Nicolas Noble047b7272015-01-16 13:55:05 -08003882# You can't build secure targets if you don't have OpenSSL with ALPN.
3883
ctillercab52e72015-01-06 13:10:23 -08003884bins/$(CONFIG)/grpc_channel_stack_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003885
3886else
3887
nnoble5f2ecb32015-01-12 16:40:18 -08003888bins/$(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 -08003889 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003890 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003891 $(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 -08003892
nnoble69ac39f2014-12-12 15:43:38 -08003893endif
3894
Craig Tiller770f60a2015-01-12 17:44:43 -08003895objs/$(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 -08003896
Craig Tiller8f126a62015-01-15 08:50:19 -08003897deps_grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003898
nnoble69ac39f2014-12-12 15:43:38 -08003899ifneq ($(NO_SECURE),true)
3900ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003901-include $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003902endif
nnoble69ac39f2014-12-12 15:43:38 -08003903endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003904
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003905
3906METADATA_BUFFER_TEST_SRC = \
3907 test/core/channel/metadata_buffer_test.c \
3908
ctillercab52e72015-01-06 13:10:23 -08003909METADATA_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(METADATA_BUFFER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003910
nnoble69ac39f2014-12-12 15:43:38 -08003911ifeq ($(NO_SECURE),true)
3912
Nicolas Noble047b7272015-01-16 13:55:05 -08003913# You can't build secure targets if you don't have OpenSSL with ALPN.
3914
ctillercab52e72015-01-06 13:10:23 -08003915bins/$(CONFIG)/metadata_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003916
3917else
3918
nnoble5f2ecb32015-01-12 16:40:18 -08003919bins/$(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 -08003920 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003921 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003922 $(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 -08003923
nnoble69ac39f2014-12-12 15:43:38 -08003924endif
3925
Craig Tiller770f60a2015-01-12 17:44:43 -08003926objs/$(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 -08003927
Craig Tiller8f126a62015-01-15 08:50:19 -08003928deps_metadata_buffer_test: $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003929
nnoble69ac39f2014-12-12 15:43:38 -08003930ifneq ($(NO_SECURE),true)
3931ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003932-include $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003933endif
nnoble69ac39f2014-12-12 15:43:38 -08003934endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003935
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003936
3937GRPC_COMPLETION_QUEUE_TEST_SRC = \
3938 test/core/surface/completion_queue_test.c \
3939
ctillercab52e72015-01-06 13:10:23 -08003940GRPC_COMPLETION_QUEUE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003941
nnoble69ac39f2014-12-12 15:43:38 -08003942ifeq ($(NO_SECURE),true)
3943
Nicolas Noble047b7272015-01-16 13:55:05 -08003944# You can't build secure targets if you don't have OpenSSL with ALPN.
3945
ctillercab52e72015-01-06 13:10:23 -08003946bins/$(CONFIG)/grpc_completion_queue_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003947
3948else
3949
nnoble5f2ecb32015-01-12 16:40:18 -08003950bins/$(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 -08003951 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003952 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003953 $(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 -08003954
nnoble69ac39f2014-12-12 15:43:38 -08003955endif
3956
Craig Tiller770f60a2015-01-12 17:44:43 -08003957objs/$(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 -08003958
Craig Tiller8f126a62015-01-15 08:50:19 -08003959deps_grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003960
nnoble69ac39f2014-12-12 15:43:38 -08003961ifneq ($(NO_SECURE),true)
3962ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003963-include $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003964endif
nnoble69ac39f2014-12-12 15:43:38 -08003965endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003966
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003967
3968GRPC_COMPLETION_QUEUE_BENCHMARK_SRC = \
3969 test/core/surface/completion_queue_benchmark.c \
3970
ctillercab52e72015-01-06 13:10:23 -08003971GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003972
nnoble69ac39f2014-12-12 15:43:38 -08003973ifeq ($(NO_SECURE),true)
3974
Nicolas Noble047b7272015-01-16 13:55:05 -08003975# You can't build secure targets if you don't have OpenSSL with ALPN.
3976
ctillercab52e72015-01-06 13:10:23 -08003977bins/$(CONFIG)/grpc_completion_queue_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003978
3979else
3980
nnoble5f2ecb32015-01-12 16:40:18 -08003981bins/$(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 -08003982 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003983 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003984 $(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 -08003985
nnoble69ac39f2014-12-12 15:43:38 -08003986endif
3987
Craig Tiller770f60a2015-01-12 17:44:43 -08003988objs/$(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 -08003989
Craig Tiller8f126a62015-01-15 08:50:19 -08003990deps_grpc_completion_queue_benchmark: $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003991
nnoble69ac39f2014-12-12 15:43:38 -08003992ifneq ($(NO_SECURE),true)
3993ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003994-include $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003995endif
nnoble69ac39f2014-12-12 15:43:38 -08003996endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003997
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003998
hongyu24200d32015-01-08 15:13:49 -08003999CENSUS_TRACE_STORE_TEST_SRC = \
4000 test/core/statistics/trace_test.c \
4001
4002CENSUS_TRACE_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_TRACE_STORE_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004003
4004ifeq ($(NO_SECURE),true)
4005
Nicolas Noble047b7272015-01-16 13:55:05 -08004006# You can't build secure targets if you don't have OpenSSL with ALPN.
4007
hongyu24200d32015-01-08 15:13:49 -08004008bins/$(CONFIG)/census_trace_store_test: openssl_dep_error
4009
4010else
4011
nnoble5f2ecb32015-01-12 16:40:18 -08004012bins/$(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 -08004013 $(E) "[LD] Linking $@"
4014 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004015 $(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 -08004016
4017endif
4018
Craig Tiller770f60a2015-01-12 17:44:43 -08004019objs/$(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 -08004020
Craig Tiller8f126a62015-01-15 08:50:19 -08004021deps_census_trace_store_test: $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004022
4023ifneq ($(NO_SECURE),true)
4024ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004025-include $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004026endif
4027endif
4028
hongyu24200d32015-01-08 15:13:49 -08004029
4030CENSUS_STATS_STORE_TEST_SRC = \
4031 test/core/statistics/rpc_stats_test.c \
4032
4033CENSUS_STATS_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATS_STORE_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004034
4035ifeq ($(NO_SECURE),true)
4036
Nicolas Noble047b7272015-01-16 13:55:05 -08004037# You can't build secure targets if you don't have OpenSSL with ALPN.
4038
hongyu24200d32015-01-08 15:13:49 -08004039bins/$(CONFIG)/census_stats_store_test: openssl_dep_error
4040
4041else
4042
nnoble5f2ecb32015-01-12 16:40:18 -08004043bins/$(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 -08004044 $(E) "[LD] Linking $@"
4045 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004046 $(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 -08004047
4048endif
4049
Craig Tiller770f60a2015-01-12 17:44:43 -08004050objs/$(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 -08004051
Craig Tiller8f126a62015-01-15 08:50:19 -08004052deps_census_stats_store_test: $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004053
4054ifneq ($(NO_SECURE),true)
4055ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004056-include $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004057endif
4058endif
4059
hongyu24200d32015-01-08 15:13:49 -08004060
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004061CENSUS_WINDOW_STATS_TEST_SRC = \
4062 test/core/statistics/window_stats_test.c \
4063
ctillercab52e72015-01-06 13:10:23 -08004064CENSUS_WINDOW_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_WINDOW_STATS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004065
nnoble69ac39f2014-12-12 15:43:38 -08004066ifeq ($(NO_SECURE),true)
4067
Nicolas Noble047b7272015-01-16 13:55:05 -08004068# You can't build secure targets if you don't have OpenSSL with ALPN.
4069
ctillercab52e72015-01-06 13:10:23 -08004070bins/$(CONFIG)/census_window_stats_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004071
4072else
4073
nnoble5f2ecb32015-01-12 16:40:18 -08004074bins/$(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 -08004075 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004076 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004077 $(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 -08004078
nnoble69ac39f2014-12-12 15:43:38 -08004079endif
4080
Craig Tiller770f60a2015-01-12 17:44:43 -08004081objs/$(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 -08004082
Craig Tiller8f126a62015-01-15 08:50:19 -08004083deps_census_window_stats_test: $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004084
nnoble69ac39f2014-12-12 15:43:38 -08004085ifneq ($(NO_SECURE),true)
4086ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004087-include $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004088endif
nnoble69ac39f2014-12-12 15:43:38 -08004089endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004090
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004091
4092CENSUS_STATISTICS_QUICK_TEST_SRC = \
4093 test/core/statistics/quick_test.c \
4094
ctillercab52e72015-01-06 13:10:23 -08004095CENSUS_STATISTICS_QUICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_QUICK_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004096
nnoble69ac39f2014-12-12 15:43:38 -08004097ifeq ($(NO_SECURE),true)
4098
Nicolas Noble047b7272015-01-16 13:55:05 -08004099# You can't build secure targets if you don't have OpenSSL with ALPN.
4100
ctillercab52e72015-01-06 13:10:23 -08004101bins/$(CONFIG)/census_statistics_quick_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004102
4103else
4104
nnoble5f2ecb32015-01-12 16:40:18 -08004105bins/$(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 -08004106 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004107 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004108 $(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 -08004109
nnoble69ac39f2014-12-12 15:43:38 -08004110endif
4111
Craig Tiller770f60a2015-01-12 17:44:43 -08004112objs/$(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 -08004113
Craig Tiller8f126a62015-01-15 08:50:19 -08004114deps_census_statistics_quick_test: $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004115
nnoble69ac39f2014-12-12 15:43:38 -08004116ifneq ($(NO_SECURE),true)
4117ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004118-include $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004119endif
nnoble69ac39f2014-12-12 15:43:38 -08004120endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004121
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004122
aveitch482a5be2014-12-15 10:25:12 -08004123CENSUS_STATISTICS_SMALL_LOG_TEST_SRC = \
4124 test/core/statistics/small_log_test.c \
4125
ctillercab52e72015-01-06 13:10:23 -08004126CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_SMALL_LOG_TEST_SRC))))
aveitch482a5be2014-12-15 10:25:12 -08004127
4128ifeq ($(NO_SECURE),true)
4129
Nicolas Noble047b7272015-01-16 13:55:05 -08004130# You can't build secure targets if you don't have OpenSSL with ALPN.
4131
ctillercab52e72015-01-06 13:10:23 -08004132bins/$(CONFIG)/census_statistics_small_log_test: openssl_dep_error
aveitch482a5be2014-12-15 10:25:12 -08004133
4134else
4135
nnoble5f2ecb32015-01-12 16:40:18 -08004136bins/$(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 -08004137 $(E) "[LD] Linking $@"
4138 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004139 $(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 -08004140
4141endif
4142
Craig Tiller770f60a2015-01-12 17:44:43 -08004143objs/$(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 -08004144
Craig Tiller8f126a62015-01-15 08:50:19 -08004145deps_census_statistics_small_log_test: $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
aveitch482a5be2014-12-15 10:25:12 -08004146
4147ifneq ($(NO_SECURE),true)
4148ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004149-include $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
aveitch482a5be2014-12-15 10:25:12 -08004150endif
4151endif
4152
aveitch482a5be2014-12-15 10:25:12 -08004153
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004154CENSUS_STATISTICS_PERFORMANCE_TEST_SRC = \
4155 test/core/statistics/performance_test.c \
4156
ctillercab52e72015-01-06 13:10:23 -08004157CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_PERFORMANCE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004158
nnoble69ac39f2014-12-12 15:43:38 -08004159ifeq ($(NO_SECURE),true)
4160
Nicolas Noble047b7272015-01-16 13:55:05 -08004161# You can't build secure targets if you don't have OpenSSL with ALPN.
4162
ctillercab52e72015-01-06 13:10:23 -08004163bins/$(CONFIG)/census_statistics_performance_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004164
4165else
4166
nnoble5f2ecb32015-01-12 16:40:18 -08004167bins/$(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 -08004168 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004169 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004170 $(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 -08004171
nnoble69ac39f2014-12-12 15:43:38 -08004172endif
4173
Craig Tiller770f60a2015-01-12 17:44:43 -08004174objs/$(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 -08004175
Craig Tiller8f126a62015-01-15 08:50:19 -08004176deps_census_statistics_performance_test: $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004177
nnoble69ac39f2014-12-12 15:43:38 -08004178ifneq ($(NO_SECURE),true)
4179ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004180-include $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004181endif
nnoble69ac39f2014-12-12 15:43:38 -08004182endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004183
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004184
4185CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC = \
4186 test/core/statistics/multiple_writers_test.c \
4187
ctillercab52e72015-01-06 13:10:23 -08004188CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004189
nnoble69ac39f2014-12-12 15:43:38 -08004190ifeq ($(NO_SECURE),true)
4191
Nicolas Noble047b7272015-01-16 13:55:05 -08004192# You can't build secure targets if you don't have OpenSSL with ALPN.
4193
ctillercab52e72015-01-06 13:10:23 -08004194bins/$(CONFIG)/census_statistics_multiple_writers_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004195
4196else
4197
nnoble5f2ecb32015-01-12 16:40:18 -08004198bins/$(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 -08004199 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004200 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004201 $(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 -08004202
nnoble69ac39f2014-12-12 15:43:38 -08004203endif
4204
Craig Tiller770f60a2015-01-12 17:44:43 -08004205objs/$(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 -08004206
Craig Tiller8f126a62015-01-15 08:50:19 -08004207deps_census_statistics_multiple_writers_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004208
nnoble69ac39f2014-12-12 15:43:38 -08004209ifneq ($(NO_SECURE),true)
4210ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004211-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004212endif
nnoble69ac39f2014-12-12 15:43:38 -08004213endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004214
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004215
4216CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_SRC = \
4217 test/core/statistics/multiple_writers_circular_buffer_test.c \
4218
ctillercab52e72015-01-06 13:10:23 -08004219CENSUS_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 -08004220
nnoble69ac39f2014-12-12 15:43:38 -08004221ifeq ($(NO_SECURE),true)
4222
Nicolas Noble047b7272015-01-16 13:55:05 -08004223# You can't build secure targets if you don't have OpenSSL with ALPN.
4224
ctillercab52e72015-01-06 13:10:23 -08004225bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004226
4227else
4228
nnoble5f2ecb32015-01-12 16:40:18 -08004229bins/$(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 -08004230 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004231 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004232 $(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 -08004233
nnoble69ac39f2014-12-12 15:43:38 -08004234endif
4235
Craig Tiller770f60a2015-01-12 17:44:43 -08004236objs/$(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 -08004237
Craig Tiller8f126a62015-01-15 08:50:19 -08004238deps_census_statistics_multiple_writers_circular_buffer_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004239
nnoble69ac39f2014-12-12 15:43:38 -08004240ifneq ($(NO_SECURE),true)
4241ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004242-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004243endif
nnoble69ac39f2014-12-12 15:43:38 -08004244endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004245
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004246
4247CENSUS_STUB_TEST_SRC = \
4248 test/core/statistics/census_stub_test.c \
4249
ctillercab52e72015-01-06 13:10:23 -08004250CENSUS_STUB_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STUB_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004251
nnoble69ac39f2014-12-12 15:43:38 -08004252ifeq ($(NO_SECURE),true)
4253
Nicolas Noble047b7272015-01-16 13:55:05 -08004254# You can't build secure targets if you don't have OpenSSL with ALPN.
4255
ctillercab52e72015-01-06 13:10:23 -08004256bins/$(CONFIG)/census_stub_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004257
4258else
4259
nnoble5f2ecb32015-01-12 16:40:18 -08004260bins/$(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 -08004261 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004262 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004263 $(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 -08004264
nnoble69ac39f2014-12-12 15:43:38 -08004265endif
4266
Craig Tiller770f60a2015-01-12 17:44:43 -08004267objs/$(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 -08004268
Craig Tiller8f126a62015-01-15 08:50:19 -08004269deps_census_stub_test: $(CENSUS_STUB_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004270
nnoble69ac39f2014-12-12 15:43:38 -08004271ifneq ($(NO_SECURE),true)
4272ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004273-include $(CENSUS_STUB_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004274endif
nnoble69ac39f2014-12-12 15:43:38 -08004275endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004276
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004277
4278CENSUS_HASH_TABLE_TEST_SRC = \
4279 test/core/statistics/hash_table_test.c \
4280
ctillercab52e72015-01-06 13:10:23 -08004281CENSUS_HASH_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_HASH_TABLE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004282
nnoble69ac39f2014-12-12 15:43:38 -08004283ifeq ($(NO_SECURE),true)
4284
Nicolas Noble047b7272015-01-16 13:55:05 -08004285# You can't build secure targets if you don't have OpenSSL with ALPN.
4286
ctillercab52e72015-01-06 13:10:23 -08004287bins/$(CONFIG)/census_hash_table_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004288
4289else
4290
nnoble5f2ecb32015-01-12 16:40:18 -08004291bins/$(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 -08004292 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004293 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004294 $(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 -08004295
nnoble69ac39f2014-12-12 15:43:38 -08004296endif
4297
Craig Tiller770f60a2015-01-12 17:44:43 -08004298objs/$(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 -08004299
Craig Tiller8f126a62015-01-15 08:50:19 -08004300deps_census_hash_table_test: $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004301
nnoble69ac39f2014-12-12 15:43:38 -08004302ifneq ($(NO_SECURE),true)
4303ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004304-include $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004305endif
nnoble69ac39f2014-12-12 15:43:38 -08004306endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004307
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004308
4309FLING_SERVER_SRC = \
4310 test/core/fling/server.c \
4311
ctillercab52e72015-01-06 13:10:23 -08004312FLING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_SERVER_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004313
nnoble69ac39f2014-12-12 15:43:38 -08004314ifeq ($(NO_SECURE),true)
4315
Nicolas Noble047b7272015-01-16 13:55:05 -08004316# You can't build secure targets if you don't have OpenSSL with ALPN.
4317
ctillercab52e72015-01-06 13:10:23 -08004318bins/$(CONFIG)/fling_server: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004319
4320else
4321
nnoble5f2ecb32015-01-12 16:40:18 -08004322bins/$(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 -08004323 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004324 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004325 $(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 -08004326
nnoble69ac39f2014-12-12 15:43:38 -08004327endif
4328
Craig Tiller770f60a2015-01-12 17:44:43 -08004329objs/$(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 -08004330
Craig Tiller8f126a62015-01-15 08:50:19 -08004331deps_fling_server: $(FLING_SERVER_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004332
nnoble69ac39f2014-12-12 15:43:38 -08004333ifneq ($(NO_SECURE),true)
4334ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004335-include $(FLING_SERVER_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004336endif
nnoble69ac39f2014-12-12 15:43:38 -08004337endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004338
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004339
4340FLING_CLIENT_SRC = \
4341 test/core/fling/client.c \
4342
ctillercab52e72015-01-06 13:10:23 -08004343FLING_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_CLIENT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004344
nnoble69ac39f2014-12-12 15:43:38 -08004345ifeq ($(NO_SECURE),true)
4346
Nicolas Noble047b7272015-01-16 13:55:05 -08004347# You can't build secure targets if you don't have OpenSSL with ALPN.
4348
ctillercab52e72015-01-06 13:10:23 -08004349bins/$(CONFIG)/fling_client: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004350
4351else
4352
nnoble5f2ecb32015-01-12 16:40:18 -08004353bins/$(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 -08004354 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004355 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004356 $(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 -08004357
nnoble69ac39f2014-12-12 15:43:38 -08004358endif
4359
Craig Tiller770f60a2015-01-12 17:44:43 -08004360objs/$(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 -08004361
Craig Tiller8f126a62015-01-15 08:50:19 -08004362deps_fling_client: $(FLING_CLIENT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004363
nnoble69ac39f2014-12-12 15:43:38 -08004364ifneq ($(NO_SECURE),true)
4365ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004366-include $(FLING_CLIENT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004367endif
nnoble69ac39f2014-12-12 15:43:38 -08004368endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004369
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004370
4371FLING_TEST_SRC = \
4372 test/core/fling/fling_test.c \
4373
ctillercab52e72015-01-06 13:10:23 -08004374FLING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004375
nnoble69ac39f2014-12-12 15:43:38 -08004376ifeq ($(NO_SECURE),true)
4377
Nicolas Noble047b7272015-01-16 13:55:05 -08004378# You can't build secure targets if you don't have OpenSSL with ALPN.
4379
ctillercab52e72015-01-06 13:10:23 -08004380bins/$(CONFIG)/fling_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004381
4382else
4383
nnoble5f2ecb32015-01-12 16:40:18 -08004384bins/$(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 -08004385 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004386 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004387 $(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 -08004388
nnoble69ac39f2014-12-12 15:43:38 -08004389endif
4390
Craig Tiller770f60a2015-01-12 17:44:43 -08004391objs/$(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 -08004392
Craig Tiller8f126a62015-01-15 08:50:19 -08004393deps_fling_test: $(FLING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004394
nnoble69ac39f2014-12-12 15:43:38 -08004395ifneq ($(NO_SECURE),true)
4396ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004397-include $(FLING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004398endif
nnoble69ac39f2014-12-12 15:43:38 -08004399endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004400
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004401
4402ECHO_SERVER_SRC = \
4403 test/core/echo/server.c \
4404
ctillercab52e72015-01-06 13:10:23 -08004405ECHO_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_SERVER_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004406
nnoble69ac39f2014-12-12 15:43:38 -08004407ifeq ($(NO_SECURE),true)
4408
Nicolas Noble047b7272015-01-16 13:55:05 -08004409# You can't build secure targets if you don't have OpenSSL with ALPN.
4410
ctillercab52e72015-01-06 13:10:23 -08004411bins/$(CONFIG)/echo_server: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004412
4413else
4414
nnoble5f2ecb32015-01-12 16:40:18 -08004415bins/$(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 -08004416 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004417 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004418 $(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 -08004419
nnoble69ac39f2014-12-12 15:43:38 -08004420endif
4421
Craig Tiller770f60a2015-01-12 17:44:43 -08004422objs/$(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 -08004423
Craig Tiller8f126a62015-01-15 08:50:19 -08004424deps_echo_server: $(ECHO_SERVER_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004425
nnoble69ac39f2014-12-12 15:43:38 -08004426ifneq ($(NO_SECURE),true)
4427ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004428-include $(ECHO_SERVER_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004429endif
nnoble69ac39f2014-12-12 15:43:38 -08004430endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004431
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004432
4433ECHO_CLIENT_SRC = \
4434 test/core/echo/client.c \
4435
ctillercab52e72015-01-06 13:10:23 -08004436ECHO_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_CLIENT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004437
nnoble69ac39f2014-12-12 15:43:38 -08004438ifeq ($(NO_SECURE),true)
4439
Nicolas Noble047b7272015-01-16 13:55:05 -08004440# You can't build secure targets if you don't have OpenSSL with ALPN.
4441
ctillercab52e72015-01-06 13:10:23 -08004442bins/$(CONFIG)/echo_client: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004443
4444else
4445
nnoble5f2ecb32015-01-12 16:40:18 -08004446bins/$(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 -08004447 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004448 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004449 $(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 -08004450
nnoble69ac39f2014-12-12 15:43:38 -08004451endif
4452
Craig Tiller770f60a2015-01-12 17:44:43 -08004453objs/$(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 -08004454
Craig Tiller8f126a62015-01-15 08:50:19 -08004455deps_echo_client: $(ECHO_CLIENT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004456
nnoble69ac39f2014-12-12 15:43:38 -08004457ifneq ($(NO_SECURE),true)
4458ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004459-include $(ECHO_CLIENT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004460endif
nnoble69ac39f2014-12-12 15:43:38 -08004461endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004462
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004463
4464ECHO_TEST_SRC = \
4465 test/core/echo/echo_test.c \
4466
ctillercab52e72015-01-06 13:10:23 -08004467ECHO_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004468
nnoble69ac39f2014-12-12 15:43:38 -08004469ifeq ($(NO_SECURE),true)
4470
Nicolas Noble047b7272015-01-16 13:55:05 -08004471# You can't build secure targets if you don't have OpenSSL with ALPN.
4472
ctillercab52e72015-01-06 13:10:23 -08004473bins/$(CONFIG)/echo_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004474
4475else
4476
nnoble5f2ecb32015-01-12 16:40:18 -08004477bins/$(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 -08004478 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004479 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004480 $(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 -08004481
nnoble69ac39f2014-12-12 15:43:38 -08004482endif
4483
Craig Tiller770f60a2015-01-12 17:44:43 -08004484objs/$(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 -08004485
Craig Tiller8f126a62015-01-15 08:50:19 -08004486deps_echo_test: $(ECHO_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004487
nnoble69ac39f2014-12-12 15:43:38 -08004488ifneq ($(NO_SECURE),true)
4489ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004490-include $(ECHO_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004491endif
nnoble69ac39f2014-12-12 15:43:38 -08004492endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004493
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004494
4495LOW_LEVEL_PING_PONG_BENCHMARK_SRC = \
4496 test/core/network_benchmarks/low_level_ping_pong.c \
4497
ctillercab52e72015-01-06 13:10:23 -08004498LOW_LEVEL_PING_PONG_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LOW_LEVEL_PING_PONG_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004499
nnoble69ac39f2014-12-12 15:43:38 -08004500ifeq ($(NO_SECURE),true)
4501
Nicolas Noble047b7272015-01-16 13:55:05 -08004502# You can't build secure targets if you don't have OpenSSL with ALPN.
4503
ctillercab52e72015-01-06 13:10:23 -08004504bins/$(CONFIG)/low_level_ping_pong_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004505
4506else
4507
nnoble5f2ecb32015-01-12 16:40:18 -08004508bins/$(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 -08004509 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004510 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004511 $(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 -08004512
nnoble69ac39f2014-12-12 15:43:38 -08004513endif
4514
Craig Tiller770f60a2015-01-12 17:44:43 -08004515objs/$(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 -08004516
Craig Tiller8f126a62015-01-15 08:50:19 -08004517deps_low_level_ping_pong_benchmark: $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004518
nnoble69ac39f2014-12-12 15:43:38 -08004519ifneq ($(NO_SECURE),true)
4520ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004521-include $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004522endif
nnoble69ac39f2014-12-12 15:43:38 -08004523endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004524
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004525
4526MESSAGE_COMPRESS_TEST_SRC = \
4527 test/core/compression/message_compress_test.c \
4528
ctillercab52e72015-01-06 13:10:23 -08004529MESSAGE_COMPRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MESSAGE_COMPRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004530
nnoble69ac39f2014-12-12 15:43:38 -08004531ifeq ($(NO_SECURE),true)
4532
Nicolas Noble047b7272015-01-16 13:55:05 -08004533# You can't build secure targets if you don't have OpenSSL with ALPN.
4534
ctillercab52e72015-01-06 13:10:23 -08004535bins/$(CONFIG)/message_compress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004536
4537else
4538
nnoble5f2ecb32015-01-12 16:40:18 -08004539bins/$(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 -08004540 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004541 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004542 $(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 -08004543
nnoble69ac39f2014-12-12 15:43:38 -08004544endif
4545
Craig Tiller770f60a2015-01-12 17:44:43 -08004546objs/$(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 -08004547
Craig Tiller8f126a62015-01-15 08:50:19 -08004548deps_message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004549
nnoble69ac39f2014-12-12 15:43:38 -08004550ifneq ($(NO_SECURE),true)
4551ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004552-include $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004553endif
nnoble69ac39f2014-12-12 15:43:38 -08004554endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004555
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004556
nnoble0c475f02014-12-05 15:37:39 -08004557BIN_ENCODER_TEST_SRC = \
4558 test/core/transport/chttp2/bin_encoder_test.c \
4559
ctillercab52e72015-01-06 13:10:23 -08004560BIN_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(BIN_ENCODER_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08004561
nnoble69ac39f2014-12-12 15:43:38 -08004562ifeq ($(NO_SECURE),true)
4563
Nicolas Noble047b7272015-01-16 13:55:05 -08004564# You can't build secure targets if you don't have OpenSSL with ALPN.
4565
ctillercab52e72015-01-06 13:10:23 -08004566bins/$(CONFIG)/bin_encoder_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004567
4568else
4569
nnoble5f2ecb32015-01-12 16:40:18 -08004570bins/$(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 -08004571 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004572 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004573 $(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 -08004574
nnoble69ac39f2014-12-12 15:43:38 -08004575endif
4576
Craig Tiller770f60a2015-01-12 17:44:43 -08004577objs/$(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 -08004578
Craig Tiller8f126a62015-01-15 08:50:19 -08004579deps_bin_encoder_test: $(BIN_ENCODER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08004580
nnoble69ac39f2014-12-12 15:43:38 -08004581ifneq ($(NO_SECURE),true)
4582ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004583-include $(BIN_ENCODER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08004584endif
nnoble69ac39f2014-12-12 15:43:38 -08004585endif
nnoble0c475f02014-12-05 15:37:39 -08004586
nnoble0c475f02014-12-05 15:37:39 -08004587
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004588SECURE_ENDPOINT_TEST_SRC = \
ctiller2bbb6c42014-12-17 09:44:44 -08004589 test/core/security/secure_endpoint_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004590
ctillercab52e72015-01-06 13:10:23 -08004591SECURE_ENDPOINT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_ENDPOINT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004592
nnoble69ac39f2014-12-12 15:43:38 -08004593ifeq ($(NO_SECURE),true)
4594
Nicolas Noble047b7272015-01-16 13:55:05 -08004595# You can't build secure targets if you don't have OpenSSL with ALPN.
4596
ctillercab52e72015-01-06 13:10:23 -08004597bins/$(CONFIG)/secure_endpoint_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004598
4599else
4600
nnoble5f2ecb32015-01-12 16:40:18 -08004601bins/$(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 -08004602 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004603 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004604 $(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 -08004605
nnoble69ac39f2014-12-12 15:43:38 -08004606endif
4607
Craig Tiller770f60a2015-01-12 17:44:43 -08004608objs/$(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 -08004609
Craig Tiller8f126a62015-01-15 08:50:19 -08004610deps_secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004611
nnoble69ac39f2014-12-12 15:43:38 -08004612ifneq ($(NO_SECURE),true)
4613ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004614-include $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004615endif
nnoble69ac39f2014-12-12 15:43:38 -08004616endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004617
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004618
4619HTTPCLI_FORMAT_REQUEST_TEST_SRC = \
4620 test/core/httpcli/format_request_test.c \
4621
ctillercab52e72015-01-06 13:10:23 -08004622HTTPCLI_FORMAT_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_FORMAT_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004623
nnoble69ac39f2014-12-12 15:43:38 -08004624ifeq ($(NO_SECURE),true)
4625
Nicolas Noble047b7272015-01-16 13:55:05 -08004626# You can't build secure targets if you don't have OpenSSL with ALPN.
4627
ctillercab52e72015-01-06 13:10:23 -08004628bins/$(CONFIG)/httpcli_format_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004629
4630else
4631
nnoble5f2ecb32015-01-12 16:40:18 -08004632bins/$(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 -08004633 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004634 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004635 $(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 -08004636
nnoble69ac39f2014-12-12 15:43:38 -08004637endif
4638
Craig Tiller770f60a2015-01-12 17:44:43 -08004639objs/$(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 -08004640
Craig Tiller8f126a62015-01-15 08:50:19 -08004641deps_httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004642
nnoble69ac39f2014-12-12 15:43:38 -08004643ifneq ($(NO_SECURE),true)
4644ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004645-include $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004646endif
nnoble69ac39f2014-12-12 15:43:38 -08004647endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004648
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004649
4650HTTPCLI_PARSER_TEST_SRC = \
4651 test/core/httpcli/parser_test.c \
4652
ctillercab52e72015-01-06 13:10:23 -08004653HTTPCLI_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004654
nnoble69ac39f2014-12-12 15:43:38 -08004655ifeq ($(NO_SECURE),true)
4656
Nicolas Noble047b7272015-01-16 13:55:05 -08004657# You can't build secure targets if you don't have OpenSSL with ALPN.
4658
ctillercab52e72015-01-06 13:10:23 -08004659bins/$(CONFIG)/httpcli_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004660
4661else
4662
nnoble5f2ecb32015-01-12 16:40:18 -08004663bins/$(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 -08004664 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004665 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004666 $(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 -08004667
nnoble69ac39f2014-12-12 15:43:38 -08004668endif
4669
Craig Tiller770f60a2015-01-12 17:44:43 -08004670objs/$(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 -08004671
Craig Tiller8f126a62015-01-15 08:50:19 -08004672deps_httpcli_parser_test: $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004673
nnoble69ac39f2014-12-12 15:43:38 -08004674ifneq ($(NO_SECURE),true)
4675ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004676-include $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004677endif
nnoble69ac39f2014-12-12 15:43:38 -08004678endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004679
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004680
4681HTTPCLI_TEST_SRC = \
4682 test/core/httpcli/httpcli_test.c \
4683
ctillercab52e72015-01-06 13:10:23 -08004684HTTPCLI_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004685
nnoble69ac39f2014-12-12 15:43:38 -08004686ifeq ($(NO_SECURE),true)
4687
Nicolas Noble047b7272015-01-16 13:55:05 -08004688# You can't build secure targets if you don't have OpenSSL with ALPN.
4689
ctillercab52e72015-01-06 13:10:23 -08004690bins/$(CONFIG)/httpcli_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004691
4692else
4693
nnoble5f2ecb32015-01-12 16:40:18 -08004694bins/$(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 -08004695 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004696 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004697 $(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 -08004698
nnoble69ac39f2014-12-12 15:43:38 -08004699endif
4700
Craig Tiller770f60a2015-01-12 17:44:43 -08004701objs/$(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 -08004702
Craig Tiller8f126a62015-01-15 08:50:19 -08004703deps_httpcli_test: $(HTTPCLI_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004704
nnoble69ac39f2014-12-12 15:43:38 -08004705ifneq ($(NO_SECURE),true)
4706ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004707-include $(HTTPCLI_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004708endif
nnoble69ac39f2014-12-12 15:43:38 -08004709endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004710
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004711
4712GRPC_CREDENTIALS_TEST_SRC = \
4713 test/core/security/credentials_test.c \
4714
ctillercab52e72015-01-06 13:10:23 -08004715GRPC_CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CREDENTIALS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004716
nnoble69ac39f2014-12-12 15:43:38 -08004717ifeq ($(NO_SECURE),true)
4718
Nicolas Noble047b7272015-01-16 13:55:05 -08004719# You can't build secure targets if you don't have OpenSSL with ALPN.
4720
ctillercab52e72015-01-06 13:10:23 -08004721bins/$(CONFIG)/grpc_credentials_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004722
4723else
4724
nnoble5f2ecb32015-01-12 16:40:18 -08004725bins/$(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 -08004726 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004727 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004728 $(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 -08004729
nnoble69ac39f2014-12-12 15:43:38 -08004730endif
4731
Craig Tiller770f60a2015-01-12 17:44:43 -08004732objs/$(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 -08004733
Craig Tiller8f126a62015-01-15 08:50:19 -08004734deps_grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004735
nnoble69ac39f2014-12-12 15:43:38 -08004736ifneq ($(NO_SECURE),true)
4737ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004738-include $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004739endif
nnoble69ac39f2014-12-12 15:43:38 -08004740endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004741
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004742
jboeuf1a809c02014-12-19 15:44:30 -08004743GRPC_FETCH_OAUTH2_SRC = \
4744 test/core/security/fetch_oauth2.c \
4745
ctillercab52e72015-01-06 13:10:23 -08004746GRPC_FETCH_OAUTH2_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_FETCH_OAUTH2_SRC))))
jboeuf1a809c02014-12-19 15:44:30 -08004747
4748ifeq ($(NO_SECURE),true)
4749
Nicolas Noble047b7272015-01-16 13:55:05 -08004750# You can't build secure targets if you don't have OpenSSL with ALPN.
4751
ctillercab52e72015-01-06 13:10:23 -08004752bins/$(CONFIG)/grpc_fetch_oauth2: openssl_dep_error
jboeuf1a809c02014-12-19 15:44:30 -08004753
4754else
4755
nnoble5f2ecb32015-01-12 16:40:18 -08004756bins/$(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 -08004757 $(E) "[LD] Linking $@"
4758 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004759 $(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 -08004760
4761endif
4762
Craig Tiller770f60a2015-01-12 17:44:43 -08004763objs/$(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 -08004764
Craig Tiller8f126a62015-01-15 08:50:19 -08004765deps_grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
jboeuf1a809c02014-12-19 15:44:30 -08004766
4767ifneq ($(NO_SECURE),true)
4768ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004769-include $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
jboeuf1a809c02014-12-19 15:44:30 -08004770endif
4771endif
4772
jboeuf1a809c02014-12-19 15:44:30 -08004773
jboeufbefd2652014-12-12 15:39:47 -08004774GRPC_BASE64_TEST_SRC = \
4775 test/core/security/base64_test.c \
4776
ctillercab52e72015-01-06 13:10:23 -08004777GRPC_BASE64_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BASE64_TEST_SRC))))
jboeufbefd2652014-12-12 15:39:47 -08004778
nnoble69ac39f2014-12-12 15:43:38 -08004779ifeq ($(NO_SECURE),true)
4780
Nicolas Noble047b7272015-01-16 13:55:05 -08004781# You can't build secure targets if you don't have OpenSSL with ALPN.
4782
ctillercab52e72015-01-06 13:10:23 -08004783bins/$(CONFIG)/grpc_base64_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004784
4785else
4786
nnoble5f2ecb32015-01-12 16:40:18 -08004787bins/$(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 -08004788 $(E) "[LD] Linking $@"
4789 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004790 $(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 -08004791
nnoble69ac39f2014-12-12 15:43:38 -08004792endif
4793
Craig Tiller770f60a2015-01-12 17:44:43 -08004794objs/$(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 -08004795
Craig Tiller8f126a62015-01-15 08:50:19 -08004796deps_grpc_base64_test: $(GRPC_BASE64_TEST_OBJS:.o=.dep)
jboeufbefd2652014-12-12 15:39:47 -08004797
nnoble69ac39f2014-12-12 15:43:38 -08004798ifneq ($(NO_SECURE),true)
4799ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004800-include $(GRPC_BASE64_TEST_OBJS:.o=.dep)
jboeufbefd2652014-12-12 15:39:47 -08004801endif
nnoble69ac39f2014-12-12 15:43:38 -08004802endif
jboeufbefd2652014-12-12 15:39:47 -08004803
jboeufbefd2652014-12-12 15:39:47 -08004804
4805GRPC_JSON_TOKEN_TEST_SRC = \
4806 test/core/security/json_token_test.c \
4807
ctillercab52e72015-01-06 13:10:23 -08004808GRPC_JSON_TOKEN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_JSON_TOKEN_TEST_SRC))))
jboeufbefd2652014-12-12 15:39:47 -08004809
nnoble69ac39f2014-12-12 15:43:38 -08004810ifeq ($(NO_SECURE),true)
4811
Nicolas Noble047b7272015-01-16 13:55:05 -08004812# You can't build secure targets if you don't have OpenSSL with ALPN.
4813
ctillercab52e72015-01-06 13:10:23 -08004814bins/$(CONFIG)/grpc_json_token_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004815
4816else
4817
nnoble5f2ecb32015-01-12 16:40:18 -08004818bins/$(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 -08004819 $(E) "[LD] Linking $@"
4820 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004821 $(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 -08004822
nnoble69ac39f2014-12-12 15:43:38 -08004823endif
4824
Craig Tiller770f60a2015-01-12 17:44:43 -08004825objs/$(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 -08004826
Craig Tiller8f126a62015-01-15 08:50:19 -08004827deps_grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
jboeufbefd2652014-12-12 15:39:47 -08004828
nnoble69ac39f2014-12-12 15:43:38 -08004829ifneq ($(NO_SECURE),true)
4830ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004831-include $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
jboeufbefd2652014-12-12 15:39:47 -08004832endif
nnoble69ac39f2014-12-12 15:43:38 -08004833endif
jboeufbefd2652014-12-12 15:39:47 -08004834
jboeufbefd2652014-12-12 15:39:47 -08004835
ctiller8919f602014-12-10 10:19:42 -08004836TIMEOUT_ENCODING_TEST_SRC = \
4837 test/core/transport/chttp2/timeout_encoding_test.c \
4838
ctillercab52e72015-01-06 13:10:23 -08004839TIMEOUT_ENCODING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMEOUT_ENCODING_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004840
nnoble69ac39f2014-12-12 15:43:38 -08004841ifeq ($(NO_SECURE),true)
4842
Nicolas Noble047b7272015-01-16 13:55:05 -08004843# You can't build secure targets if you don't have OpenSSL with ALPN.
4844
ctillercab52e72015-01-06 13:10:23 -08004845bins/$(CONFIG)/timeout_encoding_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004846
4847else
4848
nnoble5f2ecb32015-01-12 16:40:18 -08004849bins/$(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 -08004850 $(E) "[LD] Linking $@"
4851 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004852 $(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 -08004853
nnoble69ac39f2014-12-12 15:43:38 -08004854endif
4855
Craig Tiller770f60a2015-01-12 17:44:43 -08004856objs/$(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 -08004857
Craig Tiller8f126a62015-01-15 08:50:19 -08004858deps_timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004859
nnoble69ac39f2014-12-12 15:43:38 -08004860ifneq ($(NO_SECURE),true)
4861ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004862-include $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004863endif
nnoble69ac39f2014-12-12 15:43:38 -08004864endif
ctiller8919f602014-12-10 10:19:42 -08004865
ctiller8919f602014-12-10 10:19:42 -08004866
4867FD_POSIX_TEST_SRC = \
4868 test/core/iomgr/fd_posix_test.c \
4869
ctillercab52e72015-01-06 13:10:23 -08004870FD_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FD_POSIX_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004871
nnoble69ac39f2014-12-12 15:43:38 -08004872ifeq ($(NO_SECURE),true)
4873
Nicolas Noble047b7272015-01-16 13:55:05 -08004874# You can't build secure targets if you don't have OpenSSL with ALPN.
4875
ctillercab52e72015-01-06 13:10:23 -08004876bins/$(CONFIG)/fd_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004877
4878else
4879
nnoble5f2ecb32015-01-12 16:40:18 -08004880bins/$(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 -08004881 $(E) "[LD] Linking $@"
4882 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004883 $(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 -08004884
nnoble69ac39f2014-12-12 15:43:38 -08004885endif
4886
Craig Tiller770f60a2015-01-12 17:44:43 -08004887objs/$(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 -08004888
Craig Tiller8f126a62015-01-15 08:50:19 -08004889deps_fd_posix_test: $(FD_POSIX_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004890
nnoble69ac39f2014-12-12 15:43:38 -08004891ifneq ($(NO_SECURE),true)
4892ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004893-include $(FD_POSIX_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004894endif
nnoble69ac39f2014-12-12 15:43:38 -08004895endif
ctiller8919f602014-12-10 10:19:42 -08004896
ctiller8919f602014-12-10 10:19:42 -08004897
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004898FLING_STREAM_TEST_SRC = \
4899 test/core/fling/fling_stream_test.c \
4900
ctillercab52e72015-01-06 13:10:23 -08004901FLING_STREAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_STREAM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004902
nnoble69ac39f2014-12-12 15:43:38 -08004903ifeq ($(NO_SECURE),true)
4904
Nicolas Noble047b7272015-01-16 13:55:05 -08004905# You can't build secure targets if you don't have OpenSSL with ALPN.
4906
ctillercab52e72015-01-06 13:10:23 -08004907bins/$(CONFIG)/fling_stream_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004908
4909else
4910
nnoble5f2ecb32015-01-12 16:40:18 -08004911bins/$(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 -08004912 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004913 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004914 $(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 -08004915
nnoble69ac39f2014-12-12 15:43:38 -08004916endif
4917
Craig Tiller770f60a2015-01-12 17:44:43 -08004918objs/$(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 -08004919
Craig Tiller8f126a62015-01-15 08:50:19 -08004920deps_fling_stream_test: $(FLING_STREAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004921
nnoble69ac39f2014-12-12 15:43:38 -08004922ifneq ($(NO_SECURE),true)
4923ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004924-include $(FLING_STREAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004925endif
nnoble69ac39f2014-12-12 15:43:38 -08004926endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004927
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004928
4929LAME_CLIENT_TEST_SRC = \
4930 test/core/surface/lame_client_test.c \
4931
ctillercab52e72015-01-06 13:10:23 -08004932LAME_CLIENT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LAME_CLIENT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004933
nnoble69ac39f2014-12-12 15:43:38 -08004934ifeq ($(NO_SECURE),true)
4935
Nicolas Noble047b7272015-01-16 13:55:05 -08004936# You can't build secure targets if you don't have OpenSSL with ALPN.
4937
ctillercab52e72015-01-06 13:10:23 -08004938bins/$(CONFIG)/lame_client_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004939
4940else
4941
nnoble5f2ecb32015-01-12 16:40:18 -08004942bins/$(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 -08004943 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004944 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004945 $(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 -08004946
nnoble69ac39f2014-12-12 15:43:38 -08004947endif
4948
Craig Tiller770f60a2015-01-12 17:44:43 -08004949objs/$(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 -08004950
Craig Tiller8f126a62015-01-15 08:50:19 -08004951deps_lame_client_test: $(LAME_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004952
nnoble69ac39f2014-12-12 15:43:38 -08004953ifneq ($(NO_SECURE),true)
4954ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004955-include $(LAME_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004956endif
nnoble69ac39f2014-12-12 15:43:38 -08004957endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004958
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004959
4960THREAD_POOL_TEST_SRC = \
4961 test/cpp/server/thread_pool_test.cc \
4962
ctillercab52e72015-01-06 13:10:23 -08004963THREAD_POOL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(THREAD_POOL_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004964
nnoble69ac39f2014-12-12 15:43:38 -08004965ifeq ($(NO_SECURE),true)
4966
Nicolas Noble047b7272015-01-16 13:55:05 -08004967# You can't build secure targets if you don't have OpenSSL with ALPN.
4968
ctillercab52e72015-01-06 13:10:23 -08004969bins/$(CONFIG)/thread_pool_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004970
4971else
4972
nnoble5f2ecb32015-01-12 16:40:18 -08004973bins/$(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 -08004974 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004975 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004976 $(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 -08004977
nnoble69ac39f2014-12-12 15:43:38 -08004978endif
4979
Craig Tiller770f60a2015-01-12 17:44:43 -08004980objs/$(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 -08004981
Craig Tiller8f126a62015-01-15 08:50:19 -08004982deps_thread_pool_test: $(THREAD_POOL_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004983
nnoble69ac39f2014-12-12 15:43:38 -08004984ifneq ($(NO_SECURE),true)
4985ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004986-include $(THREAD_POOL_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004987endif
nnoble69ac39f2014-12-12 15:43:38 -08004988endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004989
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004990
4991STATUS_TEST_SRC = \
4992 test/cpp/util/status_test.cc \
4993
ctillercab52e72015-01-06 13:10:23 -08004994STATUS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(STATUS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004995
nnoble69ac39f2014-12-12 15:43:38 -08004996ifeq ($(NO_SECURE),true)
4997
Nicolas Noble047b7272015-01-16 13:55:05 -08004998# You can't build secure targets if you don't have OpenSSL with ALPN.
4999
ctillercab52e72015-01-06 13:10:23 -08005000bins/$(CONFIG)/status_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005001
5002else
5003
nnoble5f2ecb32015-01-12 16:40:18 -08005004bins/$(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 -08005005 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005006 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005007 $(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 -08005008
nnoble69ac39f2014-12-12 15:43:38 -08005009endif
5010
Craig Tiller770f60a2015-01-12 17:44:43 -08005011objs/$(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 -08005012
Craig Tiller8f126a62015-01-15 08:50:19 -08005013deps_status_test: $(STATUS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005014
nnoble69ac39f2014-12-12 15:43:38 -08005015ifneq ($(NO_SECURE),true)
5016ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005017-include $(STATUS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005018endif
nnoble69ac39f2014-12-12 15:43:38 -08005019endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005020
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005021
ctiller8919f602014-12-10 10:19:42 -08005022SYNC_CLIENT_ASYNC_SERVER_TEST_SRC = \
5023 test/cpp/end2end/sync_client_async_server_test.cc \
5024
ctillercab52e72015-01-06 13:10:23 -08005025SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SYNC_CLIENT_ASYNC_SERVER_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005026
nnoble69ac39f2014-12-12 15:43:38 -08005027ifeq ($(NO_SECURE),true)
5028
Nicolas Noble047b7272015-01-16 13:55:05 -08005029# You can't build secure targets if you don't have OpenSSL with ALPN.
5030
ctillercab52e72015-01-06 13:10:23 -08005031bins/$(CONFIG)/sync_client_async_server_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005032
5033else
5034
Craig Tiller770f60a2015-01-12 17:44:43 -08005035bins/$(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 -08005036 $(E) "[LD] Linking $@"
5037 $(Q) mkdir -p `dirname $@`
Craig Tiller770f60a2015-01-12 17:44:43 -08005038 $(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 -08005039
nnoble69ac39f2014-12-12 15:43:38 -08005040endif
5041
Craig Tiller770f60a2015-01-12 17:44:43 -08005042objs/$(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 -08005043
Craig Tiller8f126a62015-01-15 08:50:19 -08005044deps_sync_client_async_server_test: $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005045
nnoble69ac39f2014-12-12 15:43:38 -08005046ifneq ($(NO_SECURE),true)
5047ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005048-include $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005049endif
nnoble69ac39f2014-12-12 15:43:38 -08005050endif
ctiller8919f602014-12-10 10:19:42 -08005051
ctiller8919f602014-12-10 10:19:42 -08005052
5053QPS_CLIENT_SRC = \
Craig Tillerbf2659f2015-01-13 12:27:06 -08005054 gens/test/cpp/qps/qpstest.pb.cc \
vpai80b6d012014-12-17 11:47:32 -08005055 test/cpp/qps/client.cc \
ctiller8919f602014-12-10 10:19:42 -08005056
ctillercab52e72015-01-06 13:10:23 -08005057QPS_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_CLIENT_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005058
nnoble69ac39f2014-12-12 15:43:38 -08005059ifeq ($(NO_SECURE),true)
5060
Nicolas Noble047b7272015-01-16 13:55:05 -08005061# You can't build secure targets if you don't have OpenSSL with ALPN.
5062
ctillercab52e72015-01-06 13:10:23 -08005063bins/$(CONFIG)/qps_client: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005064
5065else
5066
nnoble5f2ecb32015-01-12 16:40:18 -08005067bins/$(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 -08005068 $(E) "[LD] Linking $@"
5069 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005070 $(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 -08005071
nnoble69ac39f2014-12-12 15:43:38 -08005072endif
5073
Craig Tillerbf2659f2015-01-13 12:27:06 -08005074objs/$(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 -08005075objs/$(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 -08005076
Craig Tiller8f126a62015-01-15 08:50:19 -08005077deps_qps_client: $(QPS_CLIENT_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005078
nnoble69ac39f2014-12-12 15:43:38 -08005079ifneq ($(NO_SECURE),true)
5080ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005081-include $(QPS_CLIENT_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005082endif
nnoble69ac39f2014-12-12 15:43:38 -08005083endif
ctiller8919f602014-12-10 10:19:42 -08005084
ctiller8919f602014-12-10 10:19:42 -08005085
5086QPS_SERVER_SRC = \
Craig Tillerbf2659f2015-01-13 12:27:06 -08005087 gens/test/cpp/qps/qpstest.pb.cc \
vpai80b6d012014-12-17 11:47:32 -08005088 test/cpp/qps/server.cc \
ctiller8919f602014-12-10 10:19:42 -08005089
ctillercab52e72015-01-06 13:10:23 -08005090QPS_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_SERVER_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005091
nnoble69ac39f2014-12-12 15:43:38 -08005092ifeq ($(NO_SECURE),true)
5093
Nicolas Noble047b7272015-01-16 13:55:05 -08005094# You can't build secure targets if you don't have OpenSSL with ALPN.
5095
ctillercab52e72015-01-06 13:10:23 -08005096bins/$(CONFIG)/qps_server: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005097
5098else
5099
nnoble5f2ecb32015-01-12 16:40:18 -08005100bins/$(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 -08005101 $(E) "[LD] Linking $@"
5102 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005103 $(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 -08005104
nnoble69ac39f2014-12-12 15:43:38 -08005105endif
5106
Craig Tillerbf2659f2015-01-13 12:27:06 -08005107objs/$(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 -08005108objs/$(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 -08005109
Craig Tiller8f126a62015-01-15 08:50:19 -08005110deps_qps_server: $(QPS_SERVER_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005111
nnoble69ac39f2014-12-12 15:43:38 -08005112ifneq ($(NO_SECURE),true)
5113ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005114-include $(QPS_SERVER_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005115endif
nnoble69ac39f2014-12-12 15:43:38 -08005116endif
ctiller8919f602014-12-10 10:19:42 -08005117
ctiller8919f602014-12-10 10:19:42 -08005118
5119INTEROP_SERVER_SRC = \
nnoble72309c62014-12-12 11:42:26 -08005120 gens/test/cpp/interop/empty.pb.cc \
5121 gens/test/cpp/interop/messages.pb.cc \
5122 gens/test/cpp/interop/test.pb.cc \
ctiller8919f602014-12-10 10:19:42 -08005123 test/cpp/interop/server.cc \
5124
ctillercab52e72015-01-06 13:10:23 -08005125INTEROP_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_SERVER_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005126
nnoble69ac39f2014-12-12 15:43:38 -08005127ifeq ($(NO_SECURE),true)
5128
Nicolas Noble047b7272015-01-16 13:55:05 -08005129# You can't build secure targets if you don't have OpenSSL with ALPN.
5130
ctillercab52e72015-01-06 13:10:23 -08005131bins/$(CONFIG)/interop_server: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005132
5133else
5134
nnoble5f2ecb32015-01-12 16:40:18 -08005135bins/$(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 -08005136 $(E) "[LD] Linking $@"
5137 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005138 $(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 -08005139
nnoble69ac39f2014-12-12 15:43:38 -08005140endif
5141
Craig Tiller770f60a2015-01-12 17:44:43 -08005142objs/$(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
5143objs/$(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
5144objs/$(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
5145objs/$(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 -08005146
Craig Tiller8f126a62015-01-15 08:50:19 -08005147deps_interop_server: $(INTEROP_SERVER_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005148
nnoble69ac39f2014-12-12 15:43:38 -08005149ifneq ($(NO_SECURE),true)
5150ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005151-include $(INTEROP_SERVER_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005152endif
nnoble69ac39f2014-12-12 15:43:38 -08005153endif
ctiller8919f602014-12-10 10:19:42 -08005154
ctiller8919f602014-12-10 10:19:42 -08005155
5156INTEROP_CLIENT_SRC = \
nnoble72309c62014-12-12 11:42:26 -08005157 gens/test/cpp/interop/empty.pb.cc \
5158 gens/test/cpp/interop/messages.pb.cc \
5159 gens/test/cpp/interop/test.pb.cc \
ctiller8919f602014-12-10 10:19:42 -08005160 test/cpp/interop/client.cc \
5161
ctillercab52e72015-01-06 13:10:23 -08005162INTEROP_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_CLIENT_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005163
nnoble69ac39f2014-12-12 15:43:38 -08005164ifeq ($(NO_SECURE),true)
5165
Nicolas Noble047b7272015-01-16 13:55:05 -08005166# You can't build secure targets if you don't have OpenSSL with ALPN.
5167
ctillercab52e72015-01-06 13:10:23 -08005168bins/$(CONFIG)/interop_client: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005169
5170else
5171
nnoble5f2ecb32015-01-12 16:40:18 -08005172bins/$(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 -08005173 $(E) "[LD] Linking $@"
5174 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005175 $(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 -08005176
nnoble69ac39f2014-12-12 15:43:38 -08005177endif
5178
Craig Tiller770f60a2015-01-12 17:44:43 -08005179objs/$(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
5180objs/$(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
5181objs/$(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
5182objs/$(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 -08005183
Craig Tiller8f126a62015-01-15 08:50:19 -08005184deps_interop_client: $(INTEROP_CLIENT_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005185
nnoble69ac39f2014-12-12 15:43:38 -08005186ifneq ($(NO_SECURE),true)
5187ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005188-include $(INTEROP_CLIENT_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005189endif
nnoble69ac39f2014-12-12 15:43:38 -08005190endif
ctiller8919f602014-12-10 10:19:42 -08005191
ctiller8919f602014-12-10 10:19:42 -08005192
5193END2END_TEST_SRC = \
5194 test/cpp/end2end/end2end_test.cc \
5195
ctillercab52e72015-01-06 13:10:23 -08005196END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(END2END_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005197
nnoble69ac39f2014-12-12 15:43:38 -08005198ifeq ($(NO_SECURE),true)
5199
Nicolas Noble047b7272015-01-16 13:55:05 -08005200# You can't build secure targets if you don't have OpenSSL with ALPN.
5201
ctillercab52e72015-01-06 13:10:23 -08005202bins/$(CONFIG)/end2end_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005203
5204else
5205
nnoble5f2ecb32015-01-12 16:40:18 -08005206bins/$(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 -08005207 $(E) "[LD] Linking $@"
5208 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005209 $(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 -08005210
nnoble69ac39f2014-12-12 15:43:38 -08005211endif
5212
Craig Tiller770f60a2015-01-12 17:44:43 -08005213objs/$(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 -08005214
Craig Tiller8f126a62015-01-15 08:50:19 -08005215deps_end2end_test: $(END2END_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005216
nnoble69ac39f2014-12-12 15:43:38 -08005217ifneq ($(NO_SECURE),true)
5218ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005219-include $(END2END_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005220endif
nnoble69ac39f2014-12-12 15:43:38 -08005221endif
ctiller8919f602014-12-10 10:19:42 -08005222
ctiller8919f602014-12-10 10:19:42 -08005223
yangg59dfc902014-12-19 14:00:14 -08005224CHANNEL_ARGUMENTS_TEST_SRC = \
5225 test/cpp/client/channel_arguments_test.cc \
5226
ctillercab52e72015-01-06 13:10:23 -08005227CHANNEL_ARGUMENTS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNEL_ARGUMENTS_TEST_SRC))))
yangg59dfc902014-12-19 14:00:14 -08005228
5229ifeq ($(NO_SECURE),true)
5230
Nicolas Noble047b7272015-01-16 13:55:05 -08005231# You can't build secure targets if you don't have OpenSSL with ALPN.
5232
ctillercab52e72015-01-06 13:10:23 -08005233bins/$(CONFIG)/channel_arguments_test: openssl_dep_error
yangg59dfc902014-12-19 14:00:14 -08005234
5235else
5236
Craig Tillerd4773f52015-01-12 16:38:47 -08005237bins/$(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 -08005238 $(E) "[LD] Linking $@"
5239 $(Q) mkdir -p `dirname $@`
Craig Tillerd4773f52015-01-12 16:38:47 -08005240 $(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 -08005241
5242endif
5243
Craig Tillerd4773f52015-01-12 16:38:47 -08005244objs/$(CONFIG)/test/cpp/client/channel_arguments_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5245
Craig Tiller8f126a62015-01-15 08:50:19 -08005246deps_channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
yangg59dfc902014-12-19 14:00:14 -08005247
5248ifneq ($(NO_SECURE),true)
5249ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005250-include $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
yangg59dfc902014-12-19 14:00:14 -08005251endif
5252endif
5253
yangg59dfc902014-12-19 14:00:14 -08005254
yangg4105e2b2015-01-09 14:19:44 -08005255CREDENTIALS_TEST_SRC = \
5256 test/cpp/client/credentials_test.cc \
5257
5258CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CREDENTIALS_TEST_SRC))))
yangg4105e2b2015-01-09 14:19:44 -08005259
5260ifeq ($(NO_SECURE),true)
5261
Nicolas Noble047b7272015-01-16 13:55:05 -08005262# You can't build secure targets if you don't have OpenSSL with ALPN.
5263
yangg4105e2b2015-01-09 14:19:44 -08005264bins/$(CONFIG)/credentials_test: openssl_dep_error
5265
5266else
5267
Craig Tillerd4773f52015-01-12 16:38:47 -08005268bins/$(CONFIG)/credentials_test: $(CREDENTIALS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
yangg4105e2b2015-01-09 14:19:44 -08005269 $(E) "[LD] Linking $@"
5270 $(Q) mkdir -p `dirname $@`
Craig Tillerd4773f52015-01-12 16:38:47 -08005271 $(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 -08005272
5273endif
5274
Craig Tillerd4773f52015-01-12 16:38:47 -08005275objs/$(CONFIG)/test/cpp/client/credentials_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5276
Craig Tiller8f126a62015-01-15 08:50:19 -08005277deps_credentials_test: $(CREDENTIALS_TEST_OBJS:.o=.dep)
yangg4105e2b2015-01-09 14:19:44 -08005278
5279ifneq ($(NO_SECURE),true)
5280ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005281-include $(CREDENTIALS_TEST_OBJS:.o=.dep)
yangg4105e2b2015-01-09 14:19:44 -08005282endif
5283endif
5284
yangg4105e2b2015-01-09 14:19:44 -08005285
ctiller8919f602014-12-10 10:19:42 -08005286ALARM_TEST_SRC = \
5287 test/core/iomgr/alarm_test.c \
5288
ctillercab52e72015-01-06 13:10:23 -08005289ALARM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005290
nnoble69ac39f2014-12-12 15:43:38 -08005291ifeq ($(NO_SECURE),true)
5292
Nicolas Noble047b7272015-01-16 13:55:05 -08005293# You can't build secure targets if you don't have OpenSSL with ALPN.
5294
ctillercab52e72015-01-06 13:10:23 -08005295bins/$(CONFIG)/alarm_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005296
5297else
5298
nnoble5f2ecb32015-01-12 16:40:18 -08005299bins/$(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 -08005300 $(E) "[LD] Linking $@"
5301 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005302 $(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 -08005303
nnoble69ac39f2014-12-12 15:43:38 -08005304endif
5305
Craig Tiller770f60a2015-01-12 17:44:43 -08005306objs/$(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 -08005307
Craig Tiller8f126a62015-01-15 08:50:19 -08005308deps_alarm_test: $(ALARM_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005309
nnoble69ac39f2014-12-12 15:43:38 -08005310ifneq ($(NO_SECURE),true)
5311ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005312-include $(ALARM_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005313endif
nnoble69ac39f2014-12-12 15:43:38 -08005314endif
ctiller8919f602014-12-10 10:19:42 -08005315
ctiller8919f602014-12-10 10:19:42 -08005316
ctiller3bf466f2014-12-19 16:21:57 -08005317ALARM_LIST_TEST_SRC = \
5318 test/core/iomgr/alarm_list_test.c \
5319
ctillercab52e72015-01-06 13:10:23 -08005320ALARM_LIST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_LIST_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08005321
5322ifeq ($(NO_SECURE),true)
5323
Nicolas Noble047b7272015-01-16 13:55:05 -08005324# You can't build secure targets if you don't have OpenSSL with ALPN.
5325
ctillercab52e72015-01-06 13:10:23 -08005326bins/$(CONFIG)/alarm_list_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08005327
5328else
5329
nnoble5f2ecb32015-01-12 16:40:18 -08005330bins/$(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 -08005331 $(E) "[LD] Linking $@"
5332 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005333 $(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 -08005334
5335endif
5336
Craig Tiller770f60a2015-01-12 17:44:43 -08005337objs/$(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 -08005338
Craig Tiller8f126a62015-01-15 08:50:19 -08005339deps_alarm_list_test: $(ALARM_LIST_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005340
5341ifneq ($(NO_SECURE),true)
5342ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005343-include $(ALARM_LIST_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005344endif
5345endif
5346
ctiller3bf466f2014-12-19 16:21:57 -08005347
5348ALARM_HEAP_TEST_SRC = \
5349 test/core/iomgr/alarm_heap_test.c \
5350
ctillercab52e72015-01-06 13:10:23 -08005351ALARM_HEAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_HEAP_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08005352
5353ifeq ($(NO_SECURE),true)
5354
Nicolas Noble047b7272015-01-16 13:55:05 -08005355# You can't build secure targets if you don't have OpenSSL with ALPN.
5356
ctillercab52e72015-01-06 13:10:23 -08005357bins/$(CONFIG)/alarm_heap_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08005358
5359else
5360
nnoble5f2ecb32015-01-12 16:40:18 -08005361bins/$(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 -08005362 $(E) "[LD] Linking $@"
5363 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005364 $(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 -08005365
5366endif
5367
Craig Tiller770f60a2015-01-12 17:44:43 -08005368objs/$(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 -08005369
Craig Tiller8f126a62015-01-15 08:50:19 -08005370deps_alarm_heap_test: $(ALARM_HEAP_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005371
5372ifneq ($(NO_SECURE),true)
5373ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005374-include $(ALARM_HEAP_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005375endif
5376endif
5377
ctiller3bf466f2014-12-19 16:21:57 -08005378
ctiller8919f602014-12-10 10:19:42 -08005379TIME_TEST_SRC = \
5380 test/core/support/time_test.c \
5381
ctillercab52e72015-01-06 13:10:23 -08005382TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005383
nnoble69ac39f2014-12-12 15:43:38 -08005384ifeq ($(NO_SECURE),true)
5385
Nicolas Noble047b7272015-01-16 13:55:05 -08005386# You can't build secure targets if you don't have OpenSSL with ALPN.
5387
ctillercab52e72015-01-06 13:10:23 -08005388bins/$(CONFIG)/time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005389
5390else
5391
nnoble5f2ecb32015-01-12 16:40:18 -08005392bins/$(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 -08005393 $(E) "[LD] Linking $@"
5394 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005395 $(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 -08005396
nnoble69ac39f2014-12-12 15:43:38 -08005397endif
5398
Craig Tiller770f60a2015-01-12 17:44:43 -08005399objs/$(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 -08005400
Craig Tiller8f126a62015-01-15 08:50:19 -08005401deps_time_test: $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005402
nnoble69ac39f2014-12-12 15:43:38 -08005403ifneq ($(NO_SECURE),true)
5404ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005405-include $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005406endif
nnoble69ac39f2014-12-12 15:43:38 -08005407endif
ctiller8919f602014-12-10 10:19:42 -08005408
ctiller8919f602014-12-10 10:19:42 -08005409
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005410CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_SRC = \
5411
ctillercab52e72015-01-06 13:10:23 -08005412CHTTP2_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 -08005413
nnoble69ac39f2014-12-12 15:43:38 -08005414ifeq ($(NO_SECURE),true)
5415
Nicolas Noble047b7272015-01-16 13:55:05 -08005416# You can't build secure targets if you don't have OpenSSL with ALPN.
5417
ctillercab52e72015-01-06 13:10:23 -08005418bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005419
5420else
5421
nnoble5f2ecb32015-01-12 16:40:18 -08005422bins/$(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 -08005423 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005424 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005425 $(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 -08005426
nnoble69ac39f2014-12-12 15:43:38 -08005427endif
5428
Craig Tillerd4773f52015-01-12 16:38:47 -08005429
Craig Tiller8f126a62015-01-15 08:50:19 -08005430deps_chttp2_fake_security_cancel_after_accept_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005431
nnoble69ac39f2014-12-12 15:43:38 -08005432ifneq ($(NO_SECURE),true)
5433ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005434-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005435endif
nnoble69ac39f2014-12-12 15:43:38 -08005436endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005437
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005438
5439CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
5440
ctillercab52e72015-01-06 13:10:23 -08005441CHTTP2_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 -08005442
nnoble69ac39f2014-12-12 15:43:38 -08005443ifeq ($(NO_SECURE),true)
5444
Nicolas Noble047b7272015-01-16 13:55:05 -08005445# You can't build secure targets if you don't have OpenSSL with ALPN.
5446
ctillercab52e72015-01-06 13:10:23 -08005447bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005448
5449else
5450
nnoble5f2ecb32015-01-12 16:40:18 -08005451bins/$(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 -08005452 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005453 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005454 $(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 -08005455
nnoble69ac39f2014-12-12 15:43:38 -08005456endif
5457
Craig Tillerd4773f52015-01-12 16:38:47 -08005458
Craig Tiller8f126a62015-01-15 08:50:19 -08005459deps_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 -08005460
nnoble69ac39f2014-12-12 15:43:38 -08005461ifneq ($(NO_SECURE),true)
5462ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005463-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005464endif
nnoble69ac39f2014-12-12 15:43:38 -08005465endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005466
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005467
5468CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_SRC = \
5469
ctillercab52e72015-01-06 13:10:23 -08005470CHTTP2_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 -08005471
nnoble69ac39f2014-12-12 15:43:38 -08005472ifeq ($(NO_SECURE),true)
5473
Nicolas Noble047b7272015-01-16 13:55:05 -08005474# You can't build secure targets if you don't have OpenSSL with ALPN.
5475
ctillercab52e72015-01-06 13:10:23 -08005476bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005477
5478else
5479
nnoble5f2ecb32015-01-12 16:40:18 -08005480bins/$(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 -08005481 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005482 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005483 $(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 -08005484
nnoble69ac39f2014-12-12 15:43:38 -08005485endif
5486
Craig Tillerd4773f52015-01-12 16:38:47 -08005487
Craig Tiller8f126a62015-01-15 08:50:19 -08005488deps_chttp2_fake_security_cancel_after_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005489
nnoble69ac39f2014-12-12 15:43:38 -08005490ifneq ($(NO_SECURE),true)
5491ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005492-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005493endif
nnoble69ac39f2014-12-12 15:43:38 -08005494endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005495
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005496
5497CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_SRC = \
5498
ctillercab52e72015-01-06 13:10:23 -08005499CHTTP2_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 -08005500
nnoble69ac39f2014-12-12 15:43:38 -08005501ifeq ($(NO_SECURE),true)
5502
Nicolas Noble047b7272015-01-16 13:55:05 -08005503# You can't build secure targets if you don't have OpenSSL with ALPN.
5504
ctillercab52e72015-01-06 13:10:23 -08005505bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005506
5507else
5508
nnoble5f2ecb32015-01-12 16:40:18 -08005509bins/$(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 -08005510 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005511 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005512 $(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 -08005513
nnoble69ac39f2014-12-12 15:43:38 -08005514endif
5515
Craig Tillerd4773f52015-01-12 16:38:47 -08005516
Craig Tiller8f126a62015-01-15 08:50:19 -08005517deps_chttp2_fake_security_cancel_before_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005518
nnoble69ac39f2014-12-12 15:43:38 -08005519ifneq ($(NO_SECURE),true)
5520ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005521-include $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005522endif
nnoble69ac39f2014-12-12 15:43:38 -08005523endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005524
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005525
5526CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_SRC = \
5527
ctillercab52e72015-01-06 13:10:23 -08005528CHTTP2_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 -08005529
nnoble69ac39f2014-12-12 15:43:38 -08005530ifeq ($(NO_SECURE),true)
5531
Nicolas Noble047b7272015-01-16 13:55:05 -08005532# You can't build secure targets if you don't have OpenSSL with ALPN.
5533
ctillercab52e72015-01-06 13:10:23 -08005534bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005535
5536else
5537
nnoble5f2ecb32015-01-12 16:40:18 -08005538bins/$(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 -08005539 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005540 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005541 $(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 -08005542
nnoble69ac39f2014-12-12 15:43:38 -08005543endif
5544
Craig Tillerd4773f52015-01-12 16:38:47 -08005545
Craig Tiller8f126a62015-01-15 08:50:19 -08005546deps_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 -08005547
nnoble69ac39f2014-12-12 15:43:38 -08005548ifneq ($(NO_SECURE),true)
5549ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005550-include $(CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005551endif
nnoble69ac39f2014-12-12 15:43:38 -08005552endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005553
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005554
hongyu24200d32015-01-08 15:13:49 -08005555CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
5556
5557CHTTP2_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 -08005558
5559ifeq ($(NO_SECURE),true)
5560
Nicolas Noble047b7272015-01-16 13:55:05 -08005561# You can't build secure targets if you don't have OpenSSL with ALPN.
5562
hongyu24200d32015-01-08 15:13:49 -08005563bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test: openssl_dep_error
5564
5565else
5566
nnoble5f2ecb32015-01-12 16:40:18 -08005567bins/$(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 -08005568 $(E) "[LD] Linking $@"
5569 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005570 $(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 -08005571
5572endif
5573
Craig Tillerd4773f52015-01-12 16:38:47 -08005574
Craig Tiller8f126a62015-01-15 08:50:19 -08005575deps_chttp2_fake_security_census_simple_request_test: $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005576
5577ifneq ($(NO_SECURE),true)
5578ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005579-include $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005580endif
5581endif
5582
hongyu24200d32015-01-08 15:13:49 -08005583
ctillerc6d61c42014-12-15 14:52:08 -08005584CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_SRC = \
5585
ctillercab52e72015-01-06 13:10:23 -08005586CHTTP2_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 -08005587
5588ifeq ($(NO_SECURE),true)
5589
Nicolas Noble047b7272015-01-16 13:55:05 -08005590# You can't build secure targets if you don't have OpenSSL with ALPN.
5591
ctillercab52e72015-01-06 13:10:23 -08005592bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08005593
5594else
5595
nnoble5f2ecb32015-01-12 16:40:18 -08005596bins/$(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 -08005597 $(E) "[LD] Linking $@"
5598 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005599 $(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 -08005600
5601endif
5602
Craig Tillerd4773f52015-01-12 16:38:47 -08005603
Craig Tiller8f126a62015-01-15 08:50:19 -08005604deps_chttp2_fake_security_disappearing_server_test: $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005605
5606ifneq ($(NO_SECURE),true)
5607ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005608-include $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005609endif
5610endif
5611
ctillerc6d61c42014-12-15 14:52:08 -08005612
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005613CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
5614
ctillercab52e72015-01-06 13:10:23 -08005615CHTTP2_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 -08005616
nnoble69ac39f2014-12-12 15:43:38 -08005617ifeq ($(NO_SECURE),true)
5618
Nicolas Noble047b7272015-01-16 13:55:05 -08005619# You can't build secure targets if you don't have OpenSSL with ALPN.
5620
ctillercab52e72015-01-06 13:10:23 -08005621bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005622
5623else
5624
nnoble5f2ecb32015-01-12 16:40:18 -08005625bins/$(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 -08005626 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005627 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005628 $(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 -08005629
nnoble69ac39f2014-12-12 15:43:38 -08005630endif
5631
Craig Tillerd4773f52015-01-12 16:38:47 -08005632
Craig Tiller8f126a62015-01-15 08:50:19 -08005633deps_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 -08005634
nnoble69ac39f2014-12-12 15:43:38 -08005635ifneq ($(NO_SECURE),true)
5636ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005637-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005638endif
nnoble69ac39f2014-12-12 15:43:38 -08005639endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005640
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005641
5642CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
5643
ctillercab52e72015-01-06 13:10:23 -08005644CHTTP2_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 -08005645
nnoble69ac39f2014-12-12 15:43:38 -08005646ifeq ($(NO_SECURE),true)
5647
Nicolas Noble047b7272015-01-16 13:55:05 -08005648# You can't build secure targets if you don't have OpenSSL with ALPN.
5649
ctillercab52e72015-01-06 13:10:23 -08005650bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005651
5652else
5653
nnoble5f2ecb32015-01-12 16:40:18 -08005654bins/$(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 -08005655 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005656 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005657 $(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 -08005658
nnoble69ac39f2014-12-12 15:43:38 -08005659endif
5660
Craig Tillerd4773f52015-01-12 16:38:47 -08005661
Craig Tiller8f126a62015-01-15 08:50:19 -08005662deps_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 -08005663
nnoble69ac39f2014-12-12 15:43:38 -08005664ifneq ($(NO_SECURE),true)
5665ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005666-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005667endif
nnoble69ac39f2014-12-12 15:43:38 -08005668endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005669
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005670
5671CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_SRC = \
5672
ctillercab52e72015-01-06 13:10:23 -08005673CHTTP2_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 -08005674
nnoble69ac39f2014-12-12 15:43:38 -08005675ifeq ($(NO_SECURE),true)
5676
Nicolas Noble047b7272015-01-16 13:55:05 -08005677# You can't build secure targets if you don't have OpenSSL with ALPN.
5678
ctillercab52e72015-01-06 13:10:23 -08005679bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005680
5681else
5682
nnoble5f2ecb32015-01-12 16:40:18 -08005683bins/$(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 -08005684 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005685 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005686 $(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 -08005687
nnoble69ac39f2014-12-12 15:43:38 -08005688endif
5689
Craig Tillerd4773f52015-01-12 16:38:47 -08005690
Craig Tiller8f126a62015-01-15 08:50:19 -08005691deps_chttp2_fake_security_invoke_large_request_test: $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005692
nnoble69ac39f2014-12-12 15:43:38 -08005693ifneq ($(NO_SECURE),true)
5694ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005695-include $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005696endif
nnoble69ac39f2014-12-12 15:43:38 -08005697endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005698
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005699
5700CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_SRC = \
5701
ctillercab52e72015-01-06 13:10:23 -08005702CHTTP2_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 -08005703
nnoble69ac39f2014-12-12 15:43:38 -08005704ifeq ($(NO_SECURE),true)
5705
Nicolas Noble047b7272015-01-16 13:55:05 -08005706# You can't build secure targets if you don't have OpenSSL with ALPN.
5707
ctillercab52e72015-01-06 13:10:23 -08005708bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005709
5710else
5711
nnoble5f2ecb32015-01-12 16:40:18 -08005712bins/$(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 -08005713 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005714 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005715 $(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 -08005716
nnoble69ac39f2014-12-12 15:43:38 -08005717endif
5718
Craig Tillerd4773f52015-01-12 16:38:47 -08005719
Craig Tiller8f126a62015-01-15 08:50:19 -08005720deps_chttp2_fake_security_max_concurrent_streams_test: $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005721
nnoble69ac39f2014-12-12 15:43:38 -08005722ifneq ($(NO_SECURE),true)
5723ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005724-include $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005725endif
nnoble69ac39f2014-12-12 15:43:38 -08005726endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005727
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005728
5729CHTTP2_FAKE_SECURITY_NO_OP_TEST_SRC = \
5730
ctillercab52e72015-01-06 13:10:23 -08005731CHTTP2_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 -08005732
nnoble69ac39f2014-12-12 15:43:38 -08005733ifeq ($(NO_SECURE),true)
5734
Nicolas Noble047b7272015-01-16 13:55:05 -08005735# You can't build secure targets if you don't have OpenSSL with ALPN.
5736
ctillercab52e72015-01-06 13:10:23 -08005737bins/$(CONFIG)/chttp2_fake_security_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005738
5739else
5740
nnoble5f2ecb32015-01-12 16:40:18 -08005741bins/$(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 -08005742 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005743 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005744 $(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 -08005745
nnoble69ac39f2014-12-12 15:43:38 -08005746endif
5747
Craig Tillerd4773f52015-01-12 16:38:47 -08005748
Craig Tiller8f126a62015-01-15 08:50:19 -08005749deps_chttp2_fake_security_no_op_test: $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005750
nnoble69ac39f2014-12-12 15:43:38 -08005751ifneq ($(NO_SECURE),true)
5752ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005753-include $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005754endif
nnoble69ac39f2014-12-12 15:43:38 -08005755endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005756
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005757
5758CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_SRC = \
5759
ctillercab52e72015-01-06 13:10:23 -08005760CHTTP2_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 -08005761
nnoble69ac39f2014-12-12 15:43:38 -08005762ifeq ($(NO_SECURE),true)
5763
Nicolas Noble047b7272015-01-16 13:55:05 -08005764# You can't build secure targets if you don't have OpenSSL with ALPN.
5765
ctillercab52e72015-01-06 13:10:23 -08005766bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005767
5768else
5769
nnoble5f2ecb32015-01-12 16:40:18 -08005770bins/$(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 -08005771 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005772 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005773 $(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 -08005774
nnoble69ac39f2014-12-12 15:43:38 -08005775endif
5776
Craig Tillerd4773f52015-01-12 16:38:47 -08005777
Craig Tiller8f126a62015-01-15 08:50:19 -08005778deps_chttp2_fake_security_ping_pong_streaming_test: $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005779
nnoble69ac39f2014-12-12 15:43:38 -08005780ifneq ($(NO_SECURE),true)
5781ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005782-include $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005783endif
nnoble69ac39f2014-12-12 15:43:38 -08005784endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005785
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005786
ctiller33023c42014-12-12 16:28:33 -08005787CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
5788
ctillercab52e72015-01-06 13:10:23 -08005789CHTTP2_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 -08005790
5791ifeq ($(NO_SECURE),true)
5792
Nicolas Noble047b7272015-01-16 13:55:05 -08005793# You can't build secure targets if you don't have OpenSSL with ALPN.
5794
ctillercab52e72015-01-06 13:10:23 -08005795bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08005796
5797else
5798
nnoble5f2ecb32015-01-12 16:40:18 -08005799bins/$(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 -08005800 $(E) "[LD] Linking $@"
5801 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005802 $(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 -08005803
5804endif
5805
Craig Tillerd4773f52015-01-12 16:38:47 -08005806
Craig Tiller8f126a62015-01-15 08:50:19 -08005807deps_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 -08005808
5809ifneq ($(NO_SECURE),true)
5810ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005811-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08005812endif
5813endif
5814
ctiller33023c42014-12-12 16:28:33 -08005815
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005816CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
5817
ctillercab52e72015-01-06 13:10:23 -08005818CHTTP2_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 -08005819
nnoble69ac39f2014-12-12 15:43:38 -08005820ifeq ($(NO_SECURE),true)
5821
Nicolas Noble047b7272015-01-16 13:55:05 -08005822# You can't build secure targets if you don't have OpenSSL with ALPN.
5823
ctillercab52e72015-01-06 13:10:23 -08005824bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005825
5826else
5827
nnoble5f2ecb32015-01-12 16:40:18 -08005828bins/$(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 -08005829 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005830 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005831 $(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 -08005832
nnoble69ac39f2014-12-12 15:43:38 -08005833endif
5834
Craig Tillerd4773f52015-01-12 16:38:47 -08005835
Craig Tiller8f126a62015-01-15 08:50:19 -08005836deps_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 -08005837
nnoble69ac39f2014-12-12 15:43:38 -08005838ifneq ($(NO_SECURE),true)
5839ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005840-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005841endif
nnoble69ac39f2014-12-12 15:43:38 -08005842endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005843
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005844
5845CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
5846
ctillercab52e72015-01-06 13:10:23 -08005847CHTTP2_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 -08005848
nnoble69ac39f2014-12-12 15:43:38 -08005849ifeq ($(NO_SECURE),true)
5850
Nicolas Noble047b7272015-01-16 13:55:05 -08005851# You can't build secure targets if you don't have OpenSSL with ALPN.
5852
ctillercab52e72015-01-06 13:10:23 -08005853bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005854
5855else
5856
nnoble5f2ecb32015-01-12 16:40:18 -08005857bins/$(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 -08005858 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005859 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005860 $(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 -08005861
nnoble69ac39f2014-12-12 15:43:38 -08005862endif
5863
Craig Tillerd4773f52015-01-12 16:38:47 -08005864
Craig Tiller8f126a62015-01-15 08:50:19 -08005865deps_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 -08005866
nnoble69ac39f2014-12-12 15:43:38 -08005867ifneq ($(NO_SECURE),true)
5868ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005869-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005870endif
nnoble69ac39f2014-12-12 15:43:38 -08005871endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005872
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005873
ctiller2845cad2014-12-15 15:14:12 -08005874CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
5875
ctillercab52e72015-01-06 13:10:23 -08005876CHTTP2_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 -08005877
5878ifeq ($(NO_SECURE),true)
5879
Nicolas Noble047b7272015-01-16 13:55:05 -08005880# You can't build secure targets if you don't have OpenSSL with ALPN.
5881
ctillercab52e72015-01-06 13:10:23 -08005882bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08005883
5884else
5885
nnoble5f2ecb32015-01-12 16:40:18 -08005886bins/$(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 -08005887 $(E) "[LD] Linking $@"
5888 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005889 $(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 -08005890
5891endif
5892
Craig Tillerd4773f52015-01-12 16:38:47 -08005893
Craig Tiller8f126a62015-01-15 08:50:19 -08005894deps_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 -08005895
5896ifneq ($(NO_SECURE),true)
5897ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005898-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08005899endif
5900endif
5901
ctiller2845cad2014-12-15 15:14:12 -08005902
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005903CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
5904
ctillercab52e72015-01-06 13:10:23 -08005905CHTTP2_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 -08005906
nnoble69ac39f2014-12-12 15:43:38 -08005907ifeq ($(NO_SECURE),true)
5908
Nicolas Noble047b7272015-01-16 13:55:05 -08005909# You can't build secure targets if you don't have OpenSSL with ALPN.
5910
ctillercab52e72015-01-06 13:10:23 -08005911bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005912
5913else
5914
nnoble5f2ecb32015-01-12 16:40:18 -08005915bins/$(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 -08005916 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005917 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005918 $(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 -08005919
nnoble69ac39f2014-12-12 15:43:38 -08005920endif
5921
Craig Tillerd4773f52015-01-12 16:38:47 -08005922
Craig Tiller8f126a62015-01-15 08:50:19 -08005923deps_chttp2_fake_security_simple_delayed_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005924
nnoble69ac39f2014-12-12 15:43:38 -08005925ifneq ($(NO_SECURE),true)
5926ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005927-include $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005928endif
nnoble69ac39f2014-12-12 15:43:38 -08005929endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005930
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005931
5932CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_SRC = \
5933
ctillercab52e72015-01-06 13:10:23 -08005934CHTTP2_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 -08005935
nnoble69ac39f2014-12-12 15:43:38 -08005936ifeq ($(NO_SECURE),true)
5937
Nicolas Noble047b7272015-01-16 13:55:05 -08005938# You can't build secure targets if you don't have OpenSSL with ALPN.
5939
ctillercab52e72015-01-06 13:10:23 -08005940bins/$(CONFIG)/chttp2_fake_security_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005941
5942else
5943
nnoble5f2ecb32015-01-12 16:40:18 -08005944bins/$(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 -08005945 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005946 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005947 $(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 -08005948
nnoble69ac39f2014-12-12 15:43:38 -08005949endif
5950
Craig Tillerd4773f52015-01-12 16:38:47 -08005951
Craig Tiller8f126a62015-01-15 08:50:19 -08005952deps_chttp2_fake_security_simple_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005953
nnoble69ac39f2014-12-12 15:43:38 -08005954ifneq ($(NO_SECURE),true)
5955ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005956-include $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005957endif
nnoble69ac39f2014-12-12 15:43:38 -08005958endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005959
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005960
nathaniel52878172014-12-09 10:17:19 -08005961CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005962
ctillercab52e72015-01-06 13:10:23 -08005963CHTTP2_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 -08005964
nnoble69ac39f2014-12-12 15:43:38 -08005965ifeq ($(NO_SECURE),true)
5966
Nicolas Noble047b7272015-01-16 13:55:05 -08005967# You can't build secure targets if you don't have OpenSSL with ALPN.
5968
ctillercab52e72015-01-06 13:10:23 -08005969bins/$(CONFIG)/chttp2_fake_security_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005970
5971else
5972
nnoble5f2ecb32015-01-12 16:40:18 -08005973bins/$(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 -08005974 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005975 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005976 $(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 -08005977
nnoble69ac39f2014-12-12 15:43:38 -08005978endif
5979
Craig Tillerd4773f52015-01-12 16:38:47 -08005980
Craig Tiller8f126a62015-01-15 08:50:19 -08005981deps_chttp2_fake_security_thread_stress_test: $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005982
nnoble69ac39f2014-12-12 15:43:38 -08005983ifneq ($(NO_SECURE),true)
5984ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005985-include $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005986endif
nnoble69ac39f2014-12-12 15:43:38 -08005987endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005988
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005989
5990CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
5991
ctillercab52e72015-01-06 13:10:23 -08005992CHTTP2_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 -08005993
nnoble69ac39f2014-12-12 15:43:38 -08005994ifeq ($(NO_SECURE),true)
5995
Nicolas Noble047b7272015-01-16 13:55:05 -08005996# You can't build secure targets if you don't have OpenSSL with ALPN.
5997
ctillercab52e72015-01-06 13:10:23 -08005998bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005999
6000else
6001
nnoble5f2ecb32015-01-12 16:40:18 -08006002bins/$(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 -08006003 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006004 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006005 $(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 -08006006
nnoble69ac39f2014-12-12 15:43:38 -08006007endif
6008
Craig Tillerd4773f52015-01-12 16:38:47 -08006009
Craig Tiller8f126a62015-01-15 08:50:19 -08006010deps_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 -08006011
nnoble69ac39f2014-12-12 15:43:38 -08006012ifneq ($(NO_SECURE),true)
6013ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006014-include $(CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006015endif
nnoble69ac39f2014-12-12 15:43:38 -08006016endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006017
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006018
6019CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6020
ctillercab52e72015-01-06 13:10:23 -08006021CHTTP2_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 -08006022
nnoble69ac39f2014-12-12 15:43:38 -08006023ifeq ($(NO_SECURE),true)
6024
Nicolas Noble047b7272015-01-16 13:55:05 -08006025# You can't build secure targets if you don't have OpenSSL with ALPN.
6026
ctillercab52e72015-01-06 13:10:23 -08006027bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006028
6029else
6030
nnoble5f2ecb32015-01-12 16:40:18 -08006031bins/$(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 -08006032 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006033 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006034 $(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 -08006035
nnoble69ac39f2014-12-12 15:43:38 -08006036endif
6037
Craig Tillerd4773f52015-01-12 16:38:47 -08006038
Craig Tiller8f126a62015-01-15 08:50:19 -08006039deps_chttp2_fullstack_cancel_after_accept_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006040
nnoble69ac39f2014-12-12 15:43:38 -08006041ifneq ($(NO_SECURE),true)
6042ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006043-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006044endif
nnoble69ac39f2014-12-12 15:43:38 -08006045endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006046
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006047
6048CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6049
ctillercab52e72015-01-06 13:10:23 -08006050CHTTP2_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 -08006051
nnoble69ac39f2014-12-12 15:43:38 -08006052ifeq ($(NO_SECURE),true)
6053
Nicolas Noble047b7272015-01-16 13:55:05 -08006054# You can't build secure targets if you don't have OpenSSL with ALPN.
6055
ctillercab52e72015-01-06 13:10:23 -08006056bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006057
6058else
6059
nnoble5f2ecb32015-01-12 16:40:18 -08006060bins/$(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 -08006061 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006062 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006063 $(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 -08006064
nnoble69ac39f2014-12-12 15:43:38 -08006065endif
6066
Craig Tillerd4773f52015-01-12 16:38:47 -08006067
Craig Tiller8f126a62015-01-15 08:50:19 -08006068deps_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 -08006069
nnoble69ac39f2014-12-12 15:43:38 -08006070ifneq ($(NO_SECURE),true)
6071ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006072-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006073endif
nnoble69ac39f2014-12-12 15:43:38 -08006074endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006075
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006076
6077CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6078
ctillercab52e72015-01-06 13:10:23 -08006079CHTTP2_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 -08006080
nnoble69ac39f2014-12-12 15:43:38 -08006081ifeq ($(NO_SECURE),true)
6082
Nicolas Noble047b7272015-01-16 13:55:05 -08006083# You can't build secure targets if you don't have OpenSSL with ALPN.
6084
ctillercab52e72015-01-06 13:10:23 -08006085bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006086
6087else
6088
nnoble5f2ecb32015-01-12 16:40:18 -08006089bins/$(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 -08006090 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006091 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006092 $(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 -08006093
nnoble69ac39f2014-12-12 15:43:38 -08006094endif
6095
Craig Tillerd4773f52015-01-12 16:38:47 -08006096
Craig Tiller8f126a62015-01-15 08:50:19 -08006097deps_chttp2_fullstack_cancel_after_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006098
nnoble69ac39f2014-12-12 15:43:38 -08006099ifneq ($(NO_SECURE),true)
6100ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006101-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006102endif
nnoble69ac39f2014-12-12 15:43:38 -08006103endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006104
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006105
6106CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
6107
ctillercab52e72015-01-06 13:10:23 -08006108CHTTP2_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 -08006109
nnoble69ac39f2014-12-12 15:43:38 -08006110ifeq ($(NO_SECURE),true)
6111
Nicolas Noble047b7272015-01-16 13:55:05 -08006112# You can't build secure targets if you don't have OpenSSL with ALPN.
6113
ctillercab52e72015-01-06 13:10:23 -08006114bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006115
6116else
6117
nnoble5f2ecb32015-01-12 16:40:18 -08006118bins/$(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 -08006119 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006120 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006121 $(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 -08006122
nnoble69ac39f2014-12-12 15:43:38 -08006123endif
6124
Craig Tillerd4773f52015-01-12 16:38:47 -08006125
Craig Tiller8f126a62015-01-15 08:50:19 -08006126deps_chttp2_fullstack_cancel_before_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006127
nnoble69ac39f2014-12-12 15:43:38 -08006128ifneq ($(NO_SECURE),true)
6129ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006130-include $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006131endif
nnoble69ac39f2014-12-12 15:43:38 -08006132endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006133
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006134
6135CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
6136
ctillercab52e72015-01-06 13:10:23 -08006137CHTTP2_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 -08006138
nnoble69ac39f2014-12-12 15:43:38 -08006139ifeq ($(NO_SECURE),true)
6140
Nicolas Noble047b7272015-01-16 13:55:05 -08006141# You can't build secure targets if you don't have OpenSSL with ALPN.
6142
ctillercab52e72015-01-06 13:10:23 -08006143bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006144
6145else
6146
nnoble5f2ecb32015-01-12 16:40:18 -08006147bins/$(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 -08006148 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006149 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006150 $(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 -08006151
nnoble69ac39f2014-12-12 15:43:38 -08006152endif
6153
Craig Tillerd4773f52015-01-12 16:38:47 -08006154
Craig Tiller8f126a62015-01-15 08:50:19 -08006155deps_chttp2_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006156
nnoble69ac39f2014-12-12 15:43:38 -08006157ifneq ($(NO_SECURE),true)
6158ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006159-include $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006160endif
nnoble69ac39f2014-12-12 15:43:38 -08006161endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006162
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006163
hongyu24200d32015-01-08 15:13:49 -08006164CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
6165
6166CHTTP2_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 -08006167
6168ifeq ($(NO_SECURE),true)
6169
Nicolas Noble047b7272015-01-16 13:55:05 -08006170# You can't build secure targets if you don't have OpenSSL with ALPN.
6171
hongyu24200d32015-01-08 15:13:49 -08006172bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test: openssl_dep_error
6173
6174else
6175
nnoble5f2ecb32015-01-12 16:40:18 -08006176bins/$(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 -08006177 $(E) "[LD] Linking $@"
6178 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006179 $(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 -08006180
6181endif
6182
Craig Tillerd4773f52015-01-12 16:38:47 -08006183
Craig Tiller8f126a62015-01-15 08:50:19 -08006184deps_chttp2_fullstack_census_simple_request_test: $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006185
6186ifneq ($(NO_SECURE),true)
6187ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006188-include $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006189endif
6190endif
6191
hongyu24200d32015-01-08 15:13:49 -08006192
ctillerc6d61c42014-12-15 14:52:08 -08006193CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
6194
ctillercab52e72015-01-06 13:10:23 -08006195CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08006196
6197ifeq ($(NO_SECURE),true)
6198
Nicolas Noble047b7272015-01-16 13:55:05 -08006199# You can't build secure targets if you don't have OpenSSL with ALPN.
6200
ctillercab52e72015-01-06 13:10:23 -08006201bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08006202
6203else
6204
nnoble5f2ecb32015-01-12 16:40:18 -08006205bins/$(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 -08006206 $(E) "[LD] Linking $@"
6207 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006208 $(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 -08006209
6210endif
6211
Craig Tillerd4773f52015-01-12 16:38:47 -08006212
Craig Tiller8f126a62015-01-15 08:50:19 -08006213deps_chttp2_fullstack_disappearing_server_test: $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006214
6215ifneq ($(NO_SECURE),true)
6216ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006217-include $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006218endif
6219endif
6220
ctillerc6d61c42014-12-15 14:52:08 -08006221
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006222CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
6223
ctillercab52e72015-01-06 13:10:23 -08006224CHTTP2_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 -08006225
nnoble69ac39f2014-12-12 15:43:38 -08006226ifeq ($(NO_SECURE),true)
6227
Nicolas Noble047b7272015-01-16 13:55:05 -08006228# You can't build secure targets if you don't have OpenSSL with ALPN.
6229
ctillercab52e72015-01-06 13:10:23 -08006230bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006231
6232else
6233
nnoble5f2ecb32015-01-12 16:40:18 -08006234bins/$(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 -08006235 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006236 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006237 $(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 -08006238
nnoble69ac39f2014-12-12 15:43:38 -08006239endif
6240
Craig Tillerd4773f52015-01-12 16:38:47 -08006241
Craig Tiller8f126a62015-01-15 08:50:19 -08006242deps_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 -08006243
nnoble69ac39f2014-12-12 15:43:38 -08006244ifneq ($(NO_SECURE),true)
6245ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006246-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006247endif
nnoble69ac39f2014-12-12 15:43:38 -08006248endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006249
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006250
6251CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
6252
ctillercab52e72015-01-06 13:10:23 -08006253CHTTP2_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 -08006254
nnoble69ac39f2014-12-12 15:43:38 -08006255ifeq ($(NO_SECURE),true)
6256
Nicolas Noble047b7272015-01-16 13:55:05 -08006257# You can't build secure targets if you don't have OpenSSL with ALPN.
6258
ctillercab52e72015-01-06 13:10:23 -08006259bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006260
6261else
6262
nnoble5f2ecb32015-01-12 16:40:18 -08006263bins/$(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 -08006264 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006265 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006266 $(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 -08006267
nnoble69ac39f2014-12-12 15:43:38 -08006268endif
6269
Craig Tillerd4773f52015-01-12 16:38:47 -08006270
Craig Tiller8f126a62015-01-15 08:50:19 -08006271deps_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 -08006272
nnoble69ac39f2014-12-12 15:43:38 -08006273ifneq ($(NO_SECURE),true)
6274ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006275-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006276endif
nnoble69ac39f2014-12-12 15:43:38 -08006277endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006278
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006279
6280CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
6281
ctillercab52e72015-01-06 13:10:23 -08006282CHTTP2_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 -08006283
nnoble69ac39f2014-12-12 15:43:38 -08006284ifeq ($(NO_SECURE),true)
6285
Nicolas Noble047b7272015-01-16 13:55:05 -08006286# You can't build secure targets if you don't have OpenSSL with ALPN.
6287
ctillercab52e72015-01-06 13:10:23 -08006288bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006289
6290else
6291
nnoble5f2ecb32015-01-12 16:40:18 -08006292bins/$(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 -08006293 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006294 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006295 $(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 -08006296
nnoble69ac39f2014-12-12 15:43:38 -08006297endif
6298
Craig Tillerd4773f52015-01-12 16:38:47 -08006299
Craig Tiller8f126a62015-01-15 08:50:19 -08006300deps_chttp2_fullstack_invoke_large_request_test: $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006301
nnoble69ac39f2014-12-12 15:43:38 -08006302ifneq ($(NO_SECURE),true)
6303ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006304-include $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006305endif
nnoble69ac39f2014-12-12 15:43:38 -08006306endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006307
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006308
6309CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
6310
ctillercab52e72015-01-06 13:10:23 -08006311CHTTP2_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 -08006312
nnoble69ac39f2014-12-12 15:43:38 -08006313ifeq ($(NO_SECURE),true)
6314
Nicolas Noble047b7272015-01-16 13:55:05 -08006315# You can't build secure targets if you don't have OpenSSL with ALPN.
6316
ctillercab52e72015-01-06 13:10:23 -08006317bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006318
6319else
6320
nnoble5f2ecb32015-01-12 16:40:18 -08006321bins/$(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 -08006322 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006323 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006324 $(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 -08006325
nnoble69ac39f2014-12-12 15:43:38 -08006326endif
6327
Craig Tillerd4773f52015-01-12 16:38:47 -08006328
Craig Tiller8f126a62015-01-15 08:50:19 -08006329deps_chttp2_fullstack_max_concurrent_streams_test: $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006330
nnoble69ac39f2014-12-12 15:43:38 -08006331ifneq ($(NO_SECURE),true)
6332ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006333-include $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006334endif
nnoble69ac39f2014-12-12 15:43:38 -08006335endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006336
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006337
6338CHTTP2_FULLSTACK_NO_OP_TEST_SRC = \
6339
ctillercab52e72015-01-06 13:10:23 -08006340CHTTP2_FULLSTACK_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_NO_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006341
nnoble69ac39f2014-12-12 15:43:38 -08006342ifeq ($(NO_SECURE),true)
6343
Nicolas Noble047b7272015-01-16 13:55:05 -08006344# You can't build secure targets if you don't have OpenSSL with ALPN.
6345
ctillercab52e72015-01-06 13:10:23 -08006346bins/$(CONFIG)/chttp2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006347
6348else
6349
nnoble5f2ecb32015-01-12 16:40:18 -08006350bins/$(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 -08006351 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006352 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006353 $(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 -08006354
nnoble69ac39f2014-12-12 15:43:38 -08006355endif
6356
Craig Tillerd4773f52015-01-12 16:38:47 -08006357
Craig Tiller8f126a62015-01-15 08:50:19 -08006358deps_chttp2_fullstack_no_op_test: $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006359
nnoble69ac39f2014-12-12 15:43:38 -08006360ifneq ($(NO_SECURE),true)
6361ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006362-include $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006363endif
nnoble69ac39f2014-12-12 15:43:38 -08006364endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006365
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006366
6367CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
6368
ctillercab52e72015-01-06 13:10:23 -08006369CHTTP2_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 -08006370
nnoble69ac39f2014-12-12 15:43:38 -08006371ifeq ($(NO_SECURE),true)
6372
Nicolas Noble047b7272015-01-16 13:55:05 -08006373# You can't build secure targets if you don't have OpenSSL with ALPN.
6374
ctillercab52e72015-01-06 13:10:23 -08006375bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006376
6377else
6378
nnoble5f2ecb32015-01-12 16:40:18 -08006379bins/$(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 -08006380 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006381 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006382 $(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 -08006383
nnoble69ac39f2014-12-12 15:43:38 -08006384endif
6385
Craig Tillerd4773f52015-01-12 16:38:47 -08006386
Craig Tiller8f126a62015-01-15 08:50:19 -08006387deps_chttp2_fullstack_ping_pong_streaming_test: $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006388
nnoble69ac39f2014-12-12 15:43:38 -08006389ifneq ($(NO_SECURE),true)
6390ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006391-include $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006392endif
nnoble69ac39f2014-12-12 15:43:38 -08006393endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006394
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006395
ctiller33023c42014-12-12 16:28:33 -08006396CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
6397
ctillercab52e72015-01-06 13:10:23 -08006398CHTTP2_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 -08006399
6400ifeq ($(NO_SECURE),true)
6401
Nicolas Noble047b7272015-01-16 13:55:05 -08006402# You can't build secure targets if you don't have OpenSSL with ALPN.
6403
ctillercab52e72015-01-06 13:10:23 -08006404bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08006405
6406else
6407
nnoble5f2ecb32015-01-12 16:40:18 -08006408bins/$(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 -08006409 $(E) "[LD] Linking $@"
6410 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006411 $(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 -08006412
6413endif
6414
Craig Tillerd4773f52015-01-12 16:38:47 -08006415
Craig Tiller8f126a62015-01-15 08:50:19 -08006416deps_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 -08006417
6418ifneq ($(NO_SECURE),true)
6419ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006420-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006421endif
6422endif
6423
ctiller33023c42014-12-12 16:28:33 -08006424
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006425CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
6426
ctillercab52e72015-01-06 13:10:23 -08006427CHTTP2_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 -08006428
nnoble69ac39f2014-12-12 15:43:38 -08006429ifeq ($(NO_SECURE),true)
6430
Nicolas Noble047b7272015-01-16 13:55:05 -08006431# You can't build secure targets if you don't have OpenSSL with ALPN.
6432
ctillercab52e72015-01-06 13:10:23 -08006433bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006434
6435else
6436
nnoble5f2ecb32015-01-12 16:40:18 -08006437bins/$(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 -08006438 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006439 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006440 $(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 -08006441
nnoble69ac39f2014-12-12 15:43:38 -08006442endif
6443
Craig Tillerd4773f52015-01-12 16:38:47 -08006444
Craig Tiller8f126a62015-01-15 08:50:19 -08006445deps_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 -08006446
nnoble69ac39f2014-12-12 15:43:38 -08006447ifneq ($(NO_SECURE),true)
6448ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006449-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006450endif
nnoble69ac39f2014-12-12 15:43:38 -08006451endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006452
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006453
6454CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
6455
ctillercab52e72015-01-06 13:10:23 -08006456CHTTP2_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 -08006457
nnoble69ac39f2014-12-12 15:43:38 -08006458ifeq ($(NO_SECURE),true)
6459
Nicolas Noble047b7272015-01-16 13:55:05 -08006460# You can't build secure targets if you don't have OpenSSL with ALPN.
6461
ctillercab52e72015-01-06 13:10:23 -08006462bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006463
6464else
6465
nnoble5f2ecb32015-01-12 16:40:18 -08006466bins/$(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 -08006467 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006468 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006469 $(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 -08006470
nnoble69ac39f2014-12-12 15:43:38 -08006471endif
6472
Craig Tillerd4773f52015-01-12 16:38:47 -08006473
Craig Tiller8f126a62015-01-15 08:50:19 -08006474deps_chttp2_fullstack_request_response_with_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006475
nnoble69ac39f2014-12-12 15:43:38 -08006476ifneq ($(NO_SECURE),true)
6477ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006478-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006479endif
nnoble69ac39f2014-12-12 15:43:38 -08006480endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006481
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006482
ctiller2845cad2014-12-15 15:14:12 -08006483CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
6484
ctillercab52e72015-01-06 13:10:23 -08006485CHTTP2_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 -08006486
6487ifeq ($(NO_SECURE),true)
6488
Nicolas Noble047b7272015-01-16 13:55:05 -08006489# You can't build secure targets if you don't have OpenSSL with ALPN.
6490
ctillercab52e72015-01-06 13:10:23 -08006491bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08006492
6493else
6494
nnoble5f2ecb32015-01-12 16:40:18 -08006495bins/$(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 -08006496 $(E) "[LD] Linking $@"
6497 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006498 $(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 -08006499
6500endif
6501
Craig Tillerd4773f52015-01-12 16:38:47 -08006502
Craig Tiller8f126a62015-01-15 08:50:19 -08006503deps_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 -08006504
6505ifneq ($(NO_SECURE),true)
6506ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006507-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006508endif
6509endif
6510
ctiller2845cad2014-12-15 15:14:12 -08006511
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006512CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6513
ctillercab52e72015-01-06 13:10:23 -08006514CHTTP2_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 -08006515
nnoble69ac39f2014-12-12 15:43:38 -08006516ifeq ($(NO_SECURE),true)
6517
Nicolas Noble047b7272015-01-16 13:55:05 -08006518# You can't build secure targets if you don't have OpenSSL with ALPN.
6519
ctillercab52e72015-01-06 13:10:23 -08006520bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006521
6522else
6523
nnoble5f2ecb32015-01-12 16:40:18 -08006524bins/$(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 -08006525 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006526 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006527 $(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 -08006528
nnoble69ac39f2014-12-12 15:43:38 -08006529endif
6530
Craig Tillerd4773f52015-01-12 16:38:47 -08006531
Craig Tiller8f126a62015-01-15 08:50:19 -08006532deps_chttp2_fullstack_simple_delayed_request_test: $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006533
nnoble69ac39f2014-12-12 15:43:38 -08006534ifneq ($(NO_SECURE),true)
6535ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006536-include $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006537endif
nnoble69ac39f2014-12-12 15:43:38 -08006538endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006539
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006540
6541CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
6542
ctillercab52e72015-01-06 13:10:23 -08006543CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006544
nnoble69ac39f2014-12-12 15:43:38 -08006545ifeq ($(NO_SECURE),true)
6546
Nicolas Noble047b7272015-01-16 13:55:05 -08006547# You can't build secure targets if you don't have OpenSSL with ALPN.
6548
ctillercab52e72015-01-06 13:10:23 -08006549bins/$(CONFIG)/chttp2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006550
6551else
6552
nnoble5f2ecb32015-01-12 16:40:18 -08006553bins/$(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 -08006554 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006555 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006556 $(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 -08006557
nnoble69ac39f2014-12-12 15:43:38 -08006558endif
6559
Craig Tillerd4773f52015-01-12 16:38:47 -08006560
Craig Tiller8f126a62015-01-15 08:50:19 -08006561deps_chttp2_fullstack_simple_request_test: $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006562
nnoble69ac39f2014-12-12 15:43:38 -08006563ifneq ($(NO_SECURE),true)
6564ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006565-include $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006566endif
nnoble69ac39f2014-12-12 15:43:38 -08006567endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006568
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006569
nathaniel52878172014-12-09 10:17:19 -08006570CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006571
ctillercab52e72015-01-06 13:10:23 -08006572CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006573
nnoble69ac39f2014-12-12 15:43:38 -08006574ifeq ($(NO_SECURE),true)
6575
Nicolas Noble047b7272015-01-16 13:55:05 -08006576# You can't build secure targets if you don't have OpenSSL with ALPN.
6577
ctillercab52e72015-01-06 13:10:23 -08006578bins/$(CONFIG)/chttp2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006579
6580else
6581
nnoble5f2ecb32015-01-12 16:40:18 -08006582bins/$(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 -08006583 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006584 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006585 $(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 -08006586
nnoble69ac39f2014-12-12 15:43:38 -08006587endif
6588
Craig Tillerd4773f52015-01-12 16:38:47 -08006589
Craig Tiller8f126a62015-01-15 08:50:19 -08006590deps_chttp2_fullstack_thread_stress_test: $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006591
nnoble69ac39f2014-12-12 15:43:38 -08006592ifneq ($(NO_SECURE),true)
6593ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006594-include $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006595endif
nnoble69ac39f2014-12-12 15:43:38 -08006596endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006597
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006598
6599CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6600
ctillercab52e72015-01-06 13:10:23 -08006601CHTTP2_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 -08006602
nnoble69ac39f2014-12-12 15:43:38 -08006603ifeq ($(NO_SECURE),true)
6604
Nicolas Noble047b7272015-01-16 13:55:05 -08006605# You can't build secure targets if you don't have OpenSSL with ALPN.
6606
ctillercab52e72015-01-06 13:10:23 -08006607bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006608
6609else
6610
nnoble5f2ecb32015-01-12 16:40:18 -08006611bins/$(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 -08006612 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006613 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006614 $(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 -08006615
nnoble69ac39f2014-12-12 15:43:38 -08006616endif
6617
Craig Tillerd4773f52015-01-12 16:38:47 -08006618
Craig Tiller8f126a62015-01-15 08:50:19 -08006619deps_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 -08006620
nnoble69ac39f2014-12-12 15:43:38 -08006621ifneq ($(NO_SECURE),true)
6622ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006623-include $(CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006624endif
nnoble69ac39f2014-12-12 15:43:38 -08006625endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006626
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006627
6628CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6629
ctillercab52e72015-01-06 13:10:23 -08006630CHTTP2_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 -08006631
nnoble69ac39f2014-12-12 15:43:38 -08006632ifeq ($(NO_SECURE),true)
6633
Nicolas Noble047b7272015-01-16 13:55:05 -08006634# You can't build secure targets if you don't have OpenSSL with ALPN.
6635
ctillercab52e72015-01-06 13:10:23 -08006636bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006637
6638else
6639
nnoble5f2ecb32015-01-12 16:40:18 -08006640bins/$(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 -08006641 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006642 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006643 $(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 -08006644
nnoble69ac39f2014-12-12 15:43:38 -08006645endif
6646
Craig Tillerd4773f52015-01-12 16:38:47 -08006647
Craig Tiller8f126a62015-01-15 08:50:19 -08006648deps_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 -08006649
nnoble69ac39f2014-12-12 15:43:38 -08006650ifneq ($(NO_SECURE),true)
6651ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006652-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006653endif
nnoble69ac39f2014-12-12 15:43:38 -08006654endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006655
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006656
6657CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6658
ctillercab52e72015-01-06 13:10:23 -08006659CHTTP2_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 -08006660
nnoble69ac39f2014-12-12 15:43:38 -08006661ifeq ($(NO_SECURE),true)
6662
Nicolas Noble047b7272015-01-16 13:55:05 -08006663# You can't build secure targets if you don't have OpenSSL with ALPN.
6664
ctillercab52e72015-01-06 13:10:23 -08006665bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006666
6667else
6668
nnoble5f2ecb32015-01-12 16:40:18 -08006669bins/$(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 -08006670 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006671 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006672 $(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 -08006673
nnoble69ac39f2014-12-12 15:43:38 -08006674endif
6675
Craig Tillerd4773f52015-01-12 16:38:47 -08006676
Craig Tiller8f126a62015-01-15 08:50:19 -08006677deps_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 -08006678
nnoble69ac39f2014-12-12 15:43:38 -08006679ifneq ($(NO_SECURE),true)
6680ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006681-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006682endif
nnoble69ac39f2014-12-12 15:43:38 -08006683endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006684
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006685
6686CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6687
ctillercab52e72015-01-06 13:10:23 -08006688CHTTP2_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 -08006689
nnoble69ac39f2014-12-12 15:43:38 -08006690ifeq ($(NO_SECURE),true)
6691
Nicolas Noble047b7272015-01-16 13:55:05 -08006692# You can't build secure targets if you don't have OpenSSL with ALPN.
6693
ctillercab52e72015-01-06 13:10:23 -08006694bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006695
6696else
6697
nnoble5f2ecb32015-01-12 16:40:18 -08006698bins/$(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 -08006699 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006700 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006701 $(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 -08006702
nnoble69ac39f2014-12-12 15:43:38 -08006703endif
6704
Craig Tillerd4773f52015-01-12 16:38:47 -08006705
Craig Tiller8f126a62015-01-15 08:50:19 -08006706deps_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 -08006707
nnoble69ac39f2014-12-12 15:43:38 -08006708ifneq ($(NO_SECURE),true)
6709ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006710-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006711endif
nnoble69ac39f2014-12-12 15:43:38 -08006712endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006713
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006714
6715CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
6716
ctillercab52e72015-01-06 13:10:23 -08006717CHTTP2_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 -08006718
nnoble69ac39f2014-12-12 15:43:38 -08006719ifeq ($(NO_SECURE),true)
6720
Nicolas Noble047b7272015-01-16 13:55:05 -08006721# You can't build secure targets if you don't have OpenSSL with ALPN.
6722
ctillercab52e72015-01-06 13:10:23 -08006723bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006724
6725else
6726
nnoble5f2ecb32015-01-12 16:40:18 -08006727bins/$(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 -08006728 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006729 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006730 $(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 -08006731
nnoble69ac39f2014-12-12 15:43:38 -08006732endif
6733
Craig Tillerd4773f52015-01-12 16:38:47 -08006734
Craig Tiller8f126a62015-01-15 08:50:19 -08006735deps_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 -08006736
nnoble69ac39f2014-12-12 15:43:38 -08006737ifneq ($(NO_SECURE),true)
6738ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006739-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006740endif
nnoble69ac39f2014-12-12 15:43:38 -08006741endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006742
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006743
6744CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
6745
ctillercab52e72015-01-06 13:10:23 -08006746CHTTP2_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 -08006747
nnoble69ac39f2014-12-12 15:43:38 -08006748ifeq ($(NO_SECURE),true)
6749
Nicolas Noble047b7272015-01-16 13:55:05 -08006750# You can't build secure targets if you don't have OpenSSL with ALPN.
6751
ctillercab52e72015-01-06 13:10:23 -08006752bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006753
6754else
6755
nnoble5f2ecb32015-01-12 16:40:18 -08006756bins/$(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 -08006757 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006758 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006759 $(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 -08006760
nnoble69ac39f2014-12-12 15:43:38 -08006761endif
6762
Craig Tillerd4773f52015-01-12 16:38:47 -08006763
Craig Tiller8f126a62015-01-15 08:50:19 -08006764deps_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 -08006765
nnoble69ac39f2014-12-12 15:43:38 -08006766ifneq ($(NO_SECURE),true)
6767ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006768-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006769endif
nnoble69ac39f2014-12-12 15:43:38 -08006770endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006771
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006772
hongyu24200d32015-01-08 15:13:49 -08006773CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
6774
6775CHTTP2_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 -08006776
6777ifeq ($(NO_SECURE),true)
6778
Nicolas Noble047b7272015-01-16 13:55:05 -08006779# You can't build secure targets if you don't have OpenSSL with ALPN.
6780
hongyu24200d32015-01-08 15:13:49 -08006781bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test: openssl_dep_error
6782
6783else
6784
nnoble5f2ecb32015-01-12 16:40:18 -08006785bins/$(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 -08006786 $(E) "[LD] Linking $@"
6787 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006788 $(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 -08006789
6790endif
6791
Craig Tillerd4773f52015-01-12 16:38:47 -08006792
Craig Tiller8f126a62015-01-15 08:50:19 -08006793deps_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 -08006794
6795ifneq ($(NO_SECURE),true)
6796ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006797-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006798endif
6799endif
6800
hongyu24200d32015-01-08 15:13:49 -08006801
ctillerc6d61c42014-12-15 14:52:08 -08006802CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
6803
ctillercab52e72015-01-06 13:10:23 -08006804CHTTP2_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 -08006805
6806ifeq ($(NO_SECURE),true)
6807
Nicolas Noble047b7272015-01-16 13:55:05 -08006808# You can't build secure targets if you don't have OpenSSL with ALPN.
6809
ctillercab52e72015-01-06 13:10:23 -08006810bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08006811
6812else
6813
nnoble5f2ecb32015-01-12 16:40:18 -08006814bins/$(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 -08006815 $(E) "[LD] Linking $@"
6816 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006817 $(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 -08006818
6819endif
6820
Craig Tillerd4773f52015-01-12 16:38:47 -08006821
Craig Tiller8f126a62015-01-15 08:50:19 -08006822deps_chttp2_simple_ssl_fullstack_disappearing_server_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006823
6824ifneq ($(NO_SECURE),true)
6825ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006826-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006827endif
6828endif
6829
ctillerc6d61c42014-12-15 14:52:08 -08006830
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006831CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
6832
ctillercab52e72015-01-06 13:10:23 -08006833CHTTP2_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 -08006834
nnoble69ac39f2014-12-12 15:43:38 -08006835ifeq ($(NO_SECURE),true)
6836
Nicolas Noble047b7272015-01-16 13:55:05 -08006837# You can't build secure targets if you don't have OpenSSL with ALPN.
6838
ctillercab52e72015-01-06 13:10:23 -08006839bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006840
6841else
6842
nnoble5f2ecb32015-01-12 16:40:18 -08006843bins/$(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 -08006844 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006845 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006846 $(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 -08006847
nnoble69ac39f2014-12-12 15:43:38 -08006848endif
6849
Craig Tillerd4773f52015-01-12 16:38:47 -08006850
Craig Tiller8f126a62015-01-15 08:50:19 -08006851deps_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 -08006852
nnoble69ac39f2014-12-12 15:43:38 -08006853ifneq ($(NO_SECURE),true)
6854ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006855-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006856endif
nnoble69ac39f2014-12-12 15:43:38 -08006857endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006858
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006859
6860CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
6861
ctillercab52e72015-01-06 13:10:23 -08006862CHTTP2_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 -08006863
nnoble69ac39f2014-12-12 15:43:38 -08006864ifeq ($(NO_SECURE),true)
6865
Nicolas Noble047b7272015-01-16 13:55:05 -08006866# You can't build secure targets if you don't have OpenSSL with ALPN.
6867
ctillercab52e72015-01-06 13:10:23 -08006868bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006869
6870else
6871
nnoble5f2ecb32015-01-12 16:40:18 -08006872bins/$(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 -08006873 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006874 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006875 $(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 -08006876
nnoble69ac39f2014-12-12 15:43:38 -08006877endif
6878
Craig Tillerd4773f52015-01-12 16:38:47 -08006879
Craig Tiller8f126a62015-01-15 08:50:19 -08006880deps_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 -08006881
nnoble69ac39f2014-12-12 15:43:38 -08006882ifneq ($(NO_SECURE),true)
6883ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006884-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006885endif
nnoble69ac39f2014-12-12 15:43:38 -08006886endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006887
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006888
6889CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
6890
ctillercab52e72015-01-06 13:10:23 -08006891CHTTP2_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 -08006892
nnoble69ac39f2014-12-12 15:43:38 -08006893ifeq ($(NO_SECURE),true)
6894
Nicolas Noble047b7272015-01-16 13:55:05 -08006895# You can't build secure targets if you don't have OpenSSL with ALPN.
6896
ctillercab52e72015-01-06 13:10:23 -08006897bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006898
6899else
6900
nnoble5f2ecb32015-01-12 16:40:18 -08006901bins/$(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 -08006902 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006903 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006904 $(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 -08006905
nnoble69ac39f2014-12-12 15:43:38 -08006906endif
6907
Craig Tillerd4773f52015-01-12 16:38:47 -08006908
Craig Tiller8f126a62015-01-15 08:50:19 -08006909deps_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 -08006910
nnoble69ac39f2014-12-12 15:43:38 -08006911ifneq ($(NO_SECURE),true)
6912ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006913-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006914endif
nnoble69ac39f2014-12-12 15:43:38 -08006915endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006916
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006917
6918CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
6919
ctillercab52e72015-01-06 13:10:23 -08006920CHTTP2_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 -08006921
nnoble69ac39f2014-12-12 15:43:38 -08006922ifeq ($(NO_SECURE),true)
6923
Nicolas Noble047b7272015-01-16 13:55:05 -08006924# You can't build secure targets if you don't have OpenSSL with ALPN.
6925
ctillercab52e72015-01-06 13:10:23 -08006926bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006927
6928else
6929
nnoble5f2ecb32015-01-12 16:40:18 -08006930bins/$(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 -08006931 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006932 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006933 $(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 -08006934
nnoble69ac39f2014-12-12 15:43:38 -08006935endif
6936
Craig Tillerd4773f52015-01-12 16:38:47 -08006937
Craig Tiller8f126a62015-01-15 08:50:19 -08006938deps_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 -08006939
nnoble69ac39f2014-12-12 15:43:38 -08006940ifneq ($(NO_SECURE),true)
6941ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006942-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006943endif
nnoble69ac39f2014-12-12 15:43:38 -08006944endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006945
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006946
6947CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_SRC = \
6948
ctillercab52e72015-01-06 13:10:23 -08006949CHTTP2_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 -08006950
nnoble69ac39f2014-12-12 15:43:38 -08006951ifeq ($(NO_SECURE),true)
6952
Nicolas Noble047b7272015-01-16 13:55:05 -08006953# You can't build secure targets if you don't have OpenSSL with ALPN.
6954
ctillercab52e72015-01-06 13:10:23 -08006955bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006956
6957else
6958
nnoble5f2ecb32015-01-12 16:40:18 -08006959bins/$(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 -08006960 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006961 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006962 $(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 -08006963
nnoble69ac39f2014-12-12 15:43:38 -08006964endif
6965
Craig Tillerd4773f52015-01-12 16:38:47 -08006966
Craig Tiller8f126a62015-01-15 08:50:19 -08006967deps_chttp2_simple_ssl_fullstack_no_op_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006968
nnoble69ac39f2014-12-12 15:43:38 -08006969ifneq ($(NO_SECURE),true)
6970ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006971-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006972endif
nnoble69ac39f2014-12-12 15:43:38 -08006973endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006974
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006975
6976CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
6977
ctillercab52e72015-01-06 13:10:23 -08006978CHTTP2_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 -08006979
nnoble69ac39f2014-12-12 15:43:38 -08006980ifeq ($(NO_SECURE),true)
6981
Nicolas Noble047b7272015-01-16 13:55:05 -08006982# You can't build secure targets if you don't have OpenSSL with ALPN.
6983
ctillercab52e72015-01-06 13:10:23 -08006984bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006985
6986else
6987
nnoble5f2ecb32015-01-12 16:40:18 -08006988bins/$(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 -08006989 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006990 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006991 $(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 -08006992
nnoble69ac39f2014-12-12 15:43:38 -08006993endif
6994
Craig Tillerd4773f52015-01-12 16:38:47 -08006995
Craig Tiller8f126a62015-01-15 08:50:19 -08006996deps_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 -08006997
nnoble69ac39f2014-12-12 15:43:38 -08006998ifneq ($(NO_SECURE),true)
6999ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007000-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007001endif
nnoble69ac39f2014-12-12 15:43:38 -08007002endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007003
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007004
ctiller33023c42014-12-12 16:28:33 -08007005CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7006
ctillercab52e72015-01-06 13:10:23 -08007007CHTTP2_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 -08007008
7009ifeq ($(NO_SECURE),true)
7010
Nicolas Noble047b7272015-01-16 13:55:05 -08007011# You can't build secure targets if you don't have OpenSSL with ALPN.
7012
ctillercab52e72015-01-06 13:10:23 -08007013bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007014
7015else
7016
nnoble5f2ecb32015-01-12 16:40:18 -08007017bins/$(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 -08007018 $(E) "[LD] Linking $@"
7019 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007020 $(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 -08007021
7022endif
7023
Craig Tillerd4773f52015-01-12 16:38:47 -08007024
Craig Tiller8f126a62015-01-15 08:50:19 -08007025deps_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 -08007026
7027ifneq ($(NO_SECURE),true)
7028ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007029-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007030endif
7031endif
7032
ctiller33023c42014-12-12 16:28:33 -08007033
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007034CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7035
ctillercab52e72015-01-06 13:10:23 -08007036CHTTP2_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 -08007037
nnoble69ac39f2014-12-12 15:43:38 -08007038ifeq ($(NO_SECURE),true)
7039
Nicolas Noble047b7272015-01-16 13:55:05 -08007040# You can't build secure targets if you don't have OpenSSL with ALPN.
7041
ctillercab52e72015-01-06 13:10:23 -08007042bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007043
7044else
7045
nnoble5f2ecb32015-01-12 16:40:18 -08007046bins/$(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 -08007047 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007048 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007049 $(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 -08007050
nnoble69ac39f2014-12-12 15:43:38 -08007051endif
7052
Craig Tillerd4773f52015-01-12 16:38:47 -08007053
Craig Tiller8f126a62015-01-15 08:50:19 -08007054deps_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 -08007055
nnoble69ac39f2014-12-12 15:43:38 -08007056ifneq ($(NO_SECURE),true)
7057ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007058-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007059endif
nnoble69ac39f2014-12-12 15:43:38 -08007060endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007061
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007062
7063CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
7064
ctillercab52e72015-01-06 13:10:23 -08007065CHTTP2_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 -08007066
nnoble69ac39f2014-12-12 15:43:38 -08007067ifeq ($(NO_SECURE),true)
7068
Nicolas Noble047b7272015-01-16 13:55:05 -08007069# You can't build secure targets if you don't have OpenSSL with ALPN.
7070
ctillercab52e72015-01-06 13:10:23 -08007071bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007072
7073else
7074
nnoble5f2ecb32015-01-12 16:40:18 -08007075bins/$(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 -08007076 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007077 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007078 $(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 -08007079
nnoble69ac39f2014-12-12 15:43:38 -08007080endif
7081
Craig Tillerd4773f52015-01-12 16:38:47 -08007082
Craig Tiller8f126a62015-01-15 08:50:19 -08007083deps_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 -08007084
nnoble69ac39f2014-12-12 15:43:38 -08007085ifneq ($(NO_SECURE),true)
7086ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007087-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007088endif
nnoble69ac39f2014-12-12 15:43:38 -08007089endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007090
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007091
ctiller2845cad2014-12-15 15:14:12 -08007092CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
7093
ctillercab52e72015-01-06 13:10:23 -08007094CHTTP2_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 -08007095
7096ifeq ($(NO_SECURE),true)
7097
Nicolas Noble047b7272015-01-16 13:55:05 -08007098# You can't build secure targets if you don't have OpenSSL with ALPN.
7099
ctillercab52e72015-01-06 13:10:23 -08007100bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08007101
7102else
7103
nnoble5f2ecb32015-01-12 16:40:18 -08007104bins/$(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 -08007105 $(E) "[LD] Linking $@"
7106 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007107 $(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 -08007108
7109endif
7110
Craig Tillerd4773f52015-01-12 16:38:47 -08007111
Craig Tiller8f126a62015-01-15 08:50:19 -08007112deps_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 -08007113
7114ifneq ($(NO_SECURE),true)
7115ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007116-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08007117endif
7118endif
7119
ctiller2845cad2014-12-15 15:14:12 -08007120
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007121CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
7122
ctillercab52e72015-01-06 13:10:23 -08007123CHTTP2_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 -08007124
nnoble69ac39f2014-12-12 15:43:38 -08007125ifeq ($(NO_SECURE),true)
7126
Nicolas Noble047b7272015-01-16 13:55:05 -08007127# You can't build secure targets if you don't have OpenSSL with ALPN.
7128
ctillercab52e72015-01-06 13:10:23 -08007129bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007130
7131else
7132
nnoble5f2ecb32015-01-12 16:40:18 -08007133bins/$(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 -08007134 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007135 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007136 $(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 -08007137
nnoble69ac39f2014-12-12 15:43:38 -08007138endif
7139
Craig Tillerd4773f52015-01-12 16:38:47 -08007140
Craig Tiller8f126a62015-01-15 08:50:19 -08007141deps_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 -08007142
nnoble69ac39f2014-12-12 15:43:38 -08007143ifneq ($(NO_SECURE),true)
7144ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007145-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007146endif
nnoble69ac39f2014-12-12 15:43:38 -08007147endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007148
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007149
7150CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
7151
ctillercab52e72015-01-06 13:10:23 -08007152CHTTP2_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 -08007153
nnoble69ac39f2014-12-12 15:43:38 -08007154ifeq ($(NO_SECURE),true)
7155
Nicolas Noble047b7272015-01-16 13:55:05 -08007156# You can't build secure targets if you don't have OpenSSL with ALPN.
7157
ctillercab52e72015-01-06 13:10:23 -08007158bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007159
7160else
7161
nnoble5f2ecb32015-01-12 16:40:18 -08007162bins/$(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 -08007163 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007164 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007165 $(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 -08007166
nnoble69ac39f2014-12-12 15:43:38 -08007167endif
7168
Craig Tillerd4773f52015-01-12 16:38:47 -08007169
Craig Tiller8f126a62015-01-15 08:50:19 -08007170deps_chttp2_simple_ssl_fullstack_simple_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007171
nnoble69ac39f2014-12-12 15:43:38 -08007172ifneq ($(NO_SECURE),true)
7173ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007174-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007175endif
nnoble69ac39f2014-12-12 15:43:38 -08007176endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007177
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007178
nathaniel52878172014-12-09 10:17:19 -08007179CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007180
ctillercab52e72015-01-06 13:10:23 -08007181CHTTP2_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 -08007182
nnoble69ac39f2014-12-12 15:43:38 -08007183ifeq ($(NO_SECURE),true)
7184
Nicolas Noble047b7272015-01-16 13:55:05 -08007185# You can't build secure targets if you don't have OpenSSL with ALPN.
7186
ctillercab52e72015-01-06 13:10:23 -08007187bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007188
7189else
7190
nnoble5f2ecb32015-01-12 16:40:18 -08007191bins/$(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 -08007192 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007193 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007194 $(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 -08007195
nnoble69ac39f2014-12-12 15:43:38 -08007196endif
7197
Craig Tillerd4773f52015-01-12 16:38:47 -08007198
Craig Tiller8f126a62015-01-15 08:50:19 -08007199deps_chttp2_simple_ssl_fullstack_thread_stress_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007200
nnoble69ac39f2014-12-12 15:43:38 -08007201ifneq ($(NO_SECURE),true)
7202ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007203-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007204endif
nnoble69ac39f2014-12-12 15:43:38 -08007205endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007206
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007207
7208CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
7209
ctillercab52e72015-01-06 13:10:23 -08007210CHTTP2_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 -08007211
nnoble69ac39f2014-12-12 15:43:38 -08007212ifeq ($(NO_SECURE),true)
7213
Nicolas Noble047b7272015-01-16 13:55:05 -08007214# You can't build secure targets if you don't have OpenSSL with ALPN.
7215
ctillercab52e72015-01-06 13:10:23 -08007216bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007217
7218else
7219
nnoble5f2ecb32015-01-12 16:40:18 -08007220bins/$(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 -08007221 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007222 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007223 $(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 -08007224
nnoble69ac39f2014-12-12 15:43:38 -08007225endif
7226
Craig Tillerd4773f52015-01-12 16:38:47 -08007227
Craig Tiller8f126a62015-01-15 08:50:19 -08007228deps_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 -08007229
nnoble69ac39f2014-12-12 15:43:38 -08007230ifneq ($(NO_SECURE),true)
7231ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007232-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007233endif
nnoble69ac39f2014-12-12 15:43:38 -08007234endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007235
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007236
7237CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
7238
ctillercab52e72015-01-06 13:10:23 -08007239CHTTP2_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 -08007240
nnoble69ac39f2014-12-12 15:43:38 -08007241ifeq ($(NO_SECURE),true)
7242
Nicolas Noble047b7272015-01-16 13:55:05 -08007243# You can't build secure targets if you don't have OpenSSL with ALPN.
7244
ctillercab52e72015-01-06 13:10:23 -08007245bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007246
7247else
7248
nnoble5f2ecb32015-01-12 16:40:18 -08007249bins/$(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 -08007250 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007251 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007252 $(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 -08007253
nnoble69ac39f2014-12-12 15:43:38 -08007254endif
7255
Craig Tillerd4773f52015-01-12 16:38:47 -08007256
Craig Tiller8f126a62015-01-15 08:50:19 -08007257deps_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 -08007258
nnoble69ac39f2014-12-12 15:43:38 -08007259ifneq ($(NO_SECURE),true)
7260ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007261-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007262endif
nnoble69ac39f2014-12-12 15:43:38 -08007263endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007264
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007265
7266CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
7267
ctillercab52e72015-01-06 13:10:23 -08007268CHTTP2_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 -08007269
nnoble69ac39f2014-12-12 15:43:38 -08007270ifeq ($(NO_SECURE),true)
7271
Nicolas Noble047b7272015-01-16 13:55:05 -08007272# You can't build secure targets if you don't have OpenSSL with ALPN.
7273
ctillercab52e72015-01-06 13:10:23 -08007274bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007275
7276else
7277
nnoble5f2ecb32015-01-12 16:40:18 -08007278bins/$(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 -08007279 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007280 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007281 $(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 -08007282
nnoble69ac39f2014-12-12 15:43:38 -08007283endif
7284
Craig Tillerd4773f52015-01-12 16:38:47 -08007285
Craig Tiller8f126a62015-01-15 08:50:19 -08007286deps_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 -08007287
nnoble69ac39f2014-12-12 15:43:38 -08007288ifneq ($(NO_SECURE),true)
7289ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007290-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007291endif
nnoble69ac39f2014-12-12 15:43:38 -08007292endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007293
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007294
7295CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
7296
ctillercab52e72015-01-06 13:10:23 -08007297CHTTP2_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 -08007298
nnoble69ac39f2014-12-12 15:43:38 -08007299ifeq ($(NO_SECURE),true)
7300
Nicolas Noble047b7272015-01-16 13:55:05 -08007301# You can't build secure targets if you don't have OpenSSL with ALPN.
7302
ctillercab52e72015-01-06 13:10:23 -08007303bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007304
7305else
7306
nnoble5f2ecb32015-01-12 16:40:18 -08007307bins/$(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 -08007308 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007309 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007310 $(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 -08007311
nnoble69ac39f2014-12-12 15:43:38 -08007312endif
7313
Craig Tillerd4773f52015-01-12 16:38:47 -08007314
Craig Tiller8f126a62015-01-15 08:50:19 -08007315deps_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 -08007316
nnoble69ac39f2014-12-12 15:43:38 -08007317ifneq ($(NO_SECURE),true)
7318ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007319-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007320endif
nnoble69ac39f2014-12-12 15:43:38 -08007321endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007322
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007323
7324CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
7325
ctillercab52e72015-01-06 13:10:23 -08007326CHTTP2_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 -08007327
nnoble69ac39f2014-12-12 15:43:38 -08007328ifeq ($(NO_SECURE),true)
7329
Nicolas Noble047b7272015-01-16 13:55:05 -08007330# You can't build secure targets if you don't have OpenSSL with ALPN.
7331
ctillercab52e72015-01-06 13:10:23 -08007332bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007333
7334else
7335
nnoble5f2ecb32015-01-12 16:40:18 -08007336bins/$(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 -08007337 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007338 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007339 $(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 -08007340
nnoble69ac39f2014-12-12 15:43:38 -08007341endif
7342
Craig Tillerd4773f52015-01-12 16:38:47 -08007343
Craig Tiller8f126a62015-01-15 08:50:19 -08007344deps_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 -08007345
nnoble69ac39f2014-12-12 15:43:38 -08007346ifneq ($(NO_SECURE),true)
7347ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007348-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007349endif
nnoble69ac39f2014-12-12 15:43:38 -08007350endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007351
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007352
7353CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
7354
ctillercab52e72015-01-06 13:10:23 -08007355CHTTP2_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 -08007356
nnoble69ac39f2014-12-12 15:43:38 -08007357ifeq ($(NO_SECURE),true)
7358
Nicolas Noble047b7272015-01-16 13:55:05 -08007359# You can't build secure targets if you don't have OpenSSL with ALPN.
7360
ctillercab52e72015-01-06 13:10:23 -08007361bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007362
7363else
7364
nnoble5f2ecb32015-01-12 16:40:18 -08007365bins/$(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 -08007366 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007367 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007368 $(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 -08007369
nnoble69ac39f2014-12-12 15:43:38 -08007370endif
7371
Craig Tillerd4773f52015-01-12 16:38:47 -08007372
Craig Tiller8f126a62015-01-15 08:50:19 -08007373deps_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 -08007374
nnoble69ac39f2014-12-12 15:43:38 -08007375ifneq ($(NO_SECURE),true)
7376ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007377-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007378endif
nnoble69ac39f2014-12-12 15:43:38 -08007379endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007380
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007381
hongyu24200d32015-01-08 15:13:49 -08007382CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
7383
7384CHTTP2_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 -08007385
7386ifeq ($(NO_SECURE),true)
7387
Nicolas Noble047b7272015-01-16 13:55:05 -08007388# You can't build secure targets if you don't have OpenSSL with ALPN.
7389
hongyu24200d32015-01-08 15:13:49 -08007390bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: openssl_dep_error
7391
7392else
7393
nnoble5f2ecb32015-01-12 16:40:18 -08007394bins/$(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 -08007395 $(E) "[LD] Linking $@"
7396 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007397 $(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 -08007398
7399endif
7400
Craig Tillerd4773f52015-01-12 16:38:47 -08007401
Craig Tiller8f126a62015-01-15 08:50:19 -08007402deps_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 -08007403
7404ifneq ($(NO_SECURE),true)
7405ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007406-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007407endif
7408endif
7409
hongyu24200d32015-01-08 15:13:49 -08007410
ctillerc6d61c42014-12-15 14:52:08 -08007411CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
7412
ctillercab52e72015-01-06 13:10:23 -08007413CHTTP2_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 -08007414
7415ifeq ($(NO_SECURE),true)
7416
Nicolas Noble047b7272015-01-16 13:55:05 -08007417# You can't build secure targets if you don't have OpenSSL with ALPN.
7418
ctillercab52e72015-01-06 13:10:23 -08007419bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08007420
7421else
7422
nnoble5f2ecb32015-01-12 16:40:18 -08007423bins/$(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 -08007424 $(E) "[LD] Linking $@"
7425 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007426 $(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 -08007427
7428endif
7429
Craig Tillerd4773f52015-01-12 16:38:47 -08007430
Craig Tiller8f126a62015-01-15 08:50:19 -08007431deps_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 -08007432
7433ifneq ($(NO_SECURE),true)
7434ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007435-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007436endif
7437endif
7438
ctillerc6d61c42014-12-15 14:52:08 -08007439
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007440CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
7441
ctillercab52e72015-01-06 13:10:23 -08007442CHTTP2_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 -08007443
nnoble69ac39f2014-12-12 15:43:38 -08007444ifeq ($(NO_SECURE),true)
7445
Nicolas Noble047b7272015-01-16 13:55:05 -08007446# You can't build secure targets if you don't have OpenSSL with ALPN.
7447
ctillercab52e72015-01-06 13:10:23 -08007448bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007449
7450else
7451
nnoble5f2ecb32015-01-12 16:40:18 -08007452bins/$(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 -08007453 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007454 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007455 $(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 -08007456
nnoble69ac39f2014-12-12 15:43:38 -08007457endif
7458
Craig Tillerd4773f52015-01-12 16:38:47 -08007459
Craig Tiller8f126a62015-01-15 08:50:19 -08007460deps_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 -08007461
nnoble69ac39f2014-12-12 15:43:38 -08007462ifneq ($(NO_SECURE),true)
7463ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007464-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007465endif
nnoble69ac39f2014-12-12 15:43:38 -08007466endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007467
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007468
7469CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7470
ctillercab52e72015-01-06 13:10:23 -08007471CHTTP2_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 -08007472
nnoble69ac39f2014-12-12 15:43:38 -08007473ifeq ($(NO_SECURE),true)
7474
Nicolas Noble047b7272015-01-16 13:55:05 -08007475# You can't build secure targets if you don't have OpenSSL with ALPN.
7476
ctillercab52e72015-01-06 13:10:23 -08007477bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007478
7479else
7480
nnoble5f2ecb32015-01-12 16:40:18 -08007481bins/$(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 -08007482 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007483 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007484 $(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 -08007485
nnoble69ac39f2014-12-12 15:43:38 -08007486endif
7487
Craig Tillerd4773f52015-01-12 16:38:47 -08007488
Craig Tiller8f126a62015-01-15 08:50:19 -08007489deps_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 -08007490
nnoble69ac39f2014-12-12 15:43:38 -08007491ifneq ($(NO_SECURE),true)
7492ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007493-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007494endif
nnoble69ac39f2014-12-12 15:43:38 -08007495endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007496
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007497
7498CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7499
ctillercab52e72015-01-06 13:10:23 -08007500CHTTP2_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 -08007501
nnoble69ac39f2014-12-12 15:43:38 -08007502ifeq ($(NO_SECURE),true)
7503
Nicolas Noble047b7272015-01-16 13:55:05 -08007504# You can't build secure targets if you don't have OpenSSL with ALPN.
7505
ctillercab52e72015-01-06 13:10:23 -08007506bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007507
7508else
7509
nnoble5f2ecb32015-01-12 16:40:18 -08007510bins/$(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 -08007511 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007512 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007513 $(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 -08007514
nnoble69ac39f2014-12-12 15:43:38 -08007515endif
7516
Craig Tillerd4773f52015-01-12 16:38:47 -08007517
Craig Tiller8f126a62015-01-15 08:50:19 -08007518deps_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 -08007519
nnoble69ac39f2014-12-12 15:43:38 -08007520ifneq ($(NO_SECURE),true)
7521ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007522-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007523endif
nnoble69ac39f2014-12-12 15:43:38 -08007524endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007525
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007526
7527CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7528
ctillercab52e72015-01-06 13:10:23 -08007529CHTTP2_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 -08007530
nnoble69ac39f2014-12-12 15:43:38 -08007531ifeq ($(NO_SECURE),true)
7532
Nicolas Noble047b7272015-01-16 13:55:05 -08007533# You can't build secure targets if you don't have OpenSSL with ALPN.
7534
ctillercab52e72015-01-06 13:10:23 -08007535bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007536
7537else
7538
nnoble5f2ecb32015-01-12 16:40:18 -08007539bins/$(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 -08007540 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007541 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007542 $(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 -08007543
nnoble69ac39f2014-12-12 15:43:38 -08007544endif
7545
Craig Tillerd4773f52015-01-12 16:38:47 -08007546
Craig Tiller8f126a62015-01-15 08:50:19 -08007547deps_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 -08007548
nnoble69ac39f2014-12-12 15:43:38 -08007549ifneq ($(NO_SECURE),true)
7550ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007551-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007552endif
nnoble69ac39f2014-12-12 15:43:38 -08007553endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007554
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007555
7556CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_SRC = \
7557
ctillercab52e72015-01-06 13:10:23 -08007558CHTTP2_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 -08007559
nnoble69ac39f2014-12-12 15:43:38 -08007560ifeq ($(NO_SECURE),true)
7561
Nicolas Noble047b7272015-01-16 13:55:05 -08007562# You can't build secure targets if you don't have OpenSSL with ALPN.
7563
ctillercab52e72015-01-06 13:10:23 -08007564bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007565
7566else
7567
nnoble5f2ecb32015-01-12 16:40:18 -08007568bins/$(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 -08007569 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007570 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007571 $(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 -08007572
nnoble69ac39f2014-12-12 15:43:38 -08007573endif
7574
Craig Tillerd4773f52015-01-12 16:38:47 -08007575
Craig Tiller8f126a62015-01-15 08:50:19 -08007576deps_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 -08007577
nnoble69ac39f2014-12-12 15:43:38 -08007578ifneq ($(NO_SECURE),true)
7579ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007580-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007581endif
nnoble69ac39f2014-12-12 15:43:38 -08007582endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007583
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007584
7585CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7586
ctillercab52e72015-01-06 13:10:23 -08007587CHTTP2_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 -08007588
nnoble69ac39f2014-12-12 15:43:38 -08007589ifeq ($(NO_SECURE),true)
7590
Nicolas Noble047b7272015-01-16 13:55:05 -08007591# You can't build secure targets if you don't have OpenSSL with ALPN.
7592
ctillercab52e72015-01-06 13:10:23 -08007593bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007594
7595else
7596
nnoble5f2ecb32015-01-12 16:40:18 -08007597bins/$(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 -08007598 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007599 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007600 $(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 -08007601
nnoble69ac39f2014-12-12 15:43:38 -08007602endif
7603
Craig Tillerd4773f52015-01-12 16:38:47 -08007604
Craig Tiller8f126a62015-01-15 08:50:19 -08007605deps_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 -08007606
nnoble69ac39f2014-12-12 15:43:38 -08007607ifneq ($(NO_SECURE),true)
7608ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007609-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007610endif
nnoble69ac39f2014-12-12 15:43:38 -08007611endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007612
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007613
ctiller33023c42014-12-12 16:28:33 -08007614CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7615
ctillercab52e72015-01-06 13:10:23 -08007616CHTTP2_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 -08007617
7618ifeq ($(NO_SECURE),true)
7619
Nicolas Noble047b7272015-01-16 13:55:05 -08007620# You can't build secure targets if you don't have OpenSSL with ALPN.
7621
ctillercab52e72015-01-06 13:10:23 -08007622bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007623
7624else
7625
nnoble5f2ecb32015-01-12 16:40:18 -08007626bins/$(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 -08007627 $(E) "[LD] Linking $@"
7628 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007629 $(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 -08007630
7631endif
7632
Craig Tillerd4773f52015-01-12 16:38:47 -08007633
Craig Tiller8f126a62015-01-15 08:50:19 -08007634deps_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 -08007635
7636ifneq ($(NO_SECURE),true)
7637ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007638-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007639endif
7640endif
7641
ctiller33023c42014-12-12 16:28:33 -08007642
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007643CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7644
ctillercab52e72015-01-06 13:10:23 -08007645CHTTP2_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 -08007646
nnoble69ac39f2014-12-12 15:43:38 -08007647ifeq ($(NO_SECURE),true)
7648
Nicolas Noble047b7272015-01-16 13:55:05 -08007649# You can't build secure targets if you don't have OpenSSL with ALPN.
7650
ctillercab52e72015-01-06 13:10:23 -08007651bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007652
7653else
7654
nnoble5f2ecb32015-01-12 16:40:18 -08007655bins/$(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 -08007656 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007657 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007658 $(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 -08007659
nnoble69ac39f2014-12-12 15:43:38 -08007660endif
7661
Craig Tillerd4773f52015-01-12 16:38:47 -08007662
Craig Tiller8f126a62015-01-15 08:50:19 -08007663deps_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 -08007664
nnoble69ac39f2014-12-12 15:43:38 -08007665ifneq ($(NO_SECURE),true)
7666ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007667-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007668endif
nnoble69ac39f2014-12-12 15:43:38 -08007669endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007670
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007671
7672CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
7673
ctillercab52e72015-01-06 13:10:23 -08007674CHTTP2_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 -08007675
nnoble69ac39f2014-12-12 15:43:38 -08007676ifeq ($(NO_SECURE),true)
7677
Nicolas Noble047b7272015-01-16 13:55:05 -08007678# You can't build secure targets if you don't have OpenSSL with ALPN.
7679
ctillercab52e72015-01-06 13:10:23 -08007680bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007681
7682else
7683
nnoble5f2ecb32015-01-12 16:40:18 -08007684bins/$(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 -08007685 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007686 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007687 $(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 -08007688
nnoble69ac39f2014-12-12 15:43:38 -08007689endif
7690
Craig Tillerd4773f52015-01-12 16:38:47 -08007691
Craig Tiller8f126a62015-01-15 08:50:19 -08007692deps_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 -08007693
nnoble69ac39f2014-12-12 15:43:38 -08007694ifneq ($(NO_SECURE),true)
7695ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007696-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007697endif
nnoble69ac39f2014-12-12 15:43:38 -08007698endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007699
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007700
ctiller2845cad2014-12-15 15:14:12 -08007701CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
7702
ctillercab52e72015-01-06 13:10:23 -08007703CHTTP2_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 -08007704
7705ifeq ($(NO_SECURE),true)
7706
Nicolas Noble047b7272015-01-16 13:55:05 -08007707# You can't build secure targets if you don't have OpenSSL with ALPN.
7708
ctillercab52e72015-01-06 13:10:23 -08007709bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08007710
7711else
7712
nnoble5f2ecb32015-01-12 16:40:18 -08007713bins/$(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 -08007714 $(E) "[LD] Linking $@"
7715 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007716 $(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 -08007717
7718endif
7719
Craig Tillerd4773f52015-01-12 16:38:47 -08007720
Craig Tiller8f126a62015-01-15 08:50:19 -08007721deps_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 -08007722
7723ifneq ($(NO_SECURE),true)
7724ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007725-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08007726endif
7727endif
7728
ctiller2845cad2014-12-15 15:14:12 -08007729
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007730CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
7731
ctillercab52e72015-01-06 13:10:23 -08007732CHTTP2_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 -08007733
nnoble69ac39f2014-12-12 15:43:38 -08007734ifeq ($(NO_SECURE),true)
7735
Nicolas Noble047b7272015-01-16 13:55:05 -08007736# You can't build secure targets if you don't have OpenSSL with ALPN.
7737
ctillercab52e72015-01-06 13:10:23 -08007738bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007739
7740else
7741
nnoble5f2ecb32015-01-12 16:40:18 -08007742bins/$(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 -08007743 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007744 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007745 $(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 -08007746
nnoble69ac39f2014-12-12 15:43:38 -08007747endif
7748
Craig Tillerd4773f52015-01-12 16:38:47 -08007749
Craig Tiller8f126a62015-01-15 08:50:19 -08007750deps_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 -08007751
nnoble69ac39f2014-12-12 15:43:38 -08007752ifneq ($(NO_SECURE),true)
7753ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007754-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007755endif
nnoble69ac39f2014-12-12 15:43:38 -08007756endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007757
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007758
7759CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
7760
ctillercab52e72015-01-06 13:10:23 -08007761CHTTP2_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 -08007762
nnoble69ac39f2014-12-12 15:43:38 -08007763ifeq ($(NO_SECURE),true)
7764
Nicolas Noble047b7272015-01-16 13:55:05 -08007765# You can't build secure targets if you don't have OpenSSL with ALPN.
7766
ctillercab52e72015-01-06 13:10:23 -08007767bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007768
7769else
7770
nnoble5f2ecb32015-01-12 16:40:18 -08007771bins/$(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 -08007772 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007773 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007774 $(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 -08007775
nnoble69ac39f2014-12-12 15:43:38 -08007776endif
7777
Craig Tillerd4773f52015-01-12 16:38:47 -08007778
Craig Tiller8f126a62015-01-15 08:50:19 -08007779deps_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 -08007780
nnoble69ac39f2014-12-12 15:43:38 -08007781ifneq ($(NO_SECURE),true)
7782ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007783-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007784endif
nnoble69ac39f2014-12-12 15:43:38 -08007785endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007786
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007787
nathaniel52878172014-12-09 10:17:19 -08007788CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007789
ctillercab52e72015-01-06 13:10:23 -08007790CHTTP2_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 -08007791
nnoble69ac39f2014-12-12 15:43:38 -08007792ifeq ($(NO_SECURE),true)
7793
Nicolas Noble047b7272015-01-16 13:55:05 -08007794# You can't build secure targets if you don't have OpenSSL with ALPN.
7795
ctillercab52e72015-01-06 13:10:23 -08007796bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007797
7798else
7799
nnoble5f2ecb32015-01-12 16:40:18 -08007800bins/$(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 -08007801 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007802 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007803 $(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 -08007804
nnoble69ac39f2014-12-12 15:43:38 -08007805endif
7806
Craig Tillerd4773f52015-01-12 16:38:47 -08007807
Craig Tiller8f126a62015-01-15 08:50:19 -08007808deps_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 -08007809
nnoble69ac39f2014-12-12 15:43:38 -08007810ifneq ($(NO_SECURE),true)
7811ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007812-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007813endif
nnoble69ac39f2014-12-12 15:43:38 -08007814endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007815
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007816
7817CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
7818
ctillercab52e72015-01-06 13:10:23 -08007819CHTTP2_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 -08007820
nnoble69ac39f2014-12-12 15:43:38 -08007821ifeq ($(NO_SECURE),true)
7822
Nicolas Noble047b7272015-01-16 13:55:05 -08007823# You can't build secure targets if you don't have OpenSSL with ALPN.
7824
ctillercab52e72015-01-06 13:10:23 -08007825bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007826
7827else
7828
nnoble5f2ecb32015-01-12 16:40:18 -08007829bins/$(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 -08007830 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007831 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007832 $(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 -08007833
nnoble69ac39f2014-12-12 15:43:38 -08007834endif
7835
Craig Tillerd4773f52015-01-12 16:38:47 -08007836
Craig Tiller8f126a62015-01-15 08:50:19 -08007837deps_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 -08007838
nnoble69ac39f2014-12-12 15:43:38 -08007839ifneq ($(NO_SECURE),true)
7840ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007841-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007842endif
nnoble69ac39f2014-12-12 15:43:38 -08007843endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007844
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007845
7846CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_SRC = \
7847
ctillercab52e72015-01-06 13:10:23 -08007848CHTTP2_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 -08007849
nnoble69ac39f2014-12-12 15:43:38 -08007850ifeq ($(NO_SECURE),true)
7851
Nicolas Noble047b7272015-01-16 13:55:05 -08007852# You can't build secure targets if you don't have OpenSSL with ALPN.
7853
ctillercab52e72015-01-06 13:10:23 -08007854bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007855
7856else
7857
nnoble5f2ecb32015-01-12 16:40:18 -08007858bins/$(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 -08007859 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007860 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007861 $(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 -08007862
nnoble69ac39f2014-12-12 15:43:38 -08007863endif
7864
Craig Tillerd4773f52015-01-12 16:38:47 -08007865
Craig Tiller8f126a62015-01-15 08:50:19 -08007866deps_chttp2_socket_pair_cancel_after_accept_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007867
nnoble69ac39f2014-12-12 15:43:38 -08007868ifneq ($(NO_SECURE),true)
7869ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007870-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007871endif
nnoble69ac39f2014-12-12 15:43:38 -08007872endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007873
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007874
7875CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
7876
ctillercab52e72015-01-06 13:10:23 -08007877CHTTP2_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 -08007878
nnoble69ac39f2014-12-12 15:43:38 -08007879ifeq ($(NO_SECURE),true)
7880
Nicolas Noble047b7272015-01-16 13:55:05 -08007881# You can't build secure targets if you don't have OpenSSL with ALPN.
7882
ctillercab52e72015-01-06 13:10:23 -08007883bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007884
7885else
7886
nnoble5f2ecb32015-01-12 16:40:18 -08007887bins/$(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 -08007888 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007889 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007890 $(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 -08007891
nnoble69ac39f2014-12-12 15:43:38 -08007892endif
7893
Craig Tillerd4773f52015-01-12 16:38:47 -08007894
Craig Tiller8f126a62015-01-15 08:50:19 -08007895deps_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 -08007896
nnoble69ac39f2014-12-12 15:43:38 -08007897ifneq ($(NO_SECURE),true)
7898ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007899-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007900endif
nnoble69ac39f2014-12-12 15:43:38 -08007901endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007902
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007903
7904CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_SRC = \
7905
ctillercab52e72015-01-06 13:10:23 -08007906CHTTP2_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 -08007907
nnoble69ac39f2014-12-12 15:43:38 -08007908ifeq ($(NO_SECURE),true)
7909
Nicolas Noble047b7272015-01-16 13:55:05 -08007910# You can't build secure targets if you don't have OpenSSL with ALPN.
7911
ctillercab52e72015-01-06 13:10:23 -08007912bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007913
7914else
7915
nnoble5f2ecb32015-01-12 16:40:18 -08007916bins/$(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 -08007917 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007918 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007919 $(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 -08007920
nnoble69ac39f2014-12-12 15:43:38 -08007921endif
7922
Craig Tillerd4773f52015-01-12 16:38:47 -08007923
Craig Tiller8f126a62015-01-15 08:50:19 -08007924deps_chttp2_socket_pair_cancel_after_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007925
nnoble69ac39f2014-12-12 15:43:38 -08007926ifneq ($(NO_SECURE),true)
7927ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007928-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007929endif
nnoble69ac39f2014-12-12 15:43:38 -08007930endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007931
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007932
7933CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_SRC = \
7934
ctillercab52e72015-01-06 13:10:23 -08007935CHTTP2_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 -08007936
nnoble69ac39f2014-12-12 15:43:38 -08007937ifeq ($(NO_SECURE),true)
7938
Nicolas Noble047b7272015-01-16 13:55:05 -08007939# You can't build secure targets if you don't have OpenSSL with ALPN.
7940
ctillercab52e72015-01-06 13:10:23 -08007941bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007942
7943else
7944
nnoble5f2ecb32015-01-12 16:40:18 -08007945bins/$(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 -08007946 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007947 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007948 $(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 -08007949
nnoble69ac39f2014-12-12 15:43:38 -08007950endif
7951
Craig Tillerd4773f52015-01-12 16:38:47 -08007952
Craig Tiller8f126a62015-01-15 08:50:19 -08007953deps_chttp2_socket_pair_cancel_before_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007954
nnoble69ac39f2014-12-12 15:43:38 -08007955ifneq ($(NO_SECURE),true)
7956ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007957-include $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007958endif
nnoble69ac39f2014-12-12 15:43:38 -08007959endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007960
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007961
7962CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_SRC = \
7963
ctillercab52e72015-01-06 13:10:23 -08007964CHTTP2_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 -08007965
nnoble69ac39f2014-12-12 15:43:38 -08007966ifeq ($(NO_SECURE),true)
7967
Nicolas Noble047b7272015-01-16 13:55:05 -08007968# You can't build secure targets if you don't have OpenSSL with ALPN.
7969
ctillercab52e72015-01-06 13:10:23 -08007970bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007971
7972else
7973
nnoble5f2ecb32015-01-12 16:40:18 -08007974bins/$(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 -08007975 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007976 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007977 $(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 -08007978
nnoble69ac39f2014-12-12 15:43:38 -08007979endif
7980
Craig Tillerd4773f52015-01-12 16:38:47 -08007981
Craig Tiller8f126a62015-01-15 08:50:19 -08007982deps_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 -08007983
nnoble69ac39f2014-12-12 15:43:38 -08007984ifneq ($(NO_SECURE),true)
7985ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007986-include $(CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007987endif
nnoble69ac39f2014-12-12 15:43:38 -08007988endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007989
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007990
hongyu24200d32015-01-08 15:13:49 -08007991CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
7992
7993CHTTP2_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 -08007994
7995ifeq ($(NO_SECURE),true)
7996
Nicolas Noble047b7272015-01-16 13:55:05 -08007997# You can't build secure targets if you don't have OpenSSL with ALPN.
7998
hongyu24200d32015-01-08 15:13:49 -08007999bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test: openssl_dep_error
8000
8001else
8002
nnoble5f2ecb32015-01-12 16:40:18 -08008003bins/$(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 -08008004 $(E) "[LD] Linking $@"
8005 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008006 $(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 -08008007
8008endif
8009
Craig Tillerd4773f52015-01-12 16:38:47 -08008010
Craig Tiller8f126a62015-01-15 08:50:19 -08008011deps_chttp2_socket_pair_census_simple_request_test: $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008012
8013ifneq ($(NO_SECURE),true)
8014ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008015-include $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008016endif
8017endif
8018
hongyu24200d32015-01-08 15:13:49 -08008019
ctillerc6d61c42014-12-15 14:52:08 -08008020CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_SRC = \
8021
ctillercab52e72015-01-06 13:10:23 -08008022CHTTP2_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 -08008023
8024ifeq ($(NO_SECURE),true)
8025
Nicolas Noble047b7272015-01-16 13:55:05 -08008026# You can't build secure targets if you don't have OpenSSL with ALPN.
8027
ctillercab52e72015-01-06 13:10:23 -08008028bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08008029
8030else
8031
nnoble5f2ecb32015-01-12 16:40:18 -08008032bins/$(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 -08008033 $(E) "[LD] Linking $@"
8034 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008035 $(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 -08008036
8037endif
8038
Craig Tillerd4773f52015-01-12 16:38:47 -08008039
Craig Tiller8f126a62015-01-15 08:50:19 -08008040deps_chttp2_socket_pair_disappearing_server_test: $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008041
8042ifneq ($(NO_SECURE),true)
8043ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008044-include $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008045endif
8046endif
8047
ctillerc6d61c42014-12-15 14:52:08 -08008048
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008049CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
8050
ctillercab52e72015-01-06 13:10:23 -08008051CHTTP2_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 -08008052
nnoble69ac39f2014-12-12 15:43:38 -08008053ifeq ($(NO_SECURE),true)
8054
Nicolas Noble047b7272015-01-16 13:55:05 -08008055# You can't build secure targets if you don't have OpenSSL with ALPN.
8056
ctillercab52e72015-01-06 13:10:23 -08008057bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008058
8059else
8060
nnoble5f2ecb32015-01-12 16:40:18 -08008061bins/$(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 -08008062 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008063 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008064 $(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 -08008065
nnoble69ac39f2014-12-12 15:43:38 -08008066endif
8067
Craig Tillerd4773f52015-01-12 16:38:47 -08008068
Craig Tiller8f126a62015-01-15 08:50:19 -08008069deps_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 -08008070
nnoble69ac39f2014-12-12 15:43:38 -08008071ifneq ($(NO_SECURE),true)
8072ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008073-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008074endif
nnoble69ac39f2014-12-12 15:43:38 -08008075endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008076
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008077
8078CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
8079
ctillercab52e72015-01-06 13:10:23 -08008080CHTTP2_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 -08008081
nnoble69ac39f2014-12-12 15:43:38 -08008082ifeq ($(NO_SECURE),true)
8083
Nicolas Noble047b7272015-01-16 13:55:05 -08008084# You can't build secure targets if you don't have OpenSSL with ALPN.
8085
ctillercab52e72015-01-06 13:10:23 -08008086bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008087
8088else
8089
nnoble5f2ecb32015-01-12 16:40:18 -08008090bins/$(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 -08008091 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008092 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008093 $(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 -08008094
nnoble69ac39f2014-12-12 15:43:38 -08008095endif
8096
Craig Tillerd4773f52015-01-12 16:38:47 -08008097
Craig Tiller8f126a62015-01-15 08:50:19 -08008098deps_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 -08008099
nnoble69ac39f2014-12-12 15:43:38 -08008100ifneq ($(NO_SECURE),true)
8101ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008102-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008103endif
nnoble69ac39f2014-12-12 15:43:38 -08008104endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008105
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008106
8107CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_SRC = \
8108
ctillercab52e72015-01-06 13:10:23 -08008109CHTTP2_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 -08008110
nnoble69ac39f2014-12-12 15:43:38 -08008111ifeq ($(NO_SECURE),true)
8112
Nicolas Noble047b7272015-01-16 13:55:05 -08008113# You can't build secure targets if you don't have OpenSSL with ALPN.
8114
ctillercab52e72015-01-06 13:10:23 -08008115bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008116
8117else
8118
nnoble5f2ecb32015-01-12 16:40:18 -08008119bins/$(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 -08008120 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008121 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008122 $(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 -08008123
nnoble69ac39f2014-12-12 15:43:38 -08008124endif
8125
Craig Tillerd4773f52015-01-12 16:38:47 -08008126
Craig Tiller8f126a62015-01-15 08:50:19 -08008127deps_chttp2_socket_pair_invoke_large_request_test: $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008128
nnoble69ac39f2014-12-12 15:43:38 -08008129ifneq ($(NO_SECURE),true)
8130ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008131-include $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008132endif
nnoble69ac39f2014-12-12 15:43:38 -08008133endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008134
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008135
8136CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_SRC = \
8137
ctillercab52e72015-01-06 13:10:23 -08008138CHTTP2_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 -08008139
nnoble69ac39f2014-12-12 15:43:38 -08008140ifeq ($(NO_SECURE),true)
8141
Nicolas Noble047b7272015-01-16 13:55:05 -08008142# You can't build secure targets if you don't have OpenSSL with ALPN.
8143
ctillercab52e72015-01-06 13:10:23 -08008144bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008145
8146else
8147
nnoble5f2ecb32015-01-12 16:40:18 -08008148bins/$(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 -08008149 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008150 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008151 $(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 -08008152
nnoble69ac39f2014-12-12 15:43:38 -08008153endif
8154
Craig Tillerd4773f52015-01-12 16:38:47 -08008155
Craig Tiller8f126a62015-01-15 08:50:19 -08008156deps_chttp2_socket_pair_max_concurrent_streams_test: $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008157
nnoble69ac39f2014-12-12 15:43:38 -08008158ifneq ($(NO_SECURE),true)
8159ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008160-include $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008161endif
nnoble69ac39f2014-12-12 15:43:38 -08008162endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008163
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008164
8165CHTTP2_SOCKET_PAIR_NO_OP_TEST_SRC = \
8166
ctillercab52e72015-01-06 13:10:23 -08008167CHTTP2_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 -08008168
nnoble69ac39f2014-12-12 15:43:38 -08008169ifeq ($(NO_SECURE),true)
8170
Nicolas Noble047b7272015-01-16 13:55:05 -08008171# You can't build secure targets if you don't have OpenSSL with ALPN.
8172
ctillercab52e72015-01-06 13:10:23 -08008173bins/$(CONFIG)/chttp2_socket_pair_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008174
8175else
8176
nnoble5f2ecb32015-01-12 16:40:18 -08008177bins/$(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 -08008178 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008179 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008180 $(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 -08008181
nnoble69ac39f2014-12-12 15:43:38 -08008182endif
8183
Craig Tillerd4773f52015-01-12 16:38:47 -08008184
Craig Tiller8f126a62015-01-15 08:50:19 -08008185deps_chttp2_socket_pair_no_op_test: $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008186
nnoble69ac39f2014-12-12 15:43:38 -08008187ifneq ($(NO_SECURE),true)
8188ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008189-include $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008190endif
nnoble69ac39f2014-12-12 15:43:38 -08008191endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008192
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008193
8194CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_SRC = \
8195
ctillercab52e72015-01-06 13:10:23 -08008196CHTTP2_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 -08008197
nnoble69ac39f2014-12-12 15:43:38 -08008198ifeq ($(NO_SECURE),true)
8199
Nicolas Noble047b7272015-01-16 13:55:05 -08008200# You can't build secure targets if you don't have OpenSSL with ALPN.
8201
ctillercab52e72015-01-06 13:10:23 -08008202bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008203
8204else
8205
nnoble5f2ecb32015-01-12 16:40:18 -08008206bins/$(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 -08008207 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008208 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008209 $(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 -08008210
nnoble69ac39f2014-12-12 15:43:38 -08008211endif
8212
Craig Tillerd4773f52015-01-12 16:38:47 -08008213
Craig Tiller8f126a62015-01-15 08:50:19 -08008214deps_chttp2_socket_pair_ping_pong_streaming_test: $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008215
nnoble69ac39f2014-12-12 15:43:38 -08008216ifneq ($(NO_SECURE),true)
8217ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008218-include $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008219endif
nnoble69ac39f2014-12-12 15:43:38 -08008220endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008221
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008222
ctiller33023c42014-12-12 16:28:33 -08008223CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
8224
ctillercab52e72015-01-06 13:10:23 -08008225CHTTP2_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 -08008226
8227ifeq ($(NO_SECURE),true)
8228
Nicolas Noble047b7272015-01-16 13:55:05 -08008229# You can't build secure targets if you don't have OpenSSL with ALPN.
8230
ctillercab52e72015-01-06 13:10:23 -08008231bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08008232
8233else
8234
nnoble5f2ecb32015-01-12 16:40:18 -08008235bins/$(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 -08008236 $(E) "[LD] Linking $@"
8237 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008238 $(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 -08008239
8240endif
8241
Craig Tillerd4773f52015-01-12 16:38:47 -08008242
Craig Tiller8f126a62015-01-15 08:50:19 -08008243deps_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 -08008244
8245ifneq ($(NO_SECURE),true)
8246ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008247-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08008248endif
8249endif
8250
ctiller33023c42014-12-12 16:28:33 -08008251
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008252CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
8253
ctillercab52e72015-01-06 13:10:23 -08008254CHTTP2_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 -08008255
nnoble69ac39f2014-12-12 15:43:38 -08008256ifeq ($(NO_SECURE),true)
8257
Nicolas Noble047b7272015-01-16 13:55:05 -08008258# You can't build secure targets if you don't have OpenSSL with ALPN.
8259
ctillercab52e72015-01-06 13:10:23 -08008260bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008261
8262else
8263
nnoble5f2ecb32015-01-12 16:40:18 -08008264bins/$(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 -08008265 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008266 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008267 $(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 -08008268
nnoble69ac39f2014-12-12 15:43:38 -08008269endif
8270
Craig Tillerd4773f52015-01-12 16:38:47 -08008271
Craig Tiller8f126a62015-01-15 08:50:19 -08008272deps_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 -08008273
nnoble69ac39f2014-12-12 15:43:38 -08008274ifneq ($(NO_SECURE),true)
8275ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008276-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008277endif
nnoble69ac39f2014-12-12 15:43:38 -08008278endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008279
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008280
8281CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
8282
ctillercab52e72015-01-06 13:10:23 -08008283CHTTP2_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 -08008284
nnoble69ac39f2014-12-12 15:43:38 -08008285ifeq ($(NO_SECURE),true)
8286
Nicolas Noble047b7272015-01-16 13:55:05 -08008287# You can't build secure targets if you don't have OpenSSL with ALPN.
8288
ctillercab52e72015-01-06 13:10:23 -08008289bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008290
8291else
8292
nnoble5f2ecb32015-01-12 16:40:18 -08008293bins/$(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 -08008294 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008295 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008296 $(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 -08008297
nnoble69ac39f2014-12-12 15:43:38 -08008298endif
8299
Craig Tillerd4773f52015-01-12 16:38:47 -08008300
Craig Tiller8f126a62015-01-15 08:50:19 -08008301deps_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 -08008302
nnoble69ac39f2014-12-12 15:43:38 -08008303ifneq ($(NO_SECURE),true)
8304ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008305-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008306endif
nnoble69ac39f2014-12-12 15:43:38 -08008307endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008308
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008309
ctiller2845cad2014-12-15 15:14:12 -08008310CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
8311
ctillercab52e72015-01-06 13:10:23 -08008312CHTTP2_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 -08008313
8314ifeq ($(NO_SECURE),true)
8315
Nicolas Noble047b7272015-01-16 13:55:05 -08008316# You can't build secure targets if you don't have OpenSSL with ALPN.
8317
ctillercab52e72015-01-06 13:10:23 -08008318bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08008319
8320else
8321
nnoble5f2ecb32015-01-12 16:40:18 -08008322bins/$(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 -08008323 $(E) "[LD] Linking $@"
8324 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008325 $(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 -08008326
8327endif
8328
Craig Tillerd4773f52015-01-12 16:38:47 -08008329
Craig Tiller8f126a62015-01-15 08:50:19 -08008330deps_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 -08008331
8332ifneq ($(NO_SECURE),true)
8333ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008334-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008335endif
8336endif
8337
ctiller2845cad2014-12-15 15:14:12 -08008338
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008339CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
8340
ctillercab52e72015-01-06 13:10:23 -08008341CHTTP2_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 -08008342
nnoble69ac39f2014-12-12 15:43:38 -08008343ifeq ($(NO_SECURE),true)
8344
Nicolas Noble047b7272015-01-16 13:55:05 -08008345# You can't build secure targets if you don't have OpenSSL with ALPN.
8346
ctillercab52e72015-01-06 13:10:23 -08008347bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008348
8349else
8350
nnoble5f2ecb32015-01-12 16:40:18 -08008351bins/$(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 -08008352 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008353 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008354 $(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 -08008355
nnoble69ac39f2014-12-12 15:43:38 -08008356endif
8357
Craig Tillerd4773f52015-01-12 16:38:47 -08008358
Craig Tiller8f126a62015-01-15 08:50:19 -08008359deps_chttp2_socket_pair_simple_delayed_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008360
nnoble69ac39f2014-12-12 15:43:38 -08008361ifneq ($(NO_SECURE),true)
8362ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008363-include $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008364endif
nnoble69ac39f2014-12-12 15:43:38 -08008365endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008366
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008367
8368CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_SRC = \
8369
ctillercab52e72015-01-06 13:10:23 -08008370CHTTP2_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 -08008371
nnoble69ac39f2014-12-12 15:43:38 -08008372ifeq ($(NO_SECURE),true)
8373
Nicolas Noble047b7272015-01-16 13:55:05 -08008374# You can't build secure targets if you don't have OpenSSL with ALPN.
8375
ctillercab52e72015-01-06 13:10:23 -08008376bins/$(CONFIG)/chttp2_socket_pair_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008377
8378else
8379
nnoble5f2ecb32015-01-12 16:40:18 -08008380bins/$(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 -08008381 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008382 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008383 $(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 -08008384
nnoble69ac39f2014-12-12 15:43:38 -08008385endif
8386
Craig Tillerd4773f52015-01-12 16:38:47 -08008387
Craig Tiller8f126a62015-01-15 08:50:19 -08008388deps_chttp2_socket_pair_simple_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008389
nnoble69ac39f2014-12-12 15:43:38 -08008390ifneq ($(NO_SECURE),true)
8391ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008392-include $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008393endif
nnoble69ac39f2014-12-12 15:43:38 -08008394endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008395
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008396
nathaniel52878172014-12-09 10:17:19 -08008397CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008398
ctillercab52e72015-01-06 13:10:23 -08008399CHTTP2_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 -08008400
nnoble69ac39f2014-12-12 15:43:38 -08008401ifeq ($(NO_SECURE),true)
8402
Nicolas Noble047b7272015-01-16 13:55:05 -08008403# You can't build secure targets if you don't have OpenSSL with ALPN.
8404
ctillercab52e72015-01-06 13:10:23 -08008405bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008406
8407else
8408
nnoble5f2ecb32015-01-12 16:40:18 -08008409bins/$(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 -08008410 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008411 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008412 $(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 -08008413
nnoble69ac39f2014-12-12 15:43:38 -08008414endif
8415
Craig Tillerd4773f52015-01-12 16:38:47 -08008416
Craig Tiller8f126a62015-01-15 08:50:19 -08008417deps_chttp2_socket_pair_thread_stress_test: $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008418
nnoble69ac39f2014-12-12 15:43:38 -08008419ifneq ($(NO_SECURE),true)
8420ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008421-include $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008422endif
nnoble69ac39f2014-12-12 15:43:38 -08008423endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008424
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008425
8426CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8427
ctillercab52e72015-01-06 13:10:23 -08008428CHTTP2_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 -08008429
nnoble69ac39f2014-12-12 15:43:38 -08008430ifeq ($(NO_SECURE),true)
8431
Nicolas Noble047b7272015-01-16 13:55:05 -08008432# You can't build secure targets if you don't have OpenSSL with ALPN.
8433
ctillercab52e72015-01-06 13:10:23 -08008434bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008435
8436else
8437
nnoble5f2ecb32015-01-12 16:40:18 -08008438bins/$(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 -08008439 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008440 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008441 $(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 -08008442
nnoble69ac39f2014-12-12 15:43:38 -08008443endif
8444
Craig Tillerd4773f52015-01-12 16:38:47 -08008445
Craig Tiller8f126a62015-01-15 08:50:19 -08008446deps_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 -08008447
nnoble69ac39f2014-12-12 15:43:38 -08008448ifneq ($(NO_SECURE),true)
8449ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008450-include $(CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008451endif
nnoble69ac39f2014-12-12 15:43:38 -08008452endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008453
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008454
nnoble0c475f02014-12-05 15:37:39 -08008455CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8456
ctillercab52e72015-01-06 13:10:23 -08008457CHTTP2_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 -08008458
nnoble69ac39f2014-12-12 15:43:38 -08008459ifeq ($(NO_SECURE),true)
8460
Nicolas Noble047b7272015-01-16 13:55:05 -08008461# You can't build secure targets if you don't have OpenSSL with ALPN.
8462
ctillercab52e72015-01-06 13:10:23 -08008463bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008464
8465else
8466
nnoble5f2ecb32015-01-12 16:40:18 -08008467bins/$(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 -08008468 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008469 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008470 $(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 -08008471
nnoble69ac39f2014-12-12 15:43:38 -08008472endif
8473
Craig Tillerd4773f52015-01-12 16:38:47 -08008474
Craig Tiller8f126a62015-01-15 08:50:19 -08008475deps_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 -08008476
nnoble69ac39f2014-12-12 15:43:38 -08008477ifneq ($(NO_SECURE),true)
8478ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008479-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008480endif
nnoble69ac39f2014-12-12 15:43:38 -08008481endif
nnoble0c475f02014-12-05 15:37:39 -08008482
nnoble0c475f02014-12-05 15:37:39 -08008483
8484CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8485
ctillercab52e72015-01-06 13:10:23 -08008486CHTTP2_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 -08008487
nnoble69ac39f2014-12-12 15:43:38 -08008488ifeq ($(NO_SECURE),true)
8489
Nicolas Noble047b7272015-01-16 13:55:05 -08008490# You can't build secure targets if you don't have OpenSSL with ALPN.
8491
ctillercab52e72015-01-06 13:10:23 -08008492bins/$(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 -08008493
8494else
8495
nnoble5f2ecb32015-01-12 16:40:18 -08008496bins/$(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 -08008497 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008498 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008499 $(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 -08008500
nnoble69ac39f2014-12-12 15:43:38 -08008501endif
8502
Craig Tillerd4773f52015-01-12 16:38:47 -08008503
Craig Tiller8f126a62015-01-15 08:50:19 -08008504deps_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 -08008505
nnoble69ac39f2014-12-12 15:43:38 -08008506ifneq ($(NO_SECURE),true)
8507ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008508-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 -08008509endif
nnoble69ac39f2014-12-12 15:43:38 -08008510endif
nnoble0c475f02014-12-05 15:37:39 -08008511
nnoble0c475f02014-12-05 15:37:39 -08008512
8513CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_SRC = \
8514
ctillercab52e72015-01-06 13:10:23 -08008515CHTTP2_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 -08008516
nnoble69ac39f2014-12-12 15:43:38 -08008517ifeq ($(NO_SECURE),true)
8518
Nicolas Noble047b7272015-01-16 13:55:05 -08008519# You can't build secure targets if you don't have OpenSSL with ALPN.
8520
ctillercab52e72015-01-06 13:10:23 -08008521bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008522
8523else
8524
nnoble5f2ecb32015-01-12 16:40:18 -08008525bins/$(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 -08008526 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008527 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008528 $(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 -08008529
nnoble69ac39f2014-12-12 15:43:38 -08008530endif
8531
Craig Tillerd4773f52015-01-12 16:38:47 -08008532
Craig Tiller8f126a62015-01-15 08:50:19 -08008533deps_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 -08008534
nnoble69ac39f2014-12-12 15:43:38 -08008535ifneq ($(NO_SECURE),true)
8536ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008537-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008538endif
nnoble69ac39f2014-12-12 15:43:38 -08008539endif
nnoble0c475f02014-12-05 15:37:39 -08008540
nnoble0c475f02014-12-05 15:37:39 -08008541
8542CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8543
ctillercab52e72015-01-06 13:10:23 -08008544CHTTP2_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 -08008545
nnoble69ac39f2014-12-12 15:43:38 -08008546ifeq ($(NO_SECURE),true)
8547
Nicolas Noble047b7272015-01-16 13:55:05 -08008548# You can't build secure targets if you don't have OpenSSL with ALPN.
8549
ctillercab52e72015-01-06 13:10:23 -08008550bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008551
8552else
8553
nnoble5f2ecb32015-01-12 16:40:18 -08008554bins/$(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 -08008555 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008556 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008557 $(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 -08008558
nnoble69ac39f2014-12-12 15:43:38 -08008559endif
8560
Craig Tillerd4773f52015-01-12 16:38:47 -08008561
Craig Tiller8f126a62015-01-15 08:50:19 -08008562deps_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 -08008563
nnoble69ac39f2014-12-12 15:43:38 -08008564ifneq ($(NO_SECURE),true)
8565ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008566-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008567endif
nnoble69ac39f2014-12-12 15:43:38 -08008568endif
nnoble0c475f02014-12-05 15:37:39 -08008569
nnoble0c475f02014-12-05 15:37:39 -08008570
8571CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_SRC = \
8572
ctillercab52e72015-01-06 13:10:23 -08008573CHTTP2_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 -08008574
nnoble69ac39f2014-12-12 15:43:38 -08008575ifeq ($(NO_SECURE),true)
8576
Nicolas Noble047b7272015-01-16 13:55:05 -08008577# You can't build secure targets if you don't have OpenSSL with ALPN.
8578
ctillercab52e72015-01-06 13:10:23 -08008579bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008580
8581else
8582
nnoble5f2ecb32015-01-12 16:40:18 -08008583bins/$(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 -08008584 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008585 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008586 $(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 -08008587
nnoble69ac39f2014-12-12 15:43:38 -08008588endif
8589
Craig Tillerd4773f52015-01-12 16:38:47 -08008590
Craig Tiller8f126a62015-01-15 08:50:19 -08008591deps_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 -08008592
nnoble69ac39f2014-12-12 15:43:38 -08008593ifneq ($(NO_SECURE),true)
8594ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008595-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008596endif
nnoble69ac39f2014-12-12 15:43:38 -08008597endif
nnoble0c475f02014-12-05 15:37:39 -08008598
nnoble0c475f02014-12-05 15:37:39 -08008599
hongyu24200d32015-01-08 15:13:49 -08008600CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8601
8602CHTTP2_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 -08008603
8604ifeq ($(NO_SECURE),true)
8605
Nicolas Noble047b7272015-01-16 13:55:05 -08008606# You can't build secure targets if you don't have OpenSSL with ALPN.
8607
hongyu24200d32015-01-08 15:13:49 -08008608bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: openssl_dep_error
8609
8610else
8611
nnoble5f2ecb32015-01-12 16:40:18 -08008612bins/$(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 -08008613 $(E) "[LD] Linking $@"
8614 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008615 $(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 -08008616
8617endif
8618
Craig Tillerd4773f52015-01-12 16:38:47 -08008619
Craig Tiller8f126a62015-01-15 08:50:19 -08008620deps_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 -08008621
8622ifneq ($(NO_SECURE),true)
8623ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008624-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008625endif
8626endif
8627
hongyu24200d32015-01-08 15:13:49 -08008628
ctillerc6d61c42014-12-15 14:52:08 -08008629CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_SRC = \
8630
ctillercab52e72015-01-06 13:10:23 -08008631CHTTP2_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 -08008632
8633ifeq ($(NO_SECURE),true)
8634
Nicolas Noble047b7272015-01-16 13:55:05 -08008635# You can't build secure targets if you don't have OpenSSL with ALPN.
8636
ctillercab52e72015-01-06 13:10:23 -08008637bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08008638
8639else
8640
nnoble5f2ecb32015-01-12 16:40:18 -08008641bins/$(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 -08008642 $(E) "[LD] Linking $@"
8643 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008644 $(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 -08008645
8646endif
8647
Craig Tillerd4773f52015-01-12 16:38:47 -08008648
Craig Tiller8f126a62015-01-15 08:50:19 -08008649deps_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 -08008650
8651ifneq ($(NO_SECURE),true)
8652ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008653-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008654endif
8655endif
8656
ctillerc6d61c42014-12-15 14:52:08 -08008657
nnoble0c475f02014-12-05 15:37:39 -08008658CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
8659
ctillercab52e72015-01-06 13:10:23 -08008660CHTTP2_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 -08008661
nnoble69ac39f2014-12-12 15:43:38 -08008662ifeq ($(NO_SECURE),true)
8663
Nicolas Noble047b7272015-01-16 13:55:05 -08008664# You can't build secure targets if you don't have OpenSSL with ALPN.
8665
ctillercab52e72015-01-06 13:10:23 -08008666bins/$(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 -08008667
8668else
8669
nnoble5f2ecb32015-01-12 16:40:18 -08008670bins/$(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 -08008671 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008672 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008673 $(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 -08008674
nnoble69ac39f2014-12-12 15:43:38 -08008675endif
8676
Craig Tillerd4773f52015-01-12 16:38:47 -08008677
Craig Tiller8f126a62015-01-15 08:50:19 -08008678deps_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 -08008679
nnoble69ac39f2014-12-12 15:43:38 -08008680ifneq ($(NO_SECURE),true)
8681ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008682-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 -08008683endif
nnoble69ac39f2014-12-12 15:43:38 -08008684endif
nnoble0c475f02014-12-05 15:37:39 -08008685
nnoble0c475f02014-12-05 15:37:39 -08008686
8687CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
8688
ctillercab52e72015-01-06 13:10:23 -08008689CHTTP2_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 -08008690
nnoble69ac39f2014-12-12 15:43:38 -08008691ifeq ($(NO_SECURE),true)
8692
Nicolas Noble047b7272015-01-16 13:55:05 -08008693# You can't build secure targets if you don't have OpenSSL with ALPN.
8694
ctillercab52e72015-01-06 13:10:23 -08008695bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008696
8697else
8698
nnoble5f2ecb32015-01-12 16:40:18 -08008699bins/$(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 -08008700 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008701 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008702 $(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 -08008703
nnoble69ac39f2014-12-12 15:43:38 -08008704endif
8705
Craig Tillerd4773f52015-01-12 16:38:47 -08008706
Craig Tiller8f126a62015-01-15 08:50:19 -08008707deps_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 -08008708
nnoble69ac39f2014-12-12 15:43:38 -08008709ifneq ($(NO_SECURE),true)
8710ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008711-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008712endif
nnoble69ac39f2014-12-12 15:43:38 -08008713endif
nnoble0c475f02014-12-05 15:37:39 -08008714
nnoble0c475f02014-12-05 15:37:39 -08008715
8716CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_SRC = \
8717
ctillercab52e72015-01-06 13:10:23 -08008718CHTTP2_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 -08008719
nnoble69ac39f2014-12-12 15:43:38 -08008720ifeq ($(NO_SECURE),true)
8721
Nicolas Noble047b7272015-01-16 13:55:05 -08008722# You can't build secure targets if you don't have OpenSSL with ALPN.
8723
ctillercab52e72015-01-06 13:10:23 -08008724bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008725
8726else
8727
nnoble5f2ecb32015-01-12 16:40:18 -08008728bins/$(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 -08008729 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008730 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008731 $(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 -08008732
nnoble69ac39f2014-12-12 15:43:38 -08008733endif
8734
Craig Tillerd4773f52015-01-12 16:38:47 -08008735
Craig Tiller8f126a62015-01-15 08:50:19 -08008736deps_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 -08008737
nnoble69ac39f2014-12-12 15:43:38 -08008738ifneq ($(NO_SECURE),true)
8739ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008740-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008741endif
nnoble69ac39f2014-12-12 15:43:38 -08008742endif
nnoble0c475f02014-12-05 15:37:39 -08008743
nnoble0c475f02014-12-05 15:37:39 -08008744
8745CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_SRC = \
8746
ctillercab52e72015-01-06 13:10:23 -08008747CHTTP2_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 -08008748
nnoble69ac39f2014-12-12 15:43:38 -08008749ifeq ($(NO_SECURE),true)
8750
Nicolas Noble047b7272015-01-16 13:55:05 -08008751# You can't build secure targets if you don't have OpenSSL with ALPN.
8752
ctillercab52e72015-01-06 13:10:23 -08008753bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008754
8755else
8756
nnoble5f2ecb32015-01-12 16:40:18 -08008757bins/$(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 -08008758 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008759 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008760 $(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 -08008761
nnoble69ac39f2014-12-12 15:43:38 -08008762endif
8763
Craig Tillerd4773f52015-01-12 16:38:47 -08008764
Craig Tiller8f126a62015-01-15 08:50:19 -08008765deps_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 -08008766
nnoble69ac39f2014-12-12 15:43:38 -08008767ifneq ($(NO_SECURE),true)
8768ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008769-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008770endif
nnoble69ac39f2014-12-12 15:43:38 -08008771endif
nnoble0c475f02014-12-05 15:37:39 -08008772
nnoble0c475f02014-12-05 15:37:39 -08008773
8774CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_SRC = \
8775
ctillercab52e72015-01-06 13:10:23 -08008776CHTTP2_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 -08008777
nnoble69ac39f2014-12-12 15:43:38 -08008778ifeq ($(NO_SECURE),true)
8779
Nicolas Noble047b7272015-01-16 13:55:05 -08008780# You can't build secure targets if you don't have OpenSSL with ALPN.
8781
ctillercab52e72015-01-06 13:10:23 -08008782bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008783
8784else
8785
nnoble5f2ecb32015-01-12 16:40:18 -08008786bins/$(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 -08008787 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008788 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008789 $(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 -08008790
nnoble69ac39f2014-12-12 15:43:38 -08008791endif
8792
Craig Tillerd4773f52015-01-12 16:38:47 -08008793
Craig Tiller8f126a62015-01-15 08:50:19 -08008794deps_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 -08008795
nnoble69ac39f2014-12-12 15:43:38 -08008796ifneq ($(NO_SECURE),true)
8797ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008798-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008799endif
nnoble69ac39f2014-12-12 15:43:38 -08008800endif
nnoble0c475f02014-12-05 15:37:39 -08008801
nnoble0c475f02014-12-05 15:37:39 -08008802
8803CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_SRC = \
8804
ctillercab52e72015-01-06 13:10:23 -08008805CHTTP2_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 -08008806
nnoble69ac39f2014-12-12 15:43:38 -08008807ifeq ($(NO_SECURE),true)
8808
Nicolas Noble047b7272015-01-16 13:55:05 -08008809# You can't build secure targets if you don't have OpenSSL with ALPN.
8810
ctillercab52e72015-01-06 13:10:23 -08008811bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008812
8813else
8814
nnoble5f2ecb32015-01-12 16:40:18 -08008815bins/$(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 -08008816 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008817 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008818 $(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 -08008819
nnoble69ac39f2014-12-12 15:43:38 -08008820endif
8821
Craig Tillerd4773f52015-01-12 16:38:47 -08008822
Craig Tiller8f126a62015-01-15 08:50:19 -08008823deps_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 -08008824
nnoble69ac39f2014-12-12 15:43:38 -08008825ifneq ($(NO_SECURE),true)
8826ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008827-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008828endif
nnoble69ac39f2014-12-12 15:43:38 -08008829endif
nnoble0c475f02014-12-05 15:37:39 -08008830
nnoble0c475f02014-12-05 15:37:39 -08008831
ctiller33023c42014-12-12 16:28:33 -08008832CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
8833
ctillercab52e72015-01-06 13:10:23 -08008834CHTTP2_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 -08008835
8836ifeq ($(NO_SECURE),true)
8837
Nicolas Noble047b7272015-01-16 13:55:05 -08008838# You can't build secure targets if you don't have OpenSSL with ALPN.
8839
ctillercab52e72015-01-06 13:10:23 -08008840bins/$(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 -08008841
8842else
8843
nnoble5f2ecb32015-01-12 16:40:18 -08008844bins/$(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 -08008845 $(E) "[LD] Linking $@"
8846 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008847 $(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 -08008848
8849endif
8850
Craig Tillerd4773f52015-01-12 16:38:47 -08008851
Craig Tiller8f126a62015-01-15 08:50:19 -08008852deps_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 -08008853
8854ifneq ($(NO_SECURE),true)
8855ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008856-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 -08008857endif
8858endif
8859
ctiller33023c42014-12-12 16:28:33 -08008860
nnoble0c475f02014-12-05 15:37:39 -08008861CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
8862
ctillercab52e72015-01-06 13:10:23 -08008863CHTTP2_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 -08008864
nnoble69ac39f2014-12-12 15:43:38 -08008865ifeq ($(NO_SECURE),true)
8866
Nicolas Noble047b7272015-01-16 13:55:05 -08008867# You can't build secure targets if you don't have OpenSSL with ALPN.
8868
ctillercab52e72015-01-06 13:10:23 -08008869bins/$(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 -08008870
8871else
8872
nnoble5f2ecb32015-01-12 16:40:18 -08008873bins/$(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 -08008874 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008875 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008876 $(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 -08008877
nnoble69ac39f2014-12-12 15:43:38 -08008878endif
8879
Craig Tillerd4773f52015-01-12 16:38:47 -08008880
Craig Tiller8f126a62015-01-15 08:50:19 -08008881deps_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 -08008882
nnoble69ac39f2014-12-12 15:43:38 -08008883ifneq ($(NO_SECURE),true)
8884ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008885-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 -08008886endif
nnoble69ac39f2014-12-12 15:43:38 -08008887endif
nnoble0c475f02014-12-05 15:37:39 -08008888
nnoble0c475f02014-12-05 15:37:39 -08008889
8890CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
8891
ctillercab52e72015-01-06 13:10:23 -08008892CHTTP2_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 -08008893
nnoble69ac39f2014-12-12 15:43:38 -08008894ifeq ($(NO_SECURE),true)
8895
Nicolas Noble047b7272015-01-16 13:55:05 -08008896# You can't build secure targets if you don't have OpenSSL with ALPN.
8897
ctillercab52e72015-01-06 13:10:23 -08008898bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008899
8900else
8901
nnoble5f2ecb32015-01-12 16:40:18 -08008902bins/$(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 -08008903 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008904 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008905 $(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 -08008906
nnoble69ac39f2014-12-12 15:43:38 -08008907endif
8908
Craig Tillerd4773f52015-01-12 16:38:47 -08008909
Craig Tiller8f126a62015-01-15 08:50:19 -08008910deps_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 -08008911
nnoble69ac39f2014-12-12 15:43:38 -08008912ifneq ($(NO_SECURE),true)
8913ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008914-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008915endif
nnoble69ac39f2014-12-12 15:43:38 -08008916endif
nnoble0c475f02014-12-05 15:37:39 -08008917
nnoble0c475f02014-12-05 15:37:39 -08008918
ctiller2845cad2014-12-15 15:14:12 -08008919CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
8920
ctillercab52e72015-01-06 13:10:23 -08008921CHTTP2_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 -08008922
8923ifeq ($(NO_SECURE),true)
8924
Nicolas Noble047b7272015-01-16 13:55:05 -08008925# You can't build secure targets if you don't have OpenSSL with ALPN.
8926
ctillercab52e72015-01-06 13:10:23 -08008927bins/$(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 -08008928
8929else
8930
nnoble5f2ecb32015-01-12 16:40:18 -08008931bins/$(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 -08008932 $(E) "[LD] Linking $@"
8933 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008934 $(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 -08008935
8936endif
8937
Craig Tillerd4773f52015-01-12 16:38:47 -08008938
Craig Tiller8f126a62015-01-15 08:50:19 -08008939deps_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 -08008940
8941ifneq ($(NO_SECURE),true)
8942ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008943-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 -08008944endif
8945endif
8946
ctiller2845cad2014-12-15 15:14:12 -08008947
nnoble0c475f02014-12-05 15:37:39 -08008948CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
8949
ctillercab52e72015-01-06 13:10:23 -08008950CHTTP2_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 -08008951
nnoble69ac39f2014-12-12 15:43:38 -08008952ifeq ($(NO_SECURE),true)
8953
Nicolas Noble047b7272015-01-16 13:55:05 -08008954# You can't build secure targets if you don't have OpenSSL with ALPN.
8955
ctillercab52e72015-01-06 13:10:23 -08008956bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008957
8958else
8959
nnoble5f2ecb32015-01-12 16:40:18 -08008960bins/$(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 -08008961 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008962 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008963 $(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 -08008964
nnoble69ac39f2014-12-12 15:43:38 -08008965endif
8966
Craig Tillerd4773f52015-01-12 16:38:47 -08008967
Craig Tiller8f126a62015-01-15 08:50:19 -08008968deps_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 -08008969
nnoble69ac39f2014-12-12 15:43:38 -08008970ifneq ($(NO_SECURE),true)
8971ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008972-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008973endif
nnoble69ac39f2014-12-12 15:43:38 -08008974endif
nnoble0c475f02014-12-05 15:37:39 -08008975
nnoble0c475f02014-12-05 15:37:39 -08008976
8977CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_SRC = \
8978
ctillercab52e72015-01-06 13:10:23 -08008979CHTTP2_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 -08008980
nnoble69ac39f2014-12-12 15:43:38 -08008981ifeq ($(NO_SECURE),true)
8982
Nicolas Noble047b7272015-01-16 13:55:05 -08008983# You can't build secure targets if you don't have OpenSSL with ALPN.
8984
ctillercab52e72015-01-06 13:10:23 -08008985bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008986
8987else
8988
nnoble5f2ecb32015-01-12 16:40:18 -08008989bins/$(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 -08008990 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008991 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008992 $(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 -08008993
nnoble69ac39f2014-12-12 15:43:38 -08008994endif
8995
Craig Tillerd4773f52015-01-12 16:38:47 -08008996
Craig Tiller8f126a62015-01-15 08:50:19 -08008997deps_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 -08008998
nnoble69ac39f2014-12-12 15:43:38 -08008999ifneq ($(NO_SECURE),true)
9000ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009001-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009002endif
nnoble69ac39f2014-12-12 15:43:38 -08009003endif
nnoble0c475f02014-12-05 15:37:39 -08009004
nnoble0c475f02014-12-05 15:37:39 -08009005
nathaniel52878172014-12-09 10:17:19 -08009006CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_SRC = \
nnoble0c475f02014-12-05 15:37:39 -08009007
ctillercab52e72015-01-06 13:10:23 -08009008CHTTP2_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 -08009009
nnoble69ac39f2014-12-12 15:43:38 -08009010ifeq ($(NO_SECURE),true)
9011
Nicolas Noble047b7272015-01-16 13:55:05 -08009012# You can't build secure targets if you don't have OpenSSL with ALPN.
9013
ctillercab52e72015-01-06 13:10:23 -08009014bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009015
9016else
9017
nnoble5f2ecb32015-01-12 16:40:18 -08009018bins/$(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 -08009019 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009020 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009021 $(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 -08009022
nnoble69ac39f2014-12-12 15:43:38 -08009023endif
9024
Craig Tillerd4773f52015-01-12 16:38:47 -08009025
Craig Tiller8f126a62015-01-15 08:50:19 -08009026deps_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 -08009027
nnoble69ac39f2014-12-12 15:43:38 -08009028ifneq ($(NO_SECURE),true)
9029ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009030-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009031endif
nnoble69ac39f2014-12-12 15:43:38 -08009032endif
nnoble0c475f02014-12-05 15:37:39 -08009033
nnoble0c475f02014-12-05 15:37:39 -08009034
9035CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
9036
ctillercab52e72015-01-06 13:10:23 -08009037CHTTP2_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 -08009038
nnoble69ac39f2014-12-12 15:43:38 -08009039ifeq ($(NO_SECURE),true)
9040
Nicolas Noble047b7272015-01-16 13:55:05 -08009041# You can't build secure targets if you don't have OpenSSL with ALPN.
9042
ctillercab52e72015-01-06 13:10:23 -08009043bins/$(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 -08009044
9045else
9046
nnoble5f2ecb32015-01-12 16:40:18 -08009047bins/$(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 -08009048 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009049 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009050 $(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 -08009051
nnoble69ac39f2014-12-12 15:43:38 -08009052endif
9053
Craig Tillerd4773f52015-01-12 16:38:47 -08009054
Craig Tiller8f126a62015-01-15 08:50:19 -08009055deps_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 -08009056
nnoble69ac39f2014-12-12 15:43:38 -08009057ifneq ($(NO_SECURE),true)
9058ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009059-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 -08009060endif
nnoble69ac39f2014-12-12 15:43:38 -08009061endif
nnoble0c475f02014-12-05 15:37:39 -08009062
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08009063
9064
9065
9066
nnoble0c475f02014-12-05 15:37:39 -08009067
Craig Tillerf0afe502015-01-15 09:04:49 -08009068.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 -08009069