blob: 0f0365b3ea92701646c253b0ee34126eee1a0795 [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
ctillercab52e72015-01-06 13:10:23 -0800325gen_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
ctillercab52e72015-01-06 13:10:23 -0800373interop_client: bins/$(CONFIG)/interop_client
Craig Tiller996d9df2015-01-19 21:06:50 -0800374interop_server: bins/$(CONFIG)/interop_server
Chen Wang86af8cf2015-01-21 18:05:40 -0800375tips_client: bins/$(CONFIG)/tips_client
376tips_client_test: bins/$(CONFIG)/tips_client_test
Craig Tiller996d9df2015-01-19 21:06:50 -0800377qps_client: bins/$(CONFIG)/qps_client
378qps_server: bins/$(CONFIG)/qps_server
379ruby_plugin: bins/$(CONFIG)/ruby_plugin
380status_test: bins/$(CONFIG)/status_test
381sync_client_async_server_test: bins/$(CONFIG)/sync_client_async_server_test
382thread_pool_test: bins/$(CONFIG)/thread_pool_test
ctillercab52e72015-01-06 13:10:23 -0800383chttp2_fake_security_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test
384chttp2_fake_security_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test
385chttp2_fake_security_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test
386chttp2_fake_security_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test
387chttp2_fake_security_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800388chttp2_fake_security_census_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800389chttp2_fake_security_disappearing_server_test: bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test
390chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test
391chttp2_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 -0800392chttp2_fake_security_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800393chttp2_fake_security_invoke_large_request_test: bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test
394chttp2_fake_security_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test
395chttp2_fake_security_no_op_test: bins/$(CONFIG)/chttp2_fake_security_no_op_test
396chttp2_fake_security_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test
397chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test
398chttp2_fake_security_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test
399chttp2_fake_security_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test
400chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test
401chttp2_fake_security_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test
402chttp2_fake_security_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_request_test
403chttp2_fake_security_thread_stress_test: bins/$(CONFIG)/chttp2_fake_security_thread_stress_test
404chttp2_fake_security_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test
405chttp2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test
406chttp2_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test
407chttp2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test
408chttp2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test
409chttp2_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800410chttp2_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800411chttp2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test
412chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test
413chttp2_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800414chttp2_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800415chttp2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test
416chttp2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test
417chttp2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_fullstack_no_op_test
418chttp2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test
419chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test
420chttp2_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test
421chttp2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test
422chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test
423chttp2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test
424chttp2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_request_test
425chttp2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_fullstack_thread_stress_test
426chttp2_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test
427chttp2_simple_ssl_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test
428chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test
429chttp2_simple_ssl_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test
430chttp2_simple_ssl_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test
431chttp2_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 -0800432chttp2_simple_ssl_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800433chttp2_simple_ssl_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test
434chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test
435chttp2_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 -0800436chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800437chttp2_simple_ssl_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test
438chttp2_simple_ssl_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test
439chttp2_simple_ssl_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test
440chttp2_simple_ssl_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test
441chttp2_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
442chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test
443chttp2_simple_ssl_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test
444chttp2_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
445chttp2_simple_ssl_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test
446chttp2_simple_ssl_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test
447chttp2_simple_ssl_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test
448chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test
449chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test
450chttp2_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
451chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test
452chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test
453chttp2_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 -0800454chttp2_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 -0800455chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test
456chttp2_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
457chttp2_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 -0800458chttp2_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 -0800459chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test
460chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test
461chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test
462chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test
463chttp2_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
464chttp2_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
465chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test
466chttp2_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
467chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test
468chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test
469chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test
470chttp2_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
471chttp2_socket_pair_cancel_after_accept_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test
472chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test
473chttp2_socket_pair_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test
474chttp2_socket_pair_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test
475chttp2_socket_pair_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800476chttp2_socket_pair_census_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800477chttp2_socket_pair_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test
478chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test
479chttp2_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 -0800480chttp2_socket_pair_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800481chttp2_socket_pair_invoke_large_request_test: bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test
482chttp2_socket_pair_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test
483chttp2_socket_pair_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_no_op_test
484chttp2_socket_pair_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test
485chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test
486chttp2_socket_pair_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test
487chttp2_socket_pair_request_response_with_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test
488chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test
489chttp2_socket_pair_simple_delayed_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test
490chttp2_socket_pair_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_request_test
491chttp2_socket_pair_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test
492chttp2_socket_pair_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test
493chttp2_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
494chttp2_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
495chttp2_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
496chttp2_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
497chttp2_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 -0800498chttp2_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 -0800499chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test
500chttp2_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
501chttp2_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 -0800502chttp2_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 -0800503chttp2_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
504chttp2_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
505chttp2_socket_pair_one_byte_at_a_time_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test
506chttp2_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
507chttp2_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
508chttp2_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
509chttp2_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
510chttp2_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
511chttp2_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
512chttp2_socket_pair_one_byte_at_a_time_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test
513chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test
514chttp2_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 -0800515
nnoble69ac39f2014-12-12 15:43:38 -0800516run_dep_checks:
nnoble69ac39f2014-12-12 15:43:38 -0800517 $(OPENSSL_ALPN_CHECK_CMD) || true
518 $(ZLIB_CHECK_CMD) || true
519
Craig Tiller3ccae022015-01-15 07:47:29 -0800520libs/$(CONFIG)/zlib/libz.a:
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100521 $(E) "[MAKE] Building zlib"
522 $(Q)(cd third_party/zlib ; CC="$(CC)" CFLAGS="-fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG))" ./configure --static)
523 $(Q)$(MAKE) -C third_party/zlib clean
524 $(Q)$(MAKE) -C third_party/zlib
525 $(Q)mkdir -p libs/$(CONFIG)/zlib
526 $(Q)cp third_party/zlib/libz.a libs/$(CONFIG)/zlib
nnoble69ac39f2014-12-12 15:43:38 -0800527
Craig Tillerec0b8f32015-01-15 07:30:00 -0800528libs/$(CONFIG)/openssl/libssl.a:
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100529 $(E) "[MAKE] Building openssl"
530 $(Q)(cd third_party/openssl ; CC="$(CC) -fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG)) $(OPENSSL_CFLAGS_$(CONFIG))" ./config $(OPENSSL_CONFIG_$(CONFIG)))
531 $(Q)$(MAKE) -C third_party/openssl clean
532 $(Q)$(MAKE) -C third_party/openssl build_crypto build_ssl
533 $(Q)mkdir -p libs/$(CONFIG)/openssl
534 $(Q)cp third_party/openssl/libssl.a third_party/openssl/libcrypto.a libs/$(CONFIG)/openssl
nnoble69ac39f2014-12-12 15:43:38 -0800535
nnoble29e1d292014-12-01 10:27:40 -0800536static: static_c static_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800537
Craig Tiller12c82092015-01-15 08:45:56 -0800538static_c: libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800539
Craig Tiller12c82092015-01-15 08:45:56 -0800540static_cxx: libs/$(CONFIG)/libgrpc++.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800541
nnoble29e1d292014-12-01 10:27:40 -0800542shared: shared_c shared_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800543
Craig Tiller12c82092015-01-15 08:45:56 -0800544shared_c: libs/$(CONFIG)/libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800545
Craig Tiller12c82092015-01-15 08:45:56 -0800546shared_cxx: libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800547
nnoble29e1d292014-12-01 10:27:40 -0800548privatelibs: privatelibs_c privatelibs_cxx
549
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800550privatelibs_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 -0800551
Chen Wang86af8cf2015-01-21 18:05:40 -0800552privatelibs_cxx: libs/$(CONFIG)/libgrpc++_test_util.a libs/$(CONFIG)/libtips_client_lib.a
nnoble29e1d292014-12-01 10:27:40 -0800553
554buildtests: buildtests_c buildtests_cxx
555
Craig Tiller17ec5f92015-01-18 11:30:41 -0800556buildtests_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 -0800557
Chen Wang69330752015-01-21 18:57:46 -0800558buildtests_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)/tips_client bins/$(CONFIG)/tips_client_test 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 -0800559
nnoble85a49262014-12-08 18:14:03 -0800560test: test_c test_cxx
nnoble29e1d292014-12-01 10:27:40 -0800561
nnoble85a49262014-12-08 18:14:03 -0800562test_c: buildtests_c
Craig Tiller17ec5f92015-01-18 11:30:41 -0800563 $(E) "[RUN] Testing alarm_heap_test"
564 $(Q) ./bins/$(CONFIG)/alarm_heap_test || ( echo test alarm_heap_test failed ; exit 1 )
565 $(E) "[RUN] Testing alarm_list_test"
566 $(Q) ./bins/$(CONFIG)/alarm_list_test || ( echo test alarm_list_test failed ; exit 1 )
567 $(E) "[RUN] Testing alarm_test"
568 $(Q) ./bins/$(CONFIG)/alarm_test || ( echo test alarm_test failed ; exit 1 )
569 $(E) "[RUN] Testing alpn_test"
570 $(Q) ./bins/$(CONFIG)/alpn_test || ( echo test alpn_test failed ; exit 1 )
571 $(E) "[RUN] Testing bin_encoder_test"
572 $(Q) ./bins/$(CONFIG)/bin_encoder_test || ( echo test bin_encoder_test failed ; exit 1 )
573 $(E) "[RUN] Testing census_hash_table_test"
574 $(Q) ./bins/$(CONFIG)/census_hash_table_test || ( echo test census_hash_table_test failed ; exit 1 )
575 $(E) "[RUN] Testing census_statistics_multiple_writers_circular_buffer_test"
576 $(Q) ./bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test || ( echo test census_statistics_multiple_writers_circular_buffer_test failed ; exit 1 )
577 $(E) "[RUN] Testing census_statistics_multiple_writers_test"
578 $(Q) ./bins/$(CONFIG)/census_statistics_multiple_writers_test || ( echo test census_statistics_multiple_writers_test failed ; exit 1 )
579 $(E) "[RUN] Testing census_statistics_performance_test"
580 $(Q) ./bins/$(CONFIG)/census_statistics_performance_test || ( echo test census_statistics_performance_test failed ; exit 1 )
581 $(E) "[RUN] Testing census_statistics_quick_test"
582 $(Q) ./bins/$(CONFIG)/census_statistics_quick_test || ( echo test census_statistics_quick_test failed ; exit 1 )
583 $(E) "[RUN] Testing census_statistics_small_log_test"
584 $(Q) ./bins/$(CONFIG)/census_statistics_small_log_test || ( echo test census_statistics_small_log_test failed ; exit 1 )
585 $(E) "[RUN] Testing census_stub_test"
586 $(Q) ./bins/$(CONFIG)/census_stub_test || ( echo test census_stub_test failed ; exit 1 )
587 $(E) "[RUN] Testing census_window_stats_test"
588 $(Q) ./bins/$(CONFIG)/census_window_stats_test || ( echo test census_window_stats_test failed ; exit 1 )
589 $(E) "[RUN] Testing chttp2_status_conversion_test"
590 $(Q) ./bins/$(CONFIG)/chttp2_status_conversion_test || ( echo test chttp2_status_conversion_test failed ; exit 1 )
591 $(E) "[RUN] Testing chttp2_stream_encoder_test"
592 $(Q) ./bins/$(CONFIG)/chttp2_stream_encoder_test || ( echo test chttp2_stream_encoder_test failed ; exit 1 )
593 $(E) "[RUN] Testing chttp2_stream_map_test"
594 $(Q) ./bins/$(CONFIG)/chttp2_stream_map_test || ( echo test chttp2_stream_map_test failed ; exit 1 )
595 $(E) "[RUN] Testing chttp2_transport_end2end_test"
596 $(Q) ./bins/$(CONFIG)/chttp2_transport_end2end_test || ( echo test chttp2_transport_end2end_test failed ; exit 1 )
597 $(E) "[RUN] Testing dualstack_socket_test"
598 $(Q) ./bins/$(CONFIG)/dualstack_socket_test || ( echo test dualstack_socket_test failed ; exit 1 )
599 $(E) "[RUN] Testing echo_test"
600 $(Q) ./bins/$(CONFIG)/echo_test || ( echo test echo_test failed ; exit 1 )
601 $(E) "[RUN] Testing fd_posix_test"
602 $(Q) ./bins/$(CONFIG)/fd_posix_test || ( echo test fd_posix_test failed ; exit 1 )
603 $(E) "[RUN] Testing fling_stream_test"
604 $(Q) ./bins/$(CONFIG)/fling_stream_test || ( echo test fling_stream_test failed ; exit 1 )
605 $(E) "[RUN] Testing fling_test"
606 $(Q) ./bins/$(CONFIG)/fling_test || ( echo test fling_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800607 $(E) "[RUN] Testing gpr_cancellable_test"
ctillercab52e72015-01-06 13:10:23 -0800608 $(Q) ./bins/$(CONFIG)/gpr_cancellable_test || ( echo test gpr_cancellable_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800609 $(E) "[RUN] Testing gpr_cmdline_test"
ctillercab52e72015-01-06 13:10:23 -0800610 $(Q) ./bins/$(CONFIG)/gpr_cmdline_test || ( echo test gpr_cmdline_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800611 $(E) "[RUN] Testing gpr_histogram_test"
ctillercab52e72015-01-06 13:10:23 -0800612 $(Q) ./bins/$(CONFIG)/gpr_histogram_test || ( echo test gpr_histogram_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800613 $(E) "[RUN] Testing gpr_host_port_test"
ctillercab52e72015-01-06 13:10:23 -0800614 $(Q) ./bins/$(CONFIG)/gpr_host_port_test || ( echo test gpr_host_port_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800615 $(E) "[RUN] Testing gpr_log_test"
616 $(Q) ./bins/$(CONFIG)/gpr_log_test || ( echo test gpr_log_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800617 $(E) "[RUN] Testing gpr_slice_buffer_test"
ctillercab52e72015-01-06 13:10:23 -0800618 $(Q) ./bins/$(CONFIG)/gpr_slice_buffer_test || ( echo test gpr_slice_buffer_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800619 $(E) "[RUN] Testing gpr_slice_test"
ctillercab52e72015-01-06 13:10:23 -0800620 $(Q) ./bins/$(CONFIG)/gpr_slice_test || ( echo test gpr_slice_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800621 $(E) "[RUN] Testing gpr_string_test"
ctillercab52e72015-01-06 13:10:23 -0800622 $(Q) ./bins/$(CONFIG)/gpr_string_test || ( echo test gpr_string_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800623 $(E) "[RUN] Testing gpr_sync_test"
ctillercab52e72015-01-06 13:10:23 -0800624 $(Q) ./bins/$(CONFIG)/gpr_sync_test || ( echo test gpr_sync_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800625 $(E) "[RUN] Testing gpr_thd_test"
ctillercab52e72015-01-06 13:10:23 -0800626 $(Q) ./bins/$(CONFIG)/gpr_thd_test || ( echo test gpr_thd_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800627 $(E) "[RUN] Testing gpr_time_test"
ctillercab52e72015-01-06 13:10:23 -0800628 $(Q) ./bins/$(CONFIG)/gpr_time_test || ( echo test gpr_time_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800629 $(E) "[RUN] Testing gpr_useful_test"
630 $(Q) ./bins/$(CONFIG)/gpr_useful_test || ( echo test gpr_useful_test failed ; exit 1 )
631 $(E) "[RUN] Testing grpc_base64_test"
632 $(Q) ./bins/$(CONFIG)/grpc_base64_test || ( echo test grpc_base64_test failed ; exit 1 )
633 $(E) "[RUN] Testing grpc_byte_buffer_reader_test"
634 $(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 -0800635 $(E) "[RUN] Testing grpc_channel_stack_test"
ctillercab52e72015-01-06 13:10:23 -0800636 $(Q) ./bins/$(CONFIG)/grpc_channel_stack_test || ( echo test grpc_channel_stack_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800637 $(E) "[RUN] Testing grpc_completion_queue_test"
ctillercab52e72015-01-06 13:10:23 -0800638 $(Q) ./bins/$(CONFIG)/grpc_completion_queue_test || ( echo test grpc_completion_queue_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800639 $(E) "[RUN] Testing grpc_credentials_test"
640 $(Q) ./bins/$(CONFIG)/grpc_credentials_test || ( echo test grpc_credentials_test failed ; exit 1 )
641 $(E) "[RUN] Testing grpc_json_token_test"
642 $(Q) ./bins/$(CONFIG)/grpc_json_token_test || ( echo test grpc_json_token_test failed ; exit 1 )
643 $(E) "[RUN] Testing grpc_stream_op_test"
644 $(Q) ./bins/$(CONFIG)/grpc_stream_op_test || ( echo test grpc_stream_op_test failed ; exit 1 )
645 $(E) "[RUN] Testing hpack_parser_test"
646 $(Q) ./bins/$(CONFIG)/hpack_parser_test || ( echo test hpack_parser_test failed ; exit 1 )
647 $(E) "[RUN] Testing hpack_table_test"
648 $(Q) ./bins/$(CONFIG)/hpack_table_test || ( echo test hpack_table_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800649 $(E) "[RUN] Testing httpcli_format_request_test"
ctillercab52e72015-01-06 13:10:23 -0800650 $(Q) ./bins/$(CONFIG)/httpcli_format_request_test || ( echo test httpcli_format_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800651 $(E) "[RUN] Testing httpcli_parser_test"
ctillercab52e72015-01-06 13:10:23 -0800652 $(Q) ./bins/$(CONFIG)/httpcli_parser_test || ( echo test httpcli_parser_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800653 $(E) "[RUN] Testing httpcli_test"
ctillercab52e72015-01-06 13:10:23 -0800654 $(Q) ./bins/$(CONFIG)/httpcli_test || ( echo test httpcli_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800655 $(E) "[RUN] Testing lame_client_test"
ctillercab52e72015-01-06 13:10:23 -0800656 $(Q) ./bins/$(CONFIG)/lame_client_test || ( echo test lame_client_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800657 $(E) "[RUN] Testing message_compress_test"
658 $(Q) ./bins/$(CONFIG)/message_compress_test || ( echo test message_compress_test failed ; exit 1 )
659 $(E) "[RUN] Testing metadata_buffer_test"
660 $(Q) ./bins/$(CONFIG)/metadata_buffer_test || ( echo test metadata_buffer_test failed ; exit 1 )
661 $(E) "[RUN] Testing murmur_hash_test"
662 $(Q) ./bins/$(CONFIG)/murmur_hash_test || ( echo test murmur_hash_test failed ; exit 1 )
663 $(E) "[RUN] Testing no_server_test"
664 $(Q) ./bins/$(CONFIG)/no_server_test || ( echo test no_server_test failed ; exit 1 )
David Klempner7f3ed1e2015-01-16 15:35:56 -0800665 $(E) "[RUN] Testing poll_kick_test"
666 $(Q) ./bins/$(CONFIG)/poll_kick_test || ( echo test poll_kick_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800667 $(E) "[RUN] Testing resolve_address_test"
668 $(Q) ./bins/$(CONFIG)/resolve_address_test || ( echo test resolve_address_test failed ; exit 1 )
669 $(E) "[RUN] Testing secure_endpoint_test"
670 $(Q) ./bins/$(CONFIG)/secure_endpoint_test || ( echo test secure_endpoint_test failed ; exit 1 )
671 $(E) "[RUN] Testing sockaddr_utils_test"
672 $(Q) ./bins/$(CONFIG)/sockaddr_utils_test || ( echo test sockaddr_utils_test failed ; exit 1 )
673 $(E) "[RUN] Testing tcp_client_posix_test"
674 $(Q) ./bins/$(CONFIG)/tcp_client_posix_test || ( echo test tcp_client_posix_test failed ; exit 1 )
675 $(E) "[RUN] Testing tcp_posix_test"
676 $(Q) ./bins/$(CONFIG)/tcp_posix_test || ( echo test tcp_posix_test failed ; exit 1 )
677 $(E) "[RUN] Testing tcp_server_posix_test"
678 $(Q) ./bins/$(CONFIG)/tcp_server_posix_test || ( echo test tcp_server_posix_test failed ; exit 1 )
679 $(E) "[RUN] Testing time_averaged_stats_test"
680 $(Q) ./bins/$(CONFIG)/time_averaged_stats_test || ( echo test time_averaged_stats_test failed ; exit 1 )
ctiller8919f602014-12-10 10:19:42 -0800681 $(E) "[RUN] Testing time_test"
ctillercab52e72015-01-06 13:10:23 -0800682 $(Q) ./bins/$(CONFIG)/time_test || ( echo test time_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800683 $(E) "[RUN] Testing timeout_encoding_test"
684 $(Q) ./bins/$(CONFIG)/timeout_encoding_test || ( echo test timeout_encoding_test failed ; exit 1 )
685 $(E) "[RUN] Testing transport_metadata_test"
686 $(Q) ./bins/$(CONFIG)/transport_metadata_test || ( echo test transport_metadata_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800687 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800688 $(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 -0800689 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800690 $(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 -0800691 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800692 $(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 -0800693 $(E) "[RUN] Testing chttp2_fake_security_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800694 $(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 -0800695 $(E) "[RUN] Testing chttp2_fake_security_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800696 $(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 -0800697 $(E) "[RUN] Testing chttp2_fake_security_census_simple_request_test"
698 $(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 -0800699 $(E) "[RUN] Testing chttp2_fake_security_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800700 $(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 -0800701 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800702 $(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 -0800703 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800704 $(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 -0800705 $(E) "[RUN] Testing chttp2_fake_security_graceful_server_shutdown_test"
706 $(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 -0800707 $(E) "[RUN] Testing chttp2_fake_security_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800708 $(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 -0800709 $(E) "[RUN] Testing chttp2_fake_security_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800710 $(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 -0800711 $(E) "[RUN] Testing chttp2_fake_security_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800712 $(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 -0800713 $(E) "[RUN] Testing chttp2_fake_security_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800714 $(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 -0800715 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800716 $(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 -0800717 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800718 $(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 -0800719 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800720 $(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 -0800721 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800722 $(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 -0800723 $(E) "[RUN] Testing chttp2_fake_security_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800724 $(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 -0800725 $(E) "[RUN] Testing chttp2_fake_security_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800726 $(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 -0800727 $(E) "[RUN] Testing chttp2_fake_security_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800728 $(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 -0800729 $(E) "[RUN] Testing chttp2_fake_security_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800730 $(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 -0800731 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800732 $(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 -0800733 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800734 $(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 -0800735 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800736 $(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 -0800737 $(E) "[RUN] Testing chttp2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800738 $(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 -0800739 $(E) "[RUN] Testing chttp2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800740 $(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 -0800741 $(E) "[RUN] Testing chttp2_fullstack_census_simple_request_test"
742 $(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 -0800743 $(E) "[RUN] Testing chttp2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800744 $(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 -0800745 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800746 $(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 -0800747 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800748 $(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 -0800749 $(E) "[RUN] Testing chttp2_fullstack_graceful_server_shutdown_test"
750 $(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 -0800751 $(E) "[RUN] Testing chttp2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800752 $(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 -0800753 $(E) "[RUN] Testing chttp2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800754 $(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 -0800755 $(E) "[RUN] Testing chttp2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800756 $(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 -0800757 $(E) "[RUN] Testing chttp2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800758 $(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 -0800759 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800760 $(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 -0800761 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800762 $(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 -0800763 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800764 $(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 -0800765 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800766 $(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 -0800767 $(E) "[RUN] Testing chttp2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800768 $(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 -0800769 $(E) "[RUN] Testing chttp2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800770 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_simple_request_test || ( echo test chttp2_fullstack_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800771 $(E) "[RUN] Testing chttp2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800772 $(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 -0800773 $(E) "[RUN] Testing chttp2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800774 $(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 -0800775 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800776 $(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 -0800777 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800778 $(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 -0800779 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800780 $(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 -0800781 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800782 $(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 -0800783 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800784 $(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 -0800785 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_census_simple_request_test"
786 $(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 -0800787 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800788 $(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 -0800789 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800790 $(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 -0800791 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800792 $(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 -0800793 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_graceful_server_shutdown_test"
794 $(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 -0800795 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800796 $(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 -0800797 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800798 $(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 -0800799 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800800 $(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 -0800801 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800802 $(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 -0800803 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800804 $(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 -0800805 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800806 $(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 -0800807 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800808 $(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 -0800809 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800810 $(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 -0800811 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800812 $(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 -0800813 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800814 $(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 -0800815 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800816 $(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 -0800817 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800818 $(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 -0800819 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800820 $(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 -0800821 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800822 $(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 -0800823 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800824 $(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 -0800825 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800826 $(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 -0800827 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800828 $(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 -0800829 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test"
830 $(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 -0800831 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800832 $(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 -0800833 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800834 $(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 -0800835 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800836 $(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 -0800837 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test"
838 $(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 -0800839 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800840 $(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 -0800841 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800842 $(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 -0800843 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800844 $(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 -0800845 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800846 $(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 -0800847 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800848 $(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 -0800849 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800850 $(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 -0800851 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800852 $(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 -0800853 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800854 $(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 -0800855 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800856 $(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 -0800857 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800858 $(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 -0800859 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800860 $(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 -0800861 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800862 $(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 -0800863 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800864 $(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 -0800865 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800866 $(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 -0800867 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800868 $(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 -0800869 $(E) "[RUN] Testing chttp2_socket_pair_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800870 $(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 -0800871 $(E) "[RUN] Testing chttp2_socket_pair_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800872 $(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 -0800873 $(E) "[RUN] Testing chttp2_socket_pair_census_simple_request_test"
874 $(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 -0800875 $(E) "[RUN] Testing chttp2_socket_pair_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800876 $(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 -0800877 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800878 $(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 -0800879 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800880 $(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 -0800881 $(E) "[RUN] Testing chttp2_socket_pair_graceful_server_shutdown_test"
882 $(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 -0800883 $(E) "[RUN] Testing chttp2_socket_pair_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800884 $(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 -0800885 $(E) "[RUN] Testing chttp2_socket_pair_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800886 $(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 -0800887 $(E) "[RUN] Testing chttp2_socket_pair_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800888 $(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 -0800889 $(E) "[RUN] Testing chttp2_socket_pair_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800890 $(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 -0800891 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800892 $(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 -0800893 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800894 $(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 -0800895 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800896 $(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 -0800897 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800898 $(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 -0800899 $(E) "[RUN] Testing chttp2_socket_pair_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800900 $(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 -0800901 $(E) "[RUN] Testing chttp2_socket_pair_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800902 $(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 -0800903 $(E) "[RUN] Testing chttp2_socket_pair_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800904 $(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 -0800905 $(E) "[RUN] Testing chttp2_socket_pair_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800906 $(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 -0800907 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800908 $(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 -0800909 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800910 $(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 -0800911 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800912 $(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 -0800913 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800914 $(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 -0800915 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800916 $(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 -0800917 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test"
918 $(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 -0800919 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800920 $(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 -0800921 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800922 $(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 -0800923 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800924 $(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 -0800925 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test"
926 $(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 -0800927 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800928 $(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 -0800929 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800930 $(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 -0800931 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800932 $(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 -0800933 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800934 $(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 -0800935 $(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 -0800936 $(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 -0800937 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_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_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 -0800939 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800940 $(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 -0800941 $(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 -0800942 $(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 -0800943 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800944 $(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 -0800945 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800946 $(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 -0800947 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800948 $(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 -0800949 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800950 $(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 -0800951
952
nnoble85a49262014-12-08 18:14:03 -0800953test_cxx: buildtests_cxx
yangg59dfc902014-12-19 14:00:14 -0800954 $(E) "[RUN] Testing channel_arguments_test"
ctillercab52e72015-01-06 13:10:23 -0800955 $(Q) ./bins/$(CONFIG)/channel_arguments_test || ( echo test channel_arguments_test failed ; exit 1 )
yangg4105e2b2015-01-09 14:19:44 -0800956 $(E) "[RUN] Testing credentials_test"
957 $(Q) ./bins/$(CONFIG)/credentials_test || ( echo test credentials_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800958 $(E) "[RUN] Testing end2end_test"
959 $(Q) ./bins/$(CONFIG)/end2end_test || ( echo test end2end_test failed ; exit 1 )
Chen Wang69330752015-01-21 18:57:46 -0800960 $(E) "[RUN] Testing tips_client_test"
961 $(Q) ./bins/$(CONFIG)/tips_client_test || ( echo test tips_client_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800962 $(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
Chen Wang86af8cf2015-01-21 18:05:40 -08001015gens/examples/tips/empty.pb.cc: examples/tips/empty.proto $(PROTOC_PLUGINS)
1016 $(E) "[PROTOC] Generating protobuf CC file from $<"
1017 $(Q) mkdir -p `dirname $@`
1018 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1019
1020gens/examples/tips/label.pb.cc: examples/tips/label.proto $(PROTOC_PLUGINS)
1021 $(E) "[PROTOC] Generating protobuf CC file from $<"
1022 $(Q) mkdir -p `dirname $@`
1023 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1024
1025gens/examples/tips/pubsub.pb.cc: examples/tips/pubsub.proto $(PROTOC_PLUGINS)
1026 $(E) "[PROTOC] Generating protobuf CC file from $<"
1027 $(Q) mkdir -p `dirname $@`
1028 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1029
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001030gens/test/cpp/interop/empty.pb.cc: test/cpp/interop/empty.proto $(PROTOC_PLUGINS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001031 $(E) "[PROTOC] Generating protobuf CC file from $<"
1032 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001033 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001034
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001035gens/test/cpp/interop/messages.pb.cc: test/cpp/interop/messages.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/interop/test.pb.cc: test/cpp/interop/test.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001041 $(E) "[PROTOC] Generating protobuf CC file from $<"
1042 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001043 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001044
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001045gens/test/cpp/qps/qpstest.pb.cc: test/cpp/qps/qpstest.proto $(PROTOC_PLUGINS)
Craig Tillerbf2659f2015-01-13 12:27:06 -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
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001050gens/test/cpp/util/echo.pb.cc: test/cpp/util/echo.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001051 $(E) "[PROTOC] Generating protobuf CC file from $<"
1052 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001053 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001054
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001055gens/test/cpp/util/echo_duplicate.pb.cc: test/cpp/util/echo_duplicate.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001056 $(E) "[PROTOC] Generating protobuf CC file from $<"
1057 $(Q) mkdir -p `dirname $@`
1058 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1059
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001060gens/test/cpp/util/messages.pb.cc: test/cpp/util/messages.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001061 $(E) "[PROTOC] Generating protobuf CC file from $<"
1062 $(Q) mkdir -p `dirname $@`
1063 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1064
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001065
ctillercab52e72015-01-06 13:10:23 -08001066objs/$(CONFIG)/%.o : %.c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001067 $(E) "[C] Compiling $<"
1068 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001069 $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001070
ctillercab52e72015-01-06 13:10:23 -08001071objs/$(CONFIG)/%.o : gens/%.pb.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001072 $(E) "[CXX] Compiling $<"
1073 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001074 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001075
ctillercab52e72015-01-06 13:10:23 -08001076objs/$(CONFIG)/src/compiler/%.o : src/compiler/%.cc
nnoble72309c62014-12-12 11:42:26 -08001077 $(E) "[HOSTCXX] Compiling $<"
1078 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001079 $(Q) $(HOST_CXX) $(HOST_CXXFLAGS) $(HOST_CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
nnoble72309c62014-12-12 11:42:26 -08001080
ctillercab52e72015-01-06 13:10:23 -08001081objs/$(CONFIG)/%.o : %.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001082 $(E) "[CXX] Compiling $<"
1083 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001084 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001085
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001086
nnoble85a49262014-12-08 18:14:03 -08001087install: install_c install_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001088
nnoble85a49262014-12-08 18:14:03 -08001089install_c: install-headers_c install-static_c install-shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001090
nnoble85a49262014-12-08 18:14:03 -08001091install_cxx: install-headers_cxx install-static_cxx install-shared_cxx
1092
1093install-headers: install-headers_c install-headers_cxx
1094
1095install-headers_c:
1096 $(E) "[INSTALL] Installing public C headers"
1097 $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1098
1099install-headers_cxx:
1100 $(E) "[INSTALL] Installing public C++ headers"
1101 $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1102
1103install-static: install-static_c install-static_cxx
1104
1105install-static_c: static_c strip-static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001106 $(E) "[INSTALL] Installing libgpr.a"
ctillercab52e72015-01-06 13:10:23 -08001107 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.a $(prefix)/lib/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001108 $(E) "[INSTALL] Installing libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -08001109 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.a $(prefix)/lib/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001110 $(E) "[INSTALL] Installing libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -08001111 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.a $(prefix)/lib/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001112
nnoble85a49262014-12-08 18:14:03 -08001113install-static_cxx: static_cxx strip-static_cxx
1114 $(E) "[INSTALL] Installing libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -08001115 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.a $(prefix)/lib/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -08001116
1117install-shared_c: shared_c strip-shared_c
nnoble5b7f32a2014-12-22 08:12:44 -08001118ifeq ($(SYSTEM),MINGW32)
1119 $(E) "[INSTALL] Installing gpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001120 $(Q) $(INSTALL) libs/$(CONFIG)/gpr.$(SHARED_EXT) $(prefix)/lib/gpr.$(SHARED_EXT)
1121 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr-imp.a $(prefix)/lib/libgpr-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001122else
1123 $(E) "[INSTALL] Installing libgpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001124 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001125ifneq ($(SYSTEM),Darwin)
1126 $(Q) ln -sf libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.so
1127endif
1128endif
1129ifeq ($(SYSTEM),MINGW32)
1130 $(E) "[INSTALL] Installing grpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001131 $(Q) $(INSTALL) libs/$(CONFIG)/grpc.$(SHARED_EXT) $(prefix)/lib/grpc.$(SHARED_EXT)
1132 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc-imp.a $(prefix)/lib/libgrpc-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001133else
1134 $(E) "[INSTALL] Installing libgrpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001135 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001136ifneq ($(SYSTEM),Darwin)
1137 $(Q) ln -sf libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.so
1138endif
1139endif
1140ifeq ($(SYSTEM),MINGW32)
1141 $(E) "[INSTALL] Installing grpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001142 $(Q) $(INSTALL) libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT) $(prefix)/lib/grpc_unsecure.$(SHARED_EXT)
1143 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure-imp.a $(prefix)/lib/libgrpc_unsecure-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001144else
1145 $(E) "[INSTALL] Installing libgrpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001146 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001147ifneq ($(SYSTEM),Darwin)
1148 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.so
1149endif
1150endif
1151ifneq ($(SYSTEM),MINGW32)
1152ifneq ($(SYSTEM),Darwin)
1153 $(Q) ldconfig
1154endif
1155endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001156
nnoble85a49262014-12-08 18:14:03 -08001157install-shared_cxx: shared_cxx strip-shared_cxx
nnoble5b7f32a2014-12-22 08:12:44 -08001158ifeq ($(SYSTEM),MINGW32)
1159 $(E) "[INSTALL] Installing grpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001160 $(Q) $(INSTALL) libs/$(CONFIG)/grpc++.$(SHARED_EXT) $(prefix)/lib/grpc++.$(SHARED_EXT)
1161 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++-imp.a $(prefix)/lib/libgrpc++-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001162else
1163 $(E) "[INSTALL] Installing libgrpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001164 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001165ifneq ($(SYSTEM),Darwin)
1166 $(Q) ln -sf libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.so
1167endif
1168endif
1169ifneq ($(SYSTEM),MINGW32)
1170ifneq ($(SYSTEM),Darwin)
1171 $(Q) ldconfig
1172endif
1173endif
nnoble85a49262014-12-08 18:14:03 -08001174
Craig Tiller3759e6f2015-01-15 08:13:11 -08001175clean:
Craig Tiller12c82092015-01-15 08:45:56 -08001176 $(Q) $(RM) -rf objs libs bins gens
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001177
1178
1179# The various libraries
1180
1181
1182LIBGPR_SRC = \
1183 src/core/support/alloc.c \
1184 src/core/support/cancellable.c \
1185 src/core/support/cmdline.c \
ctillerd94ad102014-12-23 08:53:43 -08001186 src/core/support/cpu_linux.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001187 src/core/support/cpu_posix.c \
1188 src/core/support/histogram.c \
1189 src/core/support/host_port.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001190 src/core/support/log.c \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001191 src/core/support/log_android.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001192 src/core/support/log_linux.c \
1193 src/core/support/log_posix.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001194 src/core/support/log_win32.c \
1195 src/core/support/murmur_hash.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001196 src/core/support/slice.c \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001197 src/core/support/slice_buffer.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001198 src/core/support/string.c \
1199 src/core/support/string_posix.c \
nnoble0c475f02014-12-05 15:37:39 -08001200 src/core/support/string_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001201 src/core/support/sync.c \
1202 src/core/support/sync_posix.c \
jtattermusch98bffb72014-12-09 12:47:19 -08001203 src/core/support/sync_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001204 src/core/support/thd_posix.c \
1205 src/core/support/thd_win32.c \
1206 src/core/support/time.c \
1207 src/core/support/time_posix.c \
1208 src/core/support/time_win32.c \
1209
nnoble85a49262014-12-08 18:14:03 -08001210PUBLIC_HEADERS_C += \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001211 include/grpc/support/alloc.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001212 include/grpc/support/atm.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001213 include/grpc/support/atm_gcc_atomic.h \
1214 include/grpc/support/atm_gcc_sync.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001215 include/grpc/support/atm_win32.h \
1216 include/grpc/support/cancellable_platform.h \
1217 include/grpc/support/cmdline.h \
1218 include/grpc/support/histogram.h \
1219 include/grpc/support/host_port.h \
1220 include/grpc/support/log.h \
1221 include/grpc/support/port_platform.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001222 include/grpc/support/slice.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001223 include/grpc/support/slice_buffer.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001224 include/grpc/support/string.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001225 include/grpc/support/sync.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001226 include/grpc/support/sync_generic.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001227 include/grpc/support/sync_posix.h \
1228 include/grpc/support/sync_win32.h \
1229 include/grpc/support/thd.h \
1230 include/grpc/support/thd_posix.h \
1231 include/grpc/support/thd_win32.h \
1232 include/grpc/support/time.h \
1233 include/grpc/support/time_posix.h \
1234 include/grpc/support/time_win32.h \
1235 include/grpc/support/useful.h \
1236
ctillercab52e72015-01-06 13:10:23 -08001237LIBGPR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001238
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001239libs/$(CONFIG)/libgpr.a: $(ZLIB_DEP) $(LIBGPR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001240 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001241 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001242 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr.a $(LIBGPR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001243
nnoble5b7f32a2014-12-22 08:12:44 -08001244
1245
1246ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001247libs/$(CONFIG)/gpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001248 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001249 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001250 $(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 -08001251else
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001252libs/$(CONFIG)/libgpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001253 $(E) "[LD] Linking $@"
1254 $(Q) mkdir -p `dirname $@`
1255ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001256 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
nnoble5b7f32a2014-12-22 08:12:44 -08001257else
ctillercab52e72015-01-06 13:10:23 -08001258 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgpr.so.0 -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
1259 $(Q) ln -sf libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgpr.so
nnoble5b7f32a2014-12-22 08:12:44 -08001260endif
1261endif
1262
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001263
nnoble69ac39f2014-12-12 15:43:38 -08001264ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001265-include $(LIBGPR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001266endif
1267
Craig Tiller27715ca2015-01-12 16:55:59 -08001268objs/$(CONFIG)/src/core/support/alloc.o:
1269objs/$(CONFIG)/src/core/support/cancellable.o:
1270objs/$(CONFIG)/src/core/support/cmdline.o:
1271objs/$(CONFIG)/src/core/support/cpu_linux.o:
1272objs/$(CONFIG)/src/core/support/cpu_posix.o:
1273objs/$(CONFIG)/src/core/support/histogram.o:
1274objs/$(CONFIG)/src/core/support/host_port.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001275objs/$(CONFIG)/src/core/support/log.o:
Craig Tiller17ec5f92015-01-18 11:30:41 -08001276objs/$(CONFIG)/src/core/support/log_android.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001277objs/$(CONFIG)/src/core/support/log_linux.o:
1278objs/$(CONFIG)/src/core/support/log_posix.o:
1279objs/$(CONFIG)/src/core/support/log_win32.o:
1280objs/$(CONFIG)/src/core/support/murmur_hash.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001281objs/$(CONFIG)/src/core/support/slice.o:
Craig Tiller17ec5f92015-01-18 11:30:41 -08001282objs/$(CONFIG)/src/core/support/slice_buffer.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001283objs/$(CONFIG)/src/core/support/string.o:
1284objs/$(CONFIG)/src/core/support/string_posix.o:
1285objs/$(CONFIG)/src/core/support/string_win32.o:
1286objs/$(CONFIG)/src/core/support/sync.o:
1287objs/$(CONFIG)/src/core/support/sync_posix.o:
1288objs/$(CONFIG)/src/core/support/sync_win32.o:
1289objs/$(CONFIG)/src/core/support/thd_posix.o:
1290objs/$(CONFIG)/src/core/support/thd_win32.o:
1291objs/$(CONFIG)/src/core/support/time.o:
1292objs/$(CONFIG)/src/core/support/time_posix.o:
1293objs/$(CONFIG)/src/core/support/time_win32.o:
1294
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001295
Craig Tiller17ec5f92015-01-18 11:30:41 -08001296LIBGPR_TEST_UTIL_SRC = \
1297 test/core/util/test_config.c \
1298
1299
1300LIBGPR_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_TEST_UTIL_SRC))))
1301
1302ifeq ($(NO_SECURE),true)
1303
1304# You can't build secure libraries if you don't have OpenSSL with ALPN.
1305
1306libs/$(CONFIG)/libgpr_test_util.a: openssl_dep_error
1307
1308
1309else
1310
1311ifneq ($(OPENSSL_DEP),)
1312test/core/util/test_config.c: $(OPENSSL_DEP)
1313endif
1314
1315libs/$(CONFIG)/libgpr_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGPR_TEST_UTIL_OBJS)
1316 $(E) "[AR] Creating $@"
1317 $(Q) mkdir -p `dirname $@`
1318 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr_test_util.a $(LIBGPR_TEST_UTIL_OBJS)
1319
1320
1321
1322
1323
1324endif
1325
1326ifneq ($(NO_SECURE),true)
1327ifneq ($(NO_DEPS),true)
1328-include $(LIBGPR_TEST_UTIL_OBJS:.o=.dep)
1329endif
1330endif
1331
1332objs/$(CONFIG)/test/core/util/test_config.o:
1333
1334
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001335LIBGRPC_SRC = \
nnoblec87b1c52015-01-05 17:15:18 -08001336 src/core/security/auth.c \
1337 src/core/security/base64.c \
1338 src/core/security/credentials.c \
jboeuf6ad120e2015-01-12 17:08:15 -08001339 src/core/security/factories.c \
nnoblec87b1c52015-01-05 17:15:18 -08001340 src/core/security/google_root_certs.c \
1341 src/core/security/json_token.c \
1342 src/core/security/secure_endpoint.c \
1343 src/core/security/secure_transport_setup.c \
1344 src/core/security/security_context.c \
1345 src/core/security/server_secure_chttp2.c \
1346 src/core/tsi/fake_transport_security.c \
1347 src/core/tsi/ssl_transport_security.c \
1348 src/core/tsi/transport_security.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001349 src/core/channel/call_op_string.c \
1350 src/core/channel/census_filter.c \
1351 src/core/channel/channel_args.c \
1352 src/core/channel/channel_stack.c \
ctiller82e275f2014-12-12 08:43:28 -08001353 src/core/channel/child_channel.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001354 src/core/channel/client_channel.c \
1355 src/core/channel/client_setup.c \
1356 src/core/channel/connected_channel.c \
1357 src/core/channel/http_client_filter.c \
1358 src/core/channel/http_filter.c \
1359 src/core/channel/http_server_filter.c \
1360 src/core/channel/metadata_buffer.c \
1361 src/core/channel/noop_filter.c \
1362 src/core/compression/algorithm.c \
1363 src/core/compression/message_compress.c \
ctiller18b49ab2014-12-09 14:39:16 -08001364 src/core/httpcli/format_request.c \
1365 src/core/httpcli/httpcli.c \
1366 src/core/httpcli/httpcli_security_context.c \
1367 src/core/httpcli/parser.c \
ctiller52103932014-12-20 09:07:32 -08001368 src/core/iomgr/alarm.c \
1369 src/core/iomgr/alarm_heap.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001370 src/core/iomgr/endpoint.c \
ctiller18b49ab2014-12-09 14:39:16 -08001371 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001372 src/core/iomgr/fd_posix.c \
1373 src/core/iomgr/iomgr.c \
1374 src/core/iomgr/iomgr_posix.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08001375 src/core/iomgr/pollset_kick_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001376 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1377 src/core/iomgr/pollset_posix.c \
ctiller18b49ab2014-12-09 14:39:16 -08001378 src/core/iomgr/resolve_address_posix.c \
1379 src/core/iomgr/sockaddr_utils.c \
1380 src/core/iomgr/socket_utils_common_posix.c \
1381 src/core/iomgr/socket_utils_linux.c \
1382 src/core/iomgr/socket_utils_posix.c \
1383 src/core/iomgr/tcp_client_posix.c \
1384 src/core/iomgr/tcp_posix.c \
1385 src/core/iomgr/tcp_server_posix.c \
ctillerc1ddffb2014-12-15 13:08:18 -08001386 src/core/iomgr/time_averaged_stats.c \
ctiller18b49ab2014-12-09 14:39:16 -08001387 src/core/statistics/census_init.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001388 src/core/statistics/census_log.c \
ctiller18b49ab2014-12-09 14:39:16 -08001389 src/core/statistics/census_rpc_stats.c \
1390 src/core/statistics/census_tracing.c \
1391 src/core/statistics/hash_table.c \
ctiller18b49ab2014-12-09 14:39:16 -08001392 src/core/statistics/window_stats.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001393 src/core/surface/byte_buffer.c \
1394 src/core/surface/byte_buffer_reader.c \
1395 src/core/surface/call.c \
1396 src/core/surface/channel.c \
1397 src/core/surface/channel_create.c \
1398 src/core/surface/client.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001399 src/core/surface/completion_queue.c \
1400 src/core/surface/event_string.c \
1401 src/core/surface/init.c \
ctiller18b49ab2014-12-09 14:39:16 -08001402 src/core/surface/lame_client.c \
1403 src/core/surface/secure_channel_create.c \
1404 src/core/surface/secure_server_create.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001405 src/core/surface/server.c \
1406 src/core/surface/server_chttp2.c \
1407 src/core/surface/server_create.c \
nnoble0c475f02014-12-05 15:37:39 -08001408 src/core/transport/chttp2/alpn.c \
1409 src/core/transport/chttp2/bin_encoder.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001410 src/core/transport/chttp2/frame_data.c \
nnoble0c475f02014-12-05 15:37:39 -08001411 src/core/transport/chttp2/frame_goaway.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001412 src/core/transport/chttp2/frame_ping.c \
1413 src/core/transport/chttp2/frame_rst_stream.c \
1414 src/core/transport/chttp2/frame_settings.c \
1415 src/core/transport/chttp2/frame_window_update.c \
1416 src/core/transport/chttp2/hpack_parser.c \
1417 src/core/transport/chttp2/hpack_table.c \
nnoble0c475f02014-12-05 15:37:39 -08001418 src/core/transport/chttp2/huffsyms.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001419 src/core/transport/chttp2/status_conversion.c \
1420 src/core/transport/chttp2/stream_encoder.c \
1421 src/core/transport/chttp2/stream_map.c \
1422 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001423 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001424 src/core/transport/chttp2_transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001425 src/core/transport/metadata.c \
1426 src/core/transport/stream_op.c \
1427 src/core/transport/transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001428 third_party/cJSON/cJSON.c \
1429
nnoble85a49262014-12-08 18:14:03 -08001430PUBLIC_HEADERS_C += \
nnoblec87b1c52015-01-05 17:15:18 -08001431 include/grpc/grpc_security.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001432 include/grpc/byte_buffer.h \
1433 include/grpc/byte_buffer_reader.h \
1434 include/grpc/grpc.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001435 include/grpc/status.h \
1436
ctillercab52e72015-01-06 13:10:23 -08001437LIBGRPC_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001438
nnoble69ac39f2014-12-12 15:43:38 -08001439ifeq ($(NO_SECURE),true)
1440
Nicolas Noble047b7272015-01-16 13:55:05 -08001441# You can't build secure libraries if you don't have OpenSSL with ALPN.
1442
ctillercab52e72015-01-06 13:10:23 -08001443libs/$(CONFIG)/libgrpc.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08001444
nnoble5b7f32a2014-12-22 08:12:44 -08001445ifeq ($(SYSTEM),MINGW32)
ctillercab52e72015-01-06 13:10:23 -08001446libs/$(CONFIG)/grpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001447else
ctillercab52e72015-01-06 13:10:23 -08001448libs/$(CONFIG)/libgrpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001449endif
1450
nnoble69ac39f2014-12-12 15:43:38 -08001451else
1452
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001453ifneq ($(OPENSSL_DEP),)
1454src/core/security/auth.c: $(OPENSSL_DEP)
1455src/core/security/base64.c: $(OPENSSL_DEP)
1456src/core/security/credentials.c: $(OPENSSL_DEP)
1457src/core/security/factories.c: $(OPENSSL_DEP)
1458src/core/security/google_root_certs.c: $(OPENSSL_DEP)
1459src/core/security/json_token.c: $(OPENSSL_DEP)
1460src/core/security/secure_endpoint.c: $(OPENSSL_DEP)
1461src/core/security/secure_transport_setup.c: $(OPENSSL_DEP)
1462src/core/security/security_context.c: $(OPENSSL_DEP)
1463src/core/security/server_secure_chttp2.c: $(OPENSSL_DEP)
1464src/core/tsi/fake_transport_security.c: $(OPENSSL_DEP)
1465src/core/tsi/ssl_transport_security.c: $(OPENSSL_DEP)
1466src/core/tsi/transport_security.c: $(OPENSSL_DEP)
1467src/core/channel/call_op_string.c: $(OPENSSL_DEP)
1468src/core/channel/census_filter.c: $(OPENSSL_DEP)
1469src/core/channel/channel_args.c: $(OPENSSL_DEP)
1470src/core/channel/channel_stack.c: $(OPENSSL_DEP)
1471src/core/channel/child_channel.c: $(OPENSSL_DEP)
1472src/core/channel/client_channel.c: $(OPENSSL_DEP)
1473src/core/channel/client_setup.c: $(OPENSSL_DEP)
1474src/core/channel/connected_channel.c: $(OPENSSL_DEP)
1475src/core/channel/http_client_filter.c: $(OPENSSL_DEP)
1476src/core/channel/http_filter.c: $(OPENSSL_DEP)
1477src/core/channel/http_server_filter.c: $(OPENSSL_DEP)
1478src/core/channel/metadata_buffer.c: $(OPENSSL_DEP)
1479src/core/channel/noop_filter.c: $(OPENSSL_DEP)
1480src/core/compression/algorithm.c: $(OPENSSL_DEP)
1481src/core/compression/message_compress.c: $(OPENSSL_DEP)
1482src/core/httpcli/format_request.c: $(OPENSSL_DEP)
1483src/core/httpcli/httpcli.c: $(OPENSSL_DEP)
1484src/core/httpcli/httpcli_security_context.c: $(OPENSSL_DEP)
1485src/core/httpcli/parser.c: $(OPENSSL_DEP)
1486src/core/iomgr/alarm.c: $(OPENSSL_DEP)
1487src/core/iomgr/alarm_heap.c: $(OPENSSL_DEP)
1488src/core/iomgr/endpoint.c: $(OPENSSL_DEP)
1489src/core/iomgr/endpoint_pair_posix.c: $(OPENSSL_DEP)
1490src/core/iomgr/fd_posix.c: $(OPENSSL_DEP)
1491src/core/iomgr/iomgr.c: $(OPENSSL_DEP)
1492src/core/iomgr/iomgr_posix.c: $(OPENSSL_DEP)
David Klempner7f3ed1e2015-01-16 15:35:56 -08001493src/core/iomgr/pollset_kick_posix.c: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001494src/core/iomgr/pollset_multipoller_with_poll_posix.c: $(OPENSSL_DEP)
1495src/core/iomgr/pollset_posix.c: $(OPENSSL_DEP)
1496src/core/iomgr/resolve_address_posix.c: $(OPENSSL_DEP)
1497src/core/iomgr/sockaddr_utils.c: $(OPENSSL_DEP)
1498src/core/iomgr/socket_utils_common_posix.c: $(OPENSSL_DEP)
1499src/core/iomgr/socket_utils_linux.c: $(OPENSSL_DEP)
1500src/core/iomgr/socket_utils_posix.c: $(OPENSSL_DEP)
1501src/core/iomgr/tcp_client_posix.c: $(OPENSSL_DEP)
1502src/core/iomgr/tcp_posix.c: $(OPENSSL_DEP)
1503src/core/iomgr/tcp_server_posix.c: $(OPENSSL_DEP)
1504src/core/iomgr/time_averaged_stats.c: $(OPENSSL_DEP)
1505src/core/statistics/census_init.c: $(OPENSSL_DEP)
1506src/core/statistics/census_log.c: $(OPENSSL_DEP)
1507src/core/statistics/census_rpc_stats.c: $(OPENSSL_DEP)
1508src/core/statistics/census_tracing.c: $(OPENSSL_DEP)
1509src/core/statistics/hash_table.c: $(OPENSSL_DEP)
1510src/core/statistics/window_stats.c: $(OPENSSL_DEP)
1511src/core/surface/byte_buffer.c: $(OPENSSL_DEP)
1512src/core/surface/byte_buffer_reader.c: $(OPENSSL_DEP)
1513src/core/surface/call.c: $(OPENSSL_DEP)
1514src/core/surface/channel.c: $(OPENSSL_DEP)
1515src/core/surface/channel_create.c: $(OPENSSL_DEP)
1516src/core/surface/client.c: $(OPENSSL_DEP)
1517src/core/surface/completion_queue.c: $(OPENSSL_DEP)
1518src/core/surface/event_string.c: $(OPENSSL_DEP)
1519src/core/surface/init.c: $(OPENSSL_DEP)
1520src/core/surface/lame_client.c: $(OPENSSL_DEP)
1521src/core/surface/secure_channel_create.c: $(OPENSSL_DEP)
1522src/core/surface/secure_server_create.c: $(OPENSSL_DEP)
1523src/core/surface/server.c: $(OPENSSL_DEP)
1524src/core/surface/server_chttp2.c: $(OPENSSL_DEP)
1525src/core/surface/server_create.c: $(OPENSSL_DEP)
1526src/core/transport/chttp2/alpn.c: $(OPENSSL_DEP)
1527src/core/transport/chttp2/bin_encoder.c: $(OPENSSL_DEP)
1528src/core/transport/chttp2/frame_data.c: $(OPENSSL_DEP)
1529src/core/transport/chttp2/frame_goaway.c: $(OPENSSL_DEP)
1530src/core/transport/chttp2/frame_ping.c: $(OPENSSL_DEP)
1531src/core/transport/chttp2/frame_rst_stream.c: $(OPENSSL_DEP)
1532src/core/transport/chttp2/frame_settings.c: $(OPENSSL_DEP)
1533src/core/transport/chttp2/frame_window_update.c: $(OPENSSL_DEP)
1534src/core/transport/chttp2/hpack_parser.c: $(OPENSSL_DEP)
1535src/core/transport/chttp2/hpack_table.c: $(OPENSSL_DEP)
1536src/core/transport/chttp2/huffsyms.c: $(OPENSSL_DEP)
1537src/core/transport/chttp2/status_conversion.c: $(OPENSSL_DEP)
1538src/core/transport/chttp2/stream_encoder.c: $(OPENSSL_DEP)
1539src/core/transport/chttp2/stream_map.c: $(OPENSSL_DEP)
1540src/core/transport/chttp2/timeout_encoding.c: $(OPENSSL_DEP)
1541src/core/transport/chttp2/varint.c: $(OPENSSL_DEP)
1542src/core/transport/chttp2_transport.c: $(OPENSSL_DEP)
1543src/core/transport/metadata.c: $(OPENSSL_DEP)
1544src/core/transport/stream_op.c: $(OPENSSL_DEP)
1545src/core/transport/transport.c: $(OPENSSL_DEP)
1546third_party/cJSON/cJSON.c: $(OPENSSL_DEP)
1547endif
1548
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001549libs/$(CONFIG)/libgrpc.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001550 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001551 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001552 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS)
Craig Tillerd4773f52015-01-12 16:38:47 -08001553 $(Q) rm -rf tmp-merge
nnoble20e2e3f2014-12-16 15:37:57 -08001554 $(Q) mkdir tmp-merge
ctillercab52e72015-01-06 13:10:23 -08001555 $(Q) ( cd tmp-merge ; $(AR) x ../libs/$(CONFIG)/libgrpc.a )
nnoble20e2e3f2014-12-16 15:37:57 -08001556 $(Q) for l in $(OPENSSL_MERGE_LIBS) ; do ( cd tmp-merge ; ar x ../$${l} ) ; done
ctillercab52e72015-01-06 13:10:23 -08001557 $(Q) rm -f libs/$(CONFIG)/libgrpc.a tmp-merge/__.SYMDEF*
1558 $(Q) ar rcs libs/$(CONFIG)/libgrpc.a tmp-merge/*
nnoble20e2e3f2014-12-16 15:37:57 -08001559 $(Q) rm -rf tmp-merge
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001560
nnoble5b7f32a2014-12-22 08:12:44 -08001561
1562
1563ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001564libs/$(CONFIG)/grpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT) $(OPENSSL_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001565 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001566 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001567 $(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 -08001568else
Craig Tillera614caa2015-01-15 09:33:21 -08001569libs/$(CONFIG)/libgrpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(OPENSSL_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001570 $(E) "[LD] Linking $@"
1571 $(Q) mkdir -p `dirname $@`
1572ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001573 $(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 -08001574else
ctillercab52e72015-01-06 13:10:23 -08001575 $(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
1576 $(Q) ln -sf libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.so
nnoble5b7f32a2014-12-22 08:12:44 -08001577endif
1578endif
1579
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001580
nnoble69ac39f2014-12-12 15:43:38 -08001581endif
1582
nnoble69ac39f2014-12-12 15:43:38 -08001583ifneq ($(NO_SECURE),true)
1584ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001585-include $(LIBGRPC_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001586endif
nnoble69ac39f2014-12-12 15:43:38 -08001587endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001588
Craig Tiller27715ca2015-01-12 16:55:59 -08001589objs/$(CONFIG)/src/core/security/auth.o:
1590objs/$(CONFIG)/src/core/security/base64.o:
1591objs/$(CONFIG)/src/core/security/credentials.o:
Craig Tiller770f60a2015-01-12 17:44:43 -08001592objs/$(CONFIG)/src/core/security/factories.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001593objs/$(CONFIG)/src/core/security/google_root_certs.o:
1594objs/$(CONFIG)/src/core/security/json_token.o:
1595objs/$(CONFIG)/src/core/security/secure_endpoint.o:
1596objs/$(CONFIG)/src/core/security/secure_transport_setup.o:
1597objs/$(CONFIG)/src/core/security/security_context.o:
1598objs/$(CONFIG)/src/core/security/server_secure_chttp2.o:
1599objs/$(CONFIG)/src/core/tsi/fake_transport_security.o:
1600objs/$(CONFIG)/src/core/tsi/ssl_transport_security.o:
1601objs/$(CONFIG)/src/core/tsi/transport_security.o:
1602objs/$(CONFIG)/src/core/channel/call_op_string.o:
1603objs/$(CONFIG)/src/core/channel/census_filter.o:
1604objs/$(CONFIG)/src/core/channel/channel_args.o:
1605objs/$(CONFIG)/src/core/channel/channel_stack.o:
1606objs/$(CONFIG)/src/core/channel/child_channel.o:
1607objs/$(CONFIG)/src/core/channel/client_channel.o:
1608objs/$(CONFIG)/src/core/channel/client_setup.o:
1609objs/$(CONFIG)/src/core/channel/connected_channel.o:
1610objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1611objs/$(CONFIG)/src/core/channel/http_filter.o:
1612objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1613objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1614objs/$(CONFIG)/src/core/channel/noop_filter.o:
1615objs/$(CONFIG)/src/core/compression/algorithm.o:
1616objs/$(CONFIG)/src/core/compression/message_compress.o:
1617objs/$(CONFIG)/src/core/httpcli/format_request.o:
1618objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1619objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1620objs/$(CONFIG)/src/core/httpcli/parser.o:
1621objs/$(CONFIG)/src/core/iomgr/alarm.o:
1622objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1623objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1624objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1625objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1626objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1627objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
David Klempner7f3ed1e2015-01-16 15:35:56 -08001628objs/$(CONFIG)/src/core/iomgr/pollset_kick_posix.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001629objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1630objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1631objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1632objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1633objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1634objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1635objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1636objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1637objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1638objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1639objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1640objs/$(CONFIG)/src/core/statistics/census_init.o:
1641objs/$(CONFIG)/src/core/statistics/census_log.o:
1642objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1643objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1644objs/$(CONFIG)/src/core/statistics/hash_table.o:
1645objs/$(CONFIG)/src/core/statistics/window_stats.o:
1646objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1647objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1648objs/$(CONFIG)/src/core/surface/call.o:
1649objs/$(CONFIG)/src/core/surface/channel.o:
1650objs/$(CONFIG)/src/core/surface/channel_create.o:
1651objs/$(CONFIG)/src/core/surface/client.o:
1652objs/$(CONFIG)/src/core/surface/completion_queue.o:
1653objs/$(CONFIG)/src/core/surface/event_string.o:
1654objs/$(CONFIG)/src/core/surface/init.o:
1655objs/$(CONFIG)/src/core/surface/lame_client.o:
1656objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1657objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1658objs/$(CONFIG)/src/core/surface/server.o:
1659objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1660objs/$(CONFIG)/src/core/surface/server_create.o:
1661objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1662objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1663objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1664objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1665objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1666objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1667objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1668objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1669objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1670objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1671objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1672objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1673objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1674objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1675objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1676objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1677objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1678objs/$(CONFIG)/src/core/transport/metadata.o:
1679objs/$(CONFIG)/src/core/transport/stream_op.o:
1680objs/$(CONFIG)/src/core/transport/transport.o:
1681objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1682
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001683
Craig Tiller17ec5f92015-01-18 11:30:41 -08001684LIBGRPC_TEST_UTIL_SRC = \
1685 test/core/end2end/cq_verifier.c \
1686 test/core/end2end/data/prod_roots_certs.c \
1687 test/core/end2end/data/server1_cert.c \
1688 test/core/end2end/data/server1_key.c \
1689 test/core/end2end/data/test_root_cert.c \
1690 test/core/iomgr/endpoint_tests.c \
1691 test/core/statistics/census_log_tests.c \
1692 test/core/transport/transport_end2end_tests.c \
1693 test/core/util/grpc_profiler.c \
1694 test/core/util/parse_hexstring.c \
1695 test/core/util/port_posix.c \
1696 test/core/util/slice_splitter.c \
1697
1698
1699LIBGRPC_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_TEST_UTIL_SRC))))
1700
1701ifeq ($(NO_SECURE),true)
1702
1703# You can't build secure libraries if you don't have OpenSSL with ALPN.
1704
1705libs/$(CONFIG)/libgrpc_test_util.a: openssl_dep_error
1706
1707
1708else
1709
1710ifneq ($(OPENSSL_DEP),)
1711test/core/end2end/cq_verifier.c: $(OPENSSL_DEP)
1712test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
1713test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
1714test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
1715test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
1716test/core/iomgr/endpoint_tests.c: $(OPENSSL_DEP)
1717test/core/statistics/census_log_tests.c: $(OPENSSL_DEP)
1718test/core/transport/transport_end2end_tests.c: $(OPENSSL_DEP)
1719test/core/util/grpc_profiler.c: $(OPENSSL_DEP)
1720test/core/util/parse_hexstring.c: $(OPENSSL_DEP)
1721test/core/util/port_posix.c: $(OPENSSL_DEP)
1722test/core/util/slice_splitter.c: $(OPENSSL_DEP)
1723endif
1724
1725libs/$(CONFIG)/libgrpc_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_TEST_UTIL_OBJS)
1726 $(E) "[AR] Creating $@"
1727 $(Q) mkdir -p `dirname $@`
1728 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_test_util.a $(LIBGRPC_TEST_UTIL_OBJS)
1729
1730
1731
1732
1733
1734endif
1735
1736ifneq ($(NO_SECURE),true)
1737ifneq ($(NO_DEPS),true)
1738-include $(LIBGRPC_TEST_UTIL_OBJS:.o=.dep)
1739endif
1740endif
1741
1742objs/$(CONFIG)/test/core/end2end/cq_verifier.o:
1743objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
1744objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
1745objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
1746objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
1747objs/$(CONFIG)/test/core/iomgr/endpoint_tests.o:
1748objs/$(CONFIG)/test/core/statistics/census_log_tests.o:
1749objs/$(CONFIG)/test/core/transport/transport_end2end_tests.o:
1750objs/$(CONFIG)/test/core/util/grpc_profiler.o:
1751objs/$(CONFIG)/test/core/util/parse_hexstring.o:
1752objs/$(CONFIG)/test/core/util/port_posix.o:
1753objs/$(CONFIG)/test/core/util/slice_splitter.o:
1754
1755
nnoblec87b1c52015-01-05 17:15:18 -08001756LIBGRPC_UNSECURE_SRC = \
1757 src/core/channel/call_op_string.c \
1758 src/core/channel/census_filter.c \
1759 src/core/channel/channel_args.c \
1760 src/core/channel/channel_stack.c \
1761 src/core/channel/child_channel.c \
1762 src/core/channel/client_channel.c \
1763 src/core/channel/client_setup.c \
1764 src/core/channel/connected_channel.c \
1765 src/core/channel/http_client_filter.c \
1766 src/core/channel/http_filter.c \
1767 src/core/channel/http_server_filter.c \
1768 src/core/channel/metadata_buffer.c \
1769 src/core/channel/noop_filter.c \
1770 src/core/compression/algorithm.c \
1771 src/core/compression/message_compress.c \
1772 src/core/httpcli/format_request.c \
1773 src/core/httpcli/httpcli.c \
1774 src/core/httpcli/httpcli_security_context.c \
1775 src/core/httpcli/parser.c \
1776 src/core/iomgr/alarm.c \
1777 src/core/iomgr/alarm_heap.c \
1778 src/core/iomgr/endpoint.c \
1779 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001780 src/core/iomgr/fd_posix.c \
1781 src/core/iomgr/iomgr.c \
1782 src/core/iomgr/iomgr_posix.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08001783 src/core/iomgr/pollset_kick_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001784 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1785 src/core/iomgr/pollset_posix.c \
nnoblec87b1c52015-01-05 17:15:18 -08001786 src/core/iomgr/resolve_address_posix.c \
1787 src/core/iomgr/sockaddr_utils.c \
1788 src/core/iomgr/socket_utils_common_posix.c \
1789 src/core/iomgr/socket_utils_linux.c \
1790 src/core/iomgr/socket_utils_posix.c \
1791 src/core/iomgr/tcp_client_posix.c \
1792 src/core/iomgr/tcp_posix.c \
1793 src/core/iomgr/tcp_server_posix.c \
1794 src/core/iomgr/time_averaged_stats.c \
1795 src/core/statistics/census_init.c \
1796 src/core/statistics/census_log.c \
1797 src/core/statistics/census_rpc_stats.c \
1798 src/core/statistics/census_tracing.c \
1799 src/core/statistics/hash_table.c \
1800 src/core/statistics/window_stats.c \
1801 src/core/surface/byte_buffer.c \
1802 src/core/surface/byte_buffer_reader.c \
1803 src/core/surface/call.c \
1804 src/core/surface/channel.c \
1805 src/core/surface/channel_create.c \
1806 src/core/surface/client.c \
1807 src/core/surface/completion_queue.c \
1808 src/core/surface/event_string.c \
1809 src/core/surface/init.c \
1810 src/core/surface/lame_client.c \
1811 src/core/surface/secure_channel_create.c \
1812 src/core/surface/secure_server_create.c \
1813 src/core/surface/server.c \
1814 src/core/surface/server_chttp2.c \
1815 src/core/surface/server_create.c \
1816 src/core/transport/chttp2/alpn.c \
1817 src/core/transport/chttp2/bin_encoder.c \
1818 src/core/transport/chttp2/frame_data.c \
1819 src/core/transport/chttp2/frame_goaway.c \
1820 src/core/transport/chttp2/frame_ping.c \
1821 src/core/transport/chttp2/frame_rst_stream.c \
1822 src/core/transport/chttp2/frame_settings.c \
1823 src/core/transport/chttp2/frame_window_update.c \
1824 src/core/transport/chttp2/hpack_parser.c \
1825 src/core/transport/chttp2/hpack_table.c \
1826 src/core/transport/chttp2/huffsyms.c \
1827 src/core/transport/chttp2/status_conversion.c \
1828 src/core/transport/chttp2/stream_encoder.c \
1829 src/core/transport/chttp2/stream_map.c \
1830 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001831 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001832 src/core/transport/chttp2_transport.c \
nnoblec87b1c52015-01-05 17:15:18 -08001833 src/core/transport/metadata.c \
1834 src/core/transport/stream_op.c \
1835 src/core/transport/transport.c \
1836 third_party/cJSON/cJSON.c \
1837
1838PUBLIC_HEADERS_C += \
1839 include/grpc/byte_buffer.h \
1840 include/grpc/byte_buffer_reader.h \
1841 include/grpc/grpc.h \
1842 include/grpc/status.h \
1843
ctillercab52e72015-01-06 13:10:23 -08001844LIBGRPC_UNSECURE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_UNSECURE_SRC))))
nnoblec87b1c52015-01-05 17:15:18 -08001845
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001846libs/$(CONFIG)/libgrpc_unsecure.a: $(ZLIB_DEP) $(LIBGRPC_UNSECURE_OBJS)
nnoblec87b1c52015-01-05 17:15:18 -08001847 $(E) "[AR] Creating $@"
1848 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001849 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_unsecure.a $(LIBGRPC_UNSECURE_OBJS)
nnoblec87b1c52015-01-05 17:15:18 -08001850
1851
1852
1853ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001854libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001855 $(E) "[LD] Linking $@"
1856 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001857 $(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 -08001858else
Craig Tillera614caa2015-01-15 09:33:21 -08001859libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001860 $(E) "[LD] Linking $@"
1861 $(Q) mkdir -p `dirname $@`
1862ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001863 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
nnoblec87b1c52015-01-05 17:15:18 -08001864else
ctillercab52e72015-01-06 13:10:23 -08001865 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.0 -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
1866 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.so
nnoblec87b1c52015-01-05 17:15:18 -08001867endif
1868endif
1869
1870
nnoblec87b1c52015-01-05 17:15:18 -08001871ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001872-include $(LIBGRPC_UNSECURE_OBJS:.o=.dep)
nnoblec87b1c52015-01-05 17:15:18 -08001873endif
1874
Craig Tiller27715ca2015-01-12 16:55:59 -08001875objs/$(CONFIG)/src/core/channel/call_op_string.o:
1876objs/$(CONFIG)/src/core/channel/census_filter.o:
1877objs/$(CONFIG)/src/core/channel/channel_args.o:
1878objs/$(CONFIG)/src/core/channel/channel_stack.o:
1879objs/$(CONFIG)/src/core/channel/child_channel.o:
1880objs/$(CONFIG)/src/core/channel/client_channel.o:
1881objs/$(CONFIG)/src/core/channel/client_setup.o:
1882objs/$(CONFIG)/src/core/channel/connected_channel.o:
1883objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1884objs/$(CONFIG)/src/core/channel/http_filter.o:
1885objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1886objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1887objs/$(CONFIG)/src/core/channel/noop_filter.o:
1888objs/$(CONFIG)/src/core/compression/algorithm.o:
1889objs/$(CONFIG)/src/core/compression/message_compress.o:
1890objs/$(CONFIG)/src/core/httpcli/format_request.o:
1891objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1892objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1893objs/$(CONFIG)/src/core/httpcli/parser.o:
1894objs/$(CONFIG)/src/core/iomgr/alarm.o:
1895objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1896objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1897objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1898objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1899objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1900objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
David Klempner7f3ed1e2015-01-16 15:35:56 -08001901objs/$(CONFIG)/src/core/iomgr/pollset_kick_posix.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001902objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1903objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1904objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1905objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1906objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1907objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1908objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1909objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1910objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1911objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1912objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1913objs/$(CONFIG)/src/core/statistics/census_init.o:
1914objs/$(CONFIG)/src/core/statistics/census_log.o:
1915objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1916objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1917objs/$(CONFIG)/src/core/statistics/hash_table.o:
1918objs/$(CONFIG)/src/core/statistics/window_stats.o:
1919objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1920objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1921objs/$(CONFIG)/src/core/surface/call.o:
1922objs/$(CONFIG)/src/core/surface/channel.o:
1923objs/$(CONFIG)/src/core/surface/channel_create.o:
1924objs/$(CONFIG)/src/core/surface/client.o:
1925objs/$(CONFIG)/src/core/surface/completion_queue.o:
1926objs/$(CONFIG)/src/core/surface/event_string.o:
1927objs/$(CONFIG)/src/core/surface/init.o:
1928objs/$(CONFIG)/src/core/surface/lame_client.o:
1929objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1930objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1931objs/$(CONFIG)/src/core/surface/server.o:
1932objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1933objs/$(CONFIG)/src/core/surface/server_create.o:
1934objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1935objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1936objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1937objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1938objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1939objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1940objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1941objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1942objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1943objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1944objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1945objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1946objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1947objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1948objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1949objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1950objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1951objs/$(CONFIG)/src/core/transport/metadata.o:
1952objs/$(CONFIG)/src/core/transport/stream_op.o:
1953objs/$(CONFIG)/src/core/transport/transport.o:
1954objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1955
nnoblec87b1c52015-01-05 17:15:18 -08001956
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001957LIBGRPC++_SRC = \
ctiller2bbb6c42014-12-17 09:44:44 -08001958 src/cpp/client/channel.cc \
yangg59dfc902014-12-19 14:00:14 -08001959 src/cpp/client/channel_arguments.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001960 src/cpp/client/client_context.cc \
1961 src/cpp/client/create_channel.cc \
vpai80b6d012014-12-17 11:47:32 -08001962 src/cpp/client/credentials.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001963 src/cpp/client/internal_stub.cc \
rsilvera35e7b0c2015-01-12 13:52:04 -08001964 src/cpp/common/rpc_method.cc \
Craig Tiller996d9df2015-01-19 21:06:50 -08001965 src/cpp/proto/proto_utils.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001966 src/cpp/server/async_server.cc \
1967 src/cpp/server/async_server_context.cc \
1968 src/cpp/server/completion_queue.cc \
Craig Tiller996d9df2015-01-19 21:06:50 -08001969 src/cpp/server/server.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001970 src/cpp/server/server_builder.cc \
yanggfd2f3ac2014-12-17 16:46:06 -08001971 src/cpp/server/server_context_impl.cc \
vpai80b6d012014-12-17 11:47:32 -08001972 src/cpp/server/server_credentials.cc \
Craig Tiller996d9df2015-01-19 21:06:50 -08001973 src/cpp/server/server_rpc_handler.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001974 src/cpp/server/thread_pool.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001975 src/cpp/stream/stream_context.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001976 src/cpp/util/status.cc \
ctiller2bbb6c42014-12-17 09:44:44 -08001977 src/cpp/util/time.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001978
nnoble85a49262014-12-08 18:14:03 -08001979PUBLIC_HEADERS_CXX += \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001980 include/grpc++/async_server.h \
Craig Tiller996d9df2015-01-19 21:06:50 -08001981 include/grpc++/async_server_context.h \
yangg59dfc902014-12-19 14:00:14 -08001982 include/grpc++/channel_arguments.h \
ctiller2bbb6c42014-12-17 09:44:44 -08001983 include/grpc++/channel_interface.h \
1984 include/grpc++/client_context.h \
1985 include/grpc++/completion_queue.h \
1986 include/grpc++/config.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001987 include/grpc++/create_channel.h \
vpai80b6d012014-12-17 11:47:32 -08001988 include/grpc++/credentials.h \
yangg1b151092015-01-09 15:31:05 -08001989 include/grpc++/impl/internal_stub.h \
1990 include/grpc++/impl/rpc_method.h \
1991 include/grpc++/impl/rpc_service_method.h \
Craig Tiller996d9df2015-01-19 21:06:50 -08001992 include/grpc++/server.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001993 include/grpc++/server_builder.h \
yanggfd2f3ac2014-12-17 16:46:06 -08001994 include/grpc++/server_context.h \
vpai80b6d012014-12-17 11:47:32 -08001995 include/grpc++/server_credentials.h \
ctiller2bbb6c42014-12-17 09:44:44 -08001996 include/grpc++/status.h \
ctiller2bbb6c42014-12-17 09:44:44 -08001997 include/grpc++/stream.h \
Craig Tiller996d9df2015-01-19 21:06:50 -08001998 include/grpc++/stream_context_interface.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001999
ctillercab52e72015-01-06 13:10:23 -08002000LIBGRPC++_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002001
nnoble69ac39f2014-12-12 15:43:38 -08002002ifeq ($(NO_SECURE),true)
2003
Nicolas Noble047b7272015-01-16 13:55:05 -08002004# You can't build secure libraries if you don't have OpenSSL with ALPN.
2005
ctillercab52e72015-01-06 13:10:23 -08002006libs/$(CONFIG)/libgrpc++.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002007
nnoble5b7f32a2014-12-22 08:12:44 -08002008ifeq ($(SYSTEM),MINGW32)
ctillercab52e72015-01-06 13:10:23 -08002009libs/$(CONFIG)/grpc++.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08002010else
ctillercab52e72015-01-06 13:10:23 -08002011libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08002012endif
2013
nnoble69ac39f2014-12-12 15:43:38 -08002014else
2015
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002016ifneq ($(OPENSSL_DEP),)
2017src/cpp/client/channel.cc: $(OPENSSL_DEP)
2018src/cpp/client/channel_arguments.cc: $(OPENSSL_DEP)
2019src/cpp/client/client_context.cc: $(OPENSSL_DEP)
2020src/cpp/client/create_channel.cc: $(OPENSSL_DEP)
2021src/cpp/client/credentials.cc: $(OPENSSL_DEP)
2022src/cpp/client/internal_stub.cc: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002023src/cpp/common/rpc_method.cc: $(OPENSSL_DEP)
Craig Tiller996d9df2015-01-19 21:06:50 -08002024src/cpp/proto/proto_utils.cc: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002025src/cpp/server/async_server.cc: $(OPENSSL_DEP)
2026src/cpp/server/async_server_context.cc: $(OPENSSL_DEP)
2027src/cpp/server/completion_queue.cc: $(OPENSSL_DEP)
Craig Tiller996d9df2015-01-19 21:06:50 -08002028src/cpp/server/server.cc: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002029src/cpp/server/server_builder.cc: $(OPENSSL_DEP)
2030src/cpp/server/server_context_impl.cc: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002031src/cpp/server/server_credentials.cc: $(OPENSSL_DEP)
Craig Tiller996d9df2015-01-19 21:06:50 -08002032src/cpp/server/server_rpc_handler.cc: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002033src/cpp/server/thread_pool.cc: $(OPENSSL_DEP)
2034src/cpp/stream/stream_context.cc: $(OPENSSL_DEP)
2035src/cpp/util/status.cc: $(OPENSSL_DEP)
2036src/cpp/util/time.cc: $(OPENSSL_DEP)
2037endif
2038
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002039libs/$(CONFIG)/libgrpc++.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002040 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002041 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002042 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++.a $(LIBGRPC++_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002043
nnoble5b7f32a2014-12-22 08:12:44 -08002044
2045
2046ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002047libs/$(CONFIG)/grpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/grpc.$(SHARED_EXT) $(OPENSSL_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002048 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08002049 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002050 $(Q) $(LDXX) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,--output-def=libs/$(CONFIG)/grpc++.def -Wl,--out-implib=libs/$(CONFIG)/libgrpc++-imp.a -o libs/$(CONFIG)/grpc++.$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgrpc-imp
nnoble5b7f32a2014-12-22 08:12:44 -08002051else
Craig Tillera614caa2015-01-15 09:33:21 -08002052libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(OPENSSL_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08002053 $(E) "[LD] Linking $@"
2054 $(Q) mkdir -p `dirname $@`
2055ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08002056 $(Q) $(LDXX) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgrpc
nnoble5b7f32a2014-12-22 08:12:44 -08002057else
ctillercab52e72015-01-06 13:10:23 -08002058 $(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
2059 $(Q) ln -sf libgrpc++.$(SHARED_EXT) libs/$(CONFIG)/libgrpc++.so
nnoble5b7f32a2014-12-22 08:12:44 -08002060endif
2061endif
2062
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002063
nnoble69ac39f2014-12-12 15:43:38 -08002064endif
2065
nnoble69ac39f2014-12-12 15:43:38 -08002066ifneq ($(NO_SECURE),true)
2067ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002068-include $(LIBGRPC++_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002069endif
nnoble69ac39f2014-12-12 15:43:38 -08002070endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002071
Craig Tiller27715ca2015-01-12 16:55:59 -08002072objs/$(CONFIG)/src/cpp/client/channel.o:
2073objs/$(CONFIG)/src/cpp/client/channel_arguments.o:
2074objs/$(CONFIG)/src/cpp/client/client_context.o:
2075objs/$(CONFIG)/src/cpp/client/create_channel.o:
2076objs/$(CONFIG)/src/cpp/client/credentials.o:
2077objs/$(CONFIG)/src/cpp/client/internal_stub.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08002078objs/$(CONFIG)/src/cpp/common/rpc_method.o:
Craig Tiller996d9df2015-01-19 21:06:50 -08002079objs/$(CONFIG)/src/cpp/proto/proto_utils.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08002080objs/$(CONFIG)/src/cpp/server/async_server.o:
2081objs/$(CONFIG)/src/cpp/server/async_server_context.o:
2082objs/$(CONFIG)/src/cpp/server/completion_queue.o:
Craig Tiller996d9df2015-01-19 21:06:50 -08002083objs/$(CONFIG)/src/cpp/server/server.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08002084objs/$(CONFIG)/src/cpp/server/server_builder.o:
2085objs/$(CONFIG)/src/cpp/server/server_context_impl.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08002086objs/$(CONFIG)/src/cpp/server/server_credentials.o:
Craig Tiller996d9df2015-01-19 21:06:50 -08002087objs/$(CONFIG)/src/cpp/server/server_rpc_handler.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08002088objs/$(CONFIG)/src/cpp/server/thread_pool.o:
2089objs/$(CONFIG)/src/cpp/stream/stream_context.o:
2090objs/$(CONFIG)/src/cpp/util/status.o:
2091objs/$(CONFIG)/src/cpp/util/time.o:
2092
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002093
2094LIBGRPC++_TEST_UTIL_SRC = \
ctiller2bbb6c42014-12-17 09:44:44 -08002095 gens/test/cpp/util/echo.pb.cc \
yangg1456d152015-01-08 15:39:58 -08002096 gens/test/cpp/util/echo_duplicate.pb.cc \
Craig Tiller996d9df2015-01-19 21:06:50 -08002097 gens/test/cpp/util/messages.pb.cc \
nnoble4cb93712014-12-17 14:18:08 -08002098 test/cpp/end2end/async_test_server.cc \
Craig Tiller996d9df2015-01-19 21:06:50 -08002099 test/cpp/util/create_test_channel.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002100
2101
ctillercab52e72015-01-06 13:10:23 -08002102LIBGRPC++_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_UTIL_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002103
nnoble69ac39f2014-12-12 15:43:38 -08002104ifeq ($(NO_SECURE),true)
2105
Nicolas Noble047b7272015-01-16 13:55:05 -08002106# You can't build secure libraries if you don't have OpenSSL with ALPN.
2107
ctillercab52e72015-01-06 13:10:23 -08002108libs/$(CONFIG)/libgrpc++_test_util.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002109
nnoble5b7f32a2014-12-22 08:12:44 -08002110
nnoble69ac39f2014-12-12 15:43:38 -08002111else
2112
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002113ifneq ($(OPENSSL_DEP),)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002114test/cpp/util/echo.proto: $(OPENSSL_DEP)
2115test/cpp/util/echo_duplicate.proto: $(OPENSSL_DEP)
Craig Tiller996d9df2015-01-19 21:06:50 -08002116test/cpp/util/messages.proto: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002117test/cpp/end2end/async_test_server.cc: $(OPENSSL_DEP)
Craig Tiller996d9df2015-01-19 21:06:50 -08002118test/cpp/util/create_test_channel.cc: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002119endif
2120
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002121libs/$(CONFIG)/libgrpc++_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_TEST_UTIL_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002122 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002123 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002124 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++_test_util.a $(LIBGRPC++_TEST_UTIL_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002125
2126
2127
nnoble5b7f32a2014-12-22 08:12:44 -08002128
2129
nnoble69ac39f2014-12-12 15:43:38 -08002130endif
2131
nnoble69ac39f2014-12-12 15:43:38 -08002132ifneq ($(NO_SECURE),true)
2133ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002134-include $(LIBGRPC++_TEST_UTIL_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002135endif
nnoble69ac39f2014-12-12 15:43:38 -08002136endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002137
Craig Tiller27715ca2015-01-12 16:55:59 -08002138
2139
2140
Craig Tiller996d9df2015-01-19 21:06:50 -08002141objs/$(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
2142objs/$(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
Craig Tiller27715ca2015-01-12 16:55:59 -08002143
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002144
Chen Wang86af8cf2015-01-21 18:05:40 -08002145LIBTIPS_CLIENT_LIB_SRC = \
2146 gens/examples/tips/label.pb.cc \
2147 gens/examples/tips/empty.pb.cc \
2148 gens/examples/tips/pubsub.pb.cc \
2149 examples/tips/client.cc \
2150
2151
2152LIBTIPS_CLIENT_LIB_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBTIPS_CLIENT_LIB_SRC))))
2153
2154ifeq ($(NO_SECURE),true)
2155
2156# You can't build secure libraries if you don't have OpenSSL with ALPN.
2157
2158libs/$(CONFIG)/libtips_client_lib.a: openssl_dep_error
2159
2160
2161else
2162
2163ifneq ($(OPENSSL_DEP),)
2164examples/tips/label.proto: $(OPENSSL_DEP)
2165examples/tips/empty.proto: $(OPENSSL_DEP)
2166examples/tips/pubsub.proto: $(OPENSSL_DEP)
2167examples/tips/client.cc: $(OPENSSL_DEP)
2168endif
2169
2170libs/$(CONFIG)/libtips_client_lib.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBTIPS_CLIENT_LIB_OBJS)
2171 $(E) "[AR] Creating $@"
2172 $(Q) mkdir -p `dirname $@`
2173 $(Q) $(AR) rcs libs/$(CONFIG)/libtips_client_lib.a $(LIBTIPS_CLIENT_LIB_OBJS)
2174
2175
2176
2177
2178
2179endif
2180
2181ifneq ($(NO_SECURE),true)
2182ifneq ($(NO_DEPS),true)
2183-include $(LIBTIPS_CLIENT_LIB_OBJS:.o=.dep)
2184endif
2185endif
2186
2187
2188
2189
2190objs/$(CONFIG)/examples/tips/client.o: gens/examples/tips/label.pb.cc gens/examples/tips/empty.pb.cc gens/examples/tips/pubsub.pb.cc
2191
2192
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002193LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC = \
2194 test/core/end2end/fixtures/chttp2_fake_security.c \
2195
2196
ctillercab52e72015-01-06 13:10:23 -08002197LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002198
nnoble69ac39f2014-12-12 15:43:38 -08002199ifeq ($(NO_SECURE),true)
2200
Nicolas Noble047b7272015-01-16 13:55:05 -08002201# You can't build secure libraries if you don't have OpenSSL with ALPN.
2202
ctillercab52e72015-01-06 13:10:23 -08002203libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002204
nnoble5b7f32a2014-12-22 08:12:44 -08002205
nnoble69ac39f2014-12-12 15:43:38 -08002206else
2207
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002208ifneq ($(OPENSSL_DEP),)
2209test/core/end2end/fixtures/chttp2_fake_security.c: $(OPENSSL_DEP)
2210endif
2211
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002212libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002213 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002214 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002215 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002216
2217
2218
nnoble5b7f32a2014-12-22 08:12:44 -08002219
2220
nnoble69ac39f2014-12-12 15:43:38 -08002221endif
2222
nnoble69ac39f2014-12-12 15:43:38 -08002223ifneq ($(NO_SECURE),true)
2224ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002225-include $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002226endif
nnoble69ac39f2014-12-12 15:43:38 -08002227endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002228
Craig Tiller27715ca2015-01-12 16:55:59 -08002229objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fake_security.o:
2230
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002231
2232LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC = \
2233 test/core/end2end/fixtures/chttp2_fullstack.c \
2234
2235
ctillercab52e72015-01-06 13:10:23 -08002236LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002237
nnoble69ac39f2014-12-12 15:43:38 -08002238ifeq ($(NO_SECURE),true)
2239
Nicolas Noble047b7272015-01-16 13:55:05 -08002240# You can't build secure libraries if you don't have OpenSSL with ALPN.
2241
ctillercab52e72015-01-06 13:10:23 -08002242libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002243
nnoble5b7f32a2014-12-22 08:12:44 -08002244
nnoble69ac39f2014-12-12 15:43:38 -08002245else
2246
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002247ifneq ($(OPENSSL_DEP),)
2248test/core/end2end/fixtures/chttp2_fullstack.c: $(OPENSSL_DEP)
2249endif
2250
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002251libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002252 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002253 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002254 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002255
2256
2257
nnoble5b7f32a2014-12-22 08:12:44 -08002258
2259
nnoble69ac39f2014-12-12 15:43:38 -08002260endif
2261
nnoble69ac39f2014-12-12 15:43:38 -08002262ifneq ($(NO_SECURE),true)
2263ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002264-include $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002265endif
nnoble69ac39f2014-12-12 15:43:38 -08002266endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002267
Craig Tiller27715ca2015-01-12 16:55:59 -08002268objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fullstack.o:
2269
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002270
2271LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_SRC = \
2272 test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c \
2273
2274
ctillercab52e72015-01-06 13:10:23 -08002275LIBEND2END_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 -08002276
nnoble69ac39f2014-12-12 15:43:38 -08002277ifeq ($(NO_SECURE),true)
2278
Nicolas Noble047b7272015-01-16 13:55:05 -08002279# You can't build secure libraries if you don't have OpenSSL with ALPN.
2280
ctillercab52e72015-01-06 13:10:23 -08002281libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002282
nnoble5b7f32a2014-12-22 08:12:44 -08002283
nnoble69ac39f2014-12-12 15:43:38 -08002284else
2285
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002286ifneq ($(OPENSSL_DEP),)
2287test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c: $(OPENSSL_DEP)
2288endif
2289
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002290libs/$(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 -08002291 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002292 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002293 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002294
2295
2296
nnoble5b7f32a2014-12-22 08:12:44 -08002297
2298
nnoble69ac39f2014-12-12 15:43:38 -08002299endif
2300
nnoble69ac39f2014-12-12 15:43:38 -08002301ifneq ($(NO_SECURE),true)
2302ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002303-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002304endif
nnoble69ac39f2014-12-12 15:43:38 -08002305endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002306
Craig Tiller27715ca2015-01-12 16:55:59 -08002307objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.o:
2308
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002309
2310LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SRC = \
2311 test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c \
2312
2313
ctillercab52e72015-01-06 13:10:23 -08002314LIBEND2END_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 -08002315
nnoble69ac39f2014-12-12 15:43:38 -08002316ifeq ($(NO_SECURE),true)
2317
Nicolas Noble047b7272015-01-16 13:55:05 -08002318# You can't build secure libraries if you don't have OpenSSL with ALPN.
2319
ctillercab52e72015-01-06 13:10:23 -08002320libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002321
nnoble5b7f32a2014-12-22 08:12:44 -08002322
nnoble69ac39f2014-12-12 15:43:38 -08002323else
2324
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002325ifneq ($(OPENSSL_DEP),)
2326test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c: $(OPENSSL_DEP)
2327endif
2328
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002329libs/$(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 -08002330 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002331 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002332 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002333
2334
2335
nnoble5b7f32a2014-12-22 08:12:44 -08002336
2337
nnoble69ac39f2014-12-12 15:43:38 -08002338endif
2339
nnoble69ac39f2014-12-12 15:43:38 -08002340ifneq ($(NO_SECURE),true)
2341ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002342-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002343endif
nnoble69ac39f2014-12-12 15:43:38 -08002344endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002345
Craig Tiller27715ca2015-01-12 16:55:59 -08002346objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.o:
2347
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002348
2349LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC = \
2350 test/core/end2end/fixtures/chttp2_socket_pair.c \
2351
2352
ctillercab52e72015-01-06 13:10:23 -08002353LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002354
nnoble69ac39f2014-12-12 15:43:38 -08002355ifeq ($(NO_SECURE),true)
2356
Nicolas Noble047b7272015-01-16 13:55:05 -08002357# You can't build secure libraries if you don't have OpenSSL with ALPN.
2358
ctillercab52e72015-01-06 13:10:23 -08002359libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002360
nnoble5b7f32a2014-12-22 08:12:44 -08002361
nnoble69ac39f2014-12-12 15:43:38 -08002362else
2363
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002364ifneq ($(OPENSSL_DEP),)
2365test/core/end2end/fixtures/chttp2_socket_pair.c: $(OPENSSL_DEP)
2366endif
2367
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002368libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002369 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002370 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002371 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002372
2373
2374
nnoble5b7f32a2014-12-22 08:12:44 -08002375
2376
nnoble69ac39f2014-12-12 15:43:38 -08002377endif
2378
nnoble69ac39f2014-12-12 15:43:38 -08002379ifneq ($(NO_SECURE),true)
2380ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002381-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002382endif
nnoble69ac39f2014-12-12 15:43:38 -08002383endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002384
Craig Tiller27715ca2015-01-12 16:55:59 -08002385objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair.o:
2386
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002387
nnoble0c475f02014-12-05 15:37:39 -08002388LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SRC = \
2389 test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c \
2390
2391
ctillercab52e72015-01-06 13:10:23 -08002392LIBEND2END_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 -08002393
nnoble69ac39f2014-12-12 15:43:38 -08002394ifeq ($(NO_SECURE),true)
2395
Nicolas Noble047b7272015-01-16 13:55:05 -08002396# You can't build secure libraries if you don't have OpenSSL with ALPN.
2397
ctillercab52e72015-01-06 13:10:23 -08002398libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002399
nnoble5b7f32a2014-12-22 08:12:44 -08002400
nnoble69ac39f2014-12-12 15:43:38 -08002401else
2402
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002403ifneq ($(OPENSSL_DEP),)
2404test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c: $(OPENSSL_DEP)
2405endif
2406
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002407libs/$(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 -08002408 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002409 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002410 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS)
nnoble0c475f02014-12-05 15:37:39 -08002411
2412
2413
nnoble5b7f32a2014-12-22 08:12:44 -08002414
2415
nnoble69ac39f2014-12-12 15:43:38 -08002416endif
2417
nnoble69ac39f2014-12-12 15:43:38 -08002418ifneq ($(NO_SECURE),true)
2419ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002420-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08002421endif
nnoble69ac39f2014-12-12 15:43:38 -08002422endif
nnoble0c475f02014-12-05 15:37:39 -08002423
Craig Tiller27715ca2015-01-12 16:55:59 -08002424objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.o:
2425
nnoble0c475f02014-12-05 15:37:39 -08002426
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002427LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC = \
2428 test/core/end2end/tests/cancel_after_accept.c \
2429
2430
ctillercab52e72015-01-06 13:10:23 -08002431LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002432
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002433libs/$(CONFIG)/libend2end_test_cancel_after_accept.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002434 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002435 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002436 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_accept.a $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002437
2438
2439
nnoble5b7f32a2014-12-22 08:12:44 -08002440
2441
nnoble69ac39f2014-12-12 15:43:38 -08002442ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002443-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002444endif
2445
Craig Tiller27715ca2015-01-12 16:55:59 -08002446objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept.o:
2447
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002448
2449LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_SRC = \
2450 test/core/end2end/tests/cancel_after_accept_and_writes_closed.c \
2451
2452
ctillercab52e72015-01-06 13:10:23 -08002453LIBEND2END_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 -08002454
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002455libs/$(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 -08002456 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002457 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002458 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002459
2460
2461
nnoble5b7f32a2014-12-22 08:12:44 -08002462
2463
nnoble69ac39f2014-12-12 15:43:38 -08002464ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002465-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002466endif
2467
Craig Tiller27715ca2015-01-12 16:55:59 -08002468objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept_and_writes_closed.o:
2469
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002470
2471LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC = \
2472 test/core/end2end/tests/cancel_after_invoke.c \
2473
2474
ctillercab52e72015-01-06 13:10:23 -08002475LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002476
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002477libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002478 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002479 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002480 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002481
2482
2483
nnoble5b7f32a2014-12-22 08:12:44 -08002484
2485
nnoble69ac39f2014-12-12 15:43:38 -08002486ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002487-include $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002488endif
2489
Craig Tiller27715ca2015-01-12 16:55:59 -08002490objs/$(CONFIG)/test/core/end2end/tests/cancel_after_invoke.o:
2491
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002492
2493LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC = \
2494 test/core/end2end/tests/cancel_before_invoke.c \
2495
2496
ctillercab52e72015-01-06 13:10:23 -08002497LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002498
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002499libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002500 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002501 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002502 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002503
2504
2505
nnoble5b7f32a2014-12-22 08:12:44 -08002506
2507
nnoble69ac39f2014-12-12 15:43:38 -08002508ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002509-include $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002510endif
2511
Craig Tiller27715ca2015-01-12 16:55:59 -08002512objs/$(CONFIG)/test/core/end2end/tests/cancel_before_invoke.o:
2513
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002514
2515LIBEND2END_TEST_CANCEL_IN_A_VACUUM_SRC = \
2516 test/core/end2end/tests/cancel_in_a_vacuum.c \
2517
2518
ctillercab52e72015-01-06 13:10:23 -08002519LIBEND2END_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 -08002520
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002521libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002522 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002523 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002524 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002525
2526
2527
nnoble5b7f32a2014-12-22 08:12:44 -08002528
2529
nnoble69ac39f2014-12-12 15:43:38 -08002530ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002531-include $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002532endif
2533
Craig Tiller27715ca2015-01-12 16:55:59 -08002534objs/$(CONFIG)/test/core/end2end/tests/cancel_in_a_vacuum.o:
2535
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002536
hongyu24200d32015-01-08 15:13:49 -08002537LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC = \
2538 test/core/end2end/tests/census_simple_request.c \
2539
2540
2541LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08002542
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002543libs/$(CONFIG)/libend2end_test_census_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
hongyu24200d32015-01-08 15:13:49 -08002544 $(E) "[AR] Creating $@"
2545 $(Q) mkdir -p `dirname $@`
2546 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_census_simple_request.a $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
2547
2548
2549
2550
2551
hongyu24200d32015-01-08 15:13:49 -08002552ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002553-include $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08002554endif
2555
Craig Tiller27715ca2015-01-12 16:55:59 -08002556objs/$(CONFIG)/test/core/end2end/tests/census_simple_request.o:
2557
hongyu24200d32015-01-08 15:13:49 -08002558
ctillerc6d61c42014-12-15 14:52:08 -08002559LIBEND2END_TEST_DISAPPEARING_SERVER_SRC = \
2560 test/core/end2end/tests/disappearing_server.c \
2561
2562
ctillercab52e72015-01-06 13:10:23 -08002563LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_DISAPPEARING_SERVER_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08002564
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002565libs/$(CONFIG)/libend2end_test_disappearing_server.a: $(ZLIB_DEP) $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
ctillerc6d61c42014-12-15 14:52:08 -08002566 $(E) "[AR] Creating $@"
2567 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002568 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_disappearing_server.a $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
ctillerc6d61c42014-12-15 14:52:08 -08002569
2570
2571
nnoble5b7f32a2014-12-22 08:12:44 -08002572
2573
ctillerc6d61c42014-12-15 14:52:08 -08002574ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002575-include $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08002576endif
2577
Craig Tiller27715ca2015-01-12 16:55:59 -08002578objs/$(CONFIG)/test/core/end2end/tests/disappearing_server.o:
2579
ctillerc6d61c42014-12-15 14:52:08 -08002580
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002581LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_SRC = \
2582 test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c \
2583
2584
ctillercab52e72015-01-06 13:10:23 -08002585LIBEND2END_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 -08002586
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002587libs/$(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 -08002588 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002589 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002590 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002591
2592
2593
nnoble5b7f32a2014-12-22 08:12:44 -08002594
2595
nnoble69ac39f2014-12-12 15:43:38 -08002596ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002597-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002598endif
2599
Craig Tiller27715ca2015-01-12 16:55:59 -08002600objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.o:
2601
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002602
2603LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_SRC = \
2604 test/core/end2end/tests/early_server_shutdown_finishes_tags.c \
2605
2606
ctillercab52e72015-01-06 13:10:23 -08002607LIBEND2END_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 -08002608
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002609libs/$(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 -08002610 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002611 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002612 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002613
2614
2615
nnoble5b7f32a2014-12-22 08:12:44 -08002616
2617
nnoble69ac39f2014-12-12 15:43:38 -08002618ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002619-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002620endif
2621
Craig Tiller27715ca2015-01-12 16:55:59 -08002622objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_tags.o:
2623
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002624
Craig Tiller4ffdcd52015-01-16 11:34:55 -08002625LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_SRC = \
2626 test/core/end2end/tests/graceful_server_shutdown.c \
2627
2628
2629LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_SRC))))
2630
2631libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a: $(ZLIB_DEP) $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS)
2632 $(E) "[AR] Creating $@"
2633 $(Q) mkdir -p `dirname $@`
2634 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS)
2635
2636
2637
2638
2639
2640ifneq ($(NO_DEPS),true)
2641-include $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS:.o=.dep)
2642endif
2643
2644objs/$(CONFIG)/test/core/end2end/tests/graceful_server_shutdown.o:
2645
2646
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002647LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC = \
2648 test/core/end2end/tests/invoke_large_request.c \
2649
2650
ctillercab52e72015-01-06 13:10:23 -08002651LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002652
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002653libs/$(CONFIG)/libend2end_test_invoke_large_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002654 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002655 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002656 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_invoke_large_request.a $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002657
2658
2659
nnoble5b7f32a2014-12-22 08:12:44 -08002660
2661
nnoble69ac39f2014-12-12 15:43:38 -08002662ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002663-include $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002664endif
2665
Craig Tiller27715ca2015-01-12 16:55:59 -08002666objs/$(CONFIG)/test/core/end2end/tests/invoke_large_request.o:
2667
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002668
2669LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC = \
2670 test/core/end2end/tests/max_concurrent_streams.c \
2671
2672
ctillercab52e72015-01-06 13:10:23 -08002673LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002674
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002675libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a: $(ZLIB_DEP) $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002676 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002677 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002678 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002679
2680
2681
nnoble5b7f32a2014-12-22 08:12:44 -08002682
2683
nnoble69ac39f2014-12-12 15:43:38 -08002684ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002685-include $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002686endif
2687
Craig Tiller27715ca2015-01-12 16:55:59 -08002688objs/$(CONFIG)/test/core/end2end/tests/max_concurrent_streams.o:
2689
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002690
2691LIBEND2END_TEST_NO_OP_SRC = \
2692 test/core/end2end/tests/no_op.c \
2693
2694
ctillercab52e72015-01-06 13:10:23 -08002695LIBEND2END_TEST_NO_OP_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_NO_OP_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002696
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002697libs/$(CONFIG)/libend2end_test_no_op.a: $(ZLIB_DEP) $(LIBEND2END_TEST_NO_OP_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002698 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002699 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002700 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_no_op.a $(LIBEND2END_TEST_NO_OP_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002701
2702
2703
nnoble5b7f32a2014-12-22 08:12:44 -08002704
2705
nnoble69ac39f2014-12-12 15:43:38 -08002706ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002707-include $(LIBEND2END_TEST_NO_OP_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002708endif
2709
Craig Tiller27715ca2015-01-12 16:55:59 -08002710objs/$(CONFIG)/test/core/end2end/tests/no_op.o:
2711
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002712
2713LIBEND2END_TEST_PING_PONG_STREAMING_SRC = \
2714 test/core/end2end/tests/ping_pong_streaming.c \
2715
2716
ctillercab52e72015-01-06 13:10:23 -08002717LIBEND2END_TEST_PING_PONG_STREAMING_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_PING_PONG_STREAMING_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002718
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002719libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a: $(ZLIB_DEP) $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002720 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002721 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002722 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002723
2724
2725
nnoble5b7f32a2014-12-22 08:12:44 -08002726
2727
nnoble69ac39f2014-12-12 15:43:38 -08002728ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002729-include $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002730endif
2731
Craig Tiller27715ca2015-01-12 16:55:59 -08002732objs/$(CONFIG)/test/core/end2end/tests/ping_pong_streaming.o:
2733
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002734
ctiller33023c42014-12-12 16:28:33 -08002735LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_SRC = \
2736 test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c \
2737
2738
ctillercab52e72015-01-06 13:10:23 -08002739LIBEND2END_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 -08002740
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002741libs/$(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 -08002742 $(E) "[AR] Creating $@"
2743 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002744 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS)
ctiller33023c42014-12-12 16:28:33 -08002745
2746
2747
nnoble5b7f32a2014-12-22 08:12:44 -08002748
2749
ctiller33023c42014-12-12 16:28:33 -08002750ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002751-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08002752endif
2753
Craig Tiller27715ca2015-01-12 16:55:59 -08002754objs/$(CONFIG)/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.o:
2755
ctiller33023c42014-12-12 16:28:33 -08002756
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002757LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_SRC = \
2758 test/core/end2end/tests/request_response_with_metadata_and_payload.c \
2759
2760
ctillercab52e72015-01-06 13:10:23 -08002761LIBEND2END_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 -08002762
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002763libs/$(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 -08002764 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002765 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002766 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002767
2768
2769
nnoble5b7f32a2014-12-22 08:12:44 -08002770
2771
nnoble69ac39f2014-12-12 15:43:38 -08002772ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002773-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002774endif
2775
Craig Tiller27715ca2015-01-12 16:55:59 -08002776objs/$(CONFIG)/test/core/end2end/tests/request_response_with_metadata_and_payload.o:
2777
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002778
2779LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_SRC = \
2780 test/core/end2end/tests/request_response_with_payload.c \
2781
2782
ctillercab52e72015-01-06 13:10:23 -08002783LIBEND2END_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 -08002784
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002785libs/$(CONFIG)/libend2end_test_request_response_with_payload.a: $(ZLIB_DEP) $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002786 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002787 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002788 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002789
2790
2791
nnoble5b7f32a2014-12-22 08:12:44 -08002792
2793
nnoble69ac39f2014-12-12 15:43:38 -08002794ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002795-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002796endif
2797
Craig Tiller27715ca2015-01-12 16:55:59 -08002798objs/$(CONFIG)/test/core/end2end/tests/request_response_with_payload.o:
2799
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002800
ctiller2845cad2014-12-15 15:14:12 -08002801LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_SRC = \
2802 test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c \
2803
2804
ctillercab52e72015-01-06 13:10:23 -08002805LIBEND2END_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 -08002806
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002807libs/$(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 -08002808 $(E) "[AR] Creating $@"
2809 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002810 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS)
ctiller2845cad2014-12-15 15:14:12 -08002811
2812
2813
nnoble5b7f32a2014-12-22 08:12:44 -08002814
2815
ctiller2845cad2014-12-15 15:14:12 -08002816ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002817-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08002818endif
2819
Craig Tiller27715ca2015-01-12 16:55:59 -08002820objs/$(CONFIG)/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.o:
2821
ctiller2845cad2014-12-15 15:14:12 -08002822
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002823LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC = \
2824 test/core/end2end/tests/simple_delayed_request.c \
2825
2826
ctillercab52e72015-01-06 13:10:23 -08002827LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002828
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002829libs/$(CONFIG)/libend2end_test_simple_delayed_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002830 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002831 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002832 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_delayed_request.a $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002833
2834
2835
nnoble5b7f32a2014-12-22 08:12:44 -08002836
2837
nnoble69ac39f2014-12-12 15:43:38 -08002838ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002839-include $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002840endif
2841
Craig Tiller27715ca2015-01-12 16:55:59 -08002842objs/$(CONFIG)/test/core/end2end/tests/simple_delayed_request.o:
2843
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002844
2845LIBEND2END_TEST_SIMPLE_REQUEST_SRC = \
2846 test/core/end2end/tests/simple_request.c \
2847
2848
ctillercab52e72015-01-06 13:10:23 -08002849LIBEND2END_TEST_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002850
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002851libs/$(CONFIG)/libend2end_test_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002852 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002853 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002854 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_request.a $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002855
2856
2857
nnoble5b7f32a2014-12-22 08:12:44 -08002858
2859
nnoble69ac39f2014-12-12 15:43:38 -08002860ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002861-include $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002862endif
2863
Craig Tiller27715ca2015-01-12 16:55:59 -08002864objs/$(CONFIG)/test/core/end2end/tests/simple_request.o:
2865
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002866
nathaniel52878172014-12-09 10:17:19 -08002867LIBEND2END_TEST_THREAD_STRESS_SRC = \
2868 test/core/end2end/tests/thread_stress.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002869
2870
ctillercab52e72015-01-06 13:10:23 -08002871LIBEND2END_TEST_THREAD_STRESS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_THREAD_STRESS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002872
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002873libs/$(CONFIG)/libend2end_test_thread_stress.a: $(ZLIB_DEP) $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002874 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002875 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002876 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_thread_stress.a $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002877
2878
2879
nnoble5b7f32a2014-12-22 08:12:44 -08002880
2881
nnoble69ac39f2014-12-12 15:43:38 -08002882ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002883-include $(LIBEND2END_TEST_THREAD_STRESS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002884endif
2885
Craig Tiller27715ca2015-01-12 16:55:59 -08002886objs/$(CONFIG)/test/core/end2end/tests/thread_stress.o:
2887
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002888
2889LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_SRC = \
2890 test/core/end2end/tests/writes_done_hangs_with_pending_read.c \
2891
2892
ctillercab52e72015-01-06 13:10:23 -08002893LIBEND2END_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 -08002894
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002895libs/$(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 -08002896 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002897 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002898 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002899
2900
2901
nnoble5b7f32a2014-12-22 08:12:44 -08002902
2903
nnoble69ac39f2014-12-12 15:43:38 -08002904ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002905-include $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002906endif
2907
Craig Tiller27715ca2015-01-12 16:55:59 -08002908objs/$(CONFIG)/test/core/end2end/tests/writes_done_hangs_with_pending_read.o:
2909
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002910
2911LIBEND2END_CERTS_SRC = \
chenw97fd9e52014-12-19 17:12:36 -08002912 test/core/end2end/data/test_root_cert.c \
2913 test/core/end2end/data/prod_roots_certs.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002914 test/core/end2end/data/server1_cert.c \
2915 test/core/end2end/data/server1_key.c \
2916
2917
ctillercab52e72015-01-06 13:10:23 -08002918LIBEND2END_CERTS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_CERTS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002919
nnoble69ac39f2014-12-12 15:43:38 -08002920ifeq ($(NO_SECURE),true)
2921
Nicolas Noble047b7272015-01-16 13:55:05 -08002922# You can't build secure libraries if you don't have OpenSSL with ALPN.
2923
ctillercab52e72015-01-06 13:10:23 -08002924libs/$(CONFIG)/libend2end_certs.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002925
nnoble5b7f32a2014-12-22 08:12:44 -08002926
nnoble69ac39f2014-12-12 15:43:38 -08002927else
2928
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002929ifneq ($(OPENSSL_DEP),)
2930test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
2931test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
2932test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
2933test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
2934endif
2935
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002936libs/$(CONFIG)/libend2end_certs.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_CERTS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002937 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002938 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002939 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_certs.a $(LIBEND2END_CERTS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002940
2941
2942
nnoble5b7f32a2014-12-22 08:12:44 -08002943
2944
nnoble69ac39f2014-12-12 15:43:38 -08002945endif
2946
nnoble69ac39f2014-12-12 15:43:38 -08002947ifneq ($(NO_SECURE),true)
2948ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002949-include $(LIBEND2END_CERTS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002950endif
nnoble69ac39f2014-12-12 15:43:38 -08002951endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002952
Craig Tiller27715ca2015-01-12 16:55:59 -08002953objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
2954objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
2955objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
2956objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
2957
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002958
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002959
nnoble69ac39f2014-12-12 15:43:38 -08002960# All of the test targets, and protoc plugins
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002961
2962
Craig Tiller17ec5f92015-01-18 11:30:41 -08002963ALARM_HEAP_TEST_SRC = \
2964 test/core/iomgr/alarm_heap_test.c \
2965
2966ALARM_HEAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_HEAP_TEST_SRC))))
2967
2968ifeq ($(NO_SECURE),true)
2969
2970# You can't build secure targets if you don't have OpenSSL with ALPN.
2971
2972bins/$(CONFIG)/alarm_heap_test: openssl_dep_error
2973
2974else
2975
2976bins/$(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
2977 $(E) "[LD] Linking $@"
2978 $(Q) mkdir -p `dirname $@`
2979 $(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
2980
2981endif
2982
2983objs/$(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
2984
2985deps_alarm_heap_test: $(ALARM_HEAP_TEST_OBJS:.o=.dep)
2986
2987ifneq ($(NO_SECURE),true)
2988ifneq ($(NO_DEPS),true)
2989-include $(ALARM_HEAP_TEST_OBJS:.o=.dep)
2990endif
2991endif
2992
2993
2994ALARM_LIST_TEST_SRC = \
2995 test/core/iomgr/alarm_list_test.c \
2996
2997ALARM_LIST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_LIST_TEST_SRC))))
2998
2999ifeq ($(NO_SECURE),true)
3000
3001# You can't build secure targets if you don't have OpenSSL with ALPN.
3002
3003bins/$(CONFIG)/alarm_list_test: openssl_dep_error
3004
3005else
3006
3007bins/$(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
3008 $(E) "[LD] Linking $@"
3009 $(Q) mkdir -p `dirname $@`
3010 $(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
3011
3012endif
3013
3014objs/$(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
3015
3016deps_alarm_list_test: $(ALARM_LIST_TEST_OBJS:.o=.dep)
3017
3018ifneq ($(NO_SECURE),true)
3019ifneq ($(NO_DEPS),true)
3020-include $(ALARM_LIST_TEST_OBJS:.o=.dep)
3021endif
3022endif
3023
3024
3025ALARM_TEST_SRC = \
3026 test/core/iomgr/alarm_test.c \
3027
3028ALARM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_TEST_SRC))))
3029
3030ifeq ($(NO_SECURE),true)
3031
3032# You can't build secure targets if you don't have OpenSSL with ALPN.
3033
3034bins/$(CONFIG)/alarm_test: openssl_dep_error
3035
3036else
3037
3038bins/$(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
3039 $(E) "[LD] Linking $@"
3040 $(Q) mkdir -p `dirname $@`
3041 $(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
3042
3043endif
3044
3045objs/$(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
3046
3047deps_alarm_test: $(ALARM_TEST_OBJS:.o=.dep)
3048
3049ifneq ($(NO_SECURE),true)
3050ifneq ($(NO_DEPS),true)
3051-include $(ALARM_TEST_OBJS:.o=.dep)
3052endif
3053endif
3054
3055
3056ALPN_TEST_SRC = \
3057 test/core/transport/chttp2/alpn_test.c \
3058
3059ALPN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALPN_TEST_SRC))))
3060
3061ifeq ($(NO_SECURE),true)
3062
3063# You can't build secure targets if you don't have OpenSSL with ALPN.
3064
3065bins/$(CONFIG)/alpn_test: openssl_dep_error
3066
3067else
3068
3069bins/$(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
3070 $(E) "[LD] Linking $@"
3071 $(Q) mkdir -p `dirname $@`
3072 $(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
3073
3074endif
3075
3076objs/$(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
3077
3078deps_alpn_test: $(ALPN_TEST_OBJS:.o=.dep)
3079
3080ifneq ($(NO_SECURE),true)
3081ifneq ($(NO_DEPS),true)
3082-include $(ALPN_TEST_OBJS:.o=.dep)
3083endif
3084endif
3085
3086
3087BIN_ENCODER_TEST_SRC = \
3088 test/core/transport/chttp2/bin_encoder_test.c \
3089
3090BIN_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(BIN_ENCODER_TEST_SRC))))
3091
3092ifeq ($(NO_SECURE),true)
3093
3094# You can't build secure targets if you don't have OpenSSL with ALPN.
3095
3096bins/$(CONFIG)/bin_encoder_test: openssl_dep_error
3097
3098else
3099
3100bins/$(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
3101 $(E) "[LD] Linking $@"
3102 $(Q) mkdir -p `dirname $@`
3103 $(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
3104
3105endif
3106
3107objs/$(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
3108
3109deps_bin_encoder_test: $(BIN_ENCODER_TEST_OBJS:.o=.dep)
3110
3111ifneq ($(NO_SECURE),true)
3112ifneq ($(NO_DEPS),true)
3113-include $(BIN_ENCODER_TEST_OBJS:.o=.dep)
3114endif
3115endif
3116
3117
3118CENSUS_HASH_TABLE_TEST_SRC = \
3119 test/core/statistics/hash_table_test.c \
3120
3121CENSUS_HASH_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_HASH_TABLE_TEST_SRC))))
3122
3123ifeq ($(NO_SECURE),true)
3124
3125# You can't build secure targets if you don't have OpenSSL with ALPN.
3126
3127bins/$(CONFIG)/census_hash_table_test: openssl_dep_error
3128
3129else
3130
3131bins/$(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
3132 $(E) "[LD] Linking $@"
3133 $(Q) mkdir -p `dirname $@`
3134 $(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
3135
3136endif
3137
3138objs/$(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
3139
3140deps_census_hash_table_test: $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
3141
3142ifneq ($(NO_SECURE),true)
3143ifneq ($(NO_DEPS),true)
3144-include $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
3145endif
3146endif
3147
3148
3149CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_SRC = \
3150 test/core/statistics/multiple_writers_circular_buffer_test.c \
3151
3152CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_SRC))))
3153
3154ifeq ($(NO_SECURE),true)
3155
3156# You can't build secure targets if you don't have OpenSSL with ALPN.
3157
3158bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test: openssl_dep_error
3159
3160else
3161
3162bins/$(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
3163 $(E) "[LD] Linking $@"
3164 $(Q) mkdir -p `dirname $@`
3165 $(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
3166
3167endif
3168
3169objs/$(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
3170
3171deps_census_statistics_multiple_writers_circular_buffer_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
3172
3173ifneq ($(NO_SECURE),true)
3174ifneq ($(NO_DEPS),true)
3175-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
3176endif
3177endif
3178
3179
3180CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC = \
3181 test/core/statistics/multiple_writers_test.c \
3182
3183CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC))))
3184
3185ifeq ($(NO_SECURE),true)
3186
3187# You can't build secure targets if you don't have OpenSSL with ALPN.
3188
3189bins/$(CONFIG)/census_statistics_multiple_writers_test: openssl_dep_error
3190
3191else
3192
3193bins/$(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
3194 $(E) "[LD] Linking $@"
3195 $(Q) mkdir -p `dirname $@`
3196 $(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
3197
3198endif
3199
3200objs/$(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
3201
3202deps_census_statistics_multiple_writers_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
3203
3204ifneq ($(NO_SECURE),true)
3205ifneq ($(NO_DEPS),true)
3206-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
3207endif
3208endif
3209
3210
3211CENSUS_STATISTICS_PERFORMANCE_TEST_SRC = \
3212 test/core/statistics/performance_test.c \
3213
3214CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_PERFORMANCE_TEST_SRC))))
3215
3216ifeq ($(NO_SECURE),true)
3217
3218# You can't build secure targets if you don't have OpenSSL with ALPN.
3219
3220bins/$(CONFIG)/census_statistics_performance_test: openssl_dep_error
3221
3222else
3223
3224bins/$(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
3225 $(E) "[LD] Linking $@"
3226 $(Q) mkdir -p `dirname $@`
3227 $(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
3228
3229endif
3230
3231objs/$(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
3232
3233deps_census_statistics_performance_test: $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
3234
3235ifneq ($(NO_SECURE),true)
3236ifneq ($(NO_DEPS),true)
3237-include $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
3238endif
3239endif
3240
3241
3242CENSUS_STATISTICS_QUICK_TEST_SRC = \
3243 test/core/statistics/quick_test.c \
3244
3245CENSUS_STATISTICS_QUICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_QUICK_TEST_SRC))))
3246
3247ifeq ($(NO_SECURE),true)
3248
3249# You can't build secure targets if you don't have OpenSSL with ALPN.
3250
3251bins/$(CONFIG)/census_statistics_quick_test: openssl_dep_error
3252
3253else
3254
3255bins/$(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
3256 $(E) "[LD] Linking $@"
3257 $(Q) mkdir -p `dirname $@`
3258 $(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
3259
3260endif
3261
3262objs/$(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
3263
3264deps_census_statistics_quick_test: $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
3265
3266ifneq ($(NO_SECURE),true)
3267ifneq ($(NO_DEPS),true)
3268-include $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
3269endif
3270endif
3271
3272
3273CENSUS_STATISTICS_SMALL_LOG_TEST_SRC = \
3274 test/core/statistics/small_log_test.c \
3275
3276CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_SMALL_LOG_TEST_SRC))))
3277
3278ifeq ($(NO_SECURE),true)
3279
3280# You can't build secure targets if you don't have OpenSSL with ALPN.
3281
3282bins/$(CONFIG)/census_statistics_small_log_test: openssl_dep_error
3283
3284else
3285
3286bins/$(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
3287 $(E) "[LD] Linking $@"
3288 $(Q) mkdir -p `dirname $@`
3289 $(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
3290
3291endif
3292
3293objs/$(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
3294
3295deps_census_statistics_small_log_test: $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
3296
3297ifneq ($(NO_SECURE),true)
3298ifneq ($(NO_DEPS),true)
3299-include $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
3300endif
3301endif
3302
3303
3304CENSUS_STATS_STORE_TEST_SRC = \
3305 test/core/statistics/rpc_stats_test.c \
3306
3307CENSUS_STATS_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATS_STORE_TEST_SRC))))
3308
3309ifeq ($(NO_SECURE),true)
3310
3311# You can't build secure targets if you don't have OpenSSL with ALPN.
3312
3313bins/$(CONFIG)/census_stats_store_test: openssl_dep_error
3314
3315else
3316
3317bins/$(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
3318 $(E) "[LD] Linking $@"
3319 $(Q) mkdir -p `dirname $@`
3320 $(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
3321
3322endif
3323
3324objs/$(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
3325
3326deps_census_stats_store_test: $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
3327
3328ifneq ($(NO_SECURE),true)
3329ifneq ($(NO_DEPS),true)
3330-include $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
3331endif
3332endif
3333
3334
3335CENSUS_STUB_TEST_SRC = \
3336 test/core/statistics/census_stub_test.c \
3337
3338CENSUS_STUB_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STUB_TEST_SRC))))
3339
3340ifeq ($(NO_SECURE),true)
3341
3342# You can't build secure targets if you don't have OpenSSL with ALPN.
3343
3344bins/$(CONFIG)/census_stub_test: openssl_dep_error
3345
3346else
3347
3348bins/$(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
3349 $(E) "[LD] Linking $@"
3350 $(Q) mkdir -p `dirname $@`
3351 $(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
3352
3353endif
3354
3355objs/$(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
3356
3357deps_census_stub_test: $(CENSUS_STUB_TEST_OBJS:.o=.dep)
3358
3359ifneq ($(NO_SECURE),true)
3360ifneq ($(NO_DEPS),true)
3361-include $(CENSUS_STUB_TEST_OBJS:.o=.dep)
3362endif
3363endif
3364
3365
3366CENSUS_TRACE_STORE_TEST_SRC = \
3367 test/core/statistics/trace_test.c \
3368
3369CENSUS_TRACE_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_TRACE_STORE_TEST_SRC))))
3370
3371ifeq ($(NO_SECURE),true)
3372
3373# You can't build secure targets if you don't have OpenSSL with ALPN.
3374
3375bins/$(CONFIG)/census_trace_store_test: openssl_dep_error
3376
3377else
3378
3379bins/$(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
3380 $(E) "[LD] Linking $@"
3381 $(Q) mkdir -p `dirname $@`
3382 $(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
3383
3384endif
3385
3386objs/$(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
3387
3388deps_census_trace_store_test: $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
3389
3390ifneq ($(NO_SECURE),true)
3391ifneq ($(NO_DEPS),true)
3392-include $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
3393endif
3394endif
3395
3396
3397CENSUS_WINDOW_STATS_TEST_SRC = \
3398 test/core/statistics/window_stats_test.c \
3399
3400CENSUS_WINDOW_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_WINDOW_STATS_TEST_SRC))))
3401
3402ifeq ($(NO_SECURE),true)
3403
3404# You can't build secure targets if you don't have OpenSSL with ALPN.
3405
3406bins/$(CONFIG)/census_window_stats_test: openssl_dep_error
3407
3408else
3409
3410bins/$(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
3411 $(E) "[LD] Linking $@"
3412 $(Q) mkdir -p `dirname $@`
3413 $(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
3414
3415endif
3416
3417objs/$(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
3418
3419deps_census_window_stats_test: $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
3420
3421ifneq ($(NO_SECURE),true)
3422ifneq ($(NO_DEPS),true)
3423-include $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
3424endif
3425endif
3426
3427
Craig Tiller17ec5f92015-01-18 11:30:41 -08003428CHTTP2_STATUS_CONVERSION_TEST_SRC = \
3429 test/core/transport/chttp2/status_conversion_test.c \
3430
3431CHTTP2_STATUS_CONVERSION_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STATUS_CONVERSION_TEST_SRC))))
3432
3433ifeq ($(NO_SECURE),true)
3434
3435# You can't build secure targets if you don't have OpenSSL with ALPN.
3436
3437bins/$(CONFIG)/chttp2_status_conversion_test: openssl_dep_error
3438
3439else
3440
3441bins/$(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
3442 $(E) "[LD] Linking $@"
3443 $(Q) mkdir -p `dirname $@`
3444 $(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
3445
3446endif
3447
3448objs/$(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
3449
3450deps_chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
3451
3452ifneq ($(NO_SECURE),true)
3453ifneq ($(NO_DEPS),true)
3454-include $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
3455endif
3456endif
3457
3458
3459CHTTP2_STREAM_ENCODER_TEST_SRC = \
3460 test/core/transport/chttp2/stream_encoder_test.c \
3461
3462CHTTP2_STREAM_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_ENCODER_TEST_SRC))))
3463
3464ifeq ($(NO_SECURE),true)
3465
3466# You can't build secure targets if you don't have OpenSSL with ALPN.
3467
3468bins/$(CONFIG)/chttp2_stream_encoder_test: openssl_dep_error
3469
3470else
3471
3472bins/$(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
3473 $(E) "[LD] Linking $@"
3474 $(Q) mkdir -p `dirname $@`
3475 $(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
3476
3477endif
3478
3479objs/$(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
3480
3481deps_chttp2_stream_encoder_test: $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
3482
3483ifneq ($(NO_SECURE),true)
3484ifneq ($(NO_DEPS),true)
3485-include $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
3486endif
3487endif
3488
3489
3490CHTTP2_STREAM_MAP_TEST_SRC = \
3491 test/core/transport/chttp2/stream_map_test.c \
3492
3493CHTTP2_STREAM_MAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_MAP_TEST_SRC))))
3494
3495ifeq ($(NO_SECURE),true)
3496
3497# You can't build secure targets if you don't have OpenSSL with ALPN.
3498
3499bins/$(CONFIG)/chttp2_stream_map_test: openssl_dep_error
3500
3501else
3502
3503bins/$(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
3504 $(E) "[LD] Linking $@"
3505 $(Q) mkdir -p `dirname $@`
3506 $(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
3507
3508endif
3509
3510objs/$(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
3511
3512deps_chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
3513
3514ifneq ($(NO_SECURE),true)
3515ifneq ($(NO_DEPS),true)
3516-include $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
3517endif
3518endif
3519
3520
3521CHTTP2_TRANSPORT_END2END_TEST_SRC = \
3522 test/core/transport/chttp2_transport_end2end_test.c \
3523
3524CHTTP2_TRANSPORT_END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_TRANSPORT_END2END_TEST_SRC))))
3525
3526ifeq ($(NO_SECURE),true)
3527
3528# You can't build secure targets if you don't have OpenSSL with ALPN.
3529
3530bins/$(CONFIG)/chttp2_transport_end2end_test: openssl_dep_error
3531
3532else
3533
3534bins/$(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
3535 $(E) "[LD] Linking $@"
3536 $(Q) mkdir -p `dirname $@`
3537 $(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
3538
3539endif
3540
3541objs/$(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
3542
3543deps_chttp2_transport_end2end_test: $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
3544
3545ifneq ($(NO_SECURE),true)
3546ifneq ($(NO_DEPS),true)
3547-include $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
3548endif
3549endif
3550
3551
Craig Tiller17ec5f92015-01-18 11:30:41 -08003552DUALSTACK_SOCKET_TEST_SRC = \
3553 test/core/end2end/dualstack_socket_test.c \
3554
3555DUALSTACK_SOCKET_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(DUALSTACK_SOCKET_TEST_SRC))))
3556
3557ifeq ($(NO_SECURE),true)
3558
3559# You can't build secure targets if you don't have OpenSSL with ALPN.
3560
3561bins/$(CONFIG)/dualstack_socket_test: openssl_dep_error
3562
3563else
3564
3565bins/$(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
3566 $(E) "[LD] Linking $@"
3567 $(Q) mkdir -p `dirname $@`
3568 $(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
3569
3570endif
3571
3572objs/$(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
3573
3574deps_dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
3575
3576ifneq ($(NO_SECURE),true)
3577ifneq ($(NO_DEPS),true)
3578-include $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
3579endif
3580endif
3581
3582
3583ECHO_CLIENT_SRC = \
3584 test/core/echo/client.c \
3585
3586ECHO_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_CLIENT_SRC))))
3587
3588ifeq ($(NO_SECURE),true)
3589
3590# You can't build secure targets if you don't have OpenSSL with ALPN.
3591
3592bins/$(CONFIG)/echo_client: openssl_dep_error
3593
3594else
3595
3596bins/$(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
3597 $(E) "[LD] Linking $@"
3598 $(Q) mkdir -p `dirname $@`
3599 $(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
3600
3601endif
3602
3603objs/$(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
3604
3605deps_echo_client: $(ECHO_CLIENT_OBJS:.o=.dep)
3606
3607ifneq ($(NO_SECURE),true)
3608ifneq ($(NO_DEPS),true)
3609-include $(ECHO_CLIENT_OBJS:.o=.dep)
3610endif
3611endif
3612
3613
3614ECHO_SERVER_SRC = \
3615 test/core/echo/server.c \
3616
3617ECHO_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_SERVER_SRC))))
3618
3619ifeq ($(NO_SECURE),true)
3620
3621# You can't build secure targets if you don't have OpenSSL with ALPN.
3622
3623bins/$(CONFIG)/echo_server: openssl_dep_error
3624
3625else
3626
3627bins/$(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
3628 $(E) "[LD] Linking $@"
3629 $(Q) mkdir -p `dirname $@`
3630 $(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
3631
3632endif
3633
3634objs/$(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
3635
3636deps_echo_server: $(ECHO_SERVER_OBJS:.o=.dep)
3637
3638ifneq ($(NO_SECURE),true)
3639ifneq ($(NO_DEPS),true)
3640-include $(ECHO_SERVER_OBJS:.o=.dep)
3641endif
3642endif
3643
3644
3645ECHO_TEST_SRC = \
3646 test/core/echo/echo_test.c \
3647
3648ECHO_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_TEST_SRC))))
3649
3650ifeq ($(NO_SECURE),true)
3651
3652# You can't build secure targets if you don't have OpenSSL with ALPN.
3653
3654bins/$(CONFIG)/echo_test: openssl_dep_error
3655
3656else
3657
3658bins/$(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
3659 $(E) "[LD] Linking $@"
3660 $(Q) mkdir -p `dirname $@`
3661 $(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
3662
3663endif
3664
3665objs/$(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
3666
3667deps_echo_test: $(ECHO_TEST_OBJS:.o=.dep)
3668
3669ifneq ($(NO_SECURE),true)
3670ifneq ($(NO_DEPS),true)
3671-include $(ECHO_TEST_OBJS:.o=.dep)
3672endif
3673endif
3674
3675
Craig Tiller17ec5f92015-01-18 11:30:41 -08003676FD_POSIX_TEST_SRC = \
3677 test/core/iomgr/fd_posix_test.c \
3678
3679FD_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FD_POSIX_TEST_SRC))))
3680
3681ifeq ($(NO_SECURE),true)
3682
3683# You can't build secure targets if you don't have OpenSSL with ALPN.
3684
3685bins/$(CONFIG)/fd_posix_test: openssl_dep_error
3686
3687else
3688
3689bins/$(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
3690 $(E) "[LD] Linking $@"
3691 $(Q) mkdir -p `dirname $@`
3692 $(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
3693
3694endif
3695
3696objs/$(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
3697
3698deps_fd_posix_test: $(FD_POSIX_TEST_OBJS:.o=.dep)
3699
3700ifneq ($(NO_SECURE),true)
3701ifneq ($(NO_DEPS),true)
3702-include $(FD_POSIX_TEST_OBJS:.o=.dep)
3703endif
3704endif
3705
3706
3707FLING_CLIENT_SRC = \
3708 test/core/fling/client.c \
3709
3710FLING_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_CLIENT_SRC))))
3711
3712ifeq ($(NO_SECURE),true)
3713
3714# You can't build secure targets if you don't have OpenSSL with ALPN.
3715
3716bins/$(CONFIG)/fling_client: openssl_dep_error
3717
3718else
3719
3720bins/$(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
3721 $(E) "[LD] Linking $@"
3722 $(Q) mkdir -p `dirname $@`
3723 $(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
3724
3725endif
3726
3727objs/$(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
3728
3729deps_fling_client: $(FLING_CLIENT_OBJS:.o=.dep)
3730
3731ifneq ($(NO_SECURE),true)
3732ifneq ($(NO_DEPS),true)
3733-include $(FLING_CLIENT_OBJS:.o=.dep)
3734endif
3735endif
3736
3737
3738FLING_SERVER_SRC = \
3739 test/core/fling/server.c \
3740
3741FLING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_SERVER_SRC))))
3742
3743ifeq ($(NO_SECURE),true)
3744
3745# You can't build secure targets if you don't have OpenSSL with ALPN.
3746
3747bins/$(CONFIG)/fling_server: openssl_dep_error
3748
3749else
3750
3751bins/$(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
3752 $(E) "[LD] Linking $@"
3753 $(Q) mkdir -p `dirname $@`
3754 $(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
3755
3756endif
3757
3758objs/$(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
3759
3760deps_fling_server: $(FLING_SERVER_OBJS:.o=.dep)
3761
3762ifneq ($(NO_SECURE),true)
3763ifneq ($(NO_DEPS),true)
3764-include $(FLING_SERVER_OBJS:.o=.dep)
3765endif
3766endif
3767
3768
3769FLING_STREAM_TEST_SRC = \
3770 test/core/fling/fling_stream_test.c \
3771
3772FLING_STREAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_STREAM_TEST_SRC))))
3773
3774ifeq ($(NO_SECURE),true)
3775
3776# You can't build secure targets if you don't have OpenSSL with ALPN.
3777
3778bins/$(CONFIG)/fling_stream_test: openssl_dep_error
3779
3780else
3781
3782bins/$(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
3783 $(E) "[LD] Linking $@"
3784 $(Q) mkdir -p `dirname $@`
3785 $(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
3786
3787endif
3788
3789objs/$(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
3790
3791deps_fling_stream_test: $(FLING_STREAM_TEST_OBJS:.o=.dep)
3792
3793ifneq ($(NO_SECURE),true)
3794ifneq ($(NO_DEPS),true)
3795-include $(FLING_STREAM_TEST_OBJS:.o=.dep)
3796endif
3797endif
3798
3799
3800FLING_TEST_SRC = \
3801 test/core/fling/fling_test.c \
3802
3803FLING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_TEST_SRC))))
3804
3805ifeq ($(NO_SECURE),true)
3806
3807# You can't build secure targets if you don't have OpenSSL with ALPN.
3808
3809bins/$(CONFIG)/fling_test: openssl_dep_error
3810
3811else
3812
3813bins/$(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
3814 $(E) "[LD] Linking $@"
3815 $(Q) mkdir -p `dirname $@`
3816 $(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
3817
3818endif
3819
3820objs/$(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
3821
3822deps_fling_test: $(FLING_TEST_OBJS:.o=.dep)
3823
3824ifneq ($(NO_SECURE),true)
3825ifneq ($(NO_DEPS),true)
3826-include $(FLING_TEST_OBJS:.o=.dep)
3827endif
3828endif
3829
3830
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003831GEN_HPACK_TABLES_SRC = \
3832 src/core/transport/chttp2/gen_hpack_tables.c \
3833
ctillercab52e72015-01-06 13:10:23 -08003834GEN_HPACK_TABLES_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_HPACK_TABLES_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003835
nnoble69ac39f2014-12-12 15:43:38 -08003836ifeq ($(NO_SECURE),true)
3837
Nicolas Noble047b7272015-01-16 13:55:05 -08003838# You can't build secure targets if you don't have OpenSSL with ALPN.
3839
ctillercab52e72015-01-06 13:10:23 -08003840bins/$(CONFIG)/gen_hpack_tables: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003841
3842else
3843
ctillercab52e72015-01-06 13:10:23 -08003844bins/$(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 -08003845 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003846 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08003847 $(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 -08003848
nnoble69ac39f2014-12-12 15:43:38 -08003849endif
3850
Craig Tillerd4773f52015-01-12 16:38:47 -08003851objs/$(CONFIG)/src/core/transport/chttp2/gen_hpack_tables.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a
3852
Craig Tiller8f126a62015-01-15 08:50:19 -08003853deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003854
nnoble69ac39f2014-12-12 15:43:38 -08003855ifneq ($(NO_SECURE),true)
3856ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003857-include $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003858endif
nnoble69ac39f2014-12-12 15:43:38 -08003859endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003860
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003861
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003862GPR_CANCELLABLE_TEST_SRC = \
3863 test/core/support/cancellable_test.c \
3864
ctillercab52e72015-01-06 13:10:23 -08003865GPR_CANCELLABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CANCELLABLE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003866
nnoble69ac39f2014-12-12 15:43:38 -08003867ifeq ($(NO_SECURE),true)
3868
Nicolas Noble047b7272015-01-16 13:55:05 -08003869# You can't build secure targets if you don't have OpenSSL with ALPN.
3870
ctillercab52e72015-01-06 13:10:23 -08003871bins/$(CONFIG)/gpr_cancellable_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003872
3873else
3874
nnoble5f2ecb32015-01-12 16:40:18 -08003875bins/$(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 -08003876 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003877 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003878 $(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 -08003879
nnoble69ac39f2014-12-12 15:43:38 -08003880endif
3881
Craig Tiller770f60a2015-01-12 17:44:43 -08003882objs/$(CONFIG)/test/core/support/cancellable_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003883
Craig Tiller8f126a62015-01-15 08:50:19 -08003884deps_gpr_cancellable_test: $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003885
nnoble69ac39f2014-12-12 15:43:38 -08003886ifneq ($(NO_SECURE),true)
3887ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003888-include $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003889endif
nnoble69ac39f2014-12-12 15:43:38 -08003890endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003891
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003892
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003893GPR_CMDLINE_TEST_SRC = \
3894 test/core/support/cmdline_test.c \
3895
ctillercab52e72015-01-06 13:10:23 -08003896GPR_CMDLINE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CMDLINE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003897
nnoble69ac39f2014-12-12 15:43:38 -08003898ifeq ($(NO_SECURE),true)
3899
Nicolas Noble047b7272015-01-16 13:55:05 -08003900# You can't build secure targets if you don't have OpenSSL with ALPN.
3901
ctillercab52e72015-01-06 13:10:23 -08003902bins/$(CONFIG)/gpr_cmdline_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003903
3904else
3905
nnoble5f2ecb32015-01-12 16:40:18 -08003906bins/$(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 -08003907 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003908 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003909 $(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 -08003910
nnoble69ac39f2014-12-12 15:43:38 -08003911endif
3912
Craig Tiller770f60a2015-01-12 17:44:43 -08003913objs/$(CONFIG)/test/core/support/cmdline_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003914
Craig Tiller8f126a62015-01-15 08:50:19 -08003915deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003916
nnoble69ac39f2014-12-12 15:43:38 -08003917ifneq ($(NO_SECURE),true)
3918ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003919-include $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003920endif
nnoble69ac39f2014-12-12 15:43:38 -08003921endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003922
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003923
3924GPR_HISTOGRAM_TEST_SRC = \
3925 test/core/support/histogram_test.c \
3926
ctillercab52e72015-01-06 13:10:23 -08003927GPR_HISTOGRAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HISTOGRAM_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003928
nnoble69ac39f2014-12-12 15:43:38 -08003929ifeq ($(NO_SECURE),true)
3930
Nicolas Noble047b7272015-01-16 13:55:05 -08003931# You can't build secure targets if you don't have OpenSSL with ALPN.
3932
ctillercab52e72015-01-06 13:10:23 -08003933bins/$(CONFIG)/gpr_histogram_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003934
3935else
3936
nnoble5f2ecb32015-01-12 16:40:18 -08003937bins/$(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 -08003938 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003939 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003940 $(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 -08003941
nnoble69ac39f2014-12-12 15:43:38 -08003942endif
3943
Craig Tiller770f60a2015-01-12 17:44:43 -08003944objs/$(CONFIG)/test/core/support/histogram_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003945
Craig Tiller8f126a62015-01-15 08:50:19 -08003946deps_gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003947
nnoble69ac39f2014-12-12 15:43:38 -08003948ifneq ($(NO_SECURE),true)
3949ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003950-include $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003951endif
nnoble69ac39f2014-12-12 15:43:38 -08003952endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003953
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003954
3955GPR_HOST_PORT_TEST_SRC = \
3956 test/core/support/host_port_test.c \
3957
ctillercab52e72015-01-06 13:10:23 -08003958GPR_HOST_PORT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HOST_PORT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003959
nnoble69ac39f2014-12-12 15:43:38 -08003960ifeq ($(NO_SECURE),true)
3961
Nicolas Noble047b7272015-01-16 13:55:05 -08003962# You can't build secure targets if you don't have OpenSSL with ALPN.
3963
ctillercab52e72015-01-06 13:10:23 -08003964bins/$(CONFIG)/gpr_host_port_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003965
3966else
3967
nnoble5f2ecb32015-01-12 16:40:18 -08003968bins/$(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 -08003969 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003970 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003971 $(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 -08003972
nnoble69ac39f2014-12-12 15:43:38 -08003973endif
3974
Craig Tiller770f60a2015-01-12 17:44:43 -08003975objs/$(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 -08003976
Craig Tiller8f126a62015-01-15 08:50:19 -08003977deps_gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003978
nnoble69ac39f2014-12-12 15:43:38 -08003979ifneq ($(NO_SECURE),true)
3980ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003981-include $(GPR_HOST_PORT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003982endif
nnoble69ac39f2014-12-12 15:43:38 -08003983endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003984
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003985
Craig Tiller17ec5f92015-01-18 11:30:41 -08003986GPR_LOG_TEST_SRC = \
3987 test/core/support/log_test.c \
3988
3989GPR_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_LOG_TEST_SRC))))
3990
3991ifeq ($(NO_SECURE),true)
3992
3993# You can't build secure targets if you don't have OpenSSL with ALPN.
3994
3995bins/$(CONFIG)/gpr_log_test: openssl_dep_error
3996
3997else
3998
3999bins/$(CONFIG)/gpr_log_test: $(GPR_LOG_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4000 $(E) "[LD] Linking $@"
4001 $(Q) mkdir -p `dirname $@`
4002 $(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
4003
4004endif
4005
4006objs/$(CONFIG)/test/core/support/log_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4007
4008deps_gpr_log_test: $(GPR_LOG_TEST_OBJS:.o=.dep)
4009
4010ifneq ($(NO_SECURE),true)
4011ifneq ($(NO_DEPS),true)
4012-include $(GPR_LOG_TEST_OBJS:.o=.dep)
4013endif
4014endif
4015
4016
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004017GPR_SLICE_BUFFER_TEST_SRC = \
4018 test/core/support/slice_buffer_test.c \
4019
ctillercab52e72015-01-06 13:10:23 -08004020GPR_SLICE_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_BUFFER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004021
nnoble69ac39f2014-12-12 15:43:38 -08004022ifeq ($(NO_SECURE),true)
4023
Nicolas Noble047b7272015-01-16 13:55:05 -08004024# You can't build secure targets if you don't have OpenSSL with ALPN.
4025
ctillercab52e72015-01-06 13:10:23 -08004026bins/$(CONFIG)/gpr_slice_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004027
4028else
4029
nnoble5f2ecb32015-01-12 16:40:18 -08004030bins/$(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 -08004031 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004032 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004033 $(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 -08004034
nnoble69ac39f2014-12-12 15:43:38 -08004035endif
4036
Craig Tiller770f60a2015-01-12 17:44:43 -08004037objs/$(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 -08004038
Craig Tiller8f126a62015-01-15 08:50:19 -08004039deps_gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004040
nnoble69ac39f2014-12-12 15:43:38 -08004041ifneq ($(NO_SECURE),true)
4042ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004043-include $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004044endif
nnoble69ac39f2014-12-12 15:43:38 -08004045endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004046
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004047
4048GPR_SLICE_TEST_SRC = \
4049 test/core/support/slice_test.c \
4050
ctillercab52e72015-01-06 13:10:23 -08004051GPR_SLICE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004052
nnoble69ac39f2014-12-12 15:43:38 -08004053ifeq ($(NO_SECURE),true)
4054
Nicolas Noble047b7272015-01-16 13:55:05 -08004055# You can't build secure targets if you don't have OpenSSL with ALPN.
4056
ctillercab52e72015-01-06 13:10:23 -08004057bins/$(CONFIG)/gpr_slice_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004058
4059else
4060
nnoble5f2ecb32015-01-12 16:40:18 -08004061bins/$(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 -08004062 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004063 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004064 $(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 -08004065
nnoble69ac39f2014-12-12 15:43:38 -08004066endif
4067
Craig Tiller770f60a2015-01-12 17:44:43 -08004068objs/$(CONFIG)/test/core/support/slice_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004069
Craig Tiller8f126a62015-01-15 08:50:19 -08004070deps_gpr_slice_test: $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004071
nnoble69ac39f2014-12-12 15:43:38 -08004072ifneq ($(NO_SECURE),true)
4073ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004074-include $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004075endif
nnoble69ac39f2014-12-12 15:43:38 -08004076endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004077
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004078
4079GPR_STRING_TEST_SRC = \
4080 test/core/support/string_test.c \
4081
ctillercab52e72015-01-06 13:10:23 -08004082GPR_STRING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STRING_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004083
nnoble69ac39f2014-12-12 15:43:38 -08004084ifeq ($(NO_SECURE),true)
4085
Nicolas Noble047b7272015-01-16 13:55:05 -08004086# You can't build secure targets if you don't have OpenSSL with ALPN.
4087
ctillercab52e72015-01-06 13:10:23 -08004088bins/$(CONFIG)/gpr_string_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004089
4090else
4091
nnoble5f2ecb32015-01-12 16:40:18 -08004092bins/$(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 -08004093 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004094 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004095 $(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 -08004096
nnoble69ac39f2014-12-12 15:43:38 -08004097endif
4098
Craig Tiller770f60a2015-01-12 17:44:43 -08004099objs/$(CONFIG)/test/core/support/string_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004100
Craig Tiller8f126a62015-01-15 08:50:19 -08004101deps_gpr_string_test: $(GPR_STRING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004102
nnoble69ac39f2014-12-12 15:43:38 -08004103ifneq ($(NO_SECURE),true)
4104ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004105-include $(GPR_STRING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004106endif
nnoble69ac39f2014-12-12 15:43:38 -08004107endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004108
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004109
4110GPR_SYNC_TEST_SRC = \
4111 test/core/support/sync_test.c \
4112
ctillercab52e72015-01-06 13:10:23 -08004113GPR_SYNC_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SYNC_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004114
nnoble69ac39f2014-12-12 15:43:38 -08004115ifeq ($(NO_SECURE),true)
4116
Nicolas Noble047b7272015-01-16 13:55:05 -08004117# You can't build secure targets if you don't have OpenSSL with ALPN.
4118
ctillercab52e72015-01-06 13:10:23 -08004119bins/$(CONFIG)/gpr_sync_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004120
4121else
4122
nnoble5f2ecb32015-01-12 16:40:18 -08004123bins/$(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 -08004124 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004125 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004126 $(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 -08004127
nnoble69ac39f2014-12-12 15:43:38 -08004128endif
4129
Craig Tiller770f60a2015-01-12 17:44:43 -08004130objs/$(CONFIG)/test/core/support/sync_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004131
Craig Tiller8f126a62015-01-15 08:50:19 -08004132deps_gpr_sync_test: $(GPR_SYNC_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004133
nnoble69ac39f2014-12-12 15:43:38 -08004134ifneq ($(NO_SECURE),true)
4135ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004136-include $(GPR_SYNC_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004137endif
nnoble69ac39f2014-12-12 15:43:38 -08004138endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004139
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004140
4141GPR_THD_TEST_SRC = \
4142 test/core/support/thd_test.c \
4143
ctillercab52e72015-01-06 13:10:23 -08004144GPR_THD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_THD_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004145
nnoble69ac39f2014-12-12 15:43:38 -08004146ifeq ($(NO_SECURE),true)
4147
Nicolas Noble047b7272015-01-16 13:55:05 -08004148# You can't build secure targets if you don't have OpenSSL with ALPN.
4149
ctillercab52e72015-01-06 13:10:23 -08004150bins/$(CONFIG)/gpr_thd_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004151
4152else
4153
nnoble5f2ecb32015-01-12 16:40:18 -08004154bins/$(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 -08004155 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004156 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004157 $(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 -08004158
nnoble69ac39f2014-12-12 15:43:38 -08004159endif
4160
Craig Tiller770f60a2015-01-12 17:44:43 -08004161objs/$(CONFIG)/test/core/support/thd_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004162
Craig Tiller8f126a62015-01-15 08:50:19 -08004163deps_gpr_thd_test: $(GPR_THD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004164
nnoble69ac39f2014-12-12 15:43:38 -08004165ifneq ($(NO_SECURE),true)
4166ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004167-include $(GPR_THD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004168endif
nnoble69ac39f2014-12-12 15:43:38 -08004169endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004170
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004171
4172GPR_TIME_TEST_SRC = \
4173 test/core/support/time_test.c \
4174
ctillercab52e72015-01-06 13:10:23 -08004175GPR_TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_TIME_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004176
nnoble69ac39f2014-12-12 15:43:38 -08004177ifeq ($(NO_SECURE),true)
4178
Nicolas Noble047b7272015-01-16 13:55:05 -08004179# You can't build secure targets if you don't have OpenSSL with ALPN.
4180
ctillercab52e72015-01-06 13:10:23 -08004181bins/$(CONFIG)/gpr_time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004182
4183else
4184
nnoble5f2ecb32015-01-12 16:40:18 -08004185bins/$(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 -08004186 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004187 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004188 $(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 -08004189
nnoble69ac39f2014-12-12 15:43:38 -08004190endif
4191
Craig Tiller770f60a2015-01-12 17:44:43 -08004192objs/$(CONFIG)/test/core/support/time_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004193
Craig Tiller8f126a62015-01-15 08:50:19 -08004194deps_gpr_time_test: $(GPR_TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004195
nnoble69ac39f2014-12-12 15:43:38 -08004196ifneq ($(NO_SECURE),true)
4197ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004198-include $(GPR_TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004199endif
nnoble69ac39f2014-12-12 15:43:38 -08004200endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004201
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004202
Craig Tiller17ec5f92015-01-18 11:30:41 -08004203GPR_USEFUL_TEST_SRC = \
4204 test/core/support/useful_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004205
Craig Tiller17ec5f92015-01-18 11:30:41 -08004206GPR_USEFUL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_USEFUL_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004207
nnoble69ac39f2014-12-12 15:43:38 -08004208ifeq ($(NO_SECURE),true)
4209
Nicolas Noble047b7272015-01-16 13:55:05 -08004210# You can't build secure targets if you don't have OpenSSL with ALPN.
4211
Craig Tiller17ec5f92015-01-18 11:30:41 -08004212bins/$(CONFIG)/gpr_useful_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004213
4214else
4215
Craig Tiller17ec5f92015-01-18 11:30:41 -08004216bins/$(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 -08004217 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004218 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004219 $(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 -08004220
nnoble69ac39f2014-12-12 15:43:38 -08004221endif
4222
Craig Tiller17ec5f92015-01-18 11:30:41 -08004223objs/$(CONFIG)/test/core/support/useful_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004224
Craig Tiller17ec5f92015-01-18 11:30:41 -08004225deps_gpr_useful_test: $(GPR_USEFUL_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004226
nnoble69ac39f2014-12-12 15:43:38 -08004227ifneq ($(NO_SECURE),true)
4228ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004229-include $(GPR_USEFUL_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004230endif
nnoble69ac39f2014-12-12 15:43:38 -08004231endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004232
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004233
Craig Tiller17ec5f92015-01-18 11:30:41 -08004234GRPC_BASE64_TEST_SRC = \
4235 test/core/security/base64_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004236
Craig Tiller17ec5f92015-01-18 11:30:41 -08004237GRPC_BASE64_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BASE64_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004238
nnoble69ac39f2014-12-12 15:43:38 -08004239ifeq ($(NO_SECURE),true)
4240
Nicolas Noble047b7272015-01-16 13:55:05 -08004241# You can't build secure targets if you don't have OpenSSL with ALPN.
4242
Craig Tiller17ec5f92015-01-18 11:30:41 -08004243bins/$(CONFIG)/grpc_base64_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004244
4245else
4246
Craig Tiller17ec5f92015-01-18 11:30:41 -08004247bins/$(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 -08004248 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004249 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004250 $(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 -08004251
nnoble69ac39f2014-12-12 15:43:38 -08004252endif
4253
Craig Tiller17ec5f92015-01-18 11:30:41 -08004254objs/$(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 -08004255
Craig Tiller17ec5f92015-01-18 11:30:41 -08004256deps_grpc_base64_test: $(GRPC_BASE64_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004257
nnoble69ac39f2014-12-12 15:43:38 -08004258ifneq ($(NO_SECURE),true)
4259ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004260-include $(GRPC_BASE64_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004261endif
nnoble69ac39f2014-12-12 15:43:38 -08004262endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004263
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004264
Craig Tiller17ec5f92015-01-18 11:30:41 -08004265GRPC_BYTE_BUFFER_READER_TEST_SRC = \
4266 test/core/surface/byte_buffer_reader_test.c \
nnoble0c475f02014-12-05 15:37:39 -08004267
Craig Tiller17ec5f92015-01-18 11:30:41 -08004268GRPC_BYTE_BUFFER_READER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BYTE_BUFFER_READER_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -08004269
nnoble69ac39f2014-12-12 15:43:38 -08004270ifeq ($(NO_SECURE),true)
4271
Nicolas Noble047b7272015-01-16 13:55:05 -08004272# You can't build secure targets if you don't have OpenSSL with ALPN.
4273
Craig Tiller17ec5f92015-01-18 11:30:41 -08004274bins/$(CONFIG)/grpc_byte_buffer_reader_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004275
4276else
4277
Craig Tiller17ec5f92015-01-18 11:30:41 -08004278bins/$(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 -08004279 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004280 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004281 $(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 -08004282
nnoble69ac39f2014-12-12 15:43:38 -08004283endif
4284
Craig Tiller17ec5f92015-01-18 11:30:41 -08004285objs/$(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 -08004286
Craig Tiller17ec5f92015-01-18 11:30:41 -08004287deps_grpc_byte_buffer_reader_test: $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08004288
nnoble69ac39f2014-12-12 15:43:38 -08004289ifneq ($(NO_SECURE),true)
4290ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004291-include $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004292endif
nnoble69ac39f2014-12-12 15:43:38 -08004293endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004294
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004295
4296GRPC_CHANNEL_STACK_TEST_SRC = \
4297 test/core/channel/channel_stack_test.c \
4298
ctillercab52e72015-01-06 13:10:23 -08004299GRPC_CHANNEL_STACK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CHANNEL_STACK_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004300
nnoble69ac39f2014-12-12 15:43:38 -08004301ifeq ($(NO_SECURE),true)
4302
Nicolas Noble047b7272015-01-16 13:55:05 -08004303# You can't build secure targets if you don't have OpenSSL with ALPN.
4304
ctillercab52e72015-01-06 13:10:23 -08004305bins/$(CONFIG)/grpc_channel_stack_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004306
4307else
4308
nnoble5f2ecb32015-01-12 16:40:18 -08004309bins/$(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 -08004310 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004311 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004312 $(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 -08004313
nnoble69ac39f2014-12-12 15:43:38 -08004314endif
4315
Craig Tiller770f60a2015-01-12 17:44:43 -08004316objs/$(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 -08004317
Craig Tiller8f126a62015-01-15 08:50:19 -08004318deps_grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004319
nnoble69ac39f2014-12-12 15:43:38 -08004320ifneq ($(NO_SECURE),true)
4321ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004322-include $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004323endif
nnoble69ac39f2014-12-12 15:43:38 -08004324endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004325
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004326
Craig Tiller17ec5f92015-01-18 11:30:41 -08004327GRPC_COMPLETION_QUEUE_BENCHMARK_SRC = \
4328 test/core/surface/completion_queue_benchmark.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004329
Craig Tiller17ec5f92015-01-18 11:30:41 -08004330GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004331
nnoble69ac39f2014-12-12 15:43:38 -08004332ifeq ($(NO_SECURE),true)
4333
Nicolas Noble047b7272015-01-16 13:55:05 -08004334# You can't build secure targets if you don't have OpenSSL with ALPN.
4335
Craig Tiller17ec5f92015-01-18 11:30:41 -08004336bins/$(CONFIG)/grpc_completion_queue_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004337
4338else
4339
Craig Tiller17ec5f92015-01-18 11:30:41 -08004340bins/$(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 -08004341 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004342 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004343 $(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 -08004344
nnoble69ac39f2014-12-12 15:43:38 -08004345endif
4346
Craig Tiller17ec5f92015-01-18 11:30:41 -08004347objs/$(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 -08004348
Craig Tiller17ec5f92015-01-18 11:30:41 -08004349deps_grpc_completion_queue_benchmark: $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004350
nnoble69ac39f2014-12-12 15:43:38 -08004351ifneq ($(NO_SECURE),true)
4352ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004353-include $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004354endif
nnoble69ac39f2014-12-12 15:43:38 -08004355endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004356
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004357
4358GRPC_COMPLETION_QUEUE_TEST_SRC = \
4359 test/core/surface/completion_queue_test.c \
4360
ctillercab52e72015-01-06 13:10:23 -08004361GRPC_COMPLETION_QUEUE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004362
nnoble69ac39f2014-12-12 15:43:38 -08004363ifeq ($(NO_SECURE),true)
4364
Nicolas Noble047b7272015-01-16 13:55:05 -08004365# You can't build secure targets if you don't have OpenSSL with ALPN.
4366
ctillercab52e72015-01-06 13:10:23 -08004367bins/$(CONFIG)/grpc_completion_queue_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004368
4369else
4370
nnoble5f2ecb32015-01-12 16:40:18 -08004371bins/$(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 -08004372 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004373 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004374 $(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 -08004375
nnoble69ac39f2014-12-12 15:43:38 -08004376endif
4377
Craig Tiller770f60a2015-01-12 17:44:43 -08004378objs/$(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 -08004379
Craig Tiller8f126a62015-01-15 08:50:19 -08004380deps_grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004381
nnoble69ac39f2014-12-12 15:43:38 -08004382ifneq ($(NO_SECURE),true)
4383ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004384-include $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004385endif
nnoble69ac39f2014-12-12 15:43:38 -08004386endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004387
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004388
Craig Tiller17ec5f92015-01-18 11:30:41 -08004389GRPC_CREDENTIALS_TEST_SRC = \
4390 test/core/security/credentials_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004391
Craig Tiller17ec5f92015-01-18 11:30:41 -08004392GRPC_CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CREDENTIALS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004393
nnoble69ac39f2014-12-12 15:43:38 -08004394ifeq ($(NO_SECURE),true)
4395
Nicolas Noble047b7272015-01-16 13:55:05 -08004396# You can't build secure targets if you don't have OpenSSL with ALPN.
4397
Craig Tiller17ec5f92015-01-18 11:30:41 -08004398bins/$(CONFIG)/grpc_credentials_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004399
4400else
4401
Craig Tiller17ec5f92015-01-18 11:30:41 -08004402bins/$(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 -08004403 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004404 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004405 $(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 -08004406
nnoble69ac39f2014-12-12 15:43:38 -08004407endif
4408
Craig Tiller17ec5f92015-01-18 11:30:41 -08004409objs/$(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 -08004410
Craig Tiller17ec5f92015-01-18 11:30:41 -08004411deps_grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004412
nnoble69ac39f2014-12-12 15:43:38 -08004413ifneq ($(NO_SECURE),true)
4414ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004415-include $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004416endif
nnoble69ac39f2014-12-12 15:43:38 -08004417endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004418
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004419
Craig Tiller17ec5f92015-01-18 11:30:41 -08004420GRPC_FETCH_OAUTH2_SRC = \
4421 test/core/security/fetch_oauth2.c \
hongyu24200d32015-01-08 15:13:49 -08004422
Craig Tiller17ec5f92015-01-18 11:30:41 -08004423GRPC_FETCH_OAUTH2_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_FETCH_OAUTH2_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004424
4425ifeq ($(NO_SECURE),true)
4426
Nicolas Noble047b7272015-01-16 13:55:05 -08004427# You can't build secure targets if you don't have OpenSSL with ALPN.
4428
Craig Tiller17ec5f92015-01-18 11:30:41 -08004429bins/$(CONFIG)/grpc_fetch_oauth2: openssl_dep_error
hongyu24200d32015-01-08 15:13:49 -08004430
4431else
4432
Craig Tiller17ec5f92015-01-18 11:30:41 -08004433bins/$(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 -08004434 $(E) "[LD] Linking $@"
4435 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004436 $(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 -08004437
4438endif
4439
Craig Tiller17ec5f92015-01-18 11:30:41 -08004440objs/$(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 -08004441
Craig Tiller17ec5f92015-01-18 11:30:41 -08004442deps_grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004443
4444ifneq ($(NO_SECURE),true)
4445ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004446-include $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004447endif
4448endif
4449
hongyu24200d32015-01-08 15:13:49 -08004450
Craig Tiller17ec5f92015-01-18 11:30:41 -08004451GRPC_JSON_TOKEN_TEST_SRC = \
4452 test/core/security/json_token_test.c \
hongyu24200d32015-01-08 15:13:49 -08004453
Craig Tiller17ec5f92015-01-18 11:30:41 -08004454GRPC_JSON_TOKEN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_JSON_TOKEN_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004455
4456ifeq ($(NO_SECURE),true)
4457
Nicolas Noble047b7272015-01-16 13:55:05 -08004458# You can't build secure targets if you don't have OpenSSL with ALPN.
4459
Craig Tiller17ec5f92015-01-18 11:30:41 -08004460bins/$(CONFIG)/grpc_json_token_test: openssl_dep_error
hongyu24200d32015-01-08 15:13:49 -08004461
4462else
4463
Craig Tiller17ec5f92015-01-18 11:30:41 -08004464bins/$(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 -08004465 $(E) "[LD] Linking $@"
4466 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004467 $(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 -08004468
4469endif
4470
Craig Tiller17ec5f92015-01-18 11:30:41 -08004471objs/$(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 -08004472
Craig Tiller17ec5f92015-01-18 11:30:41 -08004473deps_grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004474
4475ifneq ($(NO_SECURE),true)
4476ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004477-include $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004478endif
4479endif
4480
hongyu24200d32015-01-08 15:13:49 -08004481
Craig Tiller17ec5f92015-01-18 11:30:41 -08004482GRPC_STREAM_OP_TEST_SRC = \
4483 test/core/transport/stream_op_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004484
Craig Tiller17ec5f92015-01-18 11:30:41 -08004485GRPC_STREAM_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_STREAM_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004486
nnoble69ac39f2014-12-12 15:43:38 -08004487ifeq ($(NO_SECURE),true)
4488
Nicolas Noble047b7272015-01-16 13:55:05 -08004489# You can't build secure targets if you don't have OpenSSL with ALPN.
4490
Craig Tiller17ec5f92015-01-18 11:30:41 -08004491bins/$(CONFIG)/grpc_stream_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004492
4493else
4494
Craig Tiller17ec5f92015-01-18 11:30:41 -08004495bins/$(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 -08004496 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004497 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004498 $(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 -08004499
nnoble69ac39f2014-12-12 15:43:38 -08004500endif
4501
Craig Tiller17ec5f92015-01-18 11:30:41 -08004502objs/$(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 -08004503
Craig Tiller17ec5f92015-01-18 11:30:41 -08004504deps_grpc_stream_op_test: $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004505
nnoble69ac39f2014-12-12 15:43:38 -08004506ifneq ($(NO_SECURE),true)
4507ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004508-include $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004509endif
nnoble69ac39f2014-12-12 15:43:38 -08004510endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004511
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004512
Craig Tiller17ec5f92015-01-18 11:30:41 -08004513HPACK_PARSER_TEST_SRC = \
4514 test/core/transport/chttp2/hpack_parser_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004515
Craig Tiller17ec5f92015-01-18 11:30:41 -08004516HPACK_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004517
nnoble69ac39f2014-12-12 15:43:38 -08004518ifeq ($(NO_SECURE),true)
4519
Nicolas Noble047b7272015-01-16 13:55:05 -08004520# You can't build secure targets if you don't have OpenSSL with ALPN.
4521
Craig Tiller17ec5f92015-01-18 11:30:41 -08004522bins/$(CONFIG)/hpack_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004523
4524else
4525
Craig Tiller17ec5f92015-01-18 11:30:41 -08004526bins/$(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 -08004527 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004528 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004529 $(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 -08004530
nnoble69ac39f2014-12-12 15:43:38 -08004531endif
4532
Craig Tiller17ec5f92015-01-18 11:30:41 -08004533objs/$(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 -08004534
Craig Tiller17ec5f92015-01-18 11:30:41 -08004535deps_hpack_parser_test: $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004536
nnoble69ac39f2014-12-12 15:43:38 -08004537ifneq ($(NO_SECURE),true)
4538ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004539-include $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004540endif
nnoble69ac39f2014-12-12 15:43:38 -08004541endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004542
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004543
Craig Tiller17ec5f92015-01-18 11:30:41 -08004544HPACK_TABLE_TEST_SRC = \
4545 test/core/transport/chttp2/hpack_table_test.c \
aveitch482a5be2014-12-15 10:25:12 -08004546
Craig Tiller17ec5f92015-01-18 11:30:41 -08004547HPACK_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_TABLE_TEST_SRC))))
aveitch482a5be2014-12-15 10:25:12 -08004548
4549ifeq ($(NO_SECURE),true)
4550
Nicolas Noble047b7272015-01-16 13:55:05 -08004551# You can't build secure targets if you don't have OpenSSL with ALPN.
4552
Craig Tiller17ec5f92015-01-18 11:30:41 -08004553bins/$(CONFIG)/hpack_table_test: openssl_dep_error
aveitch482a5be2014-12-15 10:25:12 -08004554
4555else
4556
Craig Tiller17ec5f92015-01-18 11:30:41 -08004557bins/$(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 -08004558 $(E) "[LD] Linking $@"
4559 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004560 $(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 -08004561
4562endif
4563
Craig Tiller17ec5f92015-01-18 11:30:41 -08004564objs/$(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 -08004565
Craig Tiller17ec5f92015-01-18 11:30:41 -08004566deps_hpack_table_test: $(HPACK_TABLE_TEST_OBJS:.o=.dep)
aveitch482a5be2014-12-15 10:25:12 -08004567
4568ifneq ($(NO_SECURE),true)
4569ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004570-include $(HPACK_TABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004571endif
nnoble69ac39f2014-12-12 15:43:38 -08004572endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004573
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004574
4575HTTPCLI_FORMAT_REQUEST_TEST_SRC = \
4576 test/core/httpcli/format_request_test.c \
4577
ctillercab52e72015-01-06 13:10:23 -08004578HTTPCLI_FORMAT_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_FORMAT_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004579
nnoble69ac39f2014-12-12 15:43:38 -08004580ifeq ($(NO_SECURE),true)
4581
Nicolas Noble047b7272015-01-16 13:55:05 -08004582# You can't build secure targets if you don't have OpenSSL with ALPN.
4583
ctillercab52e72015-01-06 13:10:23 -08004584bins/$(CONFIG)/httpcli_format_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004585
4586else
4587
nnoble5f2ecb32015-01-12 16:40:18 -08004588bins/$(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 -08004589 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004590 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004591 $(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 -08004592
nnoble69ac39f2014-12-12 15:43:38 -08004593endif
4594
Craig Tiller770f60a2015-01-12 17:44:43 -08004595objs/$(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 -08004596
Craig Tiller8f126a62015-01-15 08:50:19 -08004597deps_httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004598
nnoble69ac39f2014-12-12 15:43:38 -08004599ifneq ($(NO_SECURE),true)
4600ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004601-include $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004602endif
nnoble69ac39f2014-12-12 15:43:38 -08004603endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004604
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004605
4606HTTPCLI_PARSER_TEST_SRC = \
4607 test/core/httpcli/parser_test.c \
4608
ctillercab52e72015-01-06 13:10:23 -08004609HTTPCLI_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004610
nnoble69ac39f2014-12-12 15:43:38 -08004611ifeq ($(NO_SECURE),true)
4612
Nicolas Noble047b7272015-01-16 13:55:05 -08004613# You can't build secure targets if you don't have OpenSSL with ALPN.
4614
ctillercab52e72015-01-06 13:10:23 -08004615bins/$(CONFIG)/httpcli_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004616
4617else
4618
nnoble5f2ecb32015-01-12 16:40:18 -08004619bins/$(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 -08004620 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004621 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004622 $(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 -08004623
nnoble69ac39f2014-12-12 15:43:38 -08004624endif
4625
Craig Tiller770f60a2015-01-12 17:44:43 -08004626objs/$(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 -08004627
Craig Tiller8f126a62015-01-15 08:50:19 -08004628deps_httpcli_parser_test: $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004629
nnoble69ac39f2014-12-12 15:43:38 -08004630ifneq ($(NO_SECURE),true)
4631ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004632-include $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004633endif
nnoble69ac39f2014-12-12 15:43:38 -08004634endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004635
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004636
4637HTTPCLI_TEST_SRC = \
4638 test/core/httpcli/httpcli_test.c \
4639
ctillercab52e72015-01-06 13:10:23 -08004640HTTPCLI_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004641
nnoble69ac39f2014-12-12 15:43:38 -08004642ifeq ($(NO_SECURE),true)
4643
Nicolas Noble047b7272015-01-16 13:55:05 -08004644# You can't build secure targets if you don't have OpenSSL with ALPN.
4645
ctillercab52e72015-01-06 13:10:23 -08004646bins/$(CONFIG)/httpcli_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004647
4648else
4649
nnoble5f2ecb32015-01-12 16:40:18 -08004650bins/$(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 -08004651 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004652 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004653 $(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 -08004654
nnoble69ac39f2014-12-12 15:43:38 -08004655endif
4656
Craig Tiller770f60a2015-01-12 17:44:43 -08004657objs/$(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 -08004658
Craig Tiller8f126a62015-01-15 08:50:19 -08004659deps_httpcli_test: $(HTTPCLI_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004660
nnoble69ac39f2014-12-12 15:43:38 -08004661ifneq ($(NO_SECURE),true)
4662ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004663-include $(HTTPCLI_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004664endif
nnoble69ac39f2014-12-12 15:43:38 -08004665endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004666
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004667
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004668LAME_CLIENT_TEST_SRC = \
4669 test/core/surface/lame_client_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004670
ctillercab52e72015-01-06 13:10:23 -08004671LAME_CLIENT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LAME_CLIENT_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004672
4673ifeq ($(NO_SECURE),true)
4674
4675# You can't build secure targets if you don't have OpenSSL with ALPN.
4676
ctillercab52e72015-01-06 13:10:23 -08004677bins/$(CONFIG)/lame_client_test: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004678
4679else
4680
nnoble5f2ecb32015-01-12 16:40:18 -08004681bins/$(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 -08004682 $(E) "[LD] Linking $@"
4683 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004684 $(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 -08004685
4686endif
4687
Craig Tiller770f60a2015-01-12 17:44:43 -08004688objs/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004689
Craig Tiller8f126a62015-01-15 08:50:19 -08004690deps_lame_client_test: $(LAME_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004691
4692ifneq ($(NO_SECURE),true)
4693ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004694-include $(LAME_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004695endif
4696endif
4697
4698
Craig Tiller17ec5f92015-01-18 11:30:41 -08004699LOW_LEVEL_PING_PONG_BENCHMARK_SRC = \
4700 test/core/network_benchmarks/low_level_ping_pong.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004701
Craig Tiller17ec5f92015-01-18 11:30:41 -08004702LOW_LEVEL_PING_PONG_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LOW_LEVEL_PING_PONG_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004703
4704ifeq ($(NO_SECURE),true)
4705
4706# You can't build secure targets if you don't have OpenSSL with ALPN.
4707
Craig Tiller17ec5f92015-01-18 11:30:41 -08004708bins/$(CONFIG)/low_level_ping_pong_benchmark: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004709
4710else
4711
Craig Tiller17ec5f92015-01-18 11:30:41 -08004712bins/$(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 -08004713 $(E) "[LD] Linking $@"
4714 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004715 $(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 -08004716
4717endif
4718
Craig Tiller17ec5f92015-01-18 11:30:41 -08004719objs/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004720
Craig Tiller17ec5f92015-01-18 11:30:41 -08004721deps_low_level_ping_pong_benchmark: $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004722
4723ifneq ($(NO_SECURE),true)
4724ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004725-include $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004726endif
4727endif
4728
4729
Craig Tiller17ec5f92015-01-18 11:30:41 -08004730MESSAGE_COMPRESS_TEST_SRC = \
4731 test/core/compression/message_compress_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004732
Craig Tiller17ec5f92015-01-18 11:30:41 -08004733MESSAGE_COMPRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MESSAGE_COMPRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004734
4735ifeq ($(NO_SECURE),true)
4736
4737# You can't build secure targets if you don't have OpenSSL with ALPN.
4738
Craig Tiller17ec5f92015-01-18 11:30:41 -08004739bins/$(CONFIG)/message_compress_test: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004740
4741else
4742
Craig Tiller17ec5f92015-01-18 11:30:41 -08004743bins/$(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 -08004744 $(E) "[LD] Linking $@"
4745 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004746 $(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 -08004747
4748endif
4749
Craig Tiller17ec5f92015-01-18 11:30:41 -08004750objs/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004751
Craig Tiller17ec5f92015-01-18 11:30:41 -08004752deps_message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004753
4754ifneq ($(NO_SECURE),true)
4755ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004756-include $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004757endif
4758endif
4759
4760
Craig Tiller17ec5f92015-01-18 11:30:41 -08004761METADATA_BUFFER_TEST_SRC = \
4762 test/core/channel/metadata_buffer_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004763
Craig Tiller17ec5f92015-01-18 11:30:41 -08004764METADATA_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(METADATA_BUFFER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004765
4766ifeq ($(NO_SECURE),true)
4767
4768# You can't build secure targets if you don't have OpenSSL with ALPN.
4769
Craig Tiller17ec5f92015-01-18 11:30:41 -08004770bins/$(CONFIG)/metadata_buffer_test: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004771
4772else
4773
Craig Tiller17ec5f92015-01-18 11:30:41 -08004774bins/$(CONFIG)/metadata_buffer_test: $(METADATA_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004775 $(E) "[LD] Linking $@"
4776 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004777 $(Q) $(LD) $(LDFLAGS) $(METADATA_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/metadata_buffer_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004778
4779endif
4780
Craig Tiller17ec5f92015-01-18 11:30:41 -08004781objs/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004782
Craig Tiller17ec5f92015-01-18 11:30:41 -08004783deps_metadata_buffer_test: $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004784
4785ifneq ($(NO_SECURE),true)
4786ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004787-include $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
4788endif
4789endif
4790
4791
4792MURMUR_HASH_TEST_SRC = \
4793 test/core/support/murmur_hash_test.c \
4794
4795MURMUR_HASH_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MURMUR_HASH_TEST_SRC))))
4796
4797ifeq ($(NO_SECURE),true)
4798
4799# You can't build secure targets if you don't have OpenSSL with ALPN.
4800
4801bins/$(CONFIG)/murmur_hash_test: openssl_dep_error
4802
4803else
4804
4805bins/$(CONFIG)/murmur_hash_test: $(MURMUR_HASH_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4806 $(E) "[LD] Linking $@"
4807 $(Q) mkdir -p `dirname $@`
4808 $(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
4809
4810endif
4811
4812objs/$(CONFIG)/test/core/support/murmur_hash_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4813
4814deps_murmur_hash_test: $(MURMUR_HASH_TEST_OBJS:.o=.dep)
4815
4816ifneq ($(NO_SECURE),true)
4817ifneq ($(NO_DEPS),true)
4818-include $(MURMUR_HASH_TEST_OBJS:.o=.dep)
4819endif
4820endif
4821
4822
4823NO_SERVER_TEST_SRC = \
4824 test/core/end2end/no_server_test.c \
4825
4826NO_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(NO_SERVER_TEST_SRC))))
4827
4828ifeq ($(NO_SECURE),true)
4829
4830# You can't build secure targets if you don't have OpenSSL with ALPN.
4831
4832bins/$(CONFIG)/no_server_test: openssl_dep_error
4833
4834else
4835
4836bins/$(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
4837 $(E) "[LD] Linking $@"
4838 $(Q) mkdir -p `dirname $@`
4839 $(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
4840
4841endif
4842
4843objs/$(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
4844
4845deps_no_server_test: $(NO_SERVER_TEST_OBJS:.o=.dep)
4846
4847ifneq ($(NO_SECURE),true)
4848ifneq ($(NO_DEPS),true)
4849-include $(NO_SERVER_TEST_OBJS:.o=.dep)
4850endif
4851endif
4852
4853
4854POLL_KICK_TEST_SRC = \
4855 test/core/iomgr/poll_kick_test.c \
4856
4857POLL_KICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(POLL_KICK_TEST_SRC))))
4858
4859ifeq ($(NO_SECURE),true)
4860
4861# You can't build secure targets if you don't have OpenSSL with ALPN.
4862
4863bins/$(CONFIG)/poll_kick_test: openssl_dep_error
4864
4865else
4866
4867bins/$(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
4868 $(E) "[LD] Linking $@"
4869 $(Q) mkdir -p `dirname $@`
4870 $(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
4871
4872endif
4873
4874objs/$(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
4875
4876deps_poll_kick_test: $(POLL_KICK_TEST_OBJS:.o=.dep)
4877
4878ifneq ($(NO_SECURE),true)
4879ifneq ($(NO_DEPS),true)
4880-include $(POLL_KICK_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004881endif
nnoble69ac39f2014-12-12 15:43:38 -08004882endif
ctiller8919f602014-12-10 10:19:42 -08004883
ctiller8919f602014-12-10 10:19:42 -08004884
Craig Tiller17ec5f92015-01-18 11:30:41 -08004885RESOLVE_ADDRESS_TEST_SRC = \
4886 test/core/iomgr/resolve_address_test.c \
ctiller8919f602014-12-10 10:19:42 -08004887
Craig Tiller17ec5f92015-01-18 11:30:41 -08004888RESOLVE_ADDRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004889
nnoble69ac39f2014-12-12 15:43:38 -08004890ifeq ($(NO_SECURE),true)
4891
Nicolas Noble047b7272015-01-16 13:55:05 -08004892# You can't build secure targets if you don't have OpenSSL with ALPN.
4893
Craig Tiller17ec5f92015-01-18 11:30:41 -08004894bins/$(CONFIG)/resolve_address_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004895
4896else
4897
Craig Tiller17ec5f92015-01-18 11:30:41 -08004898bins/$(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 -08004899 $(E) "[LD] Linking $@"
4900 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004901 $(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 -08004902
nnoble69ac39f2014-12-12 15:43:38 -08004903endif
4904
Craig Tiller17ec5f92015-01-18 11:30:41 -08004905objs/$(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 -08004906
Craig Tiller17ec5f92015-01-18 11:30:41 -08004907deps_resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004908
nnoble69ac39f2014-12-12 15:43:38 -08004909ifneq ($(NO_SECURE),true)
4910ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004911-include $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004912endif
nnoble69ac39f2014-12-12 15:43:38 -08004913endif
ctiller8919f602014-12-10 10:19:42 -08004914
ctiller8919f602014-12-10 10:19:42 -08004915
Craig Tiller17ec5f92015-01-18 11:30:41 -08004916SECURE_ENDPOINT_TEST_SRC = \
4917 test/core/security/secure_endpoint_test.c \
4918
4919SECURE_ENDPOINT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_ENDPOINT_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004920
nnoble69ac39f2014-12-12 15:43:38 -08004921ifeq ($(NO_SECURE),true)
4922
Nicolas Noble047b7272015-01-16 13:55:05 -08004923# You can't build secure targets if you don't have OpenSSL with ALPN.
4924
Craig Tiller17ec5f92015-01-18 11:30:41 -08004925bins/$(CONFIG)/secure_endpoint_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004926
4927else
4928
Craig Tiller17ec5f92015-01-18 11:30:41 -08004929bins/$(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 -08004930 $(E) "[LD] Linking $@"
4931 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004932 $(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 -08004933
nnoble69ac39f2014-12-12 15:43:38 -08004934endif
4935
Craig Tiller17ec5f92015-01-18 11:30:41 -08004936objs/$(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 -08004937
Craig Tiller17ec5f92015-01-18 11:30:41 -08004938deps_secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004939
nnoble69ac39f2014-12-12 15:43:38 -08004940ifneq ($(NO_SECURE),true)
4941ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004942-include $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004943endif
nnoble69ac39f2014-12-12 15:43:38 -08004944endif
ctiller8919f602014-12-10 10:19:42 -08004945
ctiller8919f602014-12-10 10:19:42 -08004946
Craig Tiller17ec5f92015-01-18 11:30:41 -08004947SOCKADDR_UTILS_TEST_SRC = \
4948 test/core/iomgr/sockaddr_utils_test.c \
ctiller8919f602014-12-10 10:19:42 -08004949
Craig Tiller17ec5f92015-01-18 11:30:41 -08004950SOCKADDR_UTILS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKADDR_UTILS_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004951
nnoble69ac39f2014-12-12 15:43:38 -08004952ifeq ($(NO_SECURE),true)
4953
Nicolas Noble047b7272015-01-16 13:55:05 -08004954# You can't build secure targets if you don't have OpenSSL with ALPN.
4955
Craig Tiller17ec5f92015-01-18 11:30:41 -08004956bins/$(CONFIG)/sockaddr_utils_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004957
4958else
4959
Craig Tiller17ec5f92015-01-18 11:30:41 -08004960bins/$(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 -08004961 $(E) "[LD] Linking $@"
4962 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004963 $(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 -08004964
nnoble69ac39f2014-12-12 15:43:38 -08004965endif
4966
Craig Tiller17ec5f92015-01-18 11:30:41 -08004967objs/$(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 -08004968
Craig Tiller17ec5f92015-01-18 11:30:41 -08004969deps_sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004970
nnoble69ac39f2014-12-12 15:43:38 -08004971ifneq ($(NO_SECURE),true)
4972ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004973-include $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004974endif
nnoble69ac39f2014-12-12 15:43:38 -08004975endif
ctiller8919f602014-12-10 10:19:42 -08004976
ctiller8919f602014-12-10 10:19:42 -08004977
Craig Tiller17ec5f92015-01-18 11:30:41 -08004978TCP_CLIENT_POSIX_TEST_SRC = \
4979 test/core/iomgr/tcp_client_posix_test.c \
ctiller8919f602014-12-10 10:19:42 -08004980
Craig Tiller17ec5f92015-01-18 11:30:41 -08004981TCP_CLIENT_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_CLIENT_POSIX_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004982
nnoble69ac39f2014-12-12 15:43:38 -08004983ifeq ($(NO_SECURE),true)
4984
Nicolas Noble047b7272015-01-16 13:55:05 -08004985# You can't build secure targets if you don't have OpenSSL with ALPN.
4986
Craig Tiller17ec5f92015-01-18 11:30:41 -08004987bins/$(CONFIG)/tcp_client_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004988
4989else
4990
Craig Tiller17ec5f92015-01-18 11:30:41 -08004991bins/$(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 -08004992 $(E) "[LD] Linking $@"
4993 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004994 $(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 -08004995
nnoble69ac39f2014-12-12 15:43:38 -08004996endif
4997
Craig Tiller17ec5f92015-01-18 11:30:41 -08004998objs/$(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 -08004999
Craig Tiller17ec5f92015-01-18 11:30:41 -08005000deps_tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005001
nnoble69ac39f2014-12-12 15:43:38 -08005002ifneq ($(NO_SECURE),true)
5003ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005004-include $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005005endif
nnoble69ac39f2014-12-12 15:43:38 -08005006endif
ctiller8919f602014-12-10 10:19:42 -08005007
ctiller8919f602014-12-10 10:19:42 -08005008
Craig Tiller17ec5f92015-01-18 11:30:41 -08005009TCP_POSIX_TEST_SRC = \
5010 test/core/iomgr/tcp_posix_test.c \
ctiller3bf466f2014-12-19 16:21:57 -08005011
Craig Tiller17ec5f92015-01-18 11:30:41 -08005012TCP_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_POSIX_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08005013
5014ifeq ($(NO_SECURE),true)
5015
Nicolas Noble047b7272015-01-16 13:55:05 -08005016# You can't build secure targets if you don't have OpenSSL with ALPN.
5017
Craig Tiller17ec5f92015-01-18 11:30:41 -08005018bins/$(CONFIG)/tcp_posix_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08005019
5020else
5021
Craig Tiller17ec5f92015-01-18 11:30:41 -08005022bins/$(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 -08005023 $(E) "[LD] Linking $@"
5024 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005025 $(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 -08005026
5027endif
5028
Craig Tiller17ec5f92015-01-18 11:30:41 -08005029objs/$(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 -08005030
Craig Tiller17ec5f92015-01-18 11:30:41 -08005031deps_tcp_posix_test: $(TCP_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005032
5033ifneq ($(NO_SECURE),true)
5034ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005035-include $(TCP_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005036endif
5037endif
5038
ctiller3bf466f2014-12-19 16:21:57 -08005039
Craig Tiller17ec5f92015-01-18 11:30:41 -08005040TCP_SERVER_POSIX_TEST_SRC = \
5041 test/core/iomgr/tcp_server_posix_test.c \
ctiller3bf466f2014-12-19 16:21:57 -08005042
Craig Tiller17ec5f92015-01-18 11:30:41 -08005043TCP_SERVER_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_SERVER_POSIX_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08005044
5045ifeq ($(NO_SECURE),true)
5046
Nicolas Noble047b7272015-01-16 13:55:05 -08005047# You can't build secure targets if you don't have OpenSSL with ALPN.
5048
Craig Tiller17ec5f92015-01-18 11:30:41 -08005049bins/$(CONFIG)/tcp_server_posix_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08005050
5051else
5052
Craig Tiller17ec5f92015-01-18 11:30:41 -08005053bins/$(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 -08005054 $(E) "[LD] Linking $@"
5055 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005056 $(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 -08005057
5058endif
5059
Craig Tiller17ec5f92015-01-18 11:30:41 -08005060objs/$(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 -08005061
Craig Tiller17ec5f92015-01-18 11:30:41 -08005062deps_tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005063
5064ifneq ($(NO_SECURE),true)
5065ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005066-include $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
5067endif
5068endif
5069
5070
Craig Tiller17ec5f92015-01-18 11:30:41 -08005071TIME_AVERAGED_STATS_TEST_SRC = \
5072 test/core/iomgr/time_averaged_stats_test.c \
5073
5074TIME_AVERAGED_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_AVERAGED_STATS_TEST_SRC))))
5075
5076ifeq ($(NO_SECURE),true)
5077
5078# You can't build secure targets if you don't have OpenSSL with ALPN.
5079
5080bins/$(CONFIG)/time_averaged_stats_test: openssl_dep_error
5081
5082else
5083
5084bins/$(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
5085 $(E) "[LD] Linking $@"
5086 $(Q) mkdir -p `dirname $@`
5087 $(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
5088
5089endif
5090
5091objs/$(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
5092
5093deps_time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
5094
5095ifneq ($(NO_SECURE),true)
5096ifneq ($(NO_DEPS),true)
5097-include $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005098endif
5099endif
5100
ctiller3bf466f2014-12-19 16:21:57 -08005101
ctiller8919f602014-12-10 10:19:42 -08005102TIME_TEST_SRC = \
5103 test/core/support/time_test.c \
5104
ctillercab52e72015-01-06 13:10:23 -08005105TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005106
nnoble69ac39f2014-12-12 15:43:38 -08005107ifeq ($(NO_SECURE),true)
5108
Nicolas Noble047b7272015-01-16 13:55:05 -08005109# You can't build secure targets if you don't have OpenSSL with ALPN.
5110
ctillercab52e72015-01-06 13:10:23 -08005111bins/$(CONFIG)/time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005112
5113else
5114
nnoble5f2ecb32015-01-12 16:40:18 -08005115bins/$(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 -08005116 $(E) "[LD] Linking $@"
5117 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005118 $(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 -08005119
nnoble69ac39f2014-12-12 15:43:38 -08005120endif
5121
Craig Tiller770f60a2015-01-12 17:44:43 -08005122objs/$(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 -08005123
Craig Tiller8f126a62015-01-15 08:50:19 -08005124deps_time_test: $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005125
nnoble69ac39f2014-12-12 15:43:38 -08005126ifneq ($(NO_SECURE),true)
5127ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005128-include $(TIME_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005129endif
5130endif
5131
5132
5133TIMEOUT_ENCODING_TEST_SRC = \
5134 test/core/transport/chttp2/timeout_encoding_test.c \
5135
5136TIMEOUT_ENCODING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMEOUT_ENCODING_TEST_SRC))))
5137
5138ifeq ($(NO_SECURE),true)
5139
5140# You can't build secure targets if you don't have OpenSSL with ALPN.
5141
5142bins/$(CONFIG)/timeout_encoding_test: openssl_dep_error
5143
5144else
5145
5146bins/$(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
5147 $(E) "[LD] Linking $@"
5148 $(Q) mkdir -p `dirname $@`
5149 $(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
5150
5151endif
5152
5153objs/$(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
5154
5155deps_timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
5156
5157ifneq ($(NO_SECURE),true)
5158ifneq ($(NO_DEPS),true)
5159-include $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
5160endif
5161endif
5162
5163
Craig Tiller17ec5f92015-01-18 11:30:41 -08005164TRANSPORT_METADATA_TEST_SRC = \
5165 test/core/transport/metadata_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005166
Craig Tiller17ec5f92015-01-18 11:30:41 -08005167TRANSPORT_METADATA_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_METADATA_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005168
5169ifeq ($(NO_SECURE),true)
5170
5171# You can't build secure targets if you don't have OpenSSL with ALPN.
5172
Craig Tiller17ec5f92015-01-18 11:30:41 -08005173bins/$(CONFIG)/transport_metadata_test: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005174
5175else
5176
Craig Tiller17ec5f92015-01-18 11:30:41 -08005177bins/$(CONFIG)/transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005178 $(E) "[LD] Linking $@"
5179 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005180 $(Q) $(LD) $(LDFLAGS) $(TRANSPORT_METADATA_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/transport_metadata_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005181
5182endif
5183
Craig Tiller17ec5f92015-01-18 11:30:41 -08005184objs/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005185
Craig Tiller17ec5f92015-01-18 11:30:41 -08005186deps_transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005187
5188ifneq ($(NO_SECURE),true)
5189ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005190-include $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005191endif
5192endif
5193
5194
Craig Tiller996d9df2015-01-19 21:06:50 -08005195CHANNEL_ARGUMENTS_TEST_SRC = \
5196 test/cpp/client/channel_arguments_test.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005197
Craig Tiller996d9df2015-01-19 21:06:50 -08005198CHANNEL_ARGUMENTS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNEL_ARGUMENTS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005199
5200ifeq ($(NO_SECURE),true)
5201
5202# You can't build secure targets if you don't have OpenSSL with ALPN.
5203
Craig Tiller996d9df2015-01-19 21:06:50 -08005204bins/$(CONFIG)/channel_arguments_test: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005205
5206else
5207
Craig Tiller996d9df2015-01-19 21:06:50 -08005208bins/$(CONFIG)/channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005209 $(E) "[LD] Linking $@"
5210 $(Q) mkdir -p `dirname $@`
Craig Tiller996d9df2015-01-19 21:06:50 -08005211 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005212
5213endif
5214
Craig Tiller996d9df2015-01-19 21:06:50 -08005215objs/$(CONFIG)/test/cpp/client/channel_arguments_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005216
Craig Tiller996d9df2015-01-19 21:06:50 -08005217deps_channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005218
5219ifneq ($(NO_SECURE),true)
5220ifneq ($(NO_DEPS),true)
Craig Tiller996d9df2015-01-19 21:06:50 -08005221-include $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005222endif
5223endif
5224
5225
Craig Tiller996d9df2015-01-19 21:06:50 -08005226CPP_PLUGIN_SRC = \
5227 src/compiler/cpp_generator.cc \
5228 src/compiler/cpp_plugin.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005229
Craig Tiller996d9df2015-01-19 21:06:50 -08005230CPP_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CPP_PLUGIN_SRC))))
5231
5232bins/$(CONFIG)/cpp_plugin: $(CPP_PLUGIN_OBJS)
5233 $(E) "[HOSTLD] Linking $@"
5234 $(Q) mkdir -p `dirname $@`
5235 $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(CPP_PLUGIN_OBJS) $(HOST_LDLIBSXX) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o bins/$(CONFIG)/cpp_plugin
5236
5237objs/$(CONFIG)/src/compiler/cpp_generator.o:
5238objs/$(CONFIG)/src/compiler/cpp_plugin.o:
5239
5240deps_cpp_plugin: $(CPP_PLUGIN_OBJS:.o=.dep)
5241
5242ifneq ($(NO_DEPS),true)
5243-include $(CPP_PLUGIN_OBJS:.o=.dep)
5244endif
5245
5246
5247CREDENTIALS_TEST_SRC = \
5248 test/cpp/client/credentials_test.cc \
5249
5250CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CREDENTIALS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005251
5252ifeq ($(NO_SECURE),true)
5253
5254# You can't build secure targets if you don't have OpenSSL with ALPN.
5255
Craig Tiller996d9df2015-01-19 21:06:50 -08005256bins/$(CONFIG)/credentials_test: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005257
5258else
5259
Craig Tiller996d9df2015-01-19 21:06:50 -08005260bins/$(CONFIG)/credentials_test: $(CREDENTIALS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005261 $(E) "[LD] Linking $@"
5262 $(Q) mkdir -p `dirname $@`
Craig Tiller996d9df2015-01-19 21:06:50 -08005263 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005264
5265endif
5266
Craig Tiller996d9df2015-01-19 21:06:50 -08005267objs/$(CONFIG)/test/cpp/client/credentials_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005268
Craig Tiller996d9df2015-01-19 21:06:50 -08005269deps_credentials_test: $(CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005270
5271ifneq ($(NO_SECURE),true)
5272ifneq ($(NO_DEPS),true)
Craig Tiller996d9df2015-01-19 21:06:50 -08005273-include $(CREDENTIALS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005274endif
5275endif
5276
5277
Craig Tiller996d9df2015-01-19 21:06:50 -08005278END2END_TEST_SRC = \
5279 test/cpp/end2end/end2end_test.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005280
Craig Tiller996d9df2015-01-19 21:06:50 -08005281END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(END2END_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005282
5283ifeq ($(NO_SECURE),true)
5284
5285# You can't build secure targets if you don't have OpenSSL with ALPN.
5286
Craig Tiller996d9df2015-01-19 21:06:50 -08005287bins/$(CONFIG)/end2end_test: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005288
5289else
5290
Craig Tiller996d9df2015-01-19 21:06:50 -08005291bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005292 $(E) "[LD] Linking $@"
5293 $(Q) mkdir -p `dirname $@`
Craig Tiller996d9df2015-01-19 21:06:50 -08005294 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005295
5296endif
5297
Craig Tiller996d9df2015-01-19 21:06:50 -08005298objs/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005299
Craig Tiller996d9df2015-01-19 21:06:50 -08005300deps_end2end_test: $(END2END_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005301
5302ifneq ($(NO_SECURE),true)
5303ifneq ($(NO_DEPS),true)
Craig Tiller996d9df2015-01-19 21:06:50 -08005304-include $(END2END_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005305endif
5306endif
5307
5308
Craig Tiller996d9df2015-01-19 21:06:50 -08005309INTEROP_CLIENT_SRC = \
5310 gens/test/cpp/interop/empty.pb.cc \
5311 gens/test/cpp/interop/messages.pb.cc \
5312 gens/test/cpp/interop/test.pb.cc \
5313 test/cpp/interop/client.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005314
Craig Tiller996d9df2015-01-19 21:06:50 -08005315INTEROP_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_CLIENT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005316
5317ifeq ($(NO_SECURE),true)
5318
5319# You can't build secure targets if you don't have OpenSSL with ALPN.
5320
Craig Tiller996d9df2015-01-19 21:06:50 -08005321bins/$(CONFIG)/interop_client: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005322
5323else
5324
Craig Tiller996d9df2015-01-19 21:06:50 -08005325bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005326 $(E) "[LD] Linking $@"
5327 $(Q) mkdir -p `dirname $@`
Craig Tiller996d9df2015-01-19 21:06:50 -08005328 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005329
5330endif
5331
Craig Tiller996d9df2015-01-19 21:06:50 -08005332objs/$(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
5333objs/$(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
5334objs/$(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
5335objs/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005336
Craig Tiller996d9df2015-01-19 21:06:50 -08005337deps_interop_client: $(INTEROP_CLIENT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005338
5339ifneq ($(NO_SECURE),true)
5340ifneq ($(NO_DEPS),true)
Craig Tiller996d9df2015-01-19 21:06:50 -08005341-include $(INTEROP_CLIENT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005342endif
5343endif
5344
5345
Craig Tiller996d9df2015-01-19 21:06:50 -08005346INTEROP_SERVER_SRC = \
5347 gens/test/cpp/interop/empty.pb.cc \
5348 gens/test/cpp/interop/messages.pb.cc \
5349 gens/test/cpp/interop/test.pb.cc \
5350 test/cpp/interop/server.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005351
Craig Tiller996d9df2015-01-19 21:06:50 -08005352INTEROP_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_SERVER_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005353
5354ifeq ($(NO_SECURE),true)
5355
5356# You can't build secure targets if you don't have OpenSSL with ALPN.
5357
Craig Tiller996d9df2015-01-19 21:06:50 -08005358bins/$(CONFIG)/interop_server: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005359
5360else
5361
Craig Tiller996d9df2015-01-19 21:06:50 -08005362bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005363 $(E) "[LD] Linking $@"
5364 $(Q) mkdir -p `dirname $@`
Craig Tiller996d9df2015-01-19 21:06:50 -08005365 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005366
5367endif
5368
Craig Tiller996d9df2015-01-19 21:06:50 -08005369objs/$(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
5370objs/$(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
5371objs/$(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
5372objs/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005373
Craig Tiller996d9df2015-01-19 21:06:50 -08005374deps_interop_server: $(INTEROP_SERVER_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005375
5376ifneq ($(NO_SECURE),true)
5377ifneq ($(NO_DEPS),true)
Craig Tiller996d9df2015-01-19 21:06:50 -08005378-include $(INTEROP_SERVER_OBJS:.o=.dep)
5379endif
5380endif
5381
5382
Chen Wang69330752015-01-21 18:57:46 -08005383TIPS_CLIENT_SRC = \
5384 examples/tips/client_main.cc \
5385
5386TIPS_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIPS_CLIENT_SRC))))
5387
5388ifeq ($(NO_SECURE),true)
5389
5390# You can't build secure targets if you don't have OpenSSL with ALPN.
5391
5392bins/$(CONFIG)/tips_client: openssl_dep_error
5393
5394else
5395
5396bins/$(CONFIG)/tips_client: $(TIPS_CLIENT_OBJS) libs/$(CONFIG)/libtips_client_lib.a 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
5397 $(E) "[LD] Linking $@"
5398 $(Q) mkdir -p `dirname $@`
5399 $(Q) $(LDXX) $(LDFLAGS) $(TIPS_CLIENT_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libtips_client_lib.a 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)/tips_client
5400
5401endif
5402
5403objs/$(CONFIG)/examples/tips/client_main.o: libs/$(CONFIG)/libtips_client_lib.a 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
5404
5405deps_tips_client: $(TIPS_CLIENT_OBJS:.o=.dep)
5406
5407ifneq ($(NO_SECURE),true)
5408ifneq ($(NO_DEPS),true)
5409-include $(TIPS_CLIENT_OBJS:.o=.dep)
5410endif
5411endif
5412
5413
5414TIPS_CLIENT_TEST_SRC = \
5415 examples/tips/client_test.cc \
5416
5417TIPS_CLIENT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIPS_CLIENT_TEST_SRC))))
5418
5419ifeq ($(NO_SECURE),true)
5420
5421# You can't build secure targets if you don't have OpenSSL with ALPN.
5422
5423bins/$(CONFIG)/tips_client_test: openssl_dep_error
5424
5425else
5426
5427bins/$(CONFIG)/tips_client_test: $(TIPS_CLIENT_TEST_OBJS) libs/$(CONFIG)/libtips_client_lib.a 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
5428 $(E) "[LD] Linking $@"
5429 $(Q) mkdir -p `dirname $@`
5430 $(Q) $(LDXX) $(LDFLAGS) $(TIPS_CLIENT_TEST_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libtips_client_lib.a 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)/tips_client_test
5431
5432endif
5433
5434objs/$(CONFIG)/examples/tips/client_test.o: libs/$(CONFIG)/libtips_client_lib.a 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
5435
5436deps_tips_client_test: $(TIPS_CLIENT_TEST_OBJS:.o=.dep)
5437
5438ifneq ($(NO_SECURE),true)
5439ifneq ($(NO_DEPS),true)
5440-include $(TIPS_CLIENT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005441endif
5442endif
5443
5444
5445QPS_CLIENT_SRC = \
5446 gens/test/cpp/qps/qpstest.pb.cc \
5447 test/cpp/qps/client.cc \
5448
5449QPS_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_CLIENT_SRC))))
5450
5451ifeq ($(NO_SECURE),true)
5452
5453# You can't build secure targets if you don't have OpenSSL with ALPN.
5454
5455bins/$(CONFIG)/qps_client: openssl_dep_error
5456
5457else
5458
5459bins/$(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
5460 $(E) "[LD] Linking $@"
5461 $(Q) mkdir -p `dirname $@`
5462 $(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
5463
5464endif
5465
5466objs/$(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
5467objs/$(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
5468
5469deps_qps_client: $(QPS_CLIENT_OBJS:.o=.dep)
5470
5471ifneq ($(NO_SECURE),true)
5472ifneq ($(NO_DEPS),true)
5473-include $(QPS_CLIENT_OBJS:.o=.dep)
5474endif
5475endif
5476
5477
5478QPS_SERVER_SRC = \
5479 gens/test/cpp/qps/qpstest.pb.cc \
5480 test/cpp/qps/server.cc \
5481
5482QPS_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_SERVER_SRC))))
5483
5484ifeq ($(NO_SECURE),true)
5485
5486# You can't build secure targets if you don't have OpenSSL with ALPN.
5487
5488bins/$(CONFIG)/qps_server: openssl_dep_error
5489
5490else
5491
5492bins/$(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
5493 $(E) "[LD] Linking $@"
5494 $(Q) mkdir -p `dirname $@`
5495 $(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
5496
5497endif
5498
5499objs/$(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
5500objs/$(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
5501
5502deps_qps_server: $(QPS_SERVER_OBJS:.o=.dep)
5503
5504ifneq ($(NO_SECURE),true)
5505ifneq ($(NO_DEPS),true)
5506-include $(QPS_SERVER_OBJS:.o=.dep)
5507endif
5508endif
5509
5510
Craig Tiller996d9df2015-01-19 21:06:50 -08005511RUBY_PLUGIN_SRC = \
5512 src/compiler/ruby_generator.cc \
5513 src/compiler/ruby_plugin.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005514
Craig Tiller996d9df2015-01-19 21:06:50 -08005515RUBY_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RUBY_PLUGIN_SRC))))
5516
5517bins/$(CONFIG)/ruby_plugin: $(RUBY_PLUGIN_OBJS)
5518 $(E) "[HOSTLD] Linking $@"
5519 $(Q) mkdir -p `dirname $@`
5520 $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(RUBY_PLUGIN_OBJS) $(HOST_LDLIBSXX) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o bins/$(CONFIG)/ruby_plugin
5521
5522objs/$(CONFIG)/src/compiler/ruby_generator.o:
5523objs/$(CONFIG)/src/compiler/ruby_plugin.o:
5524
5525deps_ruby_plugin: $(RUBY_PLUGIN_OBJS:.o=.dep)
5526
5527ifneq ($(NO_DEPS),true)
5528-include $(RUBY_PLUGIN_OBJS:.o=.dep)
5529endif
5530
5531
5532STATUS_TEST_SRC = \
5533 test/cpp/util/status_test.cc \
5534
5535STATUS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(STATUS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005536
5537ifeq ($(NO_SECURE),true)
5538
5539# You can't build secure targets if you don't have OpenSSL with ALPN.
nnoble85a49262014-12-08 18:14:03 -08005540
Craig Tiller996d9df2015-01-19 21:06:50 -08005541bins/$(CONFIG)/status_test: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005542
5543else
5544
Craig Tiller996d9df2015-01-19 21:06:50 -08005545bins/$(CONFIG)/status_test: $(STATUS_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005546 $(E) "[LD] Linking $@"
5547 $(Q) mkdir -p `dirname $@`
Craig Tiller996d9df2015-01-19 21:06:50 -08005548 $(Q) $(LDXX) $(LDFLAGS) $(STATUS_TEST_OBJS) $(GTEST_LIB) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/status_test
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005549
5550endif
5551
Craig Tiller996d9df2015-01-19 21:06:50 -08005552objs/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005553
Craig Tiller996d9df2015-01-19 21:06:50 -08005554deps_status_test: $(STATUS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005555
5556ifneq ($(NO_SECURE),true)
5557ifneq ($(NO_DEPS),true)
Craig Tiller996d9df2015-01-19 21:06:50 -08005558-include $(STATUS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005559endif
5560endif
nnoble85a49262014-12-08 18:14:03 -08005561
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005562
Craig Tiller996d9df2015-01-19 21:06:50 -08005563SYNC_CLIENT_ASYNC_SERVER_TEST_SRC = \
5564 test/cpp/end2end/sync_client_async_server_test.cc \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005565
Craig Tiller996d9df2015-01-19 21:06:50 -08005566SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SYNC_CLIENT_ASYNC_SERVER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005567
5568ifeq ($(NO_SECURE),true)
5569
5570# You can't build secure targets if you don't have OpenSSL with ALPN.
5571
Craig Tiller996d9df2015-01-19 21:06:50 -08005572bins/$(CONFIG)/sync_client_async_server_test: openssl_dep_error
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005573
5574else
5575
Craig Tiller996d9df2015-01-19 21:06:50 -08005576bins/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005577 $(E) "[LD] Linking $@"
5578 $(Q) mkdir -p `dirname $@`
Craig Tiller996d9df2015-01-19 21:06:50 -08005579 $(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005580
5581endif
nnoble85a49262014-12-08 18:14:03 -08005582
Craig Tiller996d9df2015-01-19 21:06:50 -08005583objs/$(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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005584
Craig Tiller996d9df2015-01-19 21:06:50 -08005585deps_sync_client_async_server_test: $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005586
5587ifneq ($(NO_SECURE),true)
5588ifneq ($(NO_DEPS),true)
Craig Tiller996d9df2015-01-19 21:06:50 -08005589-include $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005590endif
5591endif
5592
5593
Craig Tiller996d9df2015-01-19 21:06:50 -08005594THREAD_POOL_TEST_SRC = \
5595 test/cpp/server/thread_pool_test.cc \
Chen Wang86af8cf2015-01-21 18:05:40 -08005596
Craig Tiller996d9df2015-01-19 21:06:50 -08005597THREAD_POOL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(THREAD_POOL_TEST_SRC))))
Chen Wang86af8cf2015-01-21 18:05:40 -08005598
5599ifeq ($(NO_SECURE),true)
5600
5601# You can't build secure targets if you don't have OpenSSL with ALPN.
5602
Craig Tiller996d9df2015-01-19 21:06:50 -08005603bins/$(CONFIG)/thread_pool_test: openssl_dep_error
Chen Wang86af8cf2015-01-21 18:05:40 -08005604
5605else
5606
Craig Tiller996d9df2015-01-19 21:06:50 -08005607bins/$(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
Chen Wang86af8cf2015-01-21 18:05:40 -08005608 $(E) "[LD] Linking $@"
5609 $(Q) mkdir -p `dirname $@`
Craig Tiller996d9df2015-01-19 21:06:50 -08005610 $(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
Chen Wang86af8cf2015-01-21 18:05:40 -08005611
5612endif
5613
Craig Tiller996d9df2015-01-19 21:06:50 -08005614objs/$(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
Chen Wang86af8cf2015-01-21 18:05:40 -08005615
Craig Tiller996d9df2015-01-19 21:06:50 -08005616deps_thread_pool_test: $(THREAD_POOL_TEST_OBJS:.o=.dep)
Chen Wang86af8cf2015-01-21 18:05:40 -08005617
5618ifneq ($(NO_SECURE),true)
5619ifneq ($(NO_DEPS),true)
Craig Tiller996d9df2015-01-19 21:06:50 -08005620-include $(THREAD_POOL_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005621endif
nnoble69ac39f2014-12-12 15:43:38 -08005622endif
ctiller8919f602014-12-10 10:19:42 -08005623
ctiller8919f602014-12-10 10:19:42 -08005624
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005625CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_SRC = \
5626
ctillercab52e72015-01-06 13:10:23 -08005627CHTTP2_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 -08005628
nnoble69ac39f2014-12-12 15:43:38 -08005629ifeq ($(NO_SECURE),true)
5630
Nicolas Noble047b7272015-01-16 13:55:05 -08005631# You can't build secure targets if you don't have OpenSSL with ALPN.
5632
ctillercab52e72015-01-06 13:10:23 -08005633bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005634
5635else
5636
nnoble5f2ecb32015-01-12 16:40:18 -08005637bins/$(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 -08005638 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005639 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005640 $(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 -08005641
nnoble69ac39f2014-12-12 15:43:38 -08005642endif
5643
Craig Tillerd4773f52015-01-12 16:38:47 -08005644
Craig Tiller8f126a62015-01-15 08:50:19 -08005645deps_chttp2_fake_security_cancel_after_accept_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005646
nnoble69ac39f2014-12-12 15:43:38 -08005647ifneq ($(NO_SECURE),true)
5648ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005649-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005650endif
nnoble69ac39f2014-12-12 15:43:38 -08005651endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005652
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005653
5654CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
5655
ctillercab52e72015-01-06 13:10:23 -08005656CHTTP2_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 -08005657
nnoble69ac39f2014-12-12 15:43:38 -08005658ifeq ($(NO_SECURE),true)
5659
Nicolas Noble047b7272015-01-16 13:55:05 -08005660# You can't build secure targets if you don't have OpenSSL with ALPN.
5661
ctillercab52e72015-01-06 13:10:23 -08005662bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005663
5664else
5665
nnoble5f2ecb32015-01-12 16:40:18 -08005666bins/$(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 -08005667 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005668 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005669 $(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 -08005670
nnoble69ac39f2014-12-12 15:43:38 -08005671endif
5672
Craig Tillerd4773f52015-01-12 16:38:47 -08005673
Craig Tiller8f126a62015-01-15 08:50:19 -08005674deps_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 -08005675
nnoble69ac39f2014-12-12 15:43:38 -08005676ifneq ($(NO_SECURE),true)
5677ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005678-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005679endif
nnoble69ac39f2014-12-12 15:43:38 -08005680endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005681
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005682
5683CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_SRC = \
5684
ctillercab52e72015-01-06 13:10:23 -08005685CHTTP2_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 -08005686
nnoble69ac39f2014-12-12 15:43:38 -08005687ifeq ($(NO_SECURE),true)
5688
Nicolas Noble047b7272015-01-16 13:55:05 -08005689# You can't build secure targets if you don't have OpenSSL with ALPN.
5690
ctillercab52e72015-01-06 13:10:23 -08005691bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005692
5693else
5694
nnoble5f2ecb32015-01-12 16:40:18 -08005695bins/$(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 -08005696 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005697 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005698 $(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 -08005699
nnoble69ac39f2014-12-12 15:43:38 -08005700endif
5701
Craig Tillerd4773f52015-01-12 16:38:47 -08005702
Craig Tiller8f126a62015-01-15 08:50:19 -08005703deps_chttp2_fake_security_cancel_after_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005704
nnoble69ac39f2014-12-12 15:43:38 -08005705ifneq ($(NO_SECURE),true)
5706ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005707-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005708endif
nnoble69ac39f2014-12-12 15:43:38 -08005709endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005710
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005711
5712CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_SRC = \
5713
ctillercab52e72015-01-06 13:10:23 -08005714CHTTP2_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 -08005715
nnoble69ac39f2014-12-12 15:43:38 -08005716ifeq ($(NO_SECURE),true)
5717
Nicolas Noble047b7272015-01-16 13:55:05 -08005718# You can't build secure targets if you don't have OpenSSL with ALPN.
5719
ctillercab52e72015-01-06 13:10:23 -08005720bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005721
5722else
5723
nnoble5f2ecb32015-01-12 16:40:18 -08005724bins/$(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 -08005725 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005726 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005727 $(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 -08005728
nnoble69ac39f2014-12-12 15:43:38 -08005729endif
5730
Craig Tillerd4773f52015-01-12 16:38:47 -08005731
Craig Tiller8f126a62015-01-15 08:50:19 -08005732deps_chttp2_fake_security_cancel_before_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005733
nnoble69ac39f2014-12-12 15:43:38 -08005734ifneq ($(NO_SECURE),true)
5735ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005736-include $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005737endif
nnoble69ac39f2014-12-12 15:43:38 -08005738endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005739
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005740
5741CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_SRC = \
5742
ctillercab52e72015-01-06 13:10:23 -08005743CHTTP2_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 -08005744
nnoble69ac39f2014-12-12 15:43:38 -08005745ifeq ($(NO_SECURE),true)
5746
Nicolas Noble047b7272015-01-16 13:55:05 -08005747# You can't build secure targets if you don't have OpenSSL with ALPN.
5748
ctillercab52e72015-01-06 13:10:23 -08005749bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005750
5751else
5752
nnoble5f2ecb32015-01-12 16:40:18 -08005753bins/$(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 -08005754 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005755 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005756 $(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 -08005757
nnoble69ac39f2014-12-12 15:43:38 -08005758endif
5759
Craig Tillerd4773f52015-01-12 16:38:47 -08005760
Craig Tiller8f126a62015-01-15 08:50:19 -08005761deps_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 -08005762
nnoble69ac39f2014-12-12 15:43:38 -08005763ifneq ($(NO_SECURE),true)
5764ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005765-include $(CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005766endif
nnoble69ac39f2014-12-12 15:43:38 -08005767endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005768
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005769
hongyu24200d32015-01-08 15:13:49 -08005770CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
5771
5772CHTTP2_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 -08005773
5774ifeq ($(NO_SECURE),true)
5775
Nicolas Noble047b7272015-01-16 13:55:05 -08005776# You can't build secure targets if you don't have OpenSSL with ALPN.
5777
hongyu24200d32015-01-08 15:13:49 -08005778bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test: openssl_dep_error
5779
5780else
5781
nnoble5f2ecb32015-01-12 16:40:18 -08005782bins/$(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 -08005783 $(E) "[LD] Linking $@"
5784 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005785 $(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 -08005786
5787endif
5788
Craig Tillerd4773f52015-01-12 16:38:47 -08005789
Craig Tiller8f126a62015-01-15 08:50:19 -08005790deps_chttp2_fake_security_census_simple_request_test: $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005791
5792ifneq ($(NO_SECURE),true)
5793ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005794-include $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005795endif
5796endif
5797
hongyu24200d32015-01-08 15:13:49 -08005798
ctillerc6d61c42014-12-15 14:52:08 -08005799CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_SRC = \
5800
ctillercab52e72015-01-06 13:10:23 -08005801CHTTP2_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 -08005802
5803ifeq ($(NO_SECURE),true)
5804
Nicolas Noble047b7272015-01-16 13:55:05 -08005805# You can't build secure targets if you don't have OpenSSL with ALPN.
5806
ctillercab52e72015-01-06 13:10:23 -08005807bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08005808
5809else
5810
nnoble5f2ecb32015-01-12 16:40:18 -08005811bins/$(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 -08005812 $(E) "[LD] Linking $@"
5813 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005814 $(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 -08005815
5816endif
5817
Craig Tillerd4773f52015-01-12 16:38:47 -08005818
Craig Tiller8f126a62015-01-15 08:50:19 -08005819deps_chttp2_fake_security_disappearing_server_test: $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005820
5821ifneq ($(NO_SECURE),true)
5822ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005823-include $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005824endif
5825endif
5826
ctillerc6d61c42014-12-15 14:52:08 -08005827
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005828CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
5829
ctillercab52e72015-01-06 13:10:23 -08005830CHTTP2_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 -08005831
nnoble69ac39f2014-12-12 15:43:38 -08005832ifeq ($(NO_SECURE),true)
5833
Nicolas Noble047b7272015-01-16 13:55:05 -08005834# You can't build secure targets if you don't have OpenSSL with ALPN.
5835
ctillercab52e72015-01-06 13:10:23 -08005836bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005837
5838else
5839
nnoble5f2ecb32015-01-12 16:40:18 -08005840bins/$(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 -08005841 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005842 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005843 $(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 -08005844
nnoble69ac39f2014-12-12 15:43:38 -08005845endif
5846
Craig Tillerd4773f52015-01-12 16:38:47 -08005847
Craig Tiller8f126a62015-01-15 08:50:19 -08005848deps_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 -08005849
nnoble69ac39f2014-12-12 15:43:38 -08005850ifneq ($(NO_SECURE),true)
5851ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005852-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005853endif
nnoble69ac39f2014-12-12 15:43:38 -08005854endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005855
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005856
5857CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
5858
ctillercab52e72015-01-06 13:10:23 -08005859CHTTP2_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 -08005860
nnoble69ac39f2014-12-12 15:43:38 -08005861ifeq ($(NO_SECURE),true)
5862
Nicolas Noble047b7272015-01-16 13:55:05 -08005863# You can't build secure targets if you don't have OpenSSL with ALPN.
5864
ctillercab52e72015-01-06 13:10:23 -08005865bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005866
5867else
5868
nnoble5f2ecb32015-01-12 16:40:18 -08005869bins/$(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 -08005870 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005871 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005872 $(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 -08005873
nnoble69ac39f2014-12-12 15:43:38 -08005874endif
5875
Craig Tillerd4773f52015-01-12 16:38:47 -08005876
Craig Tiller8f126a62015-01-15 08:50:19 -08005877deps_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 -08005878
nnoble69ac39f2014-12-12 15:43:38 -08005879ifneq ($(NO_SECURE),true)
5880ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005881-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005882endif
nnoble69ac39f2014-12-12 15:43:38 -08005883endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005884
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005885
Craig Tiller4ffdcd52015-01-16 11:34:55 -08005886CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
5887
5888CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
5889
5890ifeq ($(NO_SECURE),true)
5891
Chen Wang86af8cf2015-01-21 18:05:40 -08005892# You can't build secure targets if you don't have OpenSSL with ALPN.
5893
Craig Tiller4ffdcd52015-01-16 11:34:55 -08005894bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test: openssl_dep_error
5895
5896else
5897
5898bins/$(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
5899 $(E) "[LD] Linking $@"
5900 $(Q) mkdir -p `dirname $@`
5901 $(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
5902
5903endif
5904
5905
5906deps_chttp2_fake_security_graceful_server_shutdown_test: $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
5907
5908ifneq ($(NO_SECURE),true)
5909ifneq ($(NO_DEPS),true)
5910-include $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
5911endif
5912endif
5913
5914
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005915CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_SRC = \
5916
ctillercab52e72015-01-06 13:10:23 -08005917CHTTP2_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 -08005918
nnoble69ac39f2014-12-12 15:43:38 -08005919ifeq ($(NO_SECURE),true)
5920
Nicolas Noble047b7272015-01-16 13:55:05 -08005921# You can't build secure targets if you don't have OpenSSL with ALPN.
5922
ctillercab52e72015-01-06 13:10:23 -08005923bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005924
5925else
5926
nnoble5f2ecb32015-01-12 16:40:18 -08005927bins/$(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 -08005928 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005929 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005930 $(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 -08005931
nnoble69ac39f2014-12-12 15:43:38 -08005932endif
5933
Craig Tillerd4773f52015-01-12 16:38:47 -08005934
Craig Tiller8f126a62015-01-15 08:50:19 -08005935deps_chttp2_fake_security_invoke_large_request_test: $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005936
nnoble69ac39f2014-12-12 15:43:38 -08005937ifneq ($(NO_SECURE),true)
5938ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005939-include $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005940endif
nnoble69ac39f2014-12-12 15:43:38 -08005941endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005942
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005943
5944CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_SRC = \
5945
ctillercab52e72015-01-06 13:10:23 -08005946CHTTP2_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 -08005947
nnoble69ac39f2014-12-12 15:43:38 -08005948ifeq ($(NO_SECURE),true)
5949
Nicolas Noble047b7272015-01-16 13:55:05 -08005950# You can't build secure targets if you don't have OpenSSL with ALPN.
5951
ctillercab52e72015-01-06 13:10:23 -08005952bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005953
5954else
5955
nnoble5f2ecb32015-01-12 16:40:18 -08005956bins/$(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 -08005957 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005958 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005959 $(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 -08005960
nnoble69ac39f2014-12-12 15:43:38 -08005961endif
5962
Craig Tillerd4773f52015-01-12 16:38:47 -08005963
Craig Tiller8f126a62015-01-15 08:50:19 -08005964deps_chttp2_fake_security_max_concurrent_streams_test: $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005965
nnoble69ac39f2014-12-12 15:43:38 -08005966ifneq ($(NO_SECURE),true)
5967ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005968-include $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005969endif
nnoble69ac39f2014-12-12 15:43:38 -08005970endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005971
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005972
5973CHTTP2_FAKE_SECURITY_NO_OP_TEST_SRC = \
5974
ctillercab52e72015-01-06 13:10:23 -08005975CHTTP2_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 -08005976
nnoble69ac39f2014-12-12 15:43:38 -08005977ifeq ($(NO_SECURE),true)
5978
Nicolas Noble047b7272015-01-16 13:55:05 -08005979# You can't build secure targets if you don't have OpenSSL with ALPN.
5980
ctillercab52e72015-01-06 13:10:23 -08005981bins/$(CONFIG)/chttp2_fake_security_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005982
5983else
5984
nnoble5f2ecb32015-01-12 16:40:18 -08005985bins/$(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 -08005986 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005987 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005988 $(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 -08005989
nnoble69ac39f2014-12-12 15:43:38 -08005990endif
5991
Craig Tillerd4773f52015-01-12 16:38:47 -08005992
Craig Tiller8f126a62015-01-15 08:50:19 -08005993deps_chttp2_fake_security_no_op_test: $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005994
nnoble69ac39f2014-12-12 15:43:38 -08005995ifneq ($(NO_SECURE),true)
5996ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005997-include $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005998endif
nnoble69ac39f2014-12-12 15:43:38 -08005999endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006000
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006001
6002CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_SRC = \
6003
ctillercab52e72015-01-06 13:10:23 -08006004CHTTP2_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 -08006005
nnoble69ac39f2014-12-12 15:43:38 -08006006ifeq ($(NO_SECURE),true)
6007
Nicolas Noble047b7272015-01-16 13:55:05 -08006008# You can't build secure targets if you don't have OpenSSL with ALPN.
6009
ctillercab52e72015-01-06 13:10:23 -08006010bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006011
6012else
6013
nnoble5f2ecb32015-01-12 16:40:18 -08006014bins/$(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 -08006015 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006016 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006017 $(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 -08006018
nnoble69ac39f2014-12-12 15:43:38 -08006019endif
6020
Craig Tillerd4773f52015-01-12 16:38:47 -08006021
Craig Tiller8f126a62015-01-15 08:50:19 -08006022deps_chttp2_fake_security_ping_pong_streaming_test: $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006023
nnoble69ac39f2014-12-12 15:43:38 -08006024ifneq ($(NO_SECURE),true)
6025ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006026-include $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006027endif
nnoble69ac39f2014-12-12 15:43:38 -08006028endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006029
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006030
ctiller33023c42014-12-12 16:28:33 -08006031CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
6032
ctillercab52e72015-01-06 13:10:23 -08006033CHTTP2_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 -08006034
6035ifeq ($(NO_SECURE),true)
6036
Nicolas Noble047b7272015-01-16 13:55:05 -08006037# You can't build secure targets if you don't have OpenSSL with ALPN.
6038
ctillercab52e72015-01-06 13:10:23 -08006039bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08006040
6041else
6042
nnoble5f2ecb32015-01-12 16:40:18 -08006043bins/$(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 -08006044 $(E) "[LD] Linking $@"
6045 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006046 $(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 -08006047
6048endif
6049
Craig Tillerd4773f52015-01-12 16:38:47 -08006050
Craig Tiller8f126a62015-01-15 08:50:19 -08006051deps_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 -08006052
6053ifneq ($(NO_SECURE),true)
6054ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006055-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006056endif
6057endif
6058
ctiller33023c42014-12-12 16:28:33 -08006059
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006060CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
6061
ctillercab52e72015-01-06 13:10:23 -08006062CHTTP2_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 -08006063
nnoble69ac39f2014-12-12 15:43:38 -08006064ifeq ($(NO_SECURE),true)
6065
Nicolas Noble047b7272015-01-16 13:55:05 -08006066# You can't build secure targets if you don't have OpenSSL with ALPN.
6067
ctillercab52e72015-01-06 13:10:23 -08006068bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006069
6070else
6071
nnoble5f2ecb32015-01-12 16:40:18 -08006072bins/$(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 -08006073 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006074 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006075 $(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 -08006076
nnoble69ac39f2014-12-12 15:43:38 -08006077endif
6078
Craig Tillerd4773f52015-01-12 16:38:47 -08006079
Craig Tiller8f126a62015-01-15 08:50:19 -08006080deps_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 -08006081
nnoble69ac39f2014-12-12 15:43:38 -08006082ifneq ($(NO_SECURE),true)
6083ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006084-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006085endif
nnoble69ac39f2014-12-12 15:43:38 -08006086endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006087
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006088
6089CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
6090
ctillercab52e72015-01-06 13:10:23 -08006091CHTTP2_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 -08006092
nnoble69ac39f2014-12-12 15:43:38 -08006093ifeq ($(NO_SECURE),true)
6094
Nicolas Noble047b7272015-01-16 13:55:05 -08006095# You can't build secure targets if you don't have OpenSSL with ALPN.
6096
ctillercab52e72015-01-06 13:10:23 -08006097bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006098
6099else
6100
nnoble5f2ecb32015-01-12 16:40:18 -08006101bins/$(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 -08006102 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006103 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006104 $(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 -08006105
nnoble69ac39f2014-12-12 15:43:38 -08006106endif
6107
Craig Tillerd4773f52015-01-12 16:38:47 -08006108
Craig Tiller8f126a62015-01-15 08:50:19 -08006109deps_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 -08006110
nnoble69ac39f2014-12-12 15:43:38 -08006111ifneq ($(NO_SECURE),true)
6112ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006113-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006114endif
nnoble69ac39f2014-12-12 15:43:38 -08006115endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006116
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006117
ctiller2845cad2014-12-15 15:14:12 -08006118CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
6119
ctillercab52e72015-01-06 13:10:23 -08006120CHTTP2_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 -08006121
6122ifeq ($(NO_SECURE),true)
6123
Nicolas Noble047b7272015-01-16 13:55:05 -08006124# You can't build secure targets if you don't have OpenSSL with ALPN.
6125
ctillercab52e72015-01-06 13:10:23 -08006126bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08006127
6128else
6129
nnoble5f2ecb32015-01-12 16:40:18 -08006130bins/$(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 -08006131 $(E) "[LD] Linking $@"
6132 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006133 $(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 -08006134
6135endif
6136
Craig Tillerd4773f52015-01-12 16:38:47 -08006137
Craig Tiller8f126a62015-01-15 08:50:19 -08006138deps_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 -08006139
6140ifneq ($(NO_SECURE),true)
6141ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006142-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006143endif
6144endif
6145
ctiller2845cad2014-12-15 15:14:12 -08006146
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006147CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6148
ctillercab52e72015-01-06 13:10:23 -08006149CHTTP2_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 -08006150
nnoble69ac39f2014-12-12 15:43:38 -08006151ifeq ($(NO_SECURE),true)
6152
Nicolas Noble047b7272015-01-16 13:55:05 -08006153# You can't build secure targets if you don't have OpenSSL with ALPN.
6154
ctillercab52e72015-01-06 13:10:23 -08006155bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006156
6157else
6158
nnoble5f2ecb32015-01-12 16:40:18 -08006159bins/$(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 -08006160 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006161 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006162 $(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 -08006163
nnoble69ac39f2014-12-12 15:43:38 -08006164endif
6165
Craig Tillerd4773f52015-01-12 16:38:47 -08006166
Craig Tiller8f126a62015-01-15 08:50:19 -08006167deps_chttp2_fake_security_simple_delayed_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006168
nnoble69ac39f2014-12-12 15:43:38 -08006169ifneq ($(NO_SECURE),true)
6170ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006171-include $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006172endif
nnoble69ac39f2014-12-12 15:43:38 -08006173endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006174
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006175
6176CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_SRC = \
6177
ctillercab52e72015-01-06 13:10:23 -08006178CHTTP2_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 -08006179
nnoble69ac39f2014-12-12 15:43:38 -08006180ifeq ($(NO_SECURE),true)
6181
Nicolas Noble047b7272015-01-16 13:55:05 -08006182# You can't build secure targets if you don't have OpenSSL with ALPN.
6183
ctillercab52e72015-01-06 13:10:23 -08006184bins/$(CONFIG)/chttp2_fake_security_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006185
6186else
6187
nnoble5f2ecb32015-01-12 16:40:18 -08006188bins/$(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 -08006189 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006190 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006191 $(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 -08006192
nnoble69ac39f2014-12-12 15:43:38 -08006193endif
6194
Craig Tillerd4773f52015-01-12 16:38:47 -08006195
Craig Tiller8f126a62015-01-15 08:50:19 -08006196deps_chttp2_fake_security_simple_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006197
nnoble69ac39f2014-12-12 15:43:38 -08006198ifneq ($(NO_SECURE),true)
6199ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006200-include $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006201endif
nnoble69ac39f2014-12-12 15:43:38 -08006202endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006203
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006204
nathaniel52878172014-12-09 10:17:19 -08006205CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006206
ctillercab52e72015-01-06 13:10:23 -08006207CHTTP2_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 -08006208
nnoble69ac39f2014-12-12 15:43:38 -08006209ifeq ($(NO_SECURE),true)
6210
Nicolas Noble047b7272015-01-16 13:55:05 -08006211# You can't build secure targets if you don't have OpenSSL with ALPN.
6212
ctillercab52e72015-01-06 13:10:23 -08006213bins/$(CONFIG)/chttp2_fake_security_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006214
6215else
6216
nnoble5f2ecb32015-01-12 16:40:18 -08006217bins/$(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 -08006218 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006219 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006220 $(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 -08006221
nnoble69ac39f2014-12-12 15:43:38 -08006222endif
6223
Craig Tillerd4773f52015-01-12 16:38:47 -08006224
Craig Tiller8f126a62015-01-15 08:50:19 -08006225deps_chttp2_fake_security_thread_stress_test: $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006226
nnoble69ac39f2014-12-12 15:43:38 -08006227ifneq ($(NO_SECURE),true)
6228ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006229-include $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006230endif
nnoble69ac39f2014-12-12 15:43:38 -08006231endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006232
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006233
6234CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6235
ctillercab52e72015-01-06 13:10:23 -08006236CHTTP2_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 -08006237
nnoble69ac39f2014-12-12 15:43:38 -08006238ifeq ($(NO_SECURE),true)
6239
Nicolas Noble047b7272015-01-16 13:55:05 -08006240# You can't build secure targets if you don't have OpenSSL with ALPN.
6241
ctillercab52e72015-01-06 13:10:23 -08006242bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006243
6244else
6245
nnoble5f2ecb32015-01-12 16:40:18 -08006246bins/$(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 -08006247 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006248 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006249 $(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 -08006250
nnoble69ac39f2014-12-12 15:43:38 -08006251endif
6252
Craig Tillerd4773f52015-01-12 16:38:47 -08006253
Craig Tiller8f126a62015-01-15 08:50:19 -08006254deps_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 -08006255
nnoble69ac39f2014-12-12 15:43:38 -08006256ifneq ($(NO_SECURE),true)
6257ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006258-include $(CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006259endif
nnoble69ac39f2014-12-12 15:43:38 -08006260endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006261
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006262
6263CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6264
ctillercab52e72015-01-06 13:10:23 -08006265CHTTP2_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 -08006266
nnoble69ac39f2014-12-12 15:43:38 -08006267ifeq ($(NO_SECURE),true)
6268
Nicolas Noble047b7272015-01-16 13:55:05 -08006269# You can't build secure targets if you don't have OpenSSL with ALPN.
6270
ctillercab52e72015-01-06 13:10:23 -08006271bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006272
6273else
6274
nnoble5f2ecb32015-01-12 16:40:18 -08006275bins/$(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 -08006276 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006277 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006278 $(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 -08006279
nnoble69ac39f2014-12-12 15:43:38 -08006280endif
6281
Craig Tillerd4773f52015-01-12 16:38:47 -08006282
Craig Tiller8f126a62015-01-15 08:50:19 -08006283deps_chttp2_fullstack_cancel_after_accept_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006284
nnoble69ac39f2014-12-12 15:43:38 -08006285ifneq ($(NO_SECURE),true)
6286ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006287-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006288endif
nnoble69ac39f2014-12-12 15:43:38 -08006289endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006290
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006291
6292CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6293
ctillercab52e72015-01-06 13:10:23 -08006294CHTTP2_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 -08006295
nnoble69ac39f2014-12-12 15:43:38 -08006296ifeq ($(NO_SECURE),true)
6297
Nicolas Noble047b7272015-01-16 13:55:05 -08006298# You can't build secure targets if you don't have OpenSSL with ALPN.
6299
ctillercab52e72015-01-06 13:10:23 -08006300bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006301
6302else
6303
nnoble5f2ecb32015-01-12 16:40:18 -08006304bins/$(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 -08006305 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006306 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006307 $(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 -08006308
nnoble69ac39f2014-12-12 15:43:38 -08006309endif
6310
Craig Tillerd4773f52015-01-12 16:38:47 -08006311
Craig Tiller8f126a62015-01-15 08:50:19 -08006312deps_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 -08006313
nnoble69ac39f2014-12-12 15:43:38 -08006314ifneq ($(NO_SECURE),true)
6315ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006316-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006317endif
nnoble69ac39f2014-12-12 15:43:38 -08006318endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006319
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006320
6321CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6322
ctillercab52e72015-01-06 13:10:23 -08006323CHTTP2_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 -08006324
nnoble69ac39f2014-12-12 15:43:38 -08006325ifeq ($(NO_SECURE),true)
6326
Nicolas Noble047b7272015-01-16 13:55:05 -08006327# You can't build secure targets if you don't have OpenSSL with ALPN.
6328
ctillercab52e72015-01-06 13:10:23 -08006329bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006330
6331else
6332
nnoble5f2ecb32015-01-12 16:40:18 -08006333bins/$(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 -08006334 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006335 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006336 $(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 -08006337
nnoble69ac39f2014-12-12 15:43:38 -08006338endif
6339
Craig Tillerd4773f52015-01-12 16:38:47 -08006340
Craig Tiller8f126a62015-01-15 08:50:19 -08006341deps_chttp2_fullstack_cancel_after_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006342
nnoble69ac39f2014-12-12 15:43:38 -08006343ifneq ($(NO_SECURE),true)
6344ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006345-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006346endif
nnoble69ac39f2014-12-12 15:43:38 -08006347endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006348
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006349
6350CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
6351
ctillercab52e72015-01-06 13:10:23 -08006352CHTTP2_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 -08006353
nnoble69ac39f2014-12-12 15:43:38 -08006354ifeq ($(NO_SECURE),true)
6355
Nicolas Noble047b7272015-01-16 13:55:05 -08006356# You can't build secure targets if you don't have OpenSSL with ALPN.
6357
ctillercab52e72015-01-06 13:10:23 -08006358bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006359
6360else
6361
nnoble5f2ecb32015-01-12 16:40:18 -08006362bins/$(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 -08006363 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006364 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006365 $(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 -08006366
nnoble69ac39f2014-12-12 15:43:38 -08006367endif
6368
Craig Tillerd4773f52015-01-12 16:38:47 -08006369
Craig Tiller8f126a62015-01-15 08:50:19 -08006370deps_chttp2_fullstack_cancel_before_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006371
nnoble69ac39f2014-12-12 15:43:38 -08006372ifneq ($(NO_SECURE),true)
6373ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006374-include $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006375endif
nnoble69ac39f2014-12-12 15:43:38 -08006376endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006377
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006378
6379CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
6380
ctillercab52e72015-01-06 13:10:23 -08006381CHTTP2_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 -08006382
nnoble69ac39f2014-12-12 15:43:38 -08006383ifeq ($(NO_SECURE),true)
6384
Nicolas Noble047b7272015-01-16 13:55:05 -08006385# You can't build secure targets if you don't have OpenSSL with ALPN.
6386
ctillercab52e72015-01-06 13:10:23 -08006387bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006388
6389else
6390
nnoble5f2ecb32015-01-12 16:40:18 -08006391bins/$(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 -08006392 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006393 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006394 $(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 -08006395
nnoble69ac39f2014-12-12 15:43:38 -08006396endif
6397
Craig Tillerd4773f52015-01-12 16:38:47 -08006398
Craig Tiller8f126a62015-01-15 08:50:19 -08006399deps_chttp2_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006400
nnoble69ac39f2014-12-12 15:43:38 -08006401ifneq ($(NO_SECURE),true)
6402ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006403-include $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006404endif
nnoble69ac39f2014-12-12 15:43:38 -08006405endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006406
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006407
hongyu24200d32015-01-08 15:13:49 -08006408CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
6409
6410CHTTP2_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 -08006411
6412ifeq ($(NO_SECURE),true)
6413
Nicolas Noble047b7272015-01-16 13:55:05 -08006414# You can't build secure targets if you don't have OpenSSL with ALPN.
6415
hongyu24200d32015-01-08 15:13:49 -08006416bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test: openssl_dep_error
6417
6418else
6419
nnoble5f2ecb32015-01-12 16:40:18 -08006420bins/$(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 -08006421 $(E) "[LD] Linking $@"
6422 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006423 $(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 -08006424
6425endif
6426
Craig Tillerd4773f52015-01-12 16:38:47 -08006427
Craig Tiller8f126a62015-01-15 08:50:19 -08006428deps_chttp2_fullstack_census_simple_request_test: $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006429
6430ifneq ($(NO_SECURE),true)
6431ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006432-include $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006433endif
6434endif
6435
hongyu24200d32015-01-08 15:13:49 -08006436
ctillerc6d61c42014-12-15 14:52:08 -08006437CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
6438
ctillercab52e72015-01-06 13:10:23 -08006439CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08006440
6441ifeq ($(NO_SECURE),true)
6442
Nicolas Noble047b7272015-01-16 13:55:05 -08006443# You can't build secure targets if you don't have OpenSSL with ALPN.
6444
ctillercab52e72015-01-06 13:10:23 -08006445bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08006446
6447else
6448
nnoble5f2ecb32015-01-12 16:40:18 -08006449bins/$(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 -08006450 $(E) "[LD] Linking $@"
6451 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006452 $(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 -08006453
6454endif
6455
Craig Tillerd4773f52015-01-12 16:38:47 -08006456
Craig Tiller8f126a62015-01-15 08:50:19 -08006457deps_chttp2_fullstack_disappearing_server_test: $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006458
6459ifneq ($(NO_SECURE),true)
6460ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006461-include $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006462endif
6463endif
6464
ctillerc6d61c42014-12-15 14:52:08 -08006465
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006466CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
6467
ctillercab52e72015-01-06 13:10:23 -08006468CHTTP2_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 -08006469
nnoble69ac39f2014-12-12 15:43:38 -08006470ifeq ($(NO_SECURE),true)
6471
Nicolas Noble047b7272015-01-16 13:55:05 -08006472# You can't build secure targets if you don't have OpenSSL with ALPN.
6473
ctillercab52e72015-01-06 13:10:23 -08006474bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006475
6476else
6477
nnoble5f2ecb32015-01-12 16:40:18 -08006478bins/$(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 -08006479 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006480 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006481 $(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 -08006482
nnoble69ac39f2014-12-12 15:43:38 -08006483endif
6484
Craig Tillerd4773f52015-01-12 16:38:47 -08006485
Craig Tiller8f126a62015-01-15 08:50:19 -08006486deps_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 -08006487
nnoble69ac39f2014-12-12 15:43:38 -08006488ifneq ($(NO_SECURE),true)
6489ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006490-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006491endif
nnoble69ac39f2014-12-12 15:43:38 -08006492endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006493
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006494
6495CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
6496
ctillercab52e72015-01-06 13:10:23 -08006497CHTTP2_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 -08006498
nnoble69ac39f2014-12-12 15:43:38 -08006499ifeq ($(NO_SECURE),true)
6500
Nicolas Noble047b7272015-01-16 13:55:05 -08006501# You can't build secure targets if you don't have OpenSSL with ALPN.
6502
ctillercab52e72015-01-06 13:10:23 -08006503bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006504
6505else
6506
nnoble5f2ecb32015-01-12 16:40:18 -08006507bins/$(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 -08006508 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006509 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006510 $(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 -08006511
nnoble69ac39f2014-12-12 15:43:38 -08006512endif
6513
Craig Tillerd4773f52015-01-12 16:38:47 -08006514
Craig Tiller8f126a62015-01-15 08:50:19 -08006515deps_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 -08006516
nnoble69ac39f2014-12-12 15:43:38 -08006517ifneq ($(NO_SECURE),true)
6518ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006519-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006520endif
nnoble69ac39f2014-12-12 15:43:38 -08006521endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006522
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006523
Craig Tiller4ffdcd52015-01-16 11:34:55 -08006524CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
6525
6526CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
6527
6528ifeq ($(NO_SECURE),true)
6529
Chen Wang86af8cf2015-01-21 18:05:40 -08006530# You can't build secure targets if you don't have OpenSSL with ALPN.
6531
Craig Tiller4ffdcd52015-01-16 11:34:55 -08006532bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test: openssl_dep_error
6533
6534else
6535
6536bins/$(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
6537 $(E) "[LD] Linking $@"
6538 $(Q) mkdir -p `dirname $@`
6539 $(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
6540
6541endif
6542
6543
6544deps_chttp2_fullstack_graceful_server_shutdown_test: $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
6545
6546ifneq ($(NO_SECURE),true)
6547ifneq ($(NO_DEPS),true)
6548-include $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
6549endif
6550endif
6551
6552
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006553CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
6554
ctillercab52e72015-01-06 13:10:23 -08006555CHTTP2_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 -08006556
nnoble69ac39f2014-12-12 15:43:38 -08006557ifeq ($(NO_SECURE),true)
6558
Nicolas Noble047b7272015-01-16 13:55:05 -08006559# You can't build secure targets if you don't have OpenSSL with ALPN.
6560
ctillercab52e72015-01-06 13:10:23 -08006561bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006562
6563else
6564
nnoble5f2ecb32015-01-12 16:40:18 -08006565bins/$(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 -08006566 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006567 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006568 $(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 -08006569
nnoble69ac39f2014-12-12 15:43:38 -08006570endif
6571
Craig Tillerd4773f52015-01-12 16:38:47 -08006572
Craig Tiller8f126a62015-01-15 08:50:19 -08006573deps_chttp2_fullstack_invoke_large_request_test: $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006574
nnoble69ac39f2014-12-12 15:43:38 -08006575ifneq ($(NO_SECURE),true)
6576ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006577-include $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006578endif
nnoble69ac39f2014-12-12 15:43:38 -08006579endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006580
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006581
6582CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
6583
ctillercab52e72015-01-06 13:10:23 -08006584CHTTP2_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 -08006585
nnoble69ac39f2014-12-12 15:43:38 -08006586ifeq ($(NO_SECURE),true)
6587
Nicolas Noble047b7272015-01-16 13:55:05 -08006588# You can't build secure targets if you don't have OpenSSL with ALPN.
6589
ctillercab52e72015-01-06 13:10:23 -08006590bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006591
6592else
6593
nnoble5f2ecb32015-01-12 16:40:18 -08006594bins/$(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 -08006595 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006596 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006597 $(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 -08006598
nnoble69ac39f2014-12-12 15:43:38 -08006599endif
6600
Craig Tillerd4773f52015-01-12 16:38:47 -08006601
Craig Tiller8f126a62015-01-15 08:50:19 -08006602deps_chttp2_fullstack_max_concurrent_streams_test: $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006603
nnoble69ac39f2014-12-12 15:43:38 -08006604ifneq ($(NO_SECURE),true)
6605ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006606-include $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006607endif
nnoble69ac39f2014-12-12 15:43:38 -08006608endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006609
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006610
6611CHTTP2_FULLSTACK_NO_OP_TEST_SRC = \
6612
ctillercab52e72015-01-06 13:10:23 -08006613CHTTP2_FULLSTACK_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_NO_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006614
nnoble69ac39f2014-12-12 15:43:38 -08006615ifeq ($(NO_SECURE),true)
6616
Nicolas Noble047b7272015-01-16 13:55:05 -08006617# You can't build secure targets if you don't have OpenSSL with ALPN.
6618
ctillercab52e72015-01-06 13:10:23 -08006619bins/$(CONFIG)/chttp2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006620
6621else
6622
nnoble5f2ecb32015-01-12 16:40:18 -08006623bins/$(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 -08006624 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006625 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006626 $(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 -08006627
nnoble69ac39f2014-12-12 15:43:38 -08006628endif
6629
Craig Tillerd4773f52015-01-12 16:38:47 -08006630
Craig Tiller8f126a62015-01-15 08:50:19 -08006631deps_chttp2_fullstack_no_op_test: $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006632
nnoble69ac39f2014-12-12 15:43:38 -08006633ifneq ($(NO_SECURE),true)
6634ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006635-include $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006636endif
nnoble69ac39f2014-12-12 15:43:38 -08006637endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006638
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006639
6640CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
6641
ctillercab52e72015-01-06 13:10:23 -08006642CHTTP2_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 -08006643
nnoble69ac39f2014-12-12 15:43:38 -08006644ifeq ($(NO_SECURE),true)
6645
Nicolas Noble047b7272015-01-16 13:55:05 -08006646# You can't build secure targets if you don't have OpenSSL with ALPN.
6647
ctillercab52e72015-01-06 13:10:23 -08006648bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006649
6650else
6651
nnoble5f2ecb32015-01-12 16:40:18 -08006652bins/$(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 -08006653 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006654 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006655 $(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 -08006656
nnoble69ac39f2014-12-12 15:43:38 -08006657endif
6658
Craig Tillerd4773f52015-01-12 16:38:47 -08006659
Craig Tiller8f126a62015-01-15 08:50:19 -08006660deps_chttp2_fullstack_ping_pong_streaming_test: $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006661
nnoble69ac39f2014-12-12 15:43:38 -08006662ifneq ($(NO_SECURE),true)
6663ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006664-include $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006665endif
nnoble69ac39f2014-12-12 15:43:38 -08006666endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006667
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006668
ctiller33023c42014-12-12 16:28:33 -08006669CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
6670
ctillercab52e72015-01-06 13:10:23 -08006671CHTTP2_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 -08006672
6673ifeq ($(NO_SECURE),true)
6674
Nicolas Noble047b7272015-01-16 13:55:05 -08006675# You can't build secure targets if you don't have OpenSSL with ALPN.
6676
ctillercab52e72015-01-06 13:10:23 -08006677bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08006678
6679else
6680
nnoble5f2ecb32015-01-12 16:40:18 -08006681bins/$(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 -08006682 $(E) "[LD] Linking $@"
6683 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006684 $(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 -08006685
6686endif
6687
Craig Tillerd4773f52015-01-12 16:38:47 -08006688
Craig Tiller8f126a62015-01-15 08:50:19 -08006689deps_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 -08006690
6691ifneq ($(NO_SECURE),true)
6692ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006693-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006694endif
6695endif
6696
ctiller33023c42014-12-12 16:28:33 -08006697
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006698CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
6699
ctillercab52e72015-01-06 13:10:23 -08006700CHTTP2_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 -08006701
nnoble69ac39f2014-12-12 15:43:38 -08006702ifeq ($(NO_SECURE),true)
6703
Nicolas Noble047b7272015-01-16 13:55:05 -08006704# You can't build secure targets if you don't have OpenSSL with ALPN.
6705
ctillercab52e72015-01-06 13:10:23 -08006706bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006707
6708else
6709
nnoble5f2ecb32015-01-12 16:40:18 -08006710bins/$(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 -08006711 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006712 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006713 $(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 -08006714
nnoble69ac39f2014-12-12 15:43:38 -08006715endif
6716
Craig Tillerd4773f52015-01-12 16:38:47 -08006717
Craig Tiller8f126a62015-01-15 08:50:19 -08006718deps_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 -08006719
nnoble69ac39f2014-12-12 15:43:38 -08006720ifneq ($(NO_SECURE),true)
6721ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006722-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006723endif
nnoble69ac39f2014-12-12 15:43:38 -08006724endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006725
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006726
6727CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
6728
ctillercab52e72015-01-06 13:10:23 -08006729CHTTP2_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 -08006730
nnoble69ac39f2014-12-12 15:43:38 -08006731ifeq ($(NO_SECURE),true)
6732
Nicolas Noble047b7272015-01-16 13:55:05 -08006733# You can't build secure targets if you don't have OpenSSL with ALPN.
6734
ctillercab52e72015-01-06 13:10:23 -08006735bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006736
6737else
6738
nnoble5f2ecb32015-01-12 16:40:18 -08006739bins/$(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 -08006740 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006741 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006742 $(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 -08006743
nnoble69ac39f2014-12-12 15:43:38 -08006744endif
6745
Craig Tillerd4773f52015-01-12 16:38:47 -08006746
Craig Tiller8f126a62015-01-15 08:50:19 -08006747deps_chttp2_fullstack_request_response_with_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006748
nnoble69ac39f2014-12-12 15:43:38 -08006749ifneq ($(NO_SECURE),true)
6750ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006751-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006752endif
nnoble69ac39f2014-12-12 15:43:38 -08006753endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006754
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006755
ctiller2845cad2014-12-15 15:14:12 -08006756CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
6757
ctillercab52e72015-01-06 13:10:23 -08006758CHTTP2_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 -08006759
6760ifeq ($(NO_SECURE),true)
6761
Nicolas Noble047b7272015-01-16 13:55:05 -08006762# You can't build secure targets if you don't have OpenSSL with ALPN.
6763
ctillercab52e72015-01-06 13:10:23 -08006764bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08006765
6766else
6767
nnoble5f2ecb32015-01-12 16:40:18 -08006768bins/$(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 -08006769 $(E) "[LD] Linking $@"
6770 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006771 $(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 -08006772
6773endif
6774
Craig Tillerd4773f52015-01-12 16:38:47 -08006775
Craig Tiller8f126a62015-01-15 08:50:19 -08006776deps_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 -08006777
6778ifneq ($(NO_SECURE),true)
6779ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006780-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006781endif
6782endif
6783
ctiller2845cad2014-12-15 15:14:12 -08006784
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006785CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6786
ctillercab52e72015-01-06 13:10:23 -08006787CHTTP2_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 -08006788
nnoble69ac39f2014-12-12 15:43:38 -08006789ifeq ($(NO_SECURE),true)
6790
Nicolas Noble047b7272015-01-16 13:55:05 -08006791# You can't build secure targets if you don't have OpenSSL with ALPN.
6792
ctillercab52e72015-01-06 13:10:23 -08006793bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006794
6795else
6796
nnoble5f2ecb32015-01-12 16:40:18 -08006797bins/$(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 -08006798 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006799 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006800 $(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 -08006801
nnoble69ac39f2014-12-12 15:43:38 -08006802endif
6803
Craig Tillerd4773f52015-01-12 16:38:47 -08006804
Craig Tiller8f126a62015-01-15 08:50:19 -08006805deps_chttp2_fullstack_simple_delayed_request_test: $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006806
nnoble69ac39f2014-12-12 15:43:38 -08006807ifneq ($(NO_SECURE),true)
6808ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006809-include $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006810endif
nnoble69ac39f2014-12-12 15:43:38 -08006811endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006812
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006813
6814CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
6815
ctillercab52e72015-01-06 13:10:23 -08006816CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006817
nnoble69ac39f2014-12-12 15:43:38 -08006818ifeq ($(NO_SECURE),true)
6819
Nicolas Noble047b7272015-01-16 13:55:05 -08006820# You can't build secure targets if you don't have OpenSSL with ALPN.
6821
ctillercab52e72015-01-06 13:10:23 -08006822bins/$(CONFIG)/chttp2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006823
6824else
6825
nnoble5f2ecb32015-01-12 16:40:18 -08006826bins/$(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 -08006827 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006828 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006829 $(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 -08006830
nnoble69ac39f2014-12-12 15:43:38 -08006831endif
6832
Craig Tillerd4773f52015-01-12 16:38:47 -08006833
Craig Tiller8f126a62015-01-15 08:50:19 -08006834deps_chttp2_fullstack_simple_request_test: $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006835
nnoble69ac39f2014-12-12 15:43:38 -08006836ifneq ($(NO_SECURE),true)
6837ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006838-include $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006839endif
nnoble69ac39f2014-12-12 15:43:38 -08006840endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006841
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006842
nathaniel52878172014-12-09 10:17:19 -08006843CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006844
ctillercab52e72015-01-06 13:10:23 -08006845CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006846
nnoble69ac39f2014-12-12 15:43:38 -08006847ifeq ($(NO_SECURE),true)
6848
Nicolas Noble047b7272015-01-16 13:55:05 -08006849# You can't build secure targets if you don't have OpenSSL with ALPN.
6850
ctillercab52e72015-01-06 13:10:23 -08006851bins/$(CONFIG)/chttp2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006852
6853else
6854
nnoble5f2ecb32015-01-12 16:40:18 -08006855bins/$(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 -08006856 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006857 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006858 $(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 -08006859
nnoble69ac39f2014-12-12 15:43:38 -08006860endif
6861
Craig Tillerd4773f52015-01-12 16:38:47 -08006862
Craig Tiller8f126a62015-01-15 08:50:19 -08006863deps_chttp2_fullstack_thread_stress_test: $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006864
nnoble69ac39f2014-12-12 15:43:38 -08006865ifneq ($(NO_SECURE),true)
6866ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006867-include $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006868endif
nnoble69ac39f2014-12-12 15:43:38 -08006869endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006870
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006871
6872CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6873
ctillercab52e72015-01-06 13:10:23 -08006874CHTTP2_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 -08006875
nnoble69ac39f2014-12-12 15:43:38 -08006876ifeq ($(NO_SECURE),true)
6877
Nicolas Noble047b7272015-01-16 13:55:05 -08006878# You can't build secure targets if you don't have OpenSSL with ALPN.
6879
ctillercab52e72015-01-06 13:10:23 -08006880bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006881
6882else
6883
nnoble5f2ecb32015-01-12 16:40:18 -08006884bins/$(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 -08006885 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006886 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006887 $(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 -08006888
nnoble69ac39f2014-12-12 15:43:38 -08006889endif
6890
Craig Tillerd4773f52015-01-12 16:38:47 -08006891
Craig Tiller8f126a62015-01-15 08:50:19 -08006892deps_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 -08006893
nnoble69ac39f2014-12-12 15:43:38 -08006894ifneq ($(NO_SECURE),true)
6895ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006896-include $(CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006897endif
nnoble69ac39f2014-12-12 15:43:38 -08006898endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006899
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006900
6901CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6902
ctillercab52e72015-01-06 13:10:23 -08006903CHTTP2_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 -08006904
nnoble69ac39f2014-12-12 15:43:38 -08006905ifeq ($(NO_SECURE),true)
6906
Nicolas Noble047b7272015-01-16 13:55:05 -08006907# You can't build secure targets if you don't have OpenSSL with ALPN.
6908
ctillercab52e72015-01-06 13:10:23 -08006909bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006910
6911else
6912
nnoble5f2ecb32015-01-12 16:40:18 -08006913bins/$(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 -08006914 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006915 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006916 $(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 -08006917
nnoble69ac39f2014-12-12 15:43:38 -08006918endif
6919
Craig Tillerd4773f52015-01-12 16:38:47 -08006920
Craig Tiller8f126a62015-01-15 08:50:19 -08006921deps_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 -08006922
nnoble69ac39f2014-12-12 15:43:38 -08006923ifneq ($(NO_SECURE),true)
6924ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006925-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006926endif
nnoble69ac39f2014-12-12 15:43:38 -08006927endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006928
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006929
6930CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6931
ctillercab52e72015-01-06 13:10:23 -08006932CHTTP2_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 -08006933
nnoble69ac39f2014-12-12 15:43:38 -08006934ifeq ($(NO_SECURE),true)
6935
Nicolas Noble047b7272015-01-16 13:55:05 -08006936# You can't build secure targets if you don't have OpenSSL with ALPN.
6937
ctillercab52e72015-01-06 13:10:23 -08006938bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006939
6940else
6941
nnoble5f2ecb32015-01-12 16:40:18 -08006942bins/$(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 -08006943 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006944 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006945 $(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 -08006946
nnoble69ac39f2014-12-12 15:43:38 -08006947endif
6948
Craig Tillerd4773f52015-01-12 16:38:47 -08006949
Craig Tiller8f126a62015-01-15 08:50:19 -08006950deps_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 -08006951
nnoble69ac39f2014-12-12 15:43:38 -08006952ifneq ($(NO_SECURE),true)
6953ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006954-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006955endif
nnoble69ac39f2014-12-12 15:43:38 -08006956endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006957
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006958
6959CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6960
ctillercab52e72015-01-06 13:10:23 -08006961CHTTP2_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 -08006962
nnoble69ac39f2014-12-12 15:43:38 -08006963ifeq ($(NO_SECURE),true)
6964
Nicolas Noble047b7272015-01-16 13:55:05 -08006965# You can't build secure targets if you don't have OpenSSL with ALPN.
6966
ctillercab52e72015-01-06 13:10:23 -08006967bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006968
6969else
6970
nnoble5f2ecb32015-01-12 16:40:18 -08006971bins/$(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 -08006972 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006973 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006974 $(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 -08006975
nnoble69ac39f2014-12-12 15:43:38 -08006976endif
6977
Craig Tillerd4773f52015-01-12 16:38:47 -08006978
Craig Tiller8f126a62015-01-15 08:50:19 -08006979deps_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 -08006980
nnoble69ac39f2014-12-12 15:43:38 -08006981ifneq ($(NO_SECURE),true)
6982ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006983-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006984endif
nnoble69ac39f2014-12-12 15:43:38 -08006985endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006986
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006987
6988CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
6989
ctillercab52e72015-01-06 13:10:23 -08006990CHTTP2_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 -08006991
nnoble69ac39f2014-12-12 15:43:38 -08006992ifeq ($(NO_SECURE),true)
6993
Nicolas Noble047b7272015-01-16 13:55:05 -08006994# You can't build secure targets if you don't have OpenSSL with ALPN.
6995
ctillercab52e72015-01-06 13:10:23 -08006996bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006997
6998else
6999
nnoble5f2ecb32015-01-12 16:40:18 -08007000bins/$(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 -08007001 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007002 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007003 $(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 -08007004
nnoble69ac39f2014-12-12 15:43:38 -08007005endif
7006
Craig Tillerd4773f52015-01-12 16:38:47 -08007007
Craig Tiller8f126a62015-01-15 08:50:19 -08007008deps_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 -08007009
nnoble69ac39f2014-12-12 15:43:38 -08007010ifneq ($(NO_SECURE),true)
7011ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007012-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007013endif
nnoble69ac39f2014-12-12 15:43:38 -08007014endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007015
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007016
7017CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
7018
ctillercab52e72015-01-06 13:10:23 -08007019CHTTP2_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 -08007020
nnoble69ac39f2014-12-12 15:43:38 -08007021ifeq ($(NO_SECURE),true)
7022
Nicolas Noble047b7272015-01-16 13:55:05 -08007023# You can't build secure targets if you don't have OpenSSL with ALPN.
7024
ctillercab52e72015-01-06 13:10:23 -08007025bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007026
7027else
7028
nnoble5f2ecb32015-01-12 16:40:18 -08007029bins/$(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 -08007030 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007031 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007032 $(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 -08007033
nnoble69ac39f2014-12-12 15:43:38 -08007034endif
7035
Craig Tillerd4773f52015-01-12 16:38:47 -08007036
Craig Tiller8f126a62015-01-15 08:50:19 -08007037deps_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 -08007038
nnoble69ac39f2014-12-12 15:43:38 -08007039ifneq ($(NO_SECURE),true)
7040ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007041-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007042endif
nnoble69ac39f2014-12-12 15:43:38 -08007043endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007044
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007045
hongyu24200d32015-01-08 15:13:49 -08007046CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
7047
7048CHTTP2_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 -08007049
7050ifeq ($(NO_SECURE),true)
7051
Nicolas Noble047b7272015-01-16 13:55:05 -08007052# You can't build secure targets if you don't have OpenSSL with ALPN.
7053
hongyu24200d32015-01-08 15:13:49 -08007054bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test: openssl_dep_error
7055
7056else
7057
nnoble5f2ecb32015-01-12 16:40:18 -08007058bins/$(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 -08007059 $(E) "[LD] Linking $@"
7060 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007061 $(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 -08007062
7063endif
7064
Craig Tillerd4773f52015-01-12 16:38:47 -08007065
Craig Tiller8f126a62015-01-15 08:50:19 -08007066deps_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 -08007067
7068ifneq ($(NO_SECURE),true)
7069ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007070-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007071endif
7072endif
7073
hongyu24200d32015-01-08 15:13:49 -08007074
ctillerc6d61c42014-12-15 14:52:08 -08007075CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
7076
ctillercab52e72015-01-06 13:10:23 -08007077CHTTP2_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 -08007078
7079ifeq ($(NO_SECURE),true)
7080
Nicolas Noble047b7272015-01-16 13:55:05 -08007081# You can't build secure targets if you don't have OpenSSL with ALPN.
7082
ctillercab52e72015-01-06 13:10:23 -08007083bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08007084
7085else
7086
nnoble5f2ecb32015-01-12 16:40:18 -08007087bins/$(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 -08007088 $(E) "[LD] Linking $@"
7089 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007090 $(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 -08007091
7092endif
7093
Craig Tillerd4773f52015-01-12 16:38:47 -08007094
Craig Tiller8f126a62015-01-15 08:50:19 -08007095deps_chttp2_simple_ssl_fullstack_disappearing_server_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007096
7097ifneq ($(NO_SECURE),true)
7098ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007099-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007100endif
7101endif
7102
ctillerc6d61c42014-12-15 14:52:08 -08007103
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007104CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
7105
ctillercab52e72015-01-06 13:10:23 -08007106CHTTP2_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 -08007107
nnoble69ac39f2014-12-12 15:43:38 -08007108ifeq ($(NO_SECURE),true)
7109
Nicolas Noble047b7272015-01-16 13:55:05 -08007110# You can't build secure targets if you don't have OpenSSL with ALPN.
7111
ctillercab52e72015-01-06 13:10:23 -08007112bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007113
7114else
7115
nnoble5f2ecb32015-01-12 16:40:18 -08007116bins/$(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 -08007117 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007118 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007119 $(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 -08007120
nnoble69ac39f2014-12-12 15:43:38 -08007121endif
7122
Craig Tillerd4773f52015-01-12 16:38:47 -08007123
Craig Tiller8f126a62015-01-15 08:50:19 -08007124deps_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 -08007125
nnoble69ac39f2014-12-12 15:43:38 -08007126ifneq ($(NO_SECURE),true)
7127ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007128-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007129endif
nnoble69ac39f2014-12-12 15:43:38 -08007130endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007131
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007132
7133CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7134
ctillercab52e72015-01-06 13:10:23 -08007135CHTTP2_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 -08007136
nnoble69ac39f2014-12-12 15:43:38 -08007137ifeq ($(NO_SECURE),true)
7138
Nicolas Noble047b7272015-01-16 13:55:05 -08007139# You can't build secure targets if you don't have OpenSSL with ALPN.
7140
ctillercab52e72015-01-06 13:10:23 -08007141bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007142
7143else
7144
nnoble5f2ecb32015-01-12 16:40:18 -08007145bins/$(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 -08007146 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007147 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007148 $(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 -08007149
nnoble69ac39f2014-12-12 15:43:38 -08007150endif
7151
Craig Tillerd4773f52015-01-12 16:38:47 -08007152
Craig Tiller8f126a62015-01-15 08:50:19 -08007153deps_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 -08007154
nnoble69ac39f2014-12-12 15:43:38 -08007155ifneq ($(NO_SECURE),true)
7156ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007157-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007158endif
nnoble69ac39f2014-12-12 15:43:38 -08007159endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007160
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007161
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007162CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
7163
7164CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
7165
7166ifeq ($(NO_SECURE),true)
7167
Chen Wang86af8cf2015-01-21 18:05:40 -08007168# You can't build secure targets if you don't have OpenSSL with ALPN.
7169
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007170bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: openssl_dep_error
7171
7172else
7173
7174bins/$(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
7175 $(E) "[LD] Linking $@"
7176 $(Q) mkdir -p `dirname $@`
7177 $(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
7178
7179endif
7180
7181
7182deps_chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7183
7184ifneq ($(NO_SECURE),true)
7185ifneq ($(NO_DEPS),true)
7186-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7187endif
7188endif
7189
7190
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007191CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7192
ctillercab52e72015-01-06 13:10:23 -08007193CHTTP2_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 -08007194
nnoble69ac39f2014-12-12 15:43:38 -08007195ifeq ($(NO_SECURE),true)
7196
Nicolas Noble047b7272015-01-16 13:55:05 -08007197# You can't build secure targets if you don't have OpenSSL with ALPN.
7198
ctillercab52e72015-01-06 13:10:23 -08007199bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007200
7201else
7202
nnoble5f2ecb32015-01-12 16:40:18 -08007203bins/$(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 -08007204 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007205 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007206 $(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 -08007207
nnoble69ac39f2014-12-12 15:43:38 -08007208endif
7209
Craig Tillerd4773f52015-01-12 16:38:47 -08007210
Craig Tiller8f126a62015-01-15 08:50:19 -08007211deps_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 -08007212
nnoble69ac39f2014-12-12 15:43:38 -08007213ifneq ($(NO_SECURE),true)
7214ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007215-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007216endif
nnoble69ac39f2014-12-12 15:43:38 -08007217endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007218
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007219
7220CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7221
ctillercab52e72015-01-06 13:10:23 -08007222CHTTP2_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 -08007223
nnoble69ac39f2014-12-12 15:43:38 -08007224ifeq ($(NO_SECURE),true)
7225
Nicolas Noble047b7272015-01-16 13:55:05 -08007226# You can't build secure targets if you don't have OpenSSL with ALPN.
7227
ctillercab52e72015-01-06 13:10:23 -08007228bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007229
7230else
7231
nnoble5f2ecb32015-01-12 16:40:18 -08007232bins/$(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 -08007233 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007234 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007235 $(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 -08007236
nnoble69ac39f2014-12-12 15:43:38 -08007237endif
7238
Craig Tillerd4773f52015-01-12 16:38:47 -08007239
Craig Tiller8f126a62015-01-15 08:50:19 -08007240deps_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 -08007241
nnoble69ac39f2014-12-12 15:43:38 -08007242ifneq ($(NO_SECURE),true)
7243ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007244-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007245endif
nnoble69ac39f2014-12-12 15:43:38 -08007246endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007247
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007248
7249CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_SRC = \
7250
ctillercab52e72015-01-06 13:10:23 -08007251CHTTP2_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 -08007252
nnoble69ac39f2014-12-12 15:43:38 -08007253ifeq ($(NO_SECURE),true)
7254
Nicolas Noble047b7272015-01-16 13:55:05 -08007255# You can't build secure targets if you don't have OpenSSL with ALPN.
7256
ctillercab52e72015-01-06 13:10:23 -08007257bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007258
7259else
7260
nnoble5f2ecb32015-01-12 16:40:18 -08007261bins/$(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 -08007262 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007263 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007264 $(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 -08007265
nnoble69ac39f2014-12-12 15:43:38 -08007266endif
7267
Craig Tillerd4773f52015-01-12 16:38:47 -08007268
Craig Tiller8f126a62015-01-15 08:50:19 -08007269deps_chttp2_simple_ssl_fullstack_no_op_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007270
nnoble69ac39f2014-12-12 15:43:38 -08007271ifneq ($(NO_SECURE),true)
7272ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007273-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007274endif
nnoble69ac39f2014-12-12 15:43:38 -08007275endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007276
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007277
7278CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7279
ctillercab52e72015-01-06 13:10:23 -08007280CHTTP2_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 -08007281
nnoble69ac39f2014-12-12 15:43:38 -08007282ifeq ($(NO_SECURE),true)
7283
Nicolas Noble047b7272015-01-16 13:55:05 -08007284# You can't build secure targets if you don't have OpenSSL with ALPN.
7285
ctillercab52e72015-01-06 13:10:23 -08007286bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007287
7288else
7289
nnoble5f2ecb32015-01-12 16:40:18 -08007290bins/$(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 -08007291 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007292 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007293 $(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 -08007294
nnoble69ac39f2014-12-12 15:43:38 -08007295endif
7296
Craig Tillerd4773f52015-01-12 16:38:47 -08007297
Craig Tiller8f126a62015-01-15 08:50:19 -08007298deps_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 -08007299
nnoble69ac39f2014-12-12 15:43:38 -08007300ifneq ($(NO_SECURE),true)
7301ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007302-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007303endif
nnoble69ac39f2014-12-12 15:43:38 -08007304endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007305
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007306
ctiller33023c42014-12-12 16:28:33 -08007307CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7308
ctillercab52e72015-01-06 13:10:23 -08007309CHTTP2_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 -08007310
7311ifeq ($(NO_SECURE),true)
7312
Nicolas Noble047b7272015-01-16 13:55:05 -08007313# You can't build secure targets if you don't have OpenSSL with ALPN.
7314
ctillercab52e72015-01-06 13:10:23 -08007315bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007316
7317else
7318
nnoble5f2ecb32015-01-12 16:40:18 -08007319bins/$(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 -08007320 $(E) "[LD] Linking $@"
7321 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007322 $(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 -08007323
7324endif
7325
Craig Tillerd4773f52015-01-12 16:38:47 -08007326
Craig Tiller8f126a62015-01-15 08:50:19 -08007327deps_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 -08007328
7329ifneq ($(NO_SECURE),true)
7330ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007331-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007332endif
7333endif
7334
ctiller33023c42014-12-12 16:28:33 -08007335
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007336CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7337
ctillercab52e72015-01-06 13:10:23 -08007338CHTTP2_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 -08007339
nnoble69ac39f2014-12-12 15:43:38 -08007340ifeq ($(NO_SECURE),true)
7341
Nicolas Noble047b7272015-01-16 13:55:05 -08007342# You can't build secure targets if you don't have OpenSSL with ALPN.
7343
ctillercab52e72015-01-06 13:10:23 -08007344bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007345
7346else
7347
nnoble5f2ecb32015-01-12 16:40:18 -08007348bins/$(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 -08007349 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007350 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007351 $(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 -08007352
nnoble69ac39f2014-12-12 15:43:38 -08007353endif
7354
Craig Tillerd4773f52015-01-12 16:38:47 -08007355
Craig Tiller8f126a62015-01-15 08:50:19 -08007356deps_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 -08007357
nnoble69ac39f2014-12-12 15:43:38 -08007358ifneq ($(NO_SECURE),true)
7359ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007360-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007361endif
nnoble69ac39f2014-12-12 15:43:38 -08007362endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007363
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007364
7365CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
7366
ctillercab52e72015-01-06 13:10:23 -08007367CHTTP2_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 -08007368
nnoble69ac39f2014-12-12 15:43:38 -08007369ifeq ($(NO_SECURE),true)
7370
Nicolas Noble047b7272015-01-16 13:55:05 -08007371# You can't build secure targets if you don't have OpenSSL with ALPN.
7372
ctillercab52e72015-01-06 13:10:23 -08007373bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007374
7375else
7376
nnoble5f2ecb32015-01-12 16:40:18 -08007377bins/$(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 -08007378 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007379 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007380 $(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 -08007381
nnoble69ac39f2014-12-12 15:43:38 -08007382endif
7383
Craig Tillerd4773f52015-01-12 16:38:47 -08007384
Craig Tiller8f126a62015-01-15 08:50:19 -08007385deps_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 -08007386
nnoble69ac39f2014-12-12 15:43:38 -08007387ifneq ($(NO_SECURE),true)
7388ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007389-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007390endif
nnoble69ac39f2014-12-12 15:43:38 -08007391endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007392
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007393
ctiller2845cad2014-12-15 15:14:12 -08007394CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
7395
ctillercab52e72015-01-06 13:10:23 -08007396CHTTP2_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 -08007397
7398ifeq ($(NO_SECURE),true)
7399
Nicolas Noble047b7272015-01-16 13:55:05 -08007400# You can't build secure targets if you don't have OpenSSL with ALPN.
7401
ctillercab52e72015-01-06 13:10:23 -08007402bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08007403
7404else
7405
nnoble5f2ecb32015-01-12 16:40:18 -08007406bins/$(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 -08007407 $(E) "[LD] Linking $@"
7408 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007409 $(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 -08007410
7411endif
7412
Craig Tillerd4773f52015-01-12 16:38:47 -08007413
Craig Tiller8f126a62015-01-15 08:50:19 -08007414deps_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 -08007415
7416ifneq ($(NO_SECURE),true)
7417ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007418-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08007419endif
7420endif
7421
ctiller2845cad2014-12-15 15:14:12 -08007422
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007423CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
7424
ctillercab52e72015-01-06 13:10:23 -08007425CHTTP2_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 -08007426
nnoble69ac39f2014-12-12 15:43:38 -08007427ifeq ($(NO_SECURE),true)
7428
Nicolas Noble047b7272015-01-16 13:55:05 -08007429# You can't build secure targets if you don't have OpenSSL with ALPN.
7430
ctillercab52e72015-01-06 13:10:23 -08007431bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007432
7433else
7434
nnoble5f2ecb32015-01-12 16:40:18 -08007435bins/$(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 -08007436 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007437 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007438 $(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 -08007439
nnoble69ac39f2014-12-12 15:43:38 -08007440endif
7441
Craig Tillerd4773f52015-01-12 16:38:47 -08007442
Craig Tiller8f126a62015-01-15 08:50:19 -08007443deps_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 -08007444
nnoble69ac39f2014-12-12 15:43:38 -08007445ifneq ($(NO_SECURE),true)
7446ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007447-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007448endif
nnoble69ac39f2014-12-12 15:43:38 -08007449endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007450
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007451
7452CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
7453
ctillercab52e72015-01-06 13:10:23 -08007454CHTTP2_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 -08007455
nnoble69ac39f2014-12-12 15:43:38 -08007456ifeq ($(NO_SECURE),true)
7457
Nicolas Noble047b7272015-01-16 13:55:05 -08007458# You can't build secure targets if you don't have OpenSSL with ALPN.
7459
ctillercab52e72015-01-06 13:10:23 -08007460bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007461
7462else
7463
nnoble5f2ecb32015-01-12 16:40:18 -08007464bins/$(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 -08007465 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007466 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007467 $(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 -08007468
nnoble69ac39f2014-12-12 15:43:38 -08007469endif
7470
Craig Tillerd4773f52015-01-12 16:38:47 -08007471
Craig Tiller8f126a62015-01-15 08:50:19 -08007472deps_chttp2_simple_ssl_fullstack_simple_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007473
nnoble69ac39f2014-12-12 15:43:38 -08007474ifneq ($(NO_SECURE),true)
7475ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007476-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007477endif
nnoble69ac39f2014-12-12 15:43:38 -08007478endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007479
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007480
nathaniel52878172014-12-09 10:17:19 -08007481CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007482
ctillercab52e72015-01-06 13:10:23 -08007483CHTTP2_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 -08007484
nnoble69ac39f2014-12-12 15:43:38 -08007485ifeq ($(NO_SECURE),true)
7486
Nicolas Noble047b7272015-01-16 13:55:05 -08007487# You can't build secure targets if you don't have OpenSSL with ALPN.
7488
ctillercab52e72015-01-06 13:10:23 -08007489bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007490
7491else
7492
nnoble5f2ecb32015-01-12 16:40:18 -08007493bins/$(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 -08007494 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007495 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007496 $(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 -08007497
nnoble69ac39f2014-12-12 15:43:38 -08007498endif
7499
Craig Tillerd4773f52015-01-12 16:38:47 -08007500
Craig Tiller8f126a62015-01-15 08:50:19 -08007501deps_chttp2_simple_ssl_fullstack_thread_stress_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007502
nnoble69ac39f2014-12-12 15:43:38 -08007503ifneq ($(NO_SECURE),true)
7504ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007505-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007506endif
nnoble69ac39f2014-12-12 15:43:38 -08007507endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007508
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007509
7510CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
7511
ctillercab52e72015-01-06 13:10:23 -08007512CHTTP2_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 -08007513
nnoble69ac39f2014-12-12 15:43:38 -08007514ifeq ($(NO_SECURE),true)
7515
Nicolas Noble047b7272015-01-16 13:55:05 -08007516# You can't build secure targets if you don't have OpenSSL with ALPN.
7517
ctillercab52e72015-01-06 13:10:23 -08007518bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007519
7520else
7521
nnoble5f2ecb32015-01-12 16:40:18 -08007522bins/$(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 -08007523 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007524 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007525 $(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 -08007526
nnoble69ac39f2014-12-12 15:43:38 -08007527endif
7528
Craig Tillerd4773f52015-01-12 16:38:47 -08007529
Craig Tiller8f126a62015-01-15 08:50:19 -08007530deps_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 -08007531
nnoble69ac39f2014-12-12 15:43:38 -08007532ifneq ($(NO_SECURE),true)
7533ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007534-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007535endif
nnoble69ac39f2014-12-12 15:43:38 -08007536endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007537
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007538
7539CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
7540
ctillercab52e72015-01-06 13:10:23 -08007541CHTTP2_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 -08007542
nnoble69ac39f2014-12-12 15:43:38 -08007543ifeq ($(NO_SECURE),true)
7544
Nicolas Noble047b7272015-01-16 13:55:05 -08007545# You can't build secure targets if you don't have OpenSSL with ALPN.
7546
ctillercab52e72015-01-06 13:10:23 -08007547bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007548
7549else
7550
nnoble5f2ecb32015-01-12 16:40:18 -08007551bins/$(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 -08007552 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007553 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007554 $(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 -08007555
nnoble69ac39f2014-12-12 15:43:38 -08007556endif
7557
Craig Tillerd4773f52015-01-12 16:38:47 -08007558
Craig Tiller8f126a62015-01-15 08:50:19 -08007559deps_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 -08007560
nnoble69ac39f2014-12-12 15:43:38 -08007561ifneq ($(NO_SECURE),true)
7562ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007563-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007564endif
nnoble69ac39f2014-12-12 15:43:38 -08007565endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007566
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007567
7568CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
7569
ctillercab52e72015-01-06 13:10:23 -08007570CHTTP2_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 -08007571
nnoble69ac39f2014-12-12 15:43:38 -08007572ifeq ($(NO_SECURE),true)
7573
Nicolas Noble047b7272015-01-16 13:55:05 -08007574# You can't build secure targets if you don't have OpenSSL with ALPN.
7575
ctillercab52e72015-01-06 13:10:23 -08007576bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007577
7578else
7579
nnoble5f2ecb32015-01-12 16:40:18 -08007580bins/$(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 -08007581 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007582 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007583 $(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 -08007584
nnoble69ac39f2014-12-12 15:43:38 -08007585endif
7586
Craig Tillerd4773f52015-01-12 16:38:47 -08007587
Craig Tiller8f126a62015-01-15 08:50:19 -08007588deps_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 -08007589
nnoble69ac39f2014-12-12 15:43:38 -08007590ifneq ($(NO_SECURE),true)
7591ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007592-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007593endif
nnoble69ac39f2014-12-12 15:43:38 -08007594endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007595
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007596
7597CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
7598
ctillercab52e72015-01-06 13:10:23 -08007599CHTTP2_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 -08007600
nnoble69ac39f2014-12-12 15:43:38 -08007601ifeq ($(NO_SECURE),true)
7602
Nicolas Noble047b7272015-01-16 13:55:05 -08007603# You can't build secure targets if you don't have OpenSSL with ALPN.
7604
ctillercab52e72015-01-06 13:10:23 -08007605bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007606
7607else
7608
nnoble5f2ecb32015-01-12 16:40:18 -08007609bins/$(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 -08007610 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007611 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007612 $(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 -08007613
nnoble69ac39f2014-12-12 15:43:38 -08007614endif
7615
Craig Tillerd4773f52015-01-12 16:38:47 -08007616
Craig Tiller8f126a62015-01-15 08:50:19 -08007617deps_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 -08007618
nnoble69ac39f2014-12-12 15:43:38 -08007619ifneq ($(NO_SECURE),true)
7620ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007621-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007622endif
nnoble69ac39f2014-12-12 15:43:38 -08007623endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007624
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007625
7626CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
7627
ctillercab52e72015-01-06 13:10:23 -08007628CHTTP2_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 -08007629
nnoble69ac39f2014-12-12 15:43:38 -08007630ifeq ($(NO_SECURE),true)
7631
Nicolas Noble047b7272015-01-16 13:55:05 -08007632# You can't build secure targets if you don't have OpenSSL with ALPN.
7633
ctillercab52e72015-01-06 13:10:23 -08007634bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007635
7636else
7637
nnoble5f2ecb32015-01-12 16:40:18 -08007638bins/$(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 -08007639 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007640 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007641 $(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 -08007642
nnoble69ac39f2014-12-12 15:43:38 -08007643endif
7644
Craig Tillerd4773f52015-01-12 16:38:47 -08007645
Craig Tiller8f126a62015-01-15 08:50:19 -08007646deps_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 -08007647
nnoble69ac39f2014-12-12 15:43:38 -08007648ifneq ($(NO_SECURE),true)
7649ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007650-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007651endif
nnoble69ac39f2014-12-12 15:43:38 -08007652endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007653
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007654
7655CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
7656
ctillercab52e72015-01-06 13:10:23 -08007657CHTTP2_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 -08007658
nnoble69ac39f2014-12-12 15:43:38 -08007659ifeq ($(NO_SECURE),true)
7660
Nicolas Noble047b7272015-01-16 13:55:05 -08007661# You can't build secure targets if you don't have OpenSSL with ALPN.
7662
ctillercab52e72015-01-06 13:10:23 -08007663bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007664
7665else
7666
nnoble5f2ecb32015-01-12 16:40:18 -08007667bins/$(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 -08007668 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007669 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007670 $(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 -08007671
nnoble69ac39f2014-12-12 15:43:38 -08007672endif
7673
Craig Tillerd4773f52015-01-12 16:38:47 -08007674
Craig Tiller8f126a62015-01-15 08:50:19 -08007675deps_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 -08007676
nnoble69ac39f2014-12-12 15:43:38 -08007677ifneq ($(NO_SECURE),true)
7678ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007679-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007680endif
nnoble69ac39f2014-12-12 15:43:38 -08007681endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007682
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007683
hongyu24200d32015-01-08 15:13:49 -08007684CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
7685
7686CHTTP2_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 -08007687
7688ifeq ($(NO_SECURE),true)
7689
Nicolas Noble047b7272015-01-16 13:55:05 -08007690# You can't build secure targets if you don't have OpenSSL with ALPN.
7691
hongyu24200d32015-01-08 15:13:49 -08007692bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: openssl_dep_error
7693
7694else
7695
nnoble5f2ecb32015-01-12 16:40:18 -08007696bins/$(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 -08007697 $(E) "[LD] Linking $@"
7698 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007699 $(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 -08007700
7701endif
7702
Craig Tillerd4773f52015-01-12 16:38:47 -08007703
Craig Tiller8f126a62015-01-15 08:50:19 -08007704deps_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 -08007705
7706ifneq ($(NO_SECURE),true)
7707ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007708-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007709endif
7710endif
7711
hongyu24200d32015-01-08 15:13:49 -08007712
ctillerc6d61c42014-12-15 14:52:08 -08007713CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
7714
ctillercab52e72015-01-06 13:10:23 -08007715CHTTP2_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 -08007716
7717ifeq ($(NO_SECURE),true)
7718
Nicolas Noble047b7272015-01-16 13:55:05 -08007719# You can't build secure targets if you don't have OpenSSL with ALPN.
7720
ctillercab52e72015-01-06 13:10:23 -08007721bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08007722
7723else
7724
nnoble5f2ecb32015-01-12 16:40:18 -08007725bins/$(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 -08007726 $(E) "[LD] Linking $@"
7727 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007728 $(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 -08007729
7730endif
7731
Craig Tillerd4773f52015-01-12 16:38:47 -08007732
Craig Tiller8f126a62015-01-15 08:50:19 -08007733deps_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 -08007734
7735ifneq ($(NO_SECURE),true)
7736ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007737-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007738endif
7739endif
7740
ctillerc6d61c42014-12-15 14:52:08 -08007741
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007742CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
7743
ctillercab52e72015-01-06 13:10:23 -08007744CHTTP2_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 -08007745
nnoble69ac39f2014-12-12 15:43:38 -08007746ifeq ($(NO_SECURE),true)
7747
Nicolas Noble047b7272015-01-16 13:55:05 -08007748# You can't build secure targets if you don't have OpenSSL with ALPN.
7749
ctillercab52e72015-01-06 13:10:23 -08007750bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007751
7752else
7753
nnoble5f2ecb32015-01-12 16:40:18 -08007754bins/$(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 -08007755 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007756 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007757 $(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 -08007758
nnoble69ac39f2014-12-12 15:43:38 -08007759endif
7760
Craig Tillerd4773f52015-01-12 16:38:47 -08007761
Craig Tiller8f126a62015-01-15 08:50:19 -08007762deps_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 -08007763
nnoble69ac39f2014-12-12 15:43:38 -08007764ifneq ($(NO_SECURE),true)
7765ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007766-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007767endif
nnoble69ac39f2014-12-12 15:43:38 -08007768endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007769
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007770
7771CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7772
ctillercab52e72015-01-06 13:10:23 -08007773CHTTP2_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 -08007774
nnoble69ac39f2014-12-12 15:43:38 -08007775ifeq ($(NO_SECURE),true)
7776
Nicolas Noble047b7272015-01-16 13:55:05 -08007777# You can't build secure targets if you don't have OpenSSL with ALPN.
7778
ctillercab52e72015-01-06 13:10:23 -08007779bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007780
7781else
7782
nnoble5f2ecb32015-01-12 16:40:18 -08007783bins/$(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 -08007784 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007785 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007786 $(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 -08007787
nnoble69ac39f2014-12-12 15:43:38 -08007788endif
7789
Craig Tillerd4773f52015-01-12 16:38:47 -08007790
Craig Tiller8f126a62015-01-15 08:50:19 -08007791deps_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 -08007792
nnoble69ac39f2014-12-12 15:43:38 -08007793ifneq ($(NO_SECURE),true)
7794ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007795-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007796endif
nnoble69ac39f2014-12-12 15:43:38 -08007797endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007798
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007799
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007800CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
7801
7802CHTTP2_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))))
7803
7804ifeq ($(NO_SECURE),true)
7805
Chen Wang86af8cf2015-01-21 18:05:40 -08007806# You can't build secure targets if you don't have OpenSSL with ALPN.
7807
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007808bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: openssl_dep_error
7809
7810else
7811
7812bins/$(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
7813 $(E) "[LD] Linking $@"
7814 $(Q) mkdir -p `dirname $@`
7815 $(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
7816
7817endif
7818
7819
7820deps_chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7821
7822ifneq ($(NO_SECURE),true)
7823ifneq ($(NO_DEPS),true)
7824-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7825endif
7826endif
7827
7828
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007829CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7830
ctillercab52e72015-01-06 13:10:23 -08007831CHTTP2_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 -08007832
nnoble69ac39f2014-12-12 15:43:38 -08007833ifeq ($(NO_SECURE),true)
7834
Nicolas Noble047b7272015-01-16 13:55:05 -08007835# You can't build secure targets if you don't have OpenSSL with ALPN.
7836
ctillercab52e72015-01-06 13:10:23 -08007837bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007838
7839else
7840
nnoble5f2ecb32015-01-12 16:40:18 -08007841bins/$(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 -08007842 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007843 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007844 $(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 -08007845
nnoble69ac39f2014-12-12 15:43:38 -08007846endif
7847
Craig Tillerd4773f52015-01-12 16:38:47 -08007848
Craig Tiller8f126a62015-01-15 08:50:19 -08007849deps_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 -08007850
nnoble69ac39f2014-12-12 15:43:38 -08007851ifneq ($(NO_SECURE),true)
7852ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007853-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007854endif
nnoble69ac39f2014-12-12 15:43:38 -08007855endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007856
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007857
7858CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7859
ctillercab52e72015-01-06 13:10:23 -08007860CHTTP2_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 -08007861
nnoble69ac39f2014-12-12 15:43:38 -08007862ifeq ($(NO_SECURE),true)
7863
Nicolas Noble047b7272015-01-16 13:55:05 -08007864# You can't build secure targets if you don't have OpenSSL with ALPN.
7865
ctillercab52e72015-01-06 13:10:23 -08007866bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007867
7868else
7869
nnoble5f2ecb32015-01-12 16:40:18 -08007870bins/$(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 -08007871 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007872 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007873 $(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 -08007874
nnoble69ac39f2014-12-12 15:43:38 -08007875endif
7876
Craig Tillerd4773f52015-01-12 16:38:47 -08007877
Craig Tiller8f126a62015-01-15 08:50:19 -08007878deps_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 -08007879
nnoble69ac39f2014-12-12 15:43:38 -08007880ifneq ($(NO_SECURE),true)
7881ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007882-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007883endif
nnoble69ac39f2014-12-12 15:43:38 -08007884endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007885
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007886
7887CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_SRC = \
7888
ctillercab52e72015-01-06 13:10:23 -08007889CHTTP2_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 -08007890
nnoble69ac39f2014-12-12 15:43:38 -08007891ifeq ($(NO_SECURE),true)
7892
Nicolas Noble047b7272015-01-16 13:55:05 -08007893# You can't build secure targets if you don't have OpenSSL with ALPN.
7894
ctillercab52e72015-01-06 13:10:23 -08007895bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007896
7897else
7898
nnoble5f2ecb32015-01-12 16:40:18 -08007899bins/$(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 -08007900 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007901 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007902 $(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 -08007903
nnoble69ac39f2014-12-12 15:43:38 -08007904endif
7905
Craig Tillerd4773f52015-01-12 16:38:47 -08007906
Craig Tiller8f126a62015-01-15 08:50:19 -08007907deps_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 -08007908
nnoble69ac39f2014-12-12 15:43:38 -08007909ifneq ($(NO_SECURE),true)
7910ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007911-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007912endif
nnoble69ac39f2014-12-12 15:43:38 -08007913endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007914
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007915
7916CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7917
ctillercab52e72015-01-06 13:10:23 -08007918CHTTP2_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 -08007919
nnoble69ac39f2014-12-12 15:43:38 -08007920ifeq ($(NO_SECURE),true)
7921
Nicolas Noble047b7272015-01-16 13:55:05 -08007922# You can't build secure targets if you don't have OpenSSL with ALPN.
7923
ctillercab52e72015-01-06 13:10:23 -08007924bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007925
7926else
7927
nnoble5f2ecb32015-01-12 16:40:18 -08007928bins/$(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 -08007929 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007930 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007931 $(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 -08007932
nnoble69ac39f2014-12-12 15:43:38 -08007933endif
7934
Craig Tillerd4773f52015-01-12 16:38:47 -08007935
Craig Tiller8f126a62015-01-15 08:50:19 -08007936deps_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 -08007937
nnoble69ac39f2014-12-12 15:43:38 -08007938ifneq ($(NO_SECURE),true)
7939ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007940-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007941endif
nnoble69ac39f2014-12-12 15:43:38 -08007942endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007943
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007944
ctiller33023c42014-12-12 16:28:33 -08007945CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7946
ctillercab52e72015-01-06 13:10:23 -08007947CHTTP2_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 -08007948
7949ifeq ($(NO_SECURE),true)
7950
Nicolas Noble047b7272015-01-16 13:55:05 -08007951# You can't build secure targets if you don't have OpenSSL with ALPN.
7952
ctillercab52e72015-01-06 13:10:23 -08007953bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007954
7955else
7956
nnoble5f2ecb32015-01-12 16:40:18 -08007957bins/$(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 -08007958 $(E) "[LD] Linking $@"
7959 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007960 $(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 -08007961
7962endif
7963
Craig Tillerd4773f52015-01-12 16:38:47 -08007964
Craig Tiller8f126a62015-01-15 08:50:19 -08007965deps_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 -08007966
7967ifneq ($(NO_SECURE),true)
7968ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007969-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007970endif
7971endif
7972
ctiller33023c42014-12-12 16:28:33 -08007973
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007974CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7975
ctillercab52e72015-01-06 13:10:23 -08007976CHTTP2_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 -08007977
nnoble69ac39f2014-12-12 15:43:38 -08007978ifeq ($(NO_SECURE),true)
7979
Nicolas Noble047b7272015-01-16 13:55:05 -08007980# You can't build secure targets if you don't have OpenSSL with ALPN.
7981
ctillercab52e72015-01-06 13:10:23 -08007982bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007983
7984else
7985
nnoble5f2ecb32015-01-12 16:40:18 -08007986bins/$(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 -08007987 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007988 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007989 $(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 -08007990
nnoble69ac39f2014-12-12 15:43:38 -08007991endif
7992
Craig Tillerd4773f52015-01-12 16:38:47 -08007993
Craig Tiller8f126a62015-01-15 08:50:19 -08007994deps_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 -08007995
nnoble69ac39f2014-12-12 15:43:38 -08007996ifneq ($(NO_SECURE),true)
7997ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007998-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007999endif
nnoble69ac39f2014-12-12 15:43:38 -08008000endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008001
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008002
8003CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
8004
ctillercab52e72015-01-06 13:10:23 -08008005CHTTP2_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 -08008006
nnoble69ac39f2014-12-12 15:43:38 -08008007ifeq ($(NO_SECURE),true)
8008
Nicolas Noble047b7272015-01-16 13:55:05 -08008009# You can't build secure targets if you don't have OpenSSL with ALPN.
8010
ctillercab52e72015-01-06 13:10:23 -08008011bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008012
8013else
8014
nnoble5f2ecb32015-01-12 16:40:18 -08008015bins/$(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 -08008016 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008017 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008018 $(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 -08008019
nnoble69ac39f2014-12-12 15:43:38 -08008020endif
8021
Craig Tillerd4773f52015-01-12 16:38:47 -08008022
Craig Tiller8f126a62015-01-15 08:50:19 -08008023deps_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 -08008024
nnoble69ac39f2014-12-12 15:43:38 -08008025ifneq ($(NO_SECURE),true)
8026ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008027-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008028endif
nnoble69ac39f2014-12-12 15:43:38 -08008029endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008030
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008031
ctiller2845cad2014-12-15 15:14:12 -08008032CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
8033
ctillercab52e72015-01-06 13:10:23 -08008034CHTTP2_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 -08008035
8036ifeq ($(NO_SECURE),true)
8037
Nicolas Noble047b7272015-01-16 13:55:05 -08008038# You can't build secure targets if you don't have OpenSSL with ALPN.
8039
ctillercab52e72015-01-06 13:10:23 -08008040bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08008041
8042else
8043
nnoble5f2ecb32015-01-12 16:40:18 -08008044bins/$(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 -08008045 $(E) "[LD] Linking $@"
8046 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008047 $(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 -08008048
8049endif
8050
Craig Tillerd4773f52015-01-12 16:38:47 -08008051
Craig Tiller8f126a62015-01-15 08:50:19 -08008052deps_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 -08008053
8054ifneq ($(NO_SECURE),true)
8055ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008056-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008057endif
8058endif
8059
ctiller2845cad2014-12-15 15:14:12 -08008060
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008061CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
8062
ctillercab52e72015-01-06 13:10:23 -08008063CHTTP2_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 -08008064
nnoble69ac39f2014-12-12 15:43:38 -08008065ifeq ($(NO_SECURE),true)
8066
Nicolas Noble047b7272015-01-16 13:55:05 -08008067# You can't build secure targets if you don't have OpenSSL with ALPN.
8068
ctillercab52e72015-01-06 13:10:23 -08008069bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008070
8071else
8072
nnoble5f2ecb32015-01-12 16:40:18 -08008073bins/$(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 -08008074 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008075 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008076 $(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 -08008077
nnoble69ac39f2014-12-12 15:43:38 -08008078endif
8079
Craig Tillerd4773f52015-01-12 16:38:47 -08008080
Craig Tiller8f126a62015-01-15 08:50:19 -08008081deps_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 -08008082
nnoble69ac39f2014-12-12 15:43:38 -08008083ifneq ($(NO_SECURE),true)
8084ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008085-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008086endif
nnoble69ac39f2014-12-12 15:43:38 -08008087endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008088
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008089
8090CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
8091
ctillercab52e72015-01-06 13:10:23 -08008092CHTTP2_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 -08008093
nnoble69ac39f2014-12-12 15:43:38 -08008094ifeq ($(NO_SECURE),true)
8095
Nicolas Noble047b7272015-01-16 13:55:05 -08008096# You can't build secure targets if you don't have OpenSSL with ALPN.
8097
ctillercab52e72015-01-06 13:10:23 -08008098bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008099
8100else
8101
nnoble5f2ecb32015-01-12 16:40:18 -08008102bins/$(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 -08008103 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008104 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008105 $(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 -08008106
nnoble69ac39f2014-12-12 15:43:38 -08008107endif
8108
Craig Tillerd4773f52015-01-12 16:38:47 -08008109
Craig Tiller8f126a62015-01-15 08:50:19 -08008110deps_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 -08008111
nnoble69ac39f2014-12-12 15:43:38 -08008112ifneq ($(NO_SECURE),true)
8113ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008114-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008115endif
nnoble69ac39f2014-12-12 15:43:38 -08008116endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008117
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008118
nathaniel52878172014-12-09 10:17:19 -08008119CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008120
ctillercab52e72015-01-06 13:10:23 -08008121CHTTP2_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 -08008122
nnoble69ac39f2014-12-12 15:43:38 -08008123ifeq ($(NO_SECURE),true)
8124
Nicolas Noble047b7272015-01-16 13:55:05 -08008125# You can't build secure targets if you don't have OpenSSL with ALPN.
8126
ctillercab52e72015-01-06 13:10:23 -08008127bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008128
8129else
8130
nnoble5f2ecb32015-01-12 16:40:18 -08008131bins/$(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 -08008132 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008133 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008134 $(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 -08008135
nnoble69ac39f2014-12-12 15:43:38 -08008136endif
8137
Craig Tillerd4773f52015-01-12 16:38:47 -08008138
Craig Tiller8f126a62015-01-15 08:50:19 -08008139deps_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 -08008140
nnoble69ac39f2014-12-12 15:43:38 -08008141ifneq ($(NO_SECURE),true)
8142ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008143-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008144endif
nnoble69ac39f2014-12-12 15:43:38 -08008145endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008146
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008147
8148CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8149
ctillercab52e72015-01-06 13:10:23 -08008150CHTTP2_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 -08008151
nnoble69ac39f2014-12-12 15:43:38 -08008152ifeq ($(NO_SECURE),true)
8153
Nicolas Noble047b7272015-01-16 13:55:05 -08008154# You can't build secure targets if you don't have OpenSSL with ALPN.
8155
ctillercab52e72015-01-06 13:10:23 -08008156bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008157
8158else
8159
nnoble5f2ecb32015-01-12 16:40:18 -08008160bins/$(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 -08008161 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008162 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008163 $(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 -08008164
nnoble69ac39f2014-12-12 15:43:38 -08008165endif
8166
Craig Tillerd4773f52015-01-12 16:38:47 -08008167
Craig Tiller8f126a62015-01-15 08:50:19 -08008168deps_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 -08008169
nnoble69ac39f2014-12-12 15:43:38 -08008170ifneq ($(NO_SECURE),true)
8171ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008172-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008173endif
nnoble69ac39f2014-12-12 15:43:38 -08008174endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008175
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008176
8177CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8178
ctillercab52e72015-01-06 13:10:23 -08008179CHTTP2_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 -08008180
nnoble69ac39f2014-12-12 15:43:38 -08008181ifeq ($(NO_SECURE),true)
8182
Nicolas Noble047b7272015-01-16 13:55:05 -08008183# You can't build secure targets if you don't have OpenSSL with ALPN.
8184
ctillercab52e72015-01-06 13:10:23 -08008185bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008186
8187else
8188
nnoble5f2ecb32015-01-12 16:40:18 -08008189bins/$(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 -08008190 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008191 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008192 $(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 -08008193
nnoble69ac39f2014-12-12 15:43:38 -08008194endif
8195
Craig Tillerd4773f52015-01-12 16:38:47 -08008196
Craig Tiller8f126a62015-01-15 08:50:19 -08008197deps_chttp2_socket_pair_cancel_after_accept_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008198
nnoble69ac39f2014-12-12 15:43:38 -08008199ifneq ($(NO_SECURE),true)
8200ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008201-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008202endif
nnoble69ac39f2014-12-12 15:43:38 -08008203endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008204
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008205
8206CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8207
ctillercab52e72015-01-06 13:10:23 -08008208CHTTP2_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 -08008209
nnoble69ac39f2014-12-12 15:43:38 -08008210ifeq ($(NO_SECURE),true)
8211
Nicolas Noble047b7272015-01-16 13:55:05 -08008212# You can't build secure targets if you don't have OpenSSL with ALPN.
8213
ctillercab52e72015-01-06 13:10:23 -08008214bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008215
8216else
8217
nnoble5f2ecb32015-01-12 16:40:18 -08008218bins/$(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 -08008219 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008220 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008221 $(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 -08008222
nnoble69ac39f2014-12-12 15:43:38 -08008223endif
8224
Craig Tillerd4773f52015-01-12 16:38:47 -08008225
Craig Tiller8f126a62015-01-15 08:50:19 -08008226deps_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 -08008227
nnoble69ac39f2014-12-12 15:43:38 -08008228ifneq ($(NO_SECURE),true)
8229ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008230-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008231endif
nnoble69ac39f2014-12-12 15:43:38 -08008232endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008233
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008234
8235CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_SRC = \
8236
ctillercab52e72015-01-06 13:10:23 -08008237CHTTP2_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 -08008238
nnoble69ac39f2014-12-12 15:43:38 -08008239ifeq ($(NO_SECURE),true)
8240
Nicolas Noble047b7272015-01-16 13:55:05 -08008241# You can't build secure targets if you don't have OpenSSL with ALPN.
8242
ctillercab52e72015-01-06 13:10:23 -08008243bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008244
8245else
8246
nnoble5f2ecb32015-01-12 16:40:18 -08008247bins/$(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 -08008248 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008249 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008250 $(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 -08008251
nnoble69ac39f2014-12-12 15:43:38 -08008252endif
8253
Craig Tillerd4773f52015-01-12 16:38:47 -08008254
Craig Tiller8f126a62015-01-15 08:50:19 -08008255deps_chttp2_socket_pair_cancel_after_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008256
nnoble69ac39f2014-12-12 15:43:38 -08008257ifneq ($(NO_SECURE),true)
8258ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008259-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008260endif
nnoble69ac39f2014-12-12 15:43:38 -08008261endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008262
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008263
8264CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8265
ctillercab52e72015-01-06 13:10:23 -08008266CHTTP2_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 -08008267
nnoble69ac39f2014-12-12 15:43:38 -08008268ifeq ($(NO_SECURE),true)
8269
Nicolas Noble047b7272015-01-16 13:55:05 -08008270# You can't build secure targets if you don't have OpenSSL with ALPN.
8271
ctillercab52e72015-01-06 13:10:23 -08008272bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008273
8274else
8275
nnoble5f2ecb32015-01-12 16:40:18 -08008276bins/$(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 -08008277 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008278 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008279 $(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 -08008280
nnoble69ac39f2014-12-12 15:43:38 -08008281endif
8282
Craig Tillerd4773f52015-01-12 16:38:47 -08008283
Craig Tiller8f126a62015-01-15 08:50:19 -08008284deps_chttp2_socket_pair_cancel_before_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008285
nnoble69ac39f2014-12-12 15:43:38 -08008286ifneq ($(NO_SECURE),true)
8287ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008288-include $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008289endif
nnoble69ac39f2014-12-12 15:43:38 -08008290endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008291
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008292
8293CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_SRC = \
8294
ctillercab52e72015-01-06 13:10:23 -08008295CHTTP2_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 -08008296
nnoble69ac39f2014-12-12 15:43:38 -08008297ifeq ($(NO_SECURE),true)
8298
Nicolas Noble047b7272015-01-16 13:55:05 -08008299# You can't build secure targets if you don't have OpenSSL with ALPN.
8300
ctillercab52e72015-01-06 13:10:23 -08008301bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008302
8303else
8304
nnoble5f2ecb32015-01-12 16:40:18 -08008305bins/$(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 -08008306 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008307 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008308 $(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 -08008309
nnoble69ac39f2014-12-12 15:43:38 -08008310endif
8311
Craig Tillerd4773f52015-01-12 16:38:47 -08008312
Craig Tiller8f126a62015-01-15 08:50:19 -08008313deps_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 -08008314
nnoble69ac39f2014-12-12 15:43:38 -08008315ifneq ($(NO_SECURE),true)
8316ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008317-include $(CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008318endif
nnoble69ac39f2014-12-12 15:43:38 -08008319endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008320
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008321
hongyu24200d32015-01-08 15:13:49 -08008322CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8323
8324CHTTP2_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 -08008325
8326ifeq ($(NO_SECURE),true)
8327
Nicolas Noble047b7272015-01-16 13:55:05 -08008328# You can't build secure targets if you don't have OpenSSL with ALPN.
8329
hongyu24200d32015-01-08 15:13:49 -08008330bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test: openssl_dep_error
8331
8332else
8333
nnoble5f2ecb32015-01-12 16:40:18 -08008334bins/$(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 -08008335 $(E) "[LD] Linking $@"
8336 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008337 $(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 -08008338
8339endif
8340
Craig Tillerd4773f52015-01-12 16:38:47 -08008341
Craig Tiller8f126a62015-01-15 08:50:19 -08008342deps_chttp2_socket_pair_census_simple_request_test: $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008343
8344ifneq ($(NO_SECURE),true)
8345ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008346-include $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008347endif
8348endif
8349
hongyu24200d32015-01-08 15:13:49 -08008350
ctillerc6d61c42014-12-15 14:52:08 -08008351CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_SRC = \
8352
ctillercab52e72015-01-06 13:10:23 -08008353CHTTP2_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 -08008354
8355ifeq ($(NO_SECURE),true)
8356
Nicolas Noble047b7272015-01-16 13:55:05 -08008357# You can't build secure targets if you don't have OpenSSL with ALPN.
8358
ctillercab52e72015-01-06 13:10:23 -08008359bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08008360
8361else
8362
nnoble5f2ecb32015-01-12 16:40:18 -08008363bins/$(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 -08008364 $(E) "[LD] Linking $@"
8365 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008366 $(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 -08008367
8368endif
8369
Craig Tillerd4773f52015-01-12 16:38:47 -08008370
Craig Tiller8f126a62015-01-15 08:50:19 -08008371deps_chttp2_socket_pair_disappearing_server_test: $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008372
8373ifneq ($(NO_SECURE),true)
8374ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008375-include $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008376endif
8377endif
8378
ctillerc6d61c42014-12-15 14:52:08 -08008379
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008380CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
8381
ctillercab52e72015-01-06 13:10:23 -08008382CHTTP2_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 -08008383
nnoble69ac39f2014-12-12 15:43:38 -08008384ifeq ($(NO_SECURE),true)
8385
Nicolas Noble047b7272015-01-16 13:55:05 -08008386# You can't build secure targets if you don't have OpenSSL with ALPN.
8387
ctillercab52e72015-01-06 13:10:23 -08008388bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008389
8390else
8391
nnoble5f2ecb32015-01-12 16:40:18 -08008392bins/$(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 -08008393 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008394 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008395 $(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 -08008396
nnoble69ac39f2014-12-12 15:43:38 -08008397endif
8398
Craig Tillerd4773f52015-01-12 16:38:47 -08008399
Craig Tiller8f126a62015-01-15 08:50:19 -08008400deps_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 -08008401
nnoble69ac39f2014-12-12 15:43:38 -08008402ifneq ($(NO_SECURE),true)
8403ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008404-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008405endif
nnoble69ac39f2014-12-12 15:43:38 -08008406endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008407
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008408
8409CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
8410
ctillercab52e72015-01-06 13:10:23 -08008411CHTTP2_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 -08008412
nnoble69ac39f2014-12-12 15:43:38 -08008413ifeq ($(NO_SECURE),true)
8414
Nicolas Noble047b7272015-01-16 13:55:05 -08008415# You can't build secure targets if you don't have OpenSSL with ALPN.
8416
ctillercab52e72015-01-06 13:10:23 -08008417bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008418
8419else
8420
nnoble5f2ecb32015-01-12 16:40:18 -08008421bins/$(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 -08008422 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008423 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008424 $(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 -08008425
nnoble69ac39f2014-12-12 15:43:38 -08008426endif
8427
Craig Tillerd4773f52015-01-12 16:38:47 -08008428
Craig Tiller8f126a62015-01-15 08:50:19 -08008429deps_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 -08008430
nnoble69ac39f2014-12-12 15:43:38 -08008431ifneq ($(NO_SECURE),true)
8432ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008433-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008434endif
nnoble69ac39f2014-12-12 15:43:38 -08008435endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008436
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008437
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008438CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
8439
8440CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
8441
8442ifeq ($(NO_SECURE),true)
8443
Chen Wang86af8cf2015-01-21 18:05:40 -08008444# You can't build secure targets if you don't have OpenSSL with ALPN.
8445
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008446bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test: openssl_dep_error
8447
8448else
8449
8450bins/$(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
8451 $(E) "[LD] Linking $@"
8452 $(Q) mkdir -p `dirname $@`
8453 $(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
8454
8455endif
8456
8457
8458deps_chttp2_socket_pair_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8459
8460ifneq ($(NO_SECURE),true)
8461ifneq ($(NO_DEPS),true)
8462-include $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8463endif
8464endif
8465
8466
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008467CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_SRC = \
8468
ctillercab52e72015-01-06 13:10:23 -08008469CHTTP2_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 -08008470
nnoble69ac39f2014-12-12 15:43:38 -08008471ifeq ($(NO_SECURE),true)
8472
Nicolas Noble047b7272015-01-16 13:55:05 -08008473# You can't build secure targets if you don't have OpenSSL with ALPN.
8474
ctillercab52e72015-01-06 13:10:23 -08008475bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008476
8477else
8478
nnoble5f2ecb32015-01-12 16:40:18 -08008479bins/$(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 -08008480 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008481 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008482 $(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 -08008483
nnoble69ac39f2014-12-12 15:43:38 -08008484endif
8485
Craig Tillerd4773f52015-01-12 16:38:47 -08008486
Craig Tiller8f126a62015-01-15 08:50:19 -08008487deps_chttp2_socket_pair_invoke_large_request_test: $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008488
nnoble69ac39f2014-12-12 15:43:38 -08008489ifneq ($(NO_SECURE),true)
8490ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008491-include $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008492endif
nnoble69ac39f2014-12-12 15:43:38 -08008493endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008494
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008495
8496CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_SRC = \
8497
ctillercab52e72015-01-06 13:10:23 -08008498CHTTP2_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 -08008499
nnoble69ac39f2014-12-12 15:43:38 -08008500ifeq ($(NO_SECURE),true)
8501
Nicolas Noble047b7272015-01-16 13:55:05 -08008502# You can't build secure targets if you don't have OpenSSL with ALPN.
8503
ctillercab52e72015-01-06 13:10:23 -08008504bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008505
8506else
8507
nnoble5f2ecb32015-01-12 16:40:18 -08008508bins/$(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 -08008509 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008510 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008511 $(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 -08008512
nnoble69ac39f2014-12-12 15:43:38 -08008513endif
8514
Craig Tillerd4773f52015-01-12 16:38:47 -08008515
Craig Tiller8f126a62015-01-15 08:50:19 -08008516deps_chttp2_socket_pair_max_concurrent_streams_test: $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008517
nnoble69ac39f2014-12-12 15:43:38 -08008518ifneq ($(NO_SECURE),true)
8519ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008520-include $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008521endif
nnoble69ac39f2014-12-12 15:43:38 -08008522endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008523
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008524
8525CHTTP2_SOCKET_PAIR_NO_OP_TEST_SRC = \
8526
ctillercab52e72015-01-06 13:10:23 -08008527CHTTP2_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 -08008528
nnoble69ac39f2014-12-12 15:43:38 -08008529ifeq ($(NO_SECURE),true)
8530
Nicolas Noble047b7272015-01-16 13:55:05 -08008531# You can't build secure targets if you don't have OpenSSL with ALPN.
8532
ctillercab52e72015-01-06 13:10:23 -08008533bins/$(CONFIG)/chttp2_socket_pair_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008534
8535else
8536
nnoble5f2ecb32015-01-12 16:40:18 -08008537bins/$(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 -08008538 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008539 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008540 $(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 -08008541
nnoble69ac39f2014-12-12 15:43:38 -08008542endif
8543
Craig Tillerd4773f52015-01-12 16:38:47 -08008544
Craig Tiller8f126a62015-01-15 08:50:19 -08008545deps_chttp2_socket_pair_no_op_test: $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008546
nnoble69ac39f2014-12-12 15:43:38 -08008547ifneq ($(NO_SECURE),true)
8548ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008549-include $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008550endif
nnoble69ac39f2014-12-12 15:43:38 -08008551endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008552
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008553
8554CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_SRC = \
8555
ctillercab52e72015-01-06 13:10:23 -08008556CHTTP2_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 -08008557
nnoble69ac39f2014-12-12 15:43:38 -08008558ifeq ($(NO_SECURE),true)
8559
Nicolas Noble047b7272015-01-16 13:55:05 -08008560# You can't build secure targets if you don't have OpenSSL with ALPN.
8561
ctillercab52e72015-01-06 13:10:23 -08008562bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008563
8564else
8565
nnoble5f2ecb32015-01-12 16:40:18 -08008566bins/$(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 -08008567 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008568 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008569 $(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 -08008570
nnoble69ac39f2014-12-12 15:43:38 -08008571endif
8572
Craig Tillerd4773f52015-01-12 16:38:47 -08008573
Craig Tiller8f126a62015-01-15 08:50:19 -08008574deps_chttp2_socket_pair_ping_pong_streaming_test: $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008575
nnoble69ac39f2014-12-12 15:43:38 -08008576ifneq ($(NO_SECURE),true)
8577ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008578-include $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008579endif
nnoble69ac39f2014-12-12 15:43:38 -08008580endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008581
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008582
ctiller33023c42014-12-12 16:28:33 -08008583CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
8584
ctillercab52e72015-01-06 13:10:23 -08008585CHTTP2_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 -08008586
8587ifeq ($(NO_SECURE),true)
8588
Nicolas Noble047b7272015-01-16 13:55:05 -08008589# You can't build secure targets if you don't have OpenSSL with ALPN.
8590
ctillercab52e72015-01-06 13:10:23 -08008591bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08008592
8593else
8594
nnoble5f2ecb32015-01-12 16:40:18 -08008595bins/$(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 -08008596 $(E) "[LD] Linking $@"
8597 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008598 $(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 -08008599
8600endif
8601
Craig Tillerd4773f52015-01-12 16:38:47 -08008602
Craig Tiller8f126a62015-01-15 08:50:19 -08008603deps_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 -08008604
8605ifneq ($(NO_SECURE),true)
8606ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008607-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08008608endif
8609endif
8610
ctiller33023c42014-12-12 16:28:33 -08008611
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008612CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
8613
ctillercab52e72015-01-06 13:10:23 -08008614CHTTP2_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 -08008615
nnoble69ac39f2014-12-12 15:43:38 -08008616ifeq ($(NO_SECURE),true)
8617
Nicolas Noble047b7272015-01-16 13:55:05 -08008618# You can't build secure targets if you don't have OpenSSL with ALPN.
8619
ctillercab52e72015-01-06 13:10:23 -08008620bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008621
8622else
8623
nnoble5f2ecb32015-01-12 16:40:18 -08008624bins/$(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 -08008625 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008626 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008627 $(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 -08008628
nnoble69ac39f2014-12-12 15:43:38 -08008629endif
8630
Craig Tillerd4773f52015-01-12 16:38:47 -08008631
Craig Tiller8f126a62015-01-15 08:50:19 -08008632deps_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 -08008633
nnoble69ac39f2014-12-12 15:43:38 -08008634ifneq ($(NO_SECURE),true)
8635ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008636-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008637endif
nnoble69ac39f2014-12-12 15:43:38 -08008638endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008639
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008640
8641CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
8642
ctillercab52e72015-01-06 13:10:23 -08008643CHTTP2_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 -08008644
nnoble69ac39f2014-12-12 15:43:38 -08008645ifeq ($(NO_SECURE),true)
8646
Nicolas Noble047b7272015-01-16 13:55:05 -08008647# You can't build secure targets if you don't have OpenSSL with ALPN.
8648
ctillercab52e72015-01-06 13:10:23 -08008649bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008650
8651else
8652
nnoble5f2ecb32015-01-12 16:40:18 -08008653bins/$(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 -08008654 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008655 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008656 $(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 -08008657
nnoble69ac39f2014-12-12 15:43:38 -08008658endif
8659
Craig Tillerd4773f52015-01-12 16:38:47 -08008660
Craig Tiller8f126a62015-01-15 08:50:19 -08008661deps_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 -08008662
nnoble69ac39f2014-12-12 15:43:38 -08008663ifneq ($(NO_SECURE),true)
8664ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008665-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008666endif
nnoble69ac39f2014-12-12 15:43:38 -08008667endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008668
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008669
ctiller2845cad2014-12-15 15:14:12 -08008670CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
8671
ctillercab52e72015-01-06 13:10:23 -08008672CHTTP2_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 -08008673
8674ifeq ($(NO_SECURE),true)
8675
Nicolas Noble047b7272015-01-16 13:55:05 -08008676# You can't build secure targets if you don't have OpenSSL with ALPN.
8677
ctillercab52e72015-01-06 13:10:23 -08008678bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08008679
8680else
8681
nnoble5f2ecb32015-01-12 16:40:18 -08008682bins/$(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 -08008683 $(E) "[LD] Linking $@"
8684 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008685 $(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 -08008686
8687endif
8688
Craig Tillerd4773f52015-01-12 16:38:47 -08008689
Craig Tiller8f126a62015-01-15 08:50:19 -08008690deps_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 -08008691
8692ifneq ($(NO_SECURE),true)
8693ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008694-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008695endif
8696endif
8697
ctiller2845cad2014-12-15 15:14:12 -08008698
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008699CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
8700
ctillercab52e72015-01-06 13:10:23 -08008701CHTTP2_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 -08008702
nnoble69ac39f2014-12-12 15:43:38 -08008703ifeq ($(NO_SECURE),true)
8704
Nicolas Noble047b7272015-01-16 13:55:05 -08008705# You can't build secure targets if you don't have OpenSSL with ALPN.
8706
ctillercab52e72015-01-06 13:10:23 -08008707bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008708
8709else
8710
nnoble5f2ecb32015-01-12 16:40:18 -08008711bins/$(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 -08008712 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008713 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008714 $(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 -08008715
nnoble69ac39f2014-12-12 15:43:38 -08008716endif
8717
Craig Tillerd4773f52015-01-12 16:38:47 -08008718
Craig Tiller8f126a62015-01-15 08:50:19 -08008719deps_chttp2_socket_pair_simple_delayed_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008720
nnoble69ac39f2014-12-12 15:43:38 -08008721ifneq ($(NO_SECURE),true)
8722ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008723-include $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008724endif
nnoble69ac39f2014-12-12 15:43:38 -08008725endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008726
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008727
8728CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_SRC = \
8729
ctillercab52e72015-01-06 13:10:23 -08008730CHTTP2_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 -08008731
nnoble69ac39f2014-12-12 15:43:38 -08008732ifeq ($(NO_SECURE),true)
8733
Nicolas Noble047b7272015-01-16 13:55:05 -08008734# You can't build secure targets if you don't have OpenSSL with ALPN.
8735
ctillercab52e72015-01-06 13:10:23 -08008736bins/$(CONFIG)/chttp2_socket_pair_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008737
8738else
8739
nnoble5f2ecb32015-01-12 16:40:18 -08008740bins/$(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 -08008741 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008742 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008743 $(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 -08008744
nnoble69ac39f2014-12-12 15:43:38 -08008745endif
8746
Craig Tillerd4773f52015-01-12 16:38:47 -08008747
Craig Tiller8f126a62015-01-15 08:50:19 -08008748deps_chttp2_socket_pair_simple_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008749
nnoble69ac39f2014-12-12 15:43:38 -08008750ifneq ($(NO_SECURE),true)
8751ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008752-include $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008753endif
nnoble69ac39f2014-12-12 15:43:38 -08008754endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008755
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008756
nathaniel52878172014-12-09 10:17:19 -08008757CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008758
ctillercab52e72015-01-06 13:10:23 -08008759CHTTP2_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 -08008760
nnoble69ac39f2014-12-12 15:43:38 -08008761ifeq ($(NO_SECURE),true)
8762
Nicolas Noble047b7272015-01-16 13:55:05 -08008763# You can't build secure targets if you don't have OpenSSL with ALPN.
8764
ctillercab52e72015-01-06 13:10:23 -08008765bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008766
8767else
8768
nnoble5f2ecb32015-01-12 16:40:18 -08008769bins/$(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 -08008770 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008771 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008772 $(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 -08008773
nnoble69ac39f2014-12-12 15:43:38 -08008774endif
8775
Craig Tillerd4773f52015-01-12 16:38:47 -08008776
Craig Tiller8f126a62015-01-15 08:50:19 -08008777deps_chttp2_socket_pair_thread_stress_test: $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008778
nnoble69ac39f2014-12-12 15:43:38 -08008779ifneq ($(NO_SECURE),true)
8780ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008781-include $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008782endif
nnoble69ac39f2014-12-12 15:43:38 -08008783endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008784
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008785
8786CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8787
ctillercab52e72015-01-06 13:10:23 -08008788CHTTP2_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 -08008789
nnoble69ac39f2014-12-12 15:43:38 -08008790ifeq ($(NO_SECURE),true)
8791
Nicolas Noble047b7272015-01-16 13:55:05 -08008792# You can't build secure targets if you don't have OpenSSL with ALPN.
8793
ctillercab52e72015-01-06 13:10:23 -08008794bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008795
8796else
8797
nnoble5f2ecb32015-01-12 16:40:18 -08008798bins/$(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 -08008799 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008800 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008801 $(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 -08008802
nnoble69ac39f2014-12-12 15:43:38 -08008803endif
8804
Craig Tillerd4773f52015-01-12 16:38:47 -08008805
Craig Tiller8f126a62015-01-15 08:50:19 -08008806deps_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 -08008807
nnoble69ac39f2014-12-12 15:43:38 -08008808ifneq ($(NO_SECURE),true)
8809ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008810-include $(CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008811endif
nnoble69ac39f2014-12-12 15:43:38 -08008812endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008813
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008814
nnoble0c475f02014-12-05 15:37:39 -08008815CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8816
ctillercab52e72015-01-06 13:10:23 -08008817CHTTP2_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 -08008818
nnoble69ac39f2014-12-12 15:43:38 -08008819ifeq ($(NO_SECURE),true)
8820
Nicolas Noble047b7272015-01-16 13:55:05 -08008821# You can't build secure targets if you don't have OpenSSL with ALPN.
8822
ctillercab52e72015-01-06 13:10:23 -08008823bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008824
8825else
8826
nnoble5f2ecb32015-01-12 16:40:18 -08008827bins/$(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 -08008828 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008829 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008830 $(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 -08008831
nnoble69ac39f2014-12-12 15:43:38 -08008832endif
8833
Craig Tillerd4773f52015-01-12 16:38:47 -08008834
Craig Tiller8f126a62015-01-15 08:50:19 -08008835deps_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 -08008836
nnoble69ac39f2014-12-12 15:43:38 -08008837ifneq ($(NO_SECURE),true)
8838ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008839-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008840endif
nnoble69ac39f2014-12-12 15:43:38 -08008841endif
nnoble0c475f02014-12-05 15:37:39 -08008842
nnoble0c475f02014-12-05 15:37:39 -08008843
8844CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8845
ctillercab52e72015-01-06 13:10:23 -08008846CHTTP2_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 -08008847
nnoble69ac39f2014-12-12 15:43:38 -08008848ifeq ($(NO_SECURE),true)
8849
Nicolas Noble047b7272015-01-16 13:55:05 -08008850# You can't build secure targets if you don't have OpenSSL with ALPN.
8851
ctillercab52e72015-01-06 13:10:23 -08008852bins/$(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 -08008853
8854else
8855
nnoble5f2ecb32015-01-12 16:40:18 -08008856bins/$(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 -08008857 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008858 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008859 $(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 -08008860
nnoble69ac39f2014-12-12 15:43:38 -08008861endif
8862
Craig Tillerd4773f52015-01-12 16:38:47 -08008863
Craig Tiller8f126a62015-01-15 08:50:19 -08008864deps_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 -08008865
nnoble69ac39f2014-12-12 15:43:38 -08008866ifneq ($(NO_SECURE),true)
8867ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008868-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 -08008869endif
nnoble69ac39f2014-12-12 15:43:38 -08008870endif
nnoble0c475f02014-12-05 15:37:39 -08008871
nnoble0c475f02014-12-05 15:37:39 -08008872
8873CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_SRC = \
8874
ctillercab52e72015-01-06 13:10:23 -08008875CHTTP2_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 -08008876
nnoble69ac39f2014-12-12 15:43:38 -08008877ifeq ($(NO_SECURE),true)
8878
Nicolas Noble047b7272015-01-16 13:55:05 -08008879# You can't build secure targets if you don't have OpenSSL with ALPN.
8880
ctillercab52e72015-01-06 13:10:23 -08008881bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008882
8883else
8884
nnoble5f2ecb32015-01-12 16:40:18 -08008885bins/$(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 -08008886 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008887 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008888 $(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 -08008889
nnoble69ac39f2014-12-12 15:43:38 -08008890endif
8891
Craig Tillerd4773f52015-01-12 16:38:47 -08008892
Craig Tiller8f126a62015-01-15 08:50:19 -08008893deps_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 -08008894
nnoble69ac39f2014-12-12 15:43:38 -08008895ifneq ($(NO_SECURE),true)
8896ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008897-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008898endif
nnoble69ac39f2014-12-12 15:43:38 -08008899endif
nnoble0c475f02014-12-05 15:37:39 -08008900
nnoble0c475f02014-12-05 15:37:39 -08008901
8902CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8903
ctillercab52e72015-01-06 13:10:23 -08008904CHTTP2_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 -08008905
nnoble69ac39f2014-12-12 15:43:38 -08008906ifeq ($(NO_SECURE),true)
8907
Nicolas Noble047b7272015-01-16 13:55:05 -08008908# You can't build secure targets if you don't have OpenSSL with ALPN.
8909
ctillercab52e72015-01-06 13:10:23 -08008910bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008911
8912else
8913
nnoble5f2ecb32015-01-12 16:40:18 -08008914bins/$(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 -08008915 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008916 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008917 $(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 -08008918
nnoble69ac39f2014-12-12 15:43:38 -08008919endif
8920
Craig Tillerd4773f52015-01-12 16:38:47 -08008921
Craig Tiller8f126a62015-01-15 08:50:19 -08008922deps_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 -08008923
nnoble69ac39f2014-12-12 15:43:38 -08008924ifneq ($(NO_SECURE),true)
8925ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008926-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008927endif
nnoble69ac39f2014-12-12 15:43:38 -08008928endif
nnoble0c475f02014-12-05 15:37:39 -08008929
nnoble0c475f02014-12-05 15:37:39 -08008930
8931CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_SRC = \
8932
ctillercab52e72015-01-06 13:10:23 -08008933CHTTP2_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 -08008934
nnoble69ac39f2014-12-12 15:43:38 -08008935ifeq ($(NO_SECURE),true)
8936
Nicolas Noble047b7272015-01-16 13:55:05 -08008937# You can't build secure targets if you don't have OpenSSL with ALPN.
8938
ctillercab52e72015-01-06 13:10:23 -08008939bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008940
8941else
8942
nnoble5f2ecb32015-01-12 16:40:18 -08008943bins/$(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 -08008944 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008945 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008946 $(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 -08008947
nnoble69ac39f2014-12-12 15:43:38 -08008948endif
8949
Craig Tillerd4773f52015-01-12 16:38:47 -08008950
Craig Tiller8f126a62015-01-15 08:50:19 -08008951deps_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 -08008952
nnoble69ac39f2014-12-12 15:43:38 -08008953ifneq ($(NO_SECURE),true)
8954ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008955-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008956endif
nnoble69ac39f2014-12-12 15:43:38 -08008957endif
nnoble0c475f02014-12-05 15:37:39 -08008958
nnoble0c475f02014-12-05 15:37:39 -08008959
hongyu24200d32015-01-08 15:13:49 -08008960CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8961
8962CHTTP2_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 -08008963
8964ifeq ($(NO_SECURE),true)
8965
Nicolas Noble047b7272015-01-16 13:55:05 -08008966# You can't build secure targets if you don't have OpenSSL with ALPN.
8967
hongyu24200d32015-01-08 15:13:49 -08008968bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: openssl_dep_error
8969
8970else
8971
nnoble5f2ecb32015-01-12 16:40:18 -08008972bins/$(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 -08008973 $(E) "[LD] Linking $@"
8974 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008975 $(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 -08008976
8977endif
8978
Craig Tillerd4773f52015-01-12 16:38:47 -08008979
Craig Tiller8f126a62015-01-15 08:50:19 -08008980deps_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 -08008981
8982ifneq ($(NO_SECURE),true)
8983ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008984-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008985endif
8986endif
8987
hongyu24200d32015-01-08 15:13:49 -08008988
ctillerc6d61c42014-12-15 14:52:08 -08008989CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_SRC = \
8990
ctillercab52e72015-01-06 13:10:23 -08008991CHTTP2_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 -08008992
8993ifeq ($(NO_SECURE),true)
8994
Nicolas Noble047b7272015-01-16 13:55:05 -08008995# You can't build secure targets if you don't have OpenSSL with ALPN.
8996
ctillercab52e72015-01-06 13:10:23 -08008997bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08008998
8999else
9000
nnoble5f2ecb32015-01-12 16:40:18 -08009001bins/$(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 -08009002 $(E) "[LD] Linking $@"
9003 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009004 $(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 -08009005
9006endif
9007
Craig Tillerd4773f52015-01-12 16:38:47 -08009008
Craig Tiller8f126a62015-01-15 08:50:19 -08009009deps_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 -08009010
9011ifneq ($(NO_SECURE),true)
9012ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009013-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08009014endif
9015endif
9016
ctillerc6d61c42014-12-15 14:52:08 -08009017
nnoble0c475f02014-12-05 15:37:39 -08009018CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
9019
ctillercab52e72015-01-06 13:10:23 -08009020CHTTP2_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 -08009021
nnoble69ac39f2014-12-12 15:43:38 -08009022ifeq ($(NO_SECURE),true)
9023
Nicolas Noble047b7272015-01-16 13:55:05 -08009024# You can't build secure targets if you don't have OpenSSL with ALPN.
9025
ctillercab52e72015-01-06 13:10:23 -08009026bins/$(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 -08009027
9028else
9029
nnoble5f2ecb32015-01-12 16:40:18 -08009030bins/$(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 -08009031 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009032 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009033 $(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 -08009034
nnoble69ac39f2014-12-12 15:43:38 -08009035endif
9036
Craig Tillerd4773f52015-01-12 16:38:47 -08009037
Craig Tiller8f126a62015-01-15 08:50:19 -08009038deps_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 -08009039
nnoble69ac39f2014-12-12 15:43:38 -08009040ifneq ($(NO_SECURE),true)
9041ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009042-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 -08009043endif
nnoble69ac39f2014-12-12 15:43:38 -08009044endif
nnoble0c475f02014-12-05 15:37:39 -08009045
nnoble0c475f02014-12-05 15:37:39 -08009046
9047CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
9048
ctillercab52e72015-01-06 13:10:23 -08009049CHTTP2_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 -08009050
nnoble69ac39f2014-12-12 15:43:38 -08009051ifeq ($(NO_SECURE),true)
9052
Nicolas Noble047b7272015-01-16 13:55:05 -08009053# You can't build secure targets if you don't have OpenSSL with ALPN.
9054
ctillercab52e72015-01-06 13:10:23 -08009055bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009056
9057else
9058
nnoble5f2ecb32015-01-12 16:40:18 -08009059bins/$(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 -08009060 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009061 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009062 $(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 -08009063
nnoble69ac39f2014-12-12 15:43:38 -08009064endif
9065
Craig Tillerd4773f52015-01-12 16:38:47 -08009066
Craig Tiller8f126a62015-01-15 08:50:19 -08009067deps_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 -08009068
nnoble69ac39f2014-12-12 15:43:38 -08009069ifneq ($(NO_SECURE),true)
9070ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009071-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009072endif
nnoble69ac39f2014-12-12 15:43:38 -08009073endif
nnoble0c475f02014-12-05 15:37:39 -08009074
nnoble0c475f02014-12-05 15:37:39 -08009075
Craig Tiller4ffdcd52015-01-16 11:34:55 -08009076CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
9077
9078CHTTP2_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))))
9079
9080ifeq ($(NO_SECURE),true)
9081
Chen Wang86af8cf2015-01-21 18:05:40 -08009082# You can't build secure targets if you don't have OpenSSL with ALPN.
9083
Craig Tiller4ffdcd52015-01-16 11:34:55 -08009084bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: openssl_dep_error
9085
9086else
9087
9088bins/$(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
9089 $(E) "[LD] Linking $@"
9090 $(Q) mkdir -p `dirname $@`
9091 $(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
9092
9093endif
9094
9095
9096deps_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)
9097
9098ifneq ($(NO_SECURE),true)
9099ifneq ($(NO_DEPS),true)
9100-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
9101endif
9102endif
9103
9104
nnoble0c475f02014-12-05 15:37:39 -08009105CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_SRC = \
9106
ctillercab52e72015-01-06 13:10:23 -08009107CHTTP2_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 -08009108
nnoble69ac39f2014-12-12 15:43:38 -08009109ifeq ($(NO_SECURE),true)
9110
Nicolas Noble047b7272015-01-16 13:55:05 -08009111# You can't build secure targets if you don't have OpenSSL with ALPN.
9112
ctillercab52e72015-01-06 13:10:23 -08009113bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009114
9115else
9116
nnoble5f2ecb32015-01-12 16:40:18 -08009117bins/$(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 -08009118 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009119 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009120 $(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 -08009121
nnoble69ac39f2014-12-12 15:43:38 -08009122endif
9123
Craig Tillerd4773f52015-01-12 16:38:47 -08009124
Craig Tiller8f126a62015-01-15 08:50:19 -08009125deps_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 -08009126
nnoble69ac39f2014-12-12 15:43:38 -08009127ifneq ($(NO_SECURE),true)
9128ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009129-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009130endif
nnoble69ac39f2014-12-12 15:43:38 -08009131endif
nnoble0c475f02014-12-05 15:37:39 -08009132
nnoble0c475f02014-12-05 15:37:39 -08009133
9134CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_SRC = \
9135
ctillercab52e72015-01-06 13:10:23 -08009136CHTTP2_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 -08009137
nnoble69ac39f2014-12-12 15:43:38 -08009138ifeq ($(NO_SECURE),true)
9139
Nicolas Noble047b7272015-01-16 13:55:05 -08009140# You can't build secure targets if you don't have OpenSSL with ALPN.
9141
ctillercab52e72015-01-06 13:10:23 -08009142bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009143
9144else
9145
nnoble5f2ecb32015-01-12 16:40:18 -08009146bins/$(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 -08009147 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009148 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009149 $(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 -08009150
nnoble69ac39f2014-12-12 15:43:38 -08009151endif
9152
Craig Tillerd4773f52015-01-12 16:38:47 -08009153
Craig Tiller8f126a62015-01-15 08:50:19 -08009154deps_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 -08009155
nnoble69ac39f2014-12-12 15:43:38 -08009156ifneq ($(NO_SECURE),true)
9157ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009158-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009159endif
nnoble69ac39f2014-12-12 15:43:38 -08009160endif
nnoble0c475f02014-12-05 15:37:39 -08009161
nnoble0c475f02014-12-05 15:37:39 -08009162
9163CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_SRC = \
9164
ctillercab52e72015-01-06 13:10:23 -08009165CHTTP2_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 -08009166
nnoble69ac39f2014-12-12 15:43:38 -08009167ifeq ($(NO_SECURE),true)
9168
Nicolas Noble047b7272015-01-16 13:55:05 -08009169# You can't build secure targets if you don't have OpenSSL with ALPN.
9170
ctillercab52e72015-01-06 13:10:23 -08009171bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009172
9173else
9174
nnoble5f2ecb32015-01-12 16:40:18 -08009175bins/$(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 -08009176 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009177 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009178 $(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 -08009179
nnoble69ac39f2014-12-12 15:43:38 -08009180endif
9181
Craig Tillerd4773f52015-01-12 16:38:47 -08009182
Craig Tiller8f126a62015-01-15 08:50:19 -08009183deps_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 -08009184
nnoble69ac39f2014-12-12 15:43:38 -08009185ifneq ($(NO_SECURE),true)
9186ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009187-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009188endif
nnoble69ac39f2014-12-12 15:43:38 -08009189endif
nnoble0c475f02014-12-05 15:37:39 -08009190
nnoble0c475f02014-12-05 15:37:39 -08009191
9192CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_SRC = \
9193
ctillercab52e72015-01-06 13:10:23 -08009194CHTTP2_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 -08009195
nnoble69ac39f2014-12-12 15:43:38 -08009196ifeq ($(NO_SECURE),true)
9197
Nicolas Noble047b7272015-01-16 13:55:05 -08009198# You can't build secure targets if you don't have OpenSSL with ALPN.
9199
ctillercab52e72015-01-06 13:10:23 -08009200bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009201
9202else
9203
nnoble5f2ecb32015-01-12 16:40:18 -08009204bins/$(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 -08009205 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009206 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009207 $(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 -08009208
nnoble69ac39f2014-12-12 15:43:38 -08009209endif
9210
Craig Tillerd4773f52015-01-12 16:38:47 -08009211
Craig Tiller8f126a62015-01-15 08:50:19 -08009212deps_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 -08009213
nnoble69ac39f2014-12-12 15:43:38 -08009214ifneq ($(NO_SECURE),true)
9215ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009216-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009217endif
nnoble69ac39f2014-12-12 15:43:38 -08009218endif
nnoble0c475f02014-12-05 15:37:39 -08009219
nnoble0c475f02014-12-05 15:37:39 -08009220
ctiller33023c42014-12-12 16:28:33 -08009221CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
9222
ctillercab52e72015-01-06 13:10:23 -08009223CHTTP2_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 -08009224
9225ifeq ($(NO_SECURE),true)
9226
Nicolas Noble047b7272015-01-16 13:55:05 -08009227# You can't build secure targets if you don't have OpenSSL with ALPN.
9228
ctillercab52e72015-01-06 13:10:23 -08009229bins/$(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 -08009230
9231else
9232
nnoble5f2ecb32015-01-12 16:40:18 -08009233bins/$(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 -08009234 $(E) "[LD] Linking $@"
9235 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009236 $(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 -08009237
9238endif
9239
Craig Tillerd4773f52015-01-12 16:38:47 -08009240
Craig Tiller8f126a62015-01-15 08:50:19 -08009241deps_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 -08009242
9243ifneq ($(NO_SECURE),true)
9244ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009245-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 -08009246endif
9247endif
9248
ctiller33023c42014-12-12 16:28:33 -08009249
nnoble0c475f02014-12-05 15:37:39 -08009250CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
9251
ctillercab52e72015-01-06 13:10:23 -08009252CHTTP2_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 -08009253
nnoble69ac39f2014-12-12 15:43:38 -08009254ifeq ($(NO_SECURE),true)
9255
Nicolas Noble047b7272015-01-16 13:55:05 -08009256# You can't build secure targets if you don't have OpenSSL with ALPN.
9257
ctillercab52e72015-01-06 13:10:23 -08009258bins/$(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 -08009259
9260else
9261
nnoble5f2ecb32015-01-12 16:40:18 -08009262bins/$(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 -08009263 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009264 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009265 $(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 -08009266
nnoble69ac39f2014-12-12 15:43:38 -08009267endif
9268
Craig Tillerd4773f52015-01-12 16:38:47 -08009269
Craig Tiller8f126a62015-01-15 08:50:19 -08009270deps_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 -08009271
nnoble69ac39f2014-12-12 15:43:38 -08009272ifneq ($(NO_SECURE),true)
9273ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009274-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 -08009275endif
nnoble69ac39f2014-12-12 15:43:38 -08009276endif
nnoble0c475f02014-12-05 15:37:39 -08009277
nnoble0c475f02014-12-05 15:37:39 -08009278
9279CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
9280
ctillercab52e72015-01-06 13:10:23 -08009281CHTTP2_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 -08009282
nnoble69ac39f2014-12-12 15:43:38 -08009283ifeq ($(NO_SECURE),true)
9284
Nicolas Noble047b7272015-01-16 13:55:05 -08009285# You can't build secure targets if you don't have OpenSSL with ALPN.
9286
ctillercab52e72015-01-06 13:10:23 -08009287bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009288
9289else
9290
nnoble5f2ecb32015-01-12 16:40:18 -08009291bins/$(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 -08009292 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009293 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009294 $(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 -08009295
nnoble69ac39f2014-12-12 15:43:38 -08009296endif
9297
Craig Tillerd4773f52015-01-12 16:38:47 -08009298
Craig Tiller8f126a62015-01-15 08:50:19 -08009299deps_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 -08009300
nnoble69ac39f2014-12-12 15:43:38 -08009301ifneq ($(NO_SECURE),true)
9302ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009303-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009304endif
nnoble69ac39f2014-12-12 15:43:38 -08009305endif
nnoble0c475f02014-12-05 15:37:39 -08009306
nnoble0c475f02014-12-05 15:37:39 -08009307
ctiller2845cad2014-12-15 15:14:12 -08009308CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
9309
ctillercab52e72015-01-06 13:10:23 -08009310CHTTP2_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 -08009311
9312ifeq ($(NO_SECURE),true)
9313
Nicolas Noble047b7272015-01-16 13:55:05 -08009314# You can't build secure targets if you don't have OpenSSL with ALPN.
9315
ctillercab52e72015-01-06 13:10:23 -08009316bins/$(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 -08009317
9318else
9319
nnoble5f2ecb32015-01-12 16:40:18 -08009320bins/$(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 -08009321 $(E) "[LD] Linking $@"
9322 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009323 $(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 -08009324
9325endif
9326
Craig Tillerd4773f52015-01-12 16:38:47 -08009327
Craig Tiller8f126a62015-01-15 08:50:19 -08009328deps_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 -08009329
9330ifneq ($(NO_SECURE),true)
9331ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009332-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 -08009333endif
9334endif
9335
ctiller2845cad2014-12-15 15:14:12 -08009336
nnoble0c475f02014-12-05 15:37:39 -08009337CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
9338
ctillercab52e72015-01-06 13:10:23 -08009339CHTTP2_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 -08009340
nnoble69ac39f2014-12-12 15:43:38 -08009341ifeq ($(NO_SECURE),true)
9342
Nicolas Noble047b7272015-01-16 13:55:05 -08009343# You can't build secure targets if you don't have OpenSSL with ALPN.
9344
ctillercab52e72015-01-06 13:10:23 -08009345bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009346
9347else
9348
nnoble5f2ecb32015-01-12 16:40:18 -08009349bins/$(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 -08009350 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009351 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009352 $(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 -08009353
nnoble69ac39f2014-12-12 15:43:38 -08009354endif
9355
Craig Tillerd4773f52015-01-12 16:38:47 -08009356
Craig Tiller8f126a62015-01-15 08:50:19 -08009357deps_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 -08009358
nnoble69ac39f2014-12-12 15:43:38 -08009359ifneq ($(NO_SECURE),true)
9360ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009361-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009362endif
nnoble69ac39f2014-12-12 15:43:38 -08009363endif
nnoble0c475f02014-12-05 15:37:39 -08009364
nnoble0c475f02014-12-05 15:37:39 -08009365
9366CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_SRC = \
9367
ctillercab52e72015-01-06 13:10:23 -08009368CHTTP2_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 -08009369
nnoble69ac39f2014-12-12 15:43:38 -08009370ifeq ($(NO_SECURE),true)
9371
Nicolas Noble047b7272015-01-16 13:55:05 -08009372# You can't build secure targets if you don't have OpenSSL with ALPN.
9373
ctillercab52e72015-01-06 13:10:23 -08009374bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009375
9376else
9377
nnoble5f2ecb32015-01-12 16:40:18 -08009378bins/$(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 -08009379 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009380 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009381 $(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 -08009382
nnoble69ac39f2014-12-12 15:43:38 -08009383endif
9384
Craig Tillerd4773f52015-01-12 16:38:47 -08009385
Craig Tiller8f126a62015-01-15 08:50:19 -08009386deps_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 -08009387
nnoble69ac39f2014-12-12 15:43:38 -08009388ifneq ($(NO_SECURE),true)
9389ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009390-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009391endif
nnoble69ac39f2014-12-12 15:43:38 -08009392endif
nnoble0c475f02014-12-05 15:37:39 -08009393
nnoble0c475f02014-12-05 15:37:39 -08009394
nathaniel52878172014-12-09 10:17:19 -08009395CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_SRC = \
nnoble0c475f02014-12-05 15:37:39 -08009396
ctillercab52e72015-01-06 13:10:23 -08009397CHTTP2_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 -08009398
nnoble69ac39f2014-12-12 15:43:38 -08009399ifeq ($(NO_SECURE),true)
9400
Nicolas Noble047b7272015-01-16 13:55:05 -08009401# You can't build secure targets if you don't have OpenSSL with ALPN.
9402
ctillercab52e72015-01-06 13:10:23 -08009403bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009404
9405else
9406
nnoble5f2ecb32015-01-12 16:40:18 -08009407bins/$(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 -08009408 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009409 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009410 $(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 -08009411
nnoble69ac39f2014-12-12 15:43:38 -08009412endif
9413
Craig Tillerd4773f52015-01-12 16:38:47 -08009414
Craig Tiller8f126a62015-01-15 08:50:19 -08009415deps_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 -08009416
nnoble69ac39f2014-12-12 15:43:38 -08009417ifneq ($(NO_SECURE),true)
9418ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009419-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009420endif
nnoble69ac39f2014-12-12 15:43:38 -08009421endif
nnoble0c475f02014-12-05 15:37:39 -08009422
nnoble0c475f02014-12-05 15:37:39 -08009423
9424CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
9425
ctillercab52e72015-01-06 13:10:23 -08009426CHTTP2_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 -08009427
nnoble69ac39f2014-12-12 15:43:38 -08009428ifeq ($(NO_SECURE),true)
9429
Nicolas Noble047b7272015-01-16 13:55:05 -08009430# You can't build secure targets if you don't have OpenSSL with ALPN.
9431
ctillercab52e72015-01-06 13:10:23 -08009432bins/$(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 -08009433
9434else
9435
nnoble5f2ecb32015-01-12 16:40:18 -08009436bins/$(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 -08009437 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009438 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009439 $(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 -08009440
nnoble69ac39f2014-12-12 15:43:38 -08009441endif
9442
Craig Tillerd4773f52015-01-12 16:38:47 -08009443
Craig Tiller8f126a62015-01-15 08:50:19 -08009444deps_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 -08009445
nnoble69ac39f2014-12-12 15:43:38 -08009446ifneq ($(NO_SECURE),true)
9447ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009448-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 -08009449endif
nnoble69ac39f2014-12-12 15:43:38 -08009450endif
nnoble0c475f02014-12-05 15:37:39 -08009451
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08009452
9453
9454
9455
nnoble0c475f02014-12-05 15:37:39 -08009456
Craig Tillerf0afe502015-01-15 09:04:49 -08009457.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 -08009458