blob: 28bb81b6dea58c8185e2264f1e9e86b133e0cdb0 [file] [log] [blame]
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001# GRPC global makefile
2# This currently builds C and C++ code.
3
4
ctiller8cfebb92015-01-06 15:02:12 -08005# Configurations
6
7VALID_CONFIG_opt = 1
8CC_opt = gcc
9CXX_opt = g++
10LD_opt = gcc
11LDXX_opt = g++
12CPPFLAGS_opt = -O2
13LDFLAGS_opt =
14DEFINES_opt = NDEBUG
15
16VALID_CONFIG_dbg = 1
17CC_dbg = gcc
18CXX_dbg = g++
19LD_dbg = gcc
20LDXX_dbg = g++
21CPPFLAGS_dbg = -O0
22LDFLAGS_dbg =
23DEFINES_dbg = _DEBUG DEBUG
24
Craig Tillerec0b8f32015-01-15 07:30:00 -080025VALID_CONFIG_valgrind = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080026REQUIRE_CUSTOM_LIBRARIES_valgrind = 1
Craig Tillerec0b8f32015-01-15 07:30:00 -080027CC_valgrind = gcc
28CXX_valgrind = g++
29LD_valgrind = gcc
30LDXX_valgrind = g++
31CPPFLAGS_valgrind = -O0
32OPENSSL_CFLAGS_valgrind = -DPURIFY
33LDFLAGS_valgrind =
34DEFINES_valgrind = _DEBUG DEBUG
35
ctiller8cfebb92015-01-06 15:02:12 -080036VALID_CONFIG_tsan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080037REQUIRE_CUSTOM_LIBRARIES_tsan = 1
ctiller8cfebb92015-01-06 15:02:12 -080038CC_tsan = clang
39CXX_tsan = clang++
40LD_tsan = clang
41LDXX_tsan = clang++
42CPPFLAGS_tsan = -O1 -fsanitize=thread -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080043OPENSSL_CONFIG_tsan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080044LDFLAGS_tsan = -fsanitize=thread
45DEFINES_tsan = NDEBUG
46
47VALID_CONFIG_asan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080048REQUIRE_CUSTOM_LIBRARIES_asan = 1
ctiller8cfebb92015-01-06 15:02:12 -080049CC_asan = clang
50CXX_asan = clang++
51LD_asan = clang
52LDXX_asan = clang++
53CPPFLAGS_asan = -O1 -fsanitize=address -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080054OPENSSL_CONFIG_asan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080055LDFLAGS_asan = -fsanitize=address
56DEFINES_asan = NDEBUG
57
58VALID_CONFIG_msan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080059REQUIRE_CUSTOM_LIBRARIES_msan = 1
ctiller8cfebb92015-01-06 15:02:12 -080060CC_msan = clang
61CXX_msan = clang++
62LD_msan = clang
63LDXX_msan = clang++
64CPPFLAGS_msan = -O1 -fsanitize=memory -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080065OPENSSL_CFLAGS_msan = -DPURIFY
66OPENSSL_CONFIG_msan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080067LDFLAGS_msan = -fsanitize=memory
68DEFINES_msan = NDEBUG
69
Craig Tiller934baa32015-01-12 18:19:45 -080070VALID_CONFIG_gcov = 1
71CC_gcov = gcc
72CXX_gcov = g++
73LD_gcov = gcc
74LDXX_gcov = g++
75CPPFLAGS_gcov = -O0 -fprofile-arcs -ftest-coverage
76LDFLAGS_gcov = -fprofile-arcs -ftest-coverage
77DEFINES_gcov = NDEBUG
78
Nicolas Noble047b7272015-01-16 13:55:05 -080079
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080080# General settings.
81# You may want to change these depending on your system.
82
83prefix ?= /usr/local
84
85PROTOC = protoc
yangg102e4fe2015-01-06 16:02:50 -080086CONFIG ?= opt
ctiller8cfebb92015-01-06 15:02:12 -080087CC = $(CC_$(CONFIG))
88CXX = $(CXX_$(CONFIG))
89LD = $(LD_$(CONFIG))
90LDXX = $(LDXX_$(CONFIG))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080091AR = ar
92STRIP = strip --strip-unneeded
93INSTALL = install -D
94RM = rm -f
95
yangg102e4fe2015-01-06 16:02:50 -080096ifndef VALID_CONFIG_$(CONFIG)
97$(error Invalid CONFIG value '$(CONFIG)')
98endif
99
Nicolas Noble047b7272015-01-16 13:55:05 -0800100
101# The HOST compiler settings are used to compile the protoc plugins.
102# In most cases, you won't have to change anything, but if you are
103# cross-compiling, you can override these variables from GNU make's
104# command line: make CC=cross-gcc HOST_CC=gcc
105
nnoble72309c62014-12-12 11:42:26 -0800106HOST_CC = $(CC)
107HOST_CXX = $(CXX)
108HOST_LD = $(LD)
109HOST_LDXX = $(LDXX)
110
ctillercab52e72015-01-06 13:10:23 -0800111CPPFLAGS += $(CPPFLAGS_$(CONFIG))
112DEFINES += $(DEFINES_$(CONFIG))
ctiller8cfebb92015-01-06 15:02:12 -0800113LDFLAGS += $(LDFLAGS_$(CONFIG))
ctillercab52e72015-01-06 13:10:23 -0800114
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800115CFLAGS += -std=c89 -pedantic
116CXXFLAGS += -std=c++11
117CPPFLAGS += -g -fPIC -Wall -Werror -Wno-long-long
118LDFLAGS += -g -pthread -fPIC
119
120INCLUDES = . include gens
ctillerc008ae52015-01-07 15:33:00 -0800121LIBS = rt m z pthread
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800122LIBSXX = protobuf
nnoblec78b3402014-12-11 16:06:57 -0800123LIBS_PROTOC = protoc protobuf
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800124
125ifneq ($(wildcard /usr/src/gtest/src/gtest-all.cc),)
126GTEST_LIB = /usr/src/gtest/src/gtest-all.cc -I/usr/src/gtest
127else
128GTEST_LIB = -lgtest
129endif
chenwa8fd44a2014-12-10 15:13:55 -0800130GTEST_LIB += -lgflags
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800131ifeq ($(V),1)
132E = @:
133Q =
134else
135E = @echo
136Q = @
137endif
138
139VERSION = 0.8.0.0
140
141CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
142CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
143
144LDFLAGS += $(ARCH_FLAGS)
145LDLIBS += $(addprefix -l, $(LIBS))
146LDLIBSXX += $(addprefix -l, $(LIBSXX))
nnoble72309c62014-12-12 11:42:26 -0800147HOST_LDLIBS_PROTOC += $(addprefix -l, $(LIBS_PROTOC))
148
149HOST_CPPFLAGS = $(CPPFLAGS)
150HOST_CFLAGS = $(CFLAGS)
151HOST_CXXFLAGS = $(CXXFLAGS)
152HOST_LDFLAGS = $(LDFLAGS)
153HOST_LDLIBS = $(LDLIBS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800154
nnoble69ac39f2014-12-12 15:43:38 -0800155
156# These are automatically computed variables.
157# There shouldn't be any need to change anything from now on.
158
159HOST_SYSTEM = $(shell uname | cut -f 1 -d_)
160ifeq ($(SYSTEM),)
161SYSTEM = $(HOST_SYSTEM)
162endif
163
nnoble5b7f32a2014-12-22 08:12:44 -0800164ifeq ($(SYSTEM),MINGW32)
165SHARED_EXT = dll
166endif
167ifeq ($(SYSTEM),Darwin)
168SHARED_EXT = dylib
169endif
170ifeq ($(SHARED_EXT),)
171SHARED_EXT = so.$(VERSION)
172endif
173
nnoble69ac39f2014-12-12 15:43:38 -0800174ifeq ($(wildcard .git),)
175IS_GIT_FOLDER = false
176else
177IS_GIT_FOLDER = true
178endif
179
nnoble7e012cf2014-12-22 17:53:44 -0800180OPENSSL_ALPN_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/openssl-alpn.c -lssl -lcrypto -ldl $(LDFLAGS)
181ZLIB_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/zlib.c -lz $(LDFLAGS)
Craig Tiller297fafa2015-01-15 15:46:39 -0800182PERFTOOLS_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/perftools.c -lprofiler $(LDFLAGS)
183
184HAS_SYSTEM_PERFTOOLS = $(shell $(PERFTOOLS_CHECK_CMD) 2> /dev/null && echo true || echo false)
185ifeq ($(HAS_SYSTEM_PERFTOOLS),true)
186DEFINES += GRPC_HAVE_PERFTOOLS
187LIBS += profiler
188endif
nnoble69ac39f2014-12-12 15:43:38 -0800189
Craig Tillerc4da6b72015-01-15 08:01:14 -0800190ifndef REQUIRE_CUSTOM_LIBRARIES_$(CONFIG)
nnoble60825402014-12-15 14:43:51 -0800191HAS_SYSTEM_OPENSSL_ALPN = $(shell $(OPENSSL_ALPN_CHECK_CMD) 2> /dev/null && echo true || echo false)
192HAS_SYSTEM_ZLIB = $(shell $(ZLIB_CHECK_CMD) 2> /dev/null && echo true || echo false)
Craig Tillerc4da6b72015-01-15 08:01:14 -0800193else
194# override system libraries if the config requires a custom compiled library
195HAS_SYSTEM_OPENSSL_ALPN = false
196HAS_SYSTEM_ZLIB = false
197endif
nnoble69ac39f2014-12-12 15:43:38 -0800198
nnoble69ac39f2014-12-12 15:43:38 -0800199ifeq ($(wildcard third_party/openssl/ssl/ssl.h),)
200HAS_EMBEDDED_OPENSSL_ALPN = false
201else
202HAS_EMBEDDED_OPENSSL_ALPN = true
203endif
204
205ifeq ($(wildcard third_party/zlib/zlib.h),)
206HAS_EMBEDDED_ZLIB = false
207else
208HAS_EMBEDDED_ZLIB = true
209endif
210
nnoble69ac39f2014-12-12 15:43:38 -0800211ifeq ($(HAS_SYSTEM_ZLIB),false)
212ifeq ($(HAS_EMBEDDED_ZLIB),true)
Craig Tiller3ccae022015-01-15 07:47:29 -0800213ZLIB_DEP = libs/$(CONFIG)/zlib/libz.a
nnoble69ac39f2014-12-12 15:43:38 -0800214CPPFLAGS += -Ithird_party/zlib
215LDFLAGS += -Lthird_party/zlib
216else
217DEP_MISSING += zlib
218endif
219endif
220
221ifeq ($(HAS_SYSTEM_OPENSSL_ALPN),false)
222ifeq ($(HAS_EMBEDDED_OPENSSL_ALPN),true)
Craig Tillerec0b8f32015-01-15 07:30:00 -0800223OPENSSL_DEP = libs/$(CONFIG)/openssl/libssl.a
224OPENSSL_MERGE_LIBS += libs/$(CONFIG)/openssl/libssl.a libs/$(CONFIG)/openssl/libcrypto.a
nnoble69ac39f2014-12-12 15:43:38 -0800225CPPFLAGS += -Ithird_party/openssl/include
Craig Tillerec0b8f32015-01-15 07:30:00 -0800226LDFLAGS += -Llibs/$(CONFIG)/openssl
nnoble5b7f32a2014-12-22 08:12:44 -0800227LIBS_SECURE = dl
nnoble69ac39f2014-12-12 15:43:38 -0800228else
229NO_SECURE = true
230endif
nnoble5b7f32a2014-12-22 08:12:44 -0800231else
232LIBS_SECURE = ssl crypto dl
nnoble69ac39f2014-12-12 15:43:38 -0800233endif
234
nnoble5b7f32a2014-12-22 08:12:44 -0800235LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE))
236
Craig Tiller12c82092015-01-15 08:45:56 -0800237ifeq ($(MAKECMDGOALS),clean)
nnoble69ac39f2014-12-12 15:43:38 -0800238NO_DEPS = true
239endif
240
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800241.SECONDARY = %.pb.h %.pb.cc
242
Craig Tillerf58b9ef2015-01-15 09:09:12 -0800243PROTOC_PLUGINS= bins/$(CONFIG)/cpp_plugin bins/$(CONFIG)/ruby_plugin
nnoble69ac39f2014-12-12 15:43:38 -0800244ifeq ($(DEP_MISSING),)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800245all: static shared
nnoble69ac39f2014-12-12 15:43:38 -0800246dep_error:
247 @echo "You shouldn't see this message - all of your dependencies are correct."
248else
249all: dep_error git_update stop
250
251dep_error:
252 @echo
253 @echo "DEPENDENCY ERROR"
254 @echo
255 @echo "You are missing system dependencies that are essential to build grpc,"
256 @echo "and the third_party directory doesn't have them:"
257 @echo
258 @echo " $(DEP_MISSING)"
259 @echo
260 @echo "Installing the development packages for your system will solve"
261 @echo "this issue. Please consult INSTALL to get more information."
262 @echo
263 @echo "If you need information about why these tests failed, run:"
264 @echo
265 @echo " make run_dep_checks"
266 @echo
267endif
268
269git_update:
270ifeq ($(IS_GIT_FOLDER),true)
271 @echo "Additionally, since you are in a git clone, you can download the"
272 @echo "missing dependencies in third_party by running the following command:"
273 @echo
ctiller64f29102014-12-15 10:40:59 -0800274 @echo " git submodule update --init"
nnoble69ac39f2014-12-12 15:43:38 -0800275 @echo
276endif
277
278openssl_dep_error: openssl_dep_message git_update stop
279
280openssl_dep_message:
281 @echo
282 @echo "DEPENDENCY ERROR"
283 @echo
284 @echo "The target you are trying to run requires OpenSSL with ALPN support."
285 @echo "Your system doesn't have it, and neither does the third_party directory."
286 @echo
287 @echo "Please consult INSTALL to get more information."
288 @echo
289 @echo "If you need information about why these tests failed, run:"
290 @echo
291 @echo " make run_dep_checks"
292 @echo
293
294stop:
295 @false
296
Craig Tiller17ec5f92015-01-18 11:30:41 -0800297alarm_heap_test: bins/$(CONFIG)/alarm_heap_test
298alarm_list_test: bins/$(CONFIG)/alarm_list_test
299alarm_test: bins/$(CONFIG)/alarm_test
300alpn_test: bins/$(CONFIG)/alpn_test
301bin_encoder_test: bins/$(CONFIG)/bin_encoder_test
302census_hash_table_test: bins/$(CONFIG)/census_hash_table_test
303census_statistics_multiple_writers_circular_buffer_test: bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test
304census_statistics_multiple_writers_test: bins/$(CONFIG)/census_statistics_multiple_writers_test
305census_statistics_performance_test: bins/$(CONFIG)/census_statistics_performance_test
306census_statistics_quick_test: bins/$(CONFIG)/census_statistics_quick_test
307census_statistics_small_log_test: bins/$(CONFIG)/census_statistics_small_log_test
308census_stats_store_test: bins/$(CONFIG)/census_stats_store_test
309census_stub_test: bins/$(CONFIG)/census_stub_test
310census_trace_store_test: bins/$(CONFIG)/census_trace_store_test
311census_window_stats_test: bins/$(CONFIG)/census_window_stats_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800312chttp2_status_conversion_test: bins/$(CONFIG)/chttp2_status_conversion_test
313chttp2_stream_encoder_test: bins/$(CONFIG)/chttp2_stream_encoder_test
314chttp2_stream_map_test: bins/$(CONFIG)/chttp2_stream_map_test
315chttp2_transport_end2end_test: bins/$(CONFIG)/chttp2_transport_end2end_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800316dualstack_socket_test: bins/$(CONFIG)/dualstack_socket_test
317echo_client: bins/$(CONFIG)/echo_client
318echo_server: bins/$(CONFIG)/echo_server
319echo_test: bins/$(CONFIG)/echo_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800320fd_posix_test: bins/$(CONFIG)/fd_posix_test
321fling_client: bins/$(CONFIG)/fling_client
322fling_server: bins/$(CONFIG)/fling_server
323fling_stream_test: bins/$(CONFIG)/fling_stream_test
324fling_test: bins/$(CONFIG)/fling_test
325gen_hpack_tables: bins/$(CONFIG)/gen_hpack_tables
ctillercab52e72015-01-06 13:10:23 -0800326gpr_cancellable_test: bins/$(CONFIG)/gpr_cancellable_test
ctillercab52e72015-01-06 13:10:23 -0800327gpr_cmdline_test: bins/$(CONFIG)/gpr_cmdline_test
328gpr_histogram_test: bins/$(CONFIG)/gpr_histogram_test
329gpr_host_port_test: bins/$(CONFIG)/gpr_host_port_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800330gpr_log_test: bins/$(CONFIG)/gpr_log_test
ctillercab52e72015-01-06 13:10:23 -0800331gpr_slice_buffer_test: bins/$(CONFIG)/gpr_slice_buffer_test
332gpr_slice_test: bins/$(CONFIG)/gpr_slice_test
333gpr_string_test: bins/$(CONFIG)/gpr_string_test
334gpr_sync_test: bins/$(CONFIG)/gpr_sync_test
335gpr_thd_test: bins/$(CONFIG)/gpr_thd_test
336gpr_time_test: bins/$(CONFIG)/gpr_time_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800337gpr_useful_test: bins/$(CONFIG)/gpr_useful_test
338grpc_base64_test: bins/$(CONFIG)/grpc_base64_test
339grpc_byte_buffer_reader_test: bins/$(CONFIG)/grpc_byte_buffer_reader_test
ctillercab52e72015-01-06 13:10:23 -0800340grpc_channel_stack_test: bins/$(CONFIG)/grpc_channel_stack_test
ctillercab52e72015-01-06 13:10:23 -0800341grpc_completion_queue_benchmark: bins/$(CONFIG)/grpc_completion_queue_benchmark
Craig Tiller17ec5f92015-01-18 11:30:41 -0800342grpc_completion_queue_test: bins/$(CONFIG)/grpc_completion_queue_test
343grpc_credentials_test: bins/$(CONFIG)/grpc_credentials_test
344grpc_fetch_oauth2: bins/$(CONFIG)/grpc_fetch_oauth2
345grpc_json_token_test: bins/$(CONFIG)/grpc_json_token_test
346grpc_stream_op_test: bins/$(CONFIG)/grpc_stream_op_test
347hpack_parser_test: bins/$(CONFIG)/hpack_parser_test
348hpack_table_test: bins/$(CONFIG)/hpack_table_test
ctillercab52e72015-01-06 13:10:23 -0800349httpcli_format_request_test: bins/$(CONFIG)/httpcli_format_request_test
350httpcli_parser_test: bins/$(CONFIG)/httpcli_parser_test
351httpcli_test: bins/$(CONFIG)/httpcli_test
ctillercab52e72015-01-06 13:10:23 -0800352lame_client_test: bins/$(CONFIG)/lame_client_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800353low_level_ping_pong_benchmark: bins/$(CONFIG)/low_level_ping_pong_benchmark
354message_compress_test: bins/$(CONFIG)/message_compress_test
355metadata_buffer_test: bins/$(CONFIG)/metadata_buffer_test
356murmur_hash_test: bins/$(CONFIG)/murmur_hash_test
357no_server_test: bins/$(CONFIG)/no_server_test
358poll_kick_test: bins/$(CONFIG)/poll_kick_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800359resolve_address_test: bins/$(CONFIG)/resolve_address_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800360secure_endpoint_test: bins/$(CONFIG)/secure_endpoint_test
361sockaddr_utils_test: bins/$(CONFIG)/sockaddr_utils_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800362tcp_client_posix_test: bins/$(CONFIG)/tcp_client_posix_test
363tcp_posix_test: bins/$(CONFIG)/tcp_posix_test
364tcp_server_posix_test: bins/$(CONFIG)/tcp_server_posix_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800365time_averaged_stats_test: bins/$(CONFIG)/time_averaged_stats_test
ctillercab52e72015-01-06 13:10:23 -0800366time_test: bins/$(CONFIG)/time_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800367timeout_encoding_test: bins/$(CONFIG)/timeout_encoding_test
368transport_metadata_test: bins/$(CONFIG)/transport_metadata_test
Craig Tiller996d9df2015-01-19 21:06:50 -0800369channel_arguments_test: bins/$(CONFIG)/channel_arguments_test
370cpp_plugin: bins/$(CONFIG)/cpp_plugin
371credentials_test: bins/$(CONFIG)/credentials_test
372end2end_test: bins/$(CONFIG)/end2end_test
373interop_client: bins/$(CONFIG)/interop_client
374interop_server: bins/$(CONFIG)/interop_server
375qps_client: bins/$(CONFIG)/qps_client
376qps_server: bins/$(CONFIG)/qps_server
377ruby_plugin: bins/$(CONFIG)/ruby_plugin
378status_test: bins/$(CONFIG)/status_test
379sync_client_async_server_test: bins/$(CONFIG)/sync_client_async_server_test
380thread_pool_test: bins/$(CONFIG)/thread_pool_test
ctillercab52e72015-01-06 13:10:23 -0800381chttp2_fake_security_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test
382chttp2_fake_security_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test
383chttp2_fake_security_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test
384chttp2_fake_security_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test
385chttp2_fake_security_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800386chttp2_fake_security_census_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800387chttp2_fake_security_disappearing_server_test: bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test
388chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test
389chttp2_fake_security_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800390chttp2_fake_security_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800391chttp2_fake_security_invoke_large_request_test: bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test
392chttp2_fake_security_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test
393chttp2_fake_security_no_op_test: bins/$(CONFIG)/chttp2_fake_security_no_op_test
394chttp2_fake_security_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test
395chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test
396chttp2_fake_security_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test
397chttp2_fake_security_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test
398chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test
399chttp2_fake_security_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test
400chttp2_fake_security_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_request_test
401chttp2_fake_security_thread_stress_test: bins/$(CONFIG)/chttp2_fake_security_thread_stress_test
402chttp2_fake_security_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test
403chttp2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test
404chttp2_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test
405chttp2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test
406chttp2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test
407chttp2_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800408chttp2_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800409chttp2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test
410chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test
411chttp2_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800412chttp2_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800413chttp2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test
414chttp2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test
415chttp2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_fullstack_no_op_test
416chttp2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test
417chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test
418chttp2_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test
419chttp2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test
420chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test
421chttp2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test
422chttp2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_request_test
423chttp2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_fullstack_thread_stress_test
424chttp2_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test
425chttp2_simple_ssl_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test
426chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test
427chttp2_simple_ssl_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test
428chttp2_simple_ssl_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test
429chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800430chttp2_simple_ssl_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800431chttp2_simple_ssl_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test
432chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test
433chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800434chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800435chttp2_simple_ssl_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test
436chttp2_simple_ssl_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test
437chttp2_simple_ssl_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test
438chttp2_simple_ssl_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test
439chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test
440chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test
441chttp2_simple_ssl_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test
442chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test
443chttp2_simple_ssl_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test
444chttp2_simple_ssl_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test
445chttp2_simple_ssl_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test
446chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test
447chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test
448chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test
449chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test
450chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test
451chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800452chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800453chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test
454chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test
455chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800456chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800457chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test
458chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test
459chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test
460chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test
461chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test
462chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test
463chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test
464chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test
465chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test
466chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test
467chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test
468chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test
469chttp2_socket_pair_cancel_after_accept_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test
470chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test
471chttp2_socket_pair_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test
472chttp2_socket_pair_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test
473chttp2_socket_pair_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800474chttp2_socket_pair_census_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800475chttp2_socket_pair_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test
476chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test
477chttp2_socket_pair_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800478chttp2_socket_pair_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800479chttp2_socket_pair_invoke_large_request_test: bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test
480chttp2_socket_pair_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test
481chttp2_socket_pair_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_no_op_test
482chttp2_socket_pair_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test
483chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test
484chttp2_socket_pair_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test
485chttp2_socket_pair_request_response_with_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test
486chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test
487chttp2_socket_pair_simple_delayed_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test
488chttp2_socket_pair_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_request_test
489chttp2_socket_pair_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test
490chttp2_socket_pair_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test
491chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test
492chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test
493chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test
494chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test
495chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800496chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800497chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test
498chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test
499chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800500chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800501chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test
502chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test
503chttp2_socket_pair_one_byte_at_a_time_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test
504chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test
505chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test
506chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test
507chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test
508chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test
509chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test
510chttp2_socket_pair_one_byte_at_a_time_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test
511chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test
512chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test
ctiller09cb6d52014-12-19 17:38:22 -0800513
nnoble69ac39f2014-12-12 15:43:38 -0800514run_dep_checks:
nnoble69ac39f2014-12-12 15:43:38 -0800515 $(OPENSSL_ALPN_CHECK_CMD) || true
516 $(ZLIB_CHECK_CMD) || true
517
Craig Tiller3ccae022015-01-15 07:47:29 -0800518libs/$(CONFIG)/zlib/libz.a:
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100519 $(E) "[MAKE] Building zlib"
520 $(Q)(cd third_party/zlib ; CC="$(CC)" CFLAGS="-fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG))" ./configure --static)
521 $(Q)$(MAKE) -C third_party/zlib clean
522 $(Q)$(MAKE) -C third_party/zlib
523 $(Q)mkdir -p libs/$(CONFIG)/zlib
524 $(Q)cp third_party/zlib/libz.a libs/$(CONFIG)/zlib
nnoble69ac39f2014-12-12 15:43:38 -0800525
Craig Tillerec0b8f32015-01-15 07:30:00 -0800526libs/$(CONFIG)/openssl/libssl.a:
Craig Tillerb4ee3b52015-01-21 16:22:50 -0800527 $(E) "[MAKE] Building openssl for $(SYSTEM)"
528ifeq ($(SYSTEM),Darwin)
529 $(Q)(cd third_party/openssl ; CC="$(CC) -fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG)) $(OPENSSL_CFLAGS_$(CONFIG))" ./Configure darwin64-x86_64-cc $(OPENSSL_CONFIG_$(CONFIG)))
530else
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100531 $(Q)(cd third_party/openssl ; CC="$(CC) -fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG)) $(OPENSSL_CFLAGS_$(CONFIG))" ./config $(OPENSSL_CONFIG_$(CONFIG)))
Craig Tillerb4ee3b52015-01-21 16:22:50 -0800532endif
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100533 $(Q)$(MAKE) -C third_party/openssl clean
534 $(Q)$(MAKE) -C third_party/openssl build_crypto build_ssl
535 $(Q)mkdir -p libs/$(CONFIG)/openssl
536 $(Q)cp third_party/openssl/libssl.a third_party/openssl/libcrypto.a libs/$(CONFIG)/openssl
nnoble69ac39f2014-12-12 15:43:38 -0800537
nnoble29e1d292014-12-01 10:27:40 -0800538static: static_c static_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800539
Craig Tiller12c82092015-01-15 08:45:56 -0800540static_c: libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800541
Craig Tiller12c82092015-01-15 08:45:56 -0800542static_cxx: libs/$(CONFIG)/libgrpc++.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800543
nnoble29e1d292014-12-01 10:27:40 -0800544shared: shared_c shared_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800545
Craig Tiller12c82092015-01-15 08:45:56 -0800546shared_c: libs/$(CONFIG)/libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800547
Craig Tiller12c82092015-01-15 08:45:56 -0800548shared_cxx: libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800549
nnoble29e1d292014-12-01 10:27:40 -0800550privatelibs: privatelibs_c privatelibs_cxx
551
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800552privatelibs_c: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a
nnoble29e1d292014-12-01 10:27:40 -0800553
Craig Tiller12c82092015-01-15 08:45:56 -0800554privatelibs_cxx: libs/$(CONFIG)/libgrpc++_test_util.a
nnoble29e1d292014-12-01 10:27:40 -0800555
556buildtests: buildtests_c buildtests_cxx
557
Craig Tiller17ec5f92015-01-18 11:30:41 -0800558buildtests_c: privatelibs_c bins/$(CONFIG)/alarm_heap_test bins/$(CONFIG)/alarm_list_test bins/$(CONFIG)/alarm_test bins/$(CONFIG)/alpn_test bins/$(CONFIG)/bin_encoder_test bins/$(CONFIG)/census_hash_table_test bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test bins/$(CONFIG)/census_statistics_multiple_writers_test bins/$(CONFIG)/census_statistics_performance_test bins/$(CONFIG)/census_statistics_quick_test bins/$(CONFIG)/census_statistics_small_log_test bins/$(CONFIG)/census_stub_test bins/$(CONFIG)/census_window_stats_test bins/$(CONFIG)/chttp2_status_conversion_test bins/$(CONFIG)/chttp2_stream_encoder_test bins/$(CONFIG)/chttp2_stream_map_test bins/$(CONFIG)/chttp2_transport_end2end_test bins/$(CONFIG)/dualstack_socket_test bins/$(CONFIG)/echo_client bins/$(CONFIG)/echo_server bins/$(CONFIG)/echo_test bins/$(CONFIG)/fd_posix_test bins/$(CONFIG)/fling_client bins/$(CONFIG)/fling_server bins/$(CONFIG)/fling_stream_test bins/$(CONFIG)/fling_test bins/$(CONFIG)/gpr_cancellable_test bins/$(CONFIG)/gpr_cmdline_test bins/$(CONFIG)/gpr_histogram_test bins/$(CONFIG)/gpr_host_port_test bins/$(CONFIG)/gpr_log_test bins/$(CONFIG)/gpr_slice_buffer_test bins/$(CONFIG)/gpr_slice_test bins/$(CONFIG)/gpr_string_test bins/$(CONFIG)/gpr_sync_test bins/$(CONFIG)/gpr_thd_test bins/$(CONFIG)/gpr_time_test bins/$(CONFIG)/gpr_useful_test bins/$(CONFIG)/grpc_base64_test bins/$(CONFIG)/grpc_byte_buffer_reader_test bins/$(CONFIG)/grpc_channel_stack_test bins/$(CONFIG)/grpc_completion_queue_test bins/$(CONFIG)/grpc_credentials_test bins/$(CONFIG)/grpc_json_token_test bins/$(CONFIG)/grpc_stream_op_test bins/$(CONFIG)/hpack_parser_test bins/$(CONFIG)/hpack_table_test bins/$(CONFIG)/httpcli_format_request_test bins/$(CONFIG)/httpcli_parser_test bins/$(CONFIG)/httpcli_test bins/$(CONFIG)/lame_client_test bins/$(CONFIG)/message_compress_test bins/$(CONFIG)/metadata_buffer_test bins/$(CONFIG)/murmur_hash_test bins/$(CONFIG)/no_server_test bins/$(CONFIG)/poll_kick_test bins/$(CONFIG)/resolve_address_test bins/$(CONFIG)/secure_endpoint_test bins/$(CONFIG)/sockaddr_utils_test bins/$(CONFIG)/tcp_client_posix_test bins/$(CONFIG)/tcp_posix_test bins/$(CONFIG)/tcp_server_posix_test bins/$(CONFIG)/time_averaged_stats_test bins/$(CONFIG)/time_test bins/$(CONFIG)/timeout_encoding_test bins/$(CONFIG)/transport_metadata_test bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test bins/$(CONFIG)/chttp2_fake_security_no_op_test bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test bins/$(CONFIG)/chttp2_fake_security_simple_request_test bins/$(CONFIG)/chttp2_fake_security_thread_stress_test bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test bins/$(CONFIG)/chttp2_fullstack_no_op_test bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test bins/$(CONFIG)/chttp2_fullstack_simple_request_test bins/$(CONFIG)/chttp2_fullstack_thread_stress_test bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test bins/$(CONFIG)/chttp2_socket_pair_no_op_test bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test bins/$(CONFIG)/chttp2_socket_pair_simple_request_test bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test
nnoble29e1d292014-12-01 10:27:40 -0800559
Craig Tiller17ec5f92015-01-18 11:30:41 -0800560buildtests_cxx: privatelibs_cxx bins/$(CONFIG)/channel_arguments_test bins/$(CONFIG)/credentials_test bins/$(CONFIG)/end2end_test bins/$(CONFIG)/interop_client bins/$(CONFIG)/interop_server bins/$(CONFIG)/qps_client bins/$(CONFIG)/qps_server bins/$(CONFIG)/status_test bins/$(CONFIG)/sync_client_async_server_test bins/$(CONFIG)/thread_pool_test
nnoble29e1d292014-12-01 10:27:40 -0800561
nnoble85a49262014-12-08 18:14:03 -0800562test: test_c test_cxx
nnoble29e1d292014-12-01 10:27:40 -0800563
nnoble85a49262014-12-08 18:14:03 -0800564test_c: buildtests_c
Craig Tiller17ec5f92015-01-18 11:30:41 -0800565 $(E) "[RUN] Testing alarm_heap_test"
566 $(Q) ./bins/$(CONFIG)/alarm_heap_test || ( echo test alarm_heap_test failed ; exit 1 )
567 $(E) "[RUN] Testing alarm_list_test"
568 $(Q) ./bins/$(CONFIG)/alarm_list_test || ( echo test alarm_list_test failed ; exit 1 )
569 $(E) "[RUN] Testing alarm_test"
570 $(Q) ./bins/$(CONFIG)/alarm_test || ( echo test alarm_test failed ; exit 1 )
571 $(E) "[RUN] Testing alpn_test"
572 $(Q) ./bins/$(CONFIG)/alpn_test || ( echo test alpn_test failed ; exit 1 )
573 $(E) "[RUN] Testing bin_encoder_test"
574 $(Q) ./bins/$(CONFIG)/bin_encoder_test || ( echo test bin_encoder_test failed ; exit 1 )
575 $(E) "[RUN] Testing census_hash_table_test"
576 $(Q) ./bins/$(CONFIG)/census_hash_table_test || ( echo test census_hash_table_test failed ; exit 1 )
577 $(E) "[RUN] Testing census_statistics_multiple_writers_circular_buffer_test"
578 $(Q) ./bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test || ( echo test census_statistics_multiple_writers_circular_buffer_test failed ; exit 1 )
579 $(E) "[RUN] Testing census_statistics_multiple_writers_test"
580 $(Q) ./bins/$(CONFIG)/census_statistics_multiple_writers_test || ( echo test census_statistics_multiple_writers_test failed ; exit 1 )
581 $(E) "[RUN] Testing census_statistics_performance_test"
582 $(Q) ./bins/$(CONFIG)/census_statistics_performance_test || ( echo test census_statistics_performance_test failed ; exit 1 )
583 $(E) "[RUN] Testing census_statistics_quick_test"
584 $(Q) ./bins/$(CONFIG)/census_statistics_quick_test || ( echo test census_statistics_quick_test failed ; exit 1 )
585 $(E) "[RUN] Testing census_statistics_small_log_test"
586 $(Q) ./bins/$(CONFIG)/census_statistics_small_log_test || ( echo test census_statistics_small_log_test failed ; exit 1 )
587 $(E) "[RUN] Testing census_stub_test"
588 $(Q) ./bins/$(CONFIG)/census_stub_test || ( echo test census_stub_test failed ; exit 1 )
589 $(E) "[RUN] Testing census_window_stats_test"
590 $(Q) ./bins/$(CONFIG)/census_window_stats_test || ( echo test census_window_stats_test failed ; exit 1 )
591 $(E) "[RUN] Testing chttp2_status_conversion_test"
592 $(Q) ./bins/$(CONFIG)/chttp2_status_conversion_test || ( echo test chttp2_status_conversion_test failed ; exit 1 )
593 $(E) "[RUN] Testing chttp2_stream_encoder_test"
594 $(Q) ./bins/$(CONFIG)/chttp2_stream_encoder_test || ( echo test chttp2_stream_encoder_test failed ; exit 1 )
595 $(E) "[RUN] Testing chttp2_stream_map_test"
596 $(Q) ./bins/$(CONFIG)/chttp2_stream_map_test || ( echo test chttp2_stream_map_test failed ; exit 1 )
597 $(E) "[RUN] Testing chttp2_transport_end2end_test"
598 $(Q) ./bins/$(CONFIG)/chttp2_transport_end2end_test || ( echo test chttp2_transport_end2end_test failed ; exit 1 )
599 $(E) "[RUN] Testing dualstack_socket_test"
600 $(Q) ./bins/$(CONFIG)/dualstack_socket_test || ( echo test dualstack_socket_test failed ; exit 1 )
601 $(E) "[RUN] Testing echo_test"
602 $(Q) ./bins/$(CONFIG)/echo_test || ( echo test echo_test failed ; exit 1 )
603 $(E) "[RUN] Testing fd_posix_test"
604 $(Q) ./bins/$(CONFIG)/fd_posix_test || ( echo test fd_posix_test failed ; exit 1 )
605 $(E) "[RUN] Testing fling_stream_test"
606 $(Q) ./bins/$(CONFIG)/fling_stream_test || ( echo test fling_stream_test failed ; exit 1 )
607 $(E) "[RUN] Testing fling_test"
608 $(Q) ./bins/$(CONFIG)/fling_test || ( echo test fling_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800609 $(E) "[RUN] Testing gpr_cancellable_test"
ctillercab52e72015-01-06 13:10:23 -0800610 $(Q) ./bins/$(CONFIG)/gpr_cancellable_test || ( echo test gpr_cancellable_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800611 $(E) "[RUN] Testing gpr_cmdline_test"
ctillercab52e72015-01-06 13:10:23 -0800612 $(Q) ./bins/$(CONFIG)/gpr_cmdline_test || ( echo test gpr_cmdline_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800613 $(E) "[RUN] Testing gpr_histogram_test"
ctillercab52e72015-01-06 13:10:23 -0800614 $(Q) ./bins/$(CONFIG)/gpr_histogram_test || ( echo test gpr_histogram_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800615 $(E) "[RUN] Testing gpr_host_port_test"
ctillercab52e72015-01-06 13:10:23 -0800616 $(Q) ./bins/$(CONFIG)/gpr_host_port_test || ( echo test gpr_host_port_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800617 $(E) "[RUN] Testing gpr_log_test"
618 $(Q) ./bins/$(CONFIG)/gpr_log_test || ( echo test gpr_log_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800619 $(E) "[RUN] Testing gpr_slice_buffer_test"
ctillercab52e72015-01-06 13:10:23 -0800620 $(Q) ./bins/$(CONFIG)/gpr_slice_buffer_test || ( echo test gpr_slice_buffer_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800621 $(E) "[RUN] Testing gpr_slice_test"
ctillercab52e72015-01-06 13:10:23 -0800622 $(Q) ./bins/$(CONFIG)/gpr_slice_test || ( echo test gpr_slice_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800623 $(E) "[RUN] Testing gpr_string_test"
ctillercab52e72015-01-06 13:10:23 -0800624 $(Q) ./bins/$(CONFIG)/gpr_string_test || ( echo test gpr_string_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800625 $(E) "[RUN] Testing gpr_sync_test"
ctillercab52e72015-01-06 13:10:23 -0800626 $(Q) ./bins/$(CONFIG)/gpr_sync_test || ( echo test gpr_sync_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800627 $(E) "[RUN] Testing gpr_thd_test"
ctillercab52e72015-01-06 13:10:23 -0800628 $(Q) ./bins/$(CONFIG)/gpr_thd_test || ( echo test gpr_thd_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800629 $(E) "[RUN] Testing gpr_time_test"
ctillercab52e72015-01-06 13:10:23 -0800630 $(Q) ./bins/$(CONFIG)/gpr_time_test || ( echo test gpr_time_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800631 $(E) "[RUN] Testing gpr_useful_test"
632 $(Q) ./bins/$(CONFIG)/gpr_useful_test || ( echo test gpr_useful_test failed ; exit 1 )
633 $(E) "[RUN] Testing grpc_base64_test"
634 $(Q) ./bins/$(CONFIG)/grpc_base64_test || ( echo test grpc_base64_test failed ; exit 1 )
635 $(E) "[RUN] Testing grpc_byte_buffer_reader_test"
636 $(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 -0800637 $(E) "[RUN] Testing grpc_channel_stack_test"
ctillercab52e72015-01-06 13:10:23 -0800638 $(Q) ./bins/$(CONFIG)/grpc_channel_stack_test || ( echo test grpc_channel_stack_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800639 $(E) "[RUN] Testing grpc_completion_queue_test"
ctillercab52e72015-01-06 13:10:23 -0800640 $(Q) ./bins/$(CONFIG)/grpc_completion_queue_test || ( echo test grpc_completion_queue_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800641 $(E) "[RUN] Testing grpc_credentials_test"
642 $(Q) ./bins/$(CONFIG)/grpc_credentials_test || ( echo test grpc_credentials_test failed ; exit 1 )
643 $(E) "[RUN] Testing grpc_json_token_test"
644 $(Q) ./bins/$(CONFIG)/grpc_json_token_test || ( echo test grpc_json_token_test failed ; exit 1 )
645 $(E) "[RUN] Testing grpc_stream_op_test"
646 $(Q) ./bins/$(CONFIG)/grpc_stream_op_test || ( echo test grpc_stream_op_test failed ; exit 1 )
647 $(E) "[RUN] Testing hpack_parser_test"
648 $(Q) ./bins/$(CONFIG)/hpack_parser_test || ( echo test hpack_parser_test failed ; exit 1 )
649 $(E) "[RUN] Testing hpack_table_test"
650 $(Q) ./bins/$(CONFIG)/hpack_table_test || ( echo test hpack_table_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800651 $(E) "[RUN] Testing httpcli_format_request_test"
ctillercab52e72015-01-06 13:10:23 -0800652 $(Q) ./bins/$(CONFIG)/httpcli_format_request_test || ( echo test httpcli_format_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800653 $(E) "[RUN] Testing httpcli_parser_test"
ctillercab52e72015-01-06 13:10:23 -0800654 $(Q) ./bins/$(CONFIG)/httpcli_parser_test || ( echo test httpcli_parser_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800655 $(E) "[RUN] Testing httpcli_test"
ctillercab52e72015-01-06 13:10:23 -0800656 $(Q) ./bins/$(CONFIG)/httpcli_test || ( echo test httpcli_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800657 $(E) "[RUN] Testing lame_client_test"
ctillercab52e72015-01-06 13:10:23 -0800658 $(Q) ./bins/$(CONFIG)/lame_client_test || ( echo test lame_client_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800659 $(E) "[RUN] Testing message_compress_test"
660 $(Q) ./bins/$(CONFIG)/message_compress_test || ( echo test message_compress_test failed ; exit 1 )
661 $(E) "[RUN] Testing metadata_buffer_test"
662 $(Q) ./bins/$(CONFIG)/metadata_buffer_test || ( echo test metadata_buffer_test failed ; exit 1 )
663 $(E) "[RUN] Testing murmur_hash_test"
664 $(Q) ./bins/$(CONFIG)/murmur_hash_test || ( echo test murmur_hash_test failed ; exit 1 )
665 $(E) "[RUN] Testing no_server_test"
666 $(Q) ./bins/$(CONFIG)/no_server_test || ( echo test no_server_test failed ; exit 1 )
David Klempner7f3ed1e2015-01-16 15:35:56 -0800667 $(E) "[RUN] Testing poll_kick_test"
668 $(Q) ./bins/$(CONFIG)/poll_kick_test || ( echo test poll_kick_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800669 $(E) "[RUN] Testing resolve_address_test"
670 $(Q) ./bins/$(CONFIG)/resolve_address_test || ( echo test resolve_address_test failed ; exit 1 )
671 $(E) "[RUN] Testing secure_endpoint_test"
672 $(Q) ./bins/$(CONFIG)/secure_endpoint_test || ( echo test secure_endpoint_test failed ; exit 1 )
673 $(E) "[RUN] Testing sockaddr_utils_test"
674 $(Q) ./bins/$(CONFIG)/sockaddr_utils_test || ( echo test sockaddr_utils_test failed ; exit 1 )
675 $(E) "[RUN] Testing tcp_client_posix_test"
676 $(Q) ./bins/$(CONFIG)/tcp_client_posix_test || ( echo test tcp_client_posix_test failed ; exit 1 )
677 $(E) "[RUN] Testing tcp_posix_test"
678 $(Q) ./bins/$(CONFIG)/tcp_posix_test || ( echo test tcp_posix_test failed ; exit 1 )
679 $(E) "[RUN] Testing tcp_server_posix_test"
680 $(Q) ./bins/$(CONFIG)/tcp_server_posix_test || ( echo test tcp_server_posix_test failed ; exit 1 )
681 $(E) "[RUN] Testing time_averaged_stats_test"
682 $(Q) ./bins/$(CONFIG)/time_averaged_stats_test || ( echo test time_averaged_stats_test failed ; exit 1 )
683 $(E) "[RUN] Testing time_test"
684 $(Q) ./bins/$(CONFIG)/time_test || ( echo test time_test failed ; exit 1 )
685 $(E) "[RUN] Testing timeout_encoding_test"
686 $(Q) ./bins/$(CONFIG)/timeout_encoding_test || ( echo test timeout_encoding_test failed ; exit 1 )
687 $(E) "[RUN] Testing transport_metadata_test"
688 $(Q) ./bins/$(CONFIG)/transport_metadata_test || ( echo test transport_metadata_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800689 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800690 $(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 -0800691 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800692 $(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 -0800693 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800694 $(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 -0800695 $(E) "[RUN] Testing chttp2_fake_security_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800696 $(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 -0800697 $(E) "[RUN] Testing chttp2_fake_security_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800698 $(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 -0800699 $(E) "[RUN] Testing chttp2_fake_security_census_simple_request_test"
700 $(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 -0800701 $(E) "[RUN] Testing chttp2_fake_security_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800702 $(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 -0800703 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800704 $(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 -0800705 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800706 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test || ( echo test chttp2_fake_security_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800707 $(E) "[RUN] Testing chttp2_fake_security_graceful_server_shutdown_test"
708 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test || ( echo test chttp2_fake_security_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800709 $(E) "[RUN] Testing chttp2_fake_security_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800710 $(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 -0800711 $(E) "[RUN] Testing chttp2_fake_security_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800712 $(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 -0800713 $(E) "[RUN] Testing chttp2_fake_security_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800714 $(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 -0800715 $(E) "[RUN] Testing chttp2_fake_security_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800716 $(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 -0800717 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800718 $(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 -0800719 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800720 $(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 -0800721 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800722 $(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 -0800723 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800724 $(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 -0800725 $(E) "[RUN] Testing chttp2_fake_security_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800726 $(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 -0800727 $(E) "[RUN] Testing chttp2_fake_security_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800728 $(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 -0800729 $(E) "[RUN] Testing chttp2_fake_security_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800730 $(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 -0800731 $(E) "[RUN] Testing chttp2_fake_security_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800732 $(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 -0800733 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800734 $(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 -0800735 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800736 $(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 -0800737 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800738 $(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 -0800739 $(E) "[RUN] Testing chttp2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800740 $(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 -0800741 $(E) "[RUN] Testing chttp2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800742 $(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 -0800743 $(E) "[RUN] Testing chttp2_fullstack_census_simple_request_test"
744 $(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 -0800745 $(E) "[RUN] Testing chttp2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800746 $(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 -0800747 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800748 $(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 -0800749 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800750 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test || ( echo test chttp2_fullstack_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800751 $(E) "[RUN] Testing chttp2_fullstack_graceful_server_shutdown_test"
752 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test || ( echo test chttp2_fullstack_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800753 $(E) "[RUN] Testing chttp2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800754 $(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 -0800755 $(E) "[RUN] Testing chttp2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800756 $(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 -0800757 $(E) "[RUN] Testing chttp2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800758 $(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 -0800759 $(E) "[RUN] Testing chttp2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800760 $(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 -0800761 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800762 $(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 -0800763 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800764 $(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 -0800765 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800766 $(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 -0800767 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800768 $(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 -0800769 $(E) "[RUN] Testing chttp2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800770 $(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 -0800771 $(E) "[RUN] Testing chttp2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800772 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_simple_request_test || ( echo test chttp2_fullstack_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800773 $(E) "[RUN] Testing chttp2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800774 $(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 -0800775 $(E) "[RUN] Testing chttp2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800776 $(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 -0800777 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800778 $(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 -0800779 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800780 $(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 -0800781 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800782 $(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 -0800783 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800784 $(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 -0800785 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800786 $(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 -0800787 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_census_simple_request_test"
788 $(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 -0800789 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800790 $(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 -0800791 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800792 $(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 -0800793 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800794 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test || ( echo test chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800795 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_graceful_server_shutdown_test"
796 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test || ( echo test chttp2_simple_ssl_fullstack_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800797 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800798 $(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 -0800799 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800800 $(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 -0800801 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800802 $(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 -0800803 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800804 $(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 -0800805 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800806 $(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 -0800807 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800808 $(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 -0800809 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800810 $(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 -0800811 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800812 $(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 -0800813 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800814 $(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 -0800815 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800816 $(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 -0800817 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800818 $(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 -0800819 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800820 $(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 -0800821 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800822 $(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 -0800823 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800824 $(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 -0800825 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800826 $(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 -0800827 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800828 $(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 -0800829 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800830 $(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 -0800831 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test"
832 $(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 -0800833 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800834 $(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 -0800835 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800836 $(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 -0800837 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800838 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800839 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test"
840 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800841 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800842 $(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 -0800843 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800844 $(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 -0800845 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800846 $(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 -0800847 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800848 $(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 -0800849 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800850 $(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 -0800851 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800852 $(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 -0800853 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800854 $(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 -0800855 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800856 $(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 -0800857 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800858 $(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 -0800859 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800860 $(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 -0800861 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800862 $(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 -0800863 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800864 $(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 -0800865 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800866 $(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 -0800867 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800868 $(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 -0800869 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800870 $(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 -0800871 $(E) "[RUN] Testing chttp2_socket_pair_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800872 $(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 -0800873 $(E) "[RUN] Testing chttp2_socket_pair_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800874 $(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 -0800875 $(E) "[RUN] Testing chttp2_socket_pair_census_simple_request_test"
876 $(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 -0800877 $(E) "[RUN] Testing chttp2_socket_pair_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800878 $(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 -0800879 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800880 $(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 -0800881 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800882 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test || ( echo test chttp2_socket_pair_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800883 $(E) "[RUN] Testing chttp2_socket_pair_graceful_server_shutdown_test"
884 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test || ( echo test chttp2_socket_pair_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800885 $(E) "[RUN] Testing chttp2_socket_pair_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800886 $(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 -0800887 $(E) "[RUN] Testing chttp2_socket_pair_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800888 $(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 -0800889 $(E) "[RUN] Testing chttp2_socket_pair_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800890 $(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 -0800891 $(E) "[RUN] Testing chttp2_socket_pair_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800892 $(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 -0800893 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800894 $(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 -0800895 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800896 $(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 -0800897 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800898 $(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 -0800899 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800900 $(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 -0800901 $(E) "[RUN] Testing chttp2_socket_pair_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800902 $(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 -0800903 $(E) "[RUN] Testing chttp2_socket_pair_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800904 $(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 -0800905 $(E) "[RUN] Testing chttp2_socket_pair_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800906 $(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 -0800907 $(E) "[RUN] Testing chttp2_socket_pair_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800908 $(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 -0800909 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800910 $(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 -0800911 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800912 $(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 -0800913 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800914 $(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 -0800915 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800916 $(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 -0800917 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800918 $(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 -0800919 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test"
920 $(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 -0800921 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800922 $(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 -0800923 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800924 $(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 -0800925 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800926 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800927 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test"
928 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800929 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800930 $(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 -0800931 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800932 $(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 -0800933 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800934 $(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 -0800935 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800936 $(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 -0800937 $(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 -0800938 $(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 -0800939 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800940 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_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 -0800941 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800942 $(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 -0800943 $(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 -0800944 $(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 -0800945 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800946 $(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 -0800947 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800948 $(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 -0800949 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800950 $(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 -0800951 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800952 $(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 -0800953
954
nnoble85a49262014-12-08 18:14:03 -0800955test_cxx: buildtests_cxx
yangg59dfc902014-12-19 14:00:14 -0800956 $(E) "[RUN] Testing channel_arguments_test"
ctillercab52e72015-01-06 13:10:23 -0800957 $(Q) ./bins/$(CONFIG)/channel_arguments_test || ( echo test channel_arguments_test failed ; exit 1 )
yangg4105e2b2015-01-09 14:19:44 -0800958 $(E) "[RUN] Testing credentials_test"
959 $(Q) ./bins/$(CONFIG)/credentials_test || ( echo test credentials_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800960 $(E) "[RUN] Testing end2end_test"
961 $(Q) ./bins/$(CONFIG)/end2end_test || ( echo test end2end_test failed ; exit 1 )
962 $(E) "[RUN] Testing qps_client"
963 $(Q) ./bins/$(CONFIG)/qps_client || ( echo test qps_client failed ; exit 1 )
964 $(E) "[RUN] Testing qps_server"
965 $(Q) ./bins/$(CONFIG)/qps_server || ( echo test qps_server failed ; exit 1 )
966 $(E) "[RUN] Testing status_test"
967 $(Q) ./bins/$(CONFIG)/status_test || ( echo test status_test failed ; exit 1 )
968 $(E) "[RUN] Testing sync_client_async_server_test"
969 $(Q) ./bins/$(CONFIG)/sync_client_async_server_test || ( echo test sync_client_async_server_test failed ; exit 1 )
970 $(E) "[RUN] Testing thread_pool_test"
971 $(Q) ./bins/$(CONFIG)/thread_pool_test || ( echo test thread_pool_test failed ; exit 1 )
nnoble29e1d292014-12-01 10:27:40 -0800972
973
ctillercab52e72015-01-06 13:10:23 -0800974tools: privatelibs bins/$(CONFIG)/gen_hpack_tables bins/$(CONFIG)/grpc_fetch_oauth2
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800975
ctillercab52e72015-01-06 13:10:23 -0800976buildbenchmarks: privatelibs bins/$(CONFIG)/grpc_completion_queue_benchmark bins/$(CONFIG)/low_level_ping_pong_benchmark
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800977
978benchmarks: buildbenchmarks
979
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800980strip: strip-static strip-shared
981
nnoble20e2e3f2014-12-16 15:37:57 -0800982strip-static: strip-static_c strip-static_cxx
983
984strip-shared: strip-shared_c strip-shared_cxx
985
Nicolas Noble047b7272015-01-16 13:55:05 -0800986
987# TODO(nnoble): the strip target is stripping in-place, instead
988# of copying files in a temporary folder.
989# This prevents proper debugging after running make install.
990
nnoble85a49262014-12-08 18:14:03 -0800991strip-static_c: static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800992 $(E) "[STRIP] Stripping libgpr.a"
ctillercab52e72015-01-06 13:10:23 -0800993 $(Q) $(STRIP) libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800994 $(E) "[STRIP] Stripping libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -0800995 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800996 $(E) "[STRIP] Stripping libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -0800997 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800998
nnoble85a49262014-12-08 18:14:03 -0800999strip-static_cxx: static_cxx
1000 $(E) "[STRIP] Stripping libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -08001001 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -08001002
1003strip-shared_c: shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001004 $(E) "[STRIP] Stripping libgpr.so"
ctillercab52e72015-01-06 13:10:23 -08001005 $(Q) $(STRIP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001006 $(E) "[STRIP] Stripping libgrpc.so"
ctillercab52e72015-01-06 13:10:23 -08001007 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001008 $(E) "[STRIP] Stripping libgrpc_unsecure.so"
ctillercab52e72015-01-06 13:10:23 -08001009 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001010
nnoble85a49262014-12-08 18:14:03 -08001011strip-shared_cxx: shared_cxx
1012 $(E) "[STRIP] Stripping libgrpc++.so"
ctillercab52e72015-01-06 13:10:23 -08001013 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
nnoble85a49262014-12-08 18:14:03 -08001014
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001015gens/test/cpp/interop/empty.pb.cc: test/cpp/interop/empty.proto $(PROTOC_PLUGINS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001016 $(E) "[PROTOC] Generating protobuf CC file from $<"
1017 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001018 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001019
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001020gens/test/cpp/interop/messages.pb.cc: test/cpp/interop/messages.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001021 $(E) "[PROTOC] Generating protobuf CC file from $<"
1022 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001023 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001024
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001025gens/test/cpp/interop/test.pb.cc: test/cpp/interop/test.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001026 $(E) "[PROTOC] Generating protobuf CC file from $<"
1027 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001028 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001029
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001030gens/test/cpp/qps/qpstest.pb.cc: test/cpp/qps/qpstest.proto $(PROTOC_PLUGINS)
Craig Tillerbf2659f2015-01-13 12:27:06 -08001031 $(E) "[PROTOC] Generating protobuf CC file from $<"
1032 $(Q) mkdir -p `dirname $@`
1033 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1034
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001035gens/test/cpp/util/echo.pb.cc: test/cpp/util/echo.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001036 $(E) "[PROTOC] Generating protobuf CC file from $<"
1037 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001038 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001039
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001040gens/test/cpp/util/echo_duplicate.pb.cc: test/cpp/util/echo_duplicate.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001041 $(E) "[PROTOC] Generating protobuf CC file from $<"
1042 $(Q) mkdir -p `dirname $@`
1043 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1044
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001045gens/test/cpp/util/messages.pb.cc: test/cpp/util/messages.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001046 $(E) "[PROTOC] Generating protobuf CC file from $<"
1047 $(Q) mkdir -p `dirname $@`
1048 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1049
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001050
ctillercab52e72015-01-06 13:10:23 -08001051objs/$(CONFIG)/%.o : %.c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001052 $(E) "[C] Compiling $<"
1053 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001054 $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001055
ctillercab52e72015-01-06 13:10:23 -08001056objs/$(CONFIG)/%.o : gens/%.pb.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001057 $(E) "[CXX] Compiling $<"
1058 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001059 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001060
ctillercab52e72015-01-06 13:10:23 -08001061objs/$(CONFIG)/src/compiler/%.o : src/compiler/%.cc
nnoble72309c62014-12-12 11:42:26 -08001062 $(E) "[HOSTCXX] Compiling $<"
1063 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001064 $(Q) $(HOST_CXX) $(HOST_CXXFLAGS) $(HOST_CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
nnoble72309c62014-12-12 11:42:26 -08001065
ctillercab52e72015-01-06 13:10:23 -08001066objs/$(CONFIG)/%.o : %.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001067 $(E) "[CXX] Compiling $<"
1068 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001069 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001070
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001071
nnoble85a49262014-12-08 18:14:03 -08001072install: install_c install_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001073
nnoble85a49262014-12-08 18:14:03 -08001074install_c: install-headers_c install-static_c install-shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001075
nnoble85a49262014-12-08 18:14:03 -08001076install_cxx: install-headers_cxx install-static_cxx install-shared_cxx
1077
1078install-headers: install-headers_c install-headers_cxx
1079
1080install-headers_c:
1081 $(E) "[INSTALL] Installing public C headers"
1082 $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1083
1084install-headers_cxx:
1085 $(E) "[INSTALL] Installing public C++ headers"
1086 $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1087
1088install-static: install-static_c install-static_cxx
1089
1090install-static_c: static_c strip-static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001091 $(E) "[INSTALL] Installing libgpr.a"
ctillercab52e72015-01-06 13:10:23 -08001092 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.a $(prefix)/lib/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001093 $(E) "[INSTALL] Installing libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -08001094 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.a $(prefix)/lib/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001095 $(E) "[INSTALL] Installing libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -08001096 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.a $(prefix)/lib/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001097
nnoble85a49262014-12-08 18:14:03 -08001098install-static_cxx: static_cxx strip-static_cxx
1099 $(E) "[INSTALL] Installing libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -08001100 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.a $(prefix)/lib/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -08001101
1102install-shared_c: shared_c strip-shared_c
nnoble5b7f32a2014-12-22 08:12:44 -08001103ifeq ($(SYSTEM),MINGW32)
1104 $(E) "[INSTALL] Installing gpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001105 $(Q) $(INSTALL) libs/$(CONFIG)/gpr.$(SHARED_EXT) $(prefix)/lib/gpr.$(SHARED_EXT)
1106 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr-imp.a $(prefix)/lib/libgpr-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001107else
1108 $(E) "[INSTALL] Installing libgpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001109 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001110ifneq ($(SYSTEM),Darwin)
1111 $(Q) ln -sf libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.so
1112endif
1113endif
1114ifeq ($(SYSTEM),MINGW32)
1115 $(E) "[INSTALL] Installing grpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001116 $(Q) $(INSTALL) libs/$(CONFIG)/grpc.$(SHARED_EXT) $(prefix)/lib/grpc.$(SHARED_EXT)
1117 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc-imp.a $(prefix)/lib/libgrpc-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001118else
1119 $(E) "[INSTALL] Installing libgrpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001120 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001121ifneq ($(SYSTEM),Darwin)
1122 $(Q) ln -sf libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.so
1123endif
1124endif
1125ifeq ($(SYSTEM),MINGW32)
1126 $(E) "[INSTALL] Installing grpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001127 $(Q) $(INSTALL) libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT) $(prefix)/lib/grpc_unsecure.$(SHARED_EXT)
1128 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure-imp.a $(prefix)/lib/libgrpc_unsecure-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001129else
1130 $(E) "[INSTALL] Installing libgrpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001131 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001132ifneq ($(SYSTEM),Darwin)
1133 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.so
1134endif
1135endif
1136ifneq ($(SYSTEM),MINGW32)
1137ifneq ($(SYSTEM),Darwin)
1138 $(Q) ldconfig
1139endif
1140endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001141
nnoble85a49262014-12-08 18:14:03 -08001142install-shared_cxx: shared_cxx strip-shared_cxx
nnoble5b7f32a2014-12-22 08:12:44 -08001143ifeq ($(SYSTEM),MINGW32)
1144 $(E) "[INSTALL] Installing grpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001145 $(Q) $(INSTALL) libs/$(CONFIG)/grpc++.$(SHARED_EXT) $(prefix)/lib/grpc++.$(SHARED_EXT)
1146 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++-imp.a $(prefix)/lib/libgrpc++-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001147else
1148 $(E) "[INSTALL] Installing libgrpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001149 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001150ifneq ($(SYSTEM),Darwin)
1151 $(Q) ln -sf libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.so
1152endif
1153endif
1154ifneq ($(SYSTEM),MINGW32)
1155ifneq ($(SYSTEM),Darwin)
1156 $(Q) ldconfig
1157endif
1158endif
nnoble85a49262014-12-08 18:14:03 -08001159
Craig Tiller3759e6f2015-01-15 08:13:11 -08001160clean:
Craig Tiller12c82092015-01-15 08:45:56 -08001161 $(Q) $(RM) -rf objs libs bins gens
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001162
1163
1164# The various libraries
1165
1166
1167LIBGPR_SRC = \
1168 src/core/support/alloc.c \
1169 src/core/support/cancellable.c \
1170 src/core/support/cmdline.c \
ctillerd94ad102014-12-23 08:53:43 -08001171 src/core/support/cpu_linux.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001172 src/core/support/cpu_posix.c \
1173 src/core/support/histogram.c \
1174 src/core/support/host_port.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001175 src/core/support/log.c \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001176 src/core/support/log_android.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001177 src/core/support/log_linux.c \
1178 src/core/support/log_posix.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001179 src/core/support/log_win32.c \
1180 src/core/support/murmur_hash.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001181 src/core/support/slice.c \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001182 src/core/support/slice_buffer.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001183 src/core/support/string.c \
1184 src/core/support/string_posix.c \
nnoble0c475f02014-12-05 15:37:39 -08001185 src/core/support/string_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001186 src/core/support/sync.c \
1187 src/core/support/sync_posix.c \
jtattermusch98bffb72014-12-09 12:47:19 -08001188 src/core/support/sync_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001189 src/core/support/thd_posix.c \
1190 src/core/support/thd_win32.c \
1191 src/core/support/time.c \
1192 src/core/support/time_posix.c \
1193 src/core/support/time_win32.c \
1194
nnoble85a49262014-12-08 18:14:03 -08001195PUBLIC_HEADERS_C += \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001196 include/grpc/support/alloc.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001197 include/grpc/support/atm.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001198 include/grpc/support/atm_gcc_atomic.h \
1199 include/grpc/support/atm_gcc_sync.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001200 include/grpc/support/atm_win32.h \
1201 include/grpc/support/cancellable_platform.h \
1202 include/grpc/support/cmdline.h \
1203 include/grpc/support/histogram.h \
1204 include/grpc/support/host_port.h \
1205 include/grpc/support/log.h \
1206 include/grpc/support/port_platform.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001207 include/grpc/support/slice.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001208 include/grpc/support/slice_buffer.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001209 include/grpc/support/string.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001210 include/grpc/support/sync.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001211 include/grpc/support/sync_generic.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001212 include/grpc/support/sync_posix.h \
1213 include/grpc/support/sync_win32.h \
1214 include/grpc/support/thd.h \
1215 include/grpc/support/thd_posix.h \
1216 include/grpc/support/thd_win32.h \
1217 include/grpc/support/time.h \
1218 include/grpc/support/time_posix.h \
1219 include/grpc/support/time_win32.h \
1220 include/grpc/support/useful.h \
1221
ctillercab52e72015-01-06 13:10:23 -08001222LIBGPR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001223
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001224libs/$(CONFIG)/libgpr.a: $(ZLIB_DEP) $(LIBGPR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001225 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001226 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001227 $(Q) rm -f libs/$(CONFIG)/libgpr.a
ctillercab52e72015-01-06 13:10:23 -08001228 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr.a $(LIBGPR_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001229ifeq ($(SYSTEM),Darwin)
1230 $(Q) ranlib libs/$(CONFIG)/libgpr.a
1231endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001232
nnoble5b7f32a2014-12-22 08:12:44 -08001233
1234
1235ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001236libs/$(CONFIG)/gpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001237 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001238 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001239 $(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 -08001240else
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001241libs/$(CONFIG)/libgpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001242 $(E) "[LD] Linking $@"
1243 $(Q) mkdir -p `dirname $@`
1244ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001245 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
nnoble5b7f32a2014-12-22 08:12:44 -08001246else
ctillercab52e72015-01-06 13:10:23 -08001247 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgpr.so.0 -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
1248 $(Q) ln -sf libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgpr.so
nnoble5b7f32a2014-12-22 08:12:44 -08001249endif
1250endif
1251
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001252
nnoble69ac39f2014-12-12 15:43:38 -08001253ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001254-include $(LIBGPR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001255endif
1256
Craig Tiller27715ca2015-01-12 16:55:59 -08001257objs/$(CONFIG)/src/core/support/alloc.o:
1258objs/$(CONFIG)/src/core/support/cancellable.o:
1259objs/$(CONFIG)/src/core/support/cmdline.o:
1260objs/$(CONFIG)/src/core/support/cpu_linux.o:
1261objs/$(CONFIG)/src/core/support/cpu_posix.o:
1262objs/$(CONFIG)/src/core/support/histogram.o:
1263objs/$(CONFIG)/src/core/support/host_port.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001264objs/$(CONFIG)/src/core/support/log.o:
Craig Tiller17ec5f92015-01-18 11:30:41 -08001265objs/$(CONFIG)/src/core/support/log_android.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001266objs/$(CONFIG)/src/core/support/log_linux.o:
1267objs/$(CONFIG)/src/core/support/log_posix.o:
1268objs/$(CONFIG)/src/core/support/log_win32.o:
1269objs/$(CONFIG)/src/core/support/murmur_hash.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001270objs/$(CONFIG)/src/core/support/slice.o:
Craig Tiller17ec5f92015-01-18 11:30:41 -08001271objs/$(CONFIG)/src/core/support/slice_buffer.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001272objs/$(CONFIG)/src/core/support/string.o:
1273objs/$(CONFIG)/src/core/support/string_posix.o:
1274objs/$(CONFIG)/src/core/support/string_win32.o:
1275objs/$(CONFIG)/src/core/support/sync.o:
1276objs/$(CONFIG)/src/core/support/sync_posix.o:
1277objs/$(CONFIG)/src/core/support/sync_win32.o:
1278objs/$(CONFIG)/src/core/support/thd_posix.o:
1279objs/$(CONFIG)/src/core/support/thd_win32.o:
1280objs/$(CONFIG)/src/core/support/time.o:
1281objs/$(CONFIG)/src/core/support/time_posix.o:
1282objs/$(CONFIG)/src/core/support/time_win32.o:
1283
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001284
Craig Tiller17ec5f92015-01-18 11:30:41 -08001285LIBGPR_TEST_UTIL_SRC = \
1286 test/core/util/test_config.c \
1287
1288
1289LIBGPR_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_TEST_UTIL_SRC))))
1290
1291ifeq ($(NO_SECURE),true)
1292
1293# You can't build secure libraries if you don't have OpenSSL with ALPN.
1294
1295libs/$(CONFIG)/libgpr_test_util.a: openssl_dep_error
1296
1297
1298else
1299
1300ifneq ($(OPENSSL_DEP),)
1301test/core/util/test_config.c: $(OPENSSL_DEP)
1302endif
1303
1304libs/$(CONFIG)/libgpr_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGPR_TEST_UTIL_OBJS)
1305 $(E) "[AR] Creating $@"
1306 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001307 $(Q) rm -f libs/$(CONFIG)/libgpr_test_util.a
Craig Tiller17ec5f92015-01-18 11:30:41 -08001308 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr_test_util.a $(LIBGPR_TEST_UTIL_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001309ifeq ($(SYSTEM),Darwin)
1310 $(Q) ranlib libs/$(CONFIG)/libgpr_test_util.a
1311endif
Craig Tiller17ec5f92015-01-18 11:30:41 -08001312
1313
1314
1315
1316
1317endif
1318
1319ifneq ($(NO_SECURE),true)
1320ifneq ($(NO_DEPS),true)
1321-include $(LIBGPR_TEST_UTIL_OBJS:.o=.dep)
1322endif
1323endif
1324
1325objs/$(CONFIG)/test/core/util/test_config.o:
1326
1327
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001328LIBGRPC_SRC = \
nnoblec87b1c52015-01-05 17:15:18 -08001329 src/core/security/auth.c \
1330 src/core/security/base64.c \
1331 src/core/security/credentials.c \
jboeuf6ad120e2015-01-12 17:08:15 -08001332 src/core/security/factories.c \
nnoblec87b1c52015-01-05 17:15:18 -08001333 src/core/security/google_root_certs.c \
1334 src/core/security/json_token.c \
1335 src/core/security/secure_endpoint.c \
1336 src/core/security/secure_transport_setup.c \
1337 src/core/security/security_context.c \
1338 src/core/security/server_secure_chttp2.c \
1339 src/core/tsi/fake_transport_security.c \
1340 src/core/tsi/ssl_transport_security.c \
1341 src/core/tsi/transport_security.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001342 src/core/channel/call_op_string.c \
1343 src/core/channel/census_filter.c \
1344 src/core/channel/channel_args.c \
1345 src/core/channel/channel_stack.c \
ctiller82e275f2014-12-12 08:43:28 -08001346 src/core/channel/child_channel.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001347 src/core/channel/client_channel.c \
1348 src/core/channel/client_setup.c \
1349 src/core/channel/connected_channel.c \
1350 src/core/channel/http_client_filter.c \
1351 src/core/channel/http_filter.c \
1352 src/core/channel/http_server_filter.c \
1353 src/core/channel/metadata_buffer.c \
1354 src/core/channel/noop_filter.c \
1355 src/core/compression/algorithm.c \
1356 src/core/compression/message_compress.c \
ctiller18b49ab2014-12-09 14:39:16 -08001357 src/core/httpcli/format_request.c \
1358 src/core/httpcli/httpcli.c \
1359 src/core/httpcli/httpcli_security_context.c \
1360 src/core/httpcli/parser.c \
ctiller52103932014-12-20 09:07:32 -08001361 src/core/iomgr/alarm.c \
1362 src/core/iomgr/alarm_heap.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001363 src/core/iomgr/endpoint.c \
ctiller18b49ab2014-12-09 14:39:16 -08001364 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001365 src/core/iomgr/fd_posix.c \
1366 src/core/iomgr/iomgr.c \
1367 src/core/iomgr/iomgr_posix.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08001368 src/core/iomgr/pollset_kick_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001369 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1370 src/core/iomgr/pollset_posix.c \
ctiller18b49ab2014-12-09 14:39:16 -08001371 src/core/iomgr/resolve_address_posix.c \
1372 src/core/iomgr/sockaddr_utils.c \
1373 src/core/iomgr/socket_utils_common_posix.c \
1374 src/core/iomgr/socket_utils_linux.c \
1375 src/core/iomgr/socket_utils_posix.c \
1376 src/core/iomgr/tcp_client_posix.c \
1377 src/core/iomgr/tcp_posix.c \
1378 src/core/iomgr/tcp_server_posix.c \
ctillerc1ddffb2014-12-15 13:08:18 -08001379 src/core/iomgr/time_averaged_stats.c \
ctiller18b49ab2014-12-09 14:39:16 -08001380 src/core/statistics/census_init.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001381 src/core/statistics/census_log.c \
ctiller18b49ab2014-12-09 14:39:16 -08001382 src/core/statistics/census_rpc_stats.c \
1383 src/core/statistics/census_tracing.c \
1384 src/core/statistics/hash_table.c \
ctiller18b49ab2014-12-09 14:39:16 -08001385 src/core/statistics/window_stats.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001386 src/core/surface/byte_buffer.c \
1387 src/core/surface/byte_buffer_reader.c \
1388 src/core/surface/call.c \
1389 src/core/surface/channel.c \
1390 src/core/surface/channel_create.c \
1391 src/core/surface/client.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001392 src/core/surface/completion_queue.c \
1393 src/core/surface/event_string.c \
1394 src/core/surface/init.c \
ctiller18b49ab2014-12-09 14:39:16 -08001395 src/core/surface/lame_client.c \
1396 src/core/surface/secure_channel_create.c \
1397 src/core/surface/secure_server_create.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001398 src/core/surface/server.c \
1399 src/core/surface/server_chttp2.c \
1400 src/core/surface/server_create.c \
nnoble0c475f02014-12-05 15:37:39 -08001401 src/core/transport/chttp2/alpn.c \
1402 src/core/transport/chttp2/bin_encoder.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001403 src/core/transport/chttp2/frame_data.c \
nnoble0c475f02014-12-05 15:37:39 -08001404 src/core/transport/chttp2/frame_goaway.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001405 src/core/transport/chttp2/frame_ping.c \
1406 src/core/transport/chttp2/frame_rst_stream.c \
1407 src/core/transport/chttp2/frame_settings.c \
1408 src/core/transport/chttp2/frame_window_update.c \
1409 src/core/transport/chttp2/hpack_parser.c \
1410 src/core/transport/chttp2/hpack_table.c \
nnoble0c475f02014-12-05 15:37:39 -08001411 src/core/transport/chttp2/huffsyms.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001412 src/core/transport/chttp2/status_conversion.c \
1413 src/core/transport/chttp2/stream_encoder.c \
1414 src/core/transport/chttp2/stream_map.c \
1415 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001416 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001417 src/core/transport/chttp2_transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001418 src/core/transport/metadata.c \
1419 src/core/transport/stream_op.c \
1420 src/core/transport/transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001421 third_party/cJSON/cJSON.c \
1422
nnoble85a49262014-12-08 18:14:03 -08001423PUBLIC_HEADERS_C += \
nnoblec87b1c52015-01-05 17:15:18 -08001424 include/grpc/grpc_security.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001425 include/grpc/byte_buffer.h \
1426 include/grpc/byte_buffer_reader.h \
1427 include/grpc/grpc.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001428 include/grpc/status.h \
1429
ctillercab52e72015-01-06 13:10:23 -08001430LIBGRPC_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001431
nnoble69ac39f2014-12-12 15:43:38 -08001432ifeq ($(NO_SECURE),true)
1433
Nicolas Noble047b7272015-01-16 13:55:05 -08001434# You can't build secure libraries if you don't have OpenSSL with ALPN.
1435
ctillercab52e72015-01-06 13:10:23 -08001436libs/$(CONFIG)/libgrpc.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08001437
nnoble5b7f32a2014-12-22 08:12:44 -08001438ifeq ($(SYSTEM),MINGW32)
ctillercab52e72015-01-06 13:10:23 -08001439libs/$(CONFIG)/grpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001440else
ctillercab52e72015-01-06 13:10:23 -08001441libs/$(CONFIG)/libgrpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001442endif
1443
nnoble69ac39f2014-12-12 15:43:38 -08001444else
1445
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001446ifneq ($(OPENSSL_DEP),)
1447src/core/security/auth.c: $(OPENSSL_DEP)
1448src/core/security/base64.c: $(OPENSSL_DEP)
1449src/core/security/credentials.c: $(OPENSSL_DEP)
1450src/core/security/factories.c: $(OPENSSL_DEP)
1451src/core/security/google_root_certs.c: $(OPENSSL_DEP)
1452src/core/security/json_token.c: $(OPENSSL_DEP)
1453src/core/security/secure_endpoint.c: $(OPENSSL_DEP)
1454src/core/security/secure_transport_setup.c: $(OPENSSL_DEP)
1455src/core/security/security_context.c: $(OPENSSL_DEP)
1456src/core/security/server_secure_chttp2.c: $(OPENSSL_DEP)
1457src/core/tsi/fake_transport_security.c: $(OPENSSL_DEP)
1458src/core/tsi/ssl_transport_security.c: $(OPENSSL_DEP)
1459src/core/tsi/transport_security.c: $(OPENSSL_DEP)
1460src/core/channel/call_op_string.c: $(OPENSSL_DEP)
1461src/core/channel/census_filter.c: $(OPENSSL_DEP)
1462src/core/channel/channel_args.c: $(OPENSSL_DEP)
1463src/core/channel/channel_stack.c: $(OPENSSL_DEP)
1464src/core/channel/child_channel.c: $(OPENSSL_DEP)
1465src/core/channel/client_channel.c: $(OPENSSL_DEP)
1466src/core/channel/client_setup.c: $(OPENSSL_DEP)
1467src/core/channel/connected_channel.c: $(OPENSSL_DEP)
1468src/core/channel/http_client_filter.c: $(OPENSSL_DEP)
1469src/core/channel/http_filter.c: $(OPENSSL_DEP)
1470src/core/channel/http_server_filter.c: $(OPENSSL_DEP)
1471src/core/channel/metadata_buffer.c: $(OPENSSL_DEP)
1472src/core/channel/noop_filter.c: $(OPENSSL_DEP)
1473src/core/compression/algorithm.c: $(OPENSSL_DEP)
1474src/core/compression/message_compress.c: $(OPENSSL_DEP)
1475src/core/httpcli/format_request.c: $(OPENSSL_DEP)
1476src/core/httpcli/httpcli.c: $(OPENSSL_DEP)
1477src/core/httpcli/httpcli_security_context.c: $(OPENSSL_DEP)
1478src/core/httpcli/parser.c: $(OPENSSL_DEP)
1479src/core/iomgr/alarm.c: $(OPENSSL_DEP)
1480src/core/iomgr/alarm_heap.c: $(OPENSSL_DEP)
1481src/core/iomgr/endpoint.c: $(OPENSSL_DEP)
1482src/core/iomgr/endpoint_pair_posix.c: $(OPENSSL_DEP)
1483src/core/iomgr/fd_posix.c: $(OPENSSL_DEP)
1484src/core/iomgr/iomgr.c: $(OPENSSL_DEP)
1485src/core/iomgr/iomgr_posix.c: $(OPENSSL_DEP)
David Klempner7f3ed1e2015-01-16 15:35:56 -08001486src/core/iomgr/pollset_kick_posix.c: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001487src/core/iomgr/pollset_multipoller_with_poll_posix.c: $(OPENSSL_DEP)
1488src/core/iomgr/pollset_posix.c: $(OPENSSL_DEP)
1489src/core/iomgr/resolve_address_posix.c: $(OPENSSL_DEP)
1490src/core/iomgr/sockaddr_utils.c: $(OPENSSL_DEP)
1491src/core/iomgr/socket_utils_common_posix.c: $(OPENSSL_DEP)
1492src/core/iomgr/socket_utils_linux.c: $(OPENSSL_DEP)
1493src/core/iomgr/socket_utils_posix.c: $(OPENSSL_DEP)
1494src/core/iomgr/tcp_client_posix.c: $(OPENSSL_DEP)
1495src/core/iomgr/tcp_posix.c: $(OPENSSL_DEP)
1496src/core/iomgr/tcp_server_posix.c: $(OPENSSL_DEP)
1497src/core/iomgr/time_averaged_stats.c: $(OPENSSL_DEP)
1498src/core/statistics/census_init.c: $(OPENSSL_DEP)
1499src/core/statistics/census_log.c: $(OPENSSL_DEP)
1500src/core/statistics/census_rpc_stats.c: $(OPENSSL_DEP)
1501src/core/statistics/census_tracing.c: $(OPENSSL_DEP)
1502src/core/statistics/hash_table.c: $(OPENSSL_DEP)
1503src/core/statistics/window_stats.c: $(OPENSSL_DEP)
1504src/core/surface/byte_buffer.c: $(OPENSSL_DEP)
1505src/core/surface/byte_buffer_reader.c: $(OPENSSL_DEP)
1506src/core/surface/call.c: $(OPENSSL_DEP)
1507src/core/surface/channel.c: $(OPENSSL_DEP)
1508src/core/surface/channel_create.c: $(OPENSSL_DEP)
1509src/core/surface/client.c: $(OPENSSL_DEP)
1510src/core/surface/completion_queue.c: $(OPENSSL_DEP)
1511src/core/surface/event_string.c: $(OPENSSL_DEP)
1512src/core/surface/init.c: $(OPENSSL_DEP)
1513src/core/surface/lame_client.c: $(OPENSSL_DEP)
1514src/core/surface/secure_channel_create.c: $(OPENSSL_DEP)
1515src/core/surface/secure_server_create.c: $(OPENSSL_DEP)
1516src/core/surface/server.c: $(OPENSSL_DEP)
1517src/core/surface/server_chttp2.c: $(OPENSSL_DEP)
1518src/core/surface/server_create.c: $(OPENSSL_DEP)
1519src/core/transport/chttp2/alpn.c: $(OPENSSL_DEP)
1520src/core/transport/chttp2/bin_encoder.c: $(OPENSSL_DEP)
1521src/core/transport/chttp2/frame_data.c: $(OPENSSL_DEP)
1522src/core/transport/chttp2/frame_goaway.c: $(OPENSSL_DEP)
1523src/core/transport/chttp2/frame_ping.c: $(OPENSSL_DEP)
1524src/core/transport/chttp2/frame_rst_stream.c: $(OPENSSL_DEP)
1525src/core/transport/chttp2/frame_settings.c: $(OPENSSL_DEP)
1526src/core/transport/chttp2/frame_window_update.c: $(OPENSSL_DEP)
1527src/core/transport/chttp2/hpack_parser.c: $(OPENSSL_DEP)
1528src/core/transport/chttp2/hpack_table.c: $(OPENSSL_DEP)
1529src/core/transport/chttp2/huffsyms.c: $(OPENSSL_DEP)
1530src/core/transport/chttp2/status_conversion.c: $(OPENSSL_DEP)
1531src/core/transport/chttp2/stream_encoder.c: $(OPENSSL_DEP)
1532src/core/transport/chttp2/stream_map.c: $(OPENSSL_DEP)
1533src/core/transport/chttp2/timeout_encoding.c: $(OPENSSL_DEP)
1534src/core/transport/chttp2/varint.c: $(OPENSSL_DEP)
1535src/core/transport/chttp2_transport.c: $(OPENSSL_DEP)
1536src/core/transport/metadata.c: $(OPENSSL_DEP)
1537src/core/transport/stream_op.c: $(OPENSSL_DEP)
1538src/core/transport/transport.c: $(OPENSSL_DEP)
1539third_party/cJSON/cJSON.c: $(OPENSSL_DEP)
1540endif
1541
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001542libs/$(CONFIG)/libgrpc.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001543 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001544 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001545 $(Q) rm -f libs/$(CONFIG)/libgrpc.a
ctillercab52e72015-01-06 13:10:23 -08001546 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS)
Craig Tillerd4773f52015-01-12 16:38:47 -08001547 $(Q) rm -rf tmp-merge
nnoble20e2e3f2014-12-16 15:37:57 -08001548 $(Q) mkdir tmp-merge
ctillercab52e72015-01-06 13:10:23 -08001549 $(Q) ( cd tmp-merge ; $(AR) x ../libs/$(CONFIG)/libgrpc.a )
nnoble20e2e3f2014-12-16 15:37:57 -08001550 $(Q) for l in $(OPENSSL_MERGE_LIBS) ; do ( cd tmp-merge ; ar x ../$${l} ) ; done
ctillercab52e72015-01-06 13:10:23 -08001551 $(Q) rm -f libs/$(CONFIG)/libgrpc.a tmp-merge/__.SYMDEF*
1552 $(Q) ar rcs libs/$(CONFIG)/libgrpc.a tmp-merge/*
nnoble20e2e3f2014-12-16 15:37:57 -08001553 $(Q) rm -rf tmp-merge
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001554ifeq ($(SYSTEM),Darwin)
1555 $(Q) ranlib libs/$(CONFIG)/libgrpc.a
1556endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001557
nnoble5b7f32a2014-12-22 08:12:44 -08001558
1559
1560ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001561libs/$(CONFIG)/grpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT) $(OPENSSL_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001562 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001563 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001564 $(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 -08001565else
Craig Tillera614caa2015-01-15 09:33:21 -08001566libs/$(CONFIG)/libgrpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(OPENSSL_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001567 $(E) "[LD] Linking $@"
1568 $(Q) mkdir -p `dirname $@`
1569ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001570 $(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 -08001571else
ctillercab52e72015-01-06 13:10:23 -08001572 $(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
1573 $(Q) ln -sf libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.so
nnoble5b7f32a2014-12-22 08:12:44 -08001574endif
1575endif
1576
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001577
nnoble69ac39f2014-12-12 15:43:38 -08001578endif
1579
nnoble69ac39f2014-12-12 15:43:38 -08001580ifneq ($(NO_SECURE),true)
1581ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001582-include $(LIBGRPC_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001583endif
nnoble69ac39f2014-12-12 15:43:38 -08001584endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001585
Craig Tiller27715ca2015-01-12 16:55:59 -08001586objs/$(CONFIG)/src/core/security/auth.o:
1587objs/$(CONFIG)/src/core/security/base64.o:
1588objs/$(CONFIG)/src/core/security/credentials.o:
Craig Tiller770f60a2015-01-12 17:44:43 -08001589objs/$(CONFIG)/src/core/security/factories.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001590objs/$(CONFIG)/src/core/security/google_root_certs.o:
1591objs/$(CONFIG)/src/core/security/json_token.o:
1592objs/$(CONFIG)/src/core/security/secure_endpoint.o:
1593objs/$(CONFIG)/src/core/security/secure_transport_setup.o:
1594objs/$(CONFIG)/src/core/security/security_context.o:
1595objs/$(CONFIG)/src/core/security/server_secure_chttp2.o:
1596objs/$(CONFIG)/src/core/tsi/fake_transport_security.o:
1597objs/$(CONFIG)/src/core/tsi/ssl_transport_security.o:
1598objs/$(CONFIG)/src/core/tsi/transport_security.o:
1599objs/$(CONFIG)/src/core/channel/call_op_string.o:
1600objs/$(CONFIG)/src/core/channel/census_filter.o:
1601objs/$(CONFIG)/src/core/channel/channel_args.o:
1602objs/$(CONFIG)/src/core/channel/channel_stack.o:
1603objs/$(CONFIG)/src/core/channel/child_channel.o:
1604objs/$(CONFIG)/src/core/channel/client_channel.o:
1605objs/$(CONFIG)/src/core/channel/client_setup.o:
1606objs/$(CONFIG)/src/core/channel/connected_channel.o:
1607objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1608objs/$(CONFIG)/src/core/channel/http_filter.o:
1609objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1610objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1611objs/$(CONFIG)/src/core/channel/noop_filter.o:
1612objs/$(CONFIG)/src/core/compression/algorithm.o:
1613objs/$(CONFIG)/src/core/compression/message_compress.o:
1614objs/$(CONFIG)/src/core/httpcli/format_request.o:
1615objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1616objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1617objs/$(CONFIG)/src/core/httpcli/parser.o:
1618objs/$(CONFIG)/src/core/iomgr/alarm.o:
1619objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1620objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1621objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1622objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1623objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1624objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
David Klempner7f3ed1e2015-01-16 15:35:56 -08001625objs/$(CONFIG)/src/core/iomgr/pollset_kick_posix.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001626objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1627objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1628objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1629objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1630objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1631objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1632objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1633objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1634objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1635objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1636objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1637objs/$(CONFIG)/src/core/statistics/census_init.o:
1638objs/$(CONFIG)/src/core/statistics/census_log.o:
1639objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1640objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1641objs/$(CONFIG)/src/core/statistics/hash_table.o:
1642objs/$(CONFIG)/src/core/statistics/window_stats.o:
1643objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1644objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1645objs/$(CONFIG)/src/core/surface/call.o:
1646objs/$(CONFIG)/src/core/surface/channel.o:
1647objs/$(CONFIG)/src/core/surface/channel_create.o:
1648objs/$(CONFIG)/src/core/surface/client.o:
1649objs/$(CONFIG)/src/core/surface/completion_queue.o:
1650objs/$(CONFIG)/src/core/surface/event_string.o:
1651objs/$(CONFIG)/src/core/surface/init.o:
1652objs/$(CONFIG)/src/core/surface/lame_client.o:
1653objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1654objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1655objs/$(CONFIG)/src/core/surface/server.o:
1656objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1657objs/$(CONFIG)/src/core/surface/server_create.o:
1658objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1659objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1660objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1661objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1662objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1663objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1664objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1665objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1666objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1667objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1668objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1669objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1670objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1671objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1672objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1673objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1674objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1675objs/$(CONFIG)/src/core/transport/metadata.o:
1676objs/$(CONFIG)/src/core/transport/stream_op.o:
1677objs/$(CONFIG)/src/core/transport/transport.o:
1678objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1679
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001680
Craig Tiller17ec5f92015-01-18 11:30:41 -08001681LIBGRPC_TEST_UTIL_SRC = \
1682 test/core/end2end/cq_verifier.c \
1683 test/core/end2end/data/prod_roots_certs.c \
1684 test/core/end2end/data/server1_cert.c \
1685 test/core/end2end/data/server1_key.c \
1686 test/core/end2end/data/test_root_cert.c \
1687 test/core/iomgr/endpoint_tests.c \
1688 test/core/statistics/census_log_tests.c \
1689 test/core/transport/transport_end2end_tests.c \
1690 test/core/util/grpc_profiler.c \
1691 test/core/util/parse_hexstring.c \
1692 test/core/util/port_posix.c \
1693 test/core/util/slice_splitter.c \
1694
1695
1696LIBGRPC_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_TEST_UTIL_SRC))))
1697
1698ifeq ($(NO_SECURE),true)
1699
1700# You can't build secure libraries if you don't have OpenSSL with ALPN.
1701
1702libs/$(CONFIG)/libgrpc_test_util.a: openssl_dep_error
1703
1704
1705else
1706
1707ifneq ($(OPENSSL_DEP),)
1708test/core/end2end/cq_verifier.c: $(OPENSSL_DEP)
1709test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
1710test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
1711test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
1712test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
1713test/core/iomgr/endpoint_tests.c: $(OPENSSL_DEP)
1714test/core/statistics/census_log_tests.c: $(OPENSSL_DEP)
1715test/core/transport/transport_end2end_tests.c: $(OPENSSL_DEP)
1716test/core/util/grpc_profiler.c: $(OPENSSL_DEP)
1717test/core/util/parse_hexstring.c: $(OPENSSL_DEP)
1718test/core/util/port_posix.c: $(OPENSSL_DEP)
1719test/core/util/slice_splitter.c: $(OPENSSL_DEP)
1720endif
1721
1722libs/$(CONFIG)/libgrpc_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_TEST_UTIL_OBJS)
1723 $(E) "[AR] Creating $@"
1724 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001725 $(Q) rm -f libs/$(CONFIG)/libgrpc_test_util.a
Craig Tiller17ec5f92015-01-18 11:30:41 -08001726 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_test_util.a $(LIBGRPC_TEST_UTIL_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001727ifeq ($(SYSTEM),Darwin)
1728 $(Q) ranlib libs/$(CONFIG)/libgrpc_test_util.a
1729endif
Craig Tiller17ec5f92015-01-18 11:30:41 -08001730
1731
1732
1733
1734
1735endif
1736
1737ifneq ($(NO_SECURE),true)
1738ifneq ($(NO_DEPS),true)
1739-include $(LIBGRPC_TEST_UTIL_OBJS:.o=.dep)
1740endif
1741endif
1742
1743objs/$(CONFIG)/test/core/end2end/cq_verifier.o:
1744objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
1745objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
1746objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
1747objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
1748objs/$(CONFIG)/test/core/iomgr/endpoint_tests.o:
1749objs/$(CONFIG)/test/core/statistics/census_log_tests.o:
1750objs/$(CONFIG)/test/core/transport/transport_end2end_tests.o:
1751objs/$(CONFIG)/test/core/util/grpc_profiler.o:
1752objs/$(CONFIG)/test/core/util/parse_hexstring.o:
1753objs/$(CONFIG)/test/core/util/port_posix.o:
1754objs/$(CONFIG)/test/core/util/slice_splitter.o:
1755
1756
nnoblec87b1c52015-01-05 17:15:18 -08001757LIBGRPC_UNSECURE_SRC = \
1758 src/core/channel/call_op_string.c \
1759 src/core/channel/census_filter.c \
1760 src/core/channel/channel_args.c \
1761 src/core/channel/channel_stack.c \
1762 src/core/channel/child_channel.c \
1763 src/core/channel/client_channel.c \
1764 src/core/channel/client_setup.c \
1765 src/core/channel/connected_channel.c \
1766 src/core/channel/http_client_filter.c \
1767 src/core/channel/http_filter.c \
1768 src/core/channel/http_server_filter.c \
1769 src/core/channel/metadata_buffer.c \
1770 src/core/channel/noop_filter.c \
1771 src/core/compression/algorithm.c \
1772 src/core/compression/message_compress.c \
1773 src/core/httpcli/format_request.c \
1774 src/core/httpcli/httpcli.c \
1775 src/core/httpcli/httpcli_security_context.c \
1776 src/core/httpcli/parser.c \
1777 src/core/iomgr/alarm.c \
1778 src/core/iomgr/alarm_heap.c \
1779 src/core/iomgr/endpoint.c \
1780 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001781 src/core/iomgr/fd_posix.c \
1782 src/core/iomgr/iomgr.c \
1783 src/core/iomgr/iomgr_posix.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08001784 src/core/iomgr/pollset_kick_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001785 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1786 src/core/iomgr/pollset_posix.c \
nnoblec87b1c52015-01-05 17:15:18 -08001787 src/core/iomgr/resolve_address_posix.c \
1788 src/core/iomgr/sockaddr_utils.c \
1789 src/core/iomgr/socket_utils_common_posix.c \
1790 src/core/iomgr/socket_utils_linux.c \
1791 src/core/iomgr/socket_utils_posix.c \
1792 src/core/iomgr/tcp_client_posix.c \
1793 src/core/iomgr/tcp_posix.c \
1794 src/core/iomgr/tcp_server_posix.c \
1795 src/core/iomgr/time_averaged_stats.c \
1796 src/core/statistics/census_init.c \
1797 src/core/statistics/census_log.c \
1798 src/core/statistics/census_rpc_stats.c \
1799 src/core/statistics/census_tracing.c \
1800 src/core/statistics/hash_table.c \
1801 src/core/statistics/window_stats.c \
1802 src/core/surface/byte_buffer.c \
1803 src/core/surface/byte_buffer_reader.c \
1804 src/core/surface/call.c \
1805 src/core/surface/channel.c \
1806 src/core/surface/channel_create.c \
1807 src/core/surface/client.c \
1808 src/core/surface/completion_queue.c \
1809 src/core/surface/event_string.c \
1810 src/core/surface/init.c \
1811 src/core/surface/lame_client.c \
1812 src/core/surface/secure_channel_create.c \
1813 src/core/surface/secure_server_create.c \
1814 src/core/surface/server.c \
1815 src/core/surface/server_chttp2.c \
1816 src/core/surface/server_create.c \
1817 src/core/transport/chttp2/alpn.c \
1818 src/core/transport/chttp2/bin_encoder.c \
1819 src/core/transport/chttp2/frame_data.c \
1820 src/core/transport/chttp2/frame_goaway.c \
1821 src/core/transport/chttp2/frame_ping.c \
1822 src/core/transport/chttp2/frame_rst_stream.c \
1823 src/core/transport/chttp2/frame_settings.c \
1824 src/core/transport/chttp2/frame_window_update.c \
1825 src/core/transport/chttp2/hpack_parser.c \
1826 src/core/transport/chttp2/hpack_table.c \
1827 src/core/transport/chttp2/huffsyms.c \
1828 src/core/transport/chttp2/status_conversion.c \
1829 src/core/transport/chttp2/stream_encoder.c \
1830 src/core/transport/chttp2/stream_map.c \
1831 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001832 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001833 src/core/transport/chttp2_transport.c \
nnoblec87b1c52015-01-05 17:15:18 -08001834 src/core/transport/metadata.c \
1835 src/core/transport/stream_op.c \
1836 src/core/transport/transport.c \
1837 third_party/cJSON/cJSON.c \
1838
1839PUBLIC_HEADERS_C += \
1840 include/grpc/byte_buffer.h \
1841 include/grpc/byte_buffer_reader.h \
1842 include/grpc/grpc.h \
1843 include/grpc/status.h \
1844
ctillercab52e72015-01-06 13:10:23 -08001845LIBGRPC_UNSECURE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_UNSECURE_SRC))))
nnoblec87b1c52015-01-05 17:15:18 -08001846
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001847libs/$(CONFIG)/libgrpc_unsecure.a: $(ZLIB_DEP) $(LIBGRPC_UNSECURE_OBJS)
nnoblec87b1c52015-01-05 17:15:18 -08001848 $(E) "[AR] Creating $@"
1849 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001850 $(Q) rm -f libs/$(CONFIG)/libgrpc_unsecure.a
ctillercab52e72015-01-06 13:10:23 -08001851 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_unsecure.a $(LIBGRPC_UNSECURE_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08001852ifeq ($(SYSTEM),Darwin)
1853 $(Q) ranlib libs/$(CONFIG)/libgrpc_unsecure.a
1854endif
nnoblec87b1c52015-01-05 17:15:18 -08001855
1856
1857
1858ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001859libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001860 $(E) "[LD] Linking $@"
1861 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001862 $(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 -08001863else
Craig Tillera614caa2015-01-15 09:33:21 -08001864libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001865 $(E) "[LD] Linking $@"
1866 $(Q) mkdir -p `dirname $@`
1867ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001868 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
nnoblec87b1c52015-01-05 17:15:18 -08001869else
ctillercab52e72015-01-06 13:10:23 -08001870 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.0 -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
1871 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.so
nnoblec87b1c52015-01-05 17:15:18 -08001872endif
1873endif
1874
1875
nnoblec87b1c52015-01-05 17:15:18 -08001876ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001877-include $(LIBGRPC_UNSECURE_OBJS:.o=.dep)
nnoblec87b1c52015-01-05 17:15:18 -08001878endif
1879
Craig Tiller27715ca2015-01-12 16:55:59 -08001880objs/$(CONFIG)/src/core/channel/call_op_string.o:
1881objs/$(CONFIG)/src/core/channel/census_filter.o:
1882objs/$(CONFIG)/src/core/channel/channel_args.o:
1883objs/$(CONFIG)/src/core/channel/channel_stack.o:
1884objs/$(CONFIG)/src/core/channel/child_channel.o:
1885objs/$(CONFIG)/src/core/channel/client_channel.o:
1886objs/$(CONFIG)/src/core/channel/client_setup.o:
1887objs/$(CONFIG)/src/core/channel/connected_channel.o:
1888objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1889objs/$(CONFIG)/src/core/channel/http_filter.o:
1890objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1891objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1892objs/$(CONFIG)/src/core/channel/noop_filter.o:
1893objs/$(CONFIG)/src/core/compression/algorithm.o:
1894objs/$(CONFIG)/src/core/compression/message_compress.o:
1895objs/$(CONFIG)/src/core/httpcli/format_request.o:
1896objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1897objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1898objs/$(CONFIG)/src/core/httpcli/parser.o:
1899objs/$(CONFIG)/src/core/iomgr/alarm.o:
1900objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1901objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1902objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1903objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1904objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1905objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
David Klempner7f3ed1e2015-01-16 15:35:56 -08001906objs/$(CONFIG)/src/core/iomgr/pollset_kick_posix.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001907objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1908objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1909objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1910objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1911objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1912objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1913objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1914objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1915objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1916objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1917objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1918objs/$(CONFIG)/src/core/statistics/census_init.o:
1919objs/$(CONFIG)/src/core/statistics/census_log.o:
1920objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1921objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1922objs/$(CONFIG)/src/core/statistics/hash_table.o:
1923objs/$(CONFIG)/src/core/statistics/window_stats.o:
1924objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1925objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1926objs/$(CONFIG)/src/core/surface/call.o:
1927objs/$(CONFIG)/src/core/surface/channel.o:
1928objs/$(CONFIG)/src/core/surface/channel_create.o:
1929objs/$(CONFIG)/src/core/surface/client.o:
1930objs/$(CONFIG)/src/core/surface/completion_queue.o:
1931objs/$(CONFIG)/src/core/surface/event_string.o:
1932objs/$(CONFIG)/src/core/surface/init.o:
1933objs/$(CONFIG)/src/core/surface/lame_client.o:
1934objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1935objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1936objs/$(CONFIG)/src/core/surface/server.o:
1937objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1938objs/$(CONFIG)/src/core/surface/server_create.o:
1939objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1940objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1941objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1942objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1943objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1944objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1945objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1946objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1947objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1948objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1949objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1950objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1951objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1952objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1953objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1954objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1955objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1956objs/$(CONFIG)/src/core/transport/metadata.o:
1957objs/$(CONFIG)/src/core/transport/stream_op.o:
1958objs/$(CONFIG)/src/core/transport/transport.o:
1959objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1960
nnoblec87b1c52015-01-05 17:15:18 -08001961
Craig Tiller996d9df2015-01-19 21:06:50 -08001962LIBGRPC++_SRC = \
1963 src/cpp/client/channel.cc \
1964 src/cpp/client/channel_arguments.cc \
1965 src/cpp/client/client_context.cc \
1966 src/cpp/client/create_channel.cc \
1967 src/cpp/client/credentials.cc \
1968 src/cpp/client/internal_stub.cc \
1969 src/cpp/common/rpc_method.cc \
1970 src/cpp/proto/proto_utils.cc \
1971 src/cpp/server/async_server.cc \
1972 src/cpp/server/async_server_context.cc \
1973 src/cpp/server/completion_queue.cc \
1974 src/cpp/server/server.cc \
1975 src/cpp/server/server_builder.cc \
1976 src/cpp/server/server_context_impl.cc \
1977 src/cpp/server/server_credentials.cc \
1978 src/cpp/server/server_rpc_handler.cc \
1979 src/cpp/server/thread_pool.cc \
1980 src/cpp/stream/stream_context.cc \
1981 src/cpp/util/status.cc \
1982 src/cpp/util/time.cc \
1983
1984PUBLIC_HEADERS_CXX += \
1985 include/grpc++/async_server.h \
1986 include/grpc++/async_server_context.h \
1987 include/grpc++/channel_arguments.h \
1988 include/grpc++/channel_interface.h \
1989 include/grpc++/client_context.h \
1990 include/grpc++/completion_queue.h \
1991 include/grpc++/config.h \
1992 include/grpc++/create_channel.h \
1993 include/grpc++/credentials.h \
1994 include/grpc++/impl/internal_stub.h \
1995 include/grpc++/impl/rpc_method.h \
1996 include/grpc++/impl/rpc_service_method.h \
1997 include/grpc++/server.h \
1998 include/grpc++/server_builder.h \
1999 include/grpc++/server_context.h \
2000 include/grpc++/server_credentials.h \
2001 include/grpc++/status.h \
2002 include/grpc++/stream.h \
2003 include/grpc++/stream_context_interface.h \
2004
2005LIBGRPC++_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_SRC))))
2006
2007ifeq ($(NO_SECURE),true)
2008
2009# You can't build secure libraries if you don't have OpenSSL with ALPN.
2010
2011libs/$(CONFIG)/libgrpc++.a: openssl_dep_error
2012
2013ifeq ($(SYSTEM),MINGW32)
2014libs/$(CONFIG)/grpc++.$(SHARED_EXT): openssl_dep_error
2015else
2016libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): openssl_dep_error
2017endif
2018
2019else
2020
2021ifneq ($(OPENSSL_DEP),)
2022src/cpp/client/channel.cc: $(OPENSSL_DEP)
2023src/cpp/client/channel_arguments.cc: $(OPENSSL_DEP)
2024src/cpp/client/client_context.cc: $(OPENSSL_DEP)
2025src/cpp/client/create_channel.cc: $(OPENSSL_DEP)
2026src/cpp/client/credentials.cc: $(OPENSSL_DEP)
2027src/cpp/client/internal_stub.cc: $(OPENSSL_DEP)
2028src/cpp/common/rpc_method.cc: $(OPENSSL_DEP)
2029src/cpp/proto/proto_utils.cc: $(OPENSSL_DEP)
2030src/cpp/server/async_server.cc: $(OPENSSL_DEP)
2031src/cpp/server/async_server_context.cc: $(OPENSSL_DEP)
2032src/cpp/server/completion_queue.cc: $(OPENSSL_DEP)
2033src/cpp/server/server.cc: $(OPENSSL_DEP)
2034src/cpp/server/server_builder.cc: $(OPENSSL_DEP)
2035src/cpp/server/server_context_impl.cc: $(OPENSSL_DEP)
2036src/cpp/server/server_credentials.cc: $(OPENSSL_DEP)
2037src/cpp/server/server_rpc_handler.cc: $(OPENSSL_DEP)
2038src/cpp/server/thread_pool.cc: $(OPENSSL_DEP)
2039src/cpp/stream/stream_context.cc: $(OPENSSL_DEP)
2040src/cpp/util/status.cc: $(OPENSSL_DEP)
2041src/cpp/util/time.cc: $(OPENSSL_DEP)
2042endif
2043
2044libs/$(CONFIG)/libgrpc++.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_OBJS)
2045 $(E) "[AR] Creating $@"
2046 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002047 $(Q) rm -f libs/$(CONFIG)/libgrpc++.a
Craig Tiller996d9df2015-01-19 21:06:50 -08002048 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++.a $(LIBGRPC++_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002049ifeq ($(SYSTEM),Darwin)
2050 $(Q) ranlib libs/$(CONFIG)/libgrpc++.a
2051endif
Craig Tiller996d9df2015-01-19 21:06:50 -08002052
2053
2054
2055ifeq ($(SYSTEM),MINGW32)
2056libs/$(CONFIG)/grpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/grpc.$(SHARED_EXT) $(OPENSSL_DEP)
2057 $(E) "[LD] Linking $@"
2058 $(Q) mkdir -p `dirname $@`
2059 $(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
2060else
2061libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(OPENSSL_DEP)
2062 $(E) "[LD] Linking $@"
2063 $(Q) mkdir -p `dirname $@`
2064ifeq ($(SYSTEM),Darwin)
2065 $(Q) $(LDXX) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgrpc
2066else
2067 $(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
2068 $(Q) ln -sf libgrpc++.$(SHARED_EXT) libs/$(CONFIG)/libgrpc++.so
2069endif
2070endif
2071
2072
2073endif
2074
2075ifneq ($(NO_SECURE),true)
2076ifneq ($(NO_DEPS),true)
2077-include $(LIBGRPC++_OBJS:.o=.dep)
2078endif
2079endif
2080
2081objs/$(CONFIG)/src/cpp/client/channel.o:
2082objs/$(CONFIG)/src/cpp/client/channel_arguments.o:
2083objs/$(CONFIG)/src/cpp/client/client_context.o:
2084objs/$(CONFIG)/src/cpp/client/create_channel.o:
2085objs/$(CONFIG)/src/cpp/client/credentials.o:
2086objs/$(CONFIG)/src/cpp/client/internal_stub.o:
2087objs/$(CONFIG)/src/cpp/common/rpc_method.o:
2088objs/$(CONFIG)/src/cpp/proto/proto_utils.o:
2089objs/$(CONFIG)/src/cpp/server/async_server.o:
2090objs/$(CONFIG)/src/cpp/server/async_server_context.o:
2091objs/$(CONFIG)/src/cpp/server/completion_queue.o:
2092objs/$(CONFIG)/src/cpp/server/server.o:
2093objs/$(CONFIG)/src/cpp/server/server_builder.o:
2094objs/$(CONFIG)/src/cpp/server/server_context_impl.o:
2095objs/$(CONFIG)/src/cpp/server/server_credentials.o:
2096objs/$(CONFIG)/src/cpp/server/server_rpc_handler.o:
2097objs/$(CONFIG)/src/cpp/server/thread_pool.o:
2098objs/$(CONFIG)/src/cpp/stream/stream_context.o:
2099objs/$(CONFIG)/src/cpp/util/status.o:
2100objs/$(CONFIG)/src/cpp/util/time.o:
2101
2102
2103LIBGRPC++_TEST_UTIL_SRC = \
2104 gens/test/cpp/util/echo.pb.cc \
2105 gens/test/cpp/util/echo_duplicate.pb.cc \
2106 gens/test/cpp/util/messages.pb.cc \
2107 test/cpp/end2end/async_test_server.cc \
2108 test/cpp/util/create_test_channel.cc \
2109
2110
2111LIBGRPC++_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_UTIL_SRC))))
2112
2113ifeq ($(NO_SECURE),true)
2114
2115# You can't build secure libraries if you don't have OpenSSL with ALPN.
2116
2117libs/$(CONFIG)/libgrpc++_test_util.a: openssl_dep_error
2118
2119
2120else
2121
2122ifneq ($(OPENSSL_DEP),)
2123test/cpp/util/echo.proto: $(OPENSSL_DEP)
2124test/cpp/util/echo_duplicate.proto: $(OPENSSL_DEP)
2125test/cpp/util/messages.proto: $(OPENSSL_DEP)
2126test/cpp/end2end/async_test_server.cc: $(OPENSSL_DEP)
2127test/cpp/util/create_test_channel.cc: $(OPENSSL_DEP)
2128endif
2129
2130libs/$(CONFIG)/libgrpc++_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_TEST_UTIL_OBJS)
2131 $(E) "[AR] Creating $@"
2132 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002133 $(Q) rm -f libs/$(CONFIG)/libgrpc++_test_util.a
Craig Tiller996d9df2015-01-19 21:06:50 -08002134 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++_test_util.a $(LIBGRPC++_TEST_UTIL_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002135ifeq ($(SYSTEM),Darwin)
2136 $(Q) ranlib libs/$(CONFIG)/libgrpc++_test_util.a
2137endif
Craig Tiller996d9df2015-01-19 21:06:50 -08002138
2139
2140
2141
2142
2143endif
2144
2145ifneq ($(NO_SECURE),true)
2146ifneq ($(NO_DEPS),true)
2147-include $(LIBGRPC++_TEST_UTIL_OBJS:.o=.dep)
2148endif
2149endif
2150
2151
2152
2153
2154objs/$(CONFIG)/test/cpp/end2end/async_test_server.o: gens/test/cpp/util/echo.pb.cc gens/test/cpp/util/echo_duplicate.pb.cc gens/test/cpp/util/messages.pb.cc
2155objs/$(CONFIG)/test/cpp/util/create_test_channel.o: gens/test/cpp/util/echo.pb.cc gens/test/cpp/util/echo_duplicate.pb.cc gens/test/cpp/util/messages.pb.cc
2156
2157
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002158LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC = \
2159 test/core/end2end/fixtures/chttp2_fake_security.c \
2160
2161
ctillercab52e72015-01-06 13:10:23 -08002162LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002163
nnoble69ac39f2014-12-12 15:43:38 -08002164ifeq ($(NO_SECURE),true)
2165
Nicolas Noble047b7272015-01-16 13:55:05 -08002166# You can't build secure libraries if you don't have OpenSSL with ALPN.
2167
ctillercab52e72015-01-06 13:10:23 -08002168libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002169
nnoble5b7f32a2014-12-22 08:12:44 -08002170
nnoble69ac39f2014-12-12 15:43:38 -08002171else
2172
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002173ifneq ($(OPENSSL_DEP),)
2174test/core/end2end/fixtures/chttp2_fake_security.c: $(OPENSSL_DEP)
2175endif
2176
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002177libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002178 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002179 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002180 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a
ctillercab52e72015-01-06 13:10:23 -08002181 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002182ifeq ($(SYSTEM),Darwin)
2183 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a
2184endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002185
2186
2187
nnoble5b7f32a2014-12-22 08:12:44 -08002188
2189
nnoble69ac39f2014-12-12 15:43:38 -08002190endif
2191
nnoble69ac39f2014-12-12 15:43:38 -08002192ifneq ($(NO_SECURE),true)
2193ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002194-include $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002195endif
nnoble69ac39f2014-12-12 15:43:38 -08002196endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002197
Craig Tiller27715ca2015-01-12 16:55:59 -08002198objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fake_security.o:
2199
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002200
2201LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC = \
2202 test/core/end2end/fixtures/chttp2_fullstack.c \
2203
2204
ctillercab52e72015-01-06 13:10:23 -08002205LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002206
nnoble69ac39f2014-12-12 15:43:38 -08002207ifeq ($(NO_SECURE),true)
2208
Nicolas Noble047b7272015-01-16 13:55:05 -08002209# You can't build secure libraries if you don't have OpenSSL with ALPN.
2210
ctillercab52e72015-01-06 13:10:23 -08002211libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002212
nnoble5b7f32a2014-12-22 08:12:44 -08002213
nnoble69ac39f2014-12-12 15:43:38 -08002214else
2215
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002216ifneq ($(OPENSSL_DEP),)
2217test/core/end2end/fixtures/chttp2_fullstack.c: $(OPENSSL_DEP)
2218endif
2219
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002220libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002221 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002222 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002223 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a
ctillercab52e72015-01-06 13:10:23 -08002224 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002225ifeq ($(SYSTEM),Darwin)
2226 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a
2227endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002228
2229
2230
nnoble5b7f32a2014-12-22 08:12:44 -08002231
2232
nnoble69ac39f2014-12-12 15:43:38 -08002233endif
2234
nnoble69ac39f2014-12-12 15:43:38 -08002235ifneq ($(NO_SECURE),true)
2236ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002237-include $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002238endif
nnoble69ac39f2014-12-12 15:43:38 -08002239endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002240
Craig Tiller27715ca2015-01-12 16:55:59 -08002241objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fullstack.o:
2242
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002243
2244LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_SRC = \
2245 test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c \
2246
2247
ctillercab52e72015-01-06 13:10:23 -08002248LIBEND2END_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 -08002249
nnoble69ac39f2014-12-12 15:43:38 -08002250ifeq ($(NO_SECURE),true)
2251
Nicolas Noble047b7272015-01-16 13:55:05 -08002252# You can't build secure libraries if you don't have OpenSSL with ALPN.
2253
ctillercab52e72015-01-06 13:10:23 -08002254libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002255
nnoble5b7f32a2014-12-22 08:12:44 -08002256
nnoble69ac39f2014-12-12 15:43:38 -08002257else
2258
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002259ifneq ($(OPENSSL_DEP),)
2260test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c: $(OPENSSL_DEP)
2261endif
2262
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002263libs/$(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 -08002264 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002265 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002266 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a
ctillercab52e72015-01-06 13:10:23 -08002267 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002268ifeq ($(SYSTEM),Darwin)
2269 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a
2270endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002271
2272
2273
nnoble5b7f32a2014-12-22 08:12:44 -08002274
2275
nnoble69ac39f2014-12-12 15:43:38 -08002276endif
2277
nnoble69ac39f2014-12-12 15:43:38 -08002278ifneq ($(NO_SECURE),true)
2279ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002280-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002281endif
nnoble69ac39f2014-12-12 15:43:38 -08002282endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002283
Craig Tiller27715ca2015-01-12 16:55:59 -08002284objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.o:
2285
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002286
2287LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SRC = \
2288 test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c \
2289
2290
ctillercab52e72015-01-06 13:10:23 -08002291LIBEND2END_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 -08002292
nnoble69ac39f2014-12-12 15:43:38 -08002293ifeq ($(NO_SECURE),true)
2294
Nicolas Noble047b7272015-01-16 13:55:05 -08002295# You can't build secure libraries if you don't have OpenSSL with ALPN.
2296
ctillercab52e72015-01-06 13:10:23 -08002297libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002298
nnoble5b7f32a2014-12-22 08:12:44 -08002299
nnoble69ac39f2014-12-12 15:43:38 -08002300else
2301
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002302ifneq ($(OPENSSL_DEP),)
2303test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c: $(OPENSSL_DEP)
2304endif
2305
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002306libs/$(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 -08002307 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002308 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002309 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a
ctillercab52e72015-01-06 13:10:23 -08002310 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002311ifeq ($(SYSTEM),Darwin)
2312 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a
2313endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002314
2315
2316
nnoble5b7f32a2014-12-22 08:12:44 -08002317
2318
nnoble69ac39f2014-12-12 15:43:38 -08002319endif
2320
nnoble69ac39f2014-12-12 15:43:38 -08002321ifneq ($(NO_SECURE),true)
2322ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002323-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002324endif
nnoble69ac39f2014-12-12 15:43:38 -08002325endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002326
Craig Tiller27715ca2015-01-12 16:55:59 -08002327objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.o:
2328
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002329
2330LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC = \
2331 test/core/end2end/fixtures/chttp2_socket_pair.c \
2332
2333
ctillercab52e72015-01-06 13:10:23 -08002334LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002335
nnoble69ac39f2014-12-12 15:43:38 -08002336ifeq ($(NO_SECURE),true)
2337
Nicolas Noble047b7272015-01-16 13:55:05 -08002338# You can't build secure libraries if you don't have OpenSSL with ALPN.
2339
ctillercab52e72015-01-06 13:10:23 -08002340libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002341
nnoble5b7f32a2014-12-22 08:12:44 -08002342
nnoble69ac39f2014-12-12 15:43:38 -08002343else
2344
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002345ifneq ($(OPENSSL_DEP),)
2346test/core/end2end/fixtures/chttp2_socket_pair.c: $(OPENSSL_DEP)
2347endif
2348
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002349libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002350 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002351 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002352 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a
ctillercab52e72015-01-06 13:10:23 -08002353 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002354ifeq ($(SYSTEM),Darwin)
2355 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a
2356endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002357
2358
2359
nnoble5b7f32a2014-12-22 08:12:44 -08002360
2361
nnoble69ac39f2014-12-12 15:43:38 -08002362endif
2363
nnoble69ac39f2014-12-12 15:43:38 -08002364ifneq ($(NO_SECURE),true)
2365ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002366-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002367endif
nnoble69ac39f2014-12-12 15:43:38 -08002368endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002369
Craig Tiller27715ca2015-01-12 16:55:59 -08002370objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair.o:
2371
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002372
nnoble0c475f02014-12-05 15:37:39 -08002373LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SRC = \
2374 test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c \
2375
2376
ctillercab52e72015-01-06 13:10:23 -08002377LIBEND2END_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 -08002378
nnoble69ac39f2014-12-12 15:43:38 -08002379ifeq ($(NO_SECURE),true)
2380
Nicolas Noble047b7272015-01-16 13:55:05 -08002381# You can't build secure libraries if you don't have OpenSSL with ALPN.
2382
ctillercab52e72015-01-06 13:10:23 -08002383libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002384
nnoble5b7f32a2014-12-22 08:12:44 -08002385
nnoble69ac39f2014-12-12 15:43:38 -08002386else
2387
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002388ifneq ($(OPENSSL_DEP),)
2389test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c: $(OPENSSL_DEP)
2390endif
2391
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002392libs/$(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 -08002393 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002394 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002395 $(Q) rm -f libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a
ctillercab52e72015-01-06 13:10:23 -08002396 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002397ifeq ($(SYSTEM),Darwin)
2398 $(Q) ranlib libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a
2399endif
nnoble0c475f02014-12-05 15:37:39 -08002400
2401
2402
nnoble5b7f32a2014-12-22 08:12:44 -08002403
2404
nnoble69ac39f2014-12-12 15:43:38 -08002405endif
2406
nnoble69ac39f2014-12-12 15:43:38 -08002407ifneq ($(NO_SECURE),true)
2408ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002409-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08002410endif
nnoble69ac39f2014-12-12 15:43:38 -08002411endif
nnoble0c475f02014-12-05 15:37:39 -08002412
Craig Tiller27715ca2015-01-12 16:55:59 -08002413objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.o:
2414
nnoble0c475f02014-12-05 15:37:39 -08002415
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002416LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC = \
2417 test/core/end2end/tests/cancel_after_accept.c \
2418
2419
ctillercab52e72015-01-06 13:10:23 -08002420LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002421
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002422libs/$(CONFIG)/libend2end_test_cancel_after_accept.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002423 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002424 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002425 $(Q) rm -f libs/$(CONFIG)/libend2end_test_cancel_after_accept.a
ctillercab52e72015-01-06 13:10:23 -08002426 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_accept.a $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002427ifeq ($(SYSTEM),Darwin)
2428 $(Q) ranlib libs/$(CONFIG)/libend2end_test_cancel_after_accept.a
2429endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002430
2431
2432
nnoble5b7f32a2014-12-22 08:12:44 -08002433
2434
nnoble69ac39f2014-12-12 15:43:38 -08002435ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002436-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002437endif
2438
Craig Tiller27715ca2015-01-12 16:55:59 -08002439objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept.o:
2440
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002441
2442LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_SRC = \
2443 test/core/end2end/tests/cancel_after_accept_and_writes_closed.c \
2444
2445
ctillercab52e72015-01-06 13:10:23 -08002446LIBEND2END_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 -08002447
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002448libs/$(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 -08002449 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002450 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002451 $(Q) rm -f libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a
ctillercab52e72015-01-06 13:10:23 -08002452 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002453ifeq ($(SYSTEM),Darwin)
2454 $(Q) ranlib libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a
2455endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002456
2457
2458
nnoble5b7f32a2014-12-22 08:12:44 -08002459
2460
nnoble69ac39f2014-12-12 15:43:38 -08002461ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002462-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002463endif
2464
Craig Tiller27715ca2015-01-12 16:55:59 -08002465objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept_and_writes_closed.o:
2466
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002467
2468LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC = \
2469 test/core/end2end/tests/cancel_after_invoke.c \
2470
2471
ctillercab52e72015-01-06 13:10:23 -08002472LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002473
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002474libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002475 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002476 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002477 $(Q) rm -f libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a
ctillercab52e72015-01-06 13:10:23 -08002478 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002479ifeq ($(SYSTEM),Darwin)
2480 $(Q) ranlib libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a
2481endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002482
2483
2484
nnoble5b7f32a2014-12-22 08:12:44 -08002485
2486
nnoble69ac39f2014-12-12 15:43:38 -08002487ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002488-include $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002489endif
2490
Craig Tiller27715ca2015-01-12 16:55:59 -08002491objs/$(CONFIG)/test/core/end2end/tests/cancel_after_invoke.o:
2492
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002493
2494LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC = \
2495 test/core/end2end/tests/cancel_before_invoke.c \
2496
2497
ctillercab52e72015-01-06 13:10:23 -08002498LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002499
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002500libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002501 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002502 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002503 $(Q) rm -f libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a
ctillercab52e72015-01-06 13:10:23 -08002504 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002505ifeq ($(SYSTEM),Darwin)
2506 $(Q) ranlib libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a
2507endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002508
2509
2510
nnoble5b7f32a2014-12-22 08:12:44 -08002511
2512
nnoble69ac39f2014-12-12 15:43:38 -08002513ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002514-include $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002515endif
2516
Craig Tiller27715ca2015-01-12 16:55:59 -08002517objs/$(CONFIG)/test/core/end2end/tests/cancel_before_invoke.o:
2518
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002519
2520LIBEND2END_TEST_CANCEL_IN_A_VACUUM_SRC = \
2521 test/core/end2end/tests/cancel_in_a_vacuum.c \
2522
2523
ctillercab52e72015-01-06 13:10:23 -08002524LIBEND2END_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 -08002525
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002526libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002527 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002528 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002529 $(Q) rm -f libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a
ctillercab52e72015-01-06 13:10:23 -08002530 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002531ifeq ($(SYSTEM),Darwin)
2532 $(Q) ranlib libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a
2533endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002534
2535
2536
nnoble5b7f32a2014-12-22 08:12:44 -08002537
2538
nnoble69ac39f2014-12-12 15:43:38 -08002539ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002540-include $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002541endif
2542
Craig Tiller27715ca2015-01-12 16:55:59 -08002543objs/$(CONFIG)/test/core/end2end/tests/cancel_in_a_vacuum.o:
2544
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002545
hongyu24200d32015-01-08 15:13:49 -08002546LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC = \
2547 test/core/end2end/tests/census_simple_request.c \
2548
2549
2550LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08002551
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002552libs/$(CONFIG)/libend2end_test_census_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
hongyu24200d32015-01-08 15:13:49 -08002553 $(E) "[AR] Creating $@"
2554 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002555 $(Q) rm -f libs/$(CONFIG)/libend2end_test_census_simple_request.a
hongyu24200d32015-01-08 15:13:49 -08002556 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_census_simple_request.a $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002557ifeq ($(SYSTEM),Darwin)
2558 $(Q) ranlib libs/$(CONFIG)/libend2end_test_census_simple_request.a
2559endif
hongyu24200d32015-01-08 15:13:49 -08002560
2561
2562
2563
2564
hongyu24200d32015-01-08 15:13:49 -08002565ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002566-include $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08002567endif
2568
Craig Tiller27715ca2015-01-12 16:55:59 -08002569objs/$(CONFIG)/test/core/end2end/tests/census_simple_request.o:
2570
hongyu24200d32015-01-08 15:13:49 -08002571
ctillerc6d61c42014-12-15 14:52:08 -08002572LIBEND2END_TEST_DISAPPEARING_SERVER_SRC = \
2573 test/core/end2end/tests/disappearing_server.c \
2574
2575
ctillercab52e72015-01-06 13:10:23 -08002576LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_DISAPPEARING_SERVER_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08002577
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002578libs/$(CONFIG)/libend2end_test_disappearing_server.a: $(ZLIB_DEP) $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
ctillerc6d61c42014-12-15 14:52:08 -08002579 $(E) "[AR] Creating $@"
2580 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002581 $(Q) rm -f libs/$(CONFIG)/libend2end_test_disappearing_server.a
ctillercab52e72015-01-06 13:10:23 -08002582 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_disappearing_server.a $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002583ifeq ($(SYSTEM),Darwin)
2584 $(Q) ranlib libs/$(CONFIG)/libend2end_test_disappearing_server.a
2585endif
ctillerc6d61c42014-12-15 14:52:08 -08002586
2587
2588
nnoble5b7f32a2014-12-22 08:12:44 -08002589
2590
ctillerc6d61c42014-12-15 14:52:08 -08002591ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002592-include $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08002593endif
2594
Craig Tiller27715ca2015-01-12 16:55:59 -08002595objs/$(CONFIG)/test/core/end2end/tests/disappearing_server.o:
2596
ctillerc6d61c42014-12-15 14:52:08 -08002597
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002598LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_SRC = \
2599 test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c \
2600
2601
ctillercab52e72015-01-06 13:10:23 -08002602LIBEND2END_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 -08002603
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002604libs/$(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 -08002605 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002606 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002607 $(Q) rm -f libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a
ctillercab52e72015-01-06 13:10:23 -08002608 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002609ifeq ($(SYSTEM),Darwin)
2610 $(Q) ranlib libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a
2611endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002612
2613
2614
nnoble5b7f32a2014-12-22 08:12:44 -08002615
2616
nnoble69ac39f2014-12-12 15:43:38 -08002617ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002618-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002619endif
2620
Craig Tiller27715ca2015-01-12 16:55:59 -08002621objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.o:
2622
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002623
2624LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_SRC = \
2625 test/core/end2end/tests/early_server_shutdown_finishes_tags.c \
2626
2627
ctillercab52e72015-01-06 13:10:23 -08002628LIBEND2END_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 -08002629
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002630libs/$(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 -08002631 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002632 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002633 $(Q) rm -f libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a
ctillercab52e72015-01-06 13:10:23 -08002634 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002635ifeq ($(SYSTEM),Darwin)
2636 $(Q) ranlib libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a
2637endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002638
2639
2640
nnoble5b7f32a2014-12-22 08:12:44 -08002641
2642
nnoble69ac39f2014-12-12 15:43:38 -08002643ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002644-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002645endif
2646
Craig Tiller27715ca2015-01-12 16:55:59 -08002647objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_tags.o:
2648
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002649
Craig Tiller4ffdcd52015-01-16 11:34:55 -08002650LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_SRC = \
2651 test/core/end2end/tests/graceful_server_shutdown.c \
2652
2653
2654LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_SRC))))
2655
2656libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a: $(ZLIB_DEP) $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS)
2657 $(E) "[AR] Creating $@"
2658 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002659 $(Q) rm -f libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a
Craig Tiller4ffdcd52015-01-16 11:34:55 -08002660 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002661ifeq ($(SYSTEM),Darwin)
2662 $(Q) ranlib libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a
2663endif
Craig Tiller4ffdcd52015-01-16 11:34:55 -08002664
2665
2666
2667
2668
2669ifneq ($(NO_DEPS),true)
2670-include $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS:.o=.dep)
2671endif
2672
2673objs/$(CONFIG)/test/core/end2end/tests/graceful_server_shutdown.o:
2674
2675
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002676LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC = \
2677 test/core/end2end/tests/invoke_large_request.c \
2678
2679
ctillercab52e72015-01-06 13:10:23 -08002680LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002681
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002682libs/$(CONFIG)/libend2end_test_invoke_large_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002683 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002684 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002685 $(Q) rm -f libs/$(CONFIG)/libend2end_test_invoke_large_request.a
ctillercab52e72015-01-06 13:10:23 -08002686 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_invoke_large_request.a $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002687ifeq ($(SYSTEM),Darwin)
2688 $(Q) ranlib libs/$(CONFIG)/libend2end_test_invoke_large_request.a
2689endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002690
2691
2692
nnoble5b7f32a2014-12-22 08:12:44 -08002693
2694
nnoble69ac39f2014-12-12 15:43:38 -08002695ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002696-include $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002697endif
2698
Craig Tiller27715ca2015-01-12 16:55:59 -08002699objs/$(CONFIG)/test/core/end2end/tests/invoke_large_request.o:
2700
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002701
2702LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC = \
2703 test/core/end2end/tests/max_concurrent_streams.c \
2704
2705
ctillercab52e72015-01-06 13:10:23 -08002706LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002707
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002708libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a: $(ZLIB_DEP) $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002709 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002710 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002711 $(Q) rm -f libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a
ctillercab52e72015-01-06 13:10:23 -08002712 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002713ifeq ($(SYSTEM),Darwin)
2714 $(Q) ranlib libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a
2715endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002716
2717
2718
nnoble5b7f32a2014-12-22 08:12:44 -08002719
2720
nnoble69ac39f2014-12-12 15:43:38 -08002721ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002722-include $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002723endif
2724
Craig Tiller27715ca2015-01-12 16:55:59 -08002725objs/$(CONFIG)/test/core/end2end/tests/max_concurrent_streams.o:
2726
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002727
2728LIBEND2END_TEST_NO_OP_SRC = \
2729 test/core/end2end/tests/no_op.c \
2730
2731
ctillercab52e72015-01-06 13:10:23 -08002732LIBEND2END_TEST_NO_OP_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_NO_OP_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002733
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002734libs/$(CONFIG)/libend2end_test_no_op.a: $(ZLIB_DEP) $(LIBEND2END_TEST_NO_OP_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002735 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002736 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002737 $(Q) rm -f libs/$(CONFIG)/libend2end_test_no_op.a
ctillercab52e72015-01-06 13:10:23 -08002738 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_no_op.a $(LIBEND2END_TEST_NO_OP_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002739ifeq ($(SYSTEM),Darwin)
2740 $(Q) ranlib libs/$(CONFIG)/libend2end_test_no_op.a
2741endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002742
2743
2744
nnoble5b7f32a2014-12-22 08:12:44 -08002745
2746
nnoble69ac39f2014-12-12 15:43:38 -08002747ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002748-include $(LIBEND2END_TEST_NO_OP_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002749endif
2750
Craig Tiller27715ca2015-01-12 16:55:59 -08002751objs/$(CONFIG)/test/core/end2end/tests/no_op.o:
2752
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002753
2754LIBEND2END_TEST_PING_PONG_STREAMING_SRC = \
2755 test/core/end2end/tests/ping_pong_streaming.c \
2756
2757
ctillercab52e72015-01-06 13:10:23 -08002758LIBEND2END_TEST_PING_PONG_STREAMING_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_PING_PONG_STREAMING_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002759
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002760libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a: $(ZLIB_DEP) $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002761 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002762 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002763 $(Q) rm -f libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a
ctillercab52e72015-01-06 13:10:23 -08002764 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002765ifeq ($(SYSTEM),Darwin)
2766 $(Q) ranlib libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a
2767endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002768
2769
2770
nnoble5b7f32a2014-12-22 08:12:44 -08002771
2772
nnoble69ac39f2014-12-12 15:43:38 -08002773ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002774-include $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002775endif
2776
Craig Tiller27715ca2015-01-12 16:55:59 -08002777objs/$(CONFIG)/test/core/end2end/tests/ping_pong_streaming.o:
2778
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002779
ctiller33023c42014-12-12 16:28:33 -08002780LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_SRC = \
2781 test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c \
2782
2783
ctillercab52e72015-01-06 13:10:23 -08002784LIBEND2END_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 -08002785
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002786libs/$(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 -08002787 $(E) "[AR] Creating $@"
2788 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002789 $(Q) rm -f libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a
ctillercab52e72015-01-06 13:10:23 -08002790 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002791ifeq ($(SYSTEM),Darwin)
2792 $(Q) ranlib libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a
2793endif
ctiller33023c42014-12-12 16:28:33 -08002794
2795
2796
nnoble5b7f32a2014-12-22 08:12:44 -08002797
2798
ctiller33023c42014-12-12 16:28:33 -08002799ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002800-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08002801endif
2802
Craig Tiller27715ca2015-01-12 16:55:59 -08002803objs/$(CONFIG)/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.o:
2804
ctiller33023c42014-12-12 16:28:33 -08002805
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002806LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_SRC = \
2807 test/core/end2end/tests/request_response_with_metadata_and_payload.c \
2808
2809
ctillercab52e72015-01-06 13:10:23 -08002810LIBEND2END_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 -08002811
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002812libs/$(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 -08002813 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002814 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002815 $(Q) rm -f libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a
ctillercab52e72015-01-06 13:10:23 -08002816 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002817ifeq ($(SYSTEM),Darwin)
2818 $(Q) ranlib libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a
2819endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002820
2821
2822
nnoble5b7f32a2014-12-22 08:12:44 -08002823
2824
nnoble69ac39f2014-12-12 15:43:38 -08002825ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002826-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002827endif
2828
Craig Tiller27715ca2015-01-12 16:55:59 -08002829objs/$(CONFIG)/test/core/end2end/tests/request_response_with_metadata_and_payload.o:
2830
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002831
2832LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_SRC = \
2833 test/core/end2end/tests/request_response_with_payload.c \
2834
2835
ctillercab52e72015-01-06 13:10:23 -08002836LIBEND2END_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 -08002837
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002838libs/$(CONFIG)/libend2end_test_request_response_with_payload.a: $(ZLIB_DEP) $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002839 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002840 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002841 $(Q) rm -f libs/$(CONFIG)/libend2end_test_request_response_with_payload.a
ctillercab52e72015-01-06 13:10:23 -08002842 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002843ifeq ($(SYSTEM),Darwin)
2844 $(Q) ranlib libs/$(CONFIG)/libend2end_test_request_response_with_payload.a
2845endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002846
2847
2848
nnoble5b7f32a2014-12-22 08:12:44 -08002849
2850
nnoble69ac39f2014-12-12 15:43:38 -08002851ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002852-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002853endif
2854
Craig Tiller27715ca2015-01-12 16:55:59 -08002855objs/$(CONFIG)/test/core/end2end/tests/request_response_with_payload.o:
2856
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002857
ctiller2845cad2014-12-15 15:14:12 -08002858LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_SRC = \
2859 test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c \
2860
2861
ctillercab52e72015-01-06 13:10:23 -08002862LIBEND2END_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 -08002863
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002864libs/$(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 -08002865 $(E) "[AR] Creating $@"
2866 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002867 $(Q) rm -f libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a
ctillercab52e72015-01-06 13:10:23 -08002868 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002869ifeq ($(SYSTEM),Darwin)
2870 $(Q) ranlib libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a
2871endif
ctiller2845cad2014-12-15 15:14:12 -08002872
2873
2874
nnoble5b7f32a2014-12-22 08:12:44 -08002875
2876
ctiller2845cad2014-12-15 15:14:12 -08002877ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002878-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08002879endif
2880
Craig Tiller27715ca2015-01-12 16:55:59 -08002881objs/$(CONFIG)/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.o:
2882
ctiller2845cad2014-12-15 15:14:12 -08002883
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002884LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC = \
2885 test/core/end2end/tests/simple_delayed_request.c \
2886
2887
ctillercab52e72015-01-06 13:10:23 -08002888LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002889
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002890libs/$(CONFIG)/libend2end_test_simple_delayed_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002891 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002892 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002893 $(Q) rm -f libs/$(CONFIG)/libend2end_test_simple_delayed_request.a
ctillercab52e72015-01-06 13:10:23 -08002894 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_delayed_request.a $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002895ifeq ($(SYSTEM),Darwin)
2896 $(Q) ranlib libs/$(CONFIG)/libend2end_test_simple_delayed_request.a
2897endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002898
2899
2900
nnoble5b7f32a2014-12-22 08:12:44 -08002901
2902
nnoble69ac39f2014-12-12 15:43:38 -08002903ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002904-include $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002905endif
2906
Craig Tiller27715ca2015-01-12 16:55:59 -08002907objs/$(CONFIG)/test/core/end2end/tests/simple_delayed_request.o:
2908
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002909
2910LIBEND2END_TEST_SIMPLE_REQUEST_SRC = \
2911 test/core/end2end/tests/simple_request.c \
2912
2913
ctillercab52e72015-01-06 13:10:23 -08002914LIBEND2END_TEST_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002915
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002916libs/$(CONFIG)/libend2end_test_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002917 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002918 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002919 $(Q) rm -f libs/$(CONFIG)/libend2end_test_simple_request.a
ctillercab52e72015-01-06 13:10:23 -08002920 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_request.a $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002921ifeq ($(SYSTEM),Darwin)
2922 $(Q) ranlib libs/$(CONFIG)/libend2end_test_simple_request.a
2923endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002924
2925
2926
nnoble5b7f32a2014-12-22 08:12:44 -08002927
2928
nnoble69ac39f2014-12-12 15:43:38 -08002929ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002930-include $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002931endif
2932
Craig Tiller27715ca2015-01-12 16:55:59 -08002933objs/$(CONFIG)/test/core/end2end/tests/simple_request.o:
2934
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002935
nathaniel52878172014-12-09 10:17:19 -08002936LIBEND2END_TEST_THREAD_STRESS_SRC = \
2937 test/core/end2end/tests/thread_stress.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002938
2939
ctillercab52e72015-01-06 13:10:23 -08002940LIBEND2END_TEST_THREAD_STRESS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_THREAD_STRESS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002941
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002942libs/$(CONFIG)/libend2end_test_thread_stress.a: $(ZLIB_DEP) $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002943 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002944 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002945 $(Q) rm -f libs/$(CONFIG)/libend2end_test_thread_stress.a
ctillercab52e72015-01-06 13:10:23 -08002946 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_thread_stress.a $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002947ifeq ($(SYSTEM),Darwin)
2948 $(Q) ranlib libs/$(CONFIG)/libend2end_test_thread_stress.a
2949endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002950
2951
2952
nnoble5b7f32a2014-12-22 08:12:44 -08002953
2954
nnoble69ac39f2014-12-12 15:43:38 -08002955ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002956-include $(LIBEND2END_TEST_THREAD_STRESS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002957endif
2958
Craig Tiller27715ca2015-01-12 16:55:59 -08002959objs/$(CONFIG)/test/core/end2end/tests/thread_stress.o:
2960
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002961
2962LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_SRC = \
2963 test/core/end2end/tests/writes_done_hangs_with_pending_read.c \
2964
2965
ctillercab52e72015-01-06 13:10:23 -08002966LIBEND2END_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 -08002967
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002968libs/$(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 -08002969 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002970 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002971 $(Q) rm -f libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a
ctillercab52e72015-01-06 13:10:23 -08002972 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08002973ifeq ($(SYSTEM),Darwin)
2974 $(Q) ranlib libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a
2975endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002976
2977
2978
nnoble5b7f32a2014-12-22 08:12:44 -08002979
2980
nnoble69ac39f2014-12-12 15:43:38 -08002981ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002982-include $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002983endif
2984
Craig Tiller27715ca2015-01-12 16:55:59 -08002985objs/$(CONFIG)/test/core/end2end/tests/writes_done_hangs_with_pending_read.o:
2986
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002987
2988LIBEND2END_CERTS_SRC = \
chenw97fd9e52014-12-19 17:12:36 -08002989 test/core/end2end/data/test_root_cert.c \
2990 test/core/end2end/data/prod_roots_certs.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002991 test/core/end2end/data/server1_cert.c \
2992 test/core/end2end/data/server1_key.c \
2993
2994
ctillercab52e72015-01-06 13:10:23 -08002995LIBEND2END_CERTS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_CERTS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002996
nnoble69ac39f2014-12-12 15:43:38 -08002997ifeq ($(NO_SECURE),true)
2998
Nicolas Noble047b7272015-01-16 13:55:05 -08002999# You can't build secure libraries if you don't have OpenSSL with ALPN.
3000
ctillercab52e72015-01-06 13:10:23 -08003001libs/$(CONFIG)/libend2end_certs.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003002
nnoble5b7f32a2014-12-22 08:12:44 -08003003
nnoble69ac39f2014-12-12 15:43:38 -08003004else
3005
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01003006ifneq ($(OPENSSL_DEP),)
3007test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
3008test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
3009test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
3010test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
3011endif
3012
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01003013libs/$(CONFIG)/libend2end_certs.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_CERTS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003014 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08003015 $(Q) mkdir -p `dirname $@`
Craig Tillerb4ee3b52015-01-21 16:22:50 -08003016 $(Q) rm -f libs/$(CONFIG)/libend2end_certs.a
ctillercab52e72015-01-06 13:10:23 -08003017 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_certs.a $(LIBEND2END_CERTS_OBJS)
Craig Tillerb4ee3b52015-01-21 16:22:50 -08003018ifeq ($(SYSTEM),Darwin)
3019 $(Q) ranlib libs/$(CONFIG)/libend2end_certs.a
3020endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003021
3022
3023
nnoble5b7f32a2014-12-22 08:12:44 -08003024
3025
nnoble69ac39f2014-12-12 15:43:38 -08003026endif
3027
nnoble69ac39f2014-12-12 15:43:38 -08003028ifneq ($(NO_SECURE),true)
3029ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003030-include $(LIBEND2END_CERTS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003031endif
nnoble69ac39f2014-12-12 15:43:38 -08003032endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003033
Craig Tiller27715ca2015-01-12 16:55:59 -08003034objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
3035objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
3036objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
3037objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
3038
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003039
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003040
nnoble69ac39f2014-12-12 15:43:38 -08003041# All of the test targets, and protoc plugins
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003042
3043
Craig Tiller17ec5f92015-01-18 11:30:41 -08003044ALARM_HEAP_TEST_SRC = \
3045 test/core/iomgr/alarm_heap_test.c \
3046
3047ALARM_HEAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_HEAP_TEST_SRC))))
3048
3049ifeq ($(NO_SECURE),true)
3050
3051# You can't build secure targets if you don't have OpenSSL with ALPN.
3052
3053bins/$(CONFIG)/alarm_heap_test: openssl_dep_error
3054
3055else
3056
3057bins/$(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
3058 $(E) "[LD] Linking $@"
3059 $(Q) mkdir -p `dirname $@`
3060 $(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
3061
3062endif
3063
3064objs/$(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
3065
3066deps_alarm_heap_test: $(ALARM_HEAP_TEST_OBJS:.o=.dep)
3067
3068ifneq ($(NO_SECURE),true)
3069ifneq ($(NO_DEPS),true)
3070-include $(ALARM_HEAP_TEST_OBJS:.o=.dep)
3071endif
3072endif
3073
3074
3075ALARM_LIST_TEST_SRC = \
3076 test/core/iomgr/alarm_list_test.c \
3077
3078ALARM_LIST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_LIST_TEST_SRC))))
3079
3080ifeq ($(NO_SECURE),true)
3081
3082# You can't build secure targets if you don't have OpenSSL with ALPN.
3083
3084bins/$(CONFIG)/alarm_list_test: openssl_dep_error
3085
3086else
3087
3088bins/$(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
3089 $(E) "[LD] Linking $@"
3090 $(Q) mkdir -p `dirname $@`
3091 $(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
3092
3093endif
3094
3095objs/$(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
3096
3097deps_alarm_list_test: $(ALARM_LIST_TEST_OBJS:.o=.dep)
3098
3099ifneq ($(NO_SECURE),true)
3100ifneq ($(NO_DEPS),true)
3101-include $(ALARM_LIST_TEST_OBJS:.o=.dep)
3102endif
3103endif
3104
3105
3106ALARM_TEST_SRC = \
3107 test/core/iomgr/alarm_test.c \
3108
3109ALARM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_TEST_SRC))))
3110
3111ifeq ($(NO_SECURE),true)
3112
3113# You can't build secure targets if you don't have OpenSSL with ALPN.
3114
3115bins/$(CONFIG)/alarm_test: openssl_dep_error
3116
3117else
3118
3119bins/$(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
3120 $(E) "[LD] Linking $@"
3121 $(Q) mkdir -p `dirname $@`
3122 $(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
3123
3124endif
3125
3126objs/$(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
3127
3128deps_alarm_test: $(ALARM_TEST_OBJS:.o=.dep)
3129
3130ifneq ($(NO_SECURE),true)
3131ifneq ($(NO_DEPS),true)
3132-include $(ALARM_TEST_OBJS:.o=.dep)
3133endif
3134endif
3135
3136
3137ALPN_TEST_SRC = \
3138 test/core/transport/chttp2/alpn_test.c \
3139
3140ALPN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALPN_TEST_SRC))))
3141
3142ifeq ($(NO_SECURE),true)
3143
3144# You can't build secure targets if you don't have OpenSSL with ALPN.
3145
3146bins/$(CONFIG)/alpn_test: openssl_dep_error
3147
3148else
3149
3150bins/$(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
3151 $(E) "[LD] Linking $@"
3152 $(Q) mkdir -p `dirname $@`
3153 $(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
3154
3155endif
3156
3157objs/$(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
3158
3159deps_alpn_test: $(ALPN_TEST_OBJS:.o=.dep)
3160
3161ifneq ($(NO_SECURE),true)
3162ifneq ($(NO_DEPS),true)
3163-include $(ALPN_TEST_OBJS:.o=.dep)
3164endif
3165endif
3166
3167
3168BIN_ENCODER_TEST_SRC = \
3169 test/core/transport/chttp2/bin_encoder_test.c \
3170
3171BIN_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(BIN_ENCODER_TEST_SRC))))
3172
3173ifeq ($(NO_SECURE),true)
3174
3175# You can't build secure targets if you don't have OpenSSL with ALPN.
3176
3177bins/$(CONFIG)/bin_encoder_test: openssl_dep_error
3178
3179else
3180
3181bins/$(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
3182 $(E) "[LD] Linking $@"
3183 $(Q) mkdir -p `dirname $@`
3184 $(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
3185
3186endif
3187
3188objs/$(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
3189
3190deps_bin_encoder_test: $(BIN_ENCODER_TEST_OBJS:.o=.dep)
3191
3192ifneq ($(NO_SECURE),true)
3193ifneq ($(NO_DEPS),true)
3194-include $(BIN_ENCODER_TEST_OBJS:.o=.dep)
3195endif
3196endif
3197
3198
3199CENSUS_HASH_TABLE_TEST_SRC = \
3200 test/core/statistics/hash_table_test.c \
3201
3202CENSUS_HASH_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_HASH_TABLE_TEST_SRC))))
3203
3204ifeq ($(NO_SECURE),true)
3205
3206# You can't build secure targets if you don't have OpenSSL with ALPN.
3207
3208bins/$(CONFIG)/census_hash_table_test: openssl_dep_error
3209
3210else
3211
3212bins/$(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
3213 $(E) "[LD] Linking $@"
3214 $(Q) mkdir -p `dirname $@`
3215 $(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
3216
3217endif
3218
3219objs/$(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
3220
3221deps_census_hash_table_test: $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
3222
3223ifneq ($(NO_SECURE),true)
3224ifneq ($(NO_DEPS),true)
3225-include $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
3226endif
3227endif
3228
3229
3230CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_SRC = \
3231 test/core/statistics/multiple_writers_circular_buffer_test.c \
3232
3233CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_SRC))))
3234
3235ifeq ($(NO_SECURE),true)
3236
3237# You can't build secure targets if you don't have OpenSSL with ALPN.
3238
3239bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test: openssl_dep_error
3240
3241else
3242
3243bins/$(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
3244 $(E) "[LD] Linking $@"
3245 $(Q) mkdir -p `dirname $@`
3246 $(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
3247
3248endif
3249
3250objs/$(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
3251
3252deps_census_statistics_multiple_writers_circular_buffer_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
3253
3254ifneq ($(NO_SECURE),true)
3255ifneq ($(NO_DEPS),true)
3256-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
3257endif
3258endif
3259
3260
3261CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC = \
3262 test/core/statistics/multiple_writers_test.c \
3263
3264CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC))))
3265
3266ifeq ($(NO_SECURE),true)
3267
3268# You can't build secure targets if you don't have OpenSSL with ALPN.
3269
3270bins/$(CONFIG)/census_statistics_multiple_writers_test: openssl_dep_error
3271
3272else
3273
3274bins/$(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
3275 $(E) "[LD] Linking $@"
3276 $(Q) mkdir -p `dirname $@`
3277 $(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
3278
3279endif
3280
3281objs/$(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
3282
3283deps_census_statistics_multiple_writers_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
3284
3285ifneq ($(NO_SECURE),true)
3286ifneq ($(NO_DEPS),true)
3287-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
3288endif
3289endif
3290
3291
3292CENSUS_STATISTICS_PERFORMANCE_TEST_SRC = \
3293 test/core/statistics/performance_test.c \
3294
3295CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_PERFORMANCE_TEST_SRC))))
3296
3297ifeq ($(NO_SECURE),true)
3298
3299# You can't build secure targets if you don't have OpenSSL with ALPN.
3300
3301bins/$(CONFIG)/census_statistics_performance_test: openssl_dep_error
3302
3303else
3304
3305bins/$(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
3306 $(E) "[LD] Linking $@"
3307 $(Q) mkdir -p `dirname $@`
3308 $(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
3309
3310endif
3311
3312objs/$(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
3313
3314deps_census_statistics_performance_test: $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
3315
3316ifneq ($(NO_SECURE),true)
3317ifneq ($(NO_DEPS),true)
3318-include $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
3319endif
3320endif
3321
3322
3323CENSUS_STATISTICS_QUICK_TEST_SRC = \
3324 test/core/statistics/quick_test.c \
3325
3326CENSUS_STATISTICS_QUICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_QUICK_TEST_SRC))))
3327
3328ifeq ($(NO_SECURE),true)
3329
3330# You can't build secure targets if you don't have OpenSSL with ALPN.
3331
3332bins/$(CONFIG)/census_statistics_quick_test: openssl_dep_error
3333
3334else
3335
3336bins/$(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
3337 $(E) "[LD] Linking $@"
3338 $(Q) mkdir -p `dirname $@`
3339 $(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
3340
3341endif
3342
3343objs/$(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
3344
3345deps_census_statistics_quick_test: $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
3346
3347ifneq ($(NO_SECURE),true)
3348ifneq ($(NO_DEPS),true)
3349-include $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
3350endif
3351endif
3352
3353
3354CENSUS_STATISTICS_SMALL_LOG_TEST_SRC = \
3355 test/core/statistics/small_log_test.c \
3356
3357CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_SMALL_LOG_TEST_SRC))))
3358
3359ifeq ($(NO_SECURE),true)
3360
3361# You can't build secure targets if you don't have OpenSSL with ALPN.
3362
3363bins/$(CONFIG)/census_statistics_small_log_test: openssl_dep_error
3364
3365else
3366
3367bins/$(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
3368 $(E) "[LD] Linking $@"
3369 $(Q) mkdir -p `dirname $@`
3370 $(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
3371
3372endif
3373
3374objs/$(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
3375
3376deps_census_statistics_small_log_test: $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
3377
3378ifneq ($(NO_SECURE),true)
3379ifneq ($(NO_DEPS),true)
3380-include $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
3381endif
3382endif
3383
3384
3385CENSUS_STATS_STORE_TEST_SRC = \
3386 test/core/statistics/rpc_stats_test.c \
3387
3388CENSUS_STATS_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATS_STORE_TEST_SRC))))
3389
3390ifeq ($(NO_SECURE),true)
3391
3392# You can't build secure targets if you don't have OpenSSL with ALPN.
3393
3394bins/$(CONFIG)/census_stats_store_test: openssl_dep_error
3395
3396else
3397
3398bins/$(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
3399 $(E) "[LD] Linking $@"
3400 $(Q) mkdir -p `dirname $@`
3401 $(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
3402
3403endif
3404
3405objs/$(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
3406
3407deps_census_stats_store_test: $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
3408
3409ifneq ($(NO_SECURE),true)
3410ifneq ($(NO_DEPS),true)
3411-include $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
3412endif
3413endif
3414
3415
3416CENSUS_STUB_TEST_SRC = \
3417 test/core/statistics/census_stub_test.c \
3418
3419CENSUS_STUB_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STUB_TEST_SRC))))
3420
3421ifeq ($(NO_SECURE),true)
3422
3423# You can't build secure targets if you don't have OpenSSL with ALPN.
3424
3425bins/$(CONFIG)/census_stub_test: openssl_dep_error
3426
3427else
3428
3429bins/$(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
3430 $(E) "[LD] Linking $@"
3431 $(Q) mkdir -p `dirname $@`
3432 $(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
3433
3434endif
3435
3436objs/$(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
3437
3438deps_census_stub_test: $(CENSUS_STUB_TEST_OBJS:.o=.dep)
3439
3440ifneq ($(NO_SECURE),true)
3441ifneq ($(NO_DEPS),true)
3442-include $(CENSUS_STUB_TEST_OBJS:.o=.dep)
3443endif
3444endif
3445
3446
3447CENSUS_TRACE_STORE_TEST_SRC = \
3448 test/core/statistics/trace_test.c \
3449
3450CENSUS_TRACE_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_TRACE_STORE_TEST_SRC))))
3451
3452ifeq ($(NO_SECURE),true)
3453
3454# You can't build secure targets if you don't have OpenSSL with ALPN.
3455
3456bins/$(CONFIG)/census_trace_store_test: openssl_dep_error
3457
3458else
3459
3460bins/$(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
3461 $(E) "[LD] Linking $@"
3462 $(Q) mkdir -p `dirname $@`
3463 $(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
3464
3465endif
3466
3467objs/$(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
3468
3469deps_census_trace_store_test: $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
3470
3471ifneq ($(NO_SECURE),true)
3472ifneq ($(NO_DEPS),true)
3473-include $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
3474endif
3475endif
3476
3477
3478CENSUS_WINDOW_STATS_TEST_SRC = \
3479 test/core/statistics/window_stats_test.c \
3480
3481CENSUS_WINDOW_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_WINDOW_STATS_TEST_SRC))))
3482
3483ifeq ($(NO_SECURE),true)
3484
3485# You can't build secure targets if you don't have OpenSSL with ALPN.
3486
3487bins/$(CONFIG)/census_window_stats_test: openssl_dep_error
3488
3489else
3490
3491bins/$(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
3492 $(E) "[LD] Linking $@"
3493 $(Q) mkdir -p `dirname $@`
3494 $(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
3495
3496endif
3497
3498objs/$(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
3499
3500deps_census_window_stats_test: $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
3501
3502ifneq ($(NO_SECURE),true)
3503ifneq ($(NO_DEPS),true)
3504-include $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
3505endif
3506endif
3507
3508
Craig Tiller17ec5f92015-01-18 11:30:41 -08003509CHTTP2_STATUS_CONVERSION_TEST_SRC = \
3510 test/core/transport/chttp2/status_conversion_test.c \
3511
3512CHTTP2_STATUS_CONVERSION_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STATUS_CONVERSION_TEST_SRC))))
3513
3514ifeq ($(NO_SECURE),true)
3515
3516# You can't build secure targets if you don't have OpenSSL with ALPN.
3517
3518bins/$(CONFIG)/chttp2_status_conversion_test: openssl_dep_error
3519
3520else
3521
3522bins/$(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
3523 $(E) "[LD] Linking $@"
3524 $(Q) mkdir -p `dirname $@`
3525 $(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
3526
3527endif
3528
3529objs/$(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
3530
3531deps_chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
3532
3533ifneq ($(NO_SECURE),true)
3534ifneq ($(NO_DEPS),true)
3535-include $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
3536endif
3537endif
3538
3539
3540CHTTP2_STREAM_ENCODER_TEST_SRC = \
3541 test/core/transport/chttp2/stream_encoder_test.c \
3542
3543CHTTP2_STREAM_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_ENCODER_TEST_SRC))))
3544
3545ifeq ($(NO_SECURE),true)
3546
3547# You can't build secure targets if you don't have OpenSSL with ALPN.
3548
3549bins/$(CONFIG)/chttp2_stream_encoder_test: openssl_dep_error
3550
3551else
3552
3553bins/$(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
3554 $(E) "[LD] Linking $@"
3555 $(Q) mkdir -p `dirname $@`
3556 $(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
3557
3558endif
3559
3560objs/$(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
3561
3562deps_chttp2_stream_encoder_test: $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
3563
3564ifneq ($(NO_SECURE),true)
3565ifneq ($(NO_DEPS),true)
3566-include $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
3567endif
3568endif
3569
3570
3571CHTTP2_STREAM_MAP_TEST_SRC = \
3572 test/core/transport/chttp2/stream_map_test.c \
3573
3574CHTTP2_STREAM_MAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_MAP_TEST_SRC))))
3575
3576ifeq ($(NO_SECURE),true)
3577
3578# You can't build secure targets if you don't have OpenSSL with ALPN.
3579
3580bins/$(CONFIG)/chttp2_stream_map_test: openssl_dep_error
3581
3582else
3583
3584bins/$(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
3585 $(E) "[LD] Linking $@"
3586 $(Q) mkdir -p `dirname $@`
3587 $(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
3588
3589endif
3590
3591objs/$(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
3592
3593deps_chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
3594
3595ifneq ($(NO_SECURE),true)
3596ifneq ($(NO_DEPS),true)
3597-include $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
3598endif
3599endif
3600
3601
3602CHTTP2_TRANSPORT_END2END_TEST_SRC = \
3603 test/core/transport/chttp2_transport_end2end_test.c \
3604
3605CHTTP2_TRANSPORT_END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_TRANSPORT_END2END_TEST_SRC))))
3606
3607ifeq ($(NO_SECURE),true)
3608
3609# You can't build secure targets if you don't have OpenSSL with ALPN.
3610
3611bins/$(CONFIG)/chttp2_transport_end2end_test: openssl_dep_error
3612
3613else
3614
3615bins/$(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
3616 $(E) "[LD] Linking $@"
3617 $(Q) mkdir -p `dirname $@`
3618 $(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
3619
3620endif
3621
3622objs/$(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
3623
3624deps_chttp2_transport_end2end_test: $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
3625
3626ifneq ($(NO_SECURE),true)
3627ifneq ($(NO_DEPS),true)
3628-include $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
3629endif
3630endif
3631
3632
Craig Tiller17ec5f92015-01-18 11:30:41 -08003633DUALSTACK_SOCKET_TEST_SRC = \
3634 test/core/end2end/dualstack_socket_test.c \
3635
3636DUALSTACK_SOCKET_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(DUALSTACK_SOCKET_TEST_SRC))))
3637
3638ifeq ($(NO_SECURE),true)
3639
3640# You can't build secure targets if you don't have OpenSSL with ALPN.
3641
3642bins/$(CONFIG)/dualstack_socket_test: openssl_dep_error
3643
3644else
3645
3646bins/$(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
3647 $(E) "[LD] Linking $@"
3648 $(Q) mkdir -p `dirname $@`
3649 $(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
3650
3651endif
3652
3653objs/$(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
3654
3655deps_dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
3656
3657ifneq ($(NO_SECURE),true)
3658ifneq ($(NO_DEPS),true)
3659-include $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
3660endif
3661endif
3662
3663
3664ECHO_CLIENT_SRC = \
3665 test/core/echo/client.c \
3666
3667ECHO_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_CLIENT_SRC))))
3668
3669ifeq ($(NO_SECURE),true)
3670
3671# You can't build secure targets if you don't have OpenSSL with ALPN.
3672
3673bins/$(CONFIG)/echo_client: openssl_dep_error
3674
3675else
3676
3677bins/$(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
3678 $(E) "[LD] Linking $@"
3679 $(Q) mkdir -p `dirname $@`
3680 $(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
3681
3682endif
3683
3684objs/$(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
3685
3686deps_echo_client: $(ECHO_CLIENT_OBJS:.o=.dep)
3687
3688ifneq ($(NO_SECURE),true)
3689ifneq ($(NO_DEPS),true)
3690-include $(ECHO_CLIENT_OBJS:.o=.dep)
3691endif
3692endif
3693
3694
3695ECHO_SERVER_SRC = \
3696 test/core/echo/server.c \
3697
3698ECHO_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_SERVER_SRC))))
3699
3700ifeq ($(NO_SECURE),true)
3701
3702# You can't build secure targets if you don't have OpenSSL with ALPN.
3703
3704bins/$(CONFIG)/echo_server: openssl_dep_error
3705
3706else
3707
3708bins/$(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
3709 $(E) "[LD] Linking $@"
3710 $(Q) mkdir -p `dirname $@`
3711 $(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
3712
3713endif
3714
3715objs/$(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
3716
3717deps_echo_server: $(ECHO_SERVER_OBJS:.o=.dep)
3718
3719ifneq ($(NO_SECURE),true)
3720ifneq ($(NO_DEPS),true)
3721-include $(ECHO_SERVER_OBJS:.o=.dep)
3722endif
3723endif
3724
3725
3726ECHO_TEST_SRC = \
3727 test/core/echo/echo_test.c \
3728
3729ECHO_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_TEST_SRC))))
3730
3731ifeq ($(NO_SECURE),true)
3732
3733# You can't build secure targets if you don't have OpenSSL with ALPN.
3734
3735bins/$(CONFIG)/echo_test: openssl_dep_error
3736
3737else
3738
3739bins/$(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
3740 $(E) "[LD] Linking $@"
3741 $(Q) mkdir -p `dirname $@`
3742 $(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
3743
3744endif
3745
3746objs/$(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
3747
3748deps_echo_test: $(ECHO_TEST_OBJS:.o=.dep)
3749
3750ifneq ($(NO_SECURE),true)
3751ifneq ($(NO_DEPS),true)
3752-include $(ECHO_TEST_OBJS:.o=.dep)
3753endif
3754endif
3755
3756
Craig Tiller17ec5f92015-01-18 11:30:41 -08003757FD_POSIX_TEST_SRC = \
3758 test/core/iomgr/fd_posix_test.c \
3759
3760FD_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FD_POSIX_TEST_SRC))))
3761
3762ifeq ($(NO_SECURE),true)
3763
3764# You can't build secure targets if you don't have OpenSSL with ALPN.
3765
3766bins/$(CONFIG)/fd_posix_test: openssl_dep_error
3767
3768else
3769
3770bins/$(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
3771 $(E) "[LD] Linking $@"
3772 $(Q) mkdir -p `dirname $@`
3773 $(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
3774
3775endif
3776
3777objs/$(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
3778
3779deps_fd_posix_test: $(FD_POSIX_TEST_OBJS:.o=.dep)
3780
3781ifneq ($(NO_SECURE),true)
3782ifneq ($(NO_DEPS),true)
3783-include $(FD_POSIX_TEST_OBJS:.o=.dep)
3784endif
3785endif
3786
3787
3788FLING_CLIENT_SRC = \
3789 test/core/fling/client.c \
3790
3791FLING_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_CLIENT_SRC))))
3792
3793ifeq ($(NO_SECURE),true)
3794
3795# You can't build secure targets if you don't have OpenSSL with ALPN.
3796
3797bins/$(CONFIG)/fling_client: openssl_dep_error
3798
3799else
3800
3801bins/$(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
3802 $(E) "[LD] Linking $@"
3803 $(Q) mkdir -p `dirname $@`
3804 $(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
3805
3806endif
3807
3808objs/$(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
3809
3810deps_fling_client: $(FLING_CLIENT_OBJS:.o=.dep)
3811
3812ifneq ($(NO_SECURE),true)
3813ifneq ($(NO_DEPS),true)
3814-include $(FLING_CLIENT_OBJS:.o=.dep)
3815endif
3816endif
3817
3818
3819FLING_SERVER_SRC = \
3820 test/core/fling/server.c \
3821
3822FLING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_SERVER_SRC))))
3823
3824ifeq ($(NO_SECURE),true)
3825
3826# You can't build secure targets if you don't have OpenSSL with ALPN.
3827
3828bins/$(CONFIG)/fling_server: openssl_dep_error
3829
3830else
3831
3832bins/$(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
3833 $(E) "[LD] Linking $@"
3834 $(Q) mkdir -p `dirname $@`
3835 $(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
3836
3837endif
3838
3839objs/$(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
3840
3841deps_fling_server: $(FLING_SERVER_OBJS:.o=.dep)
3842
3843ifneq ($(NO_SECURE),true)
3844ifneq ($(NO_DEPS),true)
3845-include $(FLING_SERVER_OBJS:.o=.dep)
3846endif
3847endif
3848
3849
3850FLING_STREAM_TEST_SRC = \
3851 test/core/fling/fling_stream_test.c \
3852
3853FLING_STREAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_STREAM_TEST_SRC))))
3854
3855ifeq ($(NO_SECURE),true)
3856
3857# You can't build secure targets if you don't have OpenSSL with ALPN.
3858
3859bins/$(CONFIG)/fling_stream_test: openssl_dep_error
3860
3861else
3862
3863bins/$(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
3864 $(E) "[LD] Linking $@"
3865 $(Q) mkdir -p `dirname $@`
3866 $(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
3867
3868endif
3869
3870objs/$(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
3871
3872deps_fling_stream_test: $(FLING_STREAM_TEST_OBJS:.o=.dep)
3873
3874ifneq ($(NO_SECURE),true)
3875ifneq ($(NO_DEPS),true)
3876-include $(FLING_STREAM_TEST_OBJS:.o=.dep)
3877endif
3878endif
3879
3880
3881FLING_TEST_SRC = \
3882 test/core/fling/fling_test.c \
3883
3884FLING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_TEST_SRC))))
3885
3886ifeq ($(NO_SECURE),true)
3887
3888# You can't build secure targets if you don't have OpenSSL with ALPN.
3889
3890bins/$(CONFIG)/fling_test: openssl_dep_error
3891
3892else
3893
3894bins/$(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
3895 $(E) "[LD] Linking $@"
3896 $(Q) mkdir -p `dirname $@`
3897 $(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
3898
3899endif
3900
3901objs/$(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
3902
3903deps_fling_test: $(FLING_TEST_OBJS:.o=.dep)
3904
3905ifneq ($(NO_SECURE),true)
3906ifneq ($(NO_DEPS),true)
3907-include $(FLING_TEST_OBJS:.o=.dep)
3908endif
3909endif
3910
3911
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003912GEN_HPACK_TABLES_SRC = \
3913 src/core/transport/chttp2/gen_hpack_tables.c \
3914
ctillercab52e72015-01-06 13:10:23 -08003915GEN_HPACK_TABLES_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_HPACK_TABLES_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003916
nnoble69ac39f2014-12-12 15:43:38 -08003917ifeq ($(NO_SECURE),true)
3918
Nicolas Noble047b7272015-01-16 13:55:05 -08003919# You can't build secure targets if you don't have OpenSSL with ALPN.
3920
ctillercab52e72015-01-06 13:10:23 -08003921bins/$(CONFIG)/gen_hpack_tables: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003922
3923else
3924
ctillercab52e72015-01-06 13:10:23 -08003925bins/$(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 -08003926 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003927 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08003928 $(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 -08003929
nnoble69ac39f2014-12-12 15:43:38 -08003930endif
3931
Craig Tillerd4773f52015-01-12 16:38:47 -08003932objs/$(CONFIG)/src/core/transport/chttp2/gen_hpack_tables.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a
3933
Craig Tiller8f126a62015-01-15 08:50:19 -08003934deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003935
nnoble69ac39f2014-12-12 15:43:38 -08003936ifneq ($(NO_SECURE),true)
3937ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003938-include $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003939endif
nnoble69ac39f2014-12-12 15:43:38 -08003940endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003941
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003942
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003943GPR_CANCELLABLE_TEST_SRC = \
3944 test/core/support/cancellable_test.c \
3945
ctillercab52e72015-01-06 13:10:23 -08003946GPR_CANCELLABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CANCELLABLE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003947
nnoble69ac39f2014-12-12 15:43:38 -08003948ifeq ($(NO_SECURE),true)
3949
Nicolas Noble047b7272015-01-16 13:55:05 -08003950# You can't build secure targets if you don't have OpenSSL with ALPN.
3951
ctillercab52e72015-01-06 13:10:23 -08003952bins/$(CONFIG)/gpr_cancellable_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003953
3954else
3955
nnoble5f2ecb32015-01-12 16:40:18 -08003956bins/$(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 -08003957 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003958 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003959 $(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 -08003960
nnoble69ac39f2014-12-12 15:43:38 -08003961endif
3962
Craig Tiller770f60a2015-01-12 17:44:43 -08003963objs/$(CONFIG)/test/core/support/cancellable_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003964
Craig Tiller8f126a62015-01-15 08:50:19 -08003965deps_gpr_cancellable_test: $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003966
nnoble69ac39f2014-12-12 15:43:38 -08003967ifneq ($(NO_SECURE),true)
3968ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003969-include $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003970endif
nnoble69ac39f2014-12-12 15:43:38 -08003971endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003972
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003973
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003974GPR_CMDLINE_TEST_SRC = \
3975 test/core/support/cmdline_test.c \
3976
ctillercab52e72015-01-06 13:10:23 -08003977GPR_CMDLINE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CMDLINE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003978
nnoble69ac39f2014-12-12 15:43:38 -08003979ifeq ($(NO_SECURE),true)
3980
Nicolas Noble047b7272015-01-16 13:55:05 -08003981# You can't build secure targets if you don't have OpenSSL with ALPN.
3982
ctillercab52e72015-01-06 13:10:23 -08003983bins/$(CONFIG)/gpr_cmdline_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003984
3985else
3986
nnoble5f2ecb32015-01-12 16:40:18 -08003987bins/$(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 -08003988 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003989 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003990 $(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 -08003991
nnoble69ac39f2014-12-12 15:43:38 -08003992endif
3993
Craig Tiller770f60a2015-01-12 17:44:43 -08003994objs/$(CONFIG)/test/core/support/cmdline_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003995
Craig Tiller8f126a62015-01-15 08:50:19 -08003996deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003997
nnoble69ac39f2014-12-12 15:43:38 -08003998ifneq ($(NO_SECURE),true)
3999ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004000-include $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004001endif
nnoble69ac39f2014-12-12 15:43:38 -08004002endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004003
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004004
4005GPR_HISTOGRAM_TEST_SRC = \
4006 test/core/support/histogram_test.c \
4007
ctillercab52e72015-01-06 13:10:23 -08004008GPR_HISTOGRAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HISTOGRAM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004009
nnoble69ac39f2014-12-12 15:43:38 -08004010ifeq ($(NO_SECURE),true)
4011
Nicolas Noble047b7272015-01-16 13:55:05 -08004012# You can't build secure targets if you don't have OpenSSL with ALPN.
4013
ctillercab52e72015-01-06 13:10:23 -08004014bins/$(CONFIG)/gpr_histogram_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004015
4016else
4017
nnoble5f2ecb32015-01-12 16:40:18 -08004018bins/$(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 -08004019 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004020 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004021 $(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 -08004022
nnoble69ac39f2014-12-12 15:43:38 -08004023endif
4024
Craig Tiller770f60a2015-01-12 17:44:43 -08004025objs/$(CONFIG)/test/core/support/histogram_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004026
Craig Tiller8f126a62015-01-15 08:50:19 -08004027deps_gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004028
nnoble69ac39f2014-12-12 15:43:38 -08004029ifneq ($(NO_SECURE),true)
4030ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004031-include $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004032endif
nnoble69ac39f2014-12-12 15:43:38 -08004033endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004034
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004035
4036GPR_HOST_PORT_TEST_SRC = \
4037 test/core/support/host_port_test.c \
4038
ctillercab52e72015-01-06 13:10:23 -08004039GPR_HOST_PORT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HOST_PORT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004040
nnoble69ac39f2014-12-12 15:43:38 -08004041ifeq ($(NO_SECURE),true)
4042
Nicolas Noble047b7272015-01-16 13:55:05 -08004043# You can't build secure targets if you don't have OpenSSL with ALPN.
4044
ctillercab52e72015-01-06 13:10:23 -08004045bins/$(CONFIG)/gpr_host_port_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004046
4047else
4048
nnoble5f2ecb32015-01-12 16:40:18 -08004049bins/$(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 -08004050 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004051 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004052 $(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 -08004053
nnoble69ac39f2014-12-12 15:43:38 -08004054endif
4055
Craig Tiller770f60a2015-01-12 17:44:43 -08004056objs/$(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 -08004057
Craig Tiller8f126a62015-01-15 08:50:19 -08004058deps_gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004059
nnoble69ac39f2014-12-12 15:43:38 -08004060ifneq ($(NO_SECURE),true)
4061ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004062-include $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004063endif
nnoble69ac39f2014-12-12 15:43:38 -08004064endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004065
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004066
Craig Tiller17ec5f92015-01-18 11:30:41 -08004067GPR_LOG_TEST_SRC = \
4068 test/core/support/log_test.c \
4069
4070GPR_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_LOG_TEST_SRC))))
4071
4072ifeq ($(NO_SECURE),true)
4073
4074# You can't build secure targets if you don't have OpenSSL with ALPN.
4075
4076bins/$(CONFIG)/gpr_log_test: openssl_dep_error
4077
4078else
4079
4080bins/$(CONFIG)/gpr_log_test: $(GPR_LOG_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4081 $(E) "[LD] Linking $@"
4082 $(Q) mkdir -p `dirname $@`
4083 $(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
4084
4085endif
4086
4087objs/$(CONFIG)/test/core/support/log_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4088
4089deps_gpr_log_test: $(GPR_LOG_TEST_OBJS:.o=.dep)
4090
4091ifneq ($(NO_SECURE),true)
4092ifneq ($(NO_DEPS),true)
4093-include $(GPR_LOG_TEST_OBJS:.o=.dep)
4094endif
4095endif
4096
4097
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004098GPR_SLICE_BUFFER_TEST_SRC = \
4099 test/core/support/slice_buffer_test.c \
4100
ctillercab52e72015-01-06 13:10:23 -08004101GPR_SLICE_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_BUFFER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004102
nnoble69ac39f2014-12-12 15:43:38 -08004103ifeq ($(NO_SECURE),true)
4104
Nicolas Noble047b7272015-01-16 13:55:05 -08004105# You can't build secure targets if you don't have OpenSSL with ALPN.
4106
ctillercab52e72015-01-06 13:10:23 -08004107bins/$(CONFIG)/gpr_slice_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004108
4109else
4110
nnoble5f2ecb32015-01-12 16:40:18 -08004111bins/$(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 -08004112 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004113 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004114 $(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 -08004115
nnoble69ac39f2014-12-12 15:43:38 -08004116endif
4117
Craig Tiller770f60a2015-01-12 17:44:43 -08004118objs/$(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 -08004119
Craig Tiller8f126a62015-01-15 08:50:19 -08004120deps_gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004121
nnoble69ac39f2014-12-12 15:43:38 -08004122ifneq ($(NO_SECURE),true)
4123ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004124-include $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004125endif
nnoble69ac39f2014-12-12 15:43:38 -08004126endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004127
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004128
4129GPR_SLICE_TEST_SRC = \
4130 test/core/support/slice_test.c \
4131
ctillercab52e72015-01-06 13:10:23 -08004132GPR_SLICE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004133
nnoble69ac39f2014-12-12 15:43:38 -08004134ifeq ($(NO_SECURE),true)
4135
Nicolas Noble047b7272015-01-16 13:55:05 -08004136# You can't build secure targets if you don't have OpenSSL with ALPN.
4137
ctillercab52e72015-01-06 13:10:23 -08004138bins/$(CONFIG)/gpr_slice_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004139
4140else
4141
nnoble5f2ecb32015-01-12 16:40:18 -08004142bins/$(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 -08004143 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004144 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004145 $(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 -08004146
nnoble69ac39f2014-12-12 15:43:38 -08004147endif
4148
Craig Tiller770f60a2015-01-12 17:44:43 -08004149objs/$(CONFIG)/test/core/support/slice_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004150
Craig Tiller8f126a62015-01-15 08:50:19 -08004151deps_gpr_slice_test: $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004152
nnoble69ac39f2014-12-12 15:43:38 -08004153ifneq ($(NO_SECURE),true)
4154ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004155-include $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004156endif
nnoble69ac39f2014-12-12 15:43:38 -08004157endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004158
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004159
4160GPR_STRING_TEST_SRC = \
4161 test/core/support/string_test.c \
4162
ctillercab52e72015-01-06 13:10:23 -08004163GPR_STRING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STRING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004164
nnoble69ac39f2014-12-12 15:43:38 -08004165ifeq ($(NO_SECURE),true)
4166
Nicolas Noble047b7272015-01-16 13:55:05 -08004167# You can't build secure targets if you don't have OpenSSL with ALPN.
4168
ctillercab52e72015-01-06 13:10:23 -08004169bins/$(CONFIG)/gpr_string_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004170
4171else
4172
nnoble5f2ecb32015-01-12 16:40:18 -08004173bins/$(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 -08004174 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004175 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004176 $(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 -08004177
nnoble69ac39f2014-12-12 15:43:38 -08004178endif
4179
Craig Tiller770f60a2015-01-12 17:44:43 -08004180objs/$(CONFIG)/test/core/support/string_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004181
Craig Tiller8f126a62015-01-15 08:50:19 -08004182deps_gpr_string_test: $(GPR_STRING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004183
nnoble69ac39f2014-12-12 15:43:38 -08004184ifneq ($(NO_SECURE),true)
4185ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004186-include $(GPR_STRING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004187endif
nnoble69ac39f2014-12-12 15:43:38 -08004188endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004189
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004190
4191GPR_SYNC_TEST_SRC = \
4192 test/core/support/sync_test.c \
4193
ctillercab52e72015-01-06 13:10:23 -08004194GPR_SYNC_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SYNC_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004195
nnoble69ac39f2014-12-12 15:43:38 -08004196ifeq ($(NO_SECURE),true)
4197
Nicolas Noble047b7272015-01-16 13:55:05 -08004198# You can't build secure targets if you don't have OpenSSL with ALPN.
4199
ctillercab52e72015-01-06 13:10:23 -08004200bins/$(CONFIG)/gpr_sync_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004201
4202else
4203
nnoble5f2ecb32015-01-12 16:40:18 -08004204bins/$(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 -08004205 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004206 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004207 $(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 -08004208
nnoble69ac39f2014-12-12 15:43:38 -08004209endif
4210
Craig Tiller770f60a2015-01-12 17:44:43 -08004211objs/$(CONFIG)/test/core/support/sync_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004212
Craig Tiller8f126a62015-01-15 08:50:19 -08004213deps_gpr_sync_test: $(GPR_SYNC_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004214
nnoble69ac39f2014-12-12 15:43:38 -08004215ifneq ($(NO_SECURE),true)
4216ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004217-include $(GPR_SYNC_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004218endif
nnoble69ac39f2014-12-12 15:43:38 -08004219endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004220
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004221
4222GPR_THD_TEST_SRC = \
4223 test/core/support/thd_test.c \
4224
ctillercab52e72015-01-06 13:10:23 -08004225GPR_THD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_THD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004226
nnoble69ac39f2014-12-12 15:43:38 -08004227ifeq ($(NO_SECURE),true)
4228
Nicolas Noble047b7272015-01-16 13:55:05 -08004229# You can't build secure targets if you don't have OpenSSL with ALPN.
4230
ctillercab52e72015-01-06 13:10:23 -08004231bins/$(CONFIG)/gpr_thd_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004232
4233else
4234
nnoble5f2ecb32015-01-12 16:40:18 -08004235bins/$(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 -08004236 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004237 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004238 $(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 -08004239
nnoble69ac39f2014-12-12 15:43:38 -08004240endif
4241
Craig Tiller770f60a2015-01-12 17:44:43 -08004242objs/$(CONFIG)/test/core/support/thd_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004243
Craig Tiller8f126a62015-01-15 08:50:19 -08004244deps_gpr_thd_test: $(GPR_THD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004245
nnoble69ac39f2014-12-12 15:43:38 -08004246ifneq ($(NO_SECURE),true)
4247ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004248-include $(GPR_THD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004249endif
nnoble69ac39f2014-12-12 15:43:38 -08004250endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004251
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004252
4253GPR_TIME_TEST_SRC = \
4254 test/core/support/time_test.c \
4255
ctillercab52e72015-01-06 13:10:23 -08004256GPR_TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_TIME_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004257
nnoble69ac39f2014-12-12 15:43:38 -08004258ifeq ($(NO_SECURE),true)
4259
Nicolas Noble047b7272015-01-16 13:55:05 -08004260# You can't build secure targets if you don't have OpenSSL with ALPN.
4261
ctillercab52e72015-01-06 13:10:23 -08004262bins/$(CONFIG)/gpr_time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004263
4264else
4265
nnoble5f2ecb32015-01-12 16:40:18 -08004266bins/$(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 -08004267 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004268 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004269 $(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 -08004270
nnoble69ac39f2014-12-12 15:43:38 -08004271endif
4272
Craig Tiller770f60a2015-01-12 17:44:43 -08004273objs/$(CONFIG)/test/core/support/time_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004274
Craig Tiller8f126a62015-01-15 08:50:19 -08004275deps_gpr_time_test: $(GPR_TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004276
nnoble69ac39f2014-12-12 15:43:38 -08004277ifneq ($(NO_SECURE),true)
4278ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004279-include $(GPR_TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004280endif
nnoble69ac39f2014-12-12 15:43:38 -08004281endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004282
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004283
Craig Tiller17ec5f92015-01-18 11:30:41 -08004284GPR_USEFUL_TEST_SRC = \
4285 test/core/support/useful_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004286
Craig Tiller17ec5f92015-01-18 11:30:41 -08004287GPR_USEFUL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_USEFUL_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004288
nnoble69ac39f2014-12-12 15:43:38 -08004289ifeq ($(NO_SECURE),true)
4290
Nicolas Noble047b7272015-01-16 13:55:05 -08004291# You can't build secure targets if you don't have OpenSSL with ALPN.
4292
Craig Tiller17ec5f92015-01-18 11:30:41 -08004293bins/$(CONFIG)/gpr_useful_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004294
4295else
4296
Craig Tiller17ec5f92015-01-18 11:30:41 -08004297bins/$(CONFIG)/gpr_useful_test: $(GPR_USEFUL_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004298 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004299 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004300 $(Q) $(LD) $(LDFLAGS) $(GPR_USEFUL_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/gpr_useful_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004301
nnoble69ac39f2014-12-12 15:43:38 -08004302endif
4303
Craig Tiller17ec5f92015-01-18 11:30:41 -08004304objs/$(CONFIG)/test/core/support/useful_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004305
Craig Tiller17ec5f92015-01-18 11:30:41 -08004306deps_gpr_useful_test: $(GPR_USEFUL_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004307
nnoble69ac39f2014-12-12 15:43:38 -08004308ifneq ($(NO_SECURE),true)
4309ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004310-include $(GPR_USEFUL_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004311endif
nnoble69ac39f2014-12-12 15:43:38 -08004312endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004313
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004314
Craig Tiller17ec5f92015-01-18 11:30:41 -08004315GRPC_BASE64_TEST_SRC = \
4316 test/core/security/base64_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004317
Craig Tiller17ec5f92015-01-18 11:30:41 -08004318GRPC_BASE64_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BASE64_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004319
nnoble69ac39f2014-12-12 15:43:38 -08004320ifeq ($(NO_SECURE),true)
4321
Nicolas Noble047b7272015-01-16 13:55:05 -08004322# You can't build secure targets if you don't have OpenSSL with ALPN.
4323
Craig Tiller17ec5f92015-01-18 11:30:41 -08004324bins/$(CONFIG)/grpc_base64_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004325
4326else
4327
Craig Tiller17ec5f92015-01-18 11:30:41 -08004328bins/$(CONFIG)/grpc_base64_test: $(GRPC_BASE64_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004329 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004330 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004331 $(Q) $(LD) $(LDFLAGS) $(GRPC_BASE64_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_base64_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004332
nnoble69ac39f2014-12-12 15:43:38 -08004333endif
4334
Craig Tiller17ec5f92015-01-18 11:30:41 -08004335objs/$(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 -08004336
Craig Tiller17ec5f92015-01-18 11:30:41 -08004337deps_grpc_base64_test: $(GRPC_BASE64_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004338
nnoble69ac39f2014-12-12 15:43:38 -08004339ifneq ($(NO_SECURE),true)
4340ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004341-include $(GRPC_BASE64_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004342endif
nnoble69ac39f2014-12-12 15:43:38 -08004343endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004344
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004345
Craig Tiller17ec5f92015-01-18 11:30:41 -08004346GRPC_BYTE_BUFFER_READER_TEST_SRC = \
4347 test/core/surface/byte_buffer_reader_test.c \
nnoble0c475f02014-12-05 15:37:39 -08004348
Craig Tiller17ec5f92015-01-18 11:30:41 -08004349GRPC_BYTE_BUFFER_READER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BYTE_BUFFER_READER_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08004350
nnoble69ac39f2014-12-12 15:43:38 -08004351ifeq ($(NO_SECURE),true)
4352
Nicolas Noble047b7272015-01-16 13:55:05 -08004353# You can't build secure targets if you don't have OpenSSL with ALPN.
4354
Craig Tiller17ec5f92015-01-18 11:30:41 -08004355bins/$(CONFIG)/grpc_byte_buffer_reader_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004356
4357else
4358
Craig Tiller17ec5f92015-01-18 11:30:41 -08004359bins/$(CONFIG)/grpc_byte_buffer_reader_test: $(GRPC_BYTE_BUFFER_READER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
nnoble0c475f02014-12-05 15:37:39 -08004360 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004361 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004362 $(Q) $(LD) $(LDFLAGS) $(GRPC_BYTE_BUFFER_READER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_byte_buffer_reader_test
nnoble0c475f02014-12-05 15:37:39 -08004363
nnoble69ac39f2014-12-12 15:43:38 -08004364endif
4365
Craig Tiller17ec5f92015-01-18 11:30:41 -08004366objs/$(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 -08004367
Craig Tiller17ec5f92015-01-18 11:30:41 -08004368deps_grpc_byte_buffer_reader_test: $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08004369
nnoble69ac39f2014-12-12 15:43:38 -08004370ifneq ($(NO_SECURE),true)
4371ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004372-include $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004373endif
nnoble69ac39f2014-12-12 15:43:38 -08004374endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004375
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004376
4377GRPC_CHANNEL_STACK_TEST_SRC = \
4378 test/core/channel/channel_stack_test.c \
4379
ctillercab52e72015-01-06 13:10:23 -08004380GRPC_CHANNEL_STACK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CHANNEL_STACK_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004381
nnoble69ac39f2014-12-12 15:43:38 -08004382ifeq ($(NO_SECURE),true)
4383
Nicolas Noble047b7272015-01-16 13:55:05 -08004384# You can't build secure targets if you don't have OpenSSL with ALPN.
4385
ctillercab52e72015-01-06 13:10:23 -08004386bins/$(CONFIG)/grpc_channel_stack_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004387
4388else
4389
nnoble5f2ecb32015-01-12 16:40:18 -08004390bins/$(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 -08004391 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004392 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004393 $(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 -08004394
nnoble69ac39f2014-12-12 15:43:38 -08004395endif
4396
Craig Tiller770f60a2015-01-12 17:44:43 -08004397objs/$(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 -08004398
Craig Tiller8f126a62015-01-15 08:50:19 -08004399deps_grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004400
nnoble69ac39f2014-12-12 15:43:38 -08004401ifneq ($(NO_SECURE),true)
4402ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004403-include $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004404endif
nnoble69ac39f2014-12-12 15:43:38 -08004405endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004406
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004407
Craig Tiller17ec5f92015-01-18 11:30:41 -08004408GRPC_COMPLETION_QUEUE_BENCHMARK_SRC = \
4409 test/core/surface/completion_queue_benchmark.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004410
Craig Tiller17ec5f92015-01-18 11:30:41 -08004411GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004412
nnoble69ac39f2014-12-12 15:43:38 -08004413ifeq ($(NO_SECURE),true)
4414
Nicolas Noble047b7272015-01-16 13:55:05 -08004415# You can't build secure targets if you don't have OpenSSL with ALPN.
4416
Craig Tiller17ec5f92015-01-18 11:30:41 -08004417bins/$(CONFIG)/grpc_completion_queue_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004418
4419else
4420
Craig Tiller17ec5f92015-01-18 11:30:41 -08004421bins/$(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 -08004422 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004423 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004424 $(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 -08004425
nnoble69ac39f2014-12-12 15:43:38 -08004426endif
4427
Craig Tiller17ec5f92015-01-18 11:30:41 -08004428objs/$(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 -08004429
Craig Tiller17ec5f92015-01-18 11:30:41 -08004430deps_grpc_completion_queue_benchmark: $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004431
nnoble69ac39f2014-12-12 15:43:38 -08004432ifneq ($(NO_SECURE),true)
4433ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004434-include $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004435endif
nnoble69ac39f2014-12-12 15:43:38 -08004436endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004437
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004438
4439GRPC_COMPLETION_QUEUE_TEST_SRC = \
4440 test/core/surface/completion_queue_test.c \
4441
ctillercab52e72015-01-06 13:10:23 -08004442GRPC_COMPLETION_QUEUE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004443
nnoble69ac39f2014-12-12 15:43:38 -08004444ifeq ($(NO_SECURE),true)
4445
Nicolas Noble047b7272015-01-16 13:55:05 -08004446# You can't build secure targets if you don't have OpenSSL with ALPN.
4447
ctillercab52e72015-01-06 13:10:23 -08004448bins/$(CONFIG)/grpc_completion_queue_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004449
4450else
4451
nnoble5f2ecb32015-01-12 16:40:18 -08004452bins/$(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 -08004453 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004454 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004455 $(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 -08004456
nnoble69ac39f2014-12-12 15:43:38 -08004457endif
4458
Craig Tiller770f60a2015-01-12 17:44:43 -08004459objs/$(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 -08004460
Craig Tiller8f126a62015-01-15 08:50:19 -08004461deps_grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004462
nnoble69ac39f2014-12-12 15:43:38 -08004463ifneq ($(NO_SECURE),true)
4464ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004465-include $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004466endif
nnoble69ac39f2014-12-12 15:43:38 -08004467endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004468
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004469
Craig Tiller17ec5f92015-01-18 11:30:41 -08004470GRPC_CREDENTIALS_TEST_SRC = \
4471 test/core/security/credentials_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004472
Craig Tiller17ec5f92015-01-18 11:30:41 -08004473GRPC_CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CREDENTIALS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004474
nnoble69ac39f2014-12-12 15:43:38 -08004475ifeq ($(NO_SECURE),true)
4476
Nicolas Noble047b7272015-01-16 13:55:05 -08004477# You can't build secure targets if you don't have OpenSSL with ALPN.
4478
Craig Tiller17ec5f92015-01-18 11:30:41 -08004479bins/$(CONFIG)/grpc_credentials_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004480
4481else
4482
Craig Tiller17ec5f92015-01-18 11:30:41 -08004483bins/$(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 -08004484 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004485 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004486 $(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 -08004487
nnoble69ac39f2014-12-12 15:43:38 -08004488endif
4489
Craig Tiller17ec5f92015-01-18 11:30:41 -08004490objs/$(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 -08004491
Craig Tiller17ec5f92015-01-18 11:30:41 -08004492deps_grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004493
nnoble69ac39f2014-12-12 15:43:38 -08004494ifneq ($(NO_SECURE),true)
4495ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004496-include $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004497endif
nnoble69ac39f2014-12-12 15:43:38 -08004498endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004499
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004500
Craig Tiller17ec5f92015-01-18 11:30:41 -08004501GRPC_FETCH_OAUTH2_SRC = \
4502 test/core/security/fetch_oauth2.c \
hongyu24200d32015-01-08 15:13:49 -08004503
Craig Tiller17ec5f92015-01-18 11:30:41 -08004504GRPC_FETCH_OAUTH2_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_FETCH_OAUTH2_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004505
4506ifeq ($(NO_SECURE),true)
4507
Nicolas Noble047b7272015-01-16 13:55:05 -08004508# You can't build secure targets if you don't have OpenSSL with ALPN.
4509
Craig Tiller17ec5f92015-01-18 11:30:41 -08004510bins/$(CONFIG)/grpc_fetch_oauth2: openssl_dep_error
hongyu24200d32015-01-08 15:13:49 -08004511
4512else
4513
Craig Tiller17ec5f92015-01-18 11:30:41 -08004514bins/$(CONFIG)/grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
hongyu24200d32015-01-08 15:13:49 -08004515 $(E) "[LD] Linking $@"
4516 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004517 $(Q) $(LD) $(LDFLAGS) $(GRPC_FETCH_OAUTH2_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_fetch_oauth2
hongyu24200d32015-01-08 15:13:49 -08004518
4519endif
4520
Craig Tiller17ec5f92015-01-18 11:30:41 -08004521objs/$(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 -08004522
Craig Tiller17ec5f92015-01-18 11:30:41 -08004523deps_grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004524
4525ifneq ($(NO_SECURE),true)
4526ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004527-include $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004528endif
4529endif
4530
hongyu24200d32015-01-08 15:13:49 -08004531
Craig Tiller17ec5f92015-01-18 11:30:41 -08004532GRPC_JSON_TOKEN_TEST_SRC = \
4533 test/core/security/json_token_test.c \
hongyu24200d32015-01-08 15:13:49 -08004534
Craig Tiller17ec5f92015-01-18 11:30:41 -08004535GRPC_JSON_TOKEN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_JSON_TOKEN_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004536
4537ifeq ($(NO_SECURE),true)
4538
Nicolas Noble047b7272015-01-16 13:55:05 -08004539# You can't build secure targets if you don't have OpenSSL with ALPN.
4540
Craig Tiller17ec5f92015-01-18 11:30:41 -08004541bins/$(CONFIG)/grpc_json_token_test: openssl_dep_error
hongyu24200d32015-01-08 15:13:49 -08004542
4543else
4544
Craig Tiller17ec5f92015-01-18 11:30:41 -08004545bins/$(CONFIG)/grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
hongyu24200d32015-01-08 15:13:49 -08004546 $(E) "[LD] Linking $@"
4547 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004548 $(Q) $(LD) $(LDFLAGS) $(GRPC_JSON_TOKEN_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/grpc_json_token_test
hongyu24200d32015-01-08 15:13:49 -08004549
4550endif
4551
Craig Tiller17ec5f92015-01-18 11:30:41 -08004552objs/$(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 -08004553
Craig Tiller17ec5f92015-01-18 11:30:41 -08004554deps_grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004555
4556ifneq ($(NO_SECURE),true)
4557ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004558-include $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004559endif
4560endif
4561
hongyu24200d32015-01-08 15:13:49 -08004562
Craig Tiller17ec5f92015-01-18 11:30:41 -08004563GRPC_STREAM_OP_TEST_SRC = \
4564 test/core/transport/stream_op_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004565
Craig Tiller17ec5f92015-01-18 11:30:41 -08004566GRPC_STREAM_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_STREAM_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004567
nnoble69ac39f2014-12-12 15:43:38 -08004568ifeq ($(NO_SECURE),true)
4569
Nicolas Noble047b7272015-01-16 13:55:05 -08004570# You can't build secure targets if you don't have OpenSSL with ALPN.
4571
Craig Tiller17ec5f92015-01-18 11:30:41 -08004572bins/$(CONFIG)/grpc_stream_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004573
4574else
4575
Craig Tiller17ec5f92015-01-18 11:30:41 -08004576bins/$(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 -08004577 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004578 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004579 $(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 -08004580
nnoble69ac39f2014-12-12 15:43:38 -08004581endif
4582
Craig Tiller17ec5f92015-01-18 11:30:41 -08004583objs/$(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 -08004584
Craig Tiller17ec5f92015-01-18 11:30:41 -08004585deps_grpc_stream_op_test: $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004586
nnoble69ac39f2014-12-12 15:43:38 -08004587ifneq ($(NO_SECURE),true)
4588ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004589-include $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004590endif
nnoble69ac39f2014-12-12 15:43:38 -08004591endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004592
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004593
Craig Tiller17ec5f92015-01-18 11:30:41 -08004594HPACK_PARSER_TEST_SRC = \
4595 test/core/transport/chttp2/hpack_parser_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004596
Craig Tiller17ec5f92015-01-18 11:30:41 -08004597HPACK_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004598
nnoble69ac39f2014-12-12 15:43:38 -08004599ifeq ($(NO_SECURE),true)
4600
Nicolas Noble047b7272015-01-16 13:55:05 -08004601# You can't build secure targets if you don't have OpenSSL with ALPN.
4602
Craig Tiller17ec5f92015-01-18 11:30:41 -08004603bins/$(CONFIG)/hpack_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004604
4605else
4606
Craig Tiller17ec5f92015-01-18 11:30:41 -08004607bins/$(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 -08004608 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004609 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004610 $(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 -08004611
nnoble69ac39f2014-12-12 15:43:38 -08004612endif
4613
Craig Tiller17ec5f92015-01-18 11:30:41 -08004614objs/$(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 -08004615
Craig Tiller17ec5f92015-01-18 11:30:41 -08004616deps_hpack_parser_test: $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004617
nnoble69ac39f2014-12-12 15:43:38 -08004618ifneq ($(NO_SECURE),true)
4619ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004620-include $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004621endif
nnoble69ac39f2014-12-12 15:43:38 -08004622endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004623
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004624
Craig Tiller17ec5f92015-01-18 11:30:41 -08004625HPACK_TABLE_TEST_SRC = \
4626 test/core/transport/chttp2/hpack_table_test.c \
aveitch482a5be2014-12-15 10:25:12 -08004627
Craig Tiller17ec5f92015-01-18 11:30:41 -08004628HPACK_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_TABLE_TEST_SRC))))
aveitch482a5be2014-12-15 10:25:12 -08004629
4630ifeq ($(NO_SECURE),true)
4631
Nicolas Noble047b7272015-01-16 13:55:05 -08004632# You can't build secure targets if you don't have OpenSSL with ALPN.
4633
Craig Tiller17ec5f92015-01-18 11:30:41 -08004634bins/$(CONFIG)/hpack_table_test: openssl_dep_error
aveitch482a5be2014-12-15 10:25:12 -08004635
4636else
4637
Craig Tiller17ec5f92015-01-18 11:30:41 -08004638bins/$(CONFIG)/hpack_table_test: $(HPACK_TABLE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
aveitch482a5be2014-12-15 10:25:12 -08004639 $(E) "[LD] Linking $@"
4640 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004641 $(Q) $(LD) $(LDFLAGS) $(HPACK_TABLE_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/hpack_table_test
aveitch482a5be2014-12-15 10:25:12 -08004642
4643endif
4644
Craig Tiller17ec5f92015-01-18 11:30:41 -08004645objs/$(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 -08004646
Craig Tiller17ec5f92015-01-18 11:30:41 -08004647deps_hpack_table_test: $(HPACK_TABLE_TEST_OBJS:.o=.dep)
aveitch482a5be2014-12-15 10:25:12 -08004648
4649ifneq ($(NO_SECURE),true)
4650ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004651-include $(HPACK_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004652endif
nnoble69ac39f2014-12-12 15:43:38 -08004653endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004654
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004655
4656HTTPCLI_FORMAT_REQUEST_TEST_SRC = \
4657 test/core/httpcli/format_request_test.c \
4658
ctillercab52e72015-01-06 13:10:23 -08004659HTTPCLI_FORMAT_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_FORMAT_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004660
nnoble69ac39f2014-12-12 15:43:38 -08004661ifeq ($(NO_SECURE),true)
4662
Nicolas Noble047b7272015-01-16 13:55:05 -08004663# You can't build secure targets if you don't have OpenSSL with ALPN.
4664
ctillercab52e72015-01-06 13:10:23 -08004665bins/$(CONFIG)/httpcli_format_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004666
4667else
4668
nnoble5f2ecb32015-01-12 16:40:18 -08004669bins/$(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 -08004670 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004671 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004672 $(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 -08004673
nnoble69ac39f2014-12-12 15:43:38 -08004674endif
4675
Craig Tiller770f60a2015-01-12 17:44:43 -08004676objs/$(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 -08004677
Craig Tiller8f126a62015-01-15 08:50:19 -08004678deps_httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004679
nnoble69ac39f2014-12-12 15:43:38 -08004680ifneq ($(NO_SECURE),true)
4681ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004682-include $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004683endif
nnoble69ac39f2014-12-12 15:43:38 -08004684endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004685
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004686
4687HTTPCLI_PARSER_TEST_SRC = \
4688 test/core/httpcli/parser_test.c \
4689
ctillercab52e72015-01-06 13:10:23 -08004690HTTPCLI_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004691
nnoble69ac39f2014-12-12 15:43:38 -08004692ifeq ($(NO_SECURE),true)
4693
Nicolas Noble047b7272015-01-16 13:55:05 -08004694# You can't build secure targets if you don't have OpenSSL with ALPN.
4695
ctillercab52e72015-01-06 13:10:23 -08004696bins/$(CONFIG)/httpcli_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004697
4698else
4699
nnoble5f2ecb32015-01-12 16:40:18 -08004700bins/$(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 -08004701 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004702 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004703 $(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 -08004704
nnoble69ac39f2014-12-12 15:43:38 -08004705endif
4706
Craig Tiller770f60a2015-01-12 17:44:43 -08004707objs/$(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 -08004708
Craig Tiller8f126a62015-01-15 08:50:19 -08004709deps_httpcli_parser_test: $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004710
nnoble69ac39f2014-12-12 15:43:38 -08004711ifneq ($(NO_SECURE),true)
4712ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004713-include $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004714endif
nnoble69ac39f2014-12-12 15:43:38 -08004715endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004716
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004717
4718HTTPCLI_TEST_SRC = \
4719 test/core/httpcli/httpcli_test.c \
4720
ctillercab52e72015-01-06 13:10:23 -08004721HTTPCLI_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004722
nnoble69ac39f2014-12-12 15:43:38 -08004723ifeq ($(NO_SECURE),true)
4724
Nicolas Noble047b7272015-01-16 13:55:05 -08004725# You can't build secure targets if you don't have OpenSSL with ALPN.
4726
ctillercab52e72015-01-06 13:10:23 -08004727bins/$(CONFIG)/httpcli_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004728
4729else
4730
nnoble5f2ecb32015-01-12 16:40:18 -08004731bins/$(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 -08004732 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004733 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004734 $(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 -08004735
nnoble69ac39f2014-12-12 15:43:38 -08004736endif
4737
Craig Tiller770f60a2015-01-12 17:44:43 -08004738objs/$(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 -08004739
Craig Tiller8f126a62015-01-15 08:50:19 -08004740deps_httpcli_test: $(HTTPCLI_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004741
nnoble69ac39f2014-12-12 15:43:38 -08004742ifneq ($(NO_SECURE),true)
4743ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004744-include $(HTTPCLI_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004745endif
nnoble69ac39f2014-12-12 15:43:38 -08004746endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004747
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004748
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004749LAME_CLIENT_TEST_SRC = \
4750 test/core/surface/lame_client_test.c \
4751
ctillercab52e72015-01-06 13:10:23 -08004752LAME_CLIENT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LAME_CLIENT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004753
nnoble69ac39f2014-12-12 15:43:38 -08004754ifeq ($(NO_SECURE),true)
4755
Nicolas Noble047b7272015-01-16 13:55:05 -08004756# You can't build secure targets if you don't have OpenSSL with ALPN.
4757
ctillercab52e72015-01-06 13:10:23 -08004758bins/$(CONFIG)/lame_client_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004759
4760else
4761
nnoble5f2ecb32015-01-12 16:40:18 -08004762bins/$(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 -08004763 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004764 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004765 $(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 -08004766
nnoble69ac39f2014-12-12 15:43:38 -08004767endif
4768
Craig Tiller770f60a2015-01-12 17:44:43 -08004769objs/$(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 -08004770
Craig Tiller8f126a62015-01-15 08:50:19 -08004771deps_lame_client_test: $(LAME_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004772
nnoble69ac39f2014-12-12 15:43:38 -08004773ifneq ($(NO_SECURE),true)
4774ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004775-include $(LAME_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004776endif
nnoble69ac39f2014-12-12 15:43:38 -08004777endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004778
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004779
Craig Tiller17ec5f92015-01-18 11:30:41 -08004780LOW_LEVEL_PING_PONG_BENCHMARK_SRC = \
4781 test/core/network_benchmarks/low_level_ping_pong.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004782
Craig Tiller17ec5f92015-01-18 11:30:41 -08004783LOW_LEVEL_PING_PONG_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LOW_LEVEL_PING_PONG_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004784
nnoble69ac39f2014-12-12 15:43:38 -08004785ifeq ($(NO_SECURE),true)
4786
Nicolas Noble047b7272015-01-16 13:55:05 -08004787# You can't build secure targets if you don't have OpenSSL with ALPN.
4788
Craig Tiller17ec5f92015-01-18 11:30:41 -08004789bins/$(CONFIG)/low_level_ping_pong_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004790
4791else
4792
Craig Tiller17ec5f92015-01-18 11:30:41 -08004793bins/$(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 -08004794 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004795 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004796 $(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 -08004797
nnoble69ac39f2014-12-12 15:43:38 -08004798endif
4799
Craig Tiller17ec5f92015-01-18 11:30:41 -08004800objs/$(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 -08004801
Craig Tiller17ec5f92015-01-18 11:30:41 -08004802deps_low_level_ping_pong_benchmark: $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004803
nnoble69ac39f2014-12-12 15:43:38 -08004804ifneq ($(NO_SECURE),true)
4805ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004806-include $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004807endif
nnoble69ac39f2014-12-12 15:43:38 -08004808endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004809
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004810
Craig Tiller17ec5f92015-01-18 11:30:41 -08004811MESSAGE_COMPRESS_TEST_SRC = \
4812 test/core/compression/message_compress_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004813
Craig Tiller17ec5f92015-01-18 11:30:41 -08004814MESSAGE_COMPRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MESSAGE_COMPRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004815
nnoble69ac39f2014-12-12 15:43:38 -08004816ifeq ($(NO_SECURE),true)
4817
Nicolas Noble047b7272015-01-16 13:55:05 -08004818# You can't build secure targets if you don't have OpenSSL with ALPN.
4819
Craig Tiller17ec5f92015-01-18 11:30:41 -08004820bins/$(CONFIG)/message_compress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004821
4822else
4823
Craig Tiller17ec5f92015-01-18 11:30:41 -08004824bins/$(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 -08004825 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004826 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004827 $(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 -08004828
nnoble69ac39f2014-12-12 15:43:38 -08004829endif
4830
Craig Tiller17ec5f92015-01-18 11:30:41 -08004831objs/$(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 -08004832
Craig Tiller17ec5f92015-01-18 11:30:41 -08004833deps_message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004834
nnoble69ac39f2014-12-12 15:43:38 -08004835ifneq ($(NO_SECURE),true)
4836ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004837-include $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004838endif
nnoble69ac39f2014-12-12 15:43:38 -08004839endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004840
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004841
Craig Tiller17ec5f92015-01-18 11:30:41 -08004842METADATA_BUFFER_TEST_SRC = \
4843 test/core/channel/metadata_buffer_test.c \
ctiller8919f602014-12-10 10:19:42 -08004844
Craig Tiller17ec5f92015-01-18 11:30:41 -08004845METADATA_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(METADATA_BUFFER_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004846
nnoble69ac39f2014-12-12 15:43:38 -08004847ifeq ($(NO_SECURE),true)
4848
Nicolas Noble047b7272015-01-16 13:55:05 -08004849# You can't build secure targets if you don't have OpenSSL with ALPN.
4850
Craig Tiller17ec5f92015-01-18 11:30:41 -08004851bins/$(CONFIG)/metadata_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004852
4853else
4854
Craig Tiller17ec5f92015-01-18 11:30:41 -08004855bins/$(CONFIG)/metadata_buffer_test: $(METADATA_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08004856 $(E) "[LD] Linking $@"
4857 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004858 $(Q) $(LD) $(LDFLAGS) $(METADATA_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/metadata_buffer_test
ctiller8919f602014-12-10 10:19:42 -08004859
nnoble69ac39f2014-12-12 15:43:38 -08004860endif
4861
Craig Tiller17ec5f92015-01-18 11:30:41 -08004862objs/$(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 -08004863
Craig Tiller17ec5f92015-01-18 11:30:41 -08004864deps_metadata_buffer_test: $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004865
nnoble69ac39f2014-12-12 15:43:38 -08004866ifneq ($(NO_SECURE),true)
4867ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004868-include $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
4869endif
4870endif
4871
4872
4873MURMUR_HASH_TEST_SRC = \
4874 test/core/support/murmur_hash_test.c \
4875
4876MURMUR_HASH_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MURMUR_HASH_TEST_SRC))))
4877
4878ifeq ($(NO_SECURE),true)
4879
4880# You can't build secure targets if you don't have OpenSSL with ALPN.
4881
4882bins/$(CONFIG)/murmur_hash_test: openssl_dep_error
4883
4884else
4885
4886bins/$(CONFIG)/murmur_hash_test: $(MURMUR_HASH_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4887 $(E) "[LD] Linking $@"
4888 $(Q) mkdir -p `dirname $@`
4889 $(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
4890
4891endif
4892
4893objs/$(CONFIG)/test/core/support/murmur_hash_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4894
4895deps_murmur_hash_test: $(MURMUR_HASH_TEST_OBJS:.o=.dep)
4896
4897ifneq ($(NO_SECURE),true)
4898ifneq ($(NO_DEPS),true)
4899-include $(MURMUR_HASH_TEST_OBJS:.o=.dep)
4900endif
4901endif
4902
4903
4904NO_SERVER_TEST_SRC = \
4905 test/core/end2end/no_server_test.c \
4906
4907NO_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(NO_SERVER_TEST_SRC))))
4908
4909ifeq ($(NO_SECURE),true)
4910
4911# You can't build secure targets if you don't have OpenSSL with ALPN.
4912
4913bins/$(CONFIG)/no_server_test: openssl_dep_error
4914
4915else
4916
4917bins/$(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
4918 $(E) "[LD] Linking $@"
4919 $(Q) mkdir -p `dirname $@`
4920 $(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
4921
4922endif
4923
4924objs/$(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
4925
4926deps_no_server_test: $(NO_SERVER_TEST_OBJS:.o=.dep)
4927
4928ifneq ($(NO_SECURE),true)
4929ifneq ($(NO_DEPS),true)
4930-include $(NO_SERVER_TEST_OBJS:.o=.dep)
4931endif
4932endif
4933
4934
4935POLL_KICK_TEST_SRC = \
4936 test/core/iomgr/poll_kick_test.c \
4937
4938POLL_KICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(POLL_KICK_TEST_SRC))))
4939
4940ifeq ($(NO_SECURE),true)
4941
4942# You can't build secure targets if you don't have OpenSSL with ALPN.
4943
4944bins/$(CONFIG)/poll_kick_test: openssl_dep_error
4945
4946else
4947
4948bins/$(CONFIG)/poll_kick_test: $(POLL_KICK_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4949 $(E) "[LD] Linking $@"
4950 $(Q) mkdir -p `dirname $@`
4951 $(Q) $(LD) $(LDFLAGS) $(POLL_KICK_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/poll_kick_test
4952
4953endif
4954
4955objs/$(CONFIG)/test/core/iomgr/poll_kick_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4956
4957deps_poll_kick_test: $(POLL_KICK_TEST_OBJS:.o=.dep)
4958
4959ifneq ($(NO_SECURE),true)
4960ifneq ($(NO_DEPS),true)
4961-include $(POLL_KICK_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004962endif
nnoble69ac39f2014-12-12 15:43:38 -08004963endif
ctiller8919f602014-12-10 10:19:42 -08004964
ctiller8919f602014-12-10 10:19:42 -08004965
Craig Tiller17ec5f92015-01-18 11:30:41 -08004966RESOLVE_ADDRESS_TEST_SRC = \
4967 test/core/iomgr/resolve_address_test.c \
ctiller8919f602014-12-10 10:19:42 -08004968
Craig Tiller17ec5f92015-01-18 11:30:41 -08004969RESOLVE_ADDRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004970
nnoble69ac39f2014-12-12 15:43:38 -08004971ifeq ($(NO_SECURE),true)
4972
Nicolas Noble047b7272015-01-16 13:55:05 -08004973# You can't build secure targets if you don't have OpenSSL with ALPN.
4974
Craig Tiller17ec5f92015-01-18 11:30:41 -08004975bins/$(CONFIG)/resolve_address_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004976
4977else
4978
Craig Tiller17ec5f92015-01-18 11:30:41 -08004979bins/$(CONFIG)/resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08004980 $(E) "[LD] Linking $@"
4981 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004982 $(Q) $(LD) $(LDFLAGS) $(RESOLVE_ADDRESS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/resolve_address_test
ctiller8919f602014-12-10 10:19:42 -08004983
nnoble69ac39f2014-12-12 15:43:38 -08004984endif
4985
Craig Tiller17ec5f92015-01-18 11:30:41 -08004986objs/$(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 -08004987
Craig Tiller17ec5f92015-01-18 11:30:41 -08004988deps_resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004989
nnoble69ac39f2014-12-12 15:43:38 -08004990ifneq ($(NO_SECURE),true)
4991ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004992-include $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004993endif
nnoble69ac39f2014-12-12 15:43:38 -08004994endif
ctiller8919f602014-12-10 10:19:42 -08004995
ctiller8919f602014-12-10 10:19:42 -08004996
Craig Tiller17ec5f92015-01-18 11:30:41 -08004997SECURE_ENDPOINT_TEST_SRC = \
4998 test/core/security/secure_endpoint_test.c \
4999
5000SECURE_ENDPOINT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_ENDPOINT_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005001
nnoble69ac39f2014-12-12 15:43:38 -08005002ifeq ($(NO_SECURE),true)
5003
Nicolas Noble047b7272015-01-16 13:55:05 -08005004# You can't build secure targets if you don't have OpenSSL with ALPN.
5005
Craig Tiller17ec5f92015-01-18 11:30:41 -08005006bins/$(CONFIG)/secure_endpoint_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005007
5008else
5009
Craig Tiller17ec5f92015-01-18 11:30:41 -08005010bins/$(CONFIG)/secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08005011 $(E) "[LD] Linking $@"
5012 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005013 $(Q) $(LD) $(LDFLAGS) $(SECURE_ENDPOINT_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/secure_endpoint_test
ctiller8919f602014-12-10 10:19:42 -08005014
nnoble69ac39f2014-12-12 15:43:38 -08005015endif
5016
Craig Tiller17ec5f92015-01-18 11:30:41 -08005017objs/$(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 -08005018
Craig Tiller17ec5f92015-01-18 11:30:41 -08005019deps_secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005020
nnoble69ac39f2014-12-12 15:43:38 -08005021ifneq ($(NO_SECURE),true)
5022ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005023-include $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005024endif
nnoble69ac39f2014-12-12 15:43:38 -08005025endif
ctiller8919f602014-12-10 10:19:42 -08005026
ctiller8919f602014-12-10 10:19:42 -08005027
Craig Tiller17ec5f92015-01-18 11:30:41 -08005028SOCKADDR_UTILS_TEST_SRC = \
5029 test/core/iomgr/sockaddr_utils_test.c \
ctiller8919f602014-12-10 10:19:42 -08005030
Craig Tiller17ec5f92015-01-18 11:30:41 -08005031SOCKADDR_UTILS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKADDR_UTILS_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005032
nnoble69ac39f2014-12-12 15:43:38 -08005033ifeq ($(NO_SECURE),true)
5034
Nicolas Noble047b7272015-01-16 13:55:05 -08005035# You can't build secure targets if you don't have OpenSSL with ALPN.
5036
Craig Tiller17ec5f92015-01-18 11:30:41 -08005037bins/$(CONFIG)/sockaddr_utils_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005038
5039else
5040
Craig Tiller17ec5f92015-01-18 11:30:41 -08005041bins/$(CONFIG)/sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08005042 $(E) "[LD] Linking $@"
5043 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005044 $(Q) $(LD) $(LDFLAGS) $(SOCKADDR_UTILS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/sockaddr_utils_test
ctiller8919f602014-12-10 10:19:42 -08005045
nnoble69ac39f2014-12-12 15:43:38 -08005046endif
5047
Craig Tiller17ec5f92015-01-18 11:30:41 -08005048objs/$(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 -08005049
Craig Tiller17ec5f92015-01-18 11:30:41 -08005050deps_sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005051
nnoble69ac39f2014-12-12 15:43:38 -08005052ifneq ($(NO_SECURE),true)
5053ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005054-include $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005055endif
nnoble69ac39f2014-12-12 15:43:38 -08005056endif
ctiller8919f602014-12-10 10:19:42 -08005057
ctiller8919f602014-12-10 10:19:42 -08005058
Craig Tiller17ec5f92015-01-18 11:30:41 -08005059TCP_CLIENT_POSIX_TEST_SRC = \
5060 test/core/iomgr/tcp_client_posix_test.c \
ctiller8919f602014-12-10 10:19:42 -08005061
Craig Tiller17ec5f92015-01-18 11:30:41 -08005062TCP_CLIENT_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_CLIENT_POSIX_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005063
nnoble69ac39f2014-12-12 15:43:38 -08005064ifeq ($(NO_SECURE),true)
5065
Nicolas Noble047b7272015-01-16 13:55:05 -08005066# You can't build secure targets if you don't have OpenSSL with ALPN.
5067
Craig Tiller17ec5f92015-01-18 11:30:41 -08005068bins/$(CONFIG)/tcp_client_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005069
5070else
5071
Craig Tiller17ec5f92015-01-18 11:30:41 -08005072bins/$(CONFIG)/tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08005073 $(E) "[LD] Linking $@"
5074 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005075 $(Q) $(LD) $(LDFLAGS) $(TCP_CLIENT_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/tcp_client_posix_test
ctiller8919f602014-12-10 10:19:42 -08005076
nnoble69ac39f2014-12-12 15:43:38 -08005077endif
5078
Craig Tiller17ec5f92015-01-18 11:30:41 -08005079objs/$(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 -08005080
Craig Tiller17ec5f92015-01-18 11:30:41 -08005081deps_tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005082
nnoble69ac39f2014-12-12 15:43:38 -08005083ifneq ($(NO_SECURE),true)
5084ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005085-include $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005086endif
nnoble69ac39f2014-12-12 15:43:38 -08005087endif
ctiller8919f602014-12-10 10:19:42 -08005088
ctiller8919f602014-12-10 10:19:42 -08005089
Craig Tiller17ec5f92015-01-18 11:30:41 -08005090TCP_POSIX_TEST_SRC = \
5091 test/core/iomgr/tcp_posix_test.c \
ctiller3bf466f2014-12-19 16:21:57 -08005092
Craig Tiller17ec5f92015-01-18 11:30:41 -08005093TCP_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_POSIX_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08005094
5095ifeq ($(NO_SECURE),true)
5096
Nicolas Noble047b7272015-01-16 13:55:05 -08005097# You can't build secure targets if you don't have OpenSSL with ALPN.
5098
Craig Tiller17ec5f92015-01-18 11:30:41 -08005099bins/$(CONFIG)/tcp_posix_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08005100
5101else
5102
Craig Tiller17ec5f92015-01-18 11:30:41 -08005103bins/$(CONFIG)/tcp_posix_test: $(TCP_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller3bf466f2014-12-19 16:21:57 -08005104 $(E) "[LD] Linking $@"
5105 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005106 $(Q) $(LD) $(LDFLAGS) $(TCP_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/tcp_posix_test
ctiller3bf466f2014-12-19 16:21:57 -08005107
5108endif
5109
Craig Tiller17ec5f92015-01-18 11:30:41 -08005110objs/$(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 -08005111
Craig Tiller17ec5f92015-01-18 11:30:41 -08005112deps_tcp_posix_test: $(TCP_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005113
5114ifneq ($(NO_SECURE),true)
5115ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005116-include $(TCP_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005117endif
5118endif
5119
ctiller3bf466f2014-12-19 16:21:57 -08005120
Craig Tiller17ec5f92015-01-18 11:30:41 -08005121TCP_SERVER_POSIX_TEST_SRC = \
5122 test/core/iomgr/tcp_server_posix_test.c \
ctiller3bf466f2014-12-19 16:21:57 -08005123
Craig Tiller17ec5f92015-01-18 11:30:41 -08005124TCP_SERVER_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_SERVER_POSIX_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08005125
5126ifeq ($(NO_SECURE),true)
5127
Nicolas Noble047b7272015-01-16 13:55:05 -08005128# You can't build secure targets if you don't have OpenSSL with ALPN.
5129
Craig Tiller17ec5f92015-01-18 11:30:41 -08005130bins/$(CONFIG)/tcp_server_posix_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08005131
5132else
5133
Craig Tiller17ec5f92015-01-18 11:30:41 -08005134bins/$(CONFIG)/tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller3bf466f2014-12-19 16:21:57 -08005135 $(E) "[LD] Linking $@"
5136 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005137 $(Q) $(LD) $(LDFLAGS) $(TCP_SERVER_POSIX_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/tcp_server_posix_test
ctiller3bf466f2014-12-19 16:21:57 -08005138
5139endif
5140
Craig Tiller17ec5f92015-01-18 11:30:41 -08005141objs/$(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 -08005142
Craig Tiller17ec5f92015-01-18 11:30:41 -08005143deps_tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005144
5145ifneq ($(NO_SECURE),true)
5146ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005147-include $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
5148endif
5149endif
5150
5151
Craig Tiller17ec5f92015-01-18 11:30:41 -08005152TIME_AVERAGED_STATS_TEST_SRC = \
5153 test/core/iomgr/time_averaged_stats_test.c \
5154
5155TIME_AVERAGED_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_AVERAGED_STATS_TEST_SRC))))
5156
5157ifeq ($(NO_SECURE),true)
5158
5159# You can't build secure targets if you don't have OpenSSL with ALPN.
5160
5161bins/$(CONFIG)/time_averaged_stats_test: openssl_dep_error
5162
5163else
5164
5165bins/$(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
5166 $(E) "[LD] Linking $@"
5167 $(Q) mkdir -p `dirname $@`
5168 $(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
5169
5170endif
5171
5172objs/$(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
5173
5174deps_time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
5175
5176ifneq ($(NO_SECURE),true)
5177ifneq ($(NO_DEPS),true)
5178-include $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005179endif
5180endif
5181
ctiller3bf466f2014-12-19 16:21:57 -08005182
ctiller8919f602014-12-10 10:19:42 -08005183TIME_TEST_SRC = \
5184 test/core/support/time_test.c \
5185
ctillercab52e72015-01-06 13:10:23 -08005186TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005187
nnoble69ac39f2014-12-12 15:43:38 -08005188ifeq ($(NO_SECURE),true)
5189
Nicolas Noble047b7272015-01-16 13:55:05 -08005190# You can't build secure targets if you don't have OpenSSL with ALPN.
5191
ctillercab52e72015-01-06 13:10:23 -08005192bins/$(CONFIG)/time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005193
5194else
5195
nnoble5f2ecb32015-01-12 16:40:18 -08005196bins/$(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 -08005197 $(E) "[LD] Linking $@"
5198 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005199 $(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 -08005200
nnoble69ac39f2014-12-12 15:43:38 -08005201endif
5202
Craig Tiller770f60a2015-01-12 17:44:43 -08005203objs/$(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 -08005204
Craig Tiller8f126a62015-01-15 08:50:19 -08005205deps_time_test: $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005206
nnoble69ac39f2014-12-12 15:43:38 -08005207ifneq ($(NO_SECURE),true)
5208ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005209-include $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005210endif
nnoble69ac39f2014-12-12 15:43:38 -08005211endif
ctiller8919f602014-12-10 10:19:42 -08005212
ctiller8919f602014-12-10 10:19:42 -08005213
Craig Tiller17ec5f92015-01-18 11:30:41 -08005214TIMEOUT_ENCODING_TEST_SRC = \
5215 test/core/transport/chttp2/timeout_encoding_test.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08005216
Craig Tiller17ec5f92015-01-18 11:30:41 -08005217TIMEOUT_ENCODING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMEOUT_ENCODING_TEST_SRC))))
David Klempner7f3ed1e2015-01-16 15:35:56 -08005218
5219ifeq ($(NO_SECURE),true)
5220
5221# You can't build secure targets if you don't have OpenSSL with ALPN.
5222
Craig Tiller17ec5f92015-01-18 11:30:41 -08005223bins/$(CONFIG)/timeout_encoding_test: openssl_dep_error
David Klempner7f3ed1e2015-01-16 15:35:56 -08005224
5225else
5226
Craig Tiller17ec5f92015-01-18 11:30:41 -08005227bins/$(CONFIG)/timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
David Klempner7f3ed1e2015-01-16 15:35:56 -08005228 $(E) "[LD] Linking $@"
5229 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005230 $(Q) $(LD) $(LDFLAGS) $(TIMEOUT_ENCODING_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/timeout_encoding_test
David Klempner7f3ed1e2015-01-16 15:35:56 -08005231
5232endif
5233
Craig Tiller17ec5f92015-01-18 11:30:41 -08005234objs/$(CONFIG)/test/core/transport/chttp2/timeout_encoding_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
David Klempner7f3ed1e2015-01-16 15:35:56 -08005235
Craig Tiller17ec5f92015-01-18 11:30:41 -08005236deps_timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
David Klempner7f3ed1e2015-01-16 15:35:56 -08005237
5238ifneq ($(NO_SECURE),true)
5239ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005240-include $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
5241endif
5242endif
5243
5244
5245TRANSPORT_METADATA_TEST_SRC = \
5246 test/core/transport/metadata_test.c \
5247
5248TRANSPORT_METADATA_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_METADATA_TEST_SRC))))
5249
5250ifeq ($(NO_SECURE),true)
5251
5252# You can't build secure targets if you don't have OpenSSL with ALPN.
5253
5254bins/$(CONFIG)/transport_metadata_test: openssl_dep_error
5255
5256else
5257
5258bins/$(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
5259 $(E) "[LD] Linking $@"
5260 $(Q) mkdir -p `dirname $@`
5261 $(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
5262
5263endif
5264
5265objs/$(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
5266
5267deps_transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
5268
5269ifneq ($(NO_SECURE),true)
5270ifneq ($(NO_DEPS),true)
5271-include $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
David Klempner7f3ed1e2015-01-16 15:35:56 -08005272endif
5273endif
5274
5275
Craig Tiller996d9df2015-01-19 21:06:50 -08005276CHANNEL_ARGUMENTS_TEST_SRC = \
5277 test/cpp/client/channel_arguments_test.cc \
5278
5279CHANNEL_ARGUMENTS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNEL_ARGUMENTS_TEST_SRC))))
5280
5281ifeq ($(NO_SECURE),true)
5282
5283# You can't build secure targets if you don't have OpenSSL with ALPN.
5284
5285bins/$(CONFIG)/channel_arguments_test: openssl_dep_error
5286
5287else
5288
5289bins/$(CONFIG)/channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5290 $(E) "[LD] Linking $@"
5291 $(Q) mkdir -p `dirname $@`
5292 $(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
5293
5294endif
5295
5296objs/$(CONFIG)/test/cpp/client/channel_arguments_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5297
5298deps_channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
5299
5300ifneq ($(NO_SECURE),true)
5301ifneq ($(NO_DEPS),true)
5302-include $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
5303endif
5304endif
5305
5306
5307CPP_PLUGIN_SRC = \
5308 src/compiler/cpp_generator.cc \
5309 src/compiler/cpp_plugin.cc \
5310
5311CPP_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CPP_PLUGIN_SRC))))
5312
5313bins/$(CONFIG)/cpp_plugin: $(CPP_PLUGIN_OBJS)
5314 $(E) "[HOSTLD] Linking $@"
5315 $(Q) mkdir -p `dirname $@`
5316 $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(CPP_PLUGIN_OBJS) $(HOST_LDLIBSXX) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o bins/$(CONFIG)/cpp_plugin
5317
5318objs/$(CONFIG)/src/compiler/cpp_generator.o:
5319objs/$(CONFIG)/src/compiler/cpp_plugin.o:
5320
5321deps_cpp_plugin: $(CPP_PLUGIN_OBJS:.o=.dep)
5322
5323ifneq ($(NO_DEPS),true)
5324-include $(CPP_PLUGIN_OBJS:.o=.dep)
5325endif
5326
5327
5328CREDENTIALS_TEST_SRC = \
5329 test/cpp/client/credentials_test.cc \
5330
5331CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CREDENTIALS_TEST_SRC))))
5332
5333ifeq ($(NO_SECURE),true)
5334
5335# You can't build secure targets if you don't have OpenSSL with ALPN.
5336
5337bins/$(CONFIG)/credentials_test: openssl_dep_error
5338
5339else
5340
5341bins/$(CONFIG)/credentials_test: $(CREDENTIALS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5342 $(E) "[LD] Linking $@"
5343 $(Q) mkdir -p `dirname $@`
5344 $(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
5345
5346endif
5347
5348objs/$(CONFIG)/test/cpp/client/credentials_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5349
5350deps_credentials_test: $(CREDENTIALS_TEST_OBJS:.o=.dep)
5351
5352ifneq ($(NO_SECURE),true)
5353ifneq ($(NO_DEPS),true)
5354-include $(CREDENTIALS_TEST_OBJS:.o=.dep)
5355endif
5356endif
5357
5358
5359END2END_TEST_SRC = \
5360 test/cpp/end2end/end2end_test.cc \
5361
5362END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(END2END_TEST_SRC))))
5363
5364ifeq ($(NO_SECURE),true)
5365
5366# You can't build secure targets if you don't have OpenSSL with ALPN.
5367
5368bins/$(CONFIG)/end2end_test: openssl_dep_error
5369
5370else
5371
5372bins/$(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
5373 $(E) "[LD] Linking $@"
5374 $(Q) mkdir -p `dirname $@`
5375 $(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
5376
5377endif
5378
5379objs/$(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
5380
5381deps_end2end_test: $(END2END_TEST_OBJS:.o=.dep)
5382
5383ifneq ($(NO_SECURE),true)
5384ifneq ($(NO_DEPS),true)
5385-include $(END2END_TEST_OBJS:.o=.dep)
5386endif
5387endif
5388
5389
5390INTEROP_CLIENT_SRC = \
5391 gens/test/cpp/interop/empty.pb.cc \
5392 gens/test/cpp/interop/messages.pb.cc \
5393 gens/test/cpp/interop/test.pb.cc \
5394 test/cpp/interop/client.cc \
5395
5396INTEROP_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_CLIENT_SRC))))
5397
5398ifeq ($(NO_SECURE),true)
5399
5400# You can't build secure targets if you don't have OpenSSL with ALPN.
5401
5402bins/$(CONFIG)/interop_client: openssl_dep_error
5403
5404else
5405
5406bins/$(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
5407 $(E) "[LD] Linking $@"
5408 $(Q) mkdir -p `dirname $@`
5409 $(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
5410
5411endif
5412
5413objs/$(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
5414objs/$(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
5415objs/$(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
5416objs/$(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
5417
5418deps_interop_client: $(INTEROP_CLIENT_OBJS:.o=.dep)
5419
5420ifneq ($(NO_SECURE),true)
5421ifneq ($(NO_DEPS),true)
5422-include $(INTEROP_CLIENT_OBJS:.o=.dep)
5423endif
5424endif
5425
5426
5427INTEROP_SERVER_SRC = \
5428 gens/test/cpp/interop/empty.pb.cc \
5429 gens/test/cpp/interop/messages.pb.cc \
5430 gens/test/cpp/interop/test.pb.cc \
5431 test/cpp/interop/server.cc \
5432
5433INTEROP_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_SERVER_SRC))))
5434
5435ifeq ($(NO_SECURE),true)
5436
5437# You can't build secure targets if you don't have OpenSSL with ALPN.
5438
5439bins/$(CONFIG)/interop_server: openssl_dep_error
5440
5441else
5442
5443bins/$(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
5444 $(E) "[LD] Linking $@"
5445 $(Q) mkdir -p `dirname $@`
5446 $(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
5447
5448endif
5449
5450objs/$(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
5451objs/$(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
5452objs/$(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
5453objs/$(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
5454
5455deps_interop_server: $(INTEROP_SERVER_OBJS:.o=.dep)
5456
5457ifneq ($(NO_SECURE),true)
5458ifneq ($(NO_DEPS),true)
5459-include $(INTEROP_SERVER_OBJS:.o=.dep)
5460endif
5461endif
5462
5463
5464QPS_CLIENT_SRC = \
5465 gens/test/cpp/qps/qpstest.pb.cc \
5466 test/cpp/qps/client.cc \
5467
5468QPS_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_CLIENT_SRC))))
5469
5470ifeq ($(NO_SECURE),true)
5471
5472# You can't build secure targets if you don't have OpenSSL with ALPN.
5473
5474bins/$(CONFIG)/qps_client: openssl_dep_error
5475
5476else
5477
5478bins/$(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
5479 $(E) "[LD] Linking $@"
5480 $(Q) mkdir -p `dirname $@`
5481 $(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
5482
5483endif
5484
5485objs/$(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
5486objs/$(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
5487
5488deps_qps_client: $(QPS_CLIENT_OBJS:.o=.dep)
5489
5490ifneq ($(NO_SECURE),true)
5491ifneq ($(NO_DEPS),true)
5492-include $(QPS_CLIENT_OBJS:.o=.dep)
5493endif
5494endif
5495
5496
5497QPS_SERVER_SRC = \
5498 gens/test/cpp/qps/qpstest.pb.cc \
5499 test/cpp/qps/server.cc \
5500
5501QPS_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_SERVER_SRC))))
5502
5503ifeq ($(NO_SECURE),true)
5504
5505# You can't build secure targets if you don't have OpenSSL with ALPN.
5506
5507bins/$(CONFIG)/qps_server: openssl_dep_error
5508
5509else
5510
5511bins/$(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
5512 $(E) "[LD] Linking $@"
5513 $(Q) mkdir -p `dirname $@`
5514 $(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
5515
5516endif
5517
5518objs/$(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
5519objs/$(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
5520
5521deps_qps_server: $(QPS_SERVER_OBJS:.o=.dep)
5522
5523ifneq ($(NO_SECURE),true)
5524ifneq ($(NO_DEPS),true)
5525-include $(QPS_SERVER_OBJS:.o=.dep)
5526endif
5527endif
5528
5529
5530RUBY_PLUGIN_SRC = \
5531 src/compiler/ruby_generator.cc \
5532 src/compiler/ruby_plugin.cc \
5533
5534RUBY_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RUBY_PLUGIN_SRC))))
5535
5536bins/$(CONFIG)/ruby_plugin: $(RUBY_PLUGIN_OBJS)
5537 $(E) "[HOSTLD] Linking $@"
5538 $(Q) mkdir -p `dirname $@`
5539 $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(RUBY_PLUGIN_OBJS) $(HOST_LDLIBSXX) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o bins/$(CONFIG)/ruby_plugin
5540
5541objs/$(CONFIG)/src/compiler/ruby_generator.o:
5542objs/$(CONFIG)/src/compiler/ruby_plugin.o:
5543
5544deps_ruby_plugin: $(RUBY_PLUGIN_OBJS:.o=.dep)
5545
5546ifneq ($(NO_DEPS),true)
5547-include $(RUBY_PLUGIN_OBJS:.o=.dep)
5548endif
5549
5550
5551STATUS_TEST_SRC = \
5552 test/cpp/util/status_test.cc \
5553
5554STATUS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(STATUS_TEST_SRC))))
5555
5556ifeq ($(NO_SECURE),true)
5557
5558# You can't build secure targets if you don't have OpenSSL with ALPN.
5559
5560bins/$(CONFIG)/status_test: openssl_dep_error
5561
5562else
5563
5564bins/$(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
5565 $(E) "[LD] Linking $@"
5566 $(Q) mkdir -p `dirname $@`
5567 $(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
5568
5569endif
5570
5571objs/$(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
5572
5573deps_status_test: $(STATUS_TEST_OBJS:.o=.dep)
5574
5575ifneq ($(NO_SECURE),true)
5576ifneq ($(NO_DEPS),true)
5577-include $(STATUS_TEST_OBJS:.o=.dep)
5578endif
5579endif
5580
5581
5582SYNC_CLIENT_ASYNC_SERVER_TEST_SRC = \
5583 test/cpp/end2end/sync_client_async_server_test.cc \
5584
5585SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SYNC_CLIENT_ASYNC_SERVER_TEST_SRC))))
5586
5587ifeq ($(NO_SECURE),true)
5588
5589# You can't build secure targets if you don't have OpenSSL with ALPN.
5590
5591bins/$(CONFIG)/sync_client_async_server_test: openssl_dep_error
5592
5593else
5594
5595bins/$(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
5596 $(E) "[LD] Linking $@"
5597 $(Q) mkdir -p `dirname $@`
5598 $(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
5599
5600endif
5601
5602objs/$(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
5603
5604deps_sync_client_async_server_test: $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
5605
5606ifneq ($(NO_SECURE),true)
5607ifneq ($(NO_DEPS),true)
5608-include $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
5609endif
5610endif
5611
5612
5613THREAD_POOL_TEST_SRC = \
5614 test/cpp/server/thread_pool_test.cc \
5615
5616THREAD_POOL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(THREAD_POOL_TEST_SRC))))
5617
5618ifeq ($(NO_SECURE),true)
5619
5620# You can't build secure targets if you don't have OpenSSL with ALPN.
5621
5622bins/$(CONFIG)/thread_pool_test: openssl_dep_error
5623
5624else
5625
5626bins/$(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
5627 $(E) "[LD] Linking $@"
5628 $(Q) mkdir -p `dirname $@`
5629 $(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
5630
5631endif
5632
5633objs/$(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
5634
5635deps_thread_pool_test: $(THREAD_POOL_TEST_OBJS:.o=.dep)
5636
5637ifneq ($(NO_SECURE),true)
5638ifneq ($(NO_DEPS),true)
5639-include $(THREAD_POOL_TEST_OBJS:.o=.dep)
5640endif
5641endif
5642
5643
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005644CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_SRC = \
5645
ctillercab52e72015-01-06 13:10:23 -08005646CHTTP2_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 -08005647
nnoble69ac39f2014-12-12 15:43:38 -08005648ifeq ($(NO_SECURE),true)
5649
Nicolas Noble047b7272015-01-16 13:55:05 -08005650# You can't build secure targets if you don't have OpenSSL with ALPN.
5651
ctillercab52e72015-01-06 13:10:23 -08005652bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005653
5654else
5655
nnoble5f2ecb32015-01-12 16:40:18 -08005656bins/$(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 -08005657 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005658 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005659 $(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 -08005660
nnoble69ac39f2014-12-12 15:43:38 -08005661endif
5662
Craig Tillerd4773f52015-01-12 16:38:47 -08005663
Craig Tiller8f126a62015-01-15 08:50:19 -08005664deps_chttp2_fake_security_cancel_after_accept_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005665
nnoble69ac39f2014-12-12 15:43:38 -08005666ifneq ($(NO_SECURE),true)
5667ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005668-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005669endif
nnoble69ac39f2014-12-12 15:43:38 -08005670endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005671
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005672
5673CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
5674
ctillercab52e72015-01-06 13:10:23 -08005675CHTTP2_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 -08005676
nnoble69ac39f2014-12-12 15:43:38 -08005677ifeq ($(NO_SECURE),true)
5678
Nicolas Noble047b7272015-01-16 13:55:05 -08005679# You can't build secure targets if you don't have OpenSSL with ALPN.
5680
ctillercab52e72015-01-06 13:10:23 -08005681bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005682
5683else
5684
nnoble5f2ecb32015-01-12 16:40:18 -08005685bins/$(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 -08005686 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005687 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005688 $(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 -08005689
nnoble69ac39f2014-12-12 15:43:38 -08005690endif
5691
Craig Tillerd4773f52015-01-12 16:38:47 -08005692
Craig Tiller8f126a62015-01-15 08:50:19 -08005693deps_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 -08005694
nnoble69ac39f2014-12-12 15:43:38 -08005695ifneq ($(NO_SECURE),true)
5696ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005697-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005698endif
nnoble69ac39f2014-12-12 15:43:38 -08005699endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005700
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005701
5702CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_SRC = \
5703
ctillercab52e72015-01-06 13:10:23 -08005704CHTTP2_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 -08005705
nnoble69ac39f2014-12-12 15:43:38 -08005706ifeq ($(NO_SECURE),true)
5707
Nicolas Noble047b7272015-01-16 13:55:05 -08005708# You can't build secure targets if you don't have OpenSSL with ALPN.
5709
ctillercab52e72015-01-06 13:10:23 -08005710bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005711
5712else
5713
nnoble5f2ecb32015-01-12 16:40:18 -08005714bins/$(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 -08005715 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005716 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005717 $(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 -08005718
nnoble69ac39f2014-12-12 15:43:38 -08005719endif
5720
Craig Tillerd4773f52015-01-12 16:38:47 -08005721
Craig Tiller8f126a62015-01-15 08:50:19 -08005722deps_chttp2_fake_security_cancel_after_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005723
nnoble69ac39f2014-12-12 15:43:38 -08005724ifneq ($(NO_SECURE),true)
5725ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005726-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005727endif
nnoble69ac39f2014-12-12 15:43:38 -08005728endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005729
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005730
5731CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_SRC = \
5732
ctillercab52e72015-01-06 13:10:23 -08005733CHTTP2_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 -08005734
nnoble69ac39f2014-12-12 15:43:38 -08005735ifeq ($(NO_SECURE),true)
5736
Nicolas Noble047b7272015-01-16 13:55:05 -08005737# You can't build secure targets if you don't have OpenSSL with ALPN.
5738
ctillercab52e72015-01-06 13:10:23 -08005739bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005740
5741else
5742
nnoble5f2ecb32015-01-12 16:40:18 -08005743bins/$(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 -08005744 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005745 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005746 $(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 -08005747
nnoble69ac39f2014-12-12 15:43:38 -08005748endif
5749
Craig Tillerd4773f52015-01-12 16:38:47 -08005750
Craig Tiller8f126a62015-01-15 08:50:19 -08005751deps_chttp2_fake_security_cancel_before_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005752
nnoble69ac39f2014-12-12 15:43:38 -08005753ifneq ($(NO_SECURE),true)
5754ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005755-include $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005756endif
nnoble69ac39f2014-12-12 15:43:38 -08005757endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005758
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005759
5760CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_SRC = \
5761
ctillercab52e72015-01-06 13:10:23 -08005762CHTTP2_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 -08005763
nnoble69ac39f2014-12-12 15:43:38 -08005764ifeq ($(NO_SECURE),true)
5765
Nicolas Noble047b7272015-01-16 13:55:05 -08005766# You can't build secure targets if you don't have OpenSSL with ALPN.
5767
ctillercab52e72015-01-06 13:10:23 -08005768bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005769
5770else
5771
nnoble5f2ecb32015-01-12 16:40:18 -08005772bins/$(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 -08005773 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005774 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005775 $(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 -08005776
nnoble69ac39f2014-12-12 15:43:38 -08005777endif
5778
Craig Tillerd4773f52015-01-12 16:38:47 -08005779
Craig Tiller8f126a62015-01-15 08:50:19 -08005780deps_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 -08005781
nnoble69ac39f2014-12-12 15:43:38 -08005782ifneq ($(NO_SECURE),true)
5783ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005784-include $(CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005785endif
nnoble69ac39f2014-12-12 15:43:38 -08005786endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005787
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005788
hongyu24200d32015-01-08 15:13:49 -08005789CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
5790
5791CHTTP2_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 -08005792
5793ifeq ($(NO_SECURE),true)
5794
Nicolas Noble047b7272015-01-16 13:55:05 -08005795# You can't build secure targets if you don't have OpenSSL with ALPN.
5796
hongyu24200d32015-01-08 15:13:49 -08005797bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test: openssl_dep_error
5798
5799else
5800
nnoble5f2ecb32015-01-12 16:40:18 -08005801bins/$(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 -08005802 $(E) "[LD] Linking $@"
5803 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005804 $(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 -08005805
5806endif
5807
Craig Tillerd4773f52015-01-12 16:38:47 -08005808
Craig Tiller8f126a62015-01-15 08:50:19 -08005809deps_chttp2_fake_security_census_simple_request_test: $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005810
5811ifneq ($(NO_SECURE),true)
5812ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005813-include $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005814endif
5815endif
5816
hongyu24200d32015-01-08 15:13:49 -08005817
ctillerc6d61c42014-12-15 14:52:08 -08005818CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_SRC = \
5819
ctillercab52e72015-01-06 13:10:23 -08005820CHTTP2_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 -08005821
5822ifeq ($(NO_SECURE),true)
5823
Nicolas Noble047b7272015-01-16 13:55:05 -08005824# You can't build secure targets if you don't have OpenSSL with ALPN.
5825
ctillercab52e72015-01-06 13:10:23 -08005826bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08005827
5828else
5829
nnoble5f2ecb32015-01-12 16:40:18 -08005830bins/$(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 -08005831 $(E) "[LD] Linking $@"
5832 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005833 $(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 -08005834
5835endif
5836
Craig Tillerd4773f52015-01-12 16:38:47 -08005837
Craig Tiller8f126a62015-01-15 08:50:19 -08005838deps_chttp2_fake_security_disappearing_server_test: $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005839
5840ifneq ($(NO_SECURE),true)
5841ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005842-include $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005843endif
5844endif
5845
ctillerc6d61c42014-12-15 14:52:08 -08005846
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005847CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
5848
ctillercab52e72015-01-06 13:10:23 -08005849CHTTP2_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 -08005850
nnoble69ac39f2014-12-12 15:43:38 -08005851ifeq ($(NO_SECURE),true)
5852
Nicolas Noble047b7272015-01-16 13:55:05 -08005853# You can't build secure targets if you don't have OpenSSL with ALPN.
5854
ctillercab52e72015-01-06 13:10:23 -08005855bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005856
5857else
5858
nnoble5f2ecb32015-01-12 16:40:18 -08005859bins/$(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 -08005860 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005861 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005862 $(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 -08005863
nnoble69ac39f2014-12-12 15:43:38 -08005864endif
5865
Craig Tillerd4773f52015-01-12 16:38:47 -08005866
Craig Tiller8f126a62015-01-15 08:50:19 -08005867deps_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 -08005868
nnoble69ac39f2014-12-12 15:43:38 -08005869ifneq ($(NO_SECURE),true)
5870ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005871-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005872endif
nnoble69ac39f2014-12-12 15:43:38 -08005873endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005874
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005875
5876CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
5877
ctillercab52e72015-01-06 13:10:23 -08005878CHTTP2_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 -08005879
nnoble69ac39f2014-12-12 15:43:38 -08005880ifeq ($(NO_SECURE),true)
5881
Nicolas Noble047b7272015-01-16 13:55:05 -08005882# You can't build secure targets if you don't have OpenSSL with ALPN.
5883
ctillercab52e72015-01-06 13:10:23 -08005884bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005885
5886else
5887
nnoble5f2ecb32015-01-12 16:40:18 -08005888bins/$(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 -08005889 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005890 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005891 $(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 -08005892
nnoble69ac39f2014-12-12 15:43:38 -08005893endif
5894
Craig Tillerd4773f52015-01-12 16:38:47 -08005895
Craig Tiller8f126a62015-01-15 08:50:19 -08005896deps_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 -08005897
nnoble69ac39f2014-12-12 15:43:38 -08005898ifneq ($(NO_SECURE),true)
5899ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005900-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005901endif
nnoble69ac39f2014-12-12 15:43:38 -08005902endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005903
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005904
Craig Tiller4ffdcd52015-01-16 11:34:55 -08005905CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
5906
5907CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
5908
5909ifeq ($(NO_SECURE),true)
5910
David Klempner7f3ed1e2015-01-16 15:35:56 -08005911# You can't build secure targets if you don't have OpenSSL with ALPN.
5912
Craig Tiller4ffdcd52015-01-16 11:34:55 -08005913bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test: openssl_dep_error
5914
5915else
5916
5917bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test: $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
5918 $(E) "[LD] Linking $@"
5919 $(Q) mkdir -p `dirname $@`
5920 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test
5921
5922endif
5923
5924
5925deps_chttp2_fake_security_graceful_server_shutdown_test: $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
5926
5927ifneq ($(NO_SECURE),true)
5928ifneq ($(NO_DEPS),true)
5929-include $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
5930endif
5931endif
5932
5933
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005934CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_SRC = \
5935
ctillercab52e72015-01-06 13:10:23 -08005936CHTTP2_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 -08005937
nnoble69ac39f2014-12-12 15:43:38 -08005938ifeq ($(NO_SECURE),true)
5939
Nicolas Noble047b7272015-01-16 13:55:05 -08005940# You can't build secure targets if you don't have OpenSSL with ALPN.
5941
ctillercab52e72015-01-06 13:10:23 -08005942bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005943
5944else
5945
nnoble5f2ecb32015-01-12 16:40:18 -08005946bins/$(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 -08005947 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005948 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005949 $(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 -08005950
nnoble69ac39f2014-12-12 15:43:38 -08005951endif
5952
Craig Tillerd4773f52015-01-12 16:38:47 -08005953
Craig Tiller8f126a62015-01-15 08:50:19 -08005954deps_chttp2_fake_security_invoke_large_request_test: $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005955
nnoble69ac39f2014-12-12 15:43:38 -08005956ifneq ($(NO_SECURE),true)
5957ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005958-include $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005959endif
nnoble69ac39f2014-12-12 15:43:38 -08005960endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005961
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005962
5963CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_SRC = \
5964
ctillercab52e72015-01-06 13:10:23 -08005965CHTTP2_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 -08005966
nnoble69ac39f2014-12-12 15:43:38 -08005967ifeq ($(NO_SECURE),true)
5968
Nicolas Noble047b7272015-01-16 13:55:05 -08005969# You can't build secure targets if you don't have OpenSSL with ALPN.
5970
ctillercab52e72015-01-06 13:10:23 -08005971bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005972
5973else
5974
nnoble5f2ecb32015-01-12 16:40:18 -08005975bins/$(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 -08005976 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005977 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005978 $(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 -08005979
nnoble69ac39f2014-12-12 15:43:38 -08005980endif
5981
Craig Tillerd4773f52015-01-12 16:38:47 -08005982
Craig Tiller8f126a62015-01-15 08:50:19 -08005983deps_chttp2_fake_security_max_concurrent_streams_test: $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005984
nnoble69ac39f2014-12-12 15:43:38 -08005985ifneq ($(NO_SECURE),true)
5986ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005987-include $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005988endif
nnoble69ac39f2014-12-12 15:43:38 -08005989endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005990
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005991
5992CHTTP2_FAKE_SECURITY_NO_OP_TEST_SRC = \
5993
ctillercab52e72015-01-06 13:10:23 -08005994CHTTP2_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 -08005995
nnoble69ac39f2014-12-12 15:43:38 -08005996ifeq ($(NO_SECURE),true)
5997
Nicolas Noble047b7272015-01-16 13:55:05 -08005998# You can't build secure targets if you don't have OpenSSL with ALPN.
5999
ctillercab52e72015-01-06 13:10:23 -08006000bins/$(CONFIG)/chttp2_fake_security_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006001
6002else
6003
nnoble5f2ecb32015-01-12 16:40:18 -08006004bins/$(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 -08006005 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006006 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006007 $(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 -08006008
nnoble69ac39f2014-12-12 15:43:38 -08006009endif
6010
Craig Tillerd4773f52015-01-12 16:38:47 -08006011
Craig Tiller8f126a62015-01-15 08:50:19 -08006012deps_chttp2_fake_security_no_op_test: $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006013
nnoble69ac39f2014-12-12 15:43:38 -08006014ifneq ($(NO_SECURE),true)
6015ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006016-include $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006017endif
nnoble69ac39f2014-12-12 15:43:38 -08006018endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006019
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006020
6021CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_SRC = \
6022
ctillercab52e72015-01-06 13:10:23 -08006023CHTTP2_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 -08006024
nnoble69ac39f2014-12-12 15:43:38 -08006025ifeq ($(NO_SECURE),true)
6026
Nicolas Noble047b7272015-01-16 13:55:05 -08006027# You can't build secure targets if you don't have OpenSSL with ALPN.
6028
ctillercab52e72015-01-06 13:10:23 -08006029bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006030
6031else
6032
nnoble5f2ecb32015-01-12 16:40:18 -08006033bins/$(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 -08006034 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006035 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006036 $(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 -08006037
nnoble69ac39f2014-12-12 15:43:38 -08006038endif
6039
Craig Tillerd4773f52015-01-12 16:38:47 -08006040
Craig Tiller8f126a62015-01-15 08:50:19 -08006041deps_chttp2_fake_security_ping_pong_streaming_test: $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006042
nnoble69ac39f2014-12-12 15:43:38 -08006043ifneq ($(NO_SECURE),true)
6044ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006045-include $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006046endif
nnoble69ac39f2014-12-12 15:43:38 -08006047endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006048
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006049
ctiller33023c42014-12-12 16:28:33 -08006050CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
6051
ctillercab52e72015-01-06 13:10:23 -08006052CHTTP2_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 -08006053
6054ifeq ($(NO_SECURE),true)
6055
Nicolas Noble047b7272015-01-16 13:55:05 -08006056# You can't build secure targets if you don't have OpenSSL with ALPN.
6057
ctillercab52e72015-01-06 13:10:23 -08006058bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08006059
6060else
6061
nnoble5f2ecb32015-01-12 16:40:18 -08006062bins/$(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 -08006063 $(E) "[LD] Linking $@"
6064 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006065 $(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 -08006066
6067endif
6068
Craig Tillerd4773f52015-01-12 16:38:47 -08006069
Craig Tiller8f126a62015-01-15 08:50:19 -08006070deps_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 -08006071
6072ifneq ($(NO_SECURE),true)
6073ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006074-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006075endif
6076endif
6077
ctiller33023c42014-12-12 16:28:33 -08006078
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006079CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
6080
ctillercab52e72015-01-06 13:10:23 -08006081CHTTP2_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 -08006082
nnoble69ac39f2014-12-12 15:43:38 -08006083ifeq ($(NO_SECURE),true)
6084
Nicolas Noble047b7272015-01-16 13:55:05 -08006085# You can't build secure targets if you don't have OpenSSL with ALPN.
6086
ctillercab52e72015-01-06 13:10:23 -08006087bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006088
6089else
6090
nnoble5f2ecb32015-01-12 16:40:18 -08006091bins/$(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 -08006092 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006093 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006094 $(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 -08006095
nnoble69ac39f2014-12-12 15:43:38 -08006096endif
6097
Craig Tillerd4773f52015-01-12 16:38:47 -08006098
Craig Tiller8f126a62015-01-15 08:50:19 -08006099deps_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 -08006100
nnoble69ac39f2014-12-12 15:43:38 -08006101ifneq ($(NO_SECURE),true)
6102ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006103-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006104endif
nnoble69ac39f2014-12-12 15:43:38 -08006105endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006106
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006107
6108CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
6109
ctillercab52e72015-01-06 13:10:23 -08006110CHTTP2_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 -08006111
nnoble69ac39f2014-12-12 15:43:38 -08006112ifeq ($(NO_SECURE),true)
6113
Nicolas Noble047b7272015-01-16 13:55:05 -08006114# You can't build secure targets if you don't have OpenSSL with ALPN.
6115
ctillercab52e72015-01-06 13:10:23 -08006116bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006117
6118else
6119
nnoble5f2ecb32015-01-12 16:40:18 -08006120bins/$(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 -08006121 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006122 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006123 $(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 -08006124
nnoble69ac39f2014-12-12 15:43:38 -08006125endif
6126
Craig Tillerd4773f52015-01-12 16:38:47 -08006127
Craig Tiller8f126a62015-01-15 08:50:19 -08006128deps_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 -08006129
nnoble69ac39f2014-12-12 15:43:38 -08006130ifneq ($(NO_SECURE),true)
6131ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006132-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006133endif
nnoble69ac39f2014-12-12 15:43:38 -08006134endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006135
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006136
ctiller2845cad2014-12-15 15:14:12 -08006137CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
6138
ctillercab52e72015-01-06 13:10:23 -08006139CHTTP2_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 -08006140
6141ifeq ($(NO_SECURE),true)
6142
Nicolas Noble047b7272015-01-16 13:55:05 -08006143# You can't build secure targets if you don't have OpenSSL with ALPN.
6144
ctillercab52e72015-01-06 13:10:23 -08006145bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08006146
6147else
6148
nnoble5f2ecb32015-01-12 16:40:18 -08006149bins/$(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 -08006150 $(E) "[LD] Linking $@"
6151 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006152 $(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 -08006153
6154endif
6155
Craig Tillerd4773f52015-01-12 16:38:47 -08006156
Craig Tiller8f126a62015-01-15 08:50:19 -08006157deps_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 -08006158
6159ifneq ($(NO_SECURE),true)
6160ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006161-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006162endif
6163endif
6164
ctiller2845cad2014-12-15 15:14:12 -08006165
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006166CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6167
ctillercab52e72015-01-06 13:10:23 -08006168CHTTP2_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 -08006169
nnoble69ac39f2014-12-12 15:43:38 -08006170ifeq ($(NO_SECURE),true)
6171
Nicolas Noble047b7272015-01-16 13:55:05 -08006172# You can't build secure targets if you don't have OpenSSL with ALPN.
6173
ctillercab52e72015-01-06 13:10:23 -08006174bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006175
6176else
6177
nnoble5f2ecb32015-01-12 16:40:18 -08006178bins/$(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 -08006179 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006180 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006181 $(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 -08006182
nnoble69ac39f2014-12-12 15:43:38 -08006183endif
6184
Craig Tillerd4773f52015-01-12 16:38:47 -08006185
Craig Tiller8f126a62015-01-15 08:50:19 -08006186deps_chttp2_fake_security_simple_delayed_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006187
nnoble69ac39f2014-12-12 15:43:38 -08006188ifneq ($(NO_SECURE),true)
6189ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006190-include $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006191endif
nnoble69ac39f2014-12-12 15:43:38 -08006192endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006193
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006194
6195CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_SRC = \
6196
ctillercab52e72015-01-06 13:10:23 -08006197CHTTP2_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 -08006198
nnoble69ac39f2014-12-12 15:43:38 -08006199ifeq ($(NO_SECURE),true)
6200
Nicolas Noble047b7272015-01-16 13:55:05 -08006201# You can't build secure targets if you don't have OpenSSL with ALPN.
6202
ctillercab52e72015-01-06 13:10:23 -08006203bins/$(CONFIG)/chttp2_fake_security_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006204
6205else
6206
nnoble5f2ecb32015-01-12 16:40:18 -08006207bins/$(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 -08006208 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006209 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006210 $(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 -08006211
nnoble69ac39f2014-12-12 15:43:38 -08006212endif
6213
Craig Tillerd4773f52015-01-12 16:38:47 -08006214
Craig Tiller8f126a62015-01-15 08:50:19 -08006215deps_chttp2_fake_security_simple_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006216
nnoble69ac39f2014-12-12 15:43:38 -08006217ifneq ($(NO_SECURE),true)
6218ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006219-include $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006220endif
nnoble69ac39f2014-12-12 15:43:38 -08006221endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006222
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006223
nathaniel52878172014-12-09 10:17:19 -08006224CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006225
ctillercab52e72015-01-06 13:10:23 -08006226CHTTP2_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 -08006227
nnoble69ac39f2014-12-12 15:43:38 -08006228ifeq ($(NO_SECURE),true)
6229
Nicolas Noble047b7272015-01-16 13:55:05 -08006230# You can't build secure targets if you don't have OpenSSL with ALPN.
6231
ctillercab52e72015-01-06 13:10:23 -08006232bins/$(CONFIG)/chttp2_fake_security_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006233
6234else
6235
nnoble5f2ecb32015-01-12 16:40:18 -08006236bins/$(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 -08006237 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006238 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006239 $(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 -08006240
nnoble69ac39f2014-12-12 15:43:38 -08006241endif
6242
Craig Tillerd4773f52015-01-12 16:38:47 -08006243
Craig Tiller8f126a62015-01-15 08:50:19 -08006244deps_chttp2_fake_security_thread_stress_test: $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006245
nnoble69ac39f2014-12-12 15:43:38 -08006246ifneq ($(NO_SECURE),true)
6247ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006248-include $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006249endif
nnoble69ac39f2014-12-12 15:43:38 -08006250endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006251
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006252
6253CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6254
ctillercab52e72015-01-06 13:10:23 -08006255CHTTP2_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 -08006256
nnoble69ac39f2014-12-12 15:43:38 -08006257ifeq ($(NO_SECURE),true)
6258
Nicolas Noble047b7272015-01-16 13:55:05 -08006259# You can't build secure targets if you don't have OpenSSL with ALPN.
6260
ctillercab52e72015-01-06 13:10:23 -08006261bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006262
6263else
6264
nnoble5f2ecb32015-01-12 16:40:18 -08006265bins/$(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 -08006266 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006267 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006268 $(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 -08006269
nnoble69ac39f2014-12-12 15:43:38 -08006270endif
6271
Craig Tillerd4773f52015-01-12 16:38:47 -08006272
Craig Tiller8f126a62015-01-15 08:50:19 -08006273deps_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 -08006274
nnoble69ac39f2014-12-12 15:43:38 -08006275ifneq ($(NO_SECURE),true)
6276ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006277-include $(CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006278endif
nnoble69ac39f2014-12-12 15:43:38 -08006279endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006280
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006281
6282CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6283
ctillercab52e72015-01-06 13:10:23 -08006284CHTTP2_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 -08006285
nnoble69ac39f2014-12-12 15:43:38 -08006286ifeq ($(NO_SECURE),true)
6287
Nicolas Noble047b7272015-01-16 13:55:05 -08006288# You can't build secure targets if you don't have OpenSSL with ALPN.
6289
ctillercab52e72015-01-06 13:10:23 -08006290bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006291
6292else
6293
nnoble5f2ecb32015-01-12 16:40:18 -08006294bins/$(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 -08006295 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006296 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006297 $(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 -08006298
nnoble69ac39f2014-12-12 15:43:38 -08006299endif
6300
Craig Tillerd4773f52015-01-12 16:38:47 -08006301
Craig Tiller8f126a62015-01-15 08:50:19 -08006302deps_chttp2_fullstack_cancel_after_accept_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006303
nnoble69ac39f2014-12-12 15:43:38 -08006304ifneq ($(NO_SECURE),true)
6305ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006306-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006307endif
nnoble69ac39f2014-12-12 15:43:38 -08006308endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006309
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006310
6311CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6312
ctillercab52e72015-01-06 13:10:23 -08006313CHTTP2_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 -08006314
nnoble69ac39f2014-12-12 15:43:38 -08006315ifeq ($(NO_SECURE),true)
6316
Nicolas Noble047b7272015-01-16 13:55:05 -08006317# You can't build secure targets if you don't have OpenSSL with ALPN.
6318
ctillercab52e72015-01-06 13:10:23 -08006319bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006320
6321else
6322
nnoble5f2ecb32015-01-12 16:40:18 -08006323bins/$(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 -08006324 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006325 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006326 $(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 -08006327
nnoble69ac39f2014-12-12 15:43:38 -08006328endif
6329
Craig Tillerd4773f52015-01-12 16:38:47 -08006330
Craig Tiller8f126a62015-01-15 08:50:19 -08006331deps_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 -08006332
nnoble69ac39f2014-12-12 15:43:38 -08006333ifneq ($(NO_SECURE),true)
6334ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006335-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006336endif
nnoble69ac39f2014-12-12 15:43:38 -08006337endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006338
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006339
6340CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6341
ctillercab52e72015-01-06 13:10:23 -08006342CHTTP2_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 -08006343
nnoble69ac39f2014-12-12 15:43:38 -08006344ifeq ($(NO_SECURE),true)
6345
Nicolas Noble047b7272015-01-16 13:55:05 -08006346# You can't build secure targets if you don't have OpenSSL with ALPN.
6347
ctillercab52e72015-01-06 13:10:23 -08006348bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006349
6350else
6351
nnoble5f2ecb32015-01-12 16:40:18 -08006352bins/$(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 -08006353 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006354 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006355 $(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 -08006356
nnoble69ac39f2014-12-12 15:43:38 -08006357endif
6358
Craig Tillerd4773f52015-01-12 16:38:47 -08006359
Craig Tiller8f126a62015-01-15 08:50:19 -08006360deps_chttp2_fullstack_cancel_after_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006361
nnoble69ac39f2014-12-12 15:43:38 -08006362ifneq ($(NO_SECURE),true)
6363ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006364-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006365endif
nnoble69ac39f2014-12-12 15:43:38 -08006366endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006367
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006368
6369CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
6370
ctillercab52e72015-01-06 13:10:23 -08006371CHTTP2_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 -08006372
nnoble69ac39f2014-12-12 15:43:38 -08006373ifeq ($(NO_SECURE),true)
6374
Nicolas Noble047b7272015-01-16 13:55:05 -08006375# You can't build secure targets if you don't have OpenSSL with ALPN.
6376
ctillercab52e72015-01-06 13:10:23 -08006377bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006378
6379else
6380
nnoble5f2ecb32015-01-12 16:40:18 -08006381bins/$(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 -08006382 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006383 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006384 $(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 -08006385
nnoble69ac39f2014-12-12 15:43:38 -08006386endif
6387
Craig Tillerd4773f52015-01-12 16:38:47 -08006388
Craig Tiller8f126a62015-01-15 08:50:19 -08006389deps_chttp2_fullstack_cancel_before_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006390
nnoble69ac39f2014-12-12 15:43:38 -08006391ifneq ($(NO_SECURE),true)
6392ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006393-include $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006394endif
nnoble69ac39f2014-12-12 15:43:38 -08006395endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006396
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006397
6398CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
6399
ctillercab52e72015-01-06 13:10:23 -08006400CHTTP2_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 -08006401
nnoble69ac39f2014-12-12 15:43:38 -08006402ifeq ($(NO_SECURE),true)
6403
Nicolas Noble047b7272015-01-16 13:55:05 -08006404# You can't build secure targets if you don't have OpenSSL with ALPN.
6405
ctillercab52e72015-01-06 13:10:23 -08006406bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006407
6408else
6409
nnoble5f2ecb32015-01-12 16:40:18 -08006410bins/$(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 -08006411 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006412 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006413 $(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 -08006414
nnoble69ac39f2014-12-12 15:43:38 -08006415endif
6416
Craig Tillerd4773f52015-01-12 16:38:47 -08006417
Craig Tiller8f126a62015-01-15 08:50:19 -08006418deps_chttp2_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006419
nnoble69ac39f2014-12-12 15:43:38 -08006420ifneq ($(NO_SECURE),true)
6421ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006422-include $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006423endif
nnoble69ac39f2014-12-12 15:43:38 -08006424endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006425
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006426
hongyu24200d32015-01-08 15:13:49 -08006427CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
6428
6429CHTTP2_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 -08006430
6431ifeq ($(NO_SECURE),true)
6432
Nicolas Noble047b7272015-01-16 13:55:05 -08006433# You can't build secure targets if you don't have OpenSSL with ALPN.
6434
hongyu24200d32015-01-08 15:13:49 -08006435bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test: openssl_dep_error
6436
6437else
6438
nnoble5f2ecb32015-01-12 16:40:18 -08006439bins/$(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 -08006440 $(E) "[LD] Linking $@"
6441 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006442 $(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 -08006443
6444endif
6445
Craig Tillerd4773f52015-01-12 16:38:47 -08006446
Craig Tiller8f126a62015-01-15 08:50:19 -08006447deps_chttp2_fullstack_census_simple_request_test: $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006448
6449ifneq ($(NO_SECURE),true)
6450ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006451-include $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006452endif
6453endif
6454
hongyu24200d32015-01-08 15:13:49 -08006455
ctillerc6d61c42014-12-15 14:52:08 -08006456CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
6457
ctillercab52e72015-01-06 13:10:23 -08006458CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08006459
6460ifeq ($(NO_SECURE),true)
6461
Nicolas Noble047b7272015-01-16 13:55:05 -08006462# You can't build secure targets if you don't have OpenSSL with ALPN.
6463
ctillercab52e72015-01-06 13:10:23 -08006464bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08006465
6466else
6467
nnoble5f2ecb32015-01-12 16:40:18 -08006468bins/$(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 -08006469 $(E) "[LD] Linking $@"
6470 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006471 $(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 -08006472
6473endif
6474
Craig Tillerd4773f52015-01-12 16:38:47 -08006475
Craig Tiller8f126a62015-01-15 08:50:19 -08006476deps_chttp2_fullstack_disappearing_server_test: $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006477
6478ifneq ($(NO_SECURE),true)
6479ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006480-include $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006481endif
6482endif
6483
ctillerc6d61c42014-12-15 14:52:08 -08006484
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006485CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
6486
ctillercab52e72015-01-06 13:10:23 -08006487CHTTP2_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 -08006488
nnoble69ac39f2014-12-12 15:43:38 -08006489ifeq ($(NO_SECURE),true)
6490
Nicolas Noble047b7272015-01-16 13:55:05 -08006491# You can't build secure targets if you don't have OpenSSL with ALPN.
6492
ctillercab52e72015-01-06 13:10:23 -08006493bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006494
6495else
6496
nnoble5f2ecb32015-01-12 16:40:18 -08006497bins/$(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 -08006498 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006499 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006500 $(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 -08006501
nnoble69ac39f2014-12-12 15:43:38 -08006502endif
6503
Craig Tillerd4773f52015-01-12 16:38:47 -08006504
Craig Tiller8f126a62015-01-15 08:50:19 -08006505deps_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 -08006506
nnoble69ac39f2014-12-12 15:43:38 -08006507ifneq ($(NO_SECURE),true)
6508ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006509-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006510endif
nnoble69ac39f2014-12-12 15:43:38 -08006511endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006512
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006513
6514CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
6515
ctillercab52e72015-01-06 13:10:23 -08006516CHTTP2_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 -08006517
nnoble69ac39f2014-12-12 15:43:38 -08006518ifeq ($(NO_SECURE),true)
6519
Nicolas Noble047b7272015-01-16 13:55:05 -08006520# You can't build secure targets if you don't have OpenSSL with ALPN.
6521
ctillercab52e72015-01-06 13:10:23 -08006522bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006523
6524else
6525
nnoble5f2ecb32015-01-12 16:40:18 -08006526bins/$(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 -08006527 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006528 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006529 $(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 -08006530
nnoble69ac39f2014-12-12 15:43:38 -08006531endif
6532
Craig Tillerd4773f52015-01-12 16:38:47 -08006533
Craig Tiller8f126a62015-01-15 08:50:19 -08006534deps_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 -08006535
nnoble69ac39f2014-12-12 15:43:38 -08006536ifneq ($(NO_SECURE),true)
6537ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006538-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006539endif
nnoble69ac39f2014-12-12 15:43:38 -08006540endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006541
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006542
Craig Tiller4ffdcd52015-01-16 11:34:55 -08006543CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
6544
6545CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
6546
6547ifeq ($(NO_SECURE),true)
6548
David Klempner7f3ed1e2015-01-16 15:35:56 -08006549# You can't build secure targets if you don't have OpenSSL with ALPN.
6550
Craig Tiller4ffdcd52015-01-16 11:34:55 -08006551bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test: openssl_dep_error
6552
6553else
6554
6555bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test: $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
6556 $(E) "[LD] Linking $@"
6557 $(Q) mkdir -p `dirname $@`
6558 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test
6559
6560endif
6561
6562
6563deps_chttp2_fullstack_graceful_server_shutdown_test: $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
6564
6565ifneq ($(NO_SECURE),true)
6566ifneq ($(NO_DEPS),true)
6567-include $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
6568endif
6569endif
6570
6571
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006572CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
6573
ctillercab52e72015-01-06 13:10:23 -08006574CHTTP2_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 -08006575
nnoble69ac39f2014-12-12 15:43:38 -08006576ifeq ($(NO_SECURE),true)
6577
Nicolas Noble047b7272015-01-16 13:55:05 -08006578# You can't build secure targets if you don't have OpenSSL with ALPN.
6579
ctillercab52e72015-01-06 13:10:23 -08006580bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006581
6582else
6583
nnoble5f2ecb32015-01-12 16:40:18 -08006584bins/$(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 -08006585 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006586 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006587 $(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 -08006588
nnoble69ac39f2014-12-12 15:43:38 -08006589endif
6590
Craig Tillerd4773f52015-01-12 16:38:47 -08006591
Craig Tiller8f126a62015-01-15 08:50:19 -08006592deps_chttp2_fullstack_invoke_large_request_test: $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006593
nnoble69ac39f2014-12-12 15:43:38 -08006594ifneq ($(NO_SECURE),true)
6595ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006596-include $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006597endif
nnoble69ac39f2014-12-12 15:43:38 -08006598endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006599
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006600
6601CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
6602
ctillercab52e72015-01-06 13:10:23 -08006603CHTTP2_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 -08006604
nnoble69ac39f2014-12-12 15:43:38 -08006605ifeq ($(NO_SECURE),true)
6606
Nicolas Noble047b7272015-01-16 13:55:05 -08006607# You can't build secure targets if you don't have OpenSSL with ALPN.
6608
ctillercab52e72015-01-06 13:10:23 -08006609bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006610
6611else
6612
nnoble5f2ecb32015-01-12 16:40:18 -08006613bins/$(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 -08006614 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006615 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006616 $(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 -08006617
nnoble69ac39f2014-12-12 15:43:38 -08006618endif
6619
Craig Tillerd4773f52015-01-12 16:38:47 -08006620
Craig Tiller8f126a62015-01-15 08:50:19 -08006621deps_chttp2_fullstack_max_concurrent_streams_test: $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006622
nnoble69ac39f2014-12-12 15:43:38 -08006623ifneq ($(NO_SECURE),true)
6624ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006625-include $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006626endif
nnoble69ac39f2014-12-12 15:43:38 -08006627endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006628
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006629
6630CHTTP2_FULLSTACK_NO_OP_TEST_SRC = \
6631
ctillercab52e72015-01-06 13:10:23 -08006632CHTTP2_FULLSTACK_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_NO_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006633
nnoble69ac39f2014-12-12 15:43:38 -08006634ifeq ($(NO_SECURE),true)
6635
Nicolas Noble047b7272015-01-16 13:55:05 -08006636# You can't build secure targets if you don't have OpenSSL with ALPN.
6637
ctillercab52e72015-01-06 13:10:23 -08006638bins/$(CONFIG)/chttp2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006639
6640else
6641
nnoble5f2ecb32015-01-12 16:40:18 -08006642bins/$(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 -08006643 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006644 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006645 $(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 -08006646
nnoble69ac39f2014-12-12 15:43:38 -08006647endif
6648
Craig Tillerd4773f52015-01-12 16:38:47 -08006649
Craig Tiller8f126a62015-01-15 08:50:19 -08006650deps_chttp2_fullstack_no_op_test: $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006651
nnoble69ac39f2014-12-12 15:43:38 -08006652ifneq ($(NO_SECURE),true)
6653ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006654-include $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006655endif
nnoble69ac39f2014-12-12 15:43:38 -08006656endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006657
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006658
6659CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
6660
ctillercab52e72015-01-06 13:10:23 -08006661CHTTP2_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 -08006662
nnoble69ac39f2014-12-12 15:43:38 -08006663ifeq ($(NO_SECURE),true)
6664
Nicolas Noble047b7272015-01-16 13:55:05 -08006665# You can't build secure targets if you don't have OpenSSL with ALPN.
6666
ctillercab52e72015-01-06 13:10:23 -08006667bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006668
6669else
6670
nnoble5f2ecb32015-01-12 16:40:18 -08006671bins/$(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 -08006672 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006673 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006674 $(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 -08006675
nnoble69ac39f2014-12-12 15:43:38 -08006676endif
6677
Craig Tillerd4773f52015-01-12 16:38:47 -08006678
Craig Tiller8f126a62015-01-15 08:50:19 -08006679deps_chttp2_fullstack_ping_pong_streaming_test: $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006680
nnoble69ac39f2014-12-12 15:43:38 -08006681ifneq ($(NO_SECURE),true)
6682ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006683-include $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006684endif
nnoble69ac39f2014-12-12 15:43:38 -08006685endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006686
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006687
ctiller33023c42014-12-12 16:28:33 -08006688CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
6689
ctillercab52e72015-01-06 13:10:23 -08006690CHTTP2_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 -08006691
6692ifeq ($(NO_SECURE),true)
6693
Nicolas Noble047b7272015-01-16 13:55:05 -08006694# You can't build secure targets if you don't have OpenSSL with ALPN.
6695
ctillercab52e72015-01-06 13:10:23 -08006696bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08006697
6698else
6699
nnoble5f2ecb32015-01-12 16:40:18 -08006700bins/$(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 -08006701 $(E) "[LD] Linking $@"
6702 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006703 $(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 -08006704
6705endif
6706
Craig Tillerd4773f52015-01-12 16:38:47 -08006707
Craig Tiller8f126a62015-01-15 08:50:19 -08006708deps_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 -08006709
6710ifneq ($(NO_SECURE),true)
6711ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006712-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006713endif
6714endif
6715
ctiller33023c42014-12-12 16:28:33 -08006716
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006717CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
6718
ctillercab52e72015-01-06 13:10:23 -08006719CHTTP2_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 -08006720
nnoble69ac39f2014-12-12 15:43:38 -08006721ifeq ($(NO_SECURE),true)
6722
Nicolas Noble047b7272015-01-16 13:55:05 -08006723# You can't build secure targets if you don't have OpenSSL with ALPN.
6724
ctillercab52e72015-01-06 13:10:23 -08006725bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006726
6727else
6728
nnoble5f2ecb32015-01-12 16:40:18 -08006729bins/$(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 -08006730 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006731 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006732 $(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 -08006733
nnoble69ac39f2014-12-12 15:43:38 -08006734endif
6735
Craig Tillerd4773f52015-01-12 16:38:47 -08006736
Craig Tiller8f126a62015-01-15 08:50:19 -08006737deps_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 -08006738
nnoble69ac39f2014-12-12 15:43:38 -08006739ifneq ($(NO_SECURE),true)
6740ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006741-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006742endif
nnoble69ac39f2014-12-12 15:43:38 -08006743endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006744
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006745
6746CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
6747
ctillercab52e72015-01-06 13:10:23 -08006748CHTTP2_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 -08006749
nnoble69ac39f2014-12-12 15:43:38 -08006750ifeq ($(NO_SECURE),true)
6751
Nicolas Noble047b7272015-01-16 13:55:05 -08006752# You can't build secure targets if you don't have OpenSSL with ALPN.
6753
ctillercab52e72015-01-06 13:10:23 -08006754bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006755
6756else
6757
nnoble5f2ecb32015-01-12 16:40:18 -08006758bins/$(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 -08006759 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006760 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006761 $(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 -08006762
nnoble69ac39f2014-12-12 15:43:38 -08006763endif
6764
Craig Tillerd4773f52015-01-12 16:38:47 -08006765
Craig Tiller8f126a62015-01-15 08:50:19 -08006766deps_chttp2_fullstack_request_response_with_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006767
nnoble69ac39f2014-12-12 15:43:38 -08006768ifneq ($(NO_SECURE),true)
6769ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006770-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006771endif
nnoble69ac39f2014-12-12 15:43:38 -08006772endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006773
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006774
ctiller2845cad2014-12-15 15:14:12 -08006775CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
6776
ctillercab52e72015-01-06 13:10:23 -08006777CHTTP2_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 -08006778
6779ifeq ($(NO_SECURE),true)
6780
Nicolas Noble047b7272015-01-16 13:55:05 -08006781# You can't build secure targets if you don't have OpenSSL with ALPN.
6782
ctillercab52e72015-01-06 13:10:23 -08006783bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08006784
6785else
6786
nnoble5f2ecb32015-01-12 16:40:18 -08006787bins/$(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 -08006788 $(E) "[LD] Linking $@"
6789 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006790 $(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 -08006791
6792endif
6793
Craig Tillerd4773f52015-01-12 16:38:47 -08006794
Craig Tiller8f126a62015-01-15 08:50:19 -08006795deps_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 -08006796
6797ifneq ($(NO_SECURE),true)
6798ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006799-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006800endif
6801endif
6802
ctiller2845cad2014-12-15 15:14:12 -08006803
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006804CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6805
ctillercab52e72015-01-06 13:10:23 -08006806CHTTP2_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 -08006807
nnoble69ac39f2014-12-12 15:43:38 -08006808ifeq ($(NO_SECURE),true)
6809
Nicolas Noble047b7272015-01-16 13:55:05 -08006810# You can't build secure targets if you don't have OpenSSL with ALPN.
6811
ctillercab52e72015-01-06 13:10:23 -08006812bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006813
6814else
6815
nnoble5f2ecb32015-01-12 16:40:18 -08006816bins/$(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 -08006817 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006818 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006819 $(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 -08006820
nnoble69ac39f2014-12-12 15:43:38 -08006821endif
6822
Craig Tillerd4773f52015-01-12 16:38:47 -08006823
Craig Tiller8f126a62015-01-15 08:50:19 -08006824deps_chttp2_fullstack_simple_delayed_request_test: $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006825
nnoble69ac39f2014-12-12 15:43:38 -08006826ifneq ($(NO_SECURE),true)
6827ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006828-include $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006829endif
nnoble69ac39f2014-12-12 15:43:38 -08006830endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006831
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006832
6833CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
6834
ctillercab52e72015-01-06 13:10:23 -08006835CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006836
nnoble69ac39f2014-12-12 15:43:38 -08006837ifeq ($(NO_SECURE),true)
6838
Nicolas Noble047b7272015-01-16 13:55:05 -08006839# You can't build secure targets if you don't have OpenSSL with ALPN.
6840
ctillercab52e72015-01-06 13:10:23 -08006841bins/$(CONFIG)/chttp2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006842
6843else
6844
nnoble5f2ecb32015-01-12 16:40:18 -08006845bins/$(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 -08006846 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006847 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006848 $(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 -08006849
nnoble69ac39f2014-12-12 15:43:38 -08006850endif
6851
Craig Tillerd4773f52015-01-12 16:38:47 -08006852
Craig Tiller8f126a62015-01-15 08:50:19 -08006853deps_chttp2_fullstack_simple_request_test: $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006854
nnoble69ac39f2014-12-12 15:43:38 -08006855ifneq ($(NO_SECURE),true)
6856ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006857-include $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006858endif
nnoble69ac39f2014-12-12 15:43:38 -08006859endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006860
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006861
nathaniel52878172014-12-09 10:17:19 -08006862CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006863
ctillercab52e72015-01-06 13:10:23 -08006864CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006865
nnoble69ac39f2014-12-12 15:43:38 -08006866ifeq ($(NO_SECURE),true)
6867
Nicolas Noble047b7272015-01-16 13:55:05 -08006868# You can't build secure targets if you don't have OpenSSL with ALPN.
6869
ctillercab52e72015-01-06 13:10:23 -08006870bins/$(CONFIG)/chttp2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006871
6872else
6873
nnoble5f2ecb32015-01-12 16:40:18 -08006874bins/$(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 -08006875 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006876 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006877 $(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 -08006878
nnoble69ac39f2014-12-12 15:43:38 -08006879endif
6880
Craig Tillerd4773f52015-01-12 16:38:47 -08006881
Craig Tiller8f126a62015-01-15 08:50:19 -08006882deps_chttp2_fullstack_thread_stress_test: $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006883
nnoble69ac39f2014-12-12 15:43:38 -08006884ifneq ($(NO_SECURE),true)
6885ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006886-include $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006887endif
nnoble69ac39f2014-12-12 15:43:38 -08006888endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006889
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006890
6891CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6892
ctillercab52e72015-01-06 13:10:23 -08006893CHTTP2_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 -08006894
nnoble69ac39f2014-12-12 15:43:38 -08006895ifeq ($(NO_SECURE),true)
6896
Nicolas Noble047b7272015-01-16 13:55:05 -08006897# You can't build secure targets if you don't have OpenSSL with ALPN.
6898
ctillercab52e72015-01-06 13:10:23 -08006899bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006900
6901else
6902
nnoble5f2ecb32015-01-12 16:40:18 -08006903bins/$(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 -08006904 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006905 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006906 $(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 -08006907
nnoble69ac39f2014-12-12 15:43:38 -08006908endif
6909
Craig Tillerd4773f52015-01-12 16:38:47 -08006910
Craig Tiller8f126a62015-01-15 08:50:19 -08006911deps_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 -08006912
nnoble69ac39f2014-12-12 15:43:38 -08006913ifneq ($(NO_SECURE),true)
6914ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006915-include $(CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006916endif
nnoble69ac39f2014-12-12 15:43:38 -08006917endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006918
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006919
6920CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6921
ctillercab52e72015-01-06 13:10:23 -08006922CHTTP2_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 -08006923
nnoble69ac39f2014-12-12 15:43:38 -08006924ifeq ($(NO_SECURE),true)
6925
Nicolas Noble047b7272015-01-16 13:55:05 -08006926# You can't build secure targets if you don't have OpenSSL with ALPN.
6927
ctillercab52e72015-01-06 13:10:23 -08006928bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006929
6930else
6931
nnoble5f2ecb32015-01-12 16:40:18 -08006932bins/$(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 -08006933 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006934 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006935 $(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 -08006936
nnoble69ac39f2014-12-12 15:43:38 -08006937endif
6938
Craig Tillerd4773f52015-01-12 16:38:47 -08006939
Craig Tiller8f126a62015-01-15 08:50:19 -08006940deps_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 -08006941
nnoble69ac39f2014-12-12 15:43:38 -08006942ifneq ($(NO_SECURE),true)
6943ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006944-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006945endif
nnoble69ac39f2014-12-12 15:43:38 -08006946endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006947
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006948
6949CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6950
ctillercab52e72015-01-06 13:10:23 -08006951CHTTP2_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 -08006952
nnoble69ac39f2014-12-12 15:43:38 -08006953ifeq ($(NO_SECURE),true)
6954
Nicolas Noble047b7272015-01-16 13:55:05 -08006955# You can't build secure targets if you don't have OpenSSL with ALPN.
6956
ctillercab52e72015-01-06 13:10:23 -08006957bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006958
6959else
6960
nnoble5f2ecb32015-01-12 16:40:18 -08006961bins/$(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 -08006962 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006963 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006964 $(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 -08006965
nnoble69ac39f2014-12-12 15:43:38 -08006966endif
6967
Craig Tillerd4773f52015-01-12 16:38:47 -08006968
Craig Tiller8f126a62015-01-15 08:50:19 -08006969deps_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 -08006970
nnoble69ac39f2014-12-12 15:43:38 -08006971ifneq ($(NO_SECURE),true)
6972ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006973-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006974endif
nnoble69ac39f2014-12-12 15:43:38 -08006975endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006976
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006977
6978CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6979
ctillercab52e72015-01-06 13:10:23 -08006980CHTTP2_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 -08006981
nnoble69ac39f2014-12-12 15:43:38 -08006982ifeq ($(NO_SECURE),true)
6983
Nicolas Noble047b7272015-01-16 13:55:05 -08006984# You can't build secure targets if you don't have OpenSSL with ALPN.
6985
ctillercab52e72015-01-06 13:10:23 -08006986bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006987
6988else
6989
nnoble5f2ecb32015-01-12 16:40:18 -08006990bins/$(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 -08006991 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006992 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006993 $(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 -08006994
nnoble69ac39f2014-12-12 15:43:38 -08006995endif
6996
Craig Tillerd4773f52015-01-12 16:38:47 -08006997
Craig Tiller8f126a62015-01-15 08:50:19 -08006998deps_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 -08006999
nnoble69ac39f2014-12-12 15:43:38 -08007000ifneq ($(NO_SECURE),true)
7001ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007002-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007003endif
nnoble69ac39f2014-12-12 15:43:38 -08007004endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007005
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007006
7007CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
7008
ctillercab52e72015-01-06 13:10:23 -08007009CHTTP2_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 -08007010
nnoble69ac39f2014-12-12 15:43:38 -08007011ifeq ($(NO_SECURE),true)
7012
Nicolas Noble047b7272015-01-16 13:55:05 -08007013# You can't build secure targets if you don't have OpenSSL with ALPN.
7014
ctillercab52e72015-01-06 13:10:23 -08007015bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007016
7017else
7018
nnoble5f2ecb32015-01-12 16:40:18 -08007019bins/$(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 -08007020 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007021 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007022 $(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 -08007023
nnoble69ac39f2014-12-12 15:43:38 -08007024endif
7025
Craig Tillerd4773f52015-01-12 16:38:47 -08007026
Craig Tiller8f126a62015-01-15 08:50:19 -08007027deps_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 -08007028
nnoble69ac39f2014-12-12 15:43:38 -08007029ifneq ($(NO_SECURE),true)
7030ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007031-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007032endif
nnoble69ac39f2014-12-12 15:43:38 -08007033endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007034
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007035
7036CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
7037
ctillercab52e72015-01-06 13:10:23 -08007038CHTTP2_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 -08007039
nnoble69ac39f2014-12-12 15:43:38 -08007040ifeq ($(NO_SECURE),true)
7041
Nicolas Noble047b7272015-01-16 13:55:05 -08007042# You can't build secure targets if you don't have OpenSSL with ALPN.
7043
ctillercab52e72015-01-06 13:10:23 -08007044bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007045
7046else
7047
nnoble5f2ecb32015-01-12 16:40:18 -08007048bins/$(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 -08007049 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007050 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007051 $(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 -08007052
nnoble69ac39f2014-12-12 15:43:38 -08007053endif
7054
Craig Tillerd4773f52015-01-12 16:38:47 -08007055
Craig Tiller8f126a62015-01-15 08:50:19 -08007056deps_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 -08007057
nnoble69ac39f2014-12-12 15:43:38 -08007058ifneq ($(NO_SECURE),true)
7059ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007060-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007061endif
nnoble69ac39f2014-12-12 15:43:38 -08007062endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007063
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007064
hongyu24200d32015-01-08 15:13:49 -08007065CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
7066
7067CHTTP2_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 -08007068
7069ifeq ($(NO_SECURE),true)
7070
Nicolas Noble047b7272015-01-16 13:55:05 -08007071# You can't build secure targets if you don't have OpenSSL with ALPN.
7072
hongyu24200d32015-01-08 15:13:49 -08007073bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test: openssl_dep_error
7074
7075else
7076
nnoble5f2ecb32015-01-12 16:40:18 -08007077bins/$(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 -08007078 $(E) "[LD] Linking $@"
7079 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007080 $(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 -08007081
7082endif
7083
Craig Tillerd4773f52015-01-12 16:38:47 -08007084
Craig Tiller8f126a62015-01-15 08:50:19 -08007085deps_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 -08007086
7087ifneq ($(NO_SECURE),true)
7088ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007089-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007090endif
7091endif
7092
hongyu24200d32015-01-08 15:13:49 -08007093
ctillerc6d61c42014-12-15 14:52:08 -08007094CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
7095
ctillercab52e72015-01-06 13:10:23 -08007096CHTTP2_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 -08007097
7098ifeq ($(NO_SECURE),true)
7099
Nicolas Noble047b7272015-01-16 13:55:05 -08007100# You can't build secure targets if you don't have OpenSSL with ALPN.
7101
ctillercab52e72015-01-06 13:10:23 -08007102bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08007103
7104else
7105
nnoble5f2ecb32015-01-12 16:40:18 -08007106bins/$(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 -08007107 $(E) "[LD] Linking $@"
7108 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007109 $(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 -08007110
7111endif
7112
Craig Tillerd4773f52015-01-12 16:38:47 -08007113
Craig Tiller8f126a62015-01-15 08:50:19 -08007114deps_chttp2_simple_ssl_fullstack_disappearing_server_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007115
7116ifneq ($(NO_SECURE),true)
7117ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007118-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007119endif
7120endif
7121
ctillerc6d61c42014-12-15 14:52:08 -08007122
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007123CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
7124
ctillercab52e72015-01-06 13:10:23 -08007125CHTTP2_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 -08007126
nnoble69ac39f2014-12-12 15:43:38 -08007127ifeq ($(NO_SECURE),true)
7128
Nicolas Noble047b7272015-01-16 13:55:05 -08007129# You can't build secure targets if you don't have OpenSSL with ALPN.
7130
ctillercab52e72015-01-06 13:10:23 -08007131bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007132
7133else
7134
nnoble5f2ecb32015-01-12 16:40:18 -08007135bins/$(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 -08007136 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007137 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007138 $(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 -08007139
nnoble69ac39f2014-12-12 15:43:38 -08007140endif
7141
Craig Tillerd4773f52015-01-12 16:38:47 -08007142
Craig Tiller8f126a62015-01-15 08:50:19 -08007143deps_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 -08007144
nnoble69ac39f2014-12-12 15:43:38 -08007145ifneq ($(NO_SECURE),true)
7146ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007147-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007148endif
nnoble69ac39f2014-12-12 15:43:38 -08007149endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007150
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007151
7152CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7153
ctillercab52e72015-01-06 13:10:23 -08007154CHTTP2_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 -08007155
nnoble69ac39f2014-12-12 15:43:38 -08007156ifeq ($(NO_SECURE),true)
7157
Nicolas Noble047b7272015-01-16 13:55:05 -08007158# You can't build secure targets if you don't have OpenSSL with ALPN.
7159
ctillercab52e72015-01-06 13:10:23 -08007160bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007161
7162else
7163
nnoble5f2ecb32015-01-12 16:40:18 -08007164bins/$(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 -08007165 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007166 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007167 $(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 -08007168
nnoble69ac39f2014-12-12 15:43:38 -08007169endif
7170
Craig Tillerd4773f52015-01-12 16:38:47 -08007171
Craig Tiller8f126a62015-01-15 08:50:19 -08007172deps_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 -08007173
nnoble69ac39f2014-12-12 15:43:38 -08007174ifneq ($(NO_SECURE),true)
7175ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007176-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007177endif
nnoble69ac39f2014-12-12 15:43:38 -08007178endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007179
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007180
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007181CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
7182
7183CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
7184
7185ifeq ($(NO_SECURE),true)
7186
David Klempner7f3ed1e2015-01-16 15:35:56 -08007187# You can't build secure targets if you don't have OpenSSL with ALPN.
7188
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007189bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: openssl_dep_error
7190
7191else
7192
7193bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
7194 $(E) "[LD] Linking $@"
7195 $(Q) mkdir -p `dirname $@`
7196 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test
7197
7198endif
7199
7200
7201deps_chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7202
7203ifneq ($(NO_SECURE),true)
7204ifneq ($(NO_DEPS),true)
7205-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7206endif
7207endif
7208
7209
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007210CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7211
ctillercab52e72015-01-06 13:10:23 -08007212CHTTP2_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 -08007213
nnoble69ac39f2014-12-12 15:43:38 -08007214ifeq ($(NO_SECURE),true)
7215
Nicolas Noble047b7272015-01-16 13:55:05 -08007216# You can't build secure targets if you don't have OpenSSL with ALPN.
7217
ctillercab52e72015-01-06 13:10:23 -08007218bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007219
7220else
7221
nnoble5f2ecb32015-01-12 16:40:18 -08007222bins/$(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 -08007223 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007224 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007225 $(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 -08007226
nnoble69ac39f2014-12-12 15:43:38 -08007227endif
7228
Craig Tillerd4773f52015-01-12 16:38:47 -08007229
Craig Tiller8f126a62015-01-15 08:50:19 -08007230deps_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 -08007231
nnoble69ac39f2014-12-12 15:43:38 -08007232ifneq ($(NO_SECURE),true)
7233ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007234-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007235endif
nnoble69ac39f2014-12-12 15:43:38 -08007236endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007237
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007238
7239CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7240
ctillercab52e72015-01-06 13:10:23 -08007241CHTTP2_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 -08007242
nnoble69ac39f2014-12-12 15:43:38 -08007243ifeq ($(NO_SECURE),true)
7244
Nicolas Noble047b7272015-01-16 13:55:05 -08007245# You can't build secure targets if you don't have OpenSSL with ALPN.
7246
ctillercab52e72015-01-06 13:10:23 -08007247bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007248
7249else
7250
nnoble5f2ecb32015-01-12 16:40:18 -08007251bins/$(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 -08007252 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007253 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007254 $(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 -08007255
nnoble69ac39f2014-12-12 15:43:38 -08007256endif
7257
Craig Tillerd4773f52015-01-12 16:38:47 -08007258
Craig Tiller8f126a62015-01-15 08:50:19 -08007259deps_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 -08007260
nnoble69ac39f2014-12-12 15:43:38 -08007261ifneq ($(NO_SECURE),true)
7262ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007263-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007264endif
nnoble69ac39f2014-12-12 15:43:38 -08007265endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007266
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007267
7268CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_SRC = \
7269
ctillercab52e72015-01-06 13:10:23 -08007270CHTTP2_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 -08007271
nnoble69ac39f2014-12-12 15:43:38 -08007272ifeq ($(NO_SECURE),true)
7273
Nicolas Noble047b7272015-01-16 13:55:05 -08007274# You can't build secure targets if you don't have OpenSSL with ALPN.
7275
ctillercab52e72015-01-06 13:10:23 -08007276bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007277
7278else
7279
nnoble5f2ecb32015-01-12 16:40:18 -08007280bins/$(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 -08007281 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007282 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007283 $(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 -08007284
nnoble69ac39f2014-12-12 15:43:38 -08007285endif
7286
Craig Tillerd4773f52015-01-12 16:38:47 -08007287
Craig Tiller8f126a62015-01-15 08:50:19 -08007288deps_chttp2_simple_ssl_fullstack_no_op_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007289
nnoble69ac39f2014-12-12 15:43:38 -08007290ifneq ($(NO_SECURE),true)
7291ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007292-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007293endif
nnoble69ac39f2014-12-12 15:43:38 -08007294endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007295
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007296
7297CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7298
ctillercab52e72015-01-06 13:10:23 -08007299CHTTP2_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 -08007300
nnoble69ac39f2014-12-12 15:43:38 -08007301ifeq ($(NO_SECURE),true)
7302
Nicolas Noble047b7272015-01-16 13:55:05 -08007303# You can't build secure targets if you don't have OpenSSL with ALPN.
7304
ctillercab52e72015-01-06 13:10:23 -08007305bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007306
7307else
7308
nnoble5f2ecb32015-01-12 16:40:18 -08007309bins/$(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 -08007310 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007311 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007312 $(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 -08007313
nnoble69ac39f2014-12-12 15:43:38 -08007314endif
7315
Craig Tillerd4773f52015-01-12 16:38:47 -08007316
Craig Tiller8f126a62015-01-15 08:50:19 -08007317deps_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 -08007318
nnoble69ac39f2014-12-12 15:43:38 -08007319ifneq ($(NO_SECURE),true)
7320ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007321-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007322endif
nnoble69ac39f2014-12-12 15:43:38 -08007323endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007324
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007325
ctiller33023c42014-12-12 16:28:33 -08007326CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7327
ctillercab52e72015-01-06 13:10:23 -08007328CHTTP2_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 -08007329
7330ifeq ($(NO_SECURE),true)
7331
Nicolas Noble047b7272015-01-16 13:55:05 -08007332# You can't build secure targets if you don't have OpenSSL with ALPN.
7333
ctillercab52e72015-01-06 13:10:23 -08007334bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007335
7336else
7337
nnoble5f2ecb32015-01-12 16:40:18 -08007338bins/$(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 -08007339 $(E) "[LD] Linking $@"
7340 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007341 $(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 -08007342
7343endif
7344
Craig Tillerd4773f52015-01-12 16:38:47 -08007345
Craig Tiller8f126a62015-01-15 08:50:19 -08007346deps_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 -08007347
7348ifneq ($(NO_SECURE),true)
7349ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007350-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007351endif
7352endif
7353
ctiller33023c42014-12-12 16:28:33 -08007354
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007355CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7356
ctillercab52e72015-01-06 13:10:23 -08007357CHTTP2_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 -08007358
nnoble69ac39f2014-12-12 15:43:38 -08007359ifeq ($(NO_SECURE),true)
7360
Nicolas Noble047b7272015-01-16 13:55:05 -08007361# You can't build secure targets if you don't have OpenSSL with ALPN.
7362
ctillercab52e72015-01-06 13:10:23 -08007363bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007364
7365else
7366
nnoble5f2ecb32015-01-12 16:40:18 -08007367bins/$(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 -08007368 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007369 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007370 $(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 -08007371
nnoble69ac39f2014-12-12 15:43:38 -08007372endif
7373
Craig Tillerd4773f52015-01-12 16:38:47 -08007374
Craig Tiller8f126a62015-01-15 08:50:19 -08007375deps_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 -08007376
nnoble69ac39f2014-12-12 15:43:38 -08007377ifneq ($(NO_SECURE),true)
7378ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007379-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007380endif
nnoble69ac39f2014-12-12 15:43:38 -08007381endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007382
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007383
7384CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
7385
ctillercab52e72015-01-06 13:10:23 -08007386CHTTP2_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 -08007387
nnoble69ac39f2014-12-12 15:43:38 -08007388ifeq ($(NO_SECURE),true)
7389
Nicolas Noble047b7272015-01-16 13:55:05 -08007390# You can't build secure targets if you don't have OpenSSL with ALPN.
7391
ctillercab52e72015-01-06 13:10:23 -08007392bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007393
7394else
7395
nnoble5f2ecb32015-01-12 16:40:18 -08007396bins/$(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 -08007397 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007398 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007399 $(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 -08007400
nnoble69ac39f2014-12-12 15:43:38 -08007401endif
7402
Craig Tillerd4773f52015-01-12 16:38:47 -08007403
Craig Tiller8f126a62015-01-15 08:50:19 -08007404deps_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 -08007405
nnoble69ac39f2014-12-12 15:43:38 -08007406ifneq ($(NO_SECURE),true)
7407ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007408-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007409endif
nnoble69ac39f2014-12-12 15:43:38 -08007410endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007411
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007412
ctiller2845cad2014-12-15 15:14:12 -08007413CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
7414
ctillercab52e72015-01-06 13:10:23 -08007415CHTTP2_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 -08007416
7417ifeq ($(NO_SECURE),true)
7418
Nicolas Noble047b7272015-01-16 13:55:05 -08007419# You can't build secure targets if you don't have OpenSSL with ALPN.
7420
ctillercab52e72015-01-06 13:10:23 -08007421bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08007422
7423else
7424
nnoble5f2ecb32015-01-12 16:40:18 -08007425bins/$(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 -08007426 $(E) "[LD] Linking $@"
7427 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007428 $(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 -08007429
7430endif
7431
Craig Tillerd4773f52015-01-12 16:38:47 -08007432
Craig Tiller8f126a62015-01-15 08:50:19 -08007433deps_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 -08007434
7435ifneq ($(NO_SECURE),true)
7436ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007437-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08007438endif
7439endif
7440
ctiller2845cad2014-12-15 15:14:12 -08007441
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007442CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
7443
ctillercab52e72015-01-06 13:10:23 -08007444CHTTP2_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 -08007445
nnoble69ac39f2014-12-12 15:43:38 -08007446ifeq ($(NO_SECURE),true)
7447
Nicolas Noble047b7272015-01-16 13:55:05 -08007448# You can't build secure targets if you don't have OpenSSL with ALPN.
7449
ctillercab52e72015-01-06 13:10:23 -08007450bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007451
7452else
7453
nnoble5f2ecb32015-01-12 16:40:18 -08007454bins/$(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 -08007455 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007456 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007457 $(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 -08007458
nnoble69ac39f2014-12-12 15:43:38 -08007459endif
7460
Craig Tillerd4773f52015-01-12 16:38:47 -08007461
Craig Tiller8f126a62015-01-15 08:50:19 -08007462deps_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 -08007463
nnoble69ac39f2014-12-12 15:43:38 -08007464ifneq ($(NO_SECURE),true)
7465ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007466-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007467endif
nnoble69ac39f2014-12-12 15:43:38 -08007468endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007469
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007470
7471CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
7472
ctillercab52e72015-01-06 13:10:23 -08007473CHTTP2_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 -08007474
nnoble69ac39f2014-12-12 15:43:38 -08007475ifeq ($(NO_SECURE),true)
7476
Nicolas Noble047b7272015-01-16 13:55:05 -08007477# You can't build secure targets if you don't have OpenSSL with ALPN.
7478
ctillercab52e72015-01-06 13:10:23 -08007479bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007480
7481else
7482
nnoble5f2ecb32015-01-12 16:40:18 -08007483bins/$(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 -08007484 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007485 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007486 $(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 -08007487
nnoble69ac39f2014-12-12 15:43:38 -08007488endif
7489
Craig Tillerd4773f52015-01-12 16:38:47 -08007490
Craig Tiller8f126a62015-01-15 08:50:19 -08007491deps_chttp2_simple_ssl_fullstack_simple_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007492
nnoble69ac39f2014-12-12 15:43:38 -08007493ifneq ($(NO_SECURE),true)
7494ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007495-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007496endif
nnoble69ac39f2014-12-12 15:43:38 -08007497endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007498
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007499
nathaniel52878172014-12-09 10:17:19 -08007500CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007501
ctillercab52e72015-01-06 13:10:23 -08007502CHTTP2_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 -08007503
nnoble69ac39f2014-12-12 15:43:38 -08007504ifeq ($(NO_SECURE),true)
7505
Nicolas Noble047b7272015-01-16 13:55:05 -08007506# You can't build secure targets if you don't have OpenSSL with ALPN.
7507
ctillercab52e72015-01-06 13:10:23 -08007508bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007509
7510else
7511
nnoble5f2ecb32015-01-12 16:40:18 -08007512bins/$(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 -08007513 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007514 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007515 $(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 -08007516
nnoble69ac39f2014-12-12 15:43:38 -08007517endif
7518
Craig Tillerd4773f52015-01-12 16:38:47 -08007519
Craig Tiller8f126a62015-01-15 08:50:19 -08007520deps_chttp2_simple_ssl_fullstack_thread_stress_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007521
nnoble69ac39f2014-12-12 15:43:38 -08007522ifneq ($(NO_SECURE),true)
7523ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007524-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007525endif
nnoble69ac39f2014-12-12 15:43:38 -08007526endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007527
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007528
7529CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
7530
ctillercab52e72015-01-06 13:10:23 -08007531CHTTP2_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 -08007532
nnoble69ac39f2014-12-12 15:43:38 -08007533ifeq ($(NO_SECURE),true)
7534
Nicolas Noble047b7272015-01-16 13:55:05 -08007535# You can't build secure targets if you don't have OpenSSL with ALPN.
7536
ctillercab52e72015-01-06 13:10:23 -08007537bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007538
7539else
7540
nnoble5f2ecb32015-01-12 16:40:18 -08007541bins/$(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 -08007542 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007543 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007544 $(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 -08007545
nnoble69ac39f2014-12-12 15:43:38 -08007546endif
7547
Craig Tillerd4773f52015-01-12 16:38:47 -08007548
Craig Tiller8f126a62015-01-15 08:50:19 -08007549deps_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 -08007550
nnoble69ac39f2014-12-12 15:43:38 -08007551ifneq ($(NO_SECURE),true)
7552ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007553-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007554endif
nnoble69ac39f2014-12-12 15:43:38 -08007555endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007556
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007557
7558CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
7559
ctillercab52e72015-01-06 13:10:23 -08007560CHTTP2_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 -08007561
nnoble69ac39f2014-12-12 15:43:38 -08007562ifeq ($(NO_SECURE),true)
7563
Nicolas Noble047b7272015-01-16 13:55:05 -08007564# You can't build secure targets if you don't have OpenSSL with ALPN.
7565
ctillercab52e72015-01-06 13:10:23 -08007566bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007567
7568else
7569
nnoble5f2ecb32015-01-12 16:40:18 -08007570bins/$(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 -08007571 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007572 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007573 $(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 -08007574
nnoble69ac39f2014-12-12 15:43:38 -08007575endif
7576
Craig Tillerd4773f52015-01-12 16:38:47 -08007577
Craig Tiller8f126a62015-01-15 08:50:19 -08007578deps_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 -08007579
nnoble69ac39f2014-12-12 15:43:38 -08007580ifneq ($(NO_SECURE),true)
7581ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007582-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007583endif
nnoble69ac39f2014-12-12 15:43:38 -08007584endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007585
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007586
7587CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
7588
ctillercab52e72015-01-06 13:10:23 -08007589CHTTP2_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 -08007590
nnoble69ac39f2014-12-12 15:43:38 -08007591ifeq ($(NO_SECURE),true)
7592
Nicolas Noble047b7272015-01-16 13:55:05 -08007593# You can't build secure targets if you don't have OpenSSL with ALPN.
7594
ctillercab52e72015-01-06 13:10:23 -08007595bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007596
7597else
7598
nnoble5f2ecb32015-01-12 16:40:18 -08007599bins/$(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 -08007600 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007601 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007602 $(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 -08007603
nnoble69ac39f2014-12-12 15:43:38 -08007604endif
7605
Craig Tillerd4773f52015-01-12 16:38:47 -08007606
Craig Tiller8f126a62015-01-15 08:50:19 -08007607deps_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 -08007608
nnoble69ac39f2014-12-12 15:43:38 -08007609ifneq ($(NO_SECURE),true)
7610ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007611-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007612endif
nnoble69ac39f2014-12-12 15:43:38 -08007613endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007614
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007615
7616CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
7617
ctillercab52e72015-01-06 13:10:23 -08007618CHTTP2_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 -08007619
nnoble69ac39f2014-12-12 15:43:38 -08007620ifeq ($(NO_SECURE),true)
7621
Nicolas Noble047b7272015-01-16 13:55:05 -08007622# You can't build secure targets if you don't have OpenSSL with ALPN.
7623
ctillercab52e72015-01-06 13:10:23 -08007624bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007625
7626else
7627
nnoble5f2ecb32015-01-12 16:40:18 -08007628bins/$(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 -08007629 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007630 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007631 $(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 -08007632
nnoble69ac39f2014-12-12 15:43:38 -08007633endif
7634
Craig Tillerd4773f52015-01-12 16:38:47 -08007635
Craig Tiller8f126a62015-01-15 08:50:19 -08007636deps_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 -08007637
nnoble69ac39f2014-12-12 15:43:38 -08007638ifneq ($(NO_SECURE),true)
7639ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007640-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007641endif
nnoble69ac39f2014-12-12 15:43:38 -08007642endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007643
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007644
7645CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
7646
ctillercab52e72015-01-06 13:10:23 -08007647CHTTP2_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 -08007648
nnoble69ac39f2014-12-12 15:43:38 -08007649ifeq ($(NO_SECURE),true)
7650
Nicolas Noble047b7272015-01-16 13:55:05 -08007651# You can't build secure targets if you don't have OpenSSL with ALPN.
7652
ctillercab52e72015-01-06 13:10:23 -08007653bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007654
7655else
7656
nnoble5f2ecb32015-01-12 16:40:18 -08007657bins/$(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 -08007658 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007659 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007660 $(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 -08007661
nnoble69ac39f2014-12-12 15:43:38 -08007662endif
7663
Craig Tillerd4773f52015-01-12 16:38:47 -08007664
Craig Tiller8f126a62015-01-15 08:50:19 -08007665deps_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 -08007666
nnoble69ac39f2014-12-12 15:43:38 -08007667ifneq ($(NO_SECURE),true)
7668ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007669-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007670endif
nnoble69ac39f2014-12-12 15:43:38 -08007671endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007672
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007673
7674CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
7675
ctillercab52e72015-01-06 13:10:23 -08007676CHTTP2_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 -08007677
nnoble69ac39f2014-12-12 15:43:38 -08007678ifeq ($(NO_SECURE),true)
7679
Nicolas Noble047b7272015-01-16 13:55:05 -08007680# You can't build secure targets if you don't have OpenSSL with ALPN.
7681
ctillercab52e72015-01-06 13:10:23 -08007682bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007683
7684else
7685
nnoble5f2ecb32015-01-12 16:40:18 -08007686bins/$(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 -08007687 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007688 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007689 $(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 -08007690
nnoble69ac39f2014-12-12 15:43:38 -08007691endif
7692
Craig Tillerd4773f52015-01-12 16:38:47 -08007693
Craig Tiller8f126a62015-01-15 08:50:19 -08007694deps_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 -08007695
nnoble69ac39f2014-12-12 15:43:38 -08007696ifneq ($(NO_SECURE),true)
7697ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007698-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007699endif
nnoble69ac39f2014-12-12 15:43:38 -08007700endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007701
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007702
hongyu24200d32015-01-08 15:13:49 -08007703CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
7704
7705CHTTP2_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 -08007706
7707ifeq ($(NO_SECURE),true)
7708
Nicolas Noble047b7272015-01-16 13:55:05 -08007709# You can't build secure targets if you don't have OpenSSL with ALPN.
7710
hongyu24200d32015-01-08 15:13:49 -08007711bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: openssl_dep_error
7712
7713else
7714
nnoble5f2ecb32015-01-12 16:40:18 -08007715bins/$(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 -08007716 $(E) "[LD] Linking $@"
7717 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007718 $(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 -08007719
7720endif
7721
Craig Tillerd4773f52015-01-12 16:38:47 -08007722
Craig Tiller8f126a62015-01-15 08:50:19 -08007723deps_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 -08007724
7725ifneq ($(NO_SECURE),true)
7726ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007727-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007728endif
7729endif
7730
hongyu24200d32015-01-08 15:13:49 -08007731
ctillerc6d61c42014-12-15 14:52:08 -08007732CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
7733
ctillercab52e72015-01-06 13:10:23 -08007734CHTTP2_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 -08007735
7736ifeq ($(NO_SECURE),true)
7737
Nicolas Noble047b7272015-01-16 13:55:05 -08007738# You can't build secure targets if you don't have OpenSSL with ALPN.
7739
ctillercab52e72015-01-06 13:10:23 -08007740bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08007741
7742else
7743
nnoble5f2ecb32015-01-12 16:40:18 -08007744bins/$(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 -08007745 $(E) "[LD] Linking $@"
7746 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007747 $(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 -08007748
7749endif
7750
Craig Tillerd4773f52015-01-12 16:38:47 -08007751
Craig Tiller8f126a62015-01-15 08:50:19 -08007752deps_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 -08007753
7754ifneq ($(NO_SECURE),true)
7755ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007756-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007757endif
7758endif
7759
ctillerc6d61c42014-12-15 14:52:08 -08007760
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007761CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
7762
ctillercab52e72015-01-06 13:10:23 -08007763CHTTP2_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 -08007764
nnoble69ac39f2014-12-12 15:43:38 -08007765ifeq ($(NO_SECURE),true)
7766
Nicolas Noble047b7272015-01-16 13:55:05 -08007767# You can't build secure targets if you don't have OpenSSL with ALPN.
7768
ctillercab52e72015-01-06 13:10:23 -08007769bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007770
7771else
7772
nnoble5f2ecb32015-01-12 16:40:18 -08007773bins/$(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 -08007774 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007775 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007776 $(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 -08007777
nnoble69ac39f2014-12-12 15:43:38 -08007778endif
7779
Craig Tillerd4773f52015-01-12 16:38:47 -08007780
Craig Tiller8f126a62015-01-15 08:50:19 -08007781deps_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 -08007782
nnoble69ac39f2014-12-12 15:43:38 -08007783ifneq ($(NO_SECURE),true)
7784ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007785-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007786endif
nnoble69ac39f2014-12-12 15:43:38 -08007787endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007788
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007789
7790CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7791
ctillercab52e72015-01-06 13:10:23 -08007792CHTTP2_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 -08007793
nnoble69ac39f2014-12-12 15:43:38 -08007794ifeq ($(NO_SECURE),true)
7795
Nicolas Noble047b7272015-01-16 13:55:05 -08007796# You can't build secure targets if you don't have OpenSSL with ALPN.
7797
ctillercab52e72015-01-06 13:10:23 -08007798bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007799
7800else
7801
nnoble5f2ecb32015-01-12 16:40:18 -08007802bins/$(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 -08007803 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007804 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007805 $(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 -08007806
nnoble69ac39f2014-12-12 15:43:38 -08007807endif
7808
Craig Tillerd4773f52015-01-12 16:38:47 -08007809
Craig Tiller8f126a62015-01-15 08:50:19 -08007810deps_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 -08007811
nnoble69ac39f2014-12-12 15:43:38 -08007812ifneq ($(NO_SECURE),true)
7813ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007814-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007815endif
nnoble69ac39f2014-12-12 15:43:38 -08007816endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007817
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007818
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007819CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
7820
7821CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
7822
7823ifeq ($(NO_SECURE),true)
7824
David Klempner7f3ed1e2015-01-16 15:35:56 -08007825# You can't build secure targets if you don't have OpenSSL with ALPN.
7826
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007827bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: openssl_dep_error
7828
7829else
7830
7831bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
7832 $(E) "[LD] Linking $@"
7833 $(Q) mkdir -p `dirname $@`
7834 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test
7835
7836endif
7837
7838
7839deps_chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7840
7841ifneq ($(NO_SECURE),true)
7842ifneq ($(NO_DEPS),true)
7843-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7844endif
7845endif
7846
7847
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007848CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7849
ctillercab52e72015-01-06 13:10:23 -08007850CHTTP2_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 -08007851
nnoble69ac39f2014-12-12 15:43:38 -08007852ifeq ($(NO_SECURE),true)
7853
Nicolas Noble047b7272015-01-16 13:55:05 -08007854# You can't build secure targets if you don't have OpenSSL with ALPN.
7855
ctillercab52e72015-01-06 13:10:23 -08007856bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007857
7858else
7859
nnoble5f2ecb32015-01-12 16:40:18 -08007860bins/$(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 -08007861 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007862 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007863 $(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 -08007864
nnoble69ac39f2014-12-12 15:43:38 -08007865endif
7866
Craig Tillerd4773f52015-01-12 16:38:47 -08007867
Craig Tiller8f126a62015-01-15 08:50:19 -08007868deps_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 -08007869
nnoble69ac39f2014-12-12 15:43:38 -08007870ifneq ($(NO_SECURE),true)
7871ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007872-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007873endif
nnoble69ac39f2014-12-12 15:43:38 -08007874endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007875
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007876
7877CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7878
ctillercab52e72015-01-06 13:10:23 -08007879CHTTP2_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 -08007880
nnoble69ac39f2014-12-12 15:43:38 -08007881ifeq ($(NO_SECURE),true)
7882
Nicolas Noble047b7272015-01-16 13:55:05 -08007883# You can't build secure targets if you don't have OpenSSL with ALPN.
7884
ctillercab52e72015-01-06 13:10:23 -08007885bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007886
7887else
7888
nnoble5f2ecb32015-01-12 16:40:18 -08007889bins/$(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 -08007890 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007891 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007892 $(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 -08007893
nnoble69ac39f2014-12-12 15:43:38 -08007894endif
7895
Craig Tillerd4773f52015-01-12 16:38:47 -08007896
Craig Tiller8f126a62015-01-15 08:50:19 -08007897deps_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 -08007898
nnoble69ac39f2014-12-12 15:43:38 -08007899ifneq ($(NO_SECURE),true)
7900ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007901-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007902endif
nnoble69ac39f2014-12-12 15:43:38 -08007903endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007904
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007905
7906CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_SRC = \
7907
ctillercab52e72015-01-06 13:10:23 -08007908CHTTP2_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 -08007909
nnoble69ac39f2014-12-12 15:43:38 -08007910ifeq ($(NO_SECURE),true)
7911
Nicolas Noble047b7272015-01-16 13:55:05 -08007912# You can't build secure targets if you don't have OpenSSL with ALPN.
7913
ctillercab52e72015-01-06 13:10:23 -08007914bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007915
7916else
7917
nnoble5f2ecb32015-01-12 16:40:18 -08007918bins/$(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 -08007919 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007920 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007921 $(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 -08007922
nnoble69ac39f2014-12-12 15:43:38 -08007923endif
7924
Craig Tillerd4773f52015-01-12 16:38:47 -08007925
Craig Tiller8f126a62015-01-15 08:50:19 -08007926deps_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 -08007927
nnoble69ac39f2014-12-12 15:43:38 -08007928ifneq ($(NO_SECURE),true)
7929ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007930-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007931endif
nnoble69ac39f2014-12-12 15:43:38 -08007932endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007933
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007934
7935CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7936
ctillercab52e72015-01-06 13:10:23 -08007937CHTTP2_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 -08007938
nnoble69ac39f2014-12-12 15:43:38 -08007939ifeq ($(NO_SECURE),true)
7940
Nicolas Noble047b7272015-01-16 13:55:05 -08007941# You can't build secure targets if you don't have OpenSSL with ALPN.
7942
ctillercab52e72015-01-06 13:10:23 -08007943bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007944
7945else
7946
nnoble5f2ecb32015-01-12 16:40:18 -08007947bins/$(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 -08007948 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007949 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007950 $(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 -08007951
nnoble69ac39f2014-12-12 15:43:38 -08007952endif
7953
Craig Tillerd4773f52015-01-12 16:38:47 -08007954
Craig Tiller8f126a62015-01-15 08:50:19 -08007955deps_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 -08007956
nnoble69ac39f2014-12-12 15:43:38 -08007957ifneq ($(NO_SECURE),true)
7958ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007959-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007960endif
nnoble69ac39f2014-12-12 15:43:38 -08007961endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007962
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007963
ctiller33023c42014-12-12 16:28:33 -08007964CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7965
ctillercab52e72015-01-06 13:10:23 -08007966CHTTP2_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 -08007967
7968ifeq ($(NO_SECURE),true)
7969
Nicolas Noble047b7272015-01-16 13:55:05 -08007970# You can't build secure targets if you don't have OpenSSL with ALPN.
7971
ctillercab52e72015-01-06 13:10:23 -08007972bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007973
7974else
7975
nnoble5f2ecb32015-01-12 16:40:18 -08007976bins/$(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 -08007977 $(E) "[LD] Linking $@"
7978 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007979 $(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 -08007980
7981endif
7982
Craig Tillerd4773f52015-01-12 16:38:47 -08007983
Craig Tiller8f126a62015-01-15 08:50:19 -08007984deps_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 -08007985
7986ifneq ($(NO_SECURE),true)
7987ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007988-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007989endif
7990endif
7991
ctiller33023c42014-12-12 16:28:33 -08007992
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007993CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7994
ctillercab52e72015-01-06 13:10:23 -08007995CHTTP2_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 -08007996
nnoble69ac39f2014-12-12 15:43:38 -08007997ifeq ($(NO_SECURE),true)
7998
Nicolas Noble047b7272015-01-16 13:55:05 -08007999# You can't build secure targets if you don't have OpenSSL with ALPN.
8000
ctillercab52e72015-01-06 13:10:23 -08008001bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008002
8003else
8004
nnoble5f2ecb32015-01-12 16:40:18 -08008005bins/$(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 -08008006 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008007 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008008 $(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 -08008009
nnoble69ac39f2014-12-12 15:43:38 -08008010endif
8011
Craig Tillerd4773f52015-01-12 16:38:47 -08008012
Craig Tiller8f126a62015-01-15 08:50:19 -08008013deps_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 -08008014
nnoble69ac39f2014-12-12 15:43:38 -08008015ifneq ($(NO_SECURE),true)
8016ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008017-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008018endif
nnoble69ac39f2014-12-12 15:43:38 -08008019endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008020
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008021
8022CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
8023
ctillercab52e72015-01-06 13:10:23 -08008024CHTTP2_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 -08008025
nnoble69ac39f2014-12-12 15:43:38 -08008026ifeq ($(NO_SECURE),true)
8027
Nicolas Noble047b7272015-01-16 13:55:05 -08008028# You can't build secure targets if you don't have OpenSSL with ALPN.
8029
ctillercab52e72015-01-06 13:10:23 -08008030bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008031
8032else
8033
nnoble5f2ecb32015-01-12 16:40:18 -08008034bins/$(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 -08008035 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008036 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008037 $(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 -08008038
nnoble69ac39f2014-12-12 15:43:38 -08008039endif
8040
Craig Tillerd4773f52015-01-12 16:38:47 -08008041
Craig Tiller8f126a62015-01-15 08:50:19 -08008042deps_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 -08008043
nnoble69ac39f2014-12-12 15:43:38 -08008044ifneq ($(NO_SECURE),true)
8045ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008046-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008047endif
nnoble69ac39f2014-12-12 15:43:38 -08008048endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008049
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008050
ctiller2845cad2014-12-15 15:14:12 -08008051CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
8052
ctillercab52e72015-01-06 13:10:23 -08008053CHTTP2_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 -08008054
8055ifeq ($(NO_SECURE),true)
8056
Nicolas Noble047b7272015-01-16 13:55:05 -08008057# You can't build secure targets if you don't have OpenSSL with ALPN.
8058
ctillercab52e72015-01-06 13:10:23 -08008059bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08008060
8061else
8062
nnoble5f2ecb32015-01-12 16:40:18 -08008063bins/$(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 -08008064 $(E) "[LD] Linking $@"
8065 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008066 $(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 -08008067
8068endif
8069
Craig Tillerd4773f52015-01-12 16:38:47 -08008070
Craig Tiller8f126a62015-01-15 08:50:19 -08008071deps_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 -08008072
8073ifneq ($(NO_SECURE),true)
8074ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008075-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008076endif
8077endif
8078
ctiller2845cad2014-12-15 15:14:12 -08008079
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008080CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
8081
ctillercab52e72015-01-06 13:10:23 -08008082CHTTP2_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 -08008083
nnoble69ac39f2014-12-12 15:43:38 -08008084ifeq ($(NO_SECURE),true)
8085
Nicolas Noble047b7272015-01-16 13:55:05 -08008086# You can't build secure targets if you don't have OpenSSL with ALPN.
8087
ctillercab52e72015-01-06 13:10:23 -08008088bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008089
8090else
8091
nnoble5f2ecb32015-01-12 16:40:18 -08008092bins/$(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 -08008093 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008094 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008095 $(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 -08008096
nnoble69ac39f2014-12-12 15:43:38 -08008097endif
8098
Craig Tillerd4773f52015-01-12 16:38:47 -08008099
Craig Tiller8f126a62015-01-15 08:50:19 -08008100deps_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 -08008101
nnoble69ac39f2014-12-12 15:43:38 -08008102ifneq ($(NO_SECURE),true)
8103ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008104-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008105endif
nnoble69ac39f2014-12-12 15:43:38 -08008106endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008107
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008108
8109CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
8110
ctillercab52e72015-01-06 13:10:23 -08008111CHTTP2_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 -08008112
nnoble69ac39f2014-12-12 15:43:38 -08008113ifeq ($(NO_SECURE),true)
8114
Nicolas Noble047b7272015-01-16 13:55:05 -08008115# You can't build secure targets if you don't have OpenSSL with ALPN.
8116
ctillercab52e72015-01-06 13:10:23 -08008117bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008118
8119else
8120
nnoble5f2ecb32015-01-12 16:40:18 -08008121bins/$(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 -08008122 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008123 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008124 $(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 -08008125
nnoble69ac39f2014-12-12 15:43:38 -08008126endif
8127
Craig Tillerd4773f52015-01-12 16:38:47 -08008128
Craig Tiller8f126a62015-01-15 08:50:19 -08008129deps_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 -08008130
nnoble69ac39f2014-12-12 15:43:38 -08008131ifneq ($(NO_SECURE),true)
8132ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008133-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008134endif
nnoble69ac39f2014-12-12 15:43:38 -08008135endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008136
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008137
nathaniel52878172014-12-09 10:17:19 -08008138CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008139
ctillercab52e72015-01-06 13:10:23 -08008140CHTTP2_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 -08008141
nnoble69ac39f2014-12-12 15:43:38 -08008142ifeq ($(NO_SECURE),true)
8143
Nicolas Noble047b7272015-01-16 13:55:05 -08008144# You can't build secure targets if you don't have OpenSSL with ALPN.
8145
ctillercab52e72015-01-06 13:10:23 -08008146bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008147
8148else
8149
nnoble5f2ecb32015-01-12 16:40:18 -08008150bins/$(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 -08008151 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008152 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008153 $(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 -08008154
nnoble69ac39f2014-12-12 15:43:38 -08008155endif
8156
Craig Tillerd4773f52015-01-12 16:38:47 -08008157
Craig Tiller8f126a62015-01-15 08:50:19 -08008158deps_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 -08008159
nnoble69ac39f2014-12-12 15:43:38 -08008160ifneq ($(NO_SECURE),true)
8161ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008162-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008163endif
nnoble69ac39f2014-12-12 15:43:38 -08008164endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008165
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008166
8167CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8168
ctillercab52e72015-01-06 13:10:23 -08008169CHTTP2_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 -08008170
nnoble69ac39f2014-12-12 15:43:38 -08008171ifeq ($(NO_SECURE),true)
8172
Nicolas Noble047b7272015-01-16 13:55:05 -08008173# You can't build secure targets if you don't have OpenSSL with ALPN.
8174
ctillercab52e72015-01-06 13:10:23 -08008175bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008176
8177else
8178
nnoble5f2ecb32015-01-12 16:40:18 -08008179bins/$(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 -08008180 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008181 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008182 $(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 -08008183
nnoble69ac39f2014-12-12 15:43:38 -08008184endif
8185
Craig Tillerd4773f52015-01-12 16:38:47 -08008186
Craig Tiller8f126a62015-01-15 08:50:19 -08008187deps_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 -08008188
nnoble69ac39f2014-12-12 15:43:38 -08008189ifneq ($(NO_SECURE),true)
8190ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008191-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008192endif
nnoble69ac39f2014-12-12 15:43:38 -08008193endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008194
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008195
8196CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8197
ctillercab52e72015-01-06 13:10:23 -08008198CHTTP2_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 -08008199
nnoble69ac39f2014-12-12 15:43:38 -08008200ifeq ($(NO_SECURE),true)
8201
Nicolas Noble047b7272015-01-16 13:55:05 -08008202# You can't build secure targets if you don't have OpenSSL with ALPN.
8203
ctillercab52e72015-01-06 13:10:23 -08008204bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008205
8206else
8207
nnoble5f2ecb32015-01-12 16:40:18 -08008208bins/$(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 -08008209 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008210 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008211 $(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 -08008212
nnoble69ac39f2014-12-12 15:43:38 -08008213endif
8214
Craig Tillerd4773f52015-01-12 16:38:47 -08008215
Craig Tiller8f126a62015-01-15 08:50:19 -08008216deps_chttp2_socket_pair_cancel_after_accept_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008217
nnoble69ac39f2014-12-12 15:43:38 -08008218ifneq ($(NO_SECURE),true)
8219ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008220-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008221endif
nnoble69ac39f2014-12-12 15:43:38 -08008222endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008223
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008224
8225CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8226
ctillercab52e72015-01-06 13:10:23 -08008227CHTTP2_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 -08008228
nnoble69ac39f2014-12-12 15:43:38 -08008229ifeq ($(NO_SECURE),true)
8230
Nicolas Noble047b7272015-01-16 13:55:05 -08008231# You can't build secure targets if you don't have OpenSSL with ALPN.
8232
ctillercab52e72015-01-06 13:10:23 -08008233bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008234
8235else
8236
nnoble5f2ecb32015-01-12 16:40:18 -08008237bins/$(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 -08008238 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008239 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008240 $(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 -08008241
nnoble69ac39f2014-12-12 15:43:38 -08008242endif
8243
Craig Tillerd4773f52015-01-12 16:38:47 -08008244
Craig Tiller8f126a62015-01-15 08:50:19 -08008245deps_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 -08008246
nnoble69ac39f2014-12-12 15:43:38 -08008247ifneq ($(NO_SECURE),true)
8248ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008249-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008250endif
nnoble69ac39f2014-12-12 15:43:38 -08008251endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008252
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008253
8254CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_SRC = \
8255
ctillercab52e72015-01-06 13:10:23 -08008256CHTTP2_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 -08008257
nnoble69ac39f2014-12-12 15:43:38 -08008258ifeq ($(NO_SECURE),true)
8259
Nicolas Noble047b7272015-01-16 13:55:05 -08008260# You can't build secure targets if you don't have OpenSSL with ALPN.
8261
ctillercab52e72015-01-06 13:10:23 -08008262bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008263
8264else
8265
nnoble5f2ecb32015-01-12 16:40:18 -08008266bins/$(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 -08008267 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008268 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008269 $(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 -08008270
nnoble69ac39f2014-12-12 15:43:38 -08008271endif
8272
Craig Tillerd4773f52015-01-12 16:38:47 -08008273
Craig Tiller8f126a62015-01-15 08:50:19 -08008274deps_chttp2_socket_pair_cancel_after_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008275
nnoble69ac39f2014-12-12 15:43:38 -08008276ifneq ($(NO_SECURE),true)
8277ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008278-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008279endif
nnoble69ac39f2014-12-12 15:43:38 -08008280endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008281
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008282
8283CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8284
ctillercab52e72015-01-06 13:10:23 -08008285CHTTP2_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 -08008286
nnoble69ac39f2014-12-12 15:43:38 -08008287ifeq ($(NO_SECURE),true)
8288
Nicolas Noble047b7272015-01-16 13:55:05 -08008289# You can't build secure targets if you don't have OpenSSL with ALPN.
8290
ctillercab52e72015-01-06 13:10:23 -08008291bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008292
8293else
8294
nnoble5f2ecb32015-01-12 16:40:18 -08008295bins/$(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 -08008296 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008297 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008298 $(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 -08008299
nnoble69ac39f2014-12-12 15:43:38 -08008300endif
8301
Craig Tillerd4773f52015-01-12 16:38:47 -08008302
Craig Tiller8f126a62015-01-15 08:50:19 -08008303deps_chttp2_socket_pair_cancel_before_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008304
nnoble69ac39f2014-12-12 15:43:38 -08008305ifneq ($(NO_SECURE),true)
8306ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008307-include $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008308endif
nnoble69ac39f2014-12-12 15:43:38 -08008309endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008310
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008311
8312CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_SRC = \
8313
ctillercab52e72015-01-06 13:10:23 -08008314CHTTP2_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 -08008315
nnoble69ac39f2014-12-12 15:43:38 -08008316ifeq ($(NO_SECURE),true)
8317
Nicolas Noble047b7272015-01-16 13:55:05 -08008318# You can't build secure targets if you don't have OpenSSL with ALPN.
8319
ctillercab52e72015-01-06 13:10:23 -08008320bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008321
8322else
8323
nnoble5f2ecb32015-01-12 16:40:18 -08008324bins/$(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 -08008325 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008326 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008327 $(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 -08008328
nnoble69ac39f2014-12-12 15:43:38 -08008329endif
8330
Craig Tillerd4773f52015-01-12 16:38:47 -08008331
Craig Tiller8f126a62015-01-15 08:50:19 -08008332deps_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 -08008333
nnoble69ac39f2014-12-12 15:43:38 -08008334ifneq ($(NO_SECURE),true)
8335ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008336-include $(CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008337endif
nnoble69ac39f2014-12-12 15:43:38 -08008338endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008339
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008340
hongyu24200d32015-01-08 15:13:49 -08008341CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8342
8343CHTTP2_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 -08008344
8345ifeq ($(NO_SECURE),true)
8346
Nicolas Noble047b7272015-01-16 13:55:05 -08008347# You can't build secure targets if you don't have OpenSSL with ALPN.
8348
hongyu24200d32015-01-08 15:13:49 -08008349bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test: openssl_dep_error
8350
8351else
8352
nnoble5f2ecb32015-01-12 16:40:18 -08008353bins/$(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 -08008354 $(E) "[LD] Linking $@"
8355 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008356 $(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 -08008357
8358endif
8359
Craig Tillerd4773f52015-01-12 16:38:47 -08008360
Craig Tiller8f126a62015-01-15 08:50:19 -08008361deps_chttp2_socket_pair_census_simple_request_test: $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008362
8363ifneq ($(NO_SECURE),true)
8364ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008365-include $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008366endif
8367endif
8368
hongyu24200d32015-01-08 15:13:49 -08008369
ctillerc6d61c42014-12-15 14:52:08 -08008370CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_SRC = \
8371
ctillercab52e72015-01-06 13:10:23 -08008372CHTTP2_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 -08008373
8374ifeq ($(NO_SECURE),true)
8375
Nicolas Noble047b7272015-01-16 13:55:05 -08008376# You can't build secure targets if you don't have OpenSSL with ALPN.
8377
ctillercab52e72015-01-06 13:10:23 -08008378bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08008379
8380else
8381
nnoble5f2ecb32015-01-12 16:40:18 -08008382bins/$(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 -08008383 $(E) "[LD] Linking $@"
8384 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008385 $(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 -08008386
8387endif
8388
Craig Tillerd4773f52015-01-12 16:38:47 -08008389
Craig Tiller8f126a62015-01-15 08:50:19 -08008390deps_chttp2_socket_pair_disappearing_server_test: $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008391
8392ifneq ($(NO_SECURE),true)
8393ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008394-include $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008395endif
8396endif
8397
ctillerc6d61c42014-12-15 14:52:08 -08008398
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008399CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
8400
ctillercab52e72015-01-06 13:10:23 -08008401CHTTP2_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 -08008402
nnoble69ac39f2014-12-12 15:43:38 -08008403ifeq ($(NO_SECURE),true)
8404
Nicolas Noble047b7272015-01-16 13:55:05 -08008405# You can't build secure targets if you don't have OpenSSL with ALPN.
8406
ctillercab52e72015-01-06 13:10:23 -08008407bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008408
8409else
8410
nnoble5f2ecb32015-01-12 16:40:18 -08008411bins/$(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 -08008412 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008413 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008414 $(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 -08008415
nnoble69ac39f2014-12-12 15:43:38 -08008416endif
8417
Craig Tillerd4773f52015-01-12 16:38:47 -08008418
Craig Tiller8f126a62015-01-15 08:50:19 -08008419deps_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 -08008420
nnoble69ac39f2014-12-12 15:43:38 -08008421ifneq ($(NO_SECURE),true)
8422ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008423-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008424endif
nnoble69ac39f2014-12-12 15:43:38 -08008425endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008426
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008427
8428CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
8429
ctillercab52e72015-01-06 13:10:23 -08008430CHTTP2_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 -08008431
nnoble69ac39f2014-12-12 15:43:38 -08008432ifeq ($(NO_SECURE),true)
8433
Nicolas Noble047b7272015-01-16 13:55:05 -08008434# You can't build secure targets if you don't have OpenSSL with ALPN.
8435
ctillercab52e72015-01-06 13:10:23 -08008436bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008437
8438else
8439
nnoble5f2ecb32015-01-12 16:40:18 -08008440bins/$(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 -08008441 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008442 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008443 $(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 -08008444
nnoble69ac39f2014-12-12 15:43:38 -08008445endif
8446
Craig Tillerd4773f52015-01-12 16:38:47 -08008447
Craig Tiller8f126a62015-01-15 08:50:19 -08008448deps_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 -08008449
nnoble69ac39f2014-12-12 15:43:38 -08008450ifneq ($(NO_SECURE),true)
8451ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008452-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008453endif
nnoble69ac39f2014-12-12 15:43:38 -08008454endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008455
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008456
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008457CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
8458
8459CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
8460
8461ifeq ($(NO_SECURE),true)
8462
David Klempner7f3ed1e2015-01-16 15:35:56 -08008463# You can't build secure targets if you don't have OpenSSL with ALPN.
8464
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008465bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test: openssl_dep_error
8466
8467else
8468
8469bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
8470 $(E) "[LD] Linking $@"
8471 $(Q) mkdir -p `dirname $@`
8472 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test
8473
8474endif
8475
8476
8477deps_chttp2_socket_pair_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8478
8479ifneq ($(NO_SECURE),true)
8480ifneq ($(NO_DEPS),true)
8481-include $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8482endif
8483endif
8484
8485
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008486CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_SRC = \
8487
ctillercab52e72015-01-06 13:10:23 -08008488CHTTP2_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 -08008489
nnoble69ac39f2014-12-12 15:43:38 -08008490ifeq ($(NO_SECURE),true)
8491
Nicolas Noble047b7272015-01-16 13:55:05 -08008492# You can't build secure targets if you don't have OpenSSL with ALPN.
8493
ctillercab52e72015-01-06 13:10:23 -08008494bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008495
8496else
8497
nnoble5f2ecb32015-01-12 16:40:18 -08008498bins/$(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 -08008499 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008500 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008501 $(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 -08008502
nnoble69ac39f2014-12-12 15:43:38 -08008503endif
8504
Craig Tillerd4773f52015-01-12 16:38:47 -08008505
Craig Tiller8f126a62015-01-15 08:50:19 -08008506deps_chttp2_socket_pair_invoke_large_request_test: $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008507
nnoble69ac39f2014-12-12 15:43:38 -08008508ifneq ($(NO_SECURE),true)
8509ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008510-include $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008511endif
nnoble69ac39f2014-12-12 15:43:38 -08008512endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008513
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008514
8515CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_SRC = \
8516
ctillercab52e72015-01-06 13:10:23 -08008517CHTTP2_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 -08008518
nnoble69ac39f2014-12-12 15:43:38 -08008519ifeq ($(NO_SECURE),true)
8520
Nicolas Noble047b7272015-01-16 13:55:05 -08008521# You can't build secure targets if you don't have OpenSSL with ALPN.
8522
ctillercab52e72015-01-06 13:10:23 -08008523bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008524
8525else
8526
nnoble5f2ecb32015-01-12 16:40:18 -08008527bins/$(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 -08008528 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008529 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008530 $(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 -08008531
nnoble69ac39f2014-12-12 15:43:38 -08008532endif
8533
Craig Tillerd4773f52015-01-12 16:38:47 -08008534
Craig Tiller8f126a62015-01-15 08:50:19 -08008535deps_chttp2_socket_pair_max_concurrent_streams_test: $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008536
nnoble69ac39f2014-12-12 15:43:38 -08008537ifneq ($(NO_SECURE),true)
8538ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008539-include $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008540endif
nnoble69ac39f2014-12-12 15:43:38 -08008541endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008542
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008543
8544CHTTP2_SOCKET_PAIR_NO_OP_TEST_SRC = \
8545
ctillercab52e72015-01-06 13:10:23 -08008546CHTTP2_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 -08008547
nnoble69ac39f2014-12-12 15:43:38 -08008548ifeq ($(NO_SECURE),true)
8549
Nicolas Noble047b7272015-01-16 13:55:05 -08008550# You can't build secure targets if you don't have OpenSSL with ALPN.
8551
ctillercab52e72015-01-06 13:10:23 -08008552bins/$(CONFIG)/chttp2_socket_pair_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008553
8554else
8555
nnoble5f2ecb32015-01-12 16:40:18 -08008556bins/$(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 -08008557 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008558 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008559 $(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 -08008560
nnoble69ac39f2014-12-12 15:43:38 -08008561endif
8562
Craig Tillerd4773f52015-01-12 16:38:47 -08008563
Craig Tiller8f126a62015-01-15 08:50:19 -08008564deps_chttp2_socket_pair_no_op_test: $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008565
nnoble69ac39f2014-12-12 15:43:38 -08008566ifneq ($(NO_SECURE),true)
8567ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008568-include $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008569endif
nnoble69ac39f2014-12-12 15:43:38 -08008570endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008571
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008572
8573CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_SRC = \
8574
ctillercab52e72015-01-06 13:10:23 -08008575CHTTP2_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 -08008576
nnoble69ac39f2014-12-12 15:43:38 -08008577ifeq ($(NO_SECURE),true)
8578
Nicolas Noble047b7272015-01-16 13:55:05 -08008579# You can't build secure targets if you don't have OpenSSL with ALPN.
8580
ctillercab52e72015-01-06 13:10:23 -08008581bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008582
8583else
8584
nnoble5f2ecb32015-01-12 16:40:18 -08008585bins/$(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 -08008586 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008587 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008588 $(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 -08008589
nnoble69ac39f2014-12-12 15:43:38 -08008590endif
8591
Craig Tillerd4773f52015-01-12 16:38:47 -08008592
Craig Tiller8f126a62015-01-15 08:50:19 -08008593deps_chttp2_socket_pair_ping_pong_streaming_test: $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008594
nnoble69ac39f2014-12-12 15:43:38 -08008595ifneq ($(NO_SECURE),true)
8596ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008597-include $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008598endif
nnoble69ac39f2014-12-12 15:43:38 -08008599endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008600
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008601
ctiller33023c42014-12-12 16:28:33 -08008602CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
8603
ctillercab52e72015-01-06 13:10:23 -08008604CHTTP2_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 -08008605
8606ifeq ($(NO_SECURE),true)
8607
Nicolas Noble047b7272015-01-16 13:55:05 -08008608# You can't build secure targets if you don't have OpenSSL with ALPN.
8609
ctillercab52e72015-01-06 13:10:23 -08008610bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08008611
8612else
8613
nnoble5f2ecb32015-01-12 16:40:18 -08008614bins/$(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 -08008615 $(E) "[LD] Linking $@"
8616 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008617 $(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 -08008618
8619endif
8620
Craig Tillerd4773f52015-01-12 16:38:47 -08008621
Craig Tiller8f126a62015-01-15 08:50:19 -08008622deps_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 -08008623
8624ifneq ($(NO_SECURE),true)
8625ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008626-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08008627endif
8628endif
8629
ctiller33023c42014-12-12 16:28:33 -08008630
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008631CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
8632
ctillercab52e72015-01-06 13:10:23 -08008633CHTTP2_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 -08008634
nnoble69ac39f2014-12-12 15:43:38 -08008635ifeq ($(NO_SECURE),true)
8636
Nicolas Noble047b7272015-01-16 13:55:05 -08008637# You can't build secure targets if you don't have OpenSSL with ALPN.
8638
ctillercab52e72015-01-06 13:10:23 -08008639bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008640
8641else
8642
nnoble5f2ecb32015-01-12 16:40:18 -08008643bins/$(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 -08008644 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008645 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008646 $(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 -08008647
nnoble69ac39f2014-12-12 15:43:38 -08008648endif
8649
Craig Tillerd4773f52015-01-12 16:38:47 -08008650
Craig Tiller8f126a62015-01-15 08:50:19 -08008651deps_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 -08008652
nnoble69ac39f2014-12-12 15:43:38 -08008653ifneq ($(NO_SECURE),true)
8654ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008655-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008656endif
nnoble69ac39f2014-12-12 15:43:38 -08008657endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008658
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008659
8660CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
8661
ctillercab52e72015-01-06 13:10:23 -08008662CHTTP2_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 -08008663
nnoble69ac39f2014-12-12 15:43:38 -08008664ifeq ($(NO_SECURE),true)
8665
Nicolas Noble047b7272015-01-16 13:55:05 -08008666# You can't build secure targets if you don't have OpenSSL with ALPN.
8667
ctillercab52e72015-01-06 13:10:23 -08008668bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008669
8670else
8671
nnoble5f2ecb32015-01-12 16:40:18 -08008672bins/$(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 -08008673 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008674 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008675 $(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 -08008676
nnoble69ac39f2014-12-12 15:43:38 -08008677endif
8678
Craig Tillerd4773f52015-01-12 16:38:47 -08008679
Craig Tiller8f126a62015-01-15 08:50:19 -08008680deps_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 -08008681
nnoble69ac39f2014-12-12 15:43:38 -08008682ifneq ($(NO_SECURE),true)
8683ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008684-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008685endif
nnoble69ac39f2014-12-12 15:43:38 -08008686endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008687
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008688
ctiller2845cad2014-12-15 15:14:12 -08008689CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
8690
ctillercab52e72015-01-06 13:10:23 -08008691CHTTP2_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 -08008692
8693ifeq ($(NO_SECURE),true)
8694
Nicolas Noble047b7272015-01-16 13:55:05 -08008695# You can't build secure targets if you don't have OpenSSL with ALPN.
8696
ctillercab52e72015-01-06 13:10:23 -08008697bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08008698
8699else
8700
nnoble5f2ecb32015-01-12 16:40:18 -08008701bins/$(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 -08008702 $(E) "[LD] Linking $@"
8703 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008704 $(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 -08008705
8706endif
8707
Craig Tillerd4773f52015-01-12 16:38:47 -08008708
Craig Tiller8f126a62015-01-15 08:50:19 -08008709deps_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 -08008710
8711ifneq ($(NO_SECURE),true)
8712ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008713-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008714endif
8715endif
8716
ctiller2845cad2014-12-15 15:14:12 -08008717
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008718CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
8719
ctillercab52e72015-01-06 13:10:23 -08008720CHTTP2_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 -08008721
nnoble69ac39f2014-12-12 15:43:38 -08008722ifeq ($(NO_SECURE),true)
8723
Nicolas Noble047b7272015-01-16 13:55:05 -08008724# You can't build secure targets if you don't have OpenSSL with ALPN.
8725
ctillercab52e72015-01-06 13:10:23 -08008726bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008727
8728else
8729
nnoble5f2ecb32015-01-12 16:40:18 -08008730bins/$(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 -08008731 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008732 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008733 $(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 -08008734
nnoble69ac39f2014-12-12 15:43:38 -08008735endif
8736
Craig Tillerd4773f52015-01-12 16:38:47 -08008737
Craig Tiller8f126a62015-01-15 08:50:19 -08008738deps_chttp2_socket_pair_simple_delayed_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008739
nnoble69ac39f2014-12-12 15:43:38 -08008740ifneq ($(NO_SECURE),true)
8741ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008742-include $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008743endif
nnoble69ac39f2014-12-12 15:43:38 -08008744endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008745
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008746
8747CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_SRC = \
8748
ctillercab52e72015-01-06 13:10:23 -08008749CHTTP2_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 -08008750
nnoble69ac39f2014-12-12 15:43:38 -08008751ifeq ($(NO_SECURE),true)
8752
Nicolas Noble047b7272015-01-16 13:55:05 -08008753# You can't build secure targets if you don't have OpenSSL with ALPN.
8754
ctillercab52e72015-01-06 13:10:23 -08008755bins/$(CONFIG)/chttp2_socket_pair_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008756
8757else
8758
nnoble5f2ecb32015-01-12 16:40:18 -08008759bins/$(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 -08008760 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008761 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008762 $(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 -08008763
nnoble69ac39f2014-12-12 15:43:38 -08008764endif
8765
Craig Tillerd4773f52015-01-12 16:38:47 -08008766
Craig Tiller8f126a62015-01-15 08:50:19 -08008767deps_chttp2_socket_pair_simple_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008768
nnoble69ac39f2014-12-12 15:43:38 -08008769ifneq ($(NO_SECURE),true)
8770ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008771-include $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008772endif
nnoble69ac39f2014-12-12 15:43:38 -08008773endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008774
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008775
nathaniel52878172014-12-09 10:17:19 -08008776CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008777
ctillercab52e72015-01-06 13:10:23 -08008778CHTTP2_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 -08008779
nnoble69ac39f2014-12-12 15:43:38 -08008780ifeq ($(NO_SECURE),true)
8781
Nicolas Noble047b7272015-01-16 13:55:05 -08008782# You can't build secure targets if you don't have OpenSSL with ALPN.
8783
ctillercab52e72015-01-06 13:10:23 -08008784bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008785
8786else
8787
nnoble5f2ecb32015-01-12 16:40:18 -08008788bins/$(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 -08008789 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008790 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008791 $(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 -08008792
nnoble69ac39f2014-12-12 15:43:38 -08008793endif
8794
Craig Tillerd4773f52015-01-12 16:38:47 -08008795
Craig Tiller8f126a62015-01-15 08:50:19 -08008796deps_chttp2_socket_pair_thread_stress_test: $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008797
nnoble69ac39f2014-12-12 15:43:38 -08008798ifneq ($(NO_SECURE),true)
8799ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008800-include $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008801endif
nnoble69ac39f2014-12-12 15:43:38 -08008802endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008803
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008804
8805CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8806
ctillercab52e72015-01-06 13:10:23 -08008807CHTTP2_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 -08008808
nnoble69ac39f2014-12-12 15:43:38 -08008809ifeq ($(NO_SECURE),true)
8810
Nicolas Noble047b7272015-01-16 13:55:05 -08008811# You can't build secure targets if you don't have OpenSSL with ALPN.
8812
ctillercab52e72015-01-06 13:10:23 -08008813bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008814
8815else
8816
nnoble5f2ecb32015-01-12 16:40:18 -08008817bins/$(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 -08008818 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008819 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008820 $(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 -08008821
nnoble69ac39f2014-12-12 15:43:38 -08008822endif
8823
Craig Tillerd4773f52015-01-12 16:38:47 -08008824
Craig Tiller8f126a62015-01-15 08:50:19 -08008825deps_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 -08008826
nnoble69ac39f2014-12-12 15:43:38 -08008827ifneq ($(NO_SECURE),true)
8828ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008829-include $(CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008830endif
nnoble69ac39f2014-12-12 15:43:38 -08008831endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008832
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008833
nnoble0c475f02014-12-05 15:37:39 -08008834CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8835
ctillercab52e72015-01-06 13:10:23 -08008836CHTTP2_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 -08008837
nnoble69ac39f2014-12-12 15:43:38 -08008838ifeq ($(NO_SECURE),true)
8839
Nicolas Noble047b7272015-01-16 13:55:05 -08008840# You can't build secure targets if you don't have OpenSSL with ALPN.
8841
ctillercab52e72015-01-06 13:10:23 -08008842bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008843
8844else
8845
nnoble5f2ecb32015-01-12 16:40:18 -08008846bins/$(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 -08008847 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008848 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008849 $(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 -08008850
nnoble69ac39f2014-12-12 15:43:38 -08008851endif
8852
Craig Tillerd4773f52015-01-12 16:38:47 -08008853
Craig Tiller8f126a62015-01-15 08:50:19 -08008854deps_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 -08008855
nnoble69ac39f2014-12-12 15:43:38 -08008856ifneq ($(NO_SECURE),true)
8857ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008858-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008859endif
nnoble69ac39f2014-12-12 15:43:38 -08008860endif
nnoble0c475f02014-12-05 15:37:39 -08008861
nnoble0c475f02014-12-05 15:37:39 -08008862
8863CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8864
ctillercab52e72015-01-06 13:10:23 -08008865CHTTP2_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 -08008866
nnoble69ac39f2014-12-12 15:43:38 -08008867ifeq ($(NO_SECURE),true)
8868
Nicolas Noble047b7272015-01-16 13:55:05 -08008869# You can't build secure targets if you don't have OpenSSL with ALPN.
8870
ctillercab52e72015-01-06 13:10:23 -08008871bins/$(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 -08008872
8873else
8874
nnoble5f2ecb32015-01-12 16:40:18 -08008875bins/$(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 -08008876 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008877 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008878 $(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 -08008879
nnoble69ac39f2014-12-12 15:43:38 -08008880endif
8881
Craig Tillerd4773f52015-01-12 16:38:47 -08008882
Craig Tiller8f126a62015-01-15 08:50:19 -08008883deps_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 -08008884
nnoble69ac39f2014-12-12 15:43:38 -08008885ifneq ($(NO_SECURE),true)
8886ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008887-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 -08008888endif
nnoble69ac39f2014-12-12 15:43:38 -08008889endif
nnoble0c475f02014-12-05 15:37:39 -08008890
nnoble0c475f02014-12-05 15:37:39 -08008891
8892CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_SRC = \
8893
ctillercab52e72015-01-06 13:10:23 -08008894CHTTP2_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 -08008895
nnoble69ac39f2014-12-12 15:43:38 -08008896ifeq ($(NO_SECURE),true)
8897
Nicolas Noble047b7272015-01-16 13:55:05 -08008898# You can't build secure targets if you don't have OpenSSL with ALPN.
8899
ctillercab52e72015-01-06 13:10:23 -08008900bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008901
8902else
8903
nnoble5f2ecb32015-01-12 16:40:18 -08008904bins/$(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 -08008905 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008906 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008907 $(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 -08008908
nnoble69ac39f2014-12-12 15:43:38 -08008909endif
8910
Craig Tillerd4773f52015-01-12 16:38:47 -08008911
Craig Tiller8f126a62015-01-15 08:50:19 -08008912deps_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 -08008913
nnoble69ac39f2014-12-12 15:43:38 -08008914ifneq ($(NO_SECURE),true)
8915ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008916-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008917endif
nnoble69ac39f2014-12-12 15:43:38 -08008918endif
nnoble0c475f02014-12-05 15:37:39 -08008919
nnoble0c475f02014-12-05 15:37:39 -08008920
8921CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8922
ctillercab52e72015-01-06 13:10:23 -08008923CHTTP2_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 -08008924
nnoble69ac39f2014-12-12 15:43:38 -08008925ifeq ($(NO_SECURE),true)
8926
Nicolas Noble047b7272015-01-16 13:55:05 -08008927# You can't build secure targets if you don't have OpenSSL with ALPN.
8928
ctillercab52e72015-01-06 13:10:23 -08008929bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008930
8931else
8932
nnoble5f2ecb32015-01-12 16:40:18 -08008933bins/$(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 -08008934 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008935 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008936 $(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 -08008937
nnoble69ac39f2014-12-12 15:43:38 -08008938endif
8939
Craig Tillerd4773f52015-01-12 16:38:47 -08008940
Craig Tiller8f126a62015-01-15 08:50:19 -08008941deps_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 -08008942
nnoble69ac39f2014-12-12 15:43:38 -08008943ifneq ($(NO_SECURE),true)
8944ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008945-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008946endif
nnoble69ac39f2014-12-12 15:43:38 -08008947endif
nnoble0c475f02014-12-05 15:37:39 -08008948
nnoble0c475f02014-12-05 15:37:39 -08008949
8950CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_SRC = \
8951
ctillercab52e72015-01-06 13:10:23 -08008952CHTTP2_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 -08008953
nnoble69ac39f2014-12-12 15:43:38 -08008954ifeq ($(NO_SECURE),true)
8955
Nicolas Noble047b7272015-01-16 13:55:05 -08008956# You can't build secure targets if you don't have OpenSSL with ALPN.
8957
ctillercab52e72015-01-06 13:10:23 -08008958bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008959
8960else
8961
nnoble5f2ecb32015-01-12 16:40:18 -08008962bins/$(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 -08008963 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008964 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008965 $(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 -08008966
nnoble69ac39f2014-12-12 15:43:38 -08008967endif
8968
Craig Tillerd4773f52015-01-12 16:38:47 -08008969
Craig Tiller8f126a62015-01-15 08:50:19 -08008970deps_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 -08008971
nnoble69ac39f2014-12-12 15:43:38 -08008972ifneq ($(NO_SECURE),true)
8973ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008974-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008975endif
nnoble69ac39f2014-12-12 15:43:38 -08008976endif
nnoble0c475f02014-12-05 15:37:39 -08008977
nnoble0c475f02014-12-05 15:37:39 -08008978
hongyu24200d32015-01-08 15:13:49 -08008979CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8980
8981CHTTP2_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 -08008982
8983ifeq ($(NO_SECURE),true)
8984
Nicolas Noble047b7272015-01-16 13:55:05 -08008985# You can't build secure targets if you don't have OpenSSL with ALPN.
8986
hongyu24200d32015-01-08 15:13:49 -08008987bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: openssl_dep_error
8988
8989else
8990
nnoble5f2ecb32015-01-12 16:40:18 -08008991bins/$(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 -08008992 $(E) "[LD] Linking $@"
8993 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008994 $(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 -08008995
8996endif
8997
Craig Tillerd4773f52015-01-12 16:38:47 -08008998
Craig Tiller8f126a62015-01-15 08:50:19 -08008999deps_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 -08009000
9001ifneq ($(NO_SECURE),true)
9002ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009003-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08009004endif
9005endif
9006
hongyu24200d32015-01-08 15:13:49 -08009007
ctillerc6d61c42014-12-15 14:52:08 -08009008CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_SRC = \
9009
ctillercab52e72015-01-06 13:10:23 -08009010CHTTP2_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 -08009011
9012ifeq ($(NO_SECURE),true)
9013
Nicolas Noble047b7272015-01-16 13:55:05 -08009014# You can't build secure targets if you don't have OpenSSL with ALPN.
9015
ctillercab52e72015-01-06 13:10:23 -08009016bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08009017
9018else
9019
nnoble5f2ecb32015-01-12 16:40:18 -08009020bins/$(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 -08009021 $(E) "[LD] Linking $@"
9022 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009023 $(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 -08009024
9025endif
9026
Craig Tillerd4773f52015-01-12 16:38:47 -08009027
Craig Tiller8f126a62015-01-15 08:50:19 -08009028deps_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 -08009029
9030ifneq ($(NO_SECURE),true)
9031ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009032-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08009033endif
9034endif
9035
ctillerc6d61c42014-12-15 14:52:08 -08009036
nnoble0c475f02014-12-05 15:37:39 -08009037CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
9038
ctillercab52e72015-01-06 13:10:23 -08009039CHTTP2_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 -08009040
nnoble69ac39f2014-12-12 15:43:38 -08009041ifeq ($(NO_SECURE),true)
9042
Nicolas Noble047b7272015-01-16 13:55:05 -08009043# You can't build secure targets if you don't have OpenSSL with ALPN.
9044
ctillercab52e72015-01-06 13:10:23 -08009045bins/$(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 -08009046
9047else
9048
nnoble5f2ecb32015-01-12 16:40:18 -08009049bins/$(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 -08009050 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009051 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009052 $(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 -08009053
nnoble69ac39f2014-12-12 15:43:38 -08009054endif
9055
Craig Tillerd4773f52015-01-12 16:38:47 -08009056
Craig Tiller8f126a62015-01-15 08:50:19 -08009057deps_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 -08009058
nnoble69ac39f2014-12-12 15:43:38 -08009059ifneq ($(NO_SECURE),true)
9060ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009061-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 -08009062endif
nnoble69ac39f2014-12-12 15:43:38 -08009063endif
nnoble0c475f02014-12-05 15:37:39 -08009064
nnoble0c475f02014-12-05 15:37:39 -08009065
9066CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
9067
ctillercab52e72015-01-06 13:10:23 -08009068CHTTP2_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 -08009069
nnoble69ac39f2014-12-12 15:43:38 -08009070ifeq ($(NO_SECURE),true)
9071
Nicolas Noble047b7272015-01-16 13:55:05 -08009072# You can't build secure targets if you don't have OpenSSL with ALPN.
9073
ctillercab52e72015-01-06 13:10:23 -08009074bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009075
9076else
9077
nnoble5f2ecb32015-01-12 16:40:18 -08009078bins/$(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 -08009079 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009080 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009081 $(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 -08009082
nnoble69ac39f2014-12-12 15:43:38 -08009083endif
9084
Craig Tillerd4773f52015-01-12 16:38:47 -08009085
Craig Tiller8f126a62015-01-15 08:50:19 -08009086deps_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 -08009087
nnoble69ac39f2014-12-12 15:43:38 -08009088ifneq ($(NO_SECURE),true)
9089ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009090-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009091endif
nnoble69ac39f2014-12-12 15:43:38 -08009092endif
nnoble0c475f02014-12-05 15:37:39 -08009093
nnoble0c475f02014-12-05 15:37:39 -08009094
Craig Tiller4ffdcd52015-01-16 11:34:55 -08009095CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
9096
9097CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
9098
9099ifeq ($(NO_SECURE),true)
9100
David Klempner7f3ed1e2015-01-16 15:35:56 -08009101# You can't build secure targets if you don't have OpenSSL with ALPN.
9102
Craig Tiller4ffdcd52015-01-16 11:34:55 -08009103bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: openssl_dep_error
9104
9105else
9106
9107bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
9108 $(E) "[LD] Linking $@"
9109 $(Q) mkdir -p `dirname $@`
9110 $(Q) $(LD) $(LDFLAGS) $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS) libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_certs.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test
9111
9112endif
9113
9114
9115deps_chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
9116
9117ifneq ($(NO_SECURE),true)
9118ifneq ($(NO_DEPS),true)
9119-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
9120endif
9121endif
9122
9123
nnoble0c475f02014-12-05 15:37:39 -08009124CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_SRC = \
9125
ctillercab52e72015-01-06 13:10:23 -08009126CHTTP2_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 -08009127
nnoble69ac39f2014-12-12 15:43:38 -08009128ifeq ($(NO_SECURE),true)
9129
Nicolas Noble047b7272015-01-16 13:55:05 -08009130# You can't build secure targets if you don't have OpenSSL with ALPN.
9131
ctillercab52e72015-01-06 13:10:23 -08009132bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009133
9134else
9135
nnoble5f2ecb32015-01-12 16:40:18 -08009136bins/$(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 -08009137 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009138 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009139 $(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 -08009140
nnoble69ac39f2014-12-12 15:43:38 -08009141endif
9142
Craig Tillerd4773f52015-01-12 16:38:47 -08009143
Craig Tiller8f126a62015-01-15 08:50:19 -08009144deps_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 -08009145
nnoble69ac39f2014-12-12 15:43:38 -08009146ifneq ($(NO_SECURE),true)
9147ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009148-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009149endif
nnoble69ac39f2014-12-12 15:43:38 -08009150endif
nnoble0c475f02014-12-05 15:37:39 -08009151
nnoble0c475f02014-12-05 15:37:39 -08009152
9153CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_SRC = \
9154
ctillercab52e72015-01-06 13:10:23 -08009155CHTTP2_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 -08009156
nnoble69ac39f2014-12-12 15:43:38 -08009157ifeq ($(NO_SECURE),true)
9158
Nicolas Noble047b7272015-01-16 13:55:05 -08009159# You can't build secure targets if you don't have OpenSSL with ALPN.
9160
ctillercab52e72015-01-06 13:10:23 -08009161bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009162
9163else
9164
nnoble5f2ecb32015-01-12 16:40:18 -08009165bins/$(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 -08009166 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009167 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009168 $(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 -08009169
nnoble69ac39f2014-12-12 15:43:38 -08009170endif
9171
Craig Tillerd4773f52015-01-12 16:38:47 -08009172
Craig Tiller8f126a62015-01-15 08:50:19 -08009173deps_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 -08009174
nnoble69ac39f2014-12-12 15:43:38 -08009175ifneq ($(NO_SECURE),true)
9176ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009177-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009178endif
nnoble69ac39f2014-12-12 15:43:38 -08009179endif
nnoble0c475f02014-12-05 15:37:39 -08009180
nnoble0c475f02014-12-05 15:37:39 -08009181
9182CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_SRC = \
9183
ctillercab52e72015-01-06 13:10:23 -08009184CHTTP2_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 -08009185
nnoble69ac39f2014-12-12 15:43:38 -08009186ifeq ($(NO_SECURE),true)
9187
Nicolas Noble047b7272015-01-16 13:55:05 -08009188# You can't build secure targets if you don't have OpenSSL with ALPN.
9189
ctillercab52e72015-01-06 13:10:23 -08009190bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009191
9192else
9193
nnoble5f2ecb32015-01-12 16:40:18 -08009194bins/$(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 -08009195 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009196 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009197 $(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 -08009198
nnoble69ac39f2014-12-12 15:43:38 -08009199endif
9200
Craig Tillerd4773f52015-01-12 16:38:47 -08009201
Craig Tiller8f126a62015-01-15 08:50:19 -08009202deps_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 -08009203
nnoble69ac39f2014-12-12 15:43:38 -08009204ifneq ($(NO_SECURE),true)
9205ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009206-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009207endif
nnoble69ac39f2014-12-12 15:43:38 -08009208endif
nnoble0c475f02014-12-05 15:37:39 -08009209
nnoble0c475f02014-12-05 15:37:39 -08009210
9211CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_SRC = \
9212
ctillercab52e72015-01-06 13:10:23 -08009213CHTTP2_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 -08009214
nnoble69ac39f2014-12-12 15:43:38 -08009215ifeq ($(NO_SECURE),true)
9216
Nicolas Noble047b7272015-01-16 13:55:05 -08009217# You can't build secure targets if you don't have OpenSSL with ALPN.
9218
ctillercab52e72015-01-06 13:10:23 -08009219bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009220
9221else
9222
nnoble5f2ecb32015-01-12 16:40:18 -08009223bins/$(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 -08009224 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009225 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009226 $(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 -08009227
nnoble69ac39f2014-12-12 15:43:38 -08009228endif
9229
Craig Tillerd4773f52015-01-12 16:38:47 -08009230
Craig Tiller8f126a62015-01-15 08:50:19 -08009231deps_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 -08009232
nnoble69ac39f2014-12-12 15:43:38 -08009233ifneq ($(NO_SECURE),true)
9234ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009235-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009236endif
nnoble69ac39f2014-12-12 15:43:38 -08009237endif
nnoble0c475f02014-12-05 15:37:39 -08009238
nnoble0c475f02014-12-05 15:37:39 -08009239
ctiller33023c42014-12-12 16:28:33 -08009240CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
9241
ctillercab52e72015-01-06 13:10:23 -08009242CHTTP2_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 -08009243
9244ifeq ($(NO_SECURE),true)
9245
Nicolas Noble047b7272015-01-16 13:55:05 -08009246# You can't build secure targets if you don't have OpenSSL with ALPN.
9247
ctillercab52e72015-01-06 13:10:23 -08009248bins/$(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 -08009249
9250else
9251
nnoble5f2ecb32015-01-12 16:40:18 -08009252bins/$(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 -08009253 $(E) "[LD] Linking $@"
9254 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009255 $(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 -08009256
9257endif
9258
Craig Tillerd4773f52015-01-12 16:38:47 -08009259
Craig Tiller8f126a62015-01-15 08:50:19 -08009260deps_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 -08009261
9262ifneq ($(NO_SECURE),true)
9263ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009264-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 -08009265endif
9266endif
9267
ctiller33023c42014-12-12 16:28:33 -08009268
nnoble0c475f02014-12-05 15:37:39 -08009269CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
9270
ctillercab52e72015-01-06 13:10:23 -08009271CHTTP2_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 -08009272
nnoble69ac39f2014-12-12 15:43:38 -08009273ifeq ($(NO_SECURE),true)
9274
Nicolas Noble047b7272015-01-16 13:55:05 -08009275# You can't build secure targets if you don't have OpenSSL with ALPN.
9276
ctillercab52e72015-01-06 13:10:23 -08009277bins/$(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 -08009278
9279else
9280
nnoble5f2ecb32015-01-12 16:40:18 -08009281bins/$(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 -08009282 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009283 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009284 $(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 -08009285
nnoble69ac39f2014-12-12 15:43:38 -08009286endif
9287
Craig Tillerd4773f52015-01-12 16:38:47 -08009288
Craig Tiller8f126a62015-01-15 08:50:19 -08009289deps_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 -08009290
nnoble69ac39f2014-12-12 15:43:38 -08009291ifneq ($(NO_SECURE),true)
9292ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009293-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 -08009294endif
nnoble69ac39f2014-12-12 15:43:38 -08009295endif
nnoble0c475f02014-12-05 15:37:39 -08009296
nnoble0c475f02014-12-05 15:37:39 -08009297
9298CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
9299
ctillercab52e72015-01-06 13:10:23 -08009300CHTTP2_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 -08009301
nnoble69ac39f2014-12-12 15:43:38 -08009302ifeq ($(NO_SECURE),true)
9303
Nicolas Noble047b7272015-01-16 13:55:05 -08009304# You can't build secure targets if you don't have OpenSSL with ALPN.
9305
ctillercab52e72015-01-06 13:10:23 -08009306bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009307
9308else
9309
nnoble5f2ecb32015-01-12 16:40:18 -08009310bins/$(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 -08009311 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009312 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009313 $(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 -08009314
nnoble69ac39f2014-12-12 15:43:38 -08009315endif
9316
Craig Tillerd4773f52015-01-12 16:38:47 -08009317
Craig Tiller8f126a62015-01-15 08:50:19 -08009318deps_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 -08009319
nnoble69ac39f2014-12-12 15:43:38 -08009320ifneq ($(NO_SECURE),true)
9321ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009322-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009323endif
nnoble69ac39f2014-12-12 15:43:38 -08009324endif
nnoble0c475f02014-12-05 15:37:39 -08009325
nnoble0c475f02014-12-05 15:37:39 -08009326
ctiller2845cad2014-12-15 15:14:12 -08009327CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
9328
ctillercab52e72015-01-06 13:10:23 -08009329CHTTP2_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 -08009330
9331ifeq ($(NO_SECURE),true)
9332
Nicolas Noble047b7272015-01-16 13:55:05 -08009333# You can't build secure targets if you don't have OpenSSL with ALPN.
9334
ctillercab52e72015-01-06 13:10:23 -08009335bins/$(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 -08009336
9337else
9338
nnoble5f2ecb32015-01-12 16:40:18 -08009339bins/$(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 -08009340 $(E) "[LD] Linking $@"
9341 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009342 $(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 -08009343
9344endif
9345
Craig Tillerd4773f52015-01-12 16:38:47 -08009346
Craig Tiller8f126a62015-01-15 08:50:19 -08009347deps_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 -08009348
9349ifneq ($(NO_SECURE),true)
9350ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009351-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 -08009352endif
9353endif
9354
ctiller2845cad2014-12-15 15:14:12 -08009355
nnoble0c475f02014-12-05 15:37:39 -08009356CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
9357
ctillercab52e72015-01-06 13:10:23 -08009358CHTTP2_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 -08009359
nnoble69ac39f2014-12-12 15:43:38 -08009360ifeq ($(NO_SECURE),true)
9361
Nicolas Noble047b7272015-01-16 13:55:05 -08009362# You can't build secure targets if you don't have OpenSSL with ALPN.
9363
ctillercab52e72015-01-06 13:10:23 -08009364bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009365
9366else
9367
nnoble5f2ecb32015-01-12 16:40:18 -08009368bins/$(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 -08009369 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009370 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009371 $(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 -08009372
nnoble69ac39f2014-12-12 15:43:38 -08009373endif
9374
Craig Tillerd4773f52015-01-12 16:38:47 -08009375
Craig Tiller8f126a62015-01-15 08:50:19 -08009376deps_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 -08009377
nnoble69ac39f2014-12-12 15:43:38 -08009378ifneq ($(NO_SECURE),true)
9379ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009380-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009381endif
nnoble69ac39f2014-12-12 15:43:38 -08009382endif
nnoble0c475f02014-12-05 15:37:39 -08009383
nnoble0c475f02014-12-05 15:37:39 -08009384
9385CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_SRC = \
9386
ctillercab52e72015-01-06 13:10:23 -08009387CHTTP2_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 -08009388
nnoble69ac39f2014-12-12 15:43:38 -08009389ifeq ($(NO_SECURE),true)
9390
Nicolas Noble047b7272015-01-16 13:55:05 -08009391# You can't build secure targets if you don't have OpenSSL with ALPN.
9392
ctillercab52e72015-01-06 13:10:23 -08009393bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009394
9395else
9396
nnoble5f2ecb32015-01-12 16:40:18 -08009397bins/$(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 -08009398 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009399 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009400 $(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 -08009401
nnoble69ac39f2014-12-12 15:43:38 -08009402endif
9403
Craig Tillerd4773f52015-01-12 16:38:47 -08009404
Craig Tiller8f126a62015-01-15 08:50:19 -08009405deps_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 -08009406
nnoble69ac39f2014-12-12 15:43:38 -08009407ifneq ($(NO_SECURE),true)
9408ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009409-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009410endif
nnoble69ac39f2014-12-12 15:43:38 -08009411endif
nnoble0c475f02014-12-05 15:37:39 -08009412
nnoble0c475f02014-12-05 15:37:39 -08009413
nathaniel52878172014-12-09 10:17:19 -08009414CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_SRC = \
nnoble0c475f02014-12-05 15:37:39 -08009415
ctillercab52e72015-01-06 13:10:23 -08009416CHTTP2_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 -08009417
nnoble69ac39f2014-12-12 15:43:38 -08009418ifeq ($(NO_SECURE),true)
9419
Nicolas Noble047b7272015-01-16 13:55:05 -08009420# You can't build secure targets if you don't have OpenSSL with ALPN.
9421
ctillercab52e72015-01-06 13:10:23 -08009422bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009423
9424else
9425
nnoble5f2ecb32015-01-12 16:40:18 -08009426bins/$(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 -08009427 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009428 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009429 $(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 -08009430
nnoble69ac39f2014-12-12 15:43:38 -08009431endif
9432
Craig Tillerd4773f52015-01-12 16:38:47 -08009433
Craig Tiller8f126a62015-01-15 08:50:19 -08009434deps_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 -08009435
nnoble69ac39f2014-12-12 15:43:38 -08009436ifneq ($(NO_SECURE),true)
9437ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009438-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009439endif
nnoble69ac39f2014-12-12 15:43:38 -08009440endif
nnoble0c475f02014-12-05 15:37:39 -08009441
nnoble0c475f02014-12-05 15:37:39 -08009442
9443CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
9444
ctillercab52e72015-01-06 13:10:23 -08009445CHTTP2_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 -08009446
nnoble69ac39f2014-12-12 15:43:38 -08009447ifeq ($(NO_SECURE),true)
9448
Nicolas Noble047b7272015-01-16 13:55:05 -08009449# You can't build secure targets if you don't have OpenSSL with ALPN.
9450
ctillercab52e72015-01-06 13:10:23 -08009451bins/$(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 -08009452
9453else
9454
nnoble5f2ecb32015-01-12 16:40:18 -08009455bins/$(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 -08009456 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009457 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009458 $(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 -08009459
nnoble69ac39f2014-12-12 15:43:38 -08009460endif
9461
Craig Tillerd4773f52015-01-12 16:38:47 -08009462
Craig Tiller8f126a62015-01-15 08:50:19 -08009463deps_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 -08009464
nnoble69ac39f2014-12-12 15:43:38 -08009465ifneq ($(NO_SECURE),true)
9466ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009467-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 -08009468endif
nnoble69ac39f2014-12-12 15:43:38 -08009469endif
nnoble0c475f02014-12-05 15:37:39 -08009470
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08009471
9472
9473
9474
nnoble0c475f02014-12-05 15:37:39 -08009475
Craig Tillerf0afe502015-01-15 09:04:49 -08009476.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 -08009477