blob: 85f38cb0cfb0c84b7e3a6ed379ac0c95b9c96388 [file] [log] [blame]
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001# GRPC global makefile
2# This currently builds C and C++ code.
3
4
ctiller8cfebb92015-01-06 15:02:12 -08005# Configurations
6
7VALID_CONFIG_opt = 1
8CC_opt = gcc
9CXX_opt = g++
10LD_opt = gcc
11LDXX_opt = g++
12CPPFLAGS_opt = -O2
13LDFLAGS_opt =
14DEFINES_opt = NDEBUG
15
16VALID_CONFIG_dbg = 1
17CC_dbg = gcc
18CXX_dbg = g++
19LD_dbg = gcc
20LDXX_dbg = g++
21CPPFLAGS_dbg = -O0
22LDFLAGS_dbg =
23DEFINES_dbg = _DEBUG DEBUG
24
Craig Tillerec0b8f32015-01-15 07:30:00 -080025VALID_CONFIG_valgrind = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080026REQUIRE_CUSTOM_LIBRARIES_valgrind = 1
Craig Tillerec0b8f32015-01-15 07:30:00 -080027CC_valgrind = gcc
28CXX_valgrind = g++
29LD_valgrind = gcc
30LDXX_valgrind = g++
31CPPFLAGS_valgrind = -O0
32OPENSSL_CFLAGS_valgrind = -DPURIFY
33LDFLAGS_valgrind =
34DEFINES_valgrind = _DEBUG DEBUG
35
ctiller8cfebb92015-01-06 15:02:12 -080036VALID_CONFIG_tsan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080037REQUIRE_CUSTOM_LIBRARIES_tsan = 1
ctiller8cfebb92015-01-06 15:02:12 -080038CC_tsan = clang
39CXX_tsan = clang++
40LD_tsan = clang
41LDXX_tsan = clang++
42CPPFLAGS_tsan = -O1 -fsanitize=thread -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080043OPENSSL_CONFIG_tsan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080044LDFLAGS_tsan = -fsanitize=thread
45DEFINES_tsan = NDEBUG
46
47VALID_CONFIG_asan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080048REQUIRE_CUSTOM_LIBRARIES_asan = 1
ctiller8cfebb92015-01-06 15:02:12 -080049CC_asan = clang
50CXX_asan = clang++
51LD_asan = clang
52LDXX_asan = clang++
53CPPFLAGS_asan = -O1 -fsanitize=address -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080054OPENSSL_CONFIG_asan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080055LDFLAGS_asan = -fsanitize=address
56DEFINES_asan = NDEBUG
57
58VALID_CONFIG_msan = 1
Craig Tillerc4da6b72015-01-15 08:01:14 -080059REQUIRE_CUSTOM_LIBRARIES_msan = 1
ctiller8cfebb92015-01-06 15:02:12 -080060CC_msan = clang
61CXX_msan = clang++
62LD_msan = clang
63LDXX_msan = clang++
64CPPFLAGS_msan = -O1 -fsanitize=memory -fno-omit-frame-pointer
Craig Tillerec0b8f32015-01-15 07:30:00 -080065OPENSSL_CFLAGS_msan = -DPURIFY
66OPENSSL_CONFIG_msan = no-asm
ctiller8cfebb92015-01-06 15:02:12 -080067LDFLAGS_msan = -fsanitize=memory
68DEFINES_msan = NDEBUG
69
Craig Tiller934baa32015-01-12 18:19:45 -080070VALID_CONFIG_gcov = 1
71CC_gcov = gcc
72CXX_gcov = g++
73LD_gcov = gcc
74LDXX_gcov = g++
75CPPFLAGS_gcov = -O0 -fprofile-arcs -ftest-coverage
76LDFLAGS_gcov = -fprofile-arcs -ftest-coverage
77DEFINES_gcov = NDEBUG
78
Nicolas Noble047b7272015-01-16 13:55:05 -080079
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080080# General settings.
81# You may want to change these depending on your system.
82
83prefix ?= /usr/local
84
85PROTOC = protoc
yangg102e4fe2015-01-06 16:02:50 -080086CONFIG ?= opt
ctiller8cfebb92015-01-06 15:02:12 -080087CC = $(CC_$(CONFIG))
88CXX = $(CXX_$(CONFIG))
89LD = $(LD_$(CONFIG))
90LDXX = $(LDXX_$(CONFIG))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080091AR = ar
92STRIP = strip --strip-unneeded
93INSTALL = install -D
94RM = rm -f
95
yangg102e4fe2015-01-06 16:02:50 -080096ifndef VALID_CONFIG_$(CONFIG)
97$(error Invalid CONFIG value '$(CONFIG)')
98endif
99
Nicolas Noble047b7272015-01-16 13:55:05 -0800100
101# The HOST compiler settings are used to compile the protoc plugins.
102# In most cases, you won't have to change anything, but if you are
103# cross-compiling, you can override these variables from GNU make's
104# command line: make CC=cross-gcc HOST_CC=gcc
105
nnoble72309c62014-12-12 11:42:26 -0800106HOST_CC = $(CC)
107HOST_CXX = $(CXX)
108HOST_LD = $(LD)
109HOST_LDXX = $(LDXX)
110
ctillercab52e72015-01-06 13:10:23 -0800111CPPFLAGS += $(CPPFLAGS_$(CONFIG))
112DEFINES += $(DEFINES_$(CONFIG))
ctiller8cfebb92015-01-06 15:02:12 -0800113LDFLAGS += $(LDFLAGS_$(CONFIG))
ctillercab52e72015-01-06 13:10:23 -0800114
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800115CFLAGS += -std=c89 -pedantic
116CXXFLAGS += -std=c++11
117CPPFLAGS += -g -fPIC -Wall -Werror -Wno-long-long
118LDFLAGS += -g -pthread -fPIC
119
120INCLUDES = . include gens
ctillerc008ae52015-01-07 15:33:00 -0800121LIBS = rt m z pthread
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800122LIBSXX = protobuf
nnoblec78b3402014-12-11 16:06:57 -0800123LIBS_PROTOC = protoc protobuf
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800124
125ifneq ($(wildcard /usr/src/gtest/src/gtest-all.cc),)
126GTEST_LIB = /usr/src/gtest/src/gtest-all.cc -I/usr/src/gtest
127else
128GTEST_LIB = -lgtest
129endif
chenwa8fd44a2014-12-10 15:13:55 -0800130GTEST_LIB += -lgflags
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800131ifeq ($(V),1)
132E = @:
133Q =
134else
135E = @echo
136Q = @
137endif
138
139VERSION = 0.8.0.0
140
141CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
142CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
143
144LDFLAGS += $(ARCH_FLAGS)
145LDLIBS += $(addprefix -l, $(LIBS))
146LDLIBSXX += $(addprefix -l, $(LIBSXX))
nnoble72309c62014-12-12 11:42:26 -0800147HOST_LDLIBS_PROTOC += $(addprefix -l, $(LIBS_PROTOC))
148
149HOST_CPPFLAGS = $(CPPFLAGS)
150HOST_CFLAGS = $(CFLAGS)
151HOST_CXXFLAGS = $(CXXFLAGS)
152HOST_LDFLAGS = $(LDFLAGS)
153HOST_LDLIBS = $(LDLIBS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800154
nnoble69ac39f2014-12-12 15:43:38 -0800155
156# These are automatically computed variables.
157# There shouldn't be any need to change anything from now on.
158
159HOST_SYSTEM = $(shell uname | cut -f 1 -d_)
160ifeq ($(SYSTEM),)
161SYSTEM = $(HOST_SYSTEM)
162endif
163
nnoble5b7f32a2014-12-22 08:12:44 -0800164ifeq ($(SYSTEM),MINGW32)
165SHARED_EXT = dll
166endif
167ifeq ($(SYSTEM),Darwin)
168SHARED_EXT = dylib
169endif
170ifeq ($(SHARED_EXT),)
171SHARED_EXT = so.$(VERSION)
172endif
173
nnoble69ac39f2014-12-12 15:43:38 -0800174ifeq ($(wildcard .git),)
175IS_GIT_FOLDER = false
176else
177IS_GIT_FOLDER = true
178endif
179
nnoble7e012cf2014-12-22 17:53:44 -0800180OPENSSL_ALPN_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/openssl-alpn.c -lssl -lcrypto -ldl $(LDFLAGS)
181ZLIB_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/zlib.c -lz $(LDFLAGS)
Craig Tiller297fafa2015-01-15 15:46:39 -0800182PERFTOOLS_CHECK_CMD = $(CC) $(CFLAGS) $(CPPFLAGS) -o /dev/null test/build/perftools.c -lprofiler $(LDFLAGS)
183
184HAS_SYSTEM_PERFTOOLS = $(shell $(PERFTOOLS_CHECK_CMD) 2> /dev/null && echo true || echo false)
185ifeq ($(HAS_SYSTEM_PERFTOOLS),true)
186DEFINES += GRPC_HAVE_PERFTOOLS
187LIBS += profiler
188endif
nnoble69ac39f2014-12-12 15:43:38 -0800189
Craig Tillerc4da6b72015-01-15 08:01:14 -0800190ifndef REQUIRE_CUSTOM_LIBRARIES_$(CONFIG)
nnoble60825402014-12-15 14:43:51 -0800191HAS_SYSTEM_OPENSSL_ALPN = $(shell $(OPENSSL_ALPN_CHECK_CMD) 2> /dev/null && echo true || echo false)
192HAS_SYSTEM_ZLIB = $(shell $(ZLIB_CHECK_CMD) 2> /dev/null && echo true || echo false)
Craig Tillerc4da6b72015-01-15 08:01:14 -0800193else
194# override system libraries if the config requires a custom compiled library
195HAS_SYSTEM_OPENSSL_ALPN = false
196HAS_SYSTEM_ZLIB = false
197endif
nnoble69ac39f2014-12-12 15:43:38 -0800198
nnoble69ac39f2014-12-12 15:43:38 -0800199ifeq ($(wildcard third_party/openssl/ssl/ssl.h),)
200HAS_EMBEDDED_OPENSSL_ALPN = false
201else
202HAS_EMBEDDED_OPENSSL_ALPN = true
203endif
204
205ifeq ($(wildcard third_party/zlib/zlib.h),)
206HAS_EMBEDDED_ZLIB = false
207else
208HAS_EMBEDDED_ZLIB = true
209endif
210
nnoble69ac39f2014-12-12 15:43:38 -0800211ifeq ($(HAS_SYSTEM_ZLIB),false)
212ifeq ($(HAS_EMBEDDED_ZLIB),true)
Craig Tiller3ccae022015-01-15 07:47:29 -0800213ZLIB_DEP = libs/$(CONFIG)/zlib/libz.a
nnoble69ac39f2014-12-12 15:43:38 -0800214CPPFLAGS += -Ithird_party/zlib
215LDFLAGS += -Lthird_party/zlib
216else
217DEP_MISSING += zlib
218endif
219endif
220
221ifeq ($(HAS_SYSTEM_OPENSSL_ALPN),false)
222ifeq ($(HAS_EMBEDDED_OPENSSL_ALPN),true)
Craig Tillerec0b8f32015-01-15 07:30:00 -0800223OPENSSL_DEP = libs/$(CONFIG)/openssl/libssl.a
224OPENSSL_MERGE_LIBS += libs/$(CONFIG)/openssl/libssl.a libs/$(CONFIG)/openssl/libcrypto.a
nnoble69ac39f2014-12-12 15:43:38 -0800225CPPFLAGS += -Ithird_party/openssl/include
Craig Tillerec0b8f32015-01-15 07:30:00 -0800226LDFLAGS += -Llibs/$(CONFIG)/openssl
nnoble5b7f32a2014-12-22 08:12:44 -0800227LIBS_SECURE = dl
nnoble69ac39f2014-12-12 15:43:38 -0800228else
229NO_SECURE = true
230endif
nnoble5b7f32a2014-12-22 08:12:44 -0800231else
232LIBS_SECURE = ssl crypto dl
nnoble69ac39f2014-12-12 15:43:38 -0800233endif
234
nnoble5b7f32a2014-12-22 08:12:44 -0800235LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE))
236
Craig Tiller12c82092015-01-15 08:45:56 -0800237ifeq ($(MAKECMDGOALS),clean)
nnoble69ac39f2014-12-12 15:43:38 -0800238NO_DEPS = true
239endif
240
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800241.SECONDARY = %.pb.h %.pb.cc
242
Craig Tillerf58b9ef2015-01-15 09:09:12 -0800243PROTOC_PLUGINS= bins/$(CONFIG)/cpp_plugin bins/$(CONFIG)/ruby_plugin
nnoble69ac39f2014-12-12 15:43:38 -0800244ifeq ($(DEP_MISSING),)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800245all: static shared
nnoble69ac39f2014-12-12 15:43:38 -0800246dep_error:
247 @echo "You shouldn't see this message - all of your dependencies are correct."
248else
249all: dep_error git_update stop
250
251dep_error:
252 @echo
253 @echo "DEPENDENCY ERROR"
254 @echo
255 @echo "You are missing system dependencies that are essential to build grpc,"
256 @echo "and the third_party directory doesn't have them:"
257 @echo
258 @echo " $(DEP_MISSING)"
259 @echo
260 @echo "Installing the development packages for your system will solve"
261 @echo "this issue. Please consult INSTALL to get more information."
262 @echo
263 @echo "If you need information about why these tests failed, run:"
264 @echo
265 @echo " make run_dep_checks"
266 @echo
267endif
268
269git_update:
270ifeq ($(IS_GIT_FOLDER),true)
271 @echo "Additionally, since you are in a git clone, you can download the"
272 @echo "missing dependencies in third_party by running the following command:"
273 @echo
ctiller64f29102014-12-15 10:40:59 -0800274 @echo " git submodule update --init"
nnoble69ac39f2014-12-12 15:43:38 -0800275 @echo
276endif
277
278openssl_dep_error: openssl_dep_message git_update stop
279
280openssl_dep_message:
281 @echo
282 @echo "DEPENDENCY ERROR"
283 @echo
284 @echo "The target you are trying to run requires OpenSSL with ALPN support."
285 @echo "Your system doesn't have it, and neither does the third_party directory."
286 @echo
287 @echo "Please consult INSTALL to get more information."
288 @echo
289 @echo "If you need information about why these tests failed, run:"
290 @echo
291 @echo " make run_dep_checks"
292 @echo
293
294stop:
295 @false
296
Craig Tiller17ec5f92015-01-18 11:30:41 -0800297alarm_heap_test: bins/$(CONFIG)/alarm_heap_test
298alarm_list_test: bins/$(CONFIG)/alarm_list_test
299alarm_test: bins/$(CONFIG)/alarm_test
300alpn_test: bins/$(CONFIG)/alpn_test
301bin_encoder_test: bins/$(CONFIG)/bin_encoder_test
302census_hash_table_test: bins/$(CONFIG)/census_hash_table_test
303census_statistics_multiple_writers_circular_buffer_test: bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test
304census_statistics_multiple_writers_test: bins/$(CONFIG)/census_statistics_multiple_writers_test
305census_statistics_performance_test: bins/$(CONFIG)/census_statistics_performance_test
306census_statistics_quick_test: bins/$(CONFIG)/census_statistics_quick_test
307census_statistics_small_log_test: bins/$(CONFIG)/census_statistics_small_log_test
308census_stats_store_test: bins/$(CONFIG)/census_stats_store_test
309census_stub_test: bins/$(CONFIG)/census_stub_test
310census_trace_store_test: bins/$(CONFIG)/census_trace_store_test
311census_window_stats_test: bins/$(CONFIG)/census_window_stats_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800312chttp2_status_conversion_test: bins/$(CONFIG)/chttp2_status_conversion_test
313chttp2_stream_encoder_test: bins/$(CONFIG)/chttp2_stream_encoder_test
314chttp2_stream_map_test: bins/$(CONFIG)/chttp2_stream_map_test
315chttp2_transport_end2end_test: bins/$(CONFIG)/chttp2_transport_end2end_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800316dualstack_socket_test: bins/$(CONFIG)/dualstack_socket_test
317echo_client: bins/$(CONFIG)/echo_client
318echo_server: bins/$(CONFIG)/echo_server
319echo_test: bins/$(CONFIG)/echo_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800320fd_posix_test: bins/$(CONFIG)/fd_posix_test
321fling_client: bins/$(CONFIG)/fling_client
322fling_server: bins/$(CONFIG)/fling_server
323fling_stream_test: bins/$(CONFIG)/fling_stream_test
324fling_test: bins/$(CONFIG)/fling_test
325gen_hpack_tables: bins/$(CONFIG)/gen_hpack_tables
ctillercab52e72015-01-06 13:10:23 -0800326gpr_cancellable_test: bins/$(CONFIG)/gpr_cancellable_test
ctillercab52e72015-01-06 13:10:23 -0800327gpr_cmdline_test: bins/$(CONFIG)/gpr_cmdline_test
328gpr_histogram_test: bins/$(CONFIG)/gpr_histogram_test
329gpr_host_port_test: bins/$(CONFIG)/gpr_host_port_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800330gpr_log_test: bins/$(CONFIG)/gpr_log_test
ctillercab52e72015-01-06 13:10:23 -0800331gpr_slice_buffer_test: bins/$(CONFIG)/gpr_slice_buffer_test
332gpr_slice_test: bins/$(CONFIG)/gpr_slice_test
333gpr_string_test: bins/$(CONFIG)/gpr_string_test
334gpr_sync_test: bins/$(CONFIG)/gpr_sync_test
335gpr_thd_test: bins/$(CONFIG)/gpr_thd_test
336gpr_time_test: bins/$(CONFIG)/gpr_time_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800337gpr_useful_test: bins/$(CONFIG)/gpr_useful_test
338grpc_base64_test: bins/$(CONFIG)/grpc_base64_test
339grpc_byte_buffer_reader_test: bins/$(CONFIG)/grpc_byte_buffer_reader_test
ctillercab52e72015-01-06 13:10:23 -0800340grpc_channel_stack_test: bins/$(CONFIG)/grpc_channel_stack_test
ctillercab52e72015-01-06 13:10:23 -0800341grpc_completion_queue_benchmark: bins/$(CONFIG)/grpc_completion_queue_benchmark
Craig Tiller17ec5f92015-01-18 11:30:41 -0800342grpc_completion_queue_test: bins/$(CONFIG)/grpc_completion_queue_test
343grpc_credentials_test: bins/$(CONFIG)/grpc_credentials_test
344grpc_fetch_oauth2: bins/$(CONFIG)/grpc_fetch_oauth2
345grpc_json_token_test: bins/$(CONFIG)/grpc_json_token_test
346grpc_stream_op_test: bins/$(CONFIG)/grpc_stream_op_test
347hpack_parser_test: bins/$(CONFIG)/hpack_parser_test
348hpack_table_test: bins/$(CONFIG)/hpack_table_test
ctillercab52e72015-01-06 13:10:23 -0800349httpcli_format_request_test: bins/$(CONFIG)/httpcli_format_request_test
350httpcli_parser_test: bins/$(CONFIG)/httpcli_parser_test
351httpcli_test: bins/$(CONFIG)/httpcli_test
ctillercab52e72015-01-06 13:10:23 -0800352lame_client_test: bins/$(CONFIG)/lame_client_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800353low_level_ping_pong_benchmark: bins/$(CONFIG)/low_level_ping_pong_benchmark
354message_compress_test: bins/$(CONFIG)/message_compress_test
355metadata_buffer_test: bins/$(CONFIG)/metadata_buffer_test
356murmur_hash_test: bins/$(CONFIG)/murmur_hash_test
357no_server_test: bins/$(CONFIG)/no_server_test
358poll_kick_test: bins/$(CONFIG)/poll_kick_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800359resolve_address_test: bins/$(CONFIG)/resolve_address_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800360secure_endpoint_test: bins/$(CONFIG)/secure_endpoint_test
361sockaddr_utils_test: bins/$(CONFIG)/sockaddr_utils_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800362tcp_client_posix_test: bins/$(CONFIG)/tcp_client_posix_test
363tcp_posix_test: bins/$(CONFIG)/tcp_posix_test
364tcp_server_posix_test: bins/$(CONFIG)/tcp_server_posix_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800365time_averaged_stats_test: bins/$(CONFIG)/time_averaged_stats_test
ctillercab52e72015-01-06 13:10:23 -0800366time_test: bins/$(CONFIG)/time_test
Craig Tiller17ec5f92015-01-18 11:30:41 -0800367timeout_encoding_test: bins/$(CONFIG)/timeout_encoding_test
368transport_metadata_test: bins/$(CONFIG)/transport_metadata_test
Craig Tiller996d9df2015-01-19 21:06:50 -0800369channel_arguments_test: bins/$(CONFIG)/channel_arguments_test
370cpp_plugin: bins/$(CONFIG)/cpp_plugin
371credentials_test: bins/$(CONFIG)/credentials_test
372end2end_test: bins/$(CONFIG)/end2end_test
373interop_client: bins/$(CONFIG)/interop_client
374interop_server: bins/$(CONFIG)/interop_server
375qps_client: bins/$(CONFIG)/qps_client
376qps_server: bins/$(CONFIG)/qps_server
377ruby_plugin: bins/$(CONFIG)/ruby_plugin
378status_test: bins/$(CONFIG)/status_test
379sync_client_async_server_test: bins/$(CONFIG)/sync_client_async_server_test
380thread_pool_test: bins/$(CONFIG)/thread_pool_test
ctillercab52e72015-01-06 13:10:23 -0800381chttp2_fake_security_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test
382chttp2_fake_security_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test
383chttp2_fake_security_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test
384chttp2_fake_security_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test
385chttp2_fake_security_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800386chttp2_fake_security_census_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800387chttp2_fake_security_disappearing_server_test: bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test
388chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test
389chttp2_fake_security_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800390chttp2_fake_security_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800391chttp2_fake_security_invoke_large_request_test: bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test
392chttp2_fake_security_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test
393chttp2_fake_security_no_op_test: bins/$(CONFIG)/chttp2_fake_security_no_op_test
394chttp2_fake_security_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test
395chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test
396chttp2_fake_security_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test
397chttp2_fake_security_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test
398chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test
399chttp2_fake_security_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test
400chttp2_fake_security_simple_request_test: bins/$(CONFIG)/chttp2_fake_security_simple_request_test
401chttp2_fake_security_thread_stress_test: bins/$(CONFIG)/chttp2_fake_security_thread_stress_test
402chttp2_fake_security_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test
403chttp2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test
404chttp2_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test
405chttp2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test
406chttp2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test
407chttp2_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800408chttp2_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800409chttp2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test
410chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test
411chttp2_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800412chttp2_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800413chttp2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test
414chttp2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test
415chttp2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_fullstack_no_op_test
416chttp2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test
417chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test
418chttp2_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test
419chttp2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test
420chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test
421chttp2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test
422chttp2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_fullstack_simple_request_test
423chttp2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_fullstack_thread_stress_test
424chttp2_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test
425chttp2_simple_ssl_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test
426chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test
427chttp2_simple_ssl_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test
428chttp2_simple_ssl_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test
429chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800430chttp2_simple_ssl_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800431chttp2_simple_ssl_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test
432chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test
433chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800434chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800435chttp2_simple_ssl_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test
436chttp2_simple_ssl_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test
437chttp2_simple_ssl_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test
438chttp2_simple_ssl_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test
439chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test
440chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test
441chttp2_simple_ssl_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test
442chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test
443chttp2_simple_ssl_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test
444chttp2_simple_ssl_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test
445chttp2_simple_ssl_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test
446chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test
447chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test
448chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test
449chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test
450chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test
451chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800452chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800453chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test
454chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test
455chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800456chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800457chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test
458chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test
459chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test
460chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test
461chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test
462chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test
463chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test
464chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test
465chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test
466chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test
467chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test
468chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test
469chttp2_socket_pair_cancel_after_accept_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test
470chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test
471chttp2_socket_pair_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test
472chttp2_socket_pair_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test
473chttp2_socket_pair_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800474chttp2_socket_pair_census_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800475chttp2_socket_pair_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test
476chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test
477chttp2_socket_pair_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800478chttp2_socket_pair_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800479chttp2_socket_pair_invoke_large_request_test: bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test
480chttp2_socket_pair_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test
481chttp2_socket_pair_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_no_op_test
482chttp2_socket_pair_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test
483chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test
484chttp2_socket_pair_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test
485chttp2_socket_pair_request_response_with_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test
486chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test
487chttp2_socket_pair_simple_delayed_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test
488chttp2_socket_pair_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_simple_request_test
489chttp2_socket_pair_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test
490chttp2_socket_pair_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test
491chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test
492chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test
493chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test
494chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test
495chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test
hongyu24200d32015-01-08 15:13:49 -0800496chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test
ctillercab52e72015-01-06 13:10:23 -0800497chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test
498chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test
499chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800500chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test
ctillercab52e72015-01-06 13:10:23 -0800501chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test
502chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test
503chttp2_socket_pair_one_byte_at_a_time_no_op_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test
504chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test
505chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test
506chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test
507chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test
508chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test
509chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test
510chttp2_socket_pair_one_byte_at_a_time_simple_request_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test
511chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test
512chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test: bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test
ctiller09cb6d52014-12-19 17:38:22 -0800513
nnoble69ac39f2014-12-12 15:43:38 -0800514run_dep_checks:
nnoble69ac39f2014-12-12 15:43:38 -0800515 $(OPENSSL_ALPN_CHECK_CMD) || true
516 $(ZLIB_CHECK_CMD) || true
517
Craig Tiller3ccae022015-01-15 07:47:29 -0800518libs/$(CONFIG)/zlib/libz.a:
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100519 $(E) "[MAKE] Building zlib"
520 $(Q)(cd third_party/zlib ; CC="$(CC)" CFLAGS="-fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG))" ./configure --static)
521 $(Q)$(MAKE) -C third_party/zlib clean
522 $(Q)$(MAKE) -C third_party/zlib
523 $(Q)mkdir -p libs/$(CONFIG)/zlib
524 $(Q)cp third_party/zlib/libz.a libs/$(CONFIG)/zlib
nnoble69ac39f2014-12-12 15:43:38 -0800525
Craig Tillerec0b8f32015-01-15 07:30:00 -0800526libs/$(CONFIG)/openssl/libssl.a:
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +0100527 $(E) "[MAKE] Building openssl"
528 $(Q)(cd third_party/openssl ; CC="$(CC) -fPIC -fvisibility=hidden $(CPPFLAGS_$(CONFIG)) $(OPENSSL_CFLAGS_$(CONFIG))" ./config $(OPENSSL_CONFIG_$(CONFIG)))
529 $(Q)$(MAKE) -C third_party/openssl clean
530 $(Q)$(MAKE) -C third_party/openssl build_crypto build_ssl
531 $(Q)mkdir -p libs/$(CONFIG)/openssl
532 $(Q)cp third_party/openssl/libssl.a third_party/openssl/libcrypto.a libs/$(CONFIG)/openssl
nnoble69ac39f2014-12-12 15:43:38 -0800533
nnoble29e1d292014-12-01 10:27:40 -0800534static: static_c static_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800535
Craig Tiller12c82092015-01-15 08:45:56 -0800536static_c: libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800537
Craig Tiller12c82092015-01-15 08:45:56 -0800538static_cxx: libs/$(CONFIG)/libgrpc++.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800539
nnoble29e1d292014-12-01 10:27:40 -0800540shared: shared_c shared_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800541
Craig Tiller12c82092015-01-15 08:45:56 -0800542shared_c: libs/$(CONFIG)/libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800543
Craig Tiller12c82092015-01-15 08:45:56 -0800544shared_cxx: libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800545
nnoble29e1d292014-12-01 10:27:40 -0800546privatelibs: privatelibs_c privatelibs_cxx
547
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800548privatelibs_c: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a libs/$(CONFIG)/libend2end_test_cancel_after_accept.a libs/$(CONFIG)/libend2end_test_cancel_after_accept_and_writes_closed.a libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a libs/$(CONFIG)/libend2end_test_census_simple_request.a libs/$(CONFIG)/libend2end_test_disappearing_server.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_inflight_calls.a libs/$(CONFIG)/libend2end_test_early_server_shutdown_finishes_tags.a libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a libs/$(CONFIG)/libend2end_test_invoke_large_request.a libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a libs/$(CONFIG)/libend2end_test_no_op.a libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a libs/$(CONFIG)/libend2end_test_request_response_with_binary_metadata_and_payload.a libs/$(CONFIG)/libend2end_test_request_response_with_metadata_and_payload.a libs/$(CONFIG)/libend2end_test_request_response_with_payload.a libs/$(CONFIG)/libend2end_test_request_response_with_trailing_metadata_and_payload.a libs/$(CONFIG)/libend2end_test_simple_delayed_request.a libs/$(CONFIG)/libend2end_test_simple_request.a libs/$(CONFIG)/libend2end_test_thread_stress.a libs/$(CONFIG)/libend2end_test_writes_done_hangs_with_pending_read.a libs/$(CONFIG)/libend2end_certs.a
nnoble29e1d292014-12-01 10:27:40 -0800549
Craig Tiller12c82092015-01-15 08:45:56 -0800550privatelibs_cxx: libs/$(CONFIG)/libgrpc++_test_util.a
nnoble29e1d292014-12-01 10:27:40 -0800551
552buildtests: buildtests_c buildtests_cxx
553
Craig Tiller17ec5f92015-01-18 11:30:41 -0800554buildtests_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 -0800555
Craig Tiller17ec5f92015-01-18 11:30:41 -0800556buildtests_cxx: privatelibs_cxx bins/$(CONFIG)/channel_arguments_test bins/$(CONFIG)/credentials_test bins/$(CONFIG)/end2end_test bins/$(CONFIG)/interop_client bins/$(CONFIG)/interop_server bins/$(CONFIG)/qps_client bins/$(CONFIG)/qps_server bins/$(CONFIG)/status_test bins/$(CONFIG)/sync_client_async_server_test bins/$(CONFIG)/thread_pool_test
nnoble29e1d292014-12-01 10:27:40 -0800557
nnoble85a49262014-12-08 18:14:03 -0800558test: test_c test_cxx
nnoble29e1d292014-12-01 10:27:40 -0800559
nnoble85a49262014-12-08 18:14:03 -0800560test_c: buildtests_c
Craig Tiller17ec5f92015-01-18 11:30:41 -0800561 $(E) "[RUN] Testing alarm_heap_test"
562 $(Q) ./bins/$(CONFIG)/alarm_heap_test || ( echo test alarm_heap_test failed ; exit 1 )
563 $(E) "[RUN] Testing alarm_list_test"
564 $(Q) ./bins/$(CONFIG)/alarm_list_test || ( echo test alarm_list_test failed ; exit 1 )
565 $(E) "[RUN] Testing alarm_test"
566 $(Q) ./bins/$(CONFIG)/alarm_test || ( echo test alarm_test failed ; exit 1 )
567 $(E) "[RUN] Testing alpn_test"
568 $(Q) ./bins/$(CONFIG)/alpn_test || ( echo test alpn_test failed ; exit 1 )
569 $(E) "[RUN] Testing bin_encoder_test"
570 $(Q) ./bins/$(CONFIG)/bin_encoder_test || ( echo test bin_encoder_test failed ; exit 1 )
571 $(E) "[RUN] Testing census_hash_table_test"
572 $(Q) ./bins/$(CONFIG)/census_hash_table_test || ( echo test census_hash_table_test failed ; exit 1 )
573 $(E) "[RUN] Testing census_statistics_multiple_writers_circular_buffer_test"
574 $(Q) ./bins/$(CONFIG)/census_statistics_multiple_writers_circular_buffer_test || ( echo test census_statistics_multiple_writers_circular_buffer_test failed ; exit 1 )
575 $(E) "[RUN] Testing census_statistics_multiple_writers_test"
576 $(Q) ./bins/$(CONFIG)/census_statistics_multiple_writers_test || ( echo test census_statistics_multiple_writers_test failed ; exit 1 )
577 $(E) "[RUN] Testing census_statistics_performance_test"
578 $(Q) ./bins/$(CONFIG)/census_statistics_performance_test || ( echo test census_statistics_performance_test failed ; exit 1 )
579 $(E) "[RUN] Testing census_statistics_quick_test"
580 $(Q) ./bins/$(CONFIG)/census_statistics_quick_test || ( echo test census_statistics_quick_test failed ; exit 1 )
581 $(E) "[RUN] Testing census_statistics_small_log_test"
582 $(Q) ./bins/$(CONFIG)/census_statistics_small_log_test || ( echo test census_statistics_small_log_test failed ; exit 1 )
583 $(E) "[RUN] Testing census_stub_test"
584 $(Q) ./bins/$(CONFIG)/census_stub_test || ( echo test census_stub_test failed ; exit 1 )
585 $(E) "[RUN] Testing census_window_stats_test"
586 $(Q) ./bins/$(CONFIG)/census_window_stats_test || ( echo test census_window_stats_test failed ; exit 1 )
587 $(E) "[RUN] Testing chttp2_status_conversion_test"
588 $(Q) ./bins/$(CONFIG)/chttp2_status_conversion_test || ( echo test chttp2_status_conversion_test failed ; exit 1 )
589 $(E) "[RUN] Testing chttp2_stream_encoder_test"
590 $(Q) ./bins/$(CONFIG)/chttp2_stream_encoder_test || ( echo test chttp2_stream_encoder_test failed ; exit 1 )
591 $(E) "[RUN] Testing chttp2_stream_map_test"
592 $(Q) ./bins/$(CONFIG)/chttp2_stream_map_test || ( echo test chttp2_stream_map_test failed ; exit 1 )
593 $(E) "[RUN] Testing chttp2_transport_end2end_test"
594 $(Q) ./bins/$(CONFIG)/chttp2_transport_end2end_test || ( echo test chttp2_transport_end2end_test failed ; exit 1 )
595 $(E) "[RUN] Testing dualstack_socket_test"
596 $(Q) ./bins/$(CONFIG)/dualstack_socket_test || ( echo test dualstack_socket_test failed ; exit 1 )
597 $(E) "[RUN] Testing echo_test"
598 $(Q) ./bins/$(CONFIG)/echo_test || ( echo test echo_test failed ; exit 1 )
599 $(E) "[RUN] Testing fd_posix_test"
600 $(Q) ./bins/$(CONFIG)/fd_posix_test || ( echo test fd_posix_test failed ; exit 1 )
601 $(E) "[RUN] Testing fling_stream_test"
602 $(Q) ./bins/$(CONFIG)/fling_stream_test || ( echo test fling_stream_test failed ; exit 1 )
603 $(E) "[RUN] Testing fling_test"
604 $(Q) ./bins/$(CONFIG)/fling_test || ( echo test fling_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800605 $(E) "[RUN] Testing gpr_cancellable_test"
ctillercab52e72015-01-06 13:10:23 -0800606 $(Q) ./bins/$(CONFIG)/gpr_cancellable_test || ( echo test gpr_cancellable_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800607 $(E) "[RUN] Testing gpr_cmdline_test"
ctillercab52e72015-01-06 13:10:23 -0800608 $(Q) ./bins/$(CONFIG)/gpr_cmdline_test || ( echo test gpr_cmdline_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800609 $(E) "[RUN] Testing gpr_histogram_test"
ctillercab52e72015-01-06 13:10:23 -0800610 $(Q) ./bins/$(CONFIG)/gpr_histogram_test || ( echo test gpr_histogram_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800611 $(E) "[RUN] Testing gpr_host_port_test"
ctillercab52e72015-01-06 13:10:23 -0800612 $(Q) ./bins/$(CONFIG)/gpr_host_port_test || ( echo test gpr_host_port_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800613 $(E) "[RUN] Testing gpr_log_test"
614 $(Q) ./bins/$(CONFIG)/gpr_log_test || ( echo test gpr_log_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800615 $(E) "[RUN] Testing gpr_slice_buffer_test"
ctillercab52e72015-01-06 13:10:23 -0800616 $(Q) ./bins/$(CONFIG)/gpr_slice_buffer_test || ( echo test gpr_slice_buffer_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800617 $(E) "[RUN] Testing gpr_slice_test"
ctillercab52e72015-01-06 13:10:23 -0800618 $(Q) ./bins/$(CONFIG)/gpr_slice_test || ( echo test gpr_slice_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800619 $(E) "[RUN] Testing gpr_string_test"
ctillercab52e72015-01-06 13:10:23 -0800620 $(Q) ./bins/$(CONFIG)/gpr_string_test || ( echo test gpr_string_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800621 $(E) "[RUN] Testing gpr_sync_test"
ctillercab52e72015-01-06 13:10:23 -0800622 $(Q) ./bins/$(CONFIG)/gpr_sync_test || ( echo test gpr_sync_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800623 $(E) "[RUN] Testing gpr_thd_test"
ctillercab52e72015-01-06 13:10:23 -0800624 $(Q) ./bins/$(CONFIG)/gpr_thd_test || ( echo test gpr_thd_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800625 $(E) "[RUN] Testing gpr_time_test"
ctillercab52e72015-01-06 13:10:23 -0800626 $(Q) ./bins/$(CONFIG)/gpr_time_test || ( echo test gpr_time_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800627 $(E) "[RUN] Testing gpr_useful_test"
628 $(Q) ./bins/$(CONFIG)/gpr_useful_test || ( echo test gpr_useful_test failed ; exit 1 )
629 $(E) "[RUN] Testing grpc_base64_test"
630 $(Q) ./bins/$(CONFIG)/grpc_base64_test || ( echo test grpc_base64_test failed ; exit 1 )
631 $(E) "[RUN] Testing grpc_byte_buffer_reader_test"
632 $(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 -0800633 $(E) "[RUN] Testing grpc_channel_stack_test"
ctillercab52e72015-01-06 13:10:23 -0800634 $(Q) ./bins/$(CONFIG)/grpc_channel_stack_test || ( echo test grpc_channel_stack_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800635 $(E) "[RUN] Testing grpc_completion_queue_test"
ctillercab52e72015-01-06 13:10:23 -0800636 $(Q) ./bins/$(CONFIG)/grpc_completion_queue_test || ( echo test grpc_completion_queue_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800637 $(E) "[RUN] Testing grpc_credentials_test"
638 $(Q) ./bins/$(CONFIG)/grpc_credentials_test || ( echo test grpc_credentials_test failed ; exit 1 )
639 $(E) "[RUN] Testing grpc_json_token_test"
640 $(Q) ./bins/$(CONFIG)/grpc_json_token_test || ( echo test grpc_json_token_test failed ; exit 1 )
641 $(E) "[RUN] Testing grpc_stream_op_test"
642 $(Q) ./bins/$(CONFIG)/grpc_stream_op_test || ( echo test grpc_stream_op_test failed ; exit 1 )
643 $(E) "[RUN] Testing hpack_parser_test"
644 $(Q) ./bins/$(CONFIG)/hpack_parser_test || ( echo test hpack_parser_test failed ; exit 1 )
645 $(E) "[RUN] Testing hpack_table_test"
646 $(Q) ./bins/$(CONFIG)/hpack_table_test || ( echo test hpack_table_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800647 $(E) "[RUN] Testing httpcli_format_request_test"
ctillercab52e72015-01-06 13:10:23 -0800648 $(Q) ./bins/$(CONFIG)/httpcli_format_request_test || ( echo test httpcli_format_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800649 $(E) "[RUN] Testing httpcli_parser_test"
ctillercab52e72015-01-06 13:10:23 -0800650 $(Q) ./bins/$(CONFIG)/httpcli_parser_test || ( echo test httpcli_parser_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800651 $(E) "[RUN] Testing httpcli_test"
ctillercab52e72015-01-06 13:10:23 -0800652 $(Q) ./bins/$(CONFIG)/httpcli_test || ( echo test httpcli_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800653 $(E) "[RUN] Testing lame_client_test"
ctillercab52e72015-01-06 13:10:23 -0800654 $(Q) ./bins/$(CONFIG)/lame_client_test || ( echo test lame_client_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800655 $(E) "[RUN] Testing message_compress_test"
656 $(Q) ./bins/$(CONFIG)/message_compress_test || ( echo test message_compress_test failed ; exit 1 )
657 $(E) "[RUN] Testing metadata_buffer_test"
658 $(Q) ./bins/$(CONFIG)/metadata_buffer_test || ( echo test metadata_buffer_test failed ; exit 1 )
659 $(E) "[RUN] Testing murmur_hash_test"
660 $(Q) ./bins/$(CONFIG)/murmur_hash_test || ( echo test murmur_hash_test failed ; exit 1 )
661 $(E) "[RUN] Testing no_server_test"
662 $(Q) ./bins/$(CONFIG)/no_server_test || ( echo test no_server_test failed ; exit 1 )
David Klempner7f3ed1e2015-01-16 15:35:56 -0800663 $(E) "[RUN] Testing poll_kick_test"
664 $(Q) ./bins/$(CONFIG)/poll_kick_test || ( echo test poll_kick_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800665 $(E) "[RUN] Testing resolve_address_test"
666 $(Q) ./bins/$(CONFIG)/resolve_address_test || ( echo test resolve_address_test failed ; exit 1 )
667 $(E) "[RUN] Testing secure_endpoint_test"
668 $(Q) ./bins/$(CONFIG)/secure_endpoint_test || ( echo test secure_endpoint_test failed ; exit 1 )
669 $(E) "[RUN] Testing sockaddr_utils_test"
670 $(Q) ./bins/$(CONFIG)/sockaddr_utils_test || ( echo test sockaddr_utils_test failed ; exit 1 )
671 $(E) "[RUN] Testing tcp_client_posix_test"
672 $(Q) ./bins/$(CONFIG)/tcp_client_posix_test || ( echo test tcp_client_posix_test failed ; exit 1 )
673 $(E) "[RUN] Testing tcp_posix_test"
674 $(Q) ./bins/$(CONFIG)/tcp_posix_test || ( echo test tcp_posix_test failed ; exit 1 )
675 $(E) "[RUN] Testing tcp_server_posix_test"
676 $(Q) ./bins/$(CONFIG)/tcp_server_posix_test || ( echo test tcp_server_posix_test failed ; exit 1 )
677 $(E) "[RUN] Testing time_averaged_stats_test"
678 $(Q) ./bins/$(CONFIG)/time_averaged_stats_test || ( echo test time_averaged_stats_test failed ; exit 1 )
679 $(E) "[RUN] Testing time_test"
680 $(Q) ./bins/$(CONFIG)/time_test || ( echo test time_test failed ; exit 1 )
681 $(E) "[RUN] Testing timeout_encoding_test"
682 $(Q) ./bins/$(CONFIG)/timeout_encoding_test || ( echo test timeout_encoding_test failed ; exit 1 )
683 $(E) "[RUN] Testing transport_metadata_test"
684 $(Q) ./bins/$(CONFIG)/transport_metadata_test || ( echo test transport_metadata_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800685 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800686 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test || ( echo test chttp2_fake_security_cancel_after_accept_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800687 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800688 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_fake_security_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800689 $(E) "[RUN] Testing chttp2_fake_security_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800690 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test || ( echo test chttp2_fake_security_cancel_after_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800691 $(E) "[RUN] Testing chttp2_fake_security_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800692 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test || ( echo test chttp2_fake_security_cancel_before_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800693 $(E) "[RUN] Testing chttp2_fake_security_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800694 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test || ( echo test chttp2_fake_security_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800695 $(E) "[RUN] Testing chttp2_fake_security_census_simple_request_test"
696 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test || ( echo test chttp2_fake_security_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800697 $(E) "[RUN] Testing chttp2_fake_security_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800698 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test || ( echo test chttp2_fake_security_disappearing_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800699 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800700 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800701 $(E) "[RUN] Testing chttp2_fake_security_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800702 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test || ( echo test chttp2_fake_security_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800703 $(E) "[RUN] Testing chttp2_fake_security_graceful_server_shutdown_test"
704 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test || ( echo test chttp2_fake_security_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800705 $(E) "[RUN] Testing chttp2_fake_security_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800706 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test || ( echo test chttp2_fake_security_invoke_large_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800707 $(E) "[RUN] Testing chttp2_fake_security_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800708 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test || ( echo test chttp2_fake_security_max_concurrent_streams_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800709 $(E) "[RUN] Testing chttp2_fake_security_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800710 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_no_op_test || ( echo test chttp2_fake_security_no_op_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800711 $(E) "[RUN] Testing chttp2_fake_security_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800712 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test || ( echo test chttp2_fake_security_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800713 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800714 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_fake_security_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800715 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800716 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test || ( echo test chttp2_fake_security_request_response_with_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800717 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800718 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test || ( echo test chttp2_fake_security_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800719 $(E) "[RUN] Testing chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800720 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800721 $(E) "[RUN] Testing chttp2_fake_security_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800722 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test || ( echo test chttp2_fake_security_simple_delayed_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800723 $(E) "[RUN] Testing chttp2_fake_security_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800724 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_simple_request_test || ( echo test chttp2_fake_security_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800725 $(E) "[RUN] Testing chttp2_fake_security_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800726 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_thread_stress_test || ( echo test chttp2_fake_security_thread_stress_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800727 $(E) "[RUN] Testing chttp2_fake_security_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800728 $(Q) ./bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test || ( echo test chttp2_fake_security_writes_done_hangs_with_pending_read_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800729 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800730 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test || ( echo test chttp2_fullstack_cancel_after_accept_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800731 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800732 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_fullstack_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800733 $(E) "[RUN] Testing chttp2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800734 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test || ( echo test chttp2_fullstack_cancel_after_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800735 $(E) "[RUN] Testing chttp2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800736 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test || ( echo test chttp2_fullstack_cancel_before_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800737 $(E) "[RUN] Testing chttp2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800738 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test || ( echo test chttp2_fullstack_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800739 $(E) "[RUN] Testing chttp2_fullstack_census_simple_request_test"
740 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test || ( echo test chttp2_fullstack_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800741 $(E) "[RUN] Testing chttp2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800742 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test || ( echo test chttp2_fullstack_disappearing_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800743 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800744 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800745 $(E) "[RUN] Testing chttp2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800746 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test || ( echo test chttp2_fullstack_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800747 $(E) "[RUN] Testing chttp2_fullstack_graceful_server_shutdown_test"
748 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test || ( echo test chttp2_fullstack_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800749 $(E) "[RUN] Testing chttp2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800750 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test || ( echo test chttp2_fullstack_invoke_large_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800751 $(E) "[RUN] Testing chttp2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800752 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test || ( echo test chttp2_fullstack_max_concurrent_streams_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800753 $(E) "[RUN] Testing chttp2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800754 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_no_op_test || ( echo test chttp2_fullstack_no_op_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800755 $(E) "[RUN] Testing chttp2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800756 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test || ( echo test chttp2_fullstack_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800757 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800758 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_fullstack_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800759 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800760 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test || ( echo test chttp2_fullstack_request_response_with_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800761 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800762 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test || ( echo test chttp2_fullstack_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800763 $(E) "[RUN] Testing chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800764 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800765 $(E) "[RUN] Testing chttp2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800766 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test || ( echo test chttp2_fullstack_simple_delayed_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800767 $(E) "[RUN] Testing chttp2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800768 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_simple_request_test || ( echo test chttp2_fullstack_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800769 $(E) "[RUN] Testing chttp2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800770 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_thread_stress_test || ( echo test chttp2_fullstack_thread_stress_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800771 $(E) "[RUN] Testing chttp2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800772 $(Q) ./bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test || ( echo test chttp2_fullstack_writes_done_hangs_with_pending_read_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800773 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800774 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test || ( echo test chttp2_simple_ssl_fullstack_cancel_after_accept_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800775 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800776 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800777 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800778 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test || ( echo test chttp2_simple_ssl_fullstack_cancel_after_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800779 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800780 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test || ( echo test chttp2_simple_ssl_fullstack_cancel_before_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800781 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800782 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test || ( echo test chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800783 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_census_simple_request_test"
784 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test || ( echo test chttp2_simple_ssl_fullstack_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800785 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800786 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test || ( echo test chttp2_simple_ssl_fullstack_disappearing_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800787 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800788 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800789 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800790 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test || ( echo test chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800791 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_graceful_server_shutdown_test"
792 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test || ( echo test chttp2_simple_ssl_fullstack_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800793 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800794 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test || ( echo test chttp2_simple_ssl_fullstack_invoke_large_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800795 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800796 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test || ( echo test chttp2_simple_ssl_fullstack_max_concurrent_streams_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800797 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800798 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test || ( echo test chttp2_simple_ssl_fullstack_no_op_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800799 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800800 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test || ( echo test chttp2_simple_ssl_fullstack_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800801 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800802 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800803 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800804 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test || ( echo test chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800805 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800806 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test || ( echo test chttp2_simple_ssl_fullstack_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800807 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800808 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800809 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800810 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test || ( echo test chttp2_simple_ssl_fullstack_simple_delayed_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800811 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800812 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test || ( echo test chttp2_simple_ssl_fullstack_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800813 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800814 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test || ( echo test chttp2_simple_ssl_fullstack_thread_stress_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800815 $(E) "[RUN] Testing chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800816 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test || ( echo test chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800817 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800818 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800819 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800820 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800821 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800822 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800823 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800824 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800825 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800826 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800827 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test"
828 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800829 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800830 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800831 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800832 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800833 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800834 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800835 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test"
836 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800837 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800838 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800839 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800840 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800841 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800842 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_no_op_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800843 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800844 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800845 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800846 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800847 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800848 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800849 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800850 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800851 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800852 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800853 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800854 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800855 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800856 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800857 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800858 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800859 $(E) "[RUN] Testing chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800860 $(Q) ./bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test || ( echo test chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800861 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800862 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test || ( echo test chttp2_socket_pair_cancel_after_accept_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800863 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800864 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_socket_pair_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800865 $(E) "[RUN] Testing chttp2_socket_pair_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800866 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test || ( echo test chttp2_socket_pair_cancel_after_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800867 $(E) "[RUN] Testing chttp2_socket_pair_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800868 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test || ( echo test chttp2_socket_pair_cancel_before_invoke_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800869 $(E) "[RUN] Testing chttp2_socket_pair_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800870 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test || ( echo test chttp2_socket_pair_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800871 $(E) "[RUN] Testing chttp2_socket_pair_census_simple_request_test"
872 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test || ( echo test chttp2_socket_pair_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800873 $(E) "[RUN] Testing chttp2_socket_pair_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800874 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test || ( echo test chttp2_socket_pair_disappearing_server_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800875 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800876 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800877 $(E) "[RUN] Testing chttp2_socket_pair_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800878 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test || ( echo test chttp2_socket_pair_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800879 $(E) "[RUN] Testing chttp2_socket_pair_graceful_server_shutdown_test"
880 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test || ( echo test chttp2_socket_pair_graceful_server_shutdown_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800881 $(E) "[RUN] Testing chttp2_socket_pair_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800882 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test || ( echo test chttp2_socket_pair_invoke_large_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800883 $(E) "[RUN] Testing chttp2_socket_pair_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800884 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test || ( echo test chttp2_socket_pair_max_concurrent_streams_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800885 $(E) "[RUN] Testing chttp2_socket_pair_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800886 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_no_op_test || ( echo test chttp2_socket_pair_no_op_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800887 $(E) "[RUN] Testing chttp2_socket_pair_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800888 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test || ( echo test chttp2_socket_pair_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800889 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800890 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800891 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800892 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test || ( echo test chttp2_socket_pair_request_response_with_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800893 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800894 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test || ( echo test chttp2_socket_pair_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800895 $(E) "[RUN] Testing chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800896 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800897 $(E) "[RUN] Testing chttp2_socket_pair_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800898 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test || ( echo test chttp2_socket_pair_simple_delayed_request_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800899 $(E) "[RUN] Testing chttp2_socket_pair_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800900 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_simple_request_test || ( echo test chttp2_socket_pair_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800901 $(E) "[RUN] Testing chttp2_socket_pair_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800902 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test || ( echo test chttp2_socket_pair_thread_stress_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800903 $(E) "[RUN] Testing chttp2_socket_pair_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800904 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test || ( echo test chttp2_socket_pair_writes_done_hangs_with_pending_read_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800905 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test"
ctillercab52e72015-01-06 13:10:23 -0800906 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800907 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test"
ctillercab52e72015-01-06 13:10:23 -0800908 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800909 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800910 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800911 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test"
ctillercab52e72015-01-06 13:10:23 -0800912 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800913 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test"
ctillercab52e72015-01-06 13:10:23 -0800914 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test failed ; exit 1 )
hongyu24200d32015-01-08 15:13:49 -0800915 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test"
916 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test failed ; exit 1 )
ctillerc6d61c42014-12-15 14:52:08 -0800917 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test"
ctillercab52e72015-01-06 13:10:23 -0800918 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800919 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test"
ctillercab52e72015-01-06 13:10:23 -0800920 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800921 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test"
ctillercab52e72015-01-06 13:10:23 -0800922 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test failed ; exit 1 )
Craig Tiller4ffdcd52015-01-16 11:34:55 -0800923 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test"
924 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800925 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test"
ctillercab52e72015-01-06 13:10:23 -0800926 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800927 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test"
ctillercab52e72015-01-06 13:10:23 -0800928 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800929 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_no_op_test"
ctillercab52e72015-01-06 13:10:23 -0800930 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_no_op_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800931 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test"
ctillercab52e72015-01-06 13:10:23 -0800932 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test failed ; exit 1 )
ctiller33023c42014-12-12 16:28:33 -0800933 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800934 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800935 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800936 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800937 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800938 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test failed ; exit 1 )
ctiller2845cad2014-12-15 15:14:12 -0800939 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test"
ctillercab52e72015-01-06 13:10:23 -0800940 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800941 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test"
ctillercab52e72015-01-06 13:10:23 -0800942 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800943 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_simple_request_test"
ctillercab52e72015-01-06 13:10:23 -0800944 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_simple_request_test failed ; exit 1 )
nathaniel52878172014-12-09 10:17:19 -0800945 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_thread_stress_test"
ctillercab52e72015-01-06 13:10:23 -0800946 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_thread_stress_test failed ; exit 1 )
nnoble0c475f02014-12-05 15:37:39 -0800947 $(E) "[RUN] Testing chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test"
ctillercab52e72015-01-06 13:10:23 -0800948 $(Q) ./bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test || ( echo test chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test failed ; exit 1 )
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800949
950
nnoble85a49262014-12-08 18:14:03 -0800951test_cxx: buildtests_cxx
yangg59dfc902014-12-19 14:00:14 -0800952 $(E) "[RUN] Testing channel_arguments_test"
ctillercab52e72015-01-06 13:10:23 -0800953 $(Q) ./bins/$(CONFIG)/channel_arguments_test || ( echo test channel_arguments_test failed ; exit 1 )
yangg4105e2b2015-01-09 14:19:44 -0800954 $(E) "[RUN] Testing credentials_test"
955 $(Q) ./bins/$(CONFIG)/credentials_test || ( echo test credentials_test failed ; exit 1 )
Craig Tiller17ec5f92015-01-18 11:30:41 -0800956 $(E) "[RUN] Testing end2end_test"
957 $(Q) ./bins/$(CONFIG)/end2end_test || ( echo test end2end_test failed ; exit 1 )
958 $(E) "[RUN] Testing qps_client"
959 $(Q) ./bins/$(CONFIG)/qps_client || ( echo test qps_client failed ; exit 1 )
960 $(E) "[RUN] Testing qps_server"
961 $(Q) ./bins/$(CONFIG)/qps_server || ( echo test qps_server failed ; exit 1 )
962 $(E) "[RUN] Testing status_test"
963 $(Q) ./bins/$(CONFIG)/status_test || ( echo test status_test failed ; exit 1 )
964 $(E) "[RUN] Testing sync_client_async_server_test"
965 $(Q) ./bins/$(CONFIG)/sync_client_async_server_test || ( echo test sync_client_async_server_test failed ; exit 1 )
966 $(E) "[RUN] Testing thread_pool_test"
967 $(Q) ./bins/$(CONFIG)/thread_pool_test || ( echo test thread_pool_test failed ; exit 1 )
nnoble29e1d292014-12-01 10:27:40 -0800968
969
ctillercab52e72015-01-06 13:10:23 -0800970tools: privatelibs bins/$(CONFIG)/gen_hpack_tables bins/$(CONFIG)/grpc_fetch_oauth2
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800971
ctillercab52e72015-01-06 13:10:23 -0800972buildbenchmarks: privatelibs bins/$(CONFIG)/grpc_completion_queue_benchmark bins/$(CONFIG)/low_level_ping_pong_benchmark
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800973
974benchmarks: buildbenchmarks
975
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800976strip: strip-static strip-shared
977
nnoble20e2e3f2014-12-16 15:37:57 -0800978strip-static: strip-static_c strip-static_cxx
979
980strip-shared: strip-shared_c strip-shared_cxx
981
Nicolas Noble047b7272015-01-16 13:55:05 -0800982
983# TODO(nnoble): the strip target is stripping in-place, instead
984# of copying files in a temporary folder.
985# This prevents proper debugging after running make install.
986
nnoble85a49262014-12-08 18:14:03 -0800987strip-static_c: static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800988 $(E) "[STRIP] Stripping libgpr.a"
ctillercab52e72015-01-06 13:10:23 -0800989 $(Q) $(STRIP) libs/$(CONFIG)/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800990 $(E) "[STRIP] Stripping libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -0800991 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800992 $(E) "[STRIP] Stripping libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -0800993 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -0800994
nnoble85a49262014-12-08 18:14:03 -0800995strip-static_cxx: static_cxx
996 $(E) "[STRIP] Stripping libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -0800997 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -0800998
999strip-shared_c: shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001000 $(E) "[STRIP] Stripping libgpr.so"
ctillercab52e72015-01-06 13:10:23 -08001001 $(Q) $(STRIP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001002 $(E) "[STRIP] Stripping libgrpc.so"
ctillercab52e72015-01-06 13:10:23 -08001003 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001004 $(E) "[STRIP] Stripping libgrpc_unsecure.so"
ctillercab52e72015-01-06 13:10:23 -08001005 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001006
nnoble85a49262014-12-08 18:14:03 -08001007strip-shared_cxx: shared_cxx
1008 $(E) "[STRIP] Stripping libgrpc++.so"
ctillercab52e72015-01-06 13:10:23 -08001009 $(Q) $(STRIP) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT)
nnoble85a49262014-12-08 18:14:03 -08001010
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001011gens/test/cpp/interop/empty.pb.cc: test/cpp/interop/empty.proto $(PROTOC_PLUGINS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001012 $(E) "[PROTOC] Generating protobuf CC file from $<"
1013 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001014 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001015
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001016gens/test/cpp/interop/messages.pb.cc: test/cpp/interop/messages.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001017 $(E) "[PROTOC] Generating protobuf CC file from $<"
1018 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001019 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001020
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001021gens/test/cpp/interop/test.pb.cc: test/cpp/interop/test.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001022 $(E) "[PROTOC] Generating protobuf CC file from $<"
1023 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001024 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001025
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001026gens/test/cpp/qps/qpstest.pb.cc: test/cpp/qps/qpstest.proto $(PROTOC_PLUGINS)
Craig Tillerbf2659f2015-01-13 12:27:06 -08001027 $(E) "[PROTOC] Generating protobuf CC file from $<"
1028 $(Q) mkdir -p `dirname $@`
1029 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1030
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001031gens/test/cpp/util/echo.pb.cc: test/cpp/util/echo.proto $(PROTOC_PLUGINS)
nnoble72309c62014-12-12 11:42:26 -08001032 $(E) "[PROTOC] Generating protobuf CC file from $<"
1033 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001034 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
nnoble72309c62014-12-12 11:42:26 -08001035
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001036gens/test/cpp/util/echo_duplicate.pb.cc: test/cpp/util/echo_duplicate.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001037 $(E) "[PROTOC] Generating protobuf CC file from $<"
1038 $(Q) mkdir -p `dirname $@`
1039 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1040
Craig Tillerf58b9ef2015-01-15 09:09:12 -08001041gens/test/cpp/util/messages.pb.cc: test/cpp/util/messages.proto $(PROTOC_PLUGINS)
yangg1456d152015-01-08 15:39:58 -08001042 $(E) "[PROTOC] Generating protobuf CC file from $<"
1043 $(Q) mkdir -p `dirname $@`
1044 $(Q) $(PROTOC) --cpp_out=gens --grpc_out=gens --plugin=protoc-gen-grpc=bins/$(CONFIG)/cpp_plugin $<
1045
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001046
ctillercab52e72015-01-06 13:10:23 -08001047objs/$(CONFIG)/%.o : %.c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001048 $(E) "[C] Compiling $<"
1049 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001050 $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001051
ctillercab52e72015-01-06 13:10:23 -08001052objs/$(CONFIG)/%.o : gens/%.pb.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001053 $(E) "[CXX] Compiling $<"
1054 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001055 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001056
ctillercab52e72015-01-06 13:10:23 -08001057objs/$(CONFIG)/src/compiler/%.o : src/compiler/%.cc
nnoble72309c62014-12-12 11:42:26 -08001058 $(E) "[HOSTCXX] Compiling $<"
1059 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001060 $(Q) $(HOST_CXX) $(HOST_CXXFLAGS) $(HOST_CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
nnoble72309c62014-12-12 11:42:26 -08001061
ctillercab52e72015-01-06 13:10:23 -08001062objs/$(CONFIG)/%.o : %.cc
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001063 $(E) "[CXX] Compiling $<"
1064 $(Q) mkdir -p `dirname $@`
Craig Tiller12c82092015-01-15 08:45:56 -08001065 $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001066
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001067
nnoble85a49262014-12-08 18:14:03 -08001068install: install_c install_cxx
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001069
nnoble85a49262014-12-08 18:14:03 -08001070install_c: install-headers_c install-static_c install-shared_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001071
nnoble85a49262014-12-08 18:14:03 -08001072install_cxx: install-headers_cxx install-static_cxx install-shared_cxx
1073
1074install-headers: install-headers_c install-headers_cxx
1075
1076install-headers_c:
1077 $(E) "[INSTALL] Installing public C headers"
1078 $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1079
1080install-headers_cxx:
1081 $(E) "[INSTALL] Installing public C++ headers"
1082 $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
1083
1084install-static: install-static_c install-static_cxx
1085
1086install-static_c: static_c strip-static_c
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001087 $(E) "[INSTALL] Installing libgpr.a"
ctillercab52e72015-01-06 13:10:23 -08001088 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.a $(prefix)/lib/libgpr.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001089 $(E) "[INSTALL] Installing libgrpc.a"
ctillercab52e72015-01-06 13:10:23 -08001090 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.a $(prefix)/lib/libgrpc.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001091 $(E) "[INSTALL] Installing libgrpc_unsecure.a"
ctillercab52e72015-01-06 13:10:23 -08001092 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.a $(prefix)/lib/libgrpc_unsecure.a
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001093
nnoble85a49262014-12-08 18:14:03 -08001094install-static_cxx: static_cxx strip-static_cxx
1095 $(E) "[INSTALL] Installing libgrpc++.a"
ctillercab52e72015-01-06 13:10:23 -08001096 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.a $(prefix)/lib/libgrpc++.a
nnoble85a49262014-12-08 18:14:03 -08001097
1098install-shared_c: shared_c strip-shared_c
nnoble5b7f32a2014-12-22 08:12:44 -08001099ifeq ($(SYSTEM),MINGW32)
1100 $(E) "[INSTALL] Installing gpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001101 $(Q) $(INSTALL) libs/$(CONFIG)/gpr.$(SHARED_EXT) $(prefix)/lib/gpr.$(SHARED_EXT)
1102 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr-imp.a $(prefix)/lib/libgpr-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001103else
1104 $(E) "[INSTALL] Installing libgpr.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001105 $(Q) $(INSTALL) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001106ifneq ($(SYSTEM),Darwin)
1107 $(Q) ln -sf libgpr.$(SHARED_EXT) $(prefix)/lib/libgpr.so
1108endif
1109endif
1110ifeq ($(SYSTEM),MINGW32)
1111 $(E) "[INSTALL] Installing grpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001112 $(Q) $(INSTALL) libs/$(CONFIG)/grpc.$(SHARED_EXT) $(prefix)/lib/grpc.$(SHARED_EXT)
1113 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc-imp.a $(prefix)/lib/libgrpc-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001114else
1115 $(E) "[INSTALL] Installing libgrpc.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001116 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001117ifneq ($(SYSTEM),Darwin)
1118 $(Q) ln -sf libgrpc.$(SHARED_EXT) $(prefix)/lib/libgrpc.so
1119endif
1120endif
1121ifeq ($(SYSTEM),MINGW32)
1122 $(E) "[INSTALL] Installing grpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001123 $(Q) $(INSTALL) libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT) $(prefix)/lib/grpc_unsecure.$(SHARED_EXT)
1124 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure-imp.a $(prefix)/lib/libgrpc_unsecure-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001125else
1126 $(E) "[INSTALL] Installing libgrpc_unsecure.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001127 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001128ifneq ($(SYSTEM),Darwin)
1129 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.so
1130endif
1131endif
1132ifneq ($(SYSTEM),MINGW32)
1133ifneq ($(SYSTEM),Darwin)
1134 $(Q) ldconfig
1135endif
1136endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001137
nnoble85a49262014-12-08 18:14:03 -08001138install-shared_cxx: shared_cxx strip-shared_cxx
nnoble5b7f32a2014-12-22 08:12:44 -08001139ifeq ($(SYSTEM),MINGW32)
1140 $(E) "[INSTALL] Installing grpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001141 $(Q) $(INSTALL) libs/$(CONFIG)/grpc++.$(SHARED_EXT) $(prefix)/lib/grpc++.$(SHARED_EXT)
1142 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++-imp.a $(prefix)/lib/libgrpc++-imp.a
nnoble5b7f32a2014-12-22 08:12:44 -08001143else
1144 $(E) "[INSTALL] Installing libgrpc++.$(SHARED_EXT)"
ctillercab52e72015-01-06 13:10:23 -08001145 $(Q) $(INSTALL) libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.$(SHARED_EXT)
nnoble5b7f32a2014-12-22 08:12:44 -08001146ifneq ($(SYSTEM),Darwin)
1147 $(Q) ln -sf libgrpc++.$(SHARED_EXT) $(prefix)/lib/libgrpc++.so
1148endif
1149endif
1150ifneq ($(SYSTEM),MINGW32)
1151ifneq ($(SYSTEM),Darwin)
1152 $(Q) ldconfig
1153endif
1154endif
nnoble85a49262014-12-08 18:14:03 -08001155
Craig Tiller3759e6f2015-01-15 08:13:11 -08001156clean:
Craig Tiller12c82092015-01-15 08:45:56 -08001157 $(Q) $(RM) -rf objs libs bins gens
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001158
1159
1160# The various libraries
1161
1162
1163LIBGPR_SRC = \
1164 src/core/support/alloc.c \
1165 src/core/support/cancellable.c \
1166 src/core/support/cmdline.c \
ctillerd94ad102014-12-23 08:53:43 -08001167 src/core/support/cpu_linux.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001168 src/core/support/cpu_posix.c \
1169 src/core/support/histogram.c \
1170 src/core/support/host_port.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001171 src/core/support/log.c \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001172 src/core/support/log_android.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001173 src/core/support/log_linux.c \
1174 src/core/support/log_posix.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001175 src/core/support/log_win32.c \
1176 src/core/support/murmur_hash.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001177 src/core/support/slice.c \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001178 src/core/support/slice_buffer.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001179 src/core/support/string.c \
1180 src/core/support/string_posix.c \
nnoble0c475f02014-12-05 15:37:39 -08001181 src/core/support/string_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001182 src/core/support/sync.c \
1183 src/core/support/sync_posix.c \
jtattermusch98bffb72014-12-09 12:47:19 -08001184 src/core/support/sync_win32.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001185 src/core/support/thd_posix.c \
1186 src/core/support/thd_win32.c \
1187 src/core/support/time.c \
1188 src/core/support/time_posix.c \
1189 src/core/support/time_win32.c \
1190
nnoble85a49262014-12-08 18:14:03 -08001191PUBLIC_HEADERS_C += \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001192 include/grpc/support/alloc.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001193 include/grpc/support/atm.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001194 include/grpc/support/atm_gcc_atomic.h \
1195 include/grpc/support/atm_gcc_sync.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001196 include/grpc/support/atm_win32.h \
1197 include/grpc/support/cancellable_platform.h \
1198 include/grpc/support/cmdline.h \
1199 include/grpc/support/histogram.h \
1200 include/grpc/support/host_port.h \
1201 include/grpc/support/log.h \
1202 include/grpc/support/port_platform.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001203 include/grpc/support/slice.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001204 include/grpc/support/slice_buffer.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001205 include/grpc/support/string.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001206 include/grpc/support/sync.h \
Craig Tiller17ec5f92015-01-18 11:30:41 -08001207 include/grpc/support/sync_generic.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001208 include/grpc/support/sync_posix.h \
1209 include/grpc/support/sync_win32.h \
1210 include/grpc/support/thd.h \
1211 include/grpc/support/thd_posix.h \
1212 include/grpc/support/thd_win32.h \
1213 include/grpc/support/time.h \
1214 include/grpc/support/time_posix.h \
1215 include/grpc/support/time_win32.h \
1216 include/grpc/support/useful.h \
1217
ctillercab52e72015-01-06 13:10:23 -08001218LIBGPR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001219
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001220libs/$(CONFIG)/libgpr.a: $(ZLIB_DEP) $(LIBGPR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001221 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001222 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001223 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr.a $(LIBGPR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001224
nnoble5b7f32a2014-12-22 08:12:44 -08001225
1226
1227ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001228libs/$(CONFIG)/gpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001229 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001230 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001231 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,--output-def=libs/$(CONFIG)/gpr.def -Wl,--out-implib=libs/$(CONFIG)/libgpr-imp.a -o libs/$(CONFIG)/gpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
nnoble5b7f32a2014-12-22 08:12:44 -08001232else
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001233libs/$(CONFIG)/libgpr.$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001234 $(E) "[LD] Linking $@"
1235 $(Q) mkdir -p `dirname $@`
1236ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001237 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
nnoble5b7f32a2014-12-22 08:12:44 -08001238else
ctillercab52e72015-01-06 13:10:23 -08001239 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgpr.so.0 -o libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS)
1240 $(Q) ln -sf libgpr.$(SHARED_EXT) libs/$(CONFIG)/libgpr.so
nnoble5b7f32a2014-12-22 08:12:44 -08001241endif
1242endif
1243
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001244
nnoble69ac39f2014-12-12 15:43:38 -08001245ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001246-include $(LIBGPR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001247endif
1248
Craig Tiller27715ca2015-01-12 16:55:59 -08001249objs/$(CONFIG)/src/core/support/alloc.o:
1250objs/$(CONFIG)/src/core/support/cancellable.o:
1251objs/$(CONFIG)/src/core/support/cmdline.o:
1252objs/$(CONFIG)/src/core/support/cpu_linux.o:
1253objs/$(CONFIG)/src/core/support/cpu_posix.o:
1254objs/$(CONFIG)/src/core/support/histogram.o:
1255objs/$(CONFIG)/src/core/support/host_port.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001256objs/$(CONFIG)/src/core/support/log.o:
Craig Tiller17ec5f92015-01-18 11:30:41 -08001257objs/$(CONFIG)/src/core/support/log_android.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001258objs/$(CONFIG)/src/core/support/log_linux.o:
1259objs/$(CONFIG)/src/core/support/log_posix.o:
1260objs/$(CONFIG)/src/core/support/log_win32.o:
1261objs/$(CONFIG)/src/core/support/murmur_hash.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001262objs/$(CONFIG)/src/core/support/slice.o:
Craig Tiller17ec5f92015-01-18 11:30:41 -08001263objs/$(CONFIG)/src/core/support/slice_buffer.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001264objs/$(CONFIG)/src/core/support/string.o:
1265objs/$(CONFIG)/src/core/support/string_posix.o:
1266objs/$(CONFIG)/src/core/support/string_win32.o:
1267objs/$(CONFIG)/src/core/support/sync.o:
1268objs/$(CONFIG)/src/core/support/sync_posix.o:
1269objs/$(CONFIG)/src/core/support/sync_win32.o:
1270objs/$(CONFIG)/src/core/support/thd_posix.o:
1271objs/$(CONFIG)/src/core/support/thd_win32.o:
1272objs/$(CONFIG)/src/core/support/time.o:
1273objs/$(CONFIG)/src/core/support/time_posix.o:
1274objs/$(CONFIG)/src/core/support/time_win32.o:
1275
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001276
Craig Tiller17ec5f92015-01-18 11:30:41 -08001277LIBGPR_TEST_UTIL_SRC = \
1278 test/core/util/test_config.c \
1279
1280
1281LIBGPR_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_TEST_UTIL_SRC))))
1282
1283ifeq ($(NO_SECURE),true)
1284
1285# You can't build secure libraries if you don't have OpenSSL with ALPN.
1286
1287libs/$(CONFIG)/libgpr_test_util.a: openssl_dep_error
1288
1289
1290else
1291
1292ifneq ($(OPENSSL_DEP),)
1293test/core/util/test_config.c: $(OPENSSL_DEP)
1294endif
1295
1296libs/$(CONFIG)/libgpr_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGPR_TEST_UTIL_OBJS)
1297 $(E) "[AR] Creating $@"
1298 $(Q) mkdir -p `dirname $@`
1299 $(Q) $(AR) rcs libs/$(CONFIG)/libgpr_test_util.a $(LIBGPR_TEST_UTIL_OBJS)
1300
1301
1302
1303
1304
1305endif
1306
1307ifneq ($(NO_SECURE),true)
1308ifneq ($(NO_DEPS),true)
1309-include $(LIBGPR_TEST_UTIL_OBJS:.o=.dep)
1310endif
1311endif
1312
1313objs/$(CONFIG)/test/core/util/test_config.o:
1314
1315
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001316LIBGRPC_SRC = \
nnoblec87b1c52015-01-05 17:15:18 -08001317 src/core/security/auth.c \
1318 src/core/security/base64.c \
1319 src/core/security/credentials.c \
jboeuf6ad120e2015-01-12 17:08:15 -08001320 src/core/security/factories.c \
nnoblec87b1c52015-01-05 17:15:18 -08001321 src/core/security/google_root_certs.c \
1322 src/core/security/json_token.c \
1323 src/core/security/secure_endpoint.c \
1324 src/core/security/secure_transport_setup.c \
1325 src/core/security/security_context.c \
1326 src/core/security/server_secure_chttp2.c \
1327 src/core/tsi/fake_transport_security.c \
1328 src/core/tsi/ssl_transport_security.c \
1329 src/core/tsi/transport_security.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001330 src/core/channel/call_op_string.c \
1331 src/core/channel/census_filter.c \
1332 src/core/channel/channel_args.c \
1333 src/core/channel/channel_stack.c \
ctiller82e275f2014-12-12 08:43:28 -08001334 src/core/channel/child_channel.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001335 src/core/channel/client_channel.c \
1336 src/core/channel/client_setup.c \
1337 src/core/channel/connected_channel.c \
1338 src/core/channel/http_client_filter.c \
1339 src/core/channel/http_filter.c \
1340 src/core/channel/http_server_filter.c \
1341 src/core/channel/metadata_buffer.c \
1342 src/core/channel/noop_filter.c \
1343 src/core/compression/algorithm.c \
1344 src/core/compression/message_compress.c \
ctiller18b49ab2014-12-09 14:39:16 -08001345 src/core/httpcli/format_request.c \
1346 src/core/httpcli/httpcli.c \
1347 src/core/httpcli/httpcli_security_context.c \
1348 src/core/httpcli/parser.c \
ctiller52103932014-12-20 09:07:32 -08001349 src/core/iomgr/alarm.c \
1350 src/core/iomgr/alarm_heap.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001351 src/core/iomgr/endpoint.c \
ctiller18b49ab2014-12-09 14:39:16 -08001352 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001353 src/core/iomgr/fd_posix.c \
1354 src/core/iomgr/iomgr.c \
1355 src/core/iomgr/iomgr_posix.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08001356 src/core/iomgr/pollset_kick_posix.c \
David Klempnerdbb4f942015-01-21 17:45:18 -08001357 src/core/iomgr/pollset_kick_eventfd.c \
ctiller58393c22015-01-07 14:03:30 -08001358 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1359 src/core/iomgr/pollset_posix.c \
ctiller18b49ab2014-12-09 14:39:16 -08001360 src/core/iomgr/resolve_address_posix.c \
1361 src/core/iomgr/sockaddr_utils.c \
1362 src/core/iomgr/socket_utils_common_posix.c \
1363 src/core/iomgr/socket_utils_linux.c \
1364 src/core/iomgr/socket_utils_posix.c \
1365 src/core/iomgr/tcp_client_posix.c \
1366 src/core/iomgr/tcp_posix.c \
1367 src/core/iomgr/tcp_server_posix.c \
ctillerc1ddffb2014-12-15 13:08:18 -08001368 src/core/iomgr/time_averaged_stats.c \
ctiller18b49ab2014-12-09 14:39:16 -08001369 src/core/statistics/census_init.c \
ctiller2bbb6c42014-12-17 09:44:44 -08001370 src/core/statistics/census_log.c \
ctiller18b49ab2014-12-09 14:39:16 -08001371 src/core/statistics/census_rpc_stats.c \
1372 src/core/statistics/census_tracing.c \
1373 src/core/statistics/hash_table.c \
ctiller18b49ab2014-12-09 14:39:16 -08001374 src/core/statistics/window_stats.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001375 src/core/surface/byte_buffer.c \
1376 src/core/surface/byte_buffer_reader.c \
1377 src/core/surface/call.c \
1378 src/core/surface/channel.c \
1379 src/core/surface/channel_create.c \
1380 src/core/surface/client.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001381 src/core/surface/completion_queue.c \
1382 src/core/surface/event_string.c \
1383 src/core/surface/init.c \
ctiller18b49ab2014-12-09 14:39:16 -08001384 src/core/surface/lame_client.c \
1385 src/core/surface/secure_channel_create.c \
1386 src/core/surface/secure_server_create.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001387 src/core/surface/server.c \
1388 src/core/surface/server_chttp2.c \
1389 src/core/surface/server_create.c \
nnoble0c475f02014-12-05 15:37:39 -08001390 src/core/transport/chttp2/alpn.c \
1391 src/core/transport/chttp2/bin_encoder.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001392 src/core/transport/chttp2/frame_data.c \
nnoble0c475f02014-12-05 15:37:39 -08001393 src/core/transport/chttp2/frame_goaway.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001394 src/core/transport/chttp2/frame_ping.c \
1395 src/core/transport/chttp2/frame_rst_stream.c \
1396 src/core/transport/chttp2/frame_settings.c \
1397 src/core/transport/chttp2/frame_window_update.c \
1398 src/core/transport/chttp2/hpack_parser.c \
1399 src/core/transport/chttp2/hpack_table.c \
nnoble0c475f02014-12-05 15:37:39 -08001400 src/core/transport/chttp2/huffsyms.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001401 src/core/transport/chttp2/status_conversion.c \
1402 src/core/transport/chttp2/stream_encoder.c \
1403 src/core/transport/chttp2/stream_map.c \
1404 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001405 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001406 src/core/transport/chttp2_transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001407 src/core/transport/metadata.c \
1408 src/core/transport/stream_op.c \
1409 src/core/transport/transport.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001410 third_party/cJSON/cJSON.c \
1411
nnoble85a49262014-12-08 18:14:03 -08001412PUBLIC_HEADERS_C += \
nnoblec87b1c52015-01-05 17:15:18 -08001413 include/grpc/grpc_security.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001414 include/grpc/byte_buffer.h \
1415 include/grpc/byte_buffer_reader.h \
1416 include/grpc/grpc.h \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001417 include/grpc/status.h \
1418
ctillercab52e72015-01-06 13:10:23 -08001419LIBGRPC_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001420
nnoble69ac39f2014-12-12 15:43:38 -08001421ifeq ($(NO_SECURE),true)
1422
Nicolas Noble047b7272015-01-16 13:55:05 -08001423# You can't build secure libraries if you don't have OpenSSL with ALPN.
1424
ctillercab52e72015-01-06 13:10:23 -08001425libs/$(CONFIG)/libgrpc.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08001426
nnoble5b7f32a2014-12-22 08:12:44 -08001427ifeq ($(SYSTEM),MINGW32)
ctillercab52e72015-01-06 13:10:23 -08001428libs/$(CONFIG)/grpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001429else
ctillercab52e72015-01-06 13:10:23 -08001430libs/$(CONFIG)/libgrpc.$(SHARED_EXT): openssl_dep_error
nnoble5b7f32a2014-12-22 08:12:44 -08001431endif
1432
nnoble69ac39f2014-12-12 15:43:38 -08001433else
1434
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001435ifneq ($(OPENSSL_DEP),)
1436src/core/security/auth.c: $(OPENSSL_DEP)
1437src/core/security/base64.c: $(OPENSSL_DEP)
1438src/core/security/credentials.c: $(OPENSSL_DEP)
1439src/core/security/factories.c: $(OPENSSL_DEP)
1440src/core/security/google_root_certs.c: $(OPENSSL_DEP)
1441src/core/security/json_token.c: $(OPENSSL_DEP)
1442src/core/security/secure_endpoint.c: $(OPENSSL_DEP)
1443src/core/security/secure_transport_setup.c: $(OPENSSL_DEP)
1444src/core/security/security_context.c: $(OPENSSL_DEP)
1445src/core/security/server_secure_chttp2.c: $(OPENSSL_DEP)
1446src/core/tsi/fake_transport_security.c: $(OPENSSL_DEP)
1447src/core/tsi/ssl_transport_security.c: $(OPENSSL_DEP)
1448src/core/tsi/transport_security.c: $(OPENSSL_DEP)
1449src/core/channel/call_op_string.c: $(OPENSSL_DEP)
1450src/core/channel/census_filter.c: $(OPENSSL_DEP)
1451src/core/channel/channel_args.c: $(OPENSSL_DEP)
1452src/core/channel/channel_stack.c: $(OPENSSL_DEP)
1453src/core/channel/child_channel.c: $(OPENSSL_DEP)
1454src/core/channel/client_channel.c: $(OPENSSL_DEP)
1455src/core/channel/client_setup.c: $(OPENSSL_DEP)
1456src/core/channel/connected_channel.c: $(OPENSSL_DEP)
1457src/core/channel/http_client_filter.c: $(OPENSSL_DEP)
1458src/core/channel/http_filter.c: $(OPENSSL_DEP)
1459src/core/channel/http_server_filter.c: $(OPENSSL_DEP)
1460src/core/channel/metadata_buffer.c: $(OPENSSL_DEP)
1461src/core/channel/noop_filter.c: $(OPENSSL_DEP)
1462src/core/compression/algorithm.c: $(OPENSSL_DEP)
1463src/core/compression/message_compress.c: $(OPENSSL_DEP)
1464src/core/httpcli/format_request.c: $(OPENSSL_DEP)
1465src/core/httpcli/httpcli.c: $(OPENSSL_DEP)
1466src/core/httpcli/httpcli_security_context.c: $(OPENSSL_DEP)
1467src/core/httpcli/parser.c: $(OPENSSL_DEP)
1468src/core/iomgr/alarm.c: $(OPENSSL_DEP)
1469src/core/iomgr/alarm_heap.c: $(OPENSSL_DEP)
1470src/core/iomgr/endpoint.c: $(OPENSSL_DEP)
1471src/core/iomgr/endpoint_pair_posix.c: $(OPENSSL_DEP)
1472src/core/iomgr/fd_posix.c: $(OPENSSL_DEP)
1473src/core/iomgr/iomgr.c: $(OPENSSL_DEP)
1474src/core/iomgr/iomgr_posix.c: $(OPENSSL_DEP)
David Klempner7f3ed1e2015-01-16 15:35:56 -08001475src/core/iomgr/pollset_kick_posix.c: $(OPENSSL_DEP)
David Klempnerdbb4f942015-01-21 17:45:18 -08001476src/core/iomgr/pollset_kick_eventfd.c: $(OPENSSL_DEP)
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01001477src/core/iomgr/pollset_multipoller_with_poll_posix.c: $(OPENSSL_DEP)
1478src/core/iomgr/pollset_posix.c: $(OPENSSL_DEP)
1479src/core/iomgr/resolve_address_posix.c: $(OPENSSL_DEP)
1480src/core/iomgr/sockaddr_utils.c: $(OPENSSL_DEP)
1481src/core/iomgr/socket_utils_common_posix.c: $(OPENSSL_DEP)
1482src/core/iomgr/socket_utils_linux.c: $(OPENSSL_DEP)
1483src/core/iomgr/socket_utils_posix.c: $(OPENSSL_DEP)
1484src/core/iomgr/tcp_client_posix.c: $(OPENSSL_DEP)
1485src/core/iomgr/tcp_posix.c: $(OPENSSL_DEP)
1486src/core/iomgr/tcp_server_posix.c: $(OPENSSL_DEP)
1487src/core/iomgr/time_averaged_stats.c: $(OPENSSL_DEP)
1488src/core/statistics/census_init.c: $(OPENSSL_DEP)
1489src/core/statistics/census_log.c: $(OPENSSL_DEP)
1490src/core/statistics/census_rpc_stats.c: $(OPENSSL_DEP)
1491src/core/statistics/census_tracing.c: $(OPENSSL_DEP)
1492src/core/statistics/hash_table.c: $(OPENSSL_DEP)
1493src/core/statistics/window_stats.c: $(OPENSSL_DEP)
1494src/core/surface/byte_buffer.c: $(OPENSSL_DEP)
1495src/core/surface/byte_buffer_reader.c: $(OPENSSL_DEP)
1496src/core/surface/call.c: $(OPENSSL_DEP)
1497src/core/surface/channel.c: $(OPENSSL_DEP)
1498src/core/surface/channel_create.c: $(OPENSSL_DEP)
1499src/core/surface/client.c: $(OPENSSL_DEP)
1500src/core/surface/completion_queue.c: $(OPENSSL_DEP)
1501src/core/surface/event_string.c: $(OPENSSL_DEP)
1502src/core/surface/init.c: $(OPENSSL_DEP)
1503src/core/surface/lame_client.c: $(OPENSSL_DEP)
1504src/core/surface/secure_channel_create.c: $(OPENSSL_DEP)
1505src/core/surface/secure_server_create.c: $(OPENSSL_DEP)
1506src/core/surface/server.c: $(OPENSSL_DEP)
1507src/core/surface/server_chttp2.c: $(OPENSSL_DEP)
1508src/core/surface/server_create.c: $(OPENSSL_DEP)
1509src/core/transport/chttp2/alpn.c: $(OPENSSL_DEP)
1510src/core/transport/chttp2/bin_encoder.c: $(OPENSSL_DEP)
1511src/core/transport/chttp2/frame_data.c: $(OPENSSL_DEP)
1512src/core/transport/chttp2/frame_goaway.c: $(OPENSSL_DEP)
1513src/core/transport/chttp2/frame_ping.c: $(OPENSSL_DEP)
1514src/core/transport/chttp2/frame_rst_stream.c: $(OPENSSL_DEP)
1515src/core/transport/chttp2/frame_settings.c: $(OPENSSL_DEP)
1516src/core/transport/chttp2/frame_window_update.c: $(OPENSSL_DEP)
1517src/core/transport/chttp2/hpack_parser.c: $(OPENSSL_DEP)
1518src/core/transport/chttp2/hpack_table.c: $(OPENSSL_DEP)
1519src/core/transport/chttp2/huffsyms.c: $(OPENSSL_DEP)
1520src/core/transport/chttp2/status_conversion.c: $(OPENSSL_DEP)
1521src/core/transport/chttp2/stream_encoder.c: $(OPENSSL_DEP)
1522src/core/transport/chttp2/stream_map.c: $(OPENSSL_DEP)
1523src/core/transport/chttp2/timeout_encoding.c: $(OPENSSL_DEP)
1524src/core/transport/chttp2/varint.c: $(OPENSSL_DEP)
1525src/core/transport/chttp2_transport.c: $(OPENSSL_DEP)
1526src/core/transport/metadata.c: $(OPENSSL_DEP)
1527src/core/transport/stream_op.c: $(OPENSSL_DEP)
1528src/core/transport/transport.c: $(OPENSSL_DEP)
1529third_party/cJSON/cJSON.c: $(OPENSSL_DEP)
1530endif
1531
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001532libs/$(CONFIG)/libgrpc.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001533 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08001534 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001535 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS)
Craig Tillerd4773f52015-01-12 16:38:47 -08001536 $(Q) rm -rf tmp-merge
nnoble20e2e3f2014-12-16 15:37:57 -08001537 $(Q) mkdir tmp-merge
ctillercab52e72015-01-06 13:10:23 -08001538 $(Q) ( cd tmp-merge ; $(AR) x ../libs/$(CONFIG)/libgrpc.a )
nnoble20e2e3f2014-12-16 15:37:57 -08001539 $(Q) for l in $(OPENSSL_MERGE_LIBS) ; do ( cd tmp-merge ; ar x ../$${l} ) ; done
ctillercab52e72015-01-06 13:10:23 -08001540 $(Q) rm -f libs/$(CONFIG)/libgrpc.a tmp-merge/__.SYMDEF*
1541 $(Q) ar rcs libs/$(CONFIG)/libgrpc.a tmp-merge/*
nnoble20e2e3f2014-12-16 15:37:57 -08001542 $(Q) rm -rf tmp-merge
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001543
nnoble5b7f32a2014-12-22 08:12:44 -08001544
1545
1546ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001547libs/$(CONFIG)/grpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT) $(OPENSSL_DEP)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001548 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08001549 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001550 $(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 -08001551else
Craig Tillera614caa2015-01-15 09:33:21 -08001552libs/$(CONFIG)/libgrpc.$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT) $(OPENSSL_DEP)
nnoble5b7f32a2014-12-22 08:12:44 -08001553 $(E) "[LD] Linking $@"
1554 $(Q) mkdir -p `dirname $@`
1555ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001556 $(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 -08001557else
ctillercab52e72015-01-06 13:10:23 -08001558 $(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
1559 $(Q) ln -sf libgrpc.$(SHARED_EXT) libs/$(CONFIG)/libgrpc.so
nnoble5b7f32a2014-12-22 08:12:44 -08001560endif
1561endif
1562
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001563
nnoble69ac39f2014-12-12 15:43:38 -08001564endif
1565
nnoble69ac39f2014-12-12 15:43:38 -08001566ifneq ($(NO_SECURE),true)
1567ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001568-include $(LIBGRPC_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001569endif
nnoble69ac39f2014-12-12 15:43:38 -08001570endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001571
Craig Tiller27715ca2015-01-12 16:55:59 -08001572objs/$(CONFIG)/src/core/security/auth.o:
1573objs/$(CONFIG)/src/core/security/base64.o:
1574objs/$(CONFIG)/src/core/security/credentials.o:
Craig Tiller770f60a2015-01-12 17:44:43 -08001575objs/$(CONFIG)/src/core/security/factories.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001576objs/$(CONFIG)/src/core/security/google_root_certs.o:
1577objs/$(CONFIG)/src/core/security/json_token.o:
1578objs/$(CONFIG)/src/core/security/secure_endpoint.o:
1579objs/$(CONFIG)/src/core/security/secure_transport_setup.o:
1580objs/$(CONFIG)/src/core/security/security_context.o:
1581objs/$(CONFIG)/src/core/security/server_secure_chttp2.o:
1582objs/$(CONFIG)/src/core/tsi/fake_transport_security.o:
1583objs/$(CONFIG)/src/core/tsi/ssl_transport_security.o:
1584objs/$(CONFIG)/src/core/tsi/transport_security.o:
1585objs/$(CONFIG)/src/core/channel/call_op_string.o:
1586objs/$(CONFIG)/src/core/channel/census_filter.o:
1587objs/$(CONFIG)/src/core/channel/channel_args.o:
1588objs/$(CONFIG)/src/core/channel/channel_stack.o:
1589objs/$(CONFIG)/src/core/channel/child_channel.o:
1590objs/$(CONFIG)/src/core/channel/client_channel.o:
1591objs/$(CONFIG)/src/core/channel/client_setup.o:
1592objs/$(CONFIG)/src/core/channel/connected_channel.o:
1593objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1594objs/$(CONFIG)/src/core/channel/http_filter.o:
1595objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1596objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1597objs/$(CONFIG)/src/core/channel/noop_filter.o:
1598objs/$(CONFIG)/src/core/compression/algorithm.o:
1599objs/$(CONFIG)/src/core/compression/message_compress.o:
1600objs/$(CONFIG)/src/core/httpcli/format_request.o:
1601objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1602objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1603objs/$(CONFIG)/src/core/httpcli/parser.o:
1604objs/$(CONFIG)/src/core/iomgr/alarm.o:
1605objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1606objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1607objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1608objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1609objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1610objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
David Klempner7f3ed1e2015-01-16 15:35:56 -08001611objs/$(CONFIG)/src/core/iomgr/pollset_kick_posix.o:
David Klempnerdbb4f942015-01-21 17:45:18 -08001612objs/$(CONFIG)/src/core/iomgr/pollset_kick_eventfd.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001613objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1614objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1615objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1616objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1617objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1618objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1619objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1620objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1621objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1622objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1623objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1624objs/$(CONFIG)/src/core/statistics/census_init.o:
1625objs/$(CONFIG)/src/core/statistics/census_log.o:
1626objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1627objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1628objs/$(CONFIG)/src/core/statistics/hash_table.o:
1629objs/$(CONFIG)/src/core/statistics/window_stats.o:
1630objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1631objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1632objs/$(CONFIG)/src/core/surface/call.o:
1633objs/$(CONFIG)/src/core/surface/channel.o:
1634objs/$(CONFIG)/src/core/surface/channel_create.o:
1635objs/$(CONFIG)/src/core/surface/client.o:
1636objs/$(CONFIG)/src/core/surface/completion_queue.o:
1637objs/$(CONFIG)/src/core/surface/event_string.o:
1638objs/$(CONFIG)/src/core/surface/init.o:
1639objs/$(CONFIG)/src/core/surface/lame_client.o:
1640objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1641objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1642objs/$(CONFIG)/src/core/surface/server.o:
1643objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1644objs/$(CONFIG)/src/core/surface/server_create.o:
1645objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1646objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1647objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1648objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1649objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1650objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1651objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1652objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1653objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1654objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1655objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1656objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1657objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1658objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1659objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1660objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1661objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1662objs/$(CONFIG)/src/core/transport/metadata.o:
1663objs/$(CONFIG)/src/core/transport/stream_op.o:
1664objs/$(CONFIG)/src/core/transport/transport.o:
1665objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1666
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001667
Craig Tiller17ec5f92015-01-18 11:30:41 -08001668LIBGRPC_TEST_UTIL_SRC = \
1669 test/core/end2end/cq_verifier.c \
1670 test/core/end2end/data/prod_roots_certs.c \
1671 test/core/end2end/data/server1_cert.c \
1672 test/core/end2end/data/server1_key.c \
1673 test/core/end2end/data/test_root_cert.c \
1674 test/core/iomgr/endpoint_tests.c \
1675 test/core/statistics/census_log_tests.c \
1676 test/core/transport/transport_end2end_tests.c \
1677 test/core/util/grpc_profiler.c \
1678 test/core/util/parse_hexstring.c \
1679 test/core/util/port_posix.c \
1680 test/core/util/slice_splitter.c \
1681
1682
1683LIBGRPC_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_TEST_UTIL_SRC))))
1684
1685ifeq ($(NO_SECURE),true)
1686
1687# You can't build secure libraries if you don't have OpenSSL with ALPN.
1688
1689libs/$(CONFIG)/libgrpc_test_util.a: openssl_dep_error
1690
1691
1692else
1693
1694ifneq ($(OPENSSL_DEP),)
1695test/core/end2end/cq_verifier.c: $(OPENSSL_DEP)
1696test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
1697test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
1698test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
1699test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
1700test/core/iomgr/endpoint_tests.c: $(OPENSSL_DEP)
1701test/core/statistics/census_log_tests.c: $(OPENSSL_DEP)
1702test/core/transport/transport_end2end_tests.c: $(OPENSSL_DEP)
1703test/core/util/grpc_profiler.c: $(OPENSSL_DEP)
1704test/core/util/parse_hexstring.c: $(OPENSSL_DEP)
1705test/core/util/port_posix.c: $(OPENSSL_DEP)
1706test/core/util/slice_splitter.c: $(OPENSSL_DEP)
1707endif
1708
1709libs/$(CONFIG)/libgrpc_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_TEST_UTIL_OBJS)
1710 $(E) "[AR] Creating $@"
1711 $(Q) mkdir -p `dirname $@`
1712 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_test_util.a $(LIBGRPC_TEST_UTIL_OBJS)
1713
1714
1715
1716
1717
1718endif
1719
1720ifneq ($(NO_SECURE),true)
1721ifneq ($(NO_DEPS),true)
1722-include $(LIBGRPC_TEST_UTIL_OBJS:.o=.dep)
1723endif
1724endif
1725
1726objs/$(CONFIG)/test/core/end2end/cq_verifier.o:
1727objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
1728objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
1729objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
1730objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
1731objs/$(CONFIG)/test/core/iomgr/endpoint_tests.o:
1732objs/$(CONFIG)/test/core/statistics/census_log_tests.o:
1733objs/$(CONFIG)/test/core/transport/transport_end2end_tests.o:
1734objs/$(CONFIG)/test/core/util/grpc_profiler.o:
1735objs/$(CONFIG)/test/core/util/parse_hexstring.o:
1736objs/$(CONFIG)/test/core/util/port_posix.o:
1737objs/$(CONFIG)/test/core/util/slice_splitter.o:
1738
1739
nnoblec87b1c52015-01-05 17:15:18 -08001740LIBGRPC_UNSECURE_SRC = \
1741 src/core/channel/call_op_string.c \
1742 src/core/channel/census_filter.c \
1743 src/core/channel/channel_args.c \
1744 src/core/channel/channel_stack.c \
1745 src/core/channel/child_channel.c \
1746 src/core/channel/client_channel.c \
1747 src/core/channel/client_setup.c \
1748 src/core/channel/connected_channel.c \
1749 src/core/channel/http_client_filter.c \
1750 src/core/channel/http_filter.c \
1751 src/core/channel/http_server_filter.c \
1752 src/core/channel/metadata_buffer.c \
1753 src/core/channel/noop_filter.c \
1754 src/core/compression/algorithm.c \
1755 src/core/compression/message_compress.c \
1756 src/core/httpcli/format_request.c \
1757 src/core/httpcli/httpcli.c \
1758 src/core/httpcli/httpcli_security_context.c \
1759 src/core/httpcli/parser.c \
1760 src/core/iomgr/alarm.c \
1761 src/core/iomgr/alarm_heap.c \
1762 src/core/iomgr/endpoint.c \
1763 src/core/iomgr/endpoint_pair_posix.c \
ctiller58393c22015-01-07 14:03:30 -08001764 src/core/iomgr/fd_posix.c \
1765 src/core/iomgr/iomgr.c \
1766 src/core/iomgr/iomgr_posix.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08001767 src/core/iomgr/pollset_kick_posix.c \
David Klempnerdbb4f942015-01-21 17:45:18 -08001768 src/core/iomgr/pollset_kick_eventfd.c \
ctiller58393c22015-01-07 14:03:30 -08001769 src/core/iomgr/pollset_multipoller_with_poll_posix.c \
1770 src/core/iomgr/pollset_posix.c \
nnoblec87b1c52015-01-05 17:15:18 -08001771 src/core/iomgr/resolve_address_posix.c \
1772 src/core/iomgr/sockaddr_utils.c \
1773 src/core/iomgr/socket_utils_common_posix.c \
1774 src/core/iomgr/socket_utils_linux.c \
1775 src/core/iomgr/socket_utils_posix.c \
1776 src/core/iomgr/tcp_client_posix.c \
1777 src/core/iomgr/tcp_posix.c \
1778 src/core/iomgr/tcp_server_posix.c \
1779 src/core/iomgr/time_averaged_stats.c \
1780 src/core/statistics/census_init.c \
1781 src/core/statistics/census_log.c \
1782 src/core/statistics/census_rpc_stats.c \
1783 src/core/statistics/census_tracing.c \
1784 src/core/statistics/hash_table.c \
1785 src/core/statistics/window_stats.c \
1786 src/core/surface/byte_buffer.c \
1787 src/core/surface/byte_buffer_reader.c \
1788 src/core/surface/call.c \
1789 src/core/surface/channel.c \
1790 src/core/surface/channel_create.c \
1791 src/core/surface/client.c \
1792 src/core/surface/completion_queue.c \
1793 src/core/surface/event_string.c \
1794 src/core/surface/init.c \
1795 src/core/surface/lame_client.c \
1796 src/core/surface/secure_channel_create.c \
1797 src/core/surface/secure_server_create.c \
1798 src/core/surface/server.c \
1799 src/core/surface/server_chttp2.c \
1800 src/core/surface/server_create.c \
1801 src/core/transport/chttp2/alpn.c \
1802 src/core/transport/chttp2/bin_encoder.c \
1803 src/core/transport/chttp2/frame_data.c \
1804 src/core/transport/chttp2/frame_goaway.c \
1805 src/core/transport/chttp2/frame_ping.c \
1806 src/core/transport/chttp2/frame_rst_stream.c \
1807 src/core/transport/chttp2/frame_settings.c \
1808 src/core/transport/chttp2/frame_window_update.c \
1809 src/core/transport/chttp2/hpack_parser.c \
1810 src/core/transport/chttp2/hpack_table.c \
1811 src/core/transport/chttp2/huffsyms.c \
1812 src/core/transport/chttp2/status_conversion.c \
1813 src/core/transport/chttp2/stream_encoder.c \
1814 src/core/transport/chttp2/stream_map.c \
1815 src/core/transport/chttp2/timeout_encoding.c \
ctillere4b40932015-01-07 12:13:17 -08001816 src/core/transport/chttp2/varint.c \
ctiller58393c22015-01-07 14:03:30 -08001817 src/core/transport/chttp2_transport.c \
nnoblec87b1c52015-01-05 17:15:18 -08001818 src/core/transport/metadata.c \
1819 src/core/transport/stream_op.c \
1820 src/core/transport/transport.c \
1821 third_party/cJSON/cJSON.c \
1822
1823PUBLIC_HEADERS_C += \
1824 include/grpc/byte_buffer.h \
1825 include/grpc/byte_buffer_reader.h \
1826 include/grpc/grpc.h \
1827 include/grpc/status.h \
1828
ctillercab52e72015-01-06 13:10:23 -08001829LIBGRPC_UNSECURE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_UNSECURE_SRC))))
nnoblec87b1c52015-01-05 17:15:18 -08001830
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001831libs/$(CONFIG)/libgrpc_unsecure.a: $(ZLIB_DEP) $(LIBGRPC_UNSECURE_OBJS)
nnoblec87b1c52015-01-05 17:15:18 -08001832 $(E) "[AR] Creating $@"
1833 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001834 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc_unsecure.a $(LIBGRPC_UNSECURE_OBJS)
nnoblec87b1c52015-01-05 17:15:18 -08001835
1836
1837
1838ifeq ($(SYSTEM),MINGW32)
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01001839libs/$(CONFIG)/grpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/gpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001840 $(E) "[LD] Linking $@"
1841 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08001842 $(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 -08001843else
Craig Tillera614caa2015-01-15 09:33:21 -08001844libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgpr.$(SHARED_EXT)
nnoblec87b1c52015-01-05 17:15:18 -08001845 $(E) "[LD] Linking $@"
1846 $(Q) mkdir -p `dirname $@`
1847ifeq ($(SYSTEM),Darwin)
ctillercab52e72015-01-06 13:10:23 -08001848 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
nnoblec87b1c52015-01-05 17:15:18 -08001849else
ctillercab52e72015-01-06 13:10:23 -08001850 $(Q) $(LD) $(LDFLAGS) -Llibs/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.0 -o libs/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) -lgpr
1851 $(Q) ln -sf libgrpc_unsecure.$(SHARED_EXT) libs/$(CONFIG)/libgrpc_unsecure.so
nnoblec87b1c52015-01-05 17:15:18 -08001852endif
1853endif
1854
1855
nnoblec87b1c52015-01-05 17:15:18 -08001856ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08001857-include $(LIBGRPC_UNSECURE_OBJS:.o=.dep)
nnoblec87b1c52015-01-05 17:15:18 -08001858endif
1859
Craig Tiller27715ca2015-01-12 16:55:59 -08001860objs/$(CONFIG)/src/core/channel/call_op_string.o:
1861objs/$(CONFIG)/src/core/channel/census_filter.o:
1862objs/$(CONFIG)/src/core/channel/channel_args.o:
1863objs/$(CONFIG)/src/core/channel/channel_stack.o:
1864objs/$(CONFIG)/src/core/channel/child_channel.o:
1865objs/$(CONFIG)/src/core/channel/client_channel.o:
1866objs/$(CONFIG)/src/core/channel/client_setup.o:
1867objs/$(CONFIG)/src/core/channel/connected_channel.o:
1868objs/$(CONFIG)/src/core/channel/http_client_filter.o:
1869objs/$(CONFIG)/src/core/channel/http_filter.o:
1870objs/$(CONFIG)/src/core/channel/http_server_filter.o:
1871objs/$(CONFIG)/src/core/channel/metadata_buffer.o:
1872objs/$(CONFIG)/src/core/channel/noop_filter.o:
1873objs/$(CONFIG)/src/core/compression/algorithm.o:
1874objs/$(CONFIG)/src/core/compression/message_compress.o:
1875objs/$(CONFIG)/src/core/httpcli/format_request.o:
1876objs/$(CONFIG)/src/core/httpcli/httpcli.o:
1877objs/$(CONFIG)/src/core/httpcli/httpcli_security_context.o:
1878objs/$(CONFIG)/src/core/httpcli/parser.o:
1879objs/$(CONFIG)/src/core/iomgr/alarm.o:
1880objs/$(CONFIG)/src/core/iomgr/alarm_heap.o:
1881objs/$(CONFIG)/src/core/iomgr/endpoint.o:
1882objs/$(CONFIG)/src/core/iomgr/endpoint_pair_posix.o:
1883objs/$(CONFIG)/src/core/iomgr/fd_posix.o:
1884objs/$(CONFIG)/src/core/iomgr/iomgr.o:
1885objs/$(CONFIG)/src/core/iomgr/iomgr_posix.o:
David Klempner7f3ed1e2015-01-16 15:35:56 -08001886objs/$(CONFIG)/src/core/iomgr/pollset_kick_posix.o:
David Klempnerdbb4f942015-01-21 17:45:18 -08001887objs/$(CONFIG)/src/core/iomgr/pollset_kick_eventfd.o:
Craig Tiller27715ca2015-01-12 16:55:59 -08001888objs/$(CONFIG)/src/core/iomgr/pollset_multipoller_with_poll_posix.o:
1889objs/$(CONFIG)/src/core/iomgr/pollset_posix.o:
1890objs/$(CONFIG)/src/core/iomgr/resolve_address_posix.o:
1891objs/$(CONFIG)/src/core/iomgr/sockaddr_utils.o:
1892objs/$(CONFIG)/src/core/iomgr/socket_utils_common_posix.o:
1893objs/$(CONFIG)/src/core/iomgr/socket_utils_linux.o:
1894objs/$(CONFIG)/src/core/iomgr/socket_utils_posix.o:
1895objs/$(CONFIG)/src/core/iomgr/tcp_client_posix.o:
1896objs/$(CONFIG)/src/core/iomgr/tcp_posix.o:
1897objs/$(CONFIG)/src/core/iomgr/tcp_server_posix.o:
1898objs/$(CONFIG)/src/core/iomgr/time_averaged_stats.o:
1899objs/$(CONFIG)/src/core/statistics/census_init.o:
1900objs/$(CONFIG)/src/core/statistics/census_log.o:
1901objs/$(CONFIG)/src/core/statistics/census_rpc_stats.o:
1902objs/$(CONFIG)/src/core/statistics/census_tracing.o:
1903objs/$(CONFIG)/src/core/statistics/hash_table.o:
1904objs/$(CONFIG)/src/core/statistics/window_stats.o:
1905objs/$(CONFIG)/src/core/surface/byte_buffer.o:
1906objs/$(CONFIG)/src/core/surface/byte_buffer_reader.o:
1907objs/$(CONFIG)/src/core/surface/call.o:
1908objs/$(CONFIG)/src/core/surface/channel.o:
1909objs/$(CONFIG)/src/core/surface/channel_create.o:
1910objs/$(CONFIG)/src/core/surface/client.o:
1911objs/$(CONFIG)/src/core/surface/completion_queue.o:
1912objs/$(CONFIG)/src/core/surface/event_string.o:
1913objs/$(CONFIG)/src/core/surface/init.o:
1914objs/$(CONFIG)/src/core/surface/lame_client.o:
1915objs/$(CONFIG)/src/core/surface/secure_channel_create.o:
1916objs/$(CONFIG)/src/core/surface/secure_server_create.o:
1917objs/$(CONFIG)/src/core/surface/server.o:
1918objs/$(CONFIG)/src/core/surface/server_chttp2.o:
1919objs/$(CONFIG)/src/core/surface/server_create.o:
1920objs/$(CONFIG)/src/core/transport/chttp2/alpn.o:
1921objs/$(CONFIG)/src/core/transport/chttp2/bin_encoder.o:
1922objs/$(CONFIG)/src/core/transport/chttp2/frame_data.o:
1923objs/$(CONFIG)/src/core/transport/chttp2/frame_goaway.o:
1924objs/$(CONFIG)/src/core/transport/chttp2/frame_ping.o:
1925objs/$(CONFIG)/src/core/transport/chttp2/frame_rst_stream.o:
1926objs/$(CONFIG)/src/core/transport/chttp2/frame_settings.o:
1927objs/$(CONFIG)/src/core/transport/chttp2/frame_window_update.o:
1928objs/$(CONFIG)/src/core/transport/chttp2/hpack_parser.o:
1929objs/$(CONFIG)/src/core/transport/chttp2/hpack_table.o:
1930objs/$(CONFIG)/src/core/transport/chttp2/huffsyms.o:
1931objs/$(CONFIG)/src/core/transport/chttp2/status_conversion.o:
1932objs/$(CONFIG)/src/core/transport/chttp2/stream_encoder.o:
1933objs/$(CONFIG)/src/core/transport/chttp2/stream_map.o:
1934objs/$(CONFIG)/src/core/transport/chttp2/timeout_encoding.o:
1935objs/$(CONFIG)/src/core/transport/chttp2/varint.o:
1936objs/$(CONFIG)/src/core/transport/chttp2_transport.o:
1937objs/$(CONFIG)/src/core/transport/metadata.o:
1938objs/$(CONFIG)/src/core/transport/stream_op.o:
1939objs/$(CONFIG)/src/core/transport/transport.o:
1940objs/$(CONFIG)/third_party/cJSON/cJSON.o:
1941
nnoblec87b1c52015-01-05 17:15:18 -08001942
Craig Tiller996d9df2015-01-19 21:06:50 -08001943LIBGRPC++_SRC = \
1944 src/cpp/client/channel.cc \
1945 src/cpp/client/channel_arguments.cc \
1946 src/cpp/client/client_context.cc \
1947 src/cpp/client/create_channel.cc \
1948 src/cpp/client/credentials.cc \
1949 src/cpp/client/internal_stub.cc \
1950 src/cpp/common/rpc_method.cc \
1951 src/cpp/proto/proto_utils.cc \
1952 src/cpp/server/async_server.cc \
1953 src/cpp/server/async_server_context.cc \
1954 src/cpp/server/completion_queue.cc \
1955 src/cpp/server/server.cc \
1956 src/cpp/server/server_builder.cc \
1957 src/cpp/server/server_context_impl.cc \
1958 src/cpp/server/server_credentials.cc \
1959 src/cpp/server/server_rpc_handler.cc \
1960 src/cpp/server/thread_pool.cc \
1961 src/cpp/stream/stream_context.cc \
1962 src/cpp/util/status.cc \
1963 src/cpp/util/time.cc \
1964
1965PUBLIC_HEADERS_CXX += \
1966 include/grpc++/async_server.h \
1967 include/grpc++/async_server_context.h \
1968 include/grpc++/channel_arguments.h \
1969 include/grpc++/channel_interface.h \
1970 include/grpc++/client_context.h \
1971 include/grpc++/completion_queue.h \
1972 include/grpc++/config.h \
1973 include/grpc++/create_channel.h \
1974 include/grpc++/credentials.h \
1975 include/grpc++/impl/internal_stub.h \
1976 include/grpc++/impl/rpc_method.h \
1977 include/grpc++/impl/rpc_service_method.h \
1978 include/grpc++/server.h \
1979 include/grpc++/server_builder.h \
1980 include/grpc++/server_context.h \
1981 include/grpc++/server_credentials.h \
1982 include/grpc++/status.h \
1983 include/grpc++/stream.h \
1984 include/grpc++/stream_context_interface.h \
1985
1986LIBGRPC++_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_SRC))))
1987
1988ifeq ($(NO_SECURE),true)
1989
1990# You can't build secure libraries if you don't have OpenSSL with ALPN.
1991
1992libs/$(CONFIG)/libgrpc++.a: openssl_dep_error
1993
1994ifeq ($(SYSTEM),MINGW32)
1995libs/$(CONFIG)/grpc++.$(SHARED_EXT): openssl_dep_error
1996else
1997libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): openssl_dep_error
1998endif
1999
2000else
2001
2002ifneq ($(OPENSSL_DEP),)
2003src/cpp/client/channel.cc: $(OPENSSL_DEP)
2004src/cpp/client/channel_arguments.cc: $(OPENSSL_DEP)
2005src/cpp/client/client_context.cc: $(OPENSSL_DEP)
2006src/cpp/client/create_channel.cc: $(OPENSSL_DEP)
2007src/cpp/client/credentials.cc: $(OPENSSL_DEP)
2008src/cpp/client/internal_stub.cc: $(OPENSSL_DEP)
2009src/cpp/common/rpc_method.cc: $(OPENSSL_DEP)
2010src/cpp/proto/proto_utils.cc: $(OPENSSL_DEP)
2011src/cpp/server/async_server.cc: $(OPENSSL_DEP)
2012src/cpp/server/async_server_context.cc: $(OPENSSL_DEP)
2013src/cpp/server/completion_queue.cc: $(OPENSSL_DEP)
2014src/cpp/server/server.cc: $(OPENSSL_DEP)
2015src/cpp/server/server_builder.cc: $(OPENSSL_DEP)
2016src/cpp/server/server_context_impl.cc: $(OPENSSL_DEP)
2017src/cpp/server/server_credentials.cc: $(OPENSSL_DEP)
2018src/cpp/server/server_rpc_handler.cc: $(OPENSSL_DEP)
2019src/cpp/server/thread_pool.cc: $(OPENSSL_DEP)
2020src/cpp/stream/stream_context.cc: $(OPENSSL_DEP)
2021src/cpp/util/status.cc: $(OPENSSL_DEP)
2022src/cpp/util/time.cc: $(OPENSSL_DEP)
2023endif
2024
2025libs/$(CONFIG)/libgrpc++.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_OBJS)
2026 $(E) "[AR] Creating $@"
2027 $(Q) mkdir -p `dirname $@`
2028 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++.a $(LIBGRPC++_OBJS)
2029
2030
2031
2032ifeq ($(SYSTEM),MINGW32)
2033libs/$(CONFIG)/grpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP)libs/$(CONFIG)/grpc.$(SHARED_EXT) $(OPENSSL_DEP)
2034 $(E) "[LD] Linking $@"
2035 $(Q) mkdir -p `dirname $@`
2036 $(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
2037else
2038libs/$(CONFIG)/libgrpc++.$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP) libs/$(CONFIG)/libgrpc.$(SHARED_EXT) $(OPENSSL_DEP)
2039 $(E) "[LD] Linking $@"
2040 $(Q) mkdir -p `dirname $@`
2041ifeq ($(SYSTEM),Darwin)
2042 $(Q) $(LDXX) $(LDFLAGS) -Llibs/$(CONFIG) -dynamiclib -o libs/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS) -lgrpc
2043else
2044 $(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
2045 $(Q) ln -sf libgrpc++.$(SHARED_EXT) libs/$(CONFIG)/libgrpc++.so
2046endif
2047endif
2048
2049
2050endif
2051
2052ifneq ($(NO_SECURE),true)
2053ifneq ($(NO_DEPS),true)
2054-include $(LIBGRPC++_OBJS:.o=.dep)
2055endif
2056endif
2057
2058objs/$(CONFIG)/src/cpp/client/channel.o:
2059objs/$(CONFIG)/src/cpp/client/channel_arguments.o:
2060objs/$(CONFIG)/src/cpp/client/client_context.o:
2061objs/$(CONFIG)/src/cpp/client/create_channel.o:
2062objs/$(CONFIG)/src/cpp/client/credentials.o:
2063objs/$(CONFIG)/src/cpp/client/internal_stub.o:
2064objs/$(CONFIG)/src/cpp/common/rpc_method.o:
2065objs/$(CONFIG)/src/cpp/proto/proto_utils.o:
2066objs/$(CONFIG)/src/cpp/server/async_server.o:
2067objs/$(CONFIG)/src/cpp/server/async_server_context.o:
2068objs/$(CONFIG)/src/cpp/server/completion_queue.o:
2069objs/$(CONFIG)/src/cpp/server/server.o:
2070objs/$(CONFIG)/src/cpp/server/server_builder.o:
2071objs/$(CONFIG)/src/cpp/server/server_context_impl.o:
2072objs/$(CONFIG)/src/cpp/server/server_credentials.o:
2073objs/$(CONFIG)/src/cpp/server/server_rpc_handler.o:
2074objs/$(CONFIG)/src/cpp/server/thread_pool.o:
2075objs/$(CONFIG)/src/cpp/stream/stream_context.o:
2076objs/$(CONFIG)/src/cpp/util/status.o:
2077objs/$(CONFIG)/src/cpp/util/time.o:
2078
2079
2080LIBGRPC++_TEST_UTIL_SRC = \
2081 gens/test/cpp/util/echo.pb.cc \
2082 gens/test/cpp/util/echo_duplicate.pb.cc \
2083 gens/test/cpp/util/messages.pb.cc \
2084 test/cpp/end2end/async_test_server.cc \
2085 test/cpp/util/create_test_channel.cc \
2086
2087
2088LIBGRPC++_TEST_UTIL_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_UTIL_SRC))))
2089
2090ifeq ($(NO_SECURE),true)
2091
2092# You can't build secure libraries if you don't have OpenSSL with ALPN.
2093
2094libs/$(CONFIG)/libgrpc++_test_util.a: openssl_dep_error
2095
2096
2097else
2098
2099ifneq ($(OPENSSL_DEP),)
2100test/cpp/util/echo.proto: $(OPENSSL_DEP)
2101test/cpp/util/echo_duplicate.proto: $(OPENSSL_DEP)
2102test/cpp/util/messages.proto: $(OPENSSL_DEP)
2103test/cpp/end2end/async_test_server.cc: $(OPENSSL_DEP)
2104test/cpp/util/create_test_channel.cc: $(OPENSSL_DEP)
2105endif
2106
2107libs/$(CONFIG)/libgrpc++_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC++_TEST_UTIL_OBJS)
2108 $(E) "[AR] Creating $@"
2109 $(Q) mkdir -p `dirname $@`
2110 $(Q) $(AR) rcs libs/$(CONFIG)/libgrpc++_test_util.a $(LIBGRPC++_TEST_UTIL_OBJS)
2111
2112
2113
2114
2115
2116endif
2117
2118ifneq ($(NO_SECURE),true)
2119ifneq ($(NO_DEPS),true)
2120-include $(LIBGRPC++_TEST_UTIL_OBJS:.o=.dep)
2121endif
2122endif
2123
2124
2125
2126
2127objs/$(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
2128objs/$(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
2129
2130
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002131LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC = \
2132 test/core/end2end/fixtures/chttp2_fake_security.c \
2133
2134
ctillercab52e72015-01-06 13:10:23 -08002135LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002136
nnoble69ac39f2014-12-12 15:43:38 -08002137ifeq ($(NO_SECURE),true)
2138
Nicolas Noble047b7272015-01-16 13:55:05 -08002139# You can't build secure libraries if you don't have OpenSSL with ALPN.
2140
ctillercab52e72015-01-06 13:10:23 -08002141libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002142
nnoble5b7f32a2014-12-22 08:12:44 -08002143
nnoble69ac39f2014-12-12 15:43:38 -08002144else
2145
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002146ifneq ($(OPENSSL_DEP),)
2147test/core/end2end/fixtures/chttp2_fake_security.c: $(OPENSSL_DEP)
2148endif
2149
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002150libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002151 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002152 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002153 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fake_security.a $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002154
2155
2156
nnoble5b7f32a2014-12-22 08:12:44 -08002157
2158
nnoble69ac39f2014-12-12 15:43:38 -08002159endif
2160
nnoble69ac39f2014-12-12 15:43:38 -08002161ifneq ($(NO_SECURE),true)
2162ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002163-include $(LIBEND2END_FIXTURE_CHTTP2_FAKE_SECURITY_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002164endif
nnoble69ac39f2014-12-12 15:43:38 -08002165endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002166
Craig Tiller27715ca2015-01-12 16:55:59 -08002167objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fake_security.o:
2168
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002169
2170LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC = \
2171 test/core/end2end/fixtures/chttp2_fullstack.c \
2172
2173
ctillercab52e72015-01-06 13:10:23 -08002174LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002175
nnoble69ac39f2014-12-12 15:43:38 -08002176ifeq ($(NO_SECURE),true)
2177
Nicolas Noble047b7272015-01-16 13:55:05 -08002178# You can't build secure libraries if you don't have OpenSSL with ALPN.
2179
ctillercab52e72015-01-06 13:10:23 -08002180libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002181
nnoble5b7f32a2014-12-22 08:12:44 -08002182
nnoble69ac39f2014-12-12 15:43:38 -08002183else
2184
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002185ifneq ($(OPENSSL_DEP),)
2186test/core/end2end/fixtures/chttp2_fullstack.c: $(OPENSSL_DEP)
2187endif
2188
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002189libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002190 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002191 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002192 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_fullstack.a $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002193
2194
2195
nnoble5b7f32a2014-12-22 08:12:44 -08002196
2197
nnoble69ac39f2014-12-12 15:43:38 -08002198endif
2199
nnoble69ac39f2014-12-12 15:43:38 -08002200ifneq ($(NO_SECURE),true)
2201ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002202-include $(LIBEND2END_FIXTURE_CHTTP2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002203endif
nnoble69ac39f2014-12-12 15:43:38 -08002204endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002205
Craig Tiller27715ca2015-01-12 16:55:59 -08002206objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_fullstack.o:
2207
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002208
2209LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_SRC = \
2210 test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c \
2211
2212
ctillercab52e72015-01-06 13:10:23 -08002213LIBEND2END_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 -08002214
nnoble69ac39f2014-12-12 15:43:38 -08002215ifeq ($(NO_SECURE),true)
2216
Nicolas Noble047b7272015-01-16 13:55:05 -08002217# You can't build secure libraries if you don't have OpenSSL with ALPN.
2218
ctillercab52e72015-01-06 13:10:23 -08002219libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002220
nnoble5b7f32a2014-12-22 08:12:44 -08002221
nnoble69ac39f2014-12-12 15:43:38 -08002222else
2223
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002224ifneq ($(OPENSSL_DEP),)
2225test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c: $(OPENSSL_DEP)
2226endif
2227
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002228libs/$(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 -08002229 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002230 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002231 $(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 -08002232
2233
2234
nnoble5b7f32a2014-12-22 08:12:44 -08002235
2236
nnoble69ac39f2014-12-12 15:43:38 -08002237endif
2238
nnoble69ac39f2014-12-12 15:43:38 -08002239ifneq ($(NO_SECURE),true)
2240ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002241-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002242endif
nnoble69ac39f2014-12-12 15:43:38 -08002243endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002244
Craig Tiller27715ca2015-01-12 16:55:59 -08002245objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.o:
2246
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002247
2248LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SRC = \
2249 test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c \
2250
2251
ctillercab52e72015-01-06 13:10:23 -08002252LIBEND2END_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 -08002253
nnoble69ac39f2014-12-12 15:43:38 -08002254ifeq ($(NO_SECURE),true)
2255
Nicolas Noble047b7272015-01-16 13:55:05 -08002256# You can't build secure libraries if you don't have OpenSSL with ALPN.
2257
ctillercab52e72015-01-06 13:10:23 -08002258libs/$(CONFIG)/libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002259
nnoble5b7f32a2014-12-22 08:12:44 -08002260
nnoble69ac39f2014-12-12 15:43:38 -08002261else
2262
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002263ifneq ($(OPENSSL_DEP),)
2264test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c: $(OPENSSL_DEP)
2265endif
2266
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002267libs/$(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 -08002268 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002269 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002270 $(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 -08002271
2272
2273
nnoble5b7f32a2014-12-22 08:12:44 -08002274
2275
nnoble69ac39f2014-12-12 15:43:38 -08002276endif
2277
nnoble69ac39f2014-12-12 15:43:38 -08002278ifneq ($(NO_SECURE),true)
2279ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002280-include $(LIBEND2END_FIXTURE_CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002281endif
nnoble69ac39f2014-12-12 15:43:38 -08002282endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002283
Craig Tiller27715ca2015-01-12 16:55:59 -08002284objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.o:
2285
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002286
2287LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC = \
2288 test/core/end2end/fixtures/chttp2_socket_pair.c \
2289
2290
ctillercab52e72015-01-06 13:10:23 -08002291LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002292
nnoble69ac39f2014-12-12 15:43:38 -08002293ifeq ($(NO_SECURE),true)
2294
Nicolas Noble047b7272015-01-16 13:55:05 -08002295# You can't build secure libraries if you don't have OpenSSL with ALPN.
2296
ctillercab52e72015-01-06 13:10:23 -08002297libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002298
nnoble5b7f32a2014-12-22 08:12:44 -08002299
nnoble69ac39f2014-12-12 15:43:38 -08002300else
2301
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002302ifneq ($(OPENSSL_DEP),)
2303test/core/end2end/fixtures/chttp2_socket_pair.c: $(OPENSSL_DEP)
2304endif
2305
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002306libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002307 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002308 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002309 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair.a $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002310
2311
2312
nnoble5b7f32a2014-12-22 08:12:44 -08002313
2314
nnoble69ac39f2014-12-12 15:43:38 -08002315endif
2316
nnoble69ac39f2014-12-12 15:43:38 -08002317ifneq ($(NO_SECURE),true)
2318ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002319-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002320endif
nnoble69ac39f2014-12-12 15:43:38 -08002321endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002322
Craig Tiller27715ca2015-01-12 16:55:59 -08002323objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair.o:
2324
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002325
nnoble0c475f02014-12-05 15:37:39 -08002326LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SRC = \
2327 test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c \
2328
2329
ctillercab52e72015-01-06 13:10:23 -08002330LIBEND2END_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 -08002331
nnoble69ac39f2014-12-12 15:43:38 -08002332ifeq ($(NO_SECURE),true)
2333
Nicolas Noble047b7272015-01-16 13:55:05 -08002334# You can't build secure libraries if you don't have OpenSSL with ALPN.
2335
ctillercab52e72015-01-06 13:10:23 -08002336libs/$(CONFIG)/libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002337
nnoble5b7f32a2014-12-22 08:12:44 -08002338
nnoble69ac39f2014-12-12 15:43:38 -08002339else
2340
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002341ifneq ($(OPENSSL_DEP),)
2342test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c: $(OPENSSL_DEP)
2343endif
2344
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002345libs/$(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 -08002346 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002347 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002348 $(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 -08002349
2350
2351
nnoble5b7f32a2014-12-22 08:12:44 -08002352
2353
nnoble69ac39f2014-12-12 15:43:38 -08002354endif
2355
nnoble69ac39f2014-12-12 15:43:38 -08002356ifneq ($(NO_SECURE),true)
2357ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002358-include $(LIBEND2END_FIXTURE_CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08002359endif
nnoble69ac39f2014-12-12 15:43:38 -08002360endif
nnoble0c475f02014-12-05 15:37:39 -08002361
Craig Tiller27715ca2015-01-12 16:55:59 -08002362objs/$(CONFIG)/test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.o:
2363
nnoble0c475f02014-12-05 15:37:39 -08002364
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002365LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC = \
2366 test/core/end2end/tests/cancel_after_accept.c \
2367
2368
ctillercab52e72015-01-06 13:10:23 -08002369LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002370
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002371libs/$(CONFIG)/libend2end_test_cancel_after_accept.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002372 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002373 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002374 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_accept.a $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002375
2376
2377
nnoble5b7f32a2014-12-22 08:12:44 -08002378
2379
nnoble69ac39f2014-12-12 15:43:38 -08002380ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002381-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002382endif
2383
Craig Tiller27715ca2015-01-12 16:55:59 -08002384objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept.o:
2385
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002386
2387LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_SRC = \
2388 test/core/end2end/tests/cancel_after_accept_and_writes_closed.c \
2389
2390
ctillercab52e72015-01-06 13:10:23 -08002391LIBEND2END_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 -08002392
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002393libs/$(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 -08002394 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002395 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002396 $(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 -08002397
2398
2399
nnoble5b7f32a2014-12-22 08:12:44 -08002400
2401
nnoble69ac39f2014-12-12 15:43:38 -08002402ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002403-include $(LIBEND2END_TEST_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002404endif
2405
Craig Tiller27715ca2015-01-12 16:55:59 -08002406objs/$(CONFIG)/test/core/end2end/tests/cancel_after_accept_and_writes_closed.o:
2407
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002408
2409LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC = \
2410 test/core/end2end/tests/cancel_after_invoke.c \
2411
2412
ctillercab52e72015-01-06 13:10:23 -08002413LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002414
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002415libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002416 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002417 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002418 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_after_invoke.a $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002419
2420
2421
nnoble5b7f32a2014-12-22 08:12:44 -08002422
2423
nnoble69ac39f2014-12-12 15:43:38 -08002424ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002425-include $(LIBEND2END_TEST_CANCEL_AFTER_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002426endif
2427
Craig Tiller27715ca2015-01-12 16:55:59 -08002428objs/$(CONFIG)/test/core/end2end/tests/cancel_after_invoke.o:
2429
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002430
2431LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC = \
2432 test/core/end2end/tests/cancel_before_invoke.c \
2433
2434
ctillercab52e72015-01-06 13:10:23 -08002435LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002436
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002437libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002438 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002439 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002440 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_cancel_before_invoke.a $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002441
2442
2443
nnoble5b7f32a2014-12-22 08:12:44 -08002444
2445
nnoble69ac39f2014-12-12 15:43:38 -08002446ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002447-include $(LIBEND2END_TEST_CANCEL_BEFORE_INVOKE_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002448endif
2449
Craig Tiller27715ca2015-01-12 16:55:59 -08002450objs/$(CONFIG)/test/core/end2end/tests/cancel_before_invoke.o:
2451
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002452
2453LIBEND2END_TEST_CANCEL_IN_A_VACUUM_SRC = \
2454 test/core/end2end/tests/cancel_in_a_vacuum.c \
2455
2456
ctillercab52e72015-01-06 13:10:23 -08002457LIBEND2END_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 -08002458
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002459libs/$(CONFIG)/libend2end_test_cancel_in_a_vacuum.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002460 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002461 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002462 $(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 -08002463
2464
2465
nnoble5b7f32a2014-12-22 08:12:44 -08002466
2467
nnoble69ac39f2014-12-12 15:43:38 -08002468ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002469-include $(LIBEND2END_TEST_CANCEL_IN_A_VACUUM_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002470endif
2471
Craig Tiller27715ca2015-01-12 16:55:59 -08002472objs/$(CONFIG)/test/core/end2end/tests/cancel_in_a_vacuum.o:
2473
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002474
hongyu24200d32015-01-08 15:13:49 -08002475LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC = \
2476 test/core/end2end/tests/census_simple_request.c \
2477
2478
2479LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08002480
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002481libs/$(CONFIG)/libend2end_test_census_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
hongyu24200d32015-01-08 15:13:49 -08002482 $(E) "[AR] Creating $@"
2483 $(Q) mkdir -p `dirname $@`
2484 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_census_simple_request.a $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS)
2485
2486
2487
2488
2489
hongyu24200d32015-01-08 15:13:49 -08002490ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002491-include $(LIBEND2END_TEST_CENSUS_SIMPLE_REQUEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08002492endif
2493
Craig Tiller27715ca2015-01-12 16:55:59 -08002494objs/$(CONFIG)/test/core/end2end/tests/census_simple_request.o:
2495
hongyu24200d32015-01-08 15:13:49 -08002496
ctillerc6d61c42014-12-15 14:52:08 -08002497LIBEND2END_TEST_DISAPPEARING_SERVER_SRC = \
2498 test/core/end2end/tests/disappearing_server.c \
2499
2500
ctillercab52e72015-01-06 13:10:23 -08002501LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_DISAPPEARING_SERVER_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08002502
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002503libs/$(CONFIG)/libend2end_test_disappearing_server.a: $(ZLIB_DEP) $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
ctillerc6d61c42014-12-15 14:52:08 -08002504 $(E) "[AR] Creating $@"
2505 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002506 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_disappearing_server.a $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS)
ctillerc6d61c42014-12-15 14:52:08 -08002507
2508
2509
nnoble5b7f32a2014-12-22 08:12:44 -08002510
2511
ctillerc6d61c42014-12-15 14:52:08 -08002512ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002513-include $(LIBEND2END_TEST_DISAPPEARING_SERVER_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08002514endif
2515
Craig Tiller27715ca2015-01-12 16:55:59 -08002516objs/$(CONFIG)/test/core/end2end/tests/disappearing_server.o:
2517
ctillerc6d61c42014-12-15 14:52:08 -08002518
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002519LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_SRC = \
2520 test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c \
2521
2522
ctillercab52e72015-01-06 13:10:23 -08002523LIBEND2END_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 -08002524
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002525libs/$(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 -08002526 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002527 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002528 $(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 -08002529
2530
2531
nnoble5b7f32a2014-12-22 08:12:44 -08002532
2533
nnoble69ac39f2014-12-12 15:43:38 -08002534ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002535-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002536endif
2537
Craig Tiller27715ca2015-01-12 16:55:59 -08002538objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.o:
2539
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002540
2541LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_SRC = \
2542 test/core/end2end/tests/early_server_shutdown_finishes_tags.c \
2543
2544
ctillercab52e72015-01-06 13:10:23 -08002545LIBEND2END_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 -08002546
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002547libs/$(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 -08002548 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002549 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002550 $(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 -08002551
2552
2553
nnoble5b7f32a2014-12-22 08:12:44 -08002554
2555
nnoble69ac39f2014-12-12 15:43:38 -08002556ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002557-include $(LIBEND2END_TEST_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002558endif
2559
Craig Tiller27715ca2015-01-12 16:55:59 -08002560objs/$(CONFIG)/test/core/end2end/tests/early_server_shutdown_finishes_tags.o:
2561
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002562
Craig Tiller4ffdcd52015-01-16 11:34:55 -08002563LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_SRC = \
2564 test/core/end2end/tests/graceful_server_shutdown.c \
2565
2566
2567LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_SRC))))
2568
2569libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a: $(ZLIB_DEP) $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS)
2570 $(E) "[AR] Creating $@"
2571 $(Q) mkdir -p `dirname $@`
2572 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_graceful_server_shutdown.a $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS)
2573
2574
2575
2576
2577
2578ifneq ($(NO_DEPS),true)
2579-include $(LIBEND2END_TEST_GRACEFUL_SERVER_SHUTDOWN_OBJS:.o=.dep)
2580endif
2581
2582objs/$(CONFIG)/test/core/end2end/tests/graceful_server_shutdown.o:
2583
2584
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002585LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC = \
2586 test/core/end2end/tests/invoke_large_request.c \
2587
2588
ctillercab52e72015-01-06 13:10:23 -08002589LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002590
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002591libs/$(CONFIG)/libend2end_test_invoke_large_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002592 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002593 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002594 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_invoke_large_request.a $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002595
2596
2597
nnoble5b7f32a2014-12-22 08:12:44 -08002598
2599
nnoble69ac39f2014-12-12 15:43:38 -08002600ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002601-include $(LIBEND2END_TEST_INVOKE_LARGE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002602endif
2603
Craig Tiller27715ca2015-01-12 16:55:59 -08002604objs/$(CONFIG)/test/core/end2end/tests/invoke_large_request.o:
2605
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002606
2607LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC = \
2608 test/core/end2end/tests/max_concurrent_streams.c \
2609
2610
ctillercab52e72015-01-06 13:10:23 -08002611LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002612
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002613libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a: $(ZLIB_DEP) $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002614 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002615 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002616 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_max_concurrent_streams.a $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002617
2618
2619
nnoble5b7f32a2014-12-22 08:12:44 -08002620
2621
nnoble69ac39f2014-12-12 15:43:38 -08002622ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002623-include $(LIBEND2END_TEST_MAX_CONCURRENT_STREAMS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002624endif
2625
Craig Tiller27715ca2015-01-12 16:55:59 -08002626objs/$(CONFIG)/test/core/end2end/tests/max_concurrent_streams.o:
2627
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002628
2629LIBEND2END_TEST_NO_OP_SRC = \
2630 test/core/end2end/tests/no_op.c \
2631
2632
ctillercab52e72015-01-06 13:10:23 -08002633LIBEND2END_TEST_NO_OP_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_NO_OP_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002634
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002635libs/$(CONFIG)/libend2end_test_no_op.a: $(ZLIB_DEP) $(LIBEND2END_TEST_NO_OP_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002636 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002637 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002638 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_no_op.a $(LIBEND2END_TEST_NO_OP_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002639
2640
2641
nnoble5b7f32a2014-12-22 08:12:44 -08002642
2643
nnoble69ac39f2014-12-12 15:43:38 -08002644ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002645-include $(LIBEND2END_TEST_NO_OP_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002646endif
2647
Craig Tiller27715ca2015-01-12 16:55:59 -08002648objs/$(CONFIG)/test/core/end2end/tests/no_op.o:
2649
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002650
2651LIBEND2END_TEST_PING_PONG_STREAMING_SRC = \
2652 test/core/end2end/tests/ping_pong_streaming.c \
2653
2654
ctillercab52e72015-01-06 13:10:23 -08002655LIBEND2END_TEST_PING_PONG_STREAMING_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_PING_PONG_STREAMING_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002656
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002657libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a: $(ZLIB_DEP) $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002658 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002659 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002660 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_ping_pong_streaming.a $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002661
2662
2663
nnoble5b7f32a2014-12-22 08:12:44 -08002664
2665
nnoble69ac39f2014-12-12 15:43:38 -08002666ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002667-include $(LIBEND2END_TEST_PING_PONG_STREAMING_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002668endif
2669
Craig Tiller27715ca2015-01-12 16:55:59 -08002670objs/$(CONFIG)/test/core/end2end/tests/ping_pong_streaming.o:
2671
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002672
ctiller33023c42014-12-12 16:28:33 -08002673LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_SRC = \
2674 test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c \
2675
2676
ctillercab52e72015-01-06 13:10:23 -08002677LIBEND2END_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 -08002678
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002679libs/$(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 -08002680 $(E) "[AR] Creating $@"
2681 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002682 $(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 -08002683
2684
2685
nnoble5b7f32a2014-12-22 08:12:44 -08002686
2687
ctiller33023c42014-12-12 16:28:33 -08002688ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002689-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08002690endif
2691
Craig Tiller27715ca2015-01-12 16:55:59 -08002692objs/$(CONFIG)/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.o:
2693
ctiller33023c42014-12-12 16:28:33 -08002694
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002695LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_SRC = \
2696 test/core/end2end/tests/request_response_with_metadata_and_payload.c \
2697
2698
ctillercab52e72015-01-06 13:10:23 -08002699LIBEND2END_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 -08002700
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002701libs/$(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 -08002702 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002703 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002704 $(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 -08002705
2706
2707
nnoble5b7f32a2014-12-22 08:12:44 -08002708
2709
nnoble69ac39f2014-12-12 15:43:38 -08002710ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002711-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002712endif
2713
Craig Tiller27715ca2015-01-12 16:55:59 -08002714objs/$(CONFIG)/test/core/end2end/tests/request_response_with_metadata_and_payload.o:
2715
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002716
2717LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_SRC = \
2718 test/core/end2end/tests/request_response_with_payload.c \
2719
2720
ctillercab52e72015-01-06 13:10:23 -08002721LIBEND2END_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 -08002722
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002723libs/$(CONFIG)/libend2end_test_request_response_with_payload.a: $(ZLIB_DEP) $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002724 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002725 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002726 $(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 -08002727
2728
2729
nnoble5b7f32a2014-12-22 08:12:44 -08002730
2731
nnoble69ac39f2014-12-12 15:43:38 -08002732ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002733-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_PAYLOAD_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002734endif
2735
Craig Tiller27715ca2015-01-12 16:55:59 -08002736objs/$(CONFIG)/test/core/end2end/tests/request_response_with_payload.o:
2737
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002738
ctiller2845cad2014-12-15 15:14:12 -08002739LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_SRC = \
2740 test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c \
2741
2742
ctillercab52e72015-01-06 13:10:23 -08002743LIBEND2END_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 -08002744
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002745libs/$(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 -08002746 $(E) "[AR] Creating $@"
2747 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002748 $(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 -08002749
2750
2751
nnoble5b7f32a2014-12-22 08:12:44 -08002752
2753
ctiller2845cad2014-12-15 15:14:12 -08002754ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002755-include $(LIBEND2END_TEST_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08002756endif
2757
Craig Tiller27715ca2015-01-12 16:55:59 -08002758objs/$(CONFIG)/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.o:
2759
ctiller2845cad2014-12-15 15:14:12 -08002760
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002761LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC = \
2762 test/core/end2end/tests/simple_delayed_request.c \
2763
2764
ctillercab52e72015-01-06 13:10:23 -08002765LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002766
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002767libs/$(CONFIG)/libend2end_test_simple_delayed_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002768 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002769 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002770 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_delayed_request.a $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002771
2772
2773
nnoble5b7f32a2014-12-22 08:12:44 -08002774
2775
nnoble69ac39f2014-12-12 15:43:38 -08002776ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002777-include $(LIBEND2END_TEST_SIMPLE_DELAYED_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002778endif
2779
Craig Tiller27715ca2015-01-12 16:55:59 -08002780objs/$(CONFIG)/test/core/end2end/tests/simple_delayed_request.o:
2781
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002782
2783LIBEND2END_TEST_SIMPLE_REQUEST_SRC = \
2784 test/core/end2end/tests/simple_request.c \
2785
2786
ctillercab52e72015-01-06 13:10:23 -08002787LIBEND2END_TEST_SIMPLE_REQUEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_SIMPLE_REQUEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002788
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002789libs/$(CONFIG)/libend2end_test_simple_request.a: $(ZLIB_DEP) $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002790 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002791 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002792 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_simple_request.a $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002793
2794
2795
nnoble5b7f32a2014-12-22 08:12:44 -08002796
2797
nnoble69ac39f2014-12-12 15:43:38 -08002798ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002799-include $(LIBEND2END_TEST_SIMPLE_REQUEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002800endif
2801
Craig Tiller27715ca2015-01-12 16:55:59 -08002802objs/$(CONFIG)/test/core/end2end/tests/simple_request.o:
2803
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002804
nathaniel52878172014-12-09 10:17:19 -08002805LIBEND2END_TEST_THREAD_STRESS_SRC = \
2806 test/core/end2end/tests/thread_stress.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002807
2808
ctillercab52e72015-01-06 13:10:23 -08002809LIBEND2END_TEST_THREAD_STRESS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TEST_THREAD_STRESS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002810
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002811libs/$(CONFIG)/libend2end_test_thread_stress.a: $(ZLIB_DEP) $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002812 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002813 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002814 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_test_thread_stress.a $(LIBEND2END_TEST_THREAD_STRESS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002815
2816
2817
nnoble5b7f32a2014-12-22 08:12:44 -08002818
2819
nnoble69ac39f2014-12-12 15:43:38 -08002820ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002821-include $(LIBEND2END_TEST_THREAD_STRESS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002822endif
2823
Craig Tiller27715ca2015-01-12 16:55:59 -08002824objs/$(CONFIG)/test/core/end2end/tests/thread_stress.o:
2825
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002826
2827LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_SRC = \
2828 test/core/end2end/tests/writes_done_hangs_with_pending_read.c \
2829
2830
ctillercab52e72015-01-06 13:10:23 -08002831LIBEND2END_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 -08002832
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002833libs/$(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 -08002834 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002835 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002836 $(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 -08002837
2838
2839
nnoble5b7f32a2014-12-22 08:12:44 -08002840
2841
nnoble69ac39f2014-12-12 15:43:38 -08002842ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002843-include $(LIBEND2END_TEST_WRITES_DONE_HANGS_WITH_PENDING_READ_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002844endif
2845
Craig Tiller27715ca2015-01-12 16:55:59 -08002846objs/$(CONFIG)/test/core/end2end/tests/writes_done_hangs_with_pending_read.o:
2847
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002848
2849LIBEND2END_CERTS_SRC = \
chenw97fd9e52014-12-19 17:12:36 -08002850 test/core/end2end/data/test_root_cert.c \
2851 test/core/end2end/data/prod_roots_certs.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002852 test/core/end2end/data/server1_cert.c \
2853 test/core/end2end/data/server1_key.c \
2854
2855
ctillercab52e72015-01-06 13:10:23 -08002856LIBEND2END_CERTS_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_CERTS_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002857
nnoble69ac39f2014-12-12 15:43:38 -08002858ifeq ($(NO_SECURE),true)
2859
Nicolas Noble047b7272015-01-16 13:55:05 -08002860# You can't build secure libraries if you don't have OpenSSL with ALPN.
2861
ctillercab52e72015-01-06 13:10:23 -08002862libs/$(CONFIG)/libend2end_certs.a: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08002863
nnoble5b7f32a2014-12-22 08:12:44 -08002864
nnoble69ac39f2014-12-12 15:43:38 -08002865else
2866
Nicolas "Pixel" Noble17f2b592015-01-16 07:09:10 +01002867ifneq ($(OPENSSL_DEP),)
2868test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP)
2869test/core/end2end/data/prod_roots_certs.c: $(OPENSSL_DEP)
2870test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP)
2871test/core/end2end/data/server1_key.c: $(OPENSSL_DEP)
2872endif
2873
Nicolas "Pixel" Noble85bf09b2015-01-15 18:22:40 +01002874libs/$(CONFIG)/libend2end_certs.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_CERTS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002875 $(E) "[AR] Creating $@"
nnoble85a49262014-12-08 18:14:03 -08002876 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08002877 $(Q) $(AR) rcs libs/$(CONFIG)/libend2end_certs.a $(LIBEND2END_CERTS_OBJS)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002878
2879
2880
nnoble5b7f32a2014-12-22 08:12:44 -08002881
2882
nnoble69ac39f2014-12-12 15:43:38 -08002883endif
2884
nnoble69ac39f2014-12-12 15:43:38 -08002885ifneq ($(NO_SECURE),true)
2886ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08002887-include $(LIBEND2END_CERTS_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002888endif
nnoble69ac39f2014-12-12 15:43:38 -08002889endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002890
Craig Tiller27715ca2015-01-12 16:55:59 -08002891objs/$(CONFIG)/test/core/end2end/data/test_root_cert.o:
2892objs/$(CONFIG)/test/core/end2end/data/prod_roots_certs.o:
2893objs/$(CONFIG)/test/core/end2end/data/server1_cert.o:
2894objs/$(CONFIG)/test/core/end2end/data/server1_key.o:
2895
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002896
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002897
nnoble69ac39f2014-12-12 15:43:38 -08002898# All of the test targets, and protoc plugins
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08002899
2900
Craig Tiller17ec5f92015-01-18 11:30:41 -08002901ALARM_HEAP_TEST_SRC = \
2902 test/core/iomgr/alarm_heap_test.c \
2903
2904ALARM_HEAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_HEAP_TEST_SRC))))
2905
2906ifeq ($(NO_SECURE),true)
2907
2908# You can't build secure targets if you don't have OpenSSL with ALPN.
2909
2910bins/$(CONFIG)/alarm_heap_test: openssl_dep_error
2911
2912else
2913
2914bins/$(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
2915 $(E) "[LD] Linking $@"
2916 $(Q) mkdir -p `dirname $@`
2917 $(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
2918
2919endif
2920
2921objs/$(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
2922
2923deps_alarm_heap_test: $(ALARM_HEAP_TEST_OBJS:.o=.dep)
2924
2925ifneq ($(NO_SECURE),true)
2926ifneq ($(NO_DEPS),true)
2927-include $(ALARM_HEAP_TEST_OBJS:.o=.dep)
2928endif
2929endif
2930
2931
2932ALARM_LIST_TEST_SRC = \
2933 test/core/iomgr/alarm_list_test.c \
2934
2935ALARM_LIST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_LIST_TEST_SRC))))
2936
2937ifeq ($(NO_SECURE),true)
2938
2939# You can't build secure targets if you don't have OpenSSL with ALPN.
2940
2941bins/$(CONFIG)/alarm_list_test: openssl_dep_error
2942
2943else
2944
2945bins/$(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
2946 $(E) "[LD] Linking $@"
2947 $(Q) mkdir -p `dirname $@`
2948 $(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
2949
2950endif
2951
2952objs/$(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
2953
2954deps_alarm_list_test: $(ALARM_LIST_TEST_OBJS:.o=.dep)
2955
2956ifneq ($(NO_SECURE),true)
2957ifneq ($(NO_DEPS),true)
2958-include $(ALARM_LIST_TEST_OBJS:.o=.dep)
2959endif
2960endif
2961
2962
2963ALARM_TEST_SRC = \
2964 test/core/iomgr/alarm_test.c \
2965
2966ALARM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_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_test: openssl_dep_error
2973
2974else
2975
2976bins/$(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
2977 $(E) "[LD] Linking $@"
2978 $(Q) mkdir -p `dirname $@`
2979 $(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
2980
2981endif
2982
2983objs/$(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
2984
2985deps_alarm_test: $(ALARM_TEST_OBJS:.o=.dep)
2986
2987ifneq ($(NO_SECURE),true)
2988ifneq ($(NO_DEPS),true)
2989-include $(ALARM_TEST_OBJS:.o=.dep)
2990endif
2991endif
2992
2993
2994ALPN_TEST_SRC = \
2995 test/core/transport/chttp2/alpn_test.c \
2996
2997ALPN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ALPN_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)/alpn_test: openssl_dep_error
3004
3005else
3006
3007bins/$(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
3008 $(E) "[LD] Linking $@"
3009 $(Q) mkdir -p `dirname $@`
3010 $(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
3011
3012endif
3013
3014objs/$(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
3015
3016deps_alpn_test: $(ALPN_TEST_OBJS:.o=.dep)
3017
3018ifneq ($(NO_SECURE),true)
3019ifneq ($(NO_DEPS),true)
3020-include $(ALPN_TEST_OBJS:.o=.dep)
3021endif
3022endif
3023
3024
3025BIN_ENCODER_TEST_SRC = \
3026 test/core/transport/chttp2/bin_encoder_test.c \
3027
3028BIN_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(BIN_ENCODER_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)/bin_encoder_test: openssl_dep_error
3035
3036else
3037
3038bins/$(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
3039 $(E) "[LD] Linking $@"
3040 $(Q) mkdir -p `dirname $@`
3041 $(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
3042
3043endif
3044
3045objs/$(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
3046
3047deps_bin_encoder_test: $(BIN_ENCODER_TEST_OBJS:.o=.dep)
3048
3049ifneq ($(NO_SECURE),true)
3050ifneq ($(NO_DEPS),true)
3051-include $(BIN_ENCODER_TEST_OBJS:.o=.dep)
3052endif
3053endif
3054
3055
3056CENSUS_HASH_TABLE_TEST_SRC = \
3057 test/core/statistics/hash_table_test.c \
3058
3059CENSUS_HASH_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_HASH_TABLE_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)/census_hash_table_test: openssl_dep_error
3066
3067else
3068
3069bins/$(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
3070 $(E) "[LD] Linking $@"
3071 $(Q) mkdir -p `dirname $@`
3072 $(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
3073
3074endif
3075
3076objs/$(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
3077
3078deps_census_hash_table_test: $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
3079
3080ifneq ($(NO_SECURE),true)
3081ifneq ($(NO_DEPS),true)
3082-include $(CENSUS_HASH_TABLE_TEST_OBJS:.o=.dep)
3083endif
3084endif
3085
3086
3087CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_SRC = \
3088 test/core/statistics/multiple_writers_circular_buffer_test.c \
3089
3090CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_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)/census_statistics_multiple_writers_circular_buffer_test: openssl_dep_error
3097
3098else
3099
3100bins/$(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
3101 $(E) "[LD] Linking $@"
3102 $(Q) mkdir -p `dirname $@`
3103 $(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
3104
3105endif
3106
3107objs/$(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
3108
3109deps_census_statistics_multiple_writers_circular_buffer_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
3110
3111ifneq ($(NO_SECURE),true)
3112ifneq ($(NO_DEPS),true)
3113-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS:.o=.dep)
3114endif
3115endif
3116
3117
3118CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_SRC = \
3119 test/core/statistics/multiple_writers_test.c \
3120
3121CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_MULTIPLE_WRITERS_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_statistics_multiple_writers_test: openssl_dep_error
3128
3129else
3130
3131bins/$(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
3132 $(E) "[LD] Linking $@"
3133 $(Q) mkdir -p `dirname $@`
3134 $(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
3135
3136endif
3137
3138objs/$(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
3139
3140deps_census_statistics_multiple_writers_test: $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
3141
3142ifneq ($(NO_SECURE),true)
3143ifneq ($(NO_DEPS),true)
3144-include $(CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS:.o=.dep)
3145endif
3146endif
3147
3148
3149CENSUS_STATISTICS_PERFORMANCE_TEST_SRC = \
3150 test/core/statistics/performance_test.c \
3151
3152CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_PERFORMANCE_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_performance_test: openssl_dep_error
3159
3160else
3161
3162bins/$(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
3163 $(E) "[LD] Linking $@"
3164 $(Q) mkdir -p `dirname $@`
3165 $(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
3166
3167endif
3168
3169objs/$(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
3170
3171deps_census_statistics_performance_test: $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
3172
3173ifneq ($(NO_SECURE),true)
3174ifneq ($(NO_DEPS),true)
3175-include $(CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS:.o=.dep)
3176endif
3177endif
3178
3179
3180CENSUS_STATISTICS_QUICK_TEST_SRC = \
3181 test/core/statistics/quick_test.c \
3182
3183CENSUS_STATISTICS_QUICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_QUICK_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_quick_test: openssl_dep_error
3190
3191else
3192
3193bins/$(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
3194 $(E) "[LD] Linking $@"
3195 $(Q) mkdir -p `dirname $@`
3196 $(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
3197
3198endif
3199
3200objs/$(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
3201
3202deps_census_statistics_quick_test: $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
3203
3204ifneq ($(NO_SECURE),true)
3205ifneq ($(NO_DEPS),true)
3206-include $(CENSUS_STATISTICS_QUICK_TEST_OBJS:.o=.dep)
3207endif
3208endif
3209
3210
3211CENSUS_STATISTICS_SMALL_LOG_TEST_SRC = \
3212 test/core/statistics/small_log_test.c \
3213
3214CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATISTICS_SMALL_LOG_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_small_log_test: openssl_dep_error
3221
3222else
3223
3224bins/$(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
3225 $(E) "[LD] Linking $@"
3226 $(Q) mkdir -p `dirname $@`
3227 $(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
3228
3229endif
3230
3231objs/$(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
3232
3233deps_census_statistics_small_log_test: $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
3234
3235ifneq ($(NO_SECURE),true)
3236ifneq ($(NO_DEPS),true)
3237-include $(CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS:.o=.dep)
3238endif
3239endif
3240
3241
3242CENSUS_STATS_STORE_TEST_SRC = \
3243 test/core/statistics/rpc_stats_test.c \
3244
3245CENSUS_STATS_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STATS_STORE_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_stats_store_test: openssl_dep_error
3252
3253else
3254
3255bins/$(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
3256 $(E) "[LD] Linking $@"
3257 $(Q) mkdir -p `dirname $@`
3258 $(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
3259
3260endif
3261
3262objs/$(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
3263
3264deps_census_stats_store_test: $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
3265
3266ifneq ($(NO_SECURE),true)
3267ifneq ($(NO_DEPS),true)
3268-include $(CENSUS_STATS_STORE_TEST_OBJS:.o=.dep)
3269endif
3270endif
3271
3272
3273CENSUS_STUB_TEST_SRC = \
3274 test/core/statistics/census_stub_test.c \
3275
3276CENSUS_STUB_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_STUB_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_stub_test: openssl_dep_error
3283
3284else
3285
3286bins/$(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
3287 $(E) "[LD] Linking $@"
3288 $(Q) mkdir -p `dirname $@`
3289 $(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
3290
3291endif
3292
3293objs/$(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
3294
3295deps_census_stub_test: $(CENSUS_STUB_TEST_OBJS:.o=.dep)
3296
3297ifneq ($(NO_SECURE),true)
3298ifneq ($(NO_DEPS),true)
3299-include $(CENSUS_STUB_TEST_OBJS:.o=.dep)
3300endif
3301endif
3302
3303
3304CENSUS_TRACE_STORE_TEST_SRC = \
3305 test/core/statistics/trace_test.c \
3306
3307CENSUS_TRACE_STORE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_TRACE_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_trace_store_test: openssl_dep_error
3314
3315else
3316
3317bins/$(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
3318 $(E) "[LD] Linking $@"
3319 $(Q) mkdir -p `dirname $@`
3320 $(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
3321
3322endif
3323
3324objs/$(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
3325
3326deps_census_trace_store_test: $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
3327
3328ifneq ($(NO_SECURE),true)
3329ifneq ($(NO_DEPS),true)
3330-include $(CENSUS_TRACE_STORE_TEST_OBJS:.o=.dep)
3331endif
3332endif
3333
3334
3335CENSUS_WINDOW_STATS_TEST_SRC = \
3336 test/core/statistics/window_stats_test.c \
3337
3338CENSUS_WINDOW_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_WINDOW_STATS_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_window_stats_test: openssl_dep_error
3345
3346else
3347
3348bins/$(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
3349 $(E) "[LD] Linking $@"
3350 $(Q) mkdir -p `dirname $@`
3351 $(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
3352
3353endif
3354
3355objs/$(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
3356
3357deps_census_window_stats_test: $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
3358
3359ifneq ($(NO_SECURE),true)
3360ifneq ($(NO_DEPS),true)
3361-include $(CENSUS_WINDOW_STATS_TEST_OBJS:.o=.dep)
3362endif
3363endif
3364
3365
Craig Tiller17ec5f92015-01-18 11:30:41 -08003366CHTTP2_STATUS_CONVERSION_TEST_SRC = \
3367 test/core/transport/chttp2/status_conversion_test.c \
3368
3369CHTTP2_STATUS_CONVERSION_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STATUS_CONVERSION_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)/chttp2_status_conversion_test: openssl_dep_error
3376
3377else
3378
3379bins/$(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
3380 $(E) "[LD] Linking $@"
3381 $(Q) mkdir -p `dirname $@`
3382 $(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
3383
3384endif
3385
3386objs/$(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
3387
3388deps_chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
3389
3390ifneq ($(NO_SECURE),true)
3391ifneq ($(NO_DEPS),true)
3392-include $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep)
3393endif
3394endif
3395
3396
3397CHTTP2_STREAM_ENCODER_TEST_SRC = \
3398 test/core/transport/chttp2/stream_encoder_test.c \
3399
3400CHTTP2_STREAM_ENCODER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_ENCODER_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)/chttp2_stream_encoder_test: openssl_dep_error
3407
3408else
3409
3410bins/$(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
3411 $(E) "[LD] Linking $@"
3412 $(Q) mkdir -p `dirname $@`
3413 $(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
3414
3415endif
3416
3417objs/$(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
3418
3419deps_chttp2_stream_encoder_test: $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
3420
3421ifneq ($(NO_SECURE),true)
3422ifneq ($(NO_DEPS),true)
3423-include $(CHTTP2_STREAM_ENCODER_TEST_OBJS:.o=.dep)
3424endif
3425endif
3426
3427
3428CHTTP2_STREAM_MAP_TEST_SRC = \
3429 test/core/transport/chttp2/stream_map_test.c \
3430
3431CHTTP2_STREAM_MAP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_MAP_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_stream_map_test: openssl_dep_error
3438
3439else
3440
3441bins/$(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
3442 $(E) "[LD] Linking $@"
3443 $(Q) mkdir -p `dirname $@`
3444 $(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
3445
3446endif
3447
3448objs/$(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
3449
3450deps_chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
3451
3452ifneq ($(NO_SECURE),true)
3453ifneq ($(NO_DEPS),true)
3454-include $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep)
3455endif
3456endif
3457
3458
3459CHTTP2_TRANSPORT_END2END_TEST_SRC = \
3460 test/core/transport/chttp2_transport_end2end_test.c \
3461
3462CHTTP2_TRANSPORT_END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_TRANSPORT_END2END_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_transport_end2end_test: openssl_dep_error
3469
3470else
3471
3472bins/$(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
3473 $(E) "[LD] Linking $@"
3474 $(Q) mkdir -p `dirname $@`
3475 $(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
3476
3477endif
3478
3479objs/$(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
3480
3481deps_chttp2_transport_end2end_test: $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
3482
3483ifneq ($(NO_SECURE),true)
3484ifneq ($(NO_DEPS),true)
3485-include $(CHTTP2_TRANSPORT_END2END_TEST_OBJS:.o=.dep)
3486endif
3487endif
3488
3489
Craig Tiller17ec5f92015-01-18 11:30:41 -08003490DUALSTACK_SOCKET_TEST_SRC = \
3491 test/core/end2end/dualstack_socket_test.c \
3492
3493DUALSTACK_SOCKET_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(DUALSTACK_SOCKET_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)/dualstack_socket_test: openssl_dep_error
3500
3501else
3502
3503bins/$(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
3504 $(E) "[LD] Linking $@"
3505 $(Q) mkdir -p `dirname $@`
3506 $(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
3507
3508endif
3509
3510objs/$(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
3511
3512deps_dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
3513
3514ifneq ($(NO_SECURE),true)
3515ifneq ($(NO_DEPS),true)
3516-include $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep)
3517endif
3518endif
3519
3520
3521ECHO_CLIENT_SRC = \
3522 test/core/echo/client.c \
3523
3524ECHO_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_CLIENT_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)/echo_client: openssl_dep_error
3531
3532else
3533
3534bins/$(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
3535 $(E) "[LD] Linking $@"
3536 $(Q) mkdir -p `dirname $@`
3537 $(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
3538
3539endif
3540
3541objs/$(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
3542
3543deps_echo_client: $(ECHO_CLIENT_OBJS:.o=.dep)
3544
3545ifneq ($(NO_SECURE),true)
3546ifneq ($(NO_DEPS),true)
3547-include $(ECHO_CLIENT_OBJS:.o=.dep)
3548endif
3549endif
3550
3551
3552ECHO_SERVER_SRC = \
3553 test/core/echo/server.c \
3554
3555ECHO_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_SERVER_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)/echo_server: openssl_dep_error
3562
3563else
3564
3565bins/$(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
3566 $(E) "[LD] Linking $@"
3567 $(Q) mkdir -p `dirname $@`
3568 $(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
3569
3570endif
3571
3572objs/$(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
3573
3574deps_echo_server: $(ECHO_SERVER_OBJS:.o=.dep)
3575
3576ifneq ($(NO_SECURE),true)
3577ifneq ($(NO_DEPS),true)
3578-include $(ECHO_SERVER_OBJS:.o=.dep)
3579endif
3580endif
3581
3582
3583ECHO_TEST_SRC = \
3584 test/core/echo/echo_test.c \
3585
3586ECHO_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(ECHO_TEST_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_test: openssl_dep_error
3593
3594else
3595
3596bins/$(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
3597 $(E) "[LD] Linking $@"
3598 $(Q) mkdir -p `dirname $@`
3599 $(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
3600
3601endif
3602
3603objs/$(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
3604
3605deps_echo_test: $(ECHO_TEST_OBJS:.o=.dep)
3606
3607ifneq ($(NO_SECURE),true)
3608ifneq ($(NO_DEPS),true)
3609-include $(ECHO_TEST_OBJS:.o=.dep)
3610endif
3611endif
3612
3613
Craig Tiller17ec5f92015-01-18 11:30:41 -08003614FD_POSIX_TEST_SRC = \
3615 test/core/iomgr/fd_posix_test.c \
3616
3617FD_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FD_POSIX_TEST_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)/fd_posix_test: openssl_dep_error
3624
3625else
3626
3627bins/$(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
3628 $(E) "[LD] Linking $@"
3629 $(Q) mkdir -p `dirname $@`
3630 $(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
3631
3632endif
3633
3634objs/$(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
3635
3636deps_fd_posix_test: $(FD_POSIX_TEST_OBJS:.o=.dep)
3637
3638ifneq ($(NO_SECURE),true)
3639ifneq ($(NO_DEPS),true)
3640-include $(FD_POSIX_TEST_OBJS:.o=.dep)
3641endif
3642endif
3643
3644
3645FLING_CLIENT_SRC = \
3646 test/core/fling/client.c \
3647
3648FLING_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_CLIENT_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)/fling_client: openssl_dep_error
3655
3656else
3657
3658bins/$(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
3659 $(E) "[LD] Linking $@"
3660 $(Q) mkdir -p `dirname $@`
3661 $(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
3662
3663endif
3664
3665objs/$(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
3666
3667deps_fling_client: $(FLING_CLIENT_OBJS:.o=.dep)
3668
3669ifneq ($(NO_SECURE),true)
3670ifneq ($(NO_DEPS),true)
3671-include $(FLING_CLIENT_OBJS:.o=.dep)
3672endif
3673endif
3674
3675
3676FLING_SERVER_SRC = \
3677 test/core/fling/server.c \
3678
3679FLING_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_SERVER_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)/fling_server: openssl_dep_error
3686
3687else
3688
3689bins/$(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
3690 $(E) "[LD] Linking $@"
3691 $(Q) mkdir -p `dirname $@`
3692 $(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
3693
3694endif
3695
3696objs/$(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
3697
3698deps_fling_server: $(FLING_SERVER_OBJS:.o=.dep)
3699
3700ifneq ($(NO_SECURE),true)
3701ifneq ($(NO_DEPS),true)
3702-include $(FLING_SERVER_OBJS:.o=.dep)
3703endif
3704endif
3705
3706
3707FLING_STREAM_TEST_SRC = \
3708 test/core/fling/fling_stream_test.c \
3709
3710FLING_STREAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_STREAM_TEST_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_stream_test: openssl_dep_error
3717
3718else
3719
3720bins/$(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
3721 $(E) "[LD] Linking $@"
3722 $(Q) mkdir -p `dirname $@`
3723 $(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
3724
3725endif
3726
3727objs/$(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
3728
3729deps_fling_stream_test: $(FLING_STREAM_TEST_OBJS:.o=.dep)
3730
3731ifneq ($(NO_SECURE),true)
3732ifneq ($(NO_DEPS),true)
3733-include $(FLING_STREAM_TEST_OBJS:.o=.dep)
3734endif
3735endif
3736
3737
3738FLING_TEST_SRC = \
3739 test/core/fling/fling_test.c \
3740
3741FLING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_TEST_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_test: openssl_dep_error
3748
3749else
3750
3751bins/$(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
3752 $(E) "[LD] Linking $@"
3753 $(Q) mkdir -p `dirname $@`
3754 $(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
3755
3756endif
3757
3758objs/$(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
3759
3760deps_fling_test: $(FLING_TEST_OBJS:.o=.dep)
3761
3762ifneq ($(NO_SECURE),true)
3763ifneq ($(NO_DEPS),true)
3764-include $(FLING_TEST_OBJS:.o=.dep)
3765endif
3766endif
3767
3768
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003769GEN_HPACK_TABLES_SRC = \
3770 src/core/transport/chttp2/gen_hpack_tables.c \
3771
ctillercab52e72015-01-06 13:10:23 -08003772GEN_HPACK_TABLES_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_HPACK_TABLES_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003773
nnoble69ac39f2014-12-12 15:43:38 -08003774ifeq ($(NO_SECURE),true)
3775
Nicolas Noble047b7272015-01-16 13:55:05 -08003776# You can't build secure targets if you don't have OpenSSL with ALPN.
3777
ctillercab52e72015-01-06 13:10:23 -08003778bins/$(CONFIG)/gen_hpack_tables: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003779
3780else
3781
ctillercab52e72015-01-06 13:10:23 -08003782bins/$(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 -08003783 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003784 $(Q) mkdir -p `dirname $@`
ctillercab52e72015-01-06 13:10:23 -08003785 $(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 -08003786
nnoble69ac39f2014-12-12 15:43:38 -08003787endif
3788
Craig Tillerd4773f52015-01-12 16:38:47 -08003789objs/$(CONFIG)/src/core/transport/chttp2/gen_hpack_tables.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgpr.a libs/$(CONFIG)/libgrpc.a
3790
Craig Tiller8f126a62015-01-15 08:50:19 -08003791deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003792
nnoble69ac39f2014-12-12 15:43:38 -08003793ifneq ($(NO_SECURE),true)
3794ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003795-include $(GEN_HPACK_TABLES_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003796endif
nnoble69ac39f2014-12-12 15:43:38 -08003797endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003798
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003799
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003800GPR_CANCELLABLE_TEST_SRC = \
3801 test/core/support/cancellable_test.c \
3802
ctillercab52e72015-01-06 13:10:23 -08003803GPR_CANCELLABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CANCELLABLE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003804
nnoble69ac39f2014-12-12 15:43:38 -08003805ifeq ($(NO_SECURE),true)
3806
Nicolas Noble047b7272015-01-16 13:55:05 -08003807# You can't build secure targets if you don't have OpenSSL with ALPN.
3808
ctillercab52e72015-01-06 13:10:23 -08003809bins/$(CONFIG)/gpr_cancellable_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003810
3811else
3812
nnoble5f2ecb32015-01-12 16:40:18 -08003813bins/$(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 -08003814 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003815 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003816 $(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 -08003817
nnoble69ac39f2014-12-12 15:43:38 -08003818endif
3819
Craig Tiller770f60a2015-01-12 17:44:43 -08003820objs/$(CONFIG)/test/core/support/cancellable_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003821
Craig Tiller8f126a62015-01-15 08:50:19 -08003822deps_gpr_cancellable_test: $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003823
nnoble69ac39f2014-12-12 15:43:38 -08003824ifneq ($(NO_SECURE),true)
3825ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08003826-include $(GPR_CANCELLABLE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003827endif
nnoble69ac39f2014-12-12 15:43:38 -08003828endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003829
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003830
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003831GPR_CMDLINE_TEST_SRC = \
3832 test/core/support/cmdline_test.c \
3833
ctillercab52e72015-01-06 13:10:23 -08003834GPR_CMDLINE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CMDLINE_TEST_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)/gpr_cmdline_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003841
3842else
3843
nnoble5f2ecb32015-01-12 16:40:18 -08003844bins/$(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 -08003845 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08003846 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08003847 $(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 -08003848
nnoble69ac39f2014-12-12 15:43:38 -08003849endif
3850
Craig Tiller770f60a2015-01-12 17:44:43 -08003851objs/$(CONFIG)/test/core/support/cmdline_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08003852
Craig Tiller8f126a62015-01-15 08:50:19 -08003853deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_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 $(GPR_CMDLINE_TEST_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
3862GPR_HISTOGRAM_TEST_SRC = \
3863 test/core/support/histogram_test.c \
3864
ctillercab52e72015-01-06 13:10:23 -08003865GPR_HISTOGRAM_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HISTOGRAM_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_histogram_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003872
3873else
3874
nnoble5f2ecb32015-01-12 16:40:18 -08003875bins/$(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 -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_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 -08003879
nnoble69ac39f2014-12-12 15:43:38 -08003880endif
3881
Craig Tiller770f60a2015-01-12 17:44:43 -08003882objs/$(CONFIG)/test/core/support/histogram_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_histogram_test: $(GPR_HISTOGRAM_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_HISTOGRAM_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
3893GPR_HOST_PORT_TEST_SRC = \
3894 test/core/support/host_port_test.c \
3895
ctillercab52e72015-01-06 13:10:23 -08003896GPR_HOST_PORT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HOST_PORT_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_host_port_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003903
3904else
3905
nnoble5f2ecb32015-01-12 16:40:18 -08003906bins/$(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 -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_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 -08003910
nnoble69ac39f2014-12-12 15:43:38 -08003911endif
3912
Craig Tiller770f60a2015-01-12 17:44:43 -08003913objs/$(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 -08003914
Craig Tiller8f126a62015-01-15 08:50:19 -08003915deps_gpr_host_port_test: $(GPR_HOST_PORT_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_HOST_PORT_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
Craig Tiller17ec5f92015-01-18 11:30:41 -08003924GPR_LOG_TEST_SRC = \
3925 test/core/support/log_test.c \
3926
3927GPR_LOG_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_LOG_TEST_SRC))))
3928
3929ifeq ($(NO_SECURE),true)
3930
3931# You can't build secure targets if you don't have OpenSSL with ALPN.
3932
3933bins/$(CONFIG)/gpr_log_test: openssl_dep_error
3934
3935else
3936
3937bins/$(CONFIG)/gpr_log_test: $(GPR_LOG_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3938 $(E) "[LD] Linking $@"
3939 $(Q) mkdir -p `dirname $@`
3940 $(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
3941
3942endif
3943
3944objs/$(CONFIG)/test/core/support/log_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
3945
3946deps_gpr_log_test: $(GPR_LOG_TEST_OBJS:.o=.dep)
3947
3948ifneq ($(NO_SECURE),true)
3949ifneq ($(NO_DEPS),true)
3950-include $(GPR_LOG_TEST_OBJS:.o=.dep)
3951endif
3952endif
3953
3954
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003955GPR_SLICE_BUFFER_TEST_SRC = \
3956 test/core/support/slice_buffer_test.c \
3957
ctillercab52e72015-01-06 13:10:23 -08003958GPR_SLICE_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_BUFFER_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_slice_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003965
3966else
3967
nnoble5f2ecb32015-01-12 16:40:18 -08003968bins/$(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 -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_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 -08003972
nnoble69ac39f2014-12-12 15:43:38 -08003973endif
3974
Craig Tiller770f60a2015-01-12 17:44:43 -08003975objs/$(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 -08003976
Craig Tiller8f126a62015-01-15 08:50:19 -08003977deps_gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_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_SLICE_BUFFER_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
3986GPR_SLICE_TEST_SRC = \
3987 test/core/support/slice_test.c \
3988
ctillercab52e72015-01-06 13:10:23 -08003989GPR_SLICE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08003990
nnoble69ac39f2014-12-12 15:43:38 -08003991ifeq ($(NO_SECURE),true)
3992
Nicolas Noble047b7272015-01-16 13:55:05 -08003993# You can't build secure targets if you don't have OpenSSL with ALPN.
3994
ctillercab52e72015-01-06 13:10:23 -08003995bins/$(CONFIG)/gpr_slice_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08003996
3997else
3998
nnoble5f2ecb32015-01-12 16:40:18 -08003999bins/$(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 -08004000 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004001 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004002 $(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 -08004003
nnoble69ac39f2014-12-12 15:43:38 -08004004endif
4005
Craig Tiller770f60a2015-01-12 17:44:43 -08004006objs/$(CONFIG)/test/core/support/slice_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004007
Craig Tiller8f126a62015-01-15 08:50:19 -08004008deps_gpr_slice_test: $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004009
nnoble69ac39f2014-12-12 15:43:38 -08004010ifneq ($(NO_SECURE),true)
4011ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004012-include $(GPR_SLICE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004013endif
nnoble69ac39f2014-12-12 15:43:38 -08004014endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004015
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004016
4017GPR_STRING_TEST_SRC = \
4018 test/core/support/string_test.c \
4019
ctillercab52e72015-01-06 13:10:23 -08004020GPR_STRING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STRING_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_string_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004027
4028else
4029
nnoble5f2ecb32015-01-12 16:40:18 -08004030bins/$(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 -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_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 -08004034
nnoble69ac39f2014-12-12 15:43:38 -08004035endif
4036
Craig Tiller770f60a2015-01-12 17:44:43 -08004037objs/$(CONFIG)/test/core/support/string_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_string_test: $(GPR_STRING_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_STRING_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_SYNC_TEST_SRC = \
4049 test/core/support/sync_test.c \
4050
ctillercab52e72015-01-06 13:10:23 -08004051GPR_SYNC_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SYNC_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_sync_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004058
4059else
4060
nnoble5f2ecb32015-01-12 16:40:18 -08004061bins/$(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 -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_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 -08004065
nnoble69ac39f2014-12-12 15:43:38 -08004066endif
4067
Craig Tiller770f60a2015-01-12 17:44:43 -08004068objs/$(CONFIG)/test/core/support/sync_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_sync_test: $(GPR_SYNC_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_SYNC_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_THD_TEST_SRC = \
4080 test/core/support/thd_test.c \
4081
ctillercab52e72015-01-06 13:10:23 -08004082GPR_THD_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_THD_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_thd_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004089
4090else
4091
nnoble5f2ecb32015-01-12 16:40:18 -08004092bins/$(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 -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_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 -08004096
nnoble69ac39f2014-12-12 15:43:38 -08004097endif
4098
Craig Tiller770f60a2015-01-12 17:44:43 -08004099objs/$(CONFIG)/test/core/support/thd_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_thd_test: $(GPR_THD_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_THD_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_TIME_TEST_SRC = \
4111 test/core/support/time_test.c \
4112
ctillercab52e72015-01-06 13:10:23 -08004113GPR_TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_TIME_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_time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004120
4121else
4122
nnoble5f2ecb32015-01-12 16:40:18 -08004123bins/$(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 -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_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 -08004127
nnoble69ac39f2014-12-12 15:43:38 -08004128endif
4129
Craig Tiller770f60a2015-01-12 17:44:43 -08004130objs/$(CONFIG)/test/core/support/time_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_time_test: $(GPR_TIME_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_TIME_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
Craig Tiller17ec5f92015-01-18 11:30:41 -08004141GPR_USEFUL_TEST_SRC = \
4142 test/core/support/useful_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004143
Craig Tiller17ec5f92015-01-18 11:30:41 -08004144GPR_USEFUL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_USEFUL_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
Craig Tiller17ec5f92015-01-18 11:30:41 -08004150bins/$(CONFIG)/gpr_useful_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004151
4152else
4153
Craig Tiller17ec5f92015-01-18 11:30:41 -08004154bins/$(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 -08004155 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004156 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004157 $(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 -08004158
nnoble69ac39f2014-12-12 15:43:38 -08004159endif
4160
Craig Tiller17ec5f92015-01-18 11:30:41 -08004161objs/$(CONFIG)/test/core/support/useful_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004162
Craig Tiller17ec5f92015-01-18 11:30:41 -08004163deps_gpr_useful_test: $(GPR_USEFUL_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 Tiller17ec5f92015-01-18 11:30:41 -08004167-include $(GPR_USEFUL_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
Craig Tiller17ec5f92015-01-18 11:30:41 -08004172GRPC_BASE64_TEST_SRC = \
4173 test/core/security/base64_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004174
Craig Tiller17ec5f92015-01-18 11:30:41 -08004175GRPC_BASE64_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BASE64_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
Craig Tiller17ec5f92015-01-18 11:30:41 -08004181bins/$(CONFIG)/grpc_base64_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004182
4183else
4184
Craig Tiller17ec5f92015-01-18 11:30:41 -08004185bins/$(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 -08004186 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004187 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004188 $(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 -08004189
nnoble69ac39f2014-12-12 15:43:38 -08004190endif
4191
Craig Tiller17ec5f92015-01-18 11:30:41 -08004192objs/$(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 -08004193
Craig Tiller17ec5f92015-01-18 11:30:41 -08004194deps_grpc_base64_test: $(GRPC_BASE64_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 Tiller17ec5f92015-01-18 11:30:41 -08004198-include $(GRPC_BASE64_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 -08004203GRPC_BYTE_BUFFER_READER_TEST_SRC = \
4204 test/core/surface/byte_buffer_reader_test.c \
nnoble0c475f02014-12-05 15:37:39 -08004205
Craig Tiller17ec5f92015-01-18 11:30:41 -08004206GRPC_BYTE_BUFFER_READER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BYTE_BUFFER_READER_TEST_SRC))))
nnoble0c475f02014-12-05 15:37:39 -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)/grpc_byte_buffer_reader_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004213
4214else
4215
Craig Tiller17ec5f92015-01-18 11:30:41 -08004216bins/$(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 -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) $(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 -08004220
nnoble69ac39f2014-12-12 15:43:38 -08004221endif
4222
Craig Tiller17ec5f92015-01-18 11:30:41 -08004223objs/$(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 -08004224
Craig Tiller17ec5f92015-01-18 11:30:41 -08004225deps_grpc_byte_buffer_reader_test: $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08004226
nnoble69ac39f2014-12-12 15:43:38 -08004227ifneq ($(NO_SECURE),true)
4228ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004229-include $(GRPC_BYTE_BUFFER_READER_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
4234GRPC_CHANNEL_STACK_TEST_SRC = \
4235 test/core/channel/channel_stack_test.c \
4236
ctillercab52e72015-01-06 13:10:23 -08004237GRPC_CHANNEL_STACK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CHANNEL_STACK_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
ctillercab52e72015-01-06 13:10:23 -08004243bins/$(CONFIG)/grpc_channel_stack_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004244
4245else
4246
nnoble5f2ecb32015-01-12 16:40:18 -08004247bins/$(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 -08004248 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004249 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004250 $(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 -08004251
nnoble69ac39f2014-12-12 15:43:38 -08004252endif
4253
Craig Tiller770f60a2015-01-12 17:44:43 -08004254objs/$(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 -08004255
Craig Tiller8f126a62015-01-15 08:50:19 -08004256deps_grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_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 Tiller8f126a62015-01-15 08:50:19 -08004260-include $(GRPC_CHANNEL_STACK_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_COMPLETION_QUEUE_BENCHMARK_SRC = \
4266 test/core/surface/completion_queue_benchmark.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004267
Craig Tiller17ec5f92015-01-18 11:30:41 -08004268GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_BENCHMARK_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -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_completion_queue_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004275
4276else
4277
Craig Tiller17ec5f92015-01-18 11:30:41 -08004278bins/$(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 -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_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 -08004282
nnoble69ac39f2014-12-12 15:43:38 -08004283endif
4284
Craig Tiller17ec5f92015-01-18 11:30:41 -08004285objs/$(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 -08004286
Craig Tiller17ec5f92015-01-18 11:30:41 -08004287deps_grpc_completion_queue_benchmark: $(GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -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_COMPLETION_QUEUE_BENCHMARK_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_COMPLETION_QUEUE_TEST_SRC = \
4297 test/core/surface/completion_queue_test.c \
4298
ctillercab52e72015-01-06 13:10:23 -08004299GRPC_COMPLETION_QUEUE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_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_completion_queue_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004306
4307else
4308
nnoble5f2ecb32015-01-12 16:40:18 -08004309bins/$(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 -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_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 -08004313
nnoble69ac39f2014-12-12 15:43:38 -08004314endif
4315
Craig Tiller770f60a2015-01-12 17:44:43 -08004316objs/$(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 -08004317
Craig Tiller8f126a62015-01-15 08:50:19 -08004318deps_grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_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_COMPLETION_QUEUE_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_CREDENTIALS_TEST_SRC = \
4328 test/core/security/credentials_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004329
Craig Tiller17ec5f92015-01-18 11:30:41 -08004330GRPC_CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CREDENTIALS_TEST_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_credentials_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004337
4338else
4339
Craig Tiller17ec5f92015-01-18 11:30:41 -08004340bins/$(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 -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_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 -08004344
nnoble69ac39f2014-12-12 15:43:38 -08004345endif
4346
Craig Tiller17ec5f92015-01-18 11:30:41 -08004347objs/$(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 -08004348
Craig Tiller17ec5f92015-01-18 11:30:41 -08004349deps_grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_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_CREDENTIALS_TEST_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
Craig Tiller17ec5f92015-01-18 11:30:41 -08004358GRPC_FETCH_OAUTH2_SRC = \
4359 test/core/security/fetch_oauth2.c \
hongyu24200d32015-01-08 15:13:49 -08004360
Craig Tiller17ec5f92015-01-18 11:30:41 -08004361GRPC_FETCH_OAUTH2_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_FETCH_OAUTH2_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004362
4363ifeq ($(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
Craig Tiller17ec5f92015-01-18 11:30:41 -08004367bins/$(CONFIG)/grpc_fetch_oauth2: openssl_dep_error
hongyu24200d32015-01-08 15:13:49 -08004368
4369else
4370
Craig Tiller17ec5f92015-01-18 11:30:41 -08004371bins/$(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 -08004372 $(E) "[LD] Linking $@"
4373 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004374 $(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 -08004375
4376endif
4377
Craig Tiller17ec5f92015-01-18 11:30:41 -08004378objs/$(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 -08004379
Craig Tiller17ec5f92015-01-18 11:30:41 -08004380deps_grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004381
4382ifneq ($(NO_SECURE),true)
4383ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004384-include $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004385endif
4386endif
4387
hongyu24200d32015-01-08 15:13:49 -08004388
Craig Tiller17ec5f92015-01-18 11:30:41 -08004389GRPC_JSON_TOKEN_TEST_SRC = \
4390 test/core/security/json_token_test.c \
hongyu24200d32015-01-08 15:13:49 -08004391
Craig Tiller17ec5f92015-01-18 11:30:41 -08004392GRPC_JSON_TOKEN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_JSON_TOKEN_TEST_SRC))))
hongyu24200d32015-01-08 15:13:49 -08004393
4394ifeq ($(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_json_token_test: openssl_dep_error
hongyu24200d32015-01-08 15:13:49 -08004399
4400else
4401
Craig Tiller17ec5f92015-01-18 11:30:41 -08004402bins/$(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 -08004403 $(E) "[LD] Linking $@"
4404 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004405 $(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 -08004406
4407endif
4408
Craig Tiller17ec5f92015-01-18 11:30:41 -08004409objs/$(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 -08004410
Craig Tiller17ec5f92015-01-18 11:30:41 -08004411deps_grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004412
4413ifneq ($(NO_SECURE),true)
4414ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004415-include $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08004416endif
4417endif
4418
hongyu24200d32015-01-08 15:13:49 -08004419
Craig Tiller17ec5f92015-01-18 11:30:41 -08004420GRPC_STREAM_OP_TEST_SRC = \
4421 test/core/transport/stream_op_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004422
Craig Tiller17ec5f92015-01-18 11:30:41 -08004423GRPC_STREAM_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_STREAM_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004424
nnoble69ac39f2014-12-12 15:43:38 -08004425ifeq ($(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_stream_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004430
4431else
4432
Craig Tiller17ec5f92015-01-18 11:30:41 -08004433bins/$(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 -08004434 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004435 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004436 $(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 -08004437
nnoble69ac39f2014-12-12 15:43:38 -08004438endif
4439
Craig Tiller17ec5f92015-01-18 11:30:41 -08004440objs/$(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 -08004441
Craig Tiller17ec5f92015-01-18 11:30:41 -08004442deps_grpc_stream_op_test: $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004443
nnoble69ac39f2014-12-12 15:43:38 -08004444ifneq ($(NO_SECURE),true)
4445ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004446-include $(GRPC_STREAM_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004447endif
nnoble69ac39f2014-12-12 15:43:38 -08004448endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004449
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004450
Craig Tiller17ec5f92015-01-18 11:30:41 -08004451HPACK_PARSER_TEST_SRC = \
4452 test/core/transport/chttp2/hpack_parser_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004453
Craig Tiller17ec5f92015-01-18 11:30:41 -08004454HPACK_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004455
nnoble69ac39f2014-12-12 15:43:38 -08004456ifeq ($(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)/hpack_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004461
4462else
4463
Craig Tiller17ec5f92015-01-18 11:30:41 -08004464bins/$(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 -08004465 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004466 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004467 $(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 -08004468
nnoble69ac39f2014-12-12 15:43:38 -08004469endif
4470
Craig Tiller17ec5f92015-01-18 11:30:41 -08004471objs/$(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 -08004472
Craig Tiller17ec5f92015-01-18 11:30:41 -08004473deps_hpack_parser_test: $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004474
nnoble69ac39f2014-12-12 15:43:38 -08004475ifneq ($(NO_SECURE),true)
4476ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004477-include $(HPACK_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004478endif
nnoble69ac39f2014-12-12 15:43:38 -08004479endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004480
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004481
Craig Tiller17ec5f92015-01-18 11:30:41 -08004482HPACK_TABLE_TEST_SRC = \
4483 test/core/transport/chttp2/hpack_table_test.c \
aveitch482a5be2014-12-15 10:25:12 -08004484
Craig Tiller17ec5f92015-01-18 11:30:41 -08004485HPACK_TABLE_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_TABLE_TEST_SRC))))
aveitch482a5be2014-12-15 10:25:12 -08004486
4487ifeq ($(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)/hpack_table_test: openssl_dep_error
aveitch482a5be2014-12-15 10:25:12 -08004492
4493else
4494
Craig Tiller17ec5f92015-01-18 11:30:41 -08004495bins/$(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 -08004496 $(E) "[LD] Linking $@"
4497 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004498 $(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 -08004499
4500endif
4501
Craig Tiller17ec5f92015-01-18 11:30:41 -08004502objs/$(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 -08004503
Craig Tiller17ec5f92015-01-18 11:30:41 -08004504deps_hpack_table_test: $(HPACK_TABLE_TEST_OBJS:.o=.dep)
aveitch482a5be2014-12-15 10:25:12 -08004505
4506ifneq ($(NO_SECURE),true)
4507ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004508-include $(HPACK_TABLE_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
4513HTTPCLI_FORMAT_REQUEST_TEST_SRC = \
4514 test/core/httpcli/format_request_test.c \
4515
ctillercab52e72015-01-06 13:10:23 -08004516HTTPCLI_FORMAT_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_FORMAT_REQUEST_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
ctillercab52e72015-01-06 13:10:23 -08004522bins/$(CONFIG)/httpcli_format_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004523
4524else
4525
nnoble5f2ecb32015-01-12 16:40:18 -08004526bins/$(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 -08004527 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004528 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004529 $(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 -08004530
nnoble69ac39f2014-12-12 15:43:38 -08004531endif
4532
Craig Tiller770f60a2015-01-12 17:44:43 -08004533objs/$(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 -08004534
Craig Tiller8f126a62015-01-15 08:50:19 -08004535deps_httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_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 Tiller8f126a62015-01-15 08:50:19 -08004539-include $(HTTPCLI_FORMAT_REQUEST_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
4544HTTPCLI_PARSER_TEST_SRC = \
4545 test/core/httpcli/parser_test.c \
4546
ctillercab52e72015-01-06 13:10:23 -08004547HTTPCLI_PARSER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_PARSER_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004548
nnoble69ac39f2014-12-12 15:43:38 -08004549ifeq ($(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
ctillercab52e72015-01-06 13:10:23 -08004553bins/$(CONFIG)/httpcli_parser_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004554
4555else
4556
nnoble5f2ecb32015-01-12 16:40:18 -08004557bins/$(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 -08004558 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004559 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08004560 $(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 -08004561
nnoble69ac39f2014-12-12 15:43:38 -08004562endif
4563
Craig Tiller770f60a2015-01-12 17:44:43 -08004564objs/$(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 -08004565
Craig Tiller8f126a62015-01-15 08:50:19 -08004566deps_httpcli_parser_test: $(HTTPCLI_PARSER_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004567
nnoble69ac39f2014-12-12 15:43:38 -08004568ifneq ($(NO_SECURE),true)
4569ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08004570-include $(HTTPCLI_PARSER_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_TEST_SRC = \
4576 test/core/httpcli/httpcli_test.c \
4577
ctillercab52e72015-01-06 13:10:23 -08004578HTTPCLI_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_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_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004585
4586else
4587
nnoble5f2ecb32015-01-12 16:40:18 -08004588bins/$(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 -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_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 -08004592
nnoble69ac39f2014-12-12 15:43:38 -08004593endif
4594
Craig Tiller770f60a2015-01-12 17:44:43 -08004595objs/$(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 -08004596
Craig Tiller8f126a62015-01-15 08:50:19 -08004597deps_httpcli_test: $(HTTPCLI_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_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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004606LAME_CLIENT_TEST_SRC = \
4607 test/core/surface/lame_client_test.c \
4608
ctillercab52e72015-01-06 13:10:23 -08004609LAME_CLIENT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LAME_CLIENT_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)/lame_client_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004616
4617else
4618
nnoble5f2ecb32015-01-12 16:40:18 -08004619bins/$(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 -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) $(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 -08004623
nnoble69ac39f2014-12-12 15:43:38 -08004624endif
4625
Craig Tiller770f60a2015-01-12 17:44:43 -08004626objs/$(CONFIG)/test/core/surface/lame_client_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004627
Craig Tiller8f126a62015-01-15 08:50:19 -08004628deps_lame_client_test: $(LAME_CLIENT_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 $(LAME_CLIENT_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
Craig Tiller17ec5f92015-01-18 11:30:41 -08004637LOW_LEVEL_PING_PONG_BENCHMARK_SRC = \
4638 test/core/network_benchmarks/low_level_ping_pong.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004639
Craig Tiller17ec5f92015-01-18 11:30:41 -08004640LOW_LEVEL_PING_PONG_BENCHMARK_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(LOW_LEVEL_PING_PONG_BENCHMARK_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
Craig Tiller17ec5f92015-01-18 11:30:41 -08004646bins/$(CONFIG)/low_level_ping_pong_benchmark: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004647
4648else
4649
Craig Tiller17ec5f92015-01-18 11:30:41 -08004650bins/$(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 -08004651 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004652 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004653 $(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 -08004654
nnoble69ac39f2014-12-12 15:43:38 -08004655endif
4656
Craig Tiller17ec5f92015-01-18 11:30:41 -08004657objs/$(CONFIG)/test/core/network_benchmarks/low_level_ping_pong.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004658
Craig Tiller17ec5f92015-01-18 11:30:41 -08004659deps_low_level_ping_pong_benchmark: $(LOW_LEVEL_PING_PONG_BENCHMARK_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 Tiller17ec5f92015-01-18 11:30:41 -08004663-include $(LOW_LEVEL_PING_PONG_BENCHMARK_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
Craig Tiller17ec5f92015-01-18 11:30:41 -08004668MESSAGE_COMPRESS_TEST_SRC = \
4669 test/core/compression/message_compress_test.c \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004670
Craig Tiller17ec5f92015-01-18 11:30:41 -08004671MESSAGE_COMPRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MESSAGE_COMPRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004672
nnoble69ac39f2014-12-12 15:43:38 -08004673ifeq ($(NO_SECURE),true)
4674
Nicolas Noble047b7272015-01-16 13:55:05 -08004675# You can't build secure targets if you don't have OpenSSL with ALPN.
4676
Craig Tiller17ec5f92015-01-18 11:30:41 -08004677bins/$(CONFIG)/message_compress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004678
4679else
4680
Craig Tiller17ec5f92015-01-18 11:30:41 -08004681bins/$(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 -08004682 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08004683 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004684 $(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 -08004685
nnoble69ac39f2014-12-12 15:43:38 -08004686endif
4687
Craig Tiller17ec5f92015-01-18 11:30:41 -08004688objs/$(CONFIG)/test/core/compression/message_compress_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004689
Craig Tiller17ec5f92015-01-18 11:30:41 -08004690deps_message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004691
nnoble69ac39f2014-12-12 15:43:38 -08004692ifneq ($(NO_SECURE),true)
4693ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004694-include $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004695endif
nnoble69ac39f2014-12-12 15:43:38 -08004696endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004697
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004698
Craig Tiller17ec5f92015-01-18 11:30:41 -08004699METADATA_BUFFER_TEST_SRC = \
4700 test/core/channel/metadata_buffer_test.c \
ctiller8919f602014-12-10 10:19:42 -08004701
Craig Tiller17ec5f92015-01-18 11:30:41 -08004702METADATA_BUFFER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(METADATA_BUFFER_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004703
nnoble69ac39f2014-12-12 15:43:38 -08004704ifeq ($(NO_SECURE),true)
4705
Nicolas Noble047b7272015-01-16 13:55:05 -08004706# You can't build secure targets if you don't have OpenSSL with ALPN.
4707
Craig Tiller17ec5f92015-01-18 11:30:41 -08004708bins/$(CONFIG)/metadata_buffer_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004709
4710else
4711
Craig Tiller17ec5f92015-01-18 11:30:41 -08004712bins/$(CONFIG)/metadata_buffer_test: $(METADATA_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
ctiller8919f602014-12-10 10:19:42 -08004713 $(E) "[LD] Linking $@"
4714 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004715 $(Q) $(LD) $(LDFLAGS) $(METADATA_BUFFER_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/metadata_buffer_test
ctiller8919f602014-12-10 10:19:42 -08004716
nnoble69ac39f2014-12-12 15:43:38 -08004717endif
4718
Craig Tiller17ec5f92015-01-18 11:30:41 -08004719objs/$(CONFIG)/test/core/channel/metadata_buffer_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
Craig Tillerd4773f52015-01-12 16:38:47 -08004720
Craig Tiller17ec5f92015-01-18 11:30:41 -08004721deps_metadata_buffer_test: $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004722
nnoble69ac39f2014-12-12 15:43:38 -08004723ifneq ($(NO_SECURE),true)
4724ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004725-include $(METADATA_BUFFER_TEST_OBJS:.o=.dep)
4726endif
4727endif
4728
4729
4730MURMUR_HASH_TEST_SRC = \
4731 test/core/support/murmur_hash_test.c \
4732
4733MURMUR_HASH_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(MURMUR_HASH_TEST_SRC))))
4734
4735ifeq ($(NO_SECURE),true)
4736
4737# You can't build secure targets if you don't have OpenSSL with ALPN.
4738
4739bins/$(CONFIG)/murmur_hash_test: openssl_dep_error
4740
4741else
4742
4743bins/$(CONFIG)/murmur_hash_test: $(MURMUR_HASH_TEST_OBJS) libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4744 $(E) "[LD] Linking $@"
4745 $(Q) mkdir -p `dirname $@`
4746 $(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
4747
4748endif
4749
4750objs/$(CONFIG)/test/core/support/murmur_hash_test.o: libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
4751
4752deps_murmur_hash_test: $(MURMUR_HASH_TEST_OBJS:.o=.dep)
4753
4754ifneq ($(NO_SECURE),true)
4755ifneq ($(NO_DEPS),true)
4756-include $(MURMUR_HASH_TEST_OBJS:.o=.dep)
4757endif
4758endif
4759
4760
4761NO_SERVER_TEST_SRC = \
4762 test/core/end2end/no_server_test.c \
4763
4764NO_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(NO_SERVER_TEST_SRC))))
4765
4766ifeq ($(NO_SECURE),true)
4767
4768# You can't build secure targets if you don't have OpenSSL with ALPN.
4769
4770bins/$(CONFIG)/no_server_test: openssl_dep_error
4771
4772else
4773
4774bins/$(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
4775 $(E) "[LD] Linking $@"
4776 $(Q) mkdir -p `dirname $@`
4777 $(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
4778
4779endif
4780
4781objs/$(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
4782
4783deps_no_server_test: $(NO_SERVER_TEST_OBJS:.o=.dep)
4784
4785ifneq ($(NO_SECURE),true)
4786ifneq ($(NO_DEPS),true)
4787-include $(NO_SERVER_TEST_OBJS:.o=.dep)
4788endif
4789endif
4790
4791
4792POLL_KICK_TEST_SRC = \
4793 test/core/iomgr/poll_kick_test.c \
4794
4795POLL_KICK_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(POLL_KICK_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)/poll_kick_test: openssl_dep_error
4802
4803else
4804
4805bins/$(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
4806 $(E) "[LD] Linking $@"
4807 $(Q) mkdir -p `dirname $@`
4808 $(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
4809
4810endif
4811
4812objs/$(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
4813
4814deps_poll_kick_test: $(POLL_KICK_TEST_OBJS:.o=.dep)
4815
4816ifneq ($(NO_SECURE),true)
4817ifneq ($(NO_DEPS),true)
4818-include $(POLL_KICK_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004819endif
nnoble69ac39f2014-12-12 15:43:38 -08004820endif
ctiller8919f602014-12-10 10:19:42 -08004821
ctiller8919f602014-12-10 10:19:42 -08004822
Craig Tiller17ec5f92015-01-18 11:30:41 -08004823RESOLVE_ADDRESS_TEST_SRC = \
4824 test/core/iomgr/resolve_address_test.c \
ctiller8919f602014-12-10 10:19:42 -08004825
Craig Tiller17ec5f92015-01-18 11:30:41 -08004826RESOLVE_ADDRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004827
nnoble69ac39f2014-12-12 15:43:38 -08004828ifeq ($(NO_SECURE),true)
4829
Nicolas Noble047b7272015-01-16 13:55:05 -08004830# You can't build secure targets if you don't have OpenSSL with ALPN.
4831
Craig Tiller17ec5f92015-01-18 11:30:41 -08004832bins/$(CONFIG)/resolve_address_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004833
4834else
4835
Craig Tiller17ec5f92015-01-18 11:30:41 -08004836bins/$(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 -08004837 $(E) "[LD] Linking $@"
4838 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004839 $(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 -08004840
nnoble69ac39f2014-12-12 15:43:38 -08004841endif
4842
Craig Tiller17ec5f92015-01-18 11:30:41 -08004843objs/$(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 -08004844
Craig Tiller17ec5f92015-01-18 11:30:41 -08004845deps_resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004846
nnoble69ac39f2014-12-12 15:43:38 -08004847ifneq ($(NO_SECURE),true)
4848ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004849-include $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004850endif
nnoble69ac39f2014-12-12 15:43:38 -08004851endif
ctiller8919f602014-12-10 10:19:42 -08004852
ctiller8919f602014-12-10 10:19:42 -08004853
Craig Tiller17ec5f92015-01-18 11:30:41 -08004854SECURE_ENDPOINT_TEST_SRC = \
4855 test/core/security/secure_endpoint_test.c \
4856
4857SECURE_ENDPOINT_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_ENDPOINT_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08004858
nnoble69ac39f2014-12-12 15:43:38 -08004859ifeq ($(NO_SECURE),true)
4860
Nicolas Noble047b7272015-01-16 13:55:05 -08004861# You can't build secure targets if you don't have OpenSSL with ALPN.
4862
Craig Tiller17ec5f92015-01-18 11:30:41 -08004863bins/$(CONFIG)/secure_endpoint_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004864
4865else
4866
Craig Tiller17ec5f92015-01-18 11:30:41 -08004867bins/$(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 -08004868 $(E) "[LD] Linking $@"
4869 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004870 $(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 -08004871
nnoble69ac39f2014-12-12 15:43:38 -08004872endif
4873
Craig Tiller17ec5f92015-01-18 11:30:41 -08004874objs/$(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 -08004875
Craig Tiller17ec5f92015-01-18 11:30:41 -08004876deps_secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08004877
nnoble69ac39f2014-12-12 15:43:38 -08004878ifneq ($(NO_SECURE),true)
4879ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004880-include $(SECURE_ENDPOINT_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 -08004885SOCKADDR_UTILS_TEST_SRC = \
4886 test/core/iomgr/sockaddr_utils_test.c \
ctiller8919f602014-12-10 10:19:42 -08004887
Craig Tiller17ec5f92015-01-18 11:30:41 -08004888SOCKADDR_UTILS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKADDR_UTILS_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)/sockaddr_utils_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004895
4896else
4897
Craig Tiller17ec5f92015-01-18 11:30:41 -08004898bins/$(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 -08004899 $(E) "[LD] Linking $@"
4900 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004901 $(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 -08004902
nnoble69ac39f2014-12-12 15:43:38 -08004903endif
4904
Craig Tiller17ec5f92015-01-18 11:30:41 -08004905objs/$(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 -08004906
Craig Tiller17ec5f92015-01-18 11:30:41 -08004907deps_sockaddr_utils_test: $(SOCKADDR_UTILS_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 $(SOCKADDR_UTILS_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 -08004916TCP_CLIENT_POSIX_TEST_SRC = \
4917 test/core/iomgr/tcp_client_posix_test.c \
ctiller8919f602014-12-10 10:19:42 -08004918
Craig Tiller17ec5f92015-01-18 11:30:41 -08004919TCP_CLIENT_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_CLIENT_POSIX_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)/tcp_client_posix_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08004926
4927else
4928
Craig Tiller17ec5f92015-01-18 11:30:41 -08004929bins/$(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 -08004930 $(E) "[LD] Linking $@"
4931 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004932 $(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 -08004933
nnoble69ac39f2014-12-12 15:43:38 -08004934endif
4935
Craig Tiller17ec5f92015-01-18 11:30:41 -08004936objs/$(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 -08004937
Craig Tiller17ec5f92015-01-18 11:30:41 -08004938deps_tcp_client_posix_test: $(TCP_CLIENT_POSIX_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 $(TCP_CLIENT_POSIX_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 -08004947TCP_POSIX_TEST_SRC = \
4948 test/core/iomgr/tcp_posix_test.c \
ctiller3bf466f2014-12-19 16:21:57 -08004949
Craig Tiller17ec5f92015-01-18 11:30:41 -08004950TCP_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_POSIX_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08004951
4952ifeq ($(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)/tcp_posix_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08004957
4958else
4959
Craig Tiller17ec5f92015-01-18 11:30:41 -08004960bins/$(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 -08004961 $(E) "[LD] Linking $@"
4962 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004963 $(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 -08004964
4965endif
4966
Craig Tiller17ec5f92015-01-18 11:30:41 -08004967objs/$(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 -08004968
Craig Tiller17ec5f92015-01-18 11:30:41 -08004969deps_tcp_posix_test: $(TCP_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08004970
4971ifneq ($(NO_SECURE),true)
4972ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08004973-include $(TCP_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08004974endif
4975endif
4976
ctiller3bf466f2014-12-19 16:21:57 -08004977
Craig Tiller17ec5f92015-01-18 11:30:41 -08004978TCP_SERVER_POSIX_TEST_SRC = \
4979 test/core/iomgr/tcp_server_posix_test.c \
ctiller3bf466f2014-12-19 16:21:57 -08004980
Craig Tiller17ec5f92015-01-18 11:30:41 -08004981TCP_SERVER_POSIX_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_SERVER_POSIX_TEST_SRC))))
ctiller3bf466f2014-12-19 16:21:57 -08004982
4983ifeq ($(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_server_posix_test: openssl_dep_error
ctiller3bf466f2014-12-19 16:21:57 -08004988
4989else
4990
Craig Tiller17ec5f92015-01-18 11:30:41 -08004991bins/$(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 -08004992 $(E) "[LD] Linking $@"
4993 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08004994 $(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 -08004995
4996endif
4997
Craig Tiller17ec5f92015-01-18 11:30:41 -08004998objs/$(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 -08004999
Craig Tiller17ec5f92015-01-18 11:30:41 -08005000deps_tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005001
5002ifneq ($(NO_SECURE),true)
5003ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005004-include $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep)
5005endif
5006endif
5007
5008
Craig Tiller17ec5f92015-01-18 11:30:41 -08005009TIME_AVERAGED_STATS_TEST_SRC = \
5010 test/core/iomgr/time_averaged_stats_test.c \
5011
5012TIME_AVERAGED_STATS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_AVERAGED_STATS_TEST_SRC))))
5013
5014ifeq ($(NO_SECURE),true)
5015
5016# You can't build secure targets if you don't have OpenSSL with ALPN.
5017
5018bins/$(CONFIG)/time_averaged_stats_test: openssl_dep_error
5019
5020else
5021
5022bins/$(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
5023 $(E) "[LD] Linking $@"
5024 $(Q) mkdir -p `dirname $@`
5025 $(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
5026
5027endif
5028
5029objs/$(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
5030
5031deps_time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
5032
5033ifneq ($(NO_SECURE),true)
5034ifneq ($(NO_DEPS),true)
5035-include $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep)
ctiller3bf466f2014-12-19 16:21:57 -08005036endif
5037endif
5038
ctiller3bf466f2014-12-19 16:21:57 -08005039
ctiller8919f602014-12-10 10:19:42 -08005040TIME_TEST_SRC = \
5041 test/core/support/time_test.c \
5042
ctillercab52e72015-01-06 13:10:23 -08005043TIME_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_TEST_SRC))))
ctiller8919f602014-12-10 10:19:42 -08005044
nnoble69ac39f2014-12-12 15:43:38 -08005045ifeq ($(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
ctillercab52e72015-01-06 13:10:23 -08005049bins/$(CONFIG)/time_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005050
5051else
5052
nnoble5f2ecb32015-01-12 16:40:18 -08005053bins/$(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 -08005054 $(E) "[LD] Linking $@"
5055 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005056 $(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 -08005057
nnoble69ac39f2014-12-12 15:43:38 -08005058endif
5059
Craig Tiller770f60a2015-01-12 17:44:43 -08005060objs/$(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 -08005061
Craig Tiller8f126a62015-01-15 08:50:19 -08005062deps_time_test: $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005063
nnoble69ac39f2014-12-12 15:43:38 -08005064ifneq ($(NO_SECURE),true)
5065ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005066-include $(TIME_TEST_OBJS:.o=.dep)
ctiller8919f602014-12-10 10:19:42 -08005067endif
nnoble69ac39f2014-12-12 15:43:38 -08005068endif
ctiller8919f602014-12-10 10:19:42 -08005069
ctiller8919f602014-12-10 10:19:42 -08005070
Craig Tiller17ec5f92015-01-18 11:30:41 -08005071TIMEOUT_ENCODING_TEST_SRC = \
5072 test/core/transport/chttp2/timeout_encoding_test.c \
David Klempner7f3ed1e2015-01-16 15:35:56 -08005073
Craig Tiller17ec5f92015-01-18 11:30:41 -08005074TIMEOUT_ENCODING_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMEOUT_ENCODING_TEST_SRC))))
David Klempner7f3ed1e2015-01-16 15:35:56 -08005075
5076ifeq ($(NO_SECURE),true)
5077
5078# You can't build secure targets if you don't have OpenSSL with ALPN.
5079
Craig Tiller17ec5f92015-01-18 11:30:41 -08005080bins/$(CONFIG)/timeout_encoding_test: openssl_dep_error
David Klempner7f3ed1e2015-01-16 15:35:56 -08005081
5082else
5083
Craig Tiller17ec5f92015-01-18 11:30:41 -08005084bins/$(CONFIG)/timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
David Klempner7f3ed1e2015-01-16 15:35:56 -08005085 $(E) "[LD] Linking $@"
5086 $(Q) mkdir -p `dirname $@`
Craig Tiller17ec5f92015-01-18 11:30:41 -08005087 $(Q) $(LD) $(LDFLAGS) $(TIMEOUT_ENCODING_TEST_OBJS) libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o bins/$(CONFIG)/timeout_encoding_test
David Klempner7f3ed1e2015-01-16 15:35:56 -08005088
5089endif
5090
Craig Tiller17ec5f92015-01-18 11:30:41 -08005091objs/$(CONFIG)/test/core/transport/chttp2/timeout_encoding_test.o: libs/$(CONFIG)/libgrpc_test_util.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr_test_util.a libs/$(CONFIG)/libgpr.a
David Klempner7f3ed1e2015-01-16 15:35:56 -08005092
Craig Tiller17ec5f92015-01-18 11:30:41 -08005093deps_timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
David Klempner7f3ed1e2015-01-16 15:35:56 -08005094
5095ifneq ($(NO_SECURE),true)
5096ifneq ($(NO_DEPS),true)
Craig Tiller17ec5f92015-01-18 11:30:41 -08005097-include $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep)
5098endif
5099endif
5100
5101
5102TRANSPORT_METADATA_TEST_SRC = \
5103 test/core/transport/metadata_test.c \
5104
5105TRANSPORT_METADATA_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_METADATA_TEST_SRC))))
5106
5107ifeq ($(NO_SECURE),true)
5108
5109# You can't build secure targets if you don't have OpenSSL with ALPN.
5110
5111bins/$(CONFIG)/transport_metadata_test: openssl_dep_error
5112
5113else
5114
5115bins/$(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
5116 $(E) "[LD] Linking $@"
5117 $(Q) mkdir -p `dirname $@`
5118 $(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
5119
5120endif
5121
5122objs/$(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
5123
5124deps_transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
5125
5126ifneq ($(NO_SECURE),true)
5127ifneq ($(NO_DEPS),true)
5128-include $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep)
David Klempner7f3ed1e2015-01-16 15:35:56 -08005129endif
5130endif
5131
5132
Craig Tiller996d9df2015-01-19 21:06:50 -08005133CHANNEL_ARGUMENTS_TEST_SRC = \
5134 test/cpp/client/channel_arguments_test.cc \
5135
5136CHANNEL_ARGUMENTS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNEL_ARGUMENTS_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)/channel_arguments_test: openssl_dep_error
5143
5144else
5145
5146bins/$(CONFIG)/channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5147 $(E) "[LD] Linking $@"
5148 $(Q) mkdir -p `dirname $@`
5149 $(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
5150
5151endif
5152
5153objs/$(CONFIG)/test/cpp/client/channel_arguments_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5154
5155deps_channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
5156
5157ifneq ($(NO_SECURE),true)
5158ifneq ($(NO_DEPS),true)
5159-include $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep)
5160endif
5161endif
5162
5163
5164CPP_PLUGIN_SRC = \
5165 src/compiler/cpp_generator.cc \
5166 src/compiler/cpp_plugin.cc \
5167
5168CPP_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CPP_PLUGIN_SRC))))
5169
5170bins/$(CONFIG)/cpp_plugin: $(CPP_PLUGIN_OBJS)
5171 $(E) "[HOSTLD] Linking $@"
5172 $(Q) mkdir -p `dirname $@`
5173 $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(CPP_PLUGIN_OBJS) $(HOST_LDLIBSXX) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o bins/$(CONFIG)/cpp_plugin
5174
5175objs/$(CONFIG)/src/compiler/cpp_generator.o:
5176objs/$(CONFIG)/src/compiler/cpp_plugin.o:
5177
5178deps_cpp_plugin: $(CPP_PLUGIN_OBJS:.o=.dep)
5179
5180ifneq ($(NO_DEPS),true)
5181-include $(CPP_PLUGIN_OBJS:.o=.dep)
5182endif
5183
5184
5185CREDENTIALS_TEST_SRC = \
5186 test/cpp/client/credentials_test.cc \
5187
5188CREDENTIALS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CREDENTIALS_TEST_SRC))))
5189
5190ifeq ($(NO_SECURE),true)
5191
5192# You can't build secure targets if you don't have OpenSSL with ALPN.
5193
5194bins/$(CONFIG)/credentials_test: openssl_dep_error
5195
5196else
5197
5198bins/$(CONFIG)/credentials_test: $(CREDENTIALS_TEST_OBJS) libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5199 $(E) "[LD] Linking $@"
5200 $(Q) mkdir -p `dirname $@`
5201 $(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
5202
5203endif
5204
5205objs/$(CONFIG)/test/cpp/client/credentials_test.o: libs/$(CONFIG)/libgrpc++.a libs/$(CONFIG)/libgrpc.a libs/$(CONFIG)/libgpr.a
5206
5207deps_credentials_test: $(CREDENTIALS_TEST_OBJS:.o=.dep)
5208
5209ifneq ($(NO_SECURE),true)
5210ifneq ($(NO_DEPS),true)
5211-include $(CREDENTIALS_TEST_OBJS:.o=.dep)
5212endif
5213endif
5214
5215
5216END2END_TEST_SRC = \
5217 test/cpp/end2end/end2end_test.cc \
5218
5219END2END_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(END2END_TEST_SRC))))
5220
5221ifeq ($(NO_SECURE),true)
5222
5223# You can't build secure targets if you don't have OpenSSL with ALPN.
5224
5225bins/$(CONFIG)/end2end_test: openssl_dep_error
5226
5227else
5228
5229bins/$(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
5230 $(E) "[LD] Linking $@"
5231 $(Q) mkdir -p `dirname $@`
5232 $(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
5233
5234endif
5235
5236objs/$(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
5237
5238deps_end2end_test: $(END2END_TEST_OBJS:.o=.dep)
5239
5240ifneq ($(NO_SECURE),true)
5241ifneq ($(NO_DEPS),true)
5242-include $(END2END_TEST_OBJS:.o=.dep)
5243endif
5244endif
5245
5246
5247INTEROP_CLIENT_SRC = \
5248 gens/test/cpp/interop/empty.pb.cc \
5249 gens/test/cpp/interop/messages.pb.cc \
5250 gens/test/cpp/interop/test.pb.cc \
5251 test/cpp/interop/client.cc \
5252
5253INTEROP_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_CLIENT_SRC))))
5254
5255ifeq ($(NO_SECURE),true)
5256
5257# You can't build secure targets if you don't have OpenSSL with ALPN.
5258
5259bins/$(CONFIG)/interop_client: openssl_dep_error
5260
5261else
5262
5263bins/$(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
5264 $(E) "[LD] Linking $@"
5265 $(Q) mkdir -p `dirname $@`
5266 $(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
5267
5268endif
5269
5270objs/$(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
5271objs/$(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
5272objs/$(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
5273objs/$(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
5274
5275deps_interop_client: $(INTEROP_CLIENT_OBJS:.o=.dep)
5276
5277ifneq ($(NO_SECURE),true)
5278ifneq ($(NO_DEPS),true)
5279-include $(INTEROP_CLIENT_OBJS:.o=.dep)
5280endif
5281endif
5282
5283
5284INTEROP_SERVER_SRC = \
5285 gens/test/cpp/interop/empty.pb.cc \
5286 gens/test/cpp/interop/messages.pb.cc \
5287 gens/test/cpp/interop/test.pb.cc \
5288 test/cpp/interop/server.cc \
5289
5290INTEROP_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_SERVER_SRC))))
5291
5292ifeq ($(NO_SECURE),true)
5293
5294# You can't build secure targets if you don't have OpenSSL with ALPN.
5295
5296bins/$(CONFIG)/interop_server: openssl_dep_error
5297
5298else
5299
5300bins/$(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
5301 $(E) "[LD] Linking $@"
5302 $(Q) mkdir -p `dirname $@`
5303 $(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
5304
5305endif
5306
5307objs/$(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
5308objs/$(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
5309objs/$(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
5310objs/$(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
5311
5312deps_interop_server: $(INTEROP_SERVER_OBJS:.o=.dep)
5313
5314ifneq ($(NO_SECURE),true)
5315ifneq ($(NO_DEPS),true)
5316-include $(INTEROP_SERVER_OBJS:.o=.dep)
5317endif
5318endif
5319
5320
5321QPS_CLIENT_SRC = \
5322 gens/test/cpp/qps/qpstest.pb.cc \
5323 test/cpp/qps/client.cc \
5324
5325QPS_CLIENT_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_CLIENT_SRC))))
5326
5327ifeq ($(NO_SECURE),true)
5328
5329# You can't build secure targets if you don't have OpenSSL with ALPN.
5330
5331bins/$(CONFIG)/qps_client: openssl_dep_error
5332
5333else
5334
5335bins/$(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
5336 $(E) "[LD] Linking $@"
5337 $(Q) mkdir -p `dirname $@`
5338 $(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
5339
5340endif
5341
5342objs/$(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
5343objs/$(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
5344
5345deps_qps_client: $(QPS_CLIENT_OBJS:.o=.dep)
5346
5347ifneq ($(NO_SECURE),true)
5348ifneq ($(NO_DEPS),true)
5349-include $(QPS_CLIENT_OBJS:.o=.dep)
5350endif
5351endif
5352
5353
5354QPS_SERVER_SRC = \
5355 gens/test/cpp/qps/qpstest.pb.cc \
5356 test/cpp/qps/server.cc \
5357
5358QPS_SERVER_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_SERVER_SRC))))
5359
5360ifeq ($(NO_SECURE),true)
5361
5362# You can't build secure targets if you don't have OpenSSL with ALPN.
5363
5364bins/$(CONFIG)/qps_server: openssl_dep_error
5365
5366else
5367
5368bins/$(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
5369 $(E) "[LD] Linking $@"
5370 $(Q) mkdir -p `dirname $@`
5371 $(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
5372
5373endif
5374
5375objs/$(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
5376objs/$(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
5377
5378deps_qps_server: $(QPS_SERVER_OBJS:.o=.dep)
5379
5380ifneq ($(NO_SECURE),true)
5381ifneq ($(NO_DEPS),true)
5382-include $(QPS_SERVER_OBJS:.o=.dep)
5383endif
5384endif
5385
5386
5387RUBY_PLUGIN_SRC = \
5388 src/compiler/ruby_generator.cc \
5389 src/compiler/ruby_plugin.cc \
5390
5391RUBY_PLUGIN_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(RUBY_PLUGIN_SRC))))
5392
5393bins/$(CONFIG)/ruby_plugin: $(RUBY_PLUGIN_OBJS)
5394 $(E) "[HOSTLD] Linking $@"
5395 $(Q) mkdir -p `dirname $@`
5396 $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(RUBY_PLUGIN_OBJS) $(HOST_LDLIBSXX) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o bins/$(CONFIG)/ruby_plugin
5397
5398objs/$(CONFIG)/src/compiler/ruby_generator.o:
5399objs/$(CONFIG)/src/compiler/ruby_plugin.o:
5400
5401deps_ruby_plugin: $(RUBY_PLUGIN_OBJS:.o=.dep)
5402
5403ifneq ($(NO_DEPS),true)
5404-include $(RUBY_PLUGIN_OBJS:.o=.dep)
5405endif
5406
5407
5408STATUS_TEST_SRC = \
5409 test/cpp/util/status_test.cc \
5410
5411STATUS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(STATUS_TEST_SRC))))
5412
5413ifeq ($(NO_SECURE),true)
5414
5415# You can't build secure targets if you don't have OpenSSL with ALPN.
5416
5417bins/$(CONFIG)/status_test: openssl_dep_error
5418
5419else
5420
5421bins/$(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
5422 $(E) "[LD] Linking $@"
5423 $(Q) mkdir -p `dirname $@`
5424 $(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
5425
5426endif
5427
5428objs/$(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
5429
5430deps_status_test: $(STATUS_TEST_OBJS:.o=.dep)
5431
5432ifneq ($(NO_SECURE),true)
5433ifneq ($(NO_DEPS),true)
5434-include $(STATUS_TEST_OBJS:.o=.dep)
5435endif
5436endif
5437
5438
5439SYNC_CLIENT_ASYNC_SERVER_TEST_SRC = \
5440 test/cpp/end2end/sync_client_async_server_test.cc \
5441
5442SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(SYNC_CLIENT_ASYNC_SERVER_TEST_SRC))))
5443
5444ifeq ($(NO_SECURE),true)
5445
5446# You can't build secure targets if you don't have OpenSSL with ALPN.
5447
5448bins/$(CONFIG)/sync_client_async_server_test: openssl_dep_error
5449
5450else
5451
5452bins/$(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
5453 $(E) "[LD] Linking $@"
5454 $(Q) mkdir -p `dirname $@`
5455 $(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
5456
5457endif
5458
5459objs/$(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
5460
5461deps_sync_client_async_server_test: $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
5462
5463ifneq ($(NO_SECURE),true)
5464ifneq ($(NO_DEPS),true)
5465-include $(SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS:.o=.dep)
5466endif
5467endif
5468
5469
5470THREAD_POOL_TEST_SRC = \
5471 test/cpp/server/thread_pool_test.cc \
5472
5473THREAD_POOL_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(THREAD_POOL_TEST_SRC))))
5474
5475ifeq ($(NO_SECURE),true)
5476
5477# You can't build secure targets if you don't have OpenSSL with ALPN.
5478
5479bins/$(CONFIG)/thread_pool_test: openssl_dep_error
5480
5481else
5482
5483bins/$(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
5484 $(E) "[LD] Linking $@"
5485 $(Q) mkdir -p `dirname $@`
5486 $(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
5487
5488endif
5489
5490objs/$(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
5491
5492deps_thread_pool_test: $(THREAD_POOL_TEST_OBJS:.o=.dep)
5493
5494ifneq ($(NO_SECURE),true)
5495ifneq ($(NO_DEPS),true)
5496-include $(THREAD_POOL_TEST_OBJS:.o=.dep)
5497endif
5498endif
5499
5500
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005501CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_SRC = \
5502
ctillercab52e72015-01-06 13:10:23 -08005503CHTTP2_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 -08005504
nnoble69ac39f2014-12-12 15:43:38 -08005505ifeq ($(NO_SECURE),true)
5506
Nicolas Noble047b7272015-01-16 13:55:05 -08005507# You can't build secure targets if you don't have OpenSSL with ALPN.
5508
ctillercab52e72015-01-06 13:10:23 -08005509bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005510
5511else
5512
nnoble5f2ecb32015-01-12 16:40:18 -08005513bins/$(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 -08005514 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005515 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005516 $(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 -08005517
nnoble69ac39f2014-12-12 15:43:38 -08005518endif
5519
Craig Tillerd4773f52015-01-12 16:38:47 -08005520
Craig Tiller8f126a62015-01-15 08:50:19 -08005521deps_chttp2_fake_security_cancel_after_accept_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005522
nnoble69ac39f2014-12-12 15:43:38 -08005523ifneq ($(NO_SECURE),true)
5524ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005525-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005526endif
nnoble69ac39f2014-12-12 15:43:38 -08005527endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005528
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005529
5530CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
5531
ctillercab52e72015-01-06 13:10:23 -08005532CHTTP2_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 -08005533
nnoble69ac39f2014-12-12 15:43:38 -08005534ifeq ($(NO_SECURE),true)
5535
Nicolas Noble047b7272015-01-16 13:55:05 -08005536# You can't build secure targets if you don't have OpenSSL with ALPN.
5537
ctillercab52e72015-01-06 13:10:23 -08005538bins/$(CONFIG)/chttp2_fake_security_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005539
5540else
5541
nnoble5f2ecb32015-01-12 16:40:18 -08005542bins/$(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 -08005543 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005544 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005545 $(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 -08005546
nnoble69ac39f2014-12-12 15:43:38 -08005547endif
5548
Craig Tillerd4773f52015-01-12 16:38:47 -08005549
Craig Tiller8f126a62015-01-15 08:50:19 -08005550deps_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 -08005551
nnoble69ac39f2014-12-12 15:43:38 -08005552ifneq ($(NO_SECURE),true)
5553ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005554-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005555endif
nnoble69ac39f2014-12-12 15:43:38 -08005556endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005557
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005558
5559CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_SRC = \
5560
ctillercab52e72015-01-06 13:10:23 -08005561CHTTP2_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 -08005562
nnoble69ac39f2014-12-12 15:43:38 -08005563ifeq ($(NO_SECURE),true)
5564
Nicolas Noble047b7272015-01-16 13:55:05 -08005565# You can't build secure targets if you don't have OpenSSL with ALPN.
5566
ctillercab52e72015-01-06 13:10:23 -08005567bins/$(CONFIG)/chttp2_fake_security_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005568
5569else
5570
nnoble5f2ecb32015-01-12 16:40:18 -08005571bins/$(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 -08005572 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005573 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005574 $(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 -08005575
nnoble69ac39f2014-12-12 15:43:38 -08005576endif
5577
Craig Tillerd4773f52015-01-12 16:38:47 -08005578
Craig Tiller8f126a62015-01-15 08:50:19 -08005579deps_chttp2_fake_security_cancel_after_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005580
nnoble69ac39f2014-12-12 15:43:38 -08005581ifneq ($(NO_SECURE),true)
5582ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005583-include $(CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005584endif
nnoble69ac39f2014-12-12 15:43:38 -08005585endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005586
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005587
5588CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_SRC = \
5589
ctillercab52e72015-01-06 13:10:23 -08005590CHTTP2_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 -08005591
nnoble69ac39f2014-12-12 15:43:38 -08005592ifeq ($(NO_SECURE),true)
5593
Nicolas Noble047b7272015-01-16 13:55:05 -08005594# You can't build secure targets if you don't have OpenSSL with ALPN.
5595
ctillercab52e72015-01-06 13:10:23 -08005596bins/$(CONFIG)/chttp2_fake_security_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005597
5598else
5599
nnoble5f2ecb32015-01-12 16:40:18 -08005600bins/$(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 -08005601 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005602 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005603 $(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 -08005604
nnoble69ac39f2014-12-12 15:43:38 -08005605endif
5606
Craig Tillerd4773f52015-01-12 16:38:47 -08005607
Craig Tiller8f126a62015-01-15 08:50:19 -08005608deps_chttp2_fake_security_cancel_before_invoke_test: $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005609
nnoble69ac39f2014-12-12 15:43:38 -08005610ifneq ($(NO_SECURE),true)
5611ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005612-include $(CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005613endif
nnoble69ac39f2014-12-12 15:43:38 -08005614endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005615
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005616
5617CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_SRC = \
5618
ctillercab52e72015-01-06 13:10:23 -08005619CHTTP2_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 -08005620
nnoble69ac39f2014-12-12 15:43:38 -08005621ifeq ($(NO_SECURE),true)
5622
Nicolas Noble047b7272015-01-16 13:55:05 -08005623# You can't build secure targets if you don't have OpenSSL with ALPN.
5624
ctillercab52e72015-01-06 13:10:23 -08005625bins/$(CONFIG)/chttp2_fake_security_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005626
5627else
5628
nnoble5f2ecb32015-01-12 16:40:18 -08005629bins/$(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 -08005630 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005631 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005632 $(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 -08005633
nnoble69ac39f2014-12-12 15:43:38 -08005634endif
5635
Craig Tillerd4773f52015-01-12 16:38:47 -08005636
Craig Tiller8f126a62015-01-15 08:50:19 -08005637deps_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 -08005638
nnoble69ac39f2014-12-12 15:43:38 -08005639ifneq ($(NO_SECURE),true)
5640ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005641-include $(CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005642endif
nnoble69ac39f2014-12-12 15:43:38 -08005643endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005644
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005645
hongyu24200d32015-01-08 15:13:49 -08005646CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
5647
5648CHTTP2_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 -08005649
5650ifeq ($(NO_SECURE),true)
5651
Nicolas Noble047b7272015-01-16 13:55:05 -08005652# You can't build secure targets if you don't have OpenSSL with ALPN.
5653
hongyu24200d32015-01-08 15:13:49 -08005654bins/$(CONFIG)/chttp2_fake_security_census_simple_request_test: openssl_dep_error
5655
5656else
5657
nnoble5f2ecb32015-01-12 16:40:18 -08005658bins/$(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 -08005659 $(E) "[LD] Linking $@"
5660 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005661 $(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 -08005662
5663endif
5664
Craig Tillerd4773f52015-01-12 16:38:47 -08005665
Craig Tiller8f126a62015-01-15 08:50:19 -08005666deps_chttp2_fake_security_census_simple_request_test: $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005667
5668ifneq ($(NO_SECURE),true)
5669ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005670-include $(CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08005671endif
5672endif
5673
hongyu24200d32015-01-08 15:13:49 -08005674
ctillerc6d61c42014-12-15 14:52:08 -08005675CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_SRC = \
5676
ctillercab52e72015-01-06 13:10:23 -08005677CHTTP2_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 -08005678
5679ifeq ($(NO_SECURE),true)
5680
Nicolas Noble047b7272015-01-16 13:55:05 -08005681# You can't build secure targets if you don't have OpenSSL with ALPN.
5682
ctillercab52e72015-01-06 13:10:23 -08005683bins/$(CONFIG)/chttp2_fake_security_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08005684
5685else
5686
nnoble5f2ecb32015-01-12 16:40:18 -08005687bins/$(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 -08005688 $(E) "[LD] Linking $@"
5689 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005690 $(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 -08005691
5692endif
5693
Craig Tillerd4773f52015-01-12 16:38:47 -08005694
Craig Tiller8f126a62015-01-15 08:50:19 -08005695deps_chttp2_fake_security_disappearing_server_test: $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005696
5697ifneq ($(NO_SECURE),true)
5698ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005699-include $(CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08005700endif
5701endif
5702
ctillerc6d61c42014-12-15 14:52:08 -08005703
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005704CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
5705
ctillercab52e72015-01-06 13:10:23 -08005706CHTTP2_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 -08005707
nnoble69ac39f2014-12-12 15:43:38 -08005708ifeq ($(NO_SECURE),true)
5709
Nicolas Noble047b7272015-01-16 13:55:05 -08005710# You can't build secure targets if you don't have OpenSSL with ALPN.
5711
ctillercab52e72015-01-06 13:10:23 -08005712bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005713
5714else
5715
nnoble5f2ecb32015-01-12 16:40:18 -08005716bins/$(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 -08005717 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005718 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005719 $(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 -08005720
nnoble69ac39f2014-12-12 15:43:38 -08005721endif
5722
Craig Tillerd4773f52015-01-12 16:38:47 -08005723
Craig Tiller8f126a62015-01-15 08:50:19 -08005724deps_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 -08005725
nnoble69ac39f2014-12-12 15:43:38 -08005726ifneq ($(NO_SECURE),true)
5727ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005728-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005729endif
nnoble69ac39f2014-12-12 15:43:38 -08005730endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005731
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005732
5733CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
5734
ctillercab52e72015-01-06 13:10:23 -08005735CHTTP2_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 -08005736
nnoble69ac39f2014-12-12 15:43:38 -08005737ifeq ($(NO_SECURE),true)
5738
Nicolas Noble047b7272015-01-16 13:55:05 -08005739# You can't build secure targets if you don't have OpenSSL with ALPN.
5740
ctillercab52e72015-01-06 13:10:23 -08005741bins/$(CONFIG)/chttp2_fake_security_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005742
5743else
5744
nnoble5f2ecb32015-01-12 16:40:18 -08005745bins/$(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 -08005746 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005747 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005748 $(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 -08005749
nnoble69ac39f2014-12-12 15:43:38 -08005750endif
5751
Craig Tillerd4773f52015-01-12 16:38:47 -08005752
Craig Tiller8f126a62015-01-15 08:50:19 -08005753deps_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 -08005754
nnoble69ac39f2014-12-12 15:43:38 -08005755ifneq ($(NO_SECURE),true)
5756ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005757-include $(CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005758endif
nnoble69ac39f2014-12-12 15:43:38 -08005759endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005760
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005761
Craig Tiller4ffdcd52015-01-16 11:34:55 -08005762CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
5763
5764CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
5765
5766ifeq ($(NO_SECURE),true)
5767
David Klempner7f3ed1e2015-01-16 15:35:56 -08005768# You can't build secure targets if you don't have OpenSSL with ALPN.
5769
Craig Tiller4ffdcd52015-01-16 11:34:55 -08005770bins/$(CONFIG)/chttp2_fake_security_graceful_server_shutdown_test: openssl_dep_error
5771
5772else
5773
5774bins/$(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
5775 $(E) "[LD] Linking $@"
5776 $(Q) mkdir -p `dirname $@`
5777 $(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
5778
5779endif
5780
5781
5782deps_chttp2_fake_security_graceful_server_shutdown_test: $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
5783
5784ifneq ($(NO_SECURE),true)
5785ifneq ($(NO_DEPS),true)
5786-include $(CHTTP2_FAKE_SECURITY_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
5787endif
5788endif
5789
5790
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005791CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_SRC = \
5792
ctillercab52e72015-01-06 13:10:23 -08005793CHTTP2_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 -08005794
nnoble69ac39f2014-12-12 15:43:38 -08005795ifeq ($(NO_SECURE),true)
5796
Nicolas Noble047b7272015-01-16 13:55:05 -08005797# You can't build secure targets if you don't have OpenSSL with ALPN.
5798
ctillercab52e72015-01-06 13:10:23 -08005799bins/$(CONFIG)/chttp2_fake_security_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005800
5801else
5802
nnoble5f2ecb32015-01-12 16:40:18 -08005803bins/$(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 -08005804 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005805 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005806 $(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 -08005807
nnoble69ac39f2014-12-12 15:43:38 -08005808endif
5809
Craig Tillerd4773f52015-01-12 16:38:47 -08005810
Craig Tiller8f126a62015-01-15 08:50:19 -08005811deps_chttp2_fake_security_invoke_large_request_test: $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005812
nnoble69ac39f2014-12-12 15:43:38 -08005813ifneq ($(NO_SECURE),true)
5814ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005815-include $(CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005816endif
nnoble69ac39f2014-12-12 15:43:38 -08005817endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005818
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005819
5820CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_SRC = \
5821
ctillercab52e72015-01-06 13:10:23 -08005822CHTTP2_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 -08005823
nnoble69ac39f2014-12-12 15:43:38 -08005824ifeq ($(NO_SECURE),true)
5825
Nicolas Noble047b7272015-01-16 13:55:05 -08005826# You can't build secure targets if you don't have OpenSSL with ALPN.
5827
ctillercab52e72015-01-06 13:10:23 -08005828bins/$(CONFIG)/chttp2_fake_security_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005829
5830else
5831
nnoble5f2ecb32015-01-12 16:40:18 -08005832bins/$(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 -08005833 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005834 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005835 $(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 -08005836
nnoble69ac39f2014-12-12 15:43:38 -08005837endif
5838
Craig Tillerd4773f52015-01-12 16:38:47 -08005839
Craig Tiller8f126a62015-01-15 08:50:19 -08005840deps_chttp2_fake_security_max_concurrent_streams_test: $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005841
nnoble69ac39f2014-12-12 15:43:38 -08005842ifneq ($(NO_SECURE),true)
5843ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005844-include $(CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005845endif
nnoble69ac39f2014-12-12 15:43:38 -08005846endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005847
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005848
5849CHTTP2_FAKE_SECURITY_NO_OP_TEST_SRC = \
5850
ctillercab52e72015-01-06 13:10:23 -08005851CHTTP2_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 -08005852
nnoble69ac39f2014-12-12 15:43:38 -08005853ifeq ($(NO_SECURE),true)
5854
Nicolas Noble047b7272015-01-16 13:55:05 -08005855# You can't build secure targets if you don't have OpenSSL with ALPN.
5856
ctillercab52e72015-01-06 13:10:23 -08005857bins/$(CONFIG)/chttp2_fake_security_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005858
5859else
5860
nnoble5f2ecb32015-01-12 16:40:18 -08005861bins/$(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 -08005862 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005863 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005864 $(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 -08005865
nnoble69ac39f2014-12-12 15:43:38 -08005866endif
5867
Craig Tillerd4773f52015-01-12 16:38:47 -08005868
Craig Tiller8f126a62015-01-15 08:50:19 -08005869deps_chttp2_fake_security_no_op_test: $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005870
nnoble69ac39f2014-12-12 15:43:38 -08005871ifneq ($(NO_SECURE),true)
5872ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005873-include $(CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005874endif
nnoble69ac39f2014-12-12 15:43:38 -08005875endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005876
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005877
5878CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_SRC = \
5879
ctillercab52e72015-01-06 13:10:23 -08005880CHTTP2_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 -08005881
nnoble69ac39f2014-12-12 15:43:38 -08005882ifeq ($(NO_SECURE),true)
5883
Nicolas Noble047b7272015-01-16 13:55:05 -08005884# You can't build secure targets if you don't have OpenSSL with ALPN.
5885
ctillercab52e72015-01-06 13:10:23 -08005886bins/$(CONFIG)/chttp2_fake_security_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005887
5888else
5889
nnoble5f2ecb32015-01-12 16:40:18 -08005890bins/$(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 -08005891 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005892 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005893 $(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 -08005894
nnoble69ac39f2014-12-12 15:43:38 -08005895endif
5896
Craig Tillerd4773f52015-01-12 16:38:47 -08005897
Craig Tiller8f126a62015-01-15 08:50:19 -08005898deps_chttp2_fake_security_ping_pong_streaming_test: $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005899
nnoble69ac39f2014-12-12 15:43:38 -08005900ifneq ($(NO_SECURE),true)
5901ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005902-include $(CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005903endif
nnoble69ac39f2014-12-12 15:43:38 -08005904endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005905
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005906
ctiller33023c42014-12-12 16:28:33 -08005907CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
5908
ctillercab52e72015-01-06 13:10:23 -08005909CHTTP2_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 -08005910
5911ifeq ($(NO_SECURE),true)
5912
Nicolas Noble047b7272015-01-16 13:55:05 -08005913# You can't build secure targets if you don't have OpenSSL with ALPN.
5914
ctillercab52e72015-01-06 13:10:23 -08005915bins/$(CONFIG)/chttp2_fake_security_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08005916
5917else
5918
nnoble5f2ecb32015-01-12 16:40:18 -08005919bins/$(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 -08005920 $(E) "[LD] Linking $@"
5921 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005922 $(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 -08005923
5924endif
5925
Craig Tillerd4773f52015-01-12 16:38:47 -08005926
Craig Tiller8f126a62015-01-15 08:50:19 -08005927deps_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 -08005928
5929ifneq ($(NO_SECURE),true)
5930ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005931-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08005932endif
5933endif
5934
ctiller33023c42014-12-12 16:28:33 -08005935
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005936CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
5937
ctillercab52e72015-01-06 13:10:23 -08005938CHTTP2_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 -08005939
nnoble69ac39f2014-12-12 15:43:38 -08005940ifeq ($(NO_SECURE),true)
5941
Nicolas Noble047b7272015-01-16 13:55:05 -08005942# You can't build secure targets if you don't have OpenSSL with ALPN.
5943
ctillercab52e72015-01-06 13:10:23 -08005944bins/$(CONFIG)/chttp2_fake_security_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005945
5946else
5947
nnoble5f2ecb32015-01-12 16:40:18 -08005948bins/$(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 -08005949 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005950 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005951 $(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 -08005952
nnoble69ac39f2014-12-12 15:43:38 -08005953endif
5954
Craig Tillerd4773f52015-01-12 16:38:47 -08005955
Craig Tiller8f126a62015-01-15 08:50:19 -08005956deps_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 -08005957
nnoble69ac39f2014-12-12 15:43:38 -08005958ifneq ($(NO_SECURE),true)
5959ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005960-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005961endif
nnoble69ac39f2014-12-12 15:43:38 -08005962endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005963
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005964
5965CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
5966
ctillercab52e72015-01-06 13:10:23 -08005967CHTTP2_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 -08005968
nnoble69ac39f2014-12-12 15:43:38 -08005969ifeq ($(NO_SECURE),true)
5970
Nicolas Noble047b7272015-01-16 13:55:05 -08005971# You can't build secure targets if you don't have OpenSSL with ALPN.
5972
ctillercab52e72015-01-06 13:10:23 -08005973bins/$(CONFIG)/chttp2_fake_security_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08005974
5975else
5976
nnoble5f2ecb32015-01-12 16:40:18 -08005977bins/$(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 -08005978 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08005979 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08005980 $(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 -08005981
nnoble69ac39f2014-12-12 15:43:38 -08005982endif
5983
Craig Tillerd4773f52015-01-12 16:38:47 -08005984
Craig Tiller8f126a62015-01-15 08:50:19 -08005985deps_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 -08005986
nnoble69ac39f2014-12-12 15:43:38 -08005987ifneq ($(NO_SECURE),true)
5988ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08005989-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005990endif
nnoble69ac39f2014-12-12 15:43:38 -08005991endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005992
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08005993
ctiller2845cad2014-12-15 15:14:12 -08005994CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
5995
ctillercab52e72015-01-06 13:10:23 -08005996CHTTP2_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 -08005997
5998ifeq ($(NO_SECURE),true)
5999
Nicolas Noble047b7272015-01-16 13:55:05 -08006000# You can't build secure targets if you don't have OpenSSL with ALPN.
6001
ctillercab52e72015-01-06 13:10:23 -08006002bins/$(CONFIG)/chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08006003
6004else
6005
nnoble5f2ecb32015-01-12 16:40:18 -08006006bins/$(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 -08006007 $(E) "[LD] Linking $@"
6008 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006009 $(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 -08006010
6011endif
6012
Craig Tillerd4773f52015-01-12 16:38:47 -08006013
Craig Tiller8f126a62015-01-15 08:50:19 -08006014deps_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 -08006015
6016ifneq ($(NO_SECURE),true)
6017ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006018-include $(CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006019endif
6020endif
6021
ctiller2845cad2014-12-15 15:14:12 -08006022
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006023CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6024
ctillercab52e72015-01-06 13:10:23 -08006025CHTTP2_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 -08006026
nnoble69ac39f2014-12-12 15:43:38 -08006027ifeq ($(NO_SECURE),true)
6028
Nicolas Noble047b7272015-01-16 13:55:05 -08006029# You can't build secure targets if you don't have OpenSSL with ALPN.
6030
ctillercab52e72015-01-06 13:10:23 -08006031bins/$(CONFIG)/chttp2_fake_security_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006032
6033else
6034
nnoble5f2ecb32015-01-12 16:40:18 -08006035bins/$(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 -08006036 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006037 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006038 $(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 -08006039
nnoble69ac39f2014-12-12 15:43:38 -08006040endif
6041
Craig Tillerd4773f52015-01-12 16:38:47 -08006042
Craig Tiller8f126a62015-01-15 08:50:19 -08006043deps_chttp2_fake_security_simple_delayed_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006044
nnoble69ac39f2014-12-12 15:43:38 -08006045ifneq ($(NO_SECURE),true)
6046ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006047-include $(CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006048endif
nnoble69ac39f2014-12-12 15:43:38 -08006049endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006050
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006051
6052CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_SRC = \
6053
ctillercab52e72015-01-06 13:10:23 -08006054CHTTP2_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 -08006055
nnoble69ac39f2014-12-12 15:43:38 -08006056ifeq ($(NO_SECURE),true)
6057
Nicolas Noble047b7272015-01-16 13:55:05 -08006058# You can't build secure targets if you don't have OpenSSL with ALPN.
6059
ctillercab52e72015-01-06 13:10:23 -08006060bins/$(CONFIG)/chttp2_fake_security_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006061
6062else
6063
nnoble5f2ecb32015-01-12 16:40:18 -08006064bins/$(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 -08006065 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006066 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006067 $(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 -08006068
nnoble69ac39f2014-12-12 15:43:38 -08006069endif
6070
Craig Tillerd4773f52015-01-12 16:38:47 -08006071
Craig Tiller8f126a62015-01-15 08:50:19 -08006072deps_chttp2_fake_security_simple_request_test: $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006073
nnoble69ac39f2014-12-12 15:43:38 -08006074ifneq ($(NO_SECURE),true)
6075ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006076-include $(CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006077endif
nnoble69ac39f2014-12-12 15:43:38 -08006078endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006079
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006080
nathaniel52878172014-12-09 10:17:19 -08006081CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006082
ctillercab52e72015-01-06 13:10:23 -08006083CHTTP2_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 -08006084
nnoble69ac39f2014-12-12 15:43:38 -08006085ifeq ($(NO_SECURE),true)
6086
Nicolas Noble047b7272015-01-16 13:55:05 -08006087# You can't build secure targets if you don't have OpenSSL with ALPN.
6088
ctillercab52e72015-01-06 13:10:23 -08006089bins/$(CONFIG)/chttp2_fake_security_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006090
6091else
6092
nnoble5f2ecb32015-01-12 16:40:18 -08006093bins/$(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 -08006094 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006095 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006096 $(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 -08006097
nnoble69ac39f2014-12-12 15:43:38 -08006098endif
6099
Craig Tillerd4773f52015-01-12 16:38:47 -08006100
Craig Tiller8f126a62015-01-15 08:50:19 -08006101deps_chttp2_fake_security_thread_stress_test: $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006102
nnoble69ac39f2014-12-12 15:43:38 -08006103ifneq ($(NO_SECURE),true)
6104ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006105-include $(CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006106endif
nnoble69ac39f2014-12-12 15:43:38 -08006107endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006108
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006109
6110CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6111
ctillercab52e72015-01-06 13:10:23 -08006112CHTTP2_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 -08006113
nnoble69ac39f2014-12-12 15:43:38 -08006114ifeq ($(NO_SECURE),true)
6115
Nicolas Noble047b7272015-01-16 13:55:05 -08006116# You can't build secure targets if you don't have OpenSSL with ALPN.
6117
ctillercab52e72015-01-06 13:10:23 -08006118bins/$(CONFIG)/chttp2_fake_security_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006119
6120else
6121
nnoble5f2ecb32015-01-12 16:40:18 -08006122bins/$(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 -08006123 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006124 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006125 $(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 -08006126
nnoble69ac39f2014-12-12 15:43:38 -08006127endif
6128
Craig Tillerd4773f52015-01-12 16:38:47 -08006129
Craig Tiller8f126a62015-01-15 08:50:19 -08006130deps_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 -08006131
nnoble69ac39f2014-12-12 15:43:38 -08006132ifneq ($(NO_SECURE),true)
6133ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006134-include $(CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006135endif
nnoble69ac39f2014-12-12 15:43:38 -08006136endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006137
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006138
6139CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6140
ctillercab52e72015-01-06 13:10:23 -08006141CHTTP2_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 -08006142
nnoble69ac39f2014-12-12 15:43:38 -08006143ifeq ($(NO_SECURE),true)
6144
Nicolas Noble047b7272015-01-16 13:55:05 -08006145# You can't build secure targets if you don't have OpenSSL with ALPN.
6146
ctillercab52e72015-01-06 13:10:23 -08006147bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006148
6149else
6150
nnoble5f2ecb32015-01-12 16:40:18 -08006151bins/$(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 -08006152 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006153 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006154 $(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 -08006155
nnoble69ac39f2014-12-12 15:43:38 -08006156endif
6157
Craig Tillerd4773f52015-01-12 16:38:47 -08006158
Craig Tiller8f126a62015-01-15 08:50:19 -08006159deps_chttp2_fullstack_cancel_after_accept_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006160
nnoble69ac39f2014-12-12 15:43:38 -08006161ifneq ($(NO_SECURE),true)
6162ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006163-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006164endif
nnoble69ac39f2014-12-12 15:43:38 -08006165endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006166
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006167
6168CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6169
ctillercab52e72015-01-06 13:10:23 -08006170CHTTP2_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 -08006171
nnoble69ac39f2014-12-12 15:43:38 -08006172ifeq ($(NO_SECURE),true)
6173
Nicolas Noble047b7272015-01-16 13:55:05 -08006174# You can't build secure targets if you don't have OpenSSL with ALPN.
6175
ctillercab52e72015-01-06 13:10:23 -08006176bins/$(CONFIG)/chttp2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006177
6178else
6179
nnoble5f2ecb32015-01-12 16:40:18 -08006180bins/$(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 -08006181 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006182 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006183 $(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 -08006184
nnoble69ac39f2014-12-12 15:43:38 -08006185endif
6186
Craig Tillerd4773f52015-01-12 16:38:47 -08006187
Craig Tiller8f126a62015-01-15 08:50:19 -08006188deps_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 -08006189
nnoble69ac39f2014-12-12 15:43:38 -08006190ifneq ($(NO_SECURE),true)
6191ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006192-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006193endif
nnoble69ac39f2014-12-12 15:43:38 -08006194endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006195
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006196
6197CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6198
ctillercab52e72015-01-06 13:10:23 -08006199CHTTP2_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 -08006200
nnoble69ac39f2014-12-12 15:43:38 -08006201ifeq ($(NO_SECURE),true)
6202
Nicolas Noble047b7272015-01-16 13:55:05 -08006203# You can't build secure targets if you don't have OpenSSL with ALPN.
6204
ctillercab52e72015-01-06 13:10:23 -08006205bins/$(CONFIG)/chttp2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006206
6207else
6208
nnoble5f2ecb32015-01-12 16:40:18 -08006209bins/$(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 -08006210 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006211 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006212 $(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 -08006213
nnoble69ac39f2014-12-12 15:43:38 -08006214endif
6215
Craig Tillerd4773f52015-01-12 16:38:47 -08006216
Craig Tiller8f126a62015-01-15 08:50:19 -08006217deps_chttp2_fullstack_cancel_after_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006218
nnoble69ac39f2014-12-12 15:43:38 -08006219ifneq ($(NO_SECURE),true)
6220ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006221-include $(CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006222endif
nnoble69ac39f2014-12-12 15:43:38 -08006223endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006224
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006225
6226CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
6227
ctillercab52e72015-01-06 13:10:23 -08006228CHTTP2_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 -08006229
nnoble69ac39f2014-12-12 15:43:38 -08006230ifeq ($(NO_SECURE),true)
6231
Nicolas Noble047b7272015-01-16 13:55:05 -08006232# You can't build secure targets if you don't have OpenSSL with ALPN.
6233
ctillercab52e72015-01-06 13:10:23 -08006234bins/$(CONFIG)/chttp2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006235
6236else
6237
nnoble5f2ecb32015-01-12 16:40:18 -08006238bins/$(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 -08006239 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006240 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006241 $(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 -08006242
nnoble69ac39f2014-12-12 15:43:38 -08006243endif
6244
Craig Tillerd4773f52015-01-12 16:38:47 -08006245
Craig Tiller8f126a62015-01-15 08:50:19 -08006246deps_chttp2_fullstack_cancel_before_invoke_test: $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006247
nnoble69ac39f2014-12-12 15:43:38 -08006248ifneq ($(NO_SECURE),true)
6249ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006250-include $(CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006251endif
nnoble69ac39f2014-12-12 15:43:38 -08006252endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006253
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006254
6255CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
6256
ctillercab52e72015-01-06 13:10:23 -08006257CHTTP2_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 -08006258
nnoble69ac39f2014-12-12 15:43:38 -08006259ifeq ($(NO_SECURE),true)
6260
Nicolas Noble047b7272015-01-16 13:55:05 -08006261# You can't build secure targets if you don't have OpenSSL with ALPN.
6262
ctillercab52e72015-01-06 13:10:23 -08006263bins/$(CONFIG)/chttp2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006264
6265else
6266
nnoble5f2ecb32015-01-12 16:40:18 -08006267bins/$(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 -08006268 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006269 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006270 $(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 -08006271
nnoble69ac39f2014-12-12 15:43:38 -08006272endif
6273
Craig Tillerd4773f52015-01-12 16:38:47 -08006274
Craig Tiller8f126a62015-01-15 08:50:19 -08006275deps_chttp2_fullstack_cancel_in_a_vacuum_test: $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006276
nnoble69ac39f2014-12-12 15:43:38 -08006277ifneq ($(NO_SECURE),true)
6278ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006279-include $(CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006280endif
nnoble69ac39f2014-12-12 15:43:38 -08006281endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006282
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006283
hongyu24200d32015-01-08 15:13:49 -08006284CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
6285
6286CHTTP2_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 -08006287
6288ifeq ($(NO_SECURE),true)
6289
Nicolas Noble047b7272015-01-16 13:55:05 -08006290# You can't build secure targets if you don't have OpenSSL with ALPN.
6291
hongyu24200d32015-01-08 15:13:49 -08006292bins/$(CONFIG)/chttp2_fullstack_census_simple_request_test: openssl_dep_error
6293
6294else
6295
nnoble5f2ecb32015-01-12 16:40:18 -08006296bins/$(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 -08006297 $(E) "[LD] Linking $@"
6298 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006299 $(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 -08006300
6301endif
6302
Craig Tillerd4773f52015-01-12 16:38:47 -08006303
Craig Tiller8f126a62015-01-15 08:50:19 -08006304deps_chttp2_fullstack_census_simple_request_test: $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006305
6306ifneq ($(NO_SECURE),true)
6307ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006308-include $(CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006309endif
6310endif
6311
hongyu24200d32015-01-08 15:13:49 -08006312
ctillerc6d61c42014-12-15 14:52:08 -08006313CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
6314
ctillercab52e72015-01-06 13:10:23 -08006315CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC))))
ctillerc6d61c42014-12-15 14:52:08 -08006316
6317ifeq ($(NO_SECURE),true)
6318
Nicolas Noble047b7272015-01-16 13:55:05 -08006319# You can't build secure targets if you don't have OpenSSL with ALPN.
6320
ctillercab52e72015-01-06 13:10:23 -08006321bins/$(CONFIG)/chttp2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08006322
6323else
6324
nnoble5f2ecb32015-01-12 16:40:18 -08006325bins/$(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 -08006326 $(E) "[LD] Linking $@"
6327 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006328 $(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 -08006329
6330endif
6331
Craig Tillerd4773f52015-01-12 16:38:47 -08006332
Craig Tiller8f126a62015-01-15 08:50:19 -08006333deps_chttp2_fullstack_disappearing_server_test: $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006334
6335ifneq ($(NO_SECURE),true)
6336ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006337-include $(CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006338endif
6339endif
6340
ctillerc6d61c42014-12-15 14:52:08 -08006341
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006342CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
6343
ctillercab52e72015-01-06 13:10:23 -08006344CHTTP2_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 -08006345
nnoble69ac39f2014-12-12 15:43:38 -08006346ifeq ($(NO_SECURE),true)
6347
Nicolas Noble047b7272015-01-16 13:55:05 -08006348# You can't build secure targets if you don't have OpenSSL with ALPN.
6349
ctillercab52e72015-01-06 13:10:23 -08006350bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006351
6352else
6353
nnoble5f2ecb32015-01-12 16:40:18 -08006354bins/$(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 -08006355 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006356 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006357 $(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 -08006358
nnoble69ac39f2014-12-12 15:43:38 -08006359endif
6360
Craig Tillerd4773f52015-01-12 16:38:47 -08006361
Craig Tiller8f126a62015-01-15 08:50:19 -08006362deps_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 -08006363
nnoble69ac39f2014-12-12 15:43:38 -08006364ifneq ($(NO_SECURE),true)
6365ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006366-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006367endif
nnoble69ac39f2014-12-12 15:43:38 -08006368endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006369
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006370
6371CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
6372
ctillercab52e72015-01-06 13:10:23 -08006373CHTTP2_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 -08006374
nnoble69ac39f2014-12-12 15:43:38 -08006375ifeq ($(NO_SECURE),true)
6376
Nicolas Noble047b7272015-01-16 13:55:05 -08006377# You can't build secure targets if you don't have OpenSSL with ALPN.
6378
ctillercab52e72015-01-06 13:10:23 -08006379bins/$(CONFIG)/chttp2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006380
6381else
6382
nnoble5f2ecb32015-01-12 16:40:18 -08006383bins/$(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 -08006384 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006385 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006386 $(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 -08006387
nnoble69ac39f2014-12-12 15:43:38 -08006388endif
6389
Craig Tillerd4773f52015-01-12 16:38:47 -08006390
Craig Tiller8f126a62015-01-15 08:50:19 -08006391deps_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 -08006392
nnoble69ac39f2014-12-12 15:43:38 -08006393ifneq ($(NO_SECURE),true)
6394ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006395-include $(CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006396endif
nnoble69ac39f2014-12-12 15:43:38 -08006397endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006398
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006399
Craig Tiller4ffdcd52015-01-16 11:34:55 -08006400CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
6401
6402CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
6403
6404ifeq ($(NO_SECURE),true)
6405
David Klempner7f3ed1e2015-01-16 15:35:56 -08006406# You can't build secure targets if you don't have OpenSSL with ALPN.
6407
Craig Tiller4ffdcd52015-01-16 11:34:55 -08006408bins/$(CONFIG)/chttp2_fullstack_graceful_server_shutdown_test: openssl_dep_error
6409
6410else
6411
6412bins/$(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
6413 $(E) "[LD] Linking $@"
6414 $(Q) mkdir -p `dirname $@`
6415 $(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
6416
6417endif
6418
6419
6420deps_chttp2_fullstack_graceful_server_shutdown_test: $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
6421
6422ifneq ($(NO_SECURE),true)
6423ifneq ($(NO_DEPS),true)
6424-include $(CHTTP2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
6425endif
6426endif
6427
6428
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006429CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
6430
ctillercab52e72015-01-06 13:10:23 -08006431CHTTP2_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 -08006432
nnoble69ac39f2014-12-12 15:43:38 -08006433ifeq ($(NO_SECURE),true)
6434
Nicolas Noble047b7272015-01-16 13:55:05 -08006435# You can't build secure targets if you don't have OpenSSL with ALPN.
6436
ctillercab52e72015-01-06 13:10:23 -08006437bins/$(CONFIG)/chttp2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006438
6439else
6440
nnoble5f2ecb32015-01-12 16:40:18 -08006441bins/$(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 -08006442 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006443 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006444 $(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 -08006445
nnoble69ac39f2014-12-12 15:43:38 -08006446endif
6447
Craig Tillerd4773f52015-01-12 16:38:47 -08006448
Craig Tiller8f126a62015-01-15 08:50:19 -08006449deps_chttp2_fullstack_invoke_large_request_test: $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006450
nnoble69ac39f2014-12-12 15:43:38 -08006451ifneq ($(NO_SECURE),true)
6452ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006453-include $(CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006454endif
nnoble69ac39f2014-12-12 15:43:38 -08006455endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006456
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006457
6458CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
6459
ctillercab52e72015-01-06 13:10:23 -08006460CHTTP2_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 -08006461
nnoble69ac39f2014-12-12 15:43:38 -08006462ifeq ($(NO_SECURE),true)
6463
Nicolas Noble047b7272015-01-16 13:55:05 -08006464# You can't build secure targets if you don't have OpenSSL with ALPN.
6465
ctillercab52e72015-01-06 13:10:23 -08006466bins/$(CONFIG)/chttp2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006467
6468else
6469
nnoble5f2ecb32015-01-12 16:40:18 -08006470bins/$(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 -08006471 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006472 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006473 $(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 -08006474
nnoble69ac39f2014-12-12 15:43:38 -08006475endif
6476
Craig Tillerd4773f52015-01-12 16:38:47 -08006477
Craig Tiller8f126a62015-01-15 08:50:19 -08006478deps_chttp2_fullstack_max_concurrent_streams_test: $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006479
nnoble69ac39f2014-12-12 15:43:38 -08006480ifneq ($(NO_SECURE),true)
6481ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006482-include $(CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006483endif
nnoble69ac39f2014-12-12 15:43:38 -08006484endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006485
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006486
6487CHTTP2_FULLSTACK_NO_OP_TEST_SRC = \
6488
ctillercab52e72015-01-06 13:10:23 -08006489CHTTP2_FULLSTACK_NO_OP_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_NO_OP_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006490
nnoble69ac39f2014-12-12 15:43:38 -08006491ifeq ($(NO_SECURE),true)
6492
Nicolas Noble047b7272015-01-16 13:55:05 -08006493# You can't build secure targets if you don't have OpenSSL with ALPN.
6494
ctillercab52e72015-01-06 13:10:23 -08006495bins/$(CONFIG)/chttp2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006496
6497else
6498
nnoble5f2ecb32015-01-12 16:40:18 -08006499bins/$(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 -08006500 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006501 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006502 $(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 -08006503
nnoble69ac39f2014-12-12 15:43:38 -08006504endif
6505
Craig Tillerd4773f52015-01-12 16:38:47 -08006506
Craig Tiller8f126a62015-01-15 08:50:19 -08006507deps_chttp2_fullstack_no_op_test: $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006508
nnoble69ac39f2014-12-12 15:43:38 -08006509ifneq ($(NO_SECURE),true)
6510ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006511-include $(CHTTP2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006512endif
nnoble69ac39f2014-12-12 15:43:38 -08006513endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006514
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006515
6516CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
6517
ctillercab52e72015-01-06 13:10:23 -08006518CHTTP2_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 -08006519
nnoble69ac39f2014-12-12 15:43:38 -08006520ifeq ($(NO_SECURE),true)
6521
Nicolas Noble047b7272015-01-16 13:55:05 -08006522# You can't build secure targets if you don't have OpenSSL with ALPN.
6523
ctillercab52e72015-01-06 13:10:23 -08006524bins/$(CONFIG)/chttp2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006525
6526else
6527
nnoble5f2ecb32015-01-12 16:40:18 -08006528bins/$(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 -08006529 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006530 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006531 $(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 -08006532
nnoble69ac39f2014-12-12 15:43:38 -08006533endif
6534
Craig Tillerd4773f52015-01-12 16:38:47 -08006535
Craig Tiller8f126a62015-01-15 08:50:19 -08006536deps_chttp2_fullstack_ping_pong_streaming_test: $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006537
nnoble69ac39f2014-12-12 15:43:38 -08006538ifneq ($(NO_SECURE),true)
6539ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006540-include $(CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006541endif
nnoble69ac39f2014-12-12 15:43:38 -08006542endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006543
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006544
ctiller33023c42014-12-12 16:28:33 -08006545CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
6546
ctillercab52e72015-01-06 13:10:23 -08006547CHTTP2_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 -08006548
6549ifeq ($(NO_SECURE),true)
6550
Nicolas Noble047b7272015-01-16 13:55:05 -08006551# You can't build secure targets if you don't have OpenSSL with ALPN.
6552
ctillercab52e72015-01-06 13:10:23 -08006553bins/$(CONFIG)/chttp2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08006554
6555else
6556
nnoble5f2ecb32015-01-12 16:40:18 -08006557bins/$(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 -08006558 $(E) "[LD] Linking $@"
6559 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006560 $(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 -08006561
6562endif
6563
Craig Tillerd4773f52015-01-12 16:38:47 -08006564
Craig Tiller8f126a62015-01-15 08:50:19 -08006565deps_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 -08006566
6567ifneq ($(NO_SECURE),true)
6568ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006569-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08006570endif
6571endif
6572
ctiller33023c42014-12-12 16:28:33 -08006573
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006574CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
6575
ctillercab52e72015-01-06 13:10:23 -08006576CHTTP2_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 -08006577
nnoble69ac39f2014-12-12 15:43:38 -08006578ifeq ($(NO_SECURE),true)
6579
Nicolas Noble047b7272015-01-16 13:55:05 -08006580# You can't build secure targets if you don't have OpenSSL with ALPN.
6581
ctillercab52e72015-01-06 13:10:23 -08006582bins/$(CONFIG)/chttp2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006583
6584else
6585
nnoble5f2ecb32015-01-12 16:40:18 -08006586bins/$(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 -08006587 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006588 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006589 $(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 -08006590
nnoble69ac39f2014-12-12 15:43:38 -08006591endif
6592
Craig Tillerd4773f52015-01-12 16:38:47 -08006593
Craig Tiller8f126a62015-01-15 08:50:19 -08006594deps_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 -08006595
nnoble69ac39f2014-12-12 15:43:38 -08006596ifneq ($(NO_SECURE),true)
6597ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006598-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006599endif
nnoble69ac39f2014-12-12 15:43:38 -08006600endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006601
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006602
6603CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
6604
ctillercab52e72015-01-06 13:10:23 -08006605CHTTP2_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 -08006606
nnoble69ac39f2014-12-12 15:43:38 -08006607ifeq ($(NO_SECURE),true)
6608
Nicolas Noble047b7272015-01-16 13:55:05 -08006609# You can't build secure targets if you don't have OpenSSL with ALPN.
6610
ctillercab52e72015-01-06 13:10:23 -08006611bins/$(CONFIG)/chttp2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006612
6613else
6614
nnoble5f2ecb32015-01-12 16:40:18 -08006615bins/$(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 -08006616 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006617 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006618 $(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 -08006619
nnoble69ac39f2014-12-12 15:43:38 -08006620endif
6621
Craig Tillerd4773f52015-01-12 16:38:47 -08006622
Craig Tiller8f126a62015-01-15 08:50:19 -08006623deps_chttp2_fullstack_request_response_with_payload_test: $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006624
nnoble69ac39f2014-12-12 15:43:38 -08006625ifneq ($(NO_SECURE),true)
6626ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006627-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006628endif
nnoble69ac39f2014-12-12 15:43:38 -08006629endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006630
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006631
ctiller2845cad2014-12-15 15:14:12 -08006632CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
6633
ctillercab52e72015-01-06 13:10:23 -08006634CHTTP2_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 -08006635
6636ifeq ($(NO_SECURE),true)
6637
Nicolas Noble047b7272015-01-16 13:55:05 -08006638# You can't build secure targets if you don't have OpenSSL with ALPN.
6639
ctillercab52e72015-01-06 13:10:23 -08006640bins/$(CONFIG)/chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08006641
6642else
6643
nnoble5f2ecb32015-01-12 16:40:18 -08006644bins/$(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 -08006645 $(E) "[LD] Linking $@"
6646 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006647 $(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 -08006648
6649endif
6650
Craig Tillerd4773f52015-01-12 16:38:47 -08006651
Craig Tiller8f126a62015-01-15 08:50:19 -08006652deps_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 -08006653
6654ifneq ($(NO_SECURE),true)
6655ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006656-include $(CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08006657endif
6658endif
6659
ctiller2845cad2014-12-15 15:14:12 -08006660
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006661CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
6662
ctillercab52e72015-01-06 13:10:23 -08006663CHTTP2_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 -08006664
nnoble69ac39f2014-12-12 15:43:38 -08006665ifeq ($(NO_SECURE),true)
6666
Nicolas Noble047b7272015-01-16 13:55:05 -08006667# You can't build secure targets if you don't have OpenSSL with ALPN.
6668
ctillercab52e72015-01-06 13:10:23 -08006669bins/$(CONFIG)/chttp2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006670
6671else
6672
nnoble5f2ecb32015-01-12 16:40:18 -08006673bins/$(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 -08006674 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006675 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006676 $(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 -08006677
nnoble69ac39f2014-12-12 15:43:38 -08006678endif
6679
Craig Tillerd4773f52015-01-12 16:38:47 -08006680
Craig Tiller8f126a62015-01-15 08:50:19 -08006681deps_chttp2_fullstack_simple_delayed_request_test: $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006682
nnoble69ac39f2014-12-12 15:43:38 -08006683ifneq ($(NO_SECURE),true)
6684ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006685-include $(CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006686endif
nnoble69ac39f2014-12-12 15:43:38 -08006687endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006688
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006689
6690CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
6691
ctillercab52e72015-01-06 13:10:23 -08006692CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006693
nnoble69ac39f2014-12-12 15:43:38 -08006694ifeq ($(NO_SECURE),true)
6695
Nicolas Noble047b7272015-01-16 13:55:05 -08006696# You can't build secure targets if you don't have OpenSSL with ALPN.
6697
ctillercab52e72015-01-06 13:10:23 -08006698bins/$(CONFIG)/chttp2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006699
6700else
6701
nnoble5f2ecb32015-01-12 16:40:18 -08006702bins/$(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 -08006703 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006704 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006705 $(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 -08006706
nnoble69ac39f2014-12-12 15:43:38 -08006707endif
6708
Craig Tillerd4773f52015-01-12 16:38:47 -08006709
Craig Tiller8f126a62015-01-15 08:50:19 -08006710deps_chttp2_fullstack_simple_request_test: $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006711
nnoble69ac39f2014-12-12 15:43:38 -08006712ifneq ($(NO_SECURE),true)
6713ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006714-include $(CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006715endif
nnoble69ac39f2014-12-12 15:43:38 -08006716endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006717
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006718
nathaniel52878172014-12-09 10:17:19 -08006719CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006720
ctillercab52e72015-01-06 13:10:23 -08006721CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_SRC))))
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006722
nnoble69ac39f2014-12-12 15:43:38 -08006723ifeq ($(NO_SECURE),true)
6724
Nicolas Noble047b7272015-01-16 13:55:05 -08006725# You can't build secure targets if you don't have OpenSSL with ALPN.
6726
ctillercab52e72015-01-06 13:10:23 -08006727bins/$(CONFIG)/chttp2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006728
6729else
6730
nnoble5f2ecb32015-01-12 16:40:18 -08006731bins/$(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 -08006732 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006733 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006734 $(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 -08006735
nnoble69ac39f2014-12-12 15:43:38 -08006736endif
6737
Craig Tillerd4773f52015-01-12 16:38:47 -08006738
Craig Tiller8f126a62015-01-15 08:50:19 -08006739deps_chttp2_fullstack_thread_stress_test: $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006740
nnoble69ac39f2014-12-12 15:43:38 -08006741ifneq ($(NO_SECURE),true)
6742ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006743-include $(CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006744endif
nnoble69ac39f2014-12-12 15:43:38 -08006745endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006746
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006747
6748CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
6749
ctillercab52e72015-01-06 13:10:23 -08006750CHTTP2_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 -08006751
nnoble69ac39f2014-12-12 15:43:38 -08006752ifeq ($(NO_SECURE),true)
6753
Nicolas Noble047b7272015-01-16 13:55:05 -08006754# You can't build secure targets if you don't have OpenSSL with ALPN.
6755
ctillercab52e72015-01-06 13:10:23 -08006756bins/$(CONFIG)/chttp2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006757
6758else
6759
nnoble5f2ecb32015-01-12 16:40:18 -08006760bins/$(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 -08006761 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006762 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006763 $(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 -08006764
nnoble69ac39f2014-12-12 15:43:38 -08006765endif
6766
Craig Tillerd4773f52015-01-12 16:38:47 -08006767
Craig Tiller8f126a62015-01-15 08:50:19 -08006768deps_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 -08006769
nnoble69ac39f2014-12-12 15:43:38 -08006770ifneq ($(NO_SECURE),true)
6771ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006772-include $(CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006773endif
nnoble69ac39f2014-12-12 15:43:38 -08006774endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006775
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006776
6777CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
6778
ctillercab52e72015-01-06 13:10:23 -08006779CHTTP2_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 -08006780
nnoble69ac39f2014-12-12 15:43:38 -08006781ifeq ($(NO_SECURE),true)
6782
Nicolas Noble047b7272015-01-16 13:55:05 -08006783# You can't build secure targets if you don't have OpenSSL with ALPN.
6784
ctillercab52e72015-01-06 13:10:23 -08006785bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006786
6787else
6788
nnoble5f2ecb32015-01-12 16:40:18 -08006789bins/$(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 -08006790 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006791 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006792 $(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 -08006793
nnoble69ac39f2014-12-12 15:43:38 -08006794endif
6795
Craig Tillerd4773f52015-01-12 16:38:47 -08006796
Craig Tiller8f126a62015-01-15 08:50:19 -08006797deps_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 -08006798
nnoble69ac39f2014-12-12 15:43:38 -08006799ifneq ($(NO_SECURE),true)
6800ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006801-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006802endif
nnoble69ac39f2014-12-12 15:43:38 -08006803endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006804
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006805
6806CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
6807
ctillercab52e72015-01-06 13:10:23 -08006808CHTTP2_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 -08006809
nnoble69ac39f2014-12-12 15:43:38 -08006810ifeq ($(NO_SECURE),true)
6811
Nicolas Noble047b7272015-01-16 13:55:05 -08006812# You can't build secure targets if you don't have OpenSSL with ALPN.
6813
ctillercab52e72015-01-06 13:10:23 -08006814bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006815
6816else
6817
nnoble5f2ecb32015-01-12 16:40:18 -08006818bins/$(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 -08006819 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006820 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006821 $(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 -08006822
nnoble69ac39f2014-12-12 15:43:38 -08006823endif
6824
Craig Tillerd4773f52015-01-12 16:38:47 -08006825
Craig Tiller8f126a62015-01-15 08:50:19 -08006826deps_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 -08006827
nnoble69ac39f2014-12-12 15:43:38 -08006828ifneq ($(NO_SECURE),true)
6829ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006830-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006831endif
nnoble69ac39f2014-12-12 15:43:38 -08006832endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006833
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006834
6835CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
6836
ctillercab52e72015-01-06 13:10:23 -08006837CHTTP2_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 -08006838
nnoble69ac39f2014-12-12 15:43:38 -08006839ifeq ($(NO_SECURE),true)
6840
Nicolas Noble047b7272015-01-16 13:55:05 -08006841# You can't build secure targets if you don't have OpenSSL with ALPN.
6842
ctillercab52e72015-01-06 13:10:23 -08006843bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006844
6845else
6846
nnoble5f2ecb32015-01-12 16:40:18 -08006847bins/$(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 -08006848 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006849 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006850 $(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 -08006851
nnoble69ac39f2014-12-12 15:43:38 -08006852endif
6853
Craig Tillerd4773f52015-01-12 16:38:47 -08006854
Craig Tiller8f126a62015-01-15 08:50:19 -08006855deps_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 -08006856
nnoble69ac39f2014-12-12 15:43:38 -08006857ifneq ($(NO_SECURE),true)
6858ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006859-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006860endif
nnoble69ac39f2014-12-12 15:43:38 -08006861endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006862
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006863
6864CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
6865
ctillercab52e72015-01-06 13:10:23 -08006866CHTTP2_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 -08006867
nnoble69ac39f2014-12-12 15:43:38 -08006868ifeq ($(NO_SECURE),true)
6869
Nicolas Noble047b7272015-01-16 13:55:05 -08006870# You can't build secure targets if you don't have OpenSSL with ALPN.
6871
ctillercab52e72015-01-06 13:10:23 -08006872bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006873
6874else
6875
nnoble5f2ecb32015-01-12 16:40:18 -08006876bins/$(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 -08006877 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006878 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006879 $(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 -08006880
nnoble69ac39f2014-12-12 15:43:38 -08006881endif
6882
Craig Tillerd4773f52015-01-12 16:38:47 -08006883
Craig Tiller8f126a62015-01-15 08:50:19 -08006884deps_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 -08006885
nnoble69ac39f2014-12-12 15:43:38 -08006886ifneq ($(NO_SECURE),true)
6887ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006888-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006889endif
nnoble69ac39f2014-12-12 15:43:38 -08006890endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006891
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006892
6893CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
6894
ctillercab52e72015-01-06 13:10:23 -08006895CHTTP2_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 -08006896
nnoble69ac39f2014-12-12 15:43:38 -08006897ifeq ($(NO_SECURE),true)
6898
Nicolas Noble047b7272015-01-16 13:55:05 -08006899# You can't build secure targets if you don't have OpenSSL with ALPN.
6900
ctillercab52e72015-01-06 13:10:23 -08006901bins/$(CONFIG)/chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006902
6903else
6904
nnoble5f2ecb32015-01-12 16:40:18 -08006905bins/$(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 -08006906 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006907 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006908 $(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 -08006909
nnoble69ac39f2014-12-12 15:43:38 -08006910endif
6911
Craig Tillerd4773f52015-01-12 16:38:47 -08006912
Craig Tiller8f126a62015-01-15 08:50:19 -08006913deps_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 -08006914
nnoble69ac39f2014-12-12 15:43:38 -08006915ifneq ($(NO_SECURE),true)
6916ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006917-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006918endif
nnoble69ac39f2014-12-12 15:43:38 -08006919endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006920
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006921
hongyu24200d32015-01-08 15:13:49 -08006922CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
6923
6924CHTTP2_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 -08006925
6926ifeq ($(NO_SECURE),true)
6927
Nicolas Noble047b7272015-01-16 13:55:05 -08006928# You can't build secure targets if you don't have OpenSSL with ALPN.
6929
hongyu24200d32015-01-08 15:13:49 -08006930bins/$(CONFIG)/chttp2_simple_ssl_fullstack_census_simple_request_test: openssl_dep_error
6931
6932else
6933
nnoble5f2ecb32015-01-12 16:40:18 -08006934bins/$(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 -08006935 $(E) "[LD] Linking $@"
6936 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006937 $(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 -08006938
6939endif
6940
Craig Tillerd4773f52015-01-12 16:38:47 -08006941
Craig Tiller8f126a62015-01-15 08:50:19 -08006942deps_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 -08006943
6944ifneq ($(NO_SECURE),true)
6945ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006946-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08006947endif
6948endif
6949
hongyu24200d32015-01-08 15:13:49 -08006950
ctillerc6d61c42014-12-15 14:52:08 -08006951CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
6952
ctillercab52e72015-01-06 13:10:23 -08006953CHTTP2_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 -08006954
6955ifeq ($(NO_SECURE),true)
6956
Nicolas Noble047b7272015-01-16 13:55:05 -08006957# You can't build secure targets if you don't have OpenSSL with ALPN.
6958
ctillercab52e72015-01-06 13:10:23 -08006959bins/$(CONFIG)/chttp2_simple_ssl_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08006960
6961else
6962
nnoble5f2ecb32015-01-12 16:40:18 -08006963bins/$(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 -08006964 $(E) "[LD] Linking $@"
6965 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006966 $(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 -08006967
6968endif
6969
Craig Tillerd4773f52015-01-12 16:38:47 -08006970
Craig Tiller8f126a62015-01-15 08:50:19 -08006971deps_chttp2_simple_ssl_fullstack_disappearing_server_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006972
6973ifneq ($(NO_SECURE),true)
6974ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08006975-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08006976endif
6977endif
6978
ctillerc6d61c42014-12-15 14:52:08 -08006979
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08006980CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
6981
ctillercab52e72015-01-06 13:10:23 -08006982CHTTP2_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 -08006983
nnoble69ac39f2014-12-12 15:43:38 -08006984ifeq ($(NO_SECURE),true)
6985
Nicolas Noble047b7272015-01-16 13:55:05 -08006986# You can't build secure targets if you don't have OpenSSL with ALPN.
6987
ctillercab52e72015-01-06 13:10:23 -08006988bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08006989
6990else
6991
nnoble5f2ecb32015-01-12 16:40:18 -08006992bins/$(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 -08006993 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08006994 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08006995 $(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 -08006996
nnoble69ac39f2014-12-12 15:43:38 -08006997endif
6998
Craig Tillerd4773f52015-01-12 16:38:47 -08006999
Craig Tiller8f126a62015-01-15 08:50:19 -08007000deps_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 -08007001
nnoble69ac39f2014-12-12 15:43:38 -08007002ifneq ($(NO_SECURE),true)
7003ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007004-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007005endif
nnoble69ac39f2014-12-12 15:43:38 -08007006endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007007
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007008
7009CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7010
ctillercab52e72015-01-06 13:10:23 -08007011CHTTP2_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 -08007012
nnoble69ac39f2014-12-12 15:43:38 -08007013ifeq ($(NO_SECURE),true)
7014
Nicolas Noble047b7272015-01-16 13:55:05 -08007015# You can't build secure targets if you don't have OpenSSL with ALPN.
7016
ctillercab52e72015-01-06 13:10:23 -08007017bins/$(CONFIG)/chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007018
7019else
7020
nnoble5f2ecb32015-01-12 16:40:18 -08007021bins/$(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 -08007022 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007023 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007024 $(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 -08007025
nnoble69ac39f2014-12-12 15:43:38 -08007026endif
7027
Craig Tillerd4773f52015-01-12 16:38:47 -08007028
Craig Tiller8f126a62015-01-15 08:50:19 -08007029deps_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 -08007030
nnoble69ac39f2014-12-12 15:43:38 -08007031ifneq ($(NO_SECURE),true)
7032ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007033-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007034endif
nnoble69ac39f2014-12-12 15:43:38 -08007035endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007036
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007037
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007038CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
7039
7040CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
7041
7042ifeq ($(NO_SECURE),true)
7043
David Klempner7f3ed1e2015-01-16 15:35:56 -08007044# You can't build secure targets if you don't have OpenSSL with ALPN.
7045
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007046bins/$(CONFIG)/chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: openssl_dep_error
7047
7048else
7049
7050bins/$(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
7051 $(E) "[LD] Linking $@"
7052 $(Q) mkdir -p `dirname $@`
7053 $(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
7054
7055endif
7056
7057
7058deps_chttp2_simple_ssl_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7059
7060ifneq ($(NO_SECURE),true)
7061ifneq ($(NO_DEPS),true)
7062-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7063endif
7064endif
7065
7066
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007067CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7068
ctillercab52e72015-01-06 13:10:23 -08007069CHTTP2_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 -08007070
nnoble69ac39f2014-12-12 15:43:38 -08007071ifeq ($(NO_SECURE),true)
7072
Nicolas Noble047b7272015-01-16 13:55:05 -08007073# You can't build secure targets if you don't have OpenSSL with ALPN.
7074
ctillercab52e72015-01-06 13:10:23 -08007075bins/$(CONFIG)/chttp2_simple_ssl_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007076
7077else
7078
nnoble5f2ecb32015-01-12 16:40:18 -08007079bins/$(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 -08007080 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007081 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007082 $(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 -08007083
nnoble69ac39f2014-12-12 15:43:38 -08007084endif
7085
Craig Tillerd4773f52015-01-12 16:38:47 -08007086
Craig Tiller8f126a62015-01-15 08:50:19 -08007087deps_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 -08007088
nnoble69ac39f2014-12-12 15:43:38 -08007089ifneq ($(NO_SECURE),true)
7090ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007091-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007092endif
nnoble69ac39f2014-12-12 15:43:38 -08007093endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007094
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007095
7096CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7097
ctillercab52e72015-01-06 13:10:23 -08007098CHTTP2_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 -08007099
nnoble69ac39f2014-12-12 15:43:38 -08007100ifeq ($(NO_SECURE),true)
7101
Nicolas Noble047b7272015-01-16 13:55:05 -08007102# You can't build secure targets if you don't have OpenSSL with ALPN.
7103
ctillercab52e72015-01-06 13:10:23 -08007104bins/$(CONFIG)/chttp2_simple_ssl_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007105
7106else
7107
nnoble5f2ecb32015-01-12 16:40:18 -08007108bins/$(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 -08007109 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007110 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007111 $(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 -08007112
nnoble69ac39f2014-12-12 15:43:38 -08007113endif
7114
Craig Tillerd4773f52015-01-12 16:38:47 -08007115
Craig Tiller8f126a62015-01-15 08:50:19 -08007116deps_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 -08007117
nnoble69ac39f2014-12-12 15:43:38 -08007118ifneq ($(NO_SECURE),true)
7119ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007120-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007121endif
nnoble69ac39f2014-12-12 15:43:38 -08007122endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007123
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007124
7125CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_SRC = \
7126
ctillercab52e72015-01-06 13:10:23 -08007127CHTTP2_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 -08007128
nnoble69ac39f2014-12-12 15:43:38 -08007129ifeq ($(NO_SECURE),true)
7130
Nicolas Noble047b7272015-01-16 13:55:05 -08007131# You can't build secure targets if you don't have OpenSSL with ALPN.
7132
ctillercab52e72015-01-06 13:10:23 -08007133bins/$(CONFIG)/chttp2_simple_ssl_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007134
7135else
7136
nnoble5f2ecb32015-01-12 16:40:18 -08007137bins/$(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 -08007138 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007139 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007140 $(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 -08007141
nnoble69ac39f2014-12-12 15:43:38 -08007142endif
7143
Craig Tillerd4773f52015-01-12 16:38:47 -08007144
Craig Tiller8f126a62015-01-15 08:50:19 -08007145deps_chttp2_simple_ssl_fullstack_no_op_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007146
nnoble69ac39f2014-12-12 15:43:38 -08007147ifneq ($(NO_SECURE),true)
7148ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007149-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007150endif
nnoble69ac39f2014-12-12 15:43:38 -08007151endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007152
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007153
7154CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7155
ctillercab52e72015-01-06 13:10:23 -08007156CHTTP2_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 -08007157
nnoble69ac39f2014-12-12 15:43:38 -08007158ifeq ($(NO_SECURE),true)
7159
Nicolas Noble047b7272015-01-16 13:55:05 -08007160# You can't build secure targets if you don't have OpenSSL with ALPN.
7161
ctillercab52e72015-01-06 13:10:23 -08007162bins/$(CONFIG)/chttp2_simple_ssl_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007163
7164else
7165
nnoble5f2ecb32015-01-12 16:40:18 -08007166bins/$(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 -08007167 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007168 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007169 $(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 -08007170
nnoble69ac39f2014-12-12 15:43:38 -08007171endif
7172
Craig Tillerd4773f52015-01-12 16:38:47 -08007173
Craig Tiller8f126a62015-01-15 08:50:19 -08007174deps_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 -08007175
nnoble69ac39f2014-12-12 15:43:38 -08007176ifneq ($(NO_SECURE),true)
7177ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007178-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007179endif
nnoble69ac39f2014-12-12 15:43:38 -08007180endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007181
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007182
ctiller33023c42014-12-12 16:28:33 -08007183CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7184
ctillercab52e72015-01-06 13:10:23 -08007185CHTTP2_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 -08007186
7187ifeq ($(NO_SECURE),true)
7188
Nicolas Noble047b7272015-01-16 13:55:05 -08007189# You can't build secure targets if you don't have OpenSSL with ALPN.
7190
ctillercab52e72015-01-06 13:10:23 -08007191bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007192
7193else
7194
nnoble5f2ecb32015-01-12 16:40:18 -08007195bins/$(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 -08007196 $(E) "[LD] Linking $@"
7197 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007198 $(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 -08007199
7200endif
7201
Craig Tillerd4773f52015-01-12 16:38:47 -08007202
Craig Tiller8f126a62015-01-15 08:50:19 -08007203deps_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 -08007204
7205ifneq ($(NO_SECURE),true)
7206ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007207-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007208endif
7209endif
7210
ctiller33023c42014-12-12 16:28:33 -08007211
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007212CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7213
ctillercab52e72015-01-06 13:10:23 -08007214CHTTP2_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 -08007215
nnoble69ac39f2014-12-12 15:43:38 -08007216ifeq ($(NO_SECURE),true)
7217
Nicolas Noble047b7272015-01-16 13:55:05 -08007218# You can't build secure targets if you don't have OpenSSL with ALPN.
7219
ctillercab52e72015-01-06 13:10:23 -08007220bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007221
7222else
7223
nnoble5f2ecb32015-01-12 16:40:18 -08007224bins/$(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 -08007225 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007226 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007227 $(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 -08007228
nnoble69ac39f2014-12-12 15:43:38 -08007229endif
7230
Craig Tillerd4773f52015-01-12 16:38:47 -08007231
Craig Tiller8f126a62015-01-15 08:50:19 -08007232deps_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 -08007233
nnoble69ac39f2014-12-12 15:43:38 -08007234ifneq ($(NO_SECURE),true)
7235ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007236-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007237endif
nnoble69ac39f2014-12-12 15:43:38 -08007238endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007239
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007240
7241CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
7242
ctillercab52e72015-01-06 13:10:23 -08007243CHTTP2_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 -08007244
nnoble69ac39f2014-12-12 15:43:38 -08007245ifeq ($(NO_SECURE),true)
7246
Nicolas Noble047b7272015-01-16 13:55:05 -08007247# You can't build secure targets if you don't have OpenSSL with ALPN.
7248
ctillercab52e72015-01-06 13:10:23 -08007249bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007250
7251else
7252
nnoble5f2ecb32015-01-12 16:40:18 -08007253bins/$(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 -08007254 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007255 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007256 $(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 -08007257
nnoble69ac39f2014-12-12 15:43:38 -08007258endif
7259
Craig Tillerd4773f52015-01-12 16:38:47 -08007260
Craig Tiller8f126a62015-01-15 08:50:19 -08007261deps_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 -08007262
nnoble69ac39f2014-12-12 15:43:38 -08007263ifneq ($(NO_SECURE),true)
7264ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007265-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007266endif
nnoble69ac39f2014-12-12 15:43:38 -08007267endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007268
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007269
ctiller2845cad2014-12-15 15:14:12 -08007270CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
7271
ctillercab52e72015-01-06 13:10:23 -08007272CHTTP2_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 -08007273
7274ifeq ($(NO_SECURE),true)
7275
Nicolas Noble047b7272015-01-16 13:55:05 -08007276# You can't build secure targets if you don't have OpenSSL with ALPN.
7277
ctillercab52e72015-01-06 13:10:23 -08007278bins/$(CONFIG)/chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08007279
7280else
7281
nnoble5f2ecb32015-01-12 16:40:18 -08007282bins/$(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 -08007283 $(E) "[LD] Linking $@"
7284 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007285 $(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 -08007286
7287endif
7288
Craig Tillerd4773f52015-01-12 16:38:47 -08007289
Craig Tiller8f126a62015-01-15 08:50:19 -08007290deps_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 -08007291
7292ifneq ($(NO_SECURE),true)
7293ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007294-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08007295endif
7296endif
7297
ctiller2845cad2014-12-15 15:14:12 -08007298
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007299CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
7300
ctillercab52e72015-01-06 13:10:23 -08007301CHTTP2_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 -08007302
nnoble69ac39f2014-12-12 15:43:38 -08007303ifeq ($(NO_SECURE),true)
7304
Nicolas Noble047b7272015-01-16 13:55:05 -08007305# You can't build secure targets if you don't have OpenSSL with ALPN.
7306
ctillercab52e72015-01-06 13:10:23 -08007307bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007308
7309else
7310
nnoble5f2ecb32015-01-12 16:40:18 -08007311bins/$(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 -08007312 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007313 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007314 $(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 -08007315
nnoble69ac39f2014-12-12 15:43:38 -08007316endif
7317
Craig Tillerd4773f52015-01-12 16:38:47 -08007318
Craig Tiller8f126a62015-01-15 08:50:19 -08007319deps_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 -08007320
nnoble69ac39f2014-12-12 15:43:38 -08007321ifneq ($(NO_SECURE),true)
7322ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007323-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007324endif
nnoble69ac39f2014-12-12 15:43:38 -08007325endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007326
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007327
7328CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
7329
ctillercab52e72015-01-06 13:10:23 -08007330CHTTP2_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 -08007331
nnoble69ac39f2014-12-12 15:43:38 -08007332ifeq ($(NO_SECURE),true)
7333
Nicolas Noble047b7272015-01-16 13:55:05 -08007334# You can't build secure targets if you don't have OpenSSL with ALPN.
7335
ctillercab52e72015-01-06 13:10:23 -08007336bins/$(CONFIG)/chttp2_simple_ssl_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007337
7338else
7339
nnoble5f2ecb32015-01-12 16:40:18 -08007340bins/$(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 -08007341 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007342 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007343 $(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 -08007344
nnoble69ac39f2014-12-12 15:43:38 -08007345endif
7346
Craig Tillerd4773f52015-01-12 16:38:47 -08007347
Craig Tiller8f126a62015-01-15 08:50:19 -08007348deps_chttp2_simple_ssl_fullstack_simple_request_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007349
nnoble69ac39f2014-12-12 15:43:38 -08007350ifneq ($(NO_SECURE),true)
7351ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007352-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007353endif
nnoble69ac39f2014-12-12 15:43:38 -08007354endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007355
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007356
nathaniel52878172014-12-09 10:17:19 -08007357CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007358
ctillercab52e72015-01-06 13:10:23 -08007359CHTTP2_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 -08007360
nnoble69ac39f2014-12-12 15:43:38 -08007361ifeq ($(NO_SECURE),true)
7362
Nicolas Noble047b7272015-01-16 13:55:05 -08007363# You can't build secure targets if you don't have OpenSSL with ALPN.
7364
ctillercab52e72015-01-06 13:10:23 -08007365bins/$(CONFIG)/chttp2_simple_ssl_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007366
7367else
7368
nnoble5f2ecb32015-01-12 16:40:18 -08007369bins/$(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 -08007370 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007371 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007372 $(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 -08007373
nnoble69ac39f2014-12-12 15:43:38 -08007374endif
7375
Craig Tillerd4773f52015-01-12 16:38:47 -08007376
Craig Tiller8f126a62015-01-15 08:50:19 -08007377deps_chttp2_simple_ssl_fullstack_thread_stress_test: $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007378
nnoble69ac39f2014-12-12 15:43:38 -08007379ifneq ($(NO_SECURE),true)
7380ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007381-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007382endif
nnoble69ac39f2014-12-12 15:43:38 -08007383endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007384
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007385
7386CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
7387
ctillercab52e72015-01-06 13:10:23 -08007388CHTTP2_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 -08007389
nnoble69ac39f2014-12-12 15:43:38 -08007390ifeq ($(NO_SECURE),true)
7391
Nicolas Noble047b7272015-01-16 13:55:05 -08007392# You can't build secure targets if you don't have OpenSSL with ALPN.
7393
ctillercab52e72015-01-06 13:10:23 -08007394bins/$(CONFIG)/chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007395
7396else
7397
nnoble5f2ecb32015-01-12 16:40:18 -08007398bins/$(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 -08007399 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007400 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007401 $(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 -08007402
nnoble69ac39f2014-12-12 15:43:38 -08007403endif
7404
Craig Tillerd4773f52015-01-12 16:38:47 -08007405
Craig Tiller8f126a62015-01-15 08:50:19 -08007406deps_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 -08007407
nnoble69ac39f2014-12-12 15:43:38 -08007408ifneq ($(NO_SECURE),true)
7409ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007410-include $(CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007411endif
nnoble69ac39f2014-12-12 15:43:38 -08007412endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007413
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007414
7415CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_SRC = \
7416
ctillercab52e72015-01-06 13:10:23 -08007417CHTTP2_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 -08007418
nnoble69ac39f2014-12-12 15:43:38 -08007419ifeq ($(NO_SECURE),true)
7420
Nicolas Noble047b7272015-01-16 13:55:05 -08007421# You can't build secure targets if you don't have OpenSSL with ALPN.
7422
ctillercab52e72015-01-06 13:10:23 -08007423bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007424
7425else
7426
nnoble5f2ecb32015-01-12 16:40:18 -08007427bins/$(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 -08007428 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007429 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007430 $(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 -08007431
nnoble69ac39f2014-12-12 15:43:38 -08007432endif
7433
Craig Tillerd4773f52015-01-12 16:38:47 -08007434
Craig Tiller8f126a62015-01-15 08:50:19 -08007435deps_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 -08007436
nnoble69ac39f2014-12-12 15:43:38 -08007437ifneq ($(NO_SECURE),true)
7438ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007439-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007440endif
nnoble69ac39f2014-12-12 15:43:38 -08007441endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007442
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007443
7444CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
7445
ctillercab52e72015-01-06 13:10:23 -08007446CHTTP2_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 -08007447
nnoble69ac39f2014-12-12 15:43:38 -08007448ifeq ($(NO_SECURE),true)
7449
Nicolas Noble047b7272015-01-16 13:55:05 -08007450# You can't build secure targets if you don't have OpenSSL with ALPN.
7451
ctillercab52e72015-01-06 13:10:23 -08007452bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007453
7454else
7455
nnoble5f2ecb32015-01-12 16:40:18 -08007456bins/$(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 -08007457 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007458 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007459 $(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 -08007460
nnoble69ac39f2014-12-12 15:43:38 -08007461endif
7462
Craig Tillerd4773f52015-01-12 16:38:47 -08007463
Craig Tiller8f126a62015-01-15 08:50:19 -08007464deps_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 -08007465
nnoble69ac39f2014-12-12 15:43:38 -08007466ifneq ($(NO_SECURE),true)
7467ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007468-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007469endif
nnoble69ac39f2014-12-12 15:43:38 -08007470endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007471
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007472
7473CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_SRC = \
7474
ctillercab52e72015-01-06 13:10:23 -08007475CHTTP2_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 -08007476
nnoble69ac39f2014-12-12 15:43:38 -08007477ifeq ($(NO_SECURE),true)
7478
Nicolas Noble047b7272015-01-16 13:55:05 -08007479# You can't build secure targets if you don't have OpenSSL with ALPN.
7480
ctillercab52e72015-01-06 13:10:23 -08007481bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007482
7483else
7484
nnoble5f2ecb32015-01-12 16:40:18 -08007485bins/$(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 -08007486 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007487 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007488 $(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 -08007489
nnoble69ac39f2014-12-12 15:43:38 -08007490endif
7491
Craig Tillerd4773f52015-01-12 16:38:47 -08007492
Craig Tiller8f126a62015-01-15 08:50:19 -08007493deps_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 -08007494
nnoble69ac39f2014-12-12 15:43:38 -08007495ifneq ($(NO_SECURE),true)
7496ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007497-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007498endif
nnoble69ac39f2014-12-12 15:43:38 -08007499endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007500
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007501
7502CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_SRC = \
7503
ctillercab52e72015-01-06 13:10:23 -08007504CHTTP2_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 -08007505
nnoble69ac39f2014-12-12 15:43:38 -08007506ifeq ($(NO_SECURE),true)
7507
Nicolas Noble047b7272015-01-16 13:55:05 -08007508# You can't build secure targets if you don't have OpenSSL with ALPN.
7509
ctillercab52e72015-01-06 13:10:23 -08007510bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007511
7512else
7513
nnoble5f2ecb32015-01-12 16:40:18 -08007514bins/$(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 -08007515 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007516 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007517 $(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 -08007518
nnoble69ac39f2014-12-12 15:43:38 -08007519endif
7520
Craig Tillerd4773f52015-01-12 16:38:47 -08007521
Craig Tiller8f126a62015-01-15 08:50:19 -08007522deps_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 -08007523
nnoble69ac39f2014-12-12 15:43:38 -08007524ifneq ($(NO_SECURE),true)
7525ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007526-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007527endif
nnoble69ac39f2014-12-12 15:43:38 -08007528endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007529
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007530
7531CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_SRC = \
7532
ctillercab52e72015-01-06 13:10:23 -08007533CHTTP2_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 -08007534
nnoble69ac39f2014-12-12 15:43:38 -08007535ifeq ($(NO_SECURE),true)
7536
Nicolas Noble047b7272015-01-16 13:55:05 -08007537# You can't build secure targets if you don't have OpenSSL with ALPN.
7538
ctillercab52e72015-01-06 13:10:23 -08007539bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007540
7541else
7542
nnoble5f2ecb32015-01-12 16:40:18 -08007543bins/$(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 -08007544 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007545 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007546 $(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 -08007547
nnoble69ac39f2014-12-12 15:43:38 -08007548endif
7549
Craig Tillerd4773f52015-01-12 16:38:47 -08007550
Craig Tiller8f126a62015-01-15 08:50:19 -08007551deps_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 -08007552
nnoble69ac39f2014-12-12 15:43:38 -08007553ifneq ($(NO_SECURE),true)
7554ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007555-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007556endif
nnoble69ac39f2014-12-12 15:43:38 -08007557endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007558
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007559
hongyu24200d32015-01-08 15:13:49 -08007560CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
7561
7562CHTTP2_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 -08007563
7564ifeq ($(NO_SECURE),true)
7565
Nicolas Noble047b7272015-01-16 13:55:05 -08007566# You can't build secure targets if you don't have OpenSSL with ALPN.
7567
hongyu24200d32015-01-08 15:13:49 -08007568bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test: openssl_dep_error
7569
7570else
7571
nnoble5f2ecb32015-01-12 16:40:18 -08007572bins/$(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 -08007573 $(E) "[LD] Linking $@"
7574 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007575 $(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 -08007576
7577endif
7578
Craig Tillerd4773f52015-01-12 16:38:47 -08007579
Craig Tiller8f126a62015-01-15 08:50:19 -08007580deps_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 -08007581
7582ifneq ($(NO_SECURE),true)
7583ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007584-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08007585endif
7586endif
7587
hongyu24200d32015-01-08 15:13:49 -08007588
ctillerc6d61c42014-12-15 14:52:08 -08007589CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_SRC = \
7590
ctillercab52e72015-01-06 13:10:23 -08007591CHTTP2_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 -08007592
7593ifeq ($(NO_SECURE),true)
7594
Nicolas Noble047b7272015-01-16 13:55:05 -08007595# You can't build secure targets if you don't have OpenSSL with ALPN.
7596
ctillercab52e72015-01-06 13:10:23 -08007597bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08007598
7599else
7600
nnoble5f2ecb32015-01-12 16:40:18 -08007601bins/$(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 -08007602 $(E) "[LD] Linking $@"
7603 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007604 $(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 -08007605
7606endif
7607
Craig Tillerd4773f52015-01-12 16:38:47 -08007608
Craig Tiller8f126a62015-01-15 08:50:19 -08007609deps_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 -08007610
7611ifneq ($(NO_SECURE),true)
7612ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007613-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08007614endif
7615endif
7616
ctillerc6d61c42014-12-15 14:52:08 -08007617
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007618CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
7619
ctillercab52e72015-01-06 13:10:23 -08007620CHTTP2_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 -08007621
nnoble69ac39f2014-12-12 15:43:38 -08007622ifeq ($(NO_SECURE),true)
7623
Nicolas Noble047b7272015-01-16 13:55:05 -08007624# You can't build secure targets if you don't have OpenSSL with ALPN.
7625
ctillercab52e72015-01-06 13:10:23 -08007626bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007627
7628else
7629
nnoble5f2ecb32015-01-12 16:40:18 -08007630bins/$(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 -08007631 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007632 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007633 $(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 -08007634
nnoble69ac39f2014-12-12 15:43:38 -08007635endif
7636
Craig Tillerd4773f52015-01-12 16:38:47 -08007637
Craig Tiller8f126a62015-01-15 08:50:19 -08007638deps_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 -08007639
nnoble69ac39f2014-12-12 15:43:38 -08007640ifneq ($(NO_SECURE),true)
7641ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007642-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007643endif
nnoble69ac39f2014-12-12 15:43:38 -08007644endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007645
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007646
7647CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
7648
ctillercab52e72015-01-06 13:10:23 -08007649CHTTP2_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 -08007650
nnoble69ac39f2014-12-12 15:43:38 -08007651ifeq ($(NO_SECURE),true)
7652
Nicolas Noble047b7272015-01-16 13:55:05 -08007653# You can't build secure targets if you don't have OpenSSL with ALPN.
7654
ctillercab52e72015-01-06 13:10:23 -08007655bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007656
7657else
7658
nnoble5f2ecb32015-01-12 16:40:18 -08007659bins/$(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 -08007660 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007661 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007662 $(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 -08007663
nnoble69ac39f2014-12-12 15:43:38 -08007664endif
7665
Craig Tillerd4773f52015-01-12 16:38:47 -08007666
Craig Tiller8f126a62015-01-15 08:50:19 -08007667deps_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 -08007668
nnoble69ac39f2014-12-12 15:43:38 -08007669ifneq ($(NO_SECURE),true)
7670ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007671-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007672endif
nnoble69ac39f2014-12-12 15:43:38 -08007673endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007674
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007675
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007676CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
7677
7678CHTTP2_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))))
7679
7680ifeq ($(NO_SECURE),true)
7681
David Klempner7f3ed1e2015-01-16 15:35:56 -08007682# You can't build secure targets if you don't have OpenSSL with ALPN.
7683
Craig Tiller4ffdcd52015-01-16 11:34:55 -08007684bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: openssl_dep_error
7685
7686else
7687
7688bins/$(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
7689 $(E) "[LD] Linking $@"
7690 $(Q) mkdir -p `dirname $@`
7691 $(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
7692
7693endif
7694
7695
7696deps_chttp2_simple_ssl_with_oauth2_fullstack_graceful_server_shutdown_test: $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7697
7698ifneq ($(NO_SECURE),true)
7699ifneq ($(NO_DEPS),true)
7700-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
7701endif
7702endif
7703
7704
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007705CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_SRC = \
7706
ctillercab52e72015-01-06 13:10:23 -08007707CHTTP2_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 -08007708
nnoble69ac39f2014-12-12 15:43:38 -08007709ifeq ($(NO_SECURE),true)
7710
Nicolas Noble047b7272015-01-16 13:55:05 -08007711# You can't build secure targets if you don't have OpenSSL with ALPN.
7712
ctillercab52e72015-01-06 13:10:23 -08007713bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007714
7715else
7716
nnoble5f2ecb32015-01-12 16:40:18 -08007717bins/$(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 -08007718 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007719 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007720 $(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 -08007721
nnoble69ac39f2014-12-12 15:43:38 -08007722endif
7723
Craig Tillerd4773f52015-01-12 16:38:47 -08007724
Craig Tiller8f126a62015-01-15 08:50:19 -08007725deps_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 -08007726
nnoble69ac39f2014-12-12 15:43:38 -08007727ifneq ($(NO_SECURE),true)
7728ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007729-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007730endif
nnoble69ac39f2014-12-12 15:43:38 -08007731endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007732
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007733
7734CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_SRC = \
7735
ctillercab52e72015-01-06 13:10:23 -08007736CHTTP2_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 -08007737
nnoble69ac39f2014-12-12 15:43:38 -08007738ifeq ($(NO_SECURE),true)
7739
Nicolas Noble047b7272015-01-16 13:55:05 -08007740# You can't build secure targets if you don't have OpenSSL with ALPN.
7741
ctillercab52e72015-01-06 13:10:23 -08007742bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007743
7744else
7745
nnoble5f2ecb32015-01-12 16:40:18 -08007746bins/$(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 -08007747 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007748 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007749 $(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 -08007750
nnoble69ac39f2014-12-12 15:43:38 -08007751endif
7752
Craig Tillerd4773f52015-01-12 16:38:47 -08007753
Craig Tiller8f126a62015-01-15 08:50:19 -08007754deps_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 -08007755
nnoble69ac39f2014-12-12 15:43:38 -08007756ifneq ($(NO_SECURE),true)
7757ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007758-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007759endif
nnoble69ac39f2014-12-12 15:43:38 -08007760endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007761
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007762
7763CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_SRC = \
7764
ctillercab52e72015-01-06 13:10:23 -08007765CHTTP2_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 -08007766
nnoble69ac39f2014-12-12 15:43:38 -08007767ifeq ($(NO_SECURE),true)
7768
Nicolas Noble047b7272015-01-16 13:55:05 -08007769# You can't build secure targets if you don't have OpenSSL with ALPN.
7770
ctillercab52e72015-01-06 13:10:23 -08007771bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007772
7773else
7774
nnoble5f2ecb32015-01-12 16:40:18 -08007775bins/$(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 -08007776 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007777 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007778 $(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 -08007779
nnoble69ac39f2014-12-12 15:43:38 -08007780endif
7781
Craig Tillerd4773f52015-01-12 16:38:47 -08007782
Craig Tiller8f126a62015-01-15 08:50:19 -08007783deps_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 -08007784
nnoble69ac39f2014-12-12 15:43:38 -08007785ifneq ($(NO_SECURE),true)
7786ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007787-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007788endif
nnoble69ac39f2014-12-12 15:43:38 -08007789endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007790
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007791
7792CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_SRC = \
7793
ctillercab52e72015-01-06 13:10:23 -08007794CHTTP2_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 -08007795
nnoble69ac39f2014-12-12 15:43:38 -08007796ifeq ($(NO_SECURE),true)
7797
Nicolas Noble047b7272015-01-16 13:55:05 -08007798# You can't build secure targets if you don't have OpenSSL with ALPN.
7799
ctillercab52e72015-01-06 13:10:23 -08007800bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007801
7802else
7803
nnoble5f2ecb32015-01-12 16:40:18 -08007804bins/$(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 -08007805 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007806 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007807 $(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 -08007808
nnoble69ac39f2014-12-12 15:43:38 -08007809endif
7810
Craig Tillerd4773f52015-01-12 16:38:47 -08007811
Craig Tiller8f126a62015-01-15 08:50:19 -08007812deps_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 -08007813
nnoble69ac39f2014-12-12 15:43:38 -08007814ifneq ($(NO_SECURE),true)
7815ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007816-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007817endif
nnoble69ac39f2014-12-12 15:43:38 -08007818endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007819
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007820
ctiller33023c42014-12-12 16:28:33 -08007821CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
7822
ctillercab52e72015-01-06 13:10:23 -08007823CHTTP2_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 -08007824
7825ifeq ($(NO_SECURE),true)
7826
Nicolas Noble047b7272015-01-16 13:55:05 -08007827# You can't build secure targets if you don't have OpenSSL with ALPN.
7828
ctillercab52e72015-01-06 13:10:23 -08007829bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08007830
7831else
7832
nnoble5f2ecb32015-01-12 16:40:18 -08007833bins/$(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 -08007834 $(E) "[LD] Linking $@"
7835 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007836 $(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 -08007837
7838endif
7839
Craig Tillerd4773f52015-01-12 16:38:47 -08007840
Craig Tiller8f126a62015-01-15 08:50:19 -08007841deps_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 -08007842
7843ifneq ($(NO_SECURE),true)
7844ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007845-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08007846endif
7847endif
7848
ctiller33023c42014-12-12 16:28:33 -08007849
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007850CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
7851
ctillercab52e72015-01-06 13:10:23 -08007852CHTTP2_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 -08007853
nnoble69ac39f2014-12-12 15:43:38 -08007854ifeq ($(NO_SECURE),true)
7855
Nicolas Noble047b7272015-01-16 13:55:05 -08007856# You can't build secure targets if you don't have OpenSSL with ALPN.
7857
ctillercab52e72015-01-06 13:10:23 -08007858bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007859
7860else
7861
nnoble5f2ecb32015-01-12 16:40:18 -08007862bins/$(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 -08007863 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007864 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007865 $(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 -08007866
nnoble69ac39f2014-12-12 15:43:38 -08007867endif
7868
Craig Tillerd4773f52015-01-12 16:38:47 -08007869
Craig Tiller8f126a62015-01-15 08:50:19 -08007870deps_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 -08007871
nnoble69ac39f2014-12-12 15:43:38 -08007872ifneq ($(NO_SECURE),true)
7873ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007874-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007875endif
nnoble69ac39f2014-12-12 15:43:38 -08007876endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007877
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007878
7879CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
7880
ctillercab52e72015-01-06 13:10:23 -08007881CHTTP2_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 -08007882
nnoble69ac39f2014-12-12 15:43:38 -08007883ifeq ($(NO_SECURE),true)
7884
Nicolas Noble047b7272015-01-16 13:55:05 -08007885# You can't build secure targets if you don't have OpenSSL with ALPN.
7886
ctillercab52e72015-01-06 13:10:23 -08007887bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007888
7889else
7890
nnoble5f2ecb32015-01-12 16:40:18 -08007891bins/$(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 -08007892 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007893 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007894 $(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 -08007895
nnoble69ac39f2014-12-12 15:43:38 -08007896endif
7897
Craig Tillerd4773f52015-01-12 16:38:47 -08007898
Craig Tiller8f126a62015-01-15 08:50:19 -08007899deps_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 -08007900
nnoble69ac39f2014-12-12 15:43:38 -08007901ifneq ($(NO_SECURE),true)
7902ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007903-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007904endif
nnoble69ac39f2014-12-12 15:43:38 -08007905endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007906
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007907
ctiller2845cad2014-12-15 15:14:12 -08007908CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
7909
ctillercab52e72015-01-06 13:10:23 -08007910CHTTP2_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 -08007911
7912ifeq ($(NO_SECURE),true)
7913
Nicolas Noble047b7272015-01-16 13:55:05 -08007914# You can't build secure targets if you don't have OpenSSL with ALPN.
7915
ctillercab52e72015-01-06 13:10:23 -08007916bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08007917
7918else
7919
nnoble5f2ecb32015-01-12 16:40:18 -08007920bins/$(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 -08007921 $(E) "[LD] Linking $@"
7922 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007923 $(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 -08007924
7925endif
7926
Craig Tillerd4773f52015-01-12 16:38:47 -08007927
Craig Tiller8f126a62015-01-15 08:50:19 -08007928deps_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 -08007929
7930ifneq ($(NO_SECURE),true)
7931ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007932-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08007933endif
7934endif
7935
ctiller2845cad2014-12-15 15:14:12 -08007936
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007937CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
7938
ctillercab52e72015-01-06 13:10:23 -08007939CHTTP2_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 -08007940
nnoble69ac39f2014-12-12 15:43:38 -08007941ifeq ($(NO_SECURE),true)
7942
Nicolas Noble047b7272015-01-16 13:55:05 -08007943# You can't build secure targets if you don't have OpenSSL with ALPN.
7944
ctillercab52e72015-01-06 13:10:23 -08007945bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007946
7947else
7948
nnoble5f2ecb32015-01-12 16:40:18 -08007949bins/$(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 -08007950 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007951 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007952 $(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 -08007953
nnoble69ac39f2014-12-12 15:43:38 -08007954endif
7955
Craig Tillerd4773f52015-01-12 16:38:47 -08007956
Craig Tiller8f126a62015-01-15 08:50:19 -08007957deps_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 -08007958
nnoble69ac39f2014-12-12 15:43:38 -08007959ifneq ($(NO_SECURE),true)
7960ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007961-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007962endif
nnoble69ac39f2014-12-12 15:43:38 -08007963endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007964
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007965
7966CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_SRC = \
7967
ctillercab52e72015-01-06 13:10:23 -08007968CHTTP2_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 -08007969
nnoble69ac39f2014-12-12 15:43:38 -08007970ifeq ($(NO_SECURE),true)
7971
Nicolas Noble047b7272015-01-16 13:55:05 -08007972# You can't build secure targets if you don't have OpenSSL with ALPN.
7973
ctillercab52e72015-01-06 13:10:23 -08007974bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08007975
7976else
7977
nnoble5f2ecb32015-01-12 16:40:18 -08007978bins/$(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 -08007979 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08007980 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08007981 $(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 -08007982
nnoble69ac39f2014-12-12 15:43:38 -08007983endif
7984
Craig Tillerd4773f52015-01-12 16:38:47 -08007985
Craig Tiller8f126a62015-01-15 08:50:19 -08007986deps_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 -08007987
nnoble69ac39f2014-12-12 15:43:38 -08007988ifneq ($(NO_SECURE),true)
7989ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08007990-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007991endif
nnoble69ac39f2014-12-12 15:43:38 -08007992endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007993
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007994
nathaniel52878172014-12-09 10:17:19 -08007995CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08007996
ctillercab52e72015-01-06 13:10:23 -08007997CHTTP2_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 -08007998
nnoble69ac39f2014-12-12 15:43:38 -08007999ifeq ($(NO_SECURE),true)
8000
Nicolas Noble047b7272015-01-16 13:55:05 -08008001# You can't build secure targets if you don't have OpenSSL with ALPN.
8002
ctillercab52e72015-01-06 13:10:23 -08008003bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008004
8005else
8006
nnoble5f2ecb32015-01-12 16:40:18 -08008007bins/$(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 -08008008 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008009 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008010 $(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 -08008011
nnoble69ac39f2014-12-12 15:43:38 -08008012endif
8013
Craig Tillerd4773f52015-01-12 16:38:47 -08008014
Craig Tiller8f126a62015-01-15 08:50:19 -08008015deps_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 -08008016
nnoble69ac39f2014-12-12 15:43:38 -08008017ifneq ($(NO_SECURE),true)
8018ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008019-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008020endif
nnoble69ac39f2014-12-12 15:43:38 -08008021endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008022
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008023
8024CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8025
ctillercab52e72015-01-06 13:10:23 -08008026CHTTP2_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 -08008027
nnoble69ac39f2014-12-12 15:43:38 -08008028ifeq ($(NO_SECURE),true)
8029
Nicolas Noble047b7272015-01-16 13:55:05 -08008030# You can't build secure targets if you don't have OpenSSL with ALPN.
8031
ctillercab52e72015-01-06 13:10:23 -08008032bins/$(CONFIG)/chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008033
8034else
8035
nnoble5f2ecb32015-01-12 16:40:18 -08008036bins/$(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 -08008037 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008038 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008039 $(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 -08008040
nnoble69ac39f2014-12-12 15:43:38 -08008041endif
8042
Craig Tillerd4773f52015-01-12 16:38:47 -08008043
Craig Tiller8f126a62015-01-15 08:50:19 -08008044deps_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 -08008045
nnoble69ac39f2014-12-12 15:43:38 -08008046ifneq ($(NO_SECURE),true)
8047ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008048-include $(CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008049endif
nnoble69ac39f2014-12-12 15:43:38 -08008050endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008051
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008052
8053CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8054
ctillercab52e72015-01-06 13:10:23 -08008055CHTTP2_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 -08008056
nnoble69ac39f2014-12-12 15:43:38 -08008057ifeq ($(NO_SECURE),true)
8058
Nicolas Noble047b7272015-01-16 13:55:05 -08008059# You can't build secure targets if you don't have OpenSSL with ALPN.
8060
ctillercab52e72015-01-06 13:10:23 -08008061bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008062
8063else
8064
nnoble5f2ecb32015-01-12 16:40:18 -08008065bins/$(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 -08008066 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008067 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008068 $(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 -08008069
nnoble69ac39f2014-12-12 15:43:38 -08008070endif
8071
Craig Tillerd4773f52015-01-12 16:38:47 -08008072
Craig Tiller8f126a62015-01-15 08:50:19 -08008073deps_chttp2_socket_pair_cancel_after_accept_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008074
nnoble69ac39f2014-12-12 15:43:38 -08008075ifneq ($(NO_SECURE),true)
8076ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008077-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008078endif
nnoble69ac39f2014-12-12 15:43:38 -08008079endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008080
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008081
8082CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8083
ctillercab52e72015-01-06 13:10:23 -08008084CHTTP2_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 -08008085
nnoble69ac39f2014-12-12 15:43:38 -08008086ifeq ($(NO_SECURE),true)
8087
Nicolas Noble047b7272015-01-16 13:55:05 -08008088# You can't build secure targets if you don't have OpenSSL with ALPN.
8089
ctillercab52e72015-01-06 13:10:23 -08008090bins/$(CONFIG)/chttp2_socket_pair_cancel_after_accept_and_writes_closed_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008091
8092else
8093
nnoble5f2ecb32015-01-12 16:40:18 -08008094bins/$(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 -08008095 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008096 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008097 $(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 -08008098
nnoble69ac39f2014-12-12 15:43:38 -08008099endif
8100
Craig Tillerd4773f52015-01-12 16:38:47 -08008101
Craig Tiller8f126a62015-01-15 08:50:19 -08008102deps_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 -08008103
nnoble69ac39f2014-12-12 15:43:38 -08008104ifneq ($(NO_SECURE),true)
8105ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008106-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008107endif
nnoble69ac39f2014-12-12 15:43:38 -08008108endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008109
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008110
8111CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_SRC = \
8112
ctillercab52e72015-01-06 13:10:23 -08008113CHTTP2_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 -08008114
nnoble69ac39f2014-12-12 15:43:38 -08008115ifeq ($(NO_SECURE),true)
8116
Nicolas Noble047b7272015-01-16 13:55:05 -08008117# You can't build secure targets if you don't have OpenSSL with ALPN.
8118
ctillercab52e72015-01-06 13:10:23 -08008119bins/$(CONFIG)/chttp2_socket_pair_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008120
8121else
8122
nnoble5f2ecb32015-01-12 16:40:18 -08008123bins/$(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 -08008124 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008125 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008126 $(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 -08008127
nnoble69ac39f2014-12-12 15:43:38 -08008128endif
8129
Craig Tillerd4773f52015-01-12 16:38:47 -08008130
Craig Tiller8f126a62015-01-15 08:50:19 -08008131deps_chttp2_socket_pair_cancel_after_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008132
nnoble69ac39f2014-12-12 15:43:38 -08008133ifneq ($(NO_SECURE),true)
8134ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008135-include $(CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008136endif
nnoble69ac39f2014-12-12 15:43:38 -08008137endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008138
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008139
8140CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8141
ctillercab52e72015-01-06 13:10:23 -08008142CHTTP2_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 -08008143
nnoble69ac39f2014-12-12 15:43:38 -08008144ifeq ($(NO_SECURE),true)
8145
Nicolas Noble047b7272015-01-16 13:55:05 -08008146# You can't build secure targets if you don't have OpenSSL with ALPN.
8147
ctillercab52e72015-01-06 13:10:23 -08008148bins/$(CONFIG)/chttp2_socket_pair_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008149
8150else
8151
nnoble5f2ecb32015-01-12 16:40:18 -08008152bins/$(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 -08008153 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008154 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008155 $(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 -08008156
nnoble69ac39f2014-12-12 15:43:38 -08008157endif
8158
Craig Tillerd4773f52015-01-12 16:38:47 -08008159
Craig Tiller8f126a62015-01-15 08:50:19 -08008160deps_chttp2_socket_pair_cancel_before_invoke_test: $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008161
nnoble69ac39f2014-12-12 15:43:38 -08008162ifneq ($(NO_SECURE),true)
8163ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008164-include $(CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008165endif
nnoble69ac39f2014-12-12 15:43:38 -08008166endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008167
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008168
8169CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_SRC = \
8170
ctillercab52e72015-01-06 13:10:23 -08008171CHTTP2_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 -08008172
nnoble69ac39f2014-12-12 15:43:38 -08008173ifeq ($(NO_SECURE),true)
8174
Nicolas Noble047b7272015-01-16 13:55:05 -08008175# You can't build secure targets if you don't have OpenSSL with ALPN.
8176
ctillercab52e72015-01-06 13:10:23 -08008177bins/$(CONFIG)/chttp2_socket_pair_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008178
8179else
8180
nnoble5f2ecb32015-01-12 16:40:18 -08008181bins/$(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 -08008182 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008183 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008184 $(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 -08008185
nnoble69ac39f2014-12-12 15:43:38 -08008186endif
8187
Craig Tillerd4773f52015-01-12 16:38:47 -08008188
Craig Tiller8f126a62015-01-15 08:50:19 -08008189deps_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 -08008190
nnoble69ac39f2014-12-12 15:43:38 -08008191ifneq ($(NO_SECURE),true)
8192ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008193-include $(CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008194endif
nnoble69ac39f2014-12-12 15:43:38 -08008195endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008196
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008197
hongyu24200d32015-01-08 15:13:49 -08008198CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8199
8200CHTTP2_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 -08008201
8202ifeq ($(NO_SECURE),true)
8203
Nicolas Noble047b7272015-01-16 13:55:05 -08008204# You can't build secure targets if you don't have OpenSSL with ALPN.
8205
hongyu24200d32015-01-08 15:13:49 -08008206bins/$(CONFIG)/chttp2_socket_pair_census_simple_request_test: openssl_dep_error
8207
8208else
8209
nnoble5f2ecb32015-01-12 16:40:18 -08008210bins/$(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 -08008211 $(E) "[LD] Linking $@"
8212 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008213 $(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 -08008214
8215endif
8216
Craig Tillerd4773f52015-01-12 16:38:47 -08008217
Craig Tiller8f126a62015-01-15 08:50:19 -08008218deps_chttp2_socket_pair_census_simple_request_test: $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008219
8220ifneq ($(NO_SECURE),true)
8221ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008222-include $(CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008223endif
8224endif
8225
hongyu24200d32015-01-08 15:13:49 -08008226
ctillerc6d61c42014-12-15 14:52:08 -08008227CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_SRC = \
8228
ctillercab52e72015-01-06 13:10:23 -08008229CHTTP2_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 -08008230
8231ifeq ($(NO_SECURE),true)
8232
Nicolas Noble047b7272015-01-16 13:55:05 -08008233# You can't build secure targets if you don't have OpenSSL with ALPN.
8234
ctillercab52e72015-01-06 13:10:23 -08008235bins/$(CONFIG)/chttp2_socket_pair_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08008236
8237else
8238
nnoble5f2ecb32015-01-12 16:40:18 -08008239bins/$(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 -08008240 $(E) "[LD] Linking $@"
8241 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008242 $(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 -08008243
8244endif
8245
Craig Tillerd4773f52015-01-12 16:38:47 -08008246
Craig Tiller8f126a62015-01-15 08:50:19 -08008247deps_chttp2_socket_pair_disappearing_server_test: $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008248
8249ifneq ($(NO_SECURE),true)
8250ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008251-include $(CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008252endif
8253endif
8254
ctillerc6d61c42014-12-15 14:52:08 -08008255
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008256CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
8257
ctillercab52e72015-01-06 13:10:23 -08008258CHTTP2_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 -08008259
nnoble69ac39f2014-12-12 15:43:38 -08008260ifeq ($(NO_SECURE),true)
8261
Nicolas Noble047b7272015-01-16 13:55:05 -08008262# You can't build secure targets if you don't have OpenSSL with ALPN.
8263
ctillercab52e72015-01-06 13:10:23 -08008264bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008265
8266else
8267
nnoble5f2ecb32015-01-12 16:40:18 -08008268bins/$(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 -08008269 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008270 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008271 $(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 -08008272
nnoble69ac39f2014-12-12 15:43:38 -08008273endif
8274
Craig Tillerd4773f52015-01-12 16:38:47 -08008275
Craig Tiller8f126a62015-01-15 08:50:19 -08008276deps_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 -08008277
nnoble69ac39f2014-12-12 15:43:38 -08008278ifneq ($(NO_SECURE),true)
8279ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008280-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008281endif
nnoble69ac39f2014-12-12 15:43:38 -08008282endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008283
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008284
8285CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
8286
ctillercab52e72015-01-06 13:10:23 -08008287CHTTP2_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 -08008288
nnoble69ac39f2014-12-12 15:43:38 -08008289ifeq ($(NO_SECURE),true)
8290
Nicolas Noble047b7272015-01-16 13:55:05 -08008291# You can't build secure targets if you don't have OpenSSL with ALPN.
8292
ctillercab52e72015-01-06 13:10:23 -08008293bins/$(CONFIG)/chttp2_socket_pair_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008294
8295else
8296
nnoble5f2ecb32015-01-12 16:40:18 -08008297bins/$(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 -08008298 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008299 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008300 $(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 -08008301
nnoble69ac39f2014-12-12 15:43:38 -08008302endif
8303
Craig Tillerd4773f52015-01-12 16:38:47 -08008304
Craig Tiller8f126a62015-01-15 08:50:19 -08008305deps_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 -08008306
nnoble69ac39f2014-12-12 15:43:38 -08008307ifneq ($(NO_SECURE),true)
8308ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008309-include $(CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008310endif
nnoble69ac39f2014-12-12 15:43:38 -08008311endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008312
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008313
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008314CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
8315
8316CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS = $(addprefix objs/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC))))
8317
8318ifeq ($(NO_SECURE),true)
8319
David Klempner7f3ed1e2015-01-16 15:35:56 -08008320# You can't build secure targets if you don't have OpenSSL with ALPN.
8321
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008322bins/$(CONFIG)/chttp2_socket_pair_graceful_server_shutdown_test: openssl_dep_error
8323
8324else
8325
8326bins/$(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
8327 $(E) "[LD] Linking $@"
8328 $(Q) mkdir -p `dirname $@`
8329 $(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
8330
8331endif
8332
8333
8334deps_chttp2_socket_pair_graceful_server_shutdown_test: $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8335
8336ifneq ($(NO_SECURE),true)
8337ifneq ($(NO_DEPS),true)
8338-include $(CHTTP2_SOCKET_PAIR_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8339endif
8340endif
8341
8342
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008343CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_SRC = \
8344
ctillercab52e72015-01-06 13:10:23 -08008345CHTTP2_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 -08008346
nnoble69ac39f2014-12-12 15:43:38 -08008347ifeq ($(NO_SECURE),true)
8348
Nicolas Noble047b7272015-01-16 13:55:05 -08008349# You can't build secure targets if you don't have OpenSSL with ALPN.
8350
ctillercab52e72015-01-06 13:10:23 -08008351bins/$(CONFIG)/chttp2_socket_pair_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008352
8353else
8354
nnoble5f2ecb32015-01-12 16:40:18 -08008355bins/$(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 -08008356 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008357 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008358 $(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 -08008359
nnoble69ac39f2014-12-12 15:43:38 -08008360endif
8361
Craig Tillerd4773f52015-01-12 16:38:47 -08008362
Craig Tiller8f126a62015-01-15 08:50:19 -08008363deps_chttp2_socket_pair_invoke_large_request_test: $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008364
nnoble69ac39f2014-12-12 15:43:38 -08008365ifneq ($(NO_SECURE),true)
8366ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008367-include $(CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008368endif
nnoble69ac39f2014-12-12 15:43:38 -08008369endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008370
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008371
8372CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_SRC = \
8373
ctillercab52e72015-01-06 13:10:23 -08008374CHTTP2_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 -08008375
nnoble69ac39f2014-12-12 15:43:38 -08008376ifeq ($(NO_SECURE),true)
8377
Nicolas Noble047b7272015-01-16 13:55:05 -08008378# You can't build secure targets if you don't have OpenSSL with ALPN.
8379
ctillercab52e72015-01-06 13:10:23 -08008380bins/$(CONFIG)/chttp2_socket_pair_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008381
8382else
8383
nnoble5f2ecb32015-01-12 16:40:18 -08008384bins/$(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 -08008385 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008386 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008387 $(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 -08008388
nnoble69ac39f2014-12-12 15:43:38 -08008389endif
8390
Craig Tillerd4773f52015-01-12 16:38:47 -08008391
Craig Tiller8f126a62015-01-15 08:50:19 -08008392deps_chttp2_socket_pair_max_concurrent_streams_test: $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008393
nnoble69ac39f2014-12-12 15:43:38 -08008394ifneq ($(NO_SECURE),true)
8395ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008396-include $(CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008397endif
nnoble69ac39f2014-12-12 15:43:38 -08008398endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008399
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008400
8401CHTTP2_SOCKET_PAIR_NO_OP_TEST_SRC = \
8402
ctillercab52e72015-01-06 13:10:23 -08008403CHTTP2_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 -08008404
nnoble69ac39f2014-12-12 15:43:38 -08008405ifeq ($(NO_SECURE),true)
8406
Nicolas Noble047b7272015-01-16 13:55:05 -08008407# You can't build secure targets if you don't have OpenSSL with ALPN.
8408
ctillercab52e72015-01-06 13:10:23 -08008409bins/$(CONFIG)/chttp2_socket_pair_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008410
8411else
8412
nnoble5f2ecb32015-01-12 16:40:18 -08008413bins/$(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 -08008414 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008415 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008416 $(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 -08008417
nnoble69ac39f2014-12-12 15:43:38 -08008418endif
8419
Craig Tillerd4773f52015-01-12 16:38:47 -08008420
Craig Tiller8f126a62015-01-15 08:50:19 -08008421deps_chttp2_socket_pair_no_op_test: $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008422
nnoble69ac39f2014-12-12 15:43:38 -08008423ifneq ($(NO_SECURE),true)
8424ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008425-include $(CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008426endif
nnoble69ac39f2014-12-12 15:43:38 -08008427endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008428
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008429
8430CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_SRC = \
8431
ctillercab52e72015-01-06 13:10:23 -08008432CHTTP2_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 -08008433
nnoble69ac39f2014-12-12 15:43:38 -08008434ifeq ($(NO_SECURE),true)
8435
Nicolas Noble047b7272015-01-16 13:55:05 -08008436# You can't build secure targets if you don't have OpenSSL with ALPN.
8437
ctillercab52e72015-01-06 13:10:23 -08008438bins/$(CONFIG)/chttp2_socket_pair_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008439
8440else
8441
nnoble5f2ecb32015-01-12 16:40:18 -08008442bins/$(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 -08008443 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008444 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008445 $(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 -08008446
nnoble69ac39f2014-12-12 15:43:38 -08008447endif
8448
Craig Tillerd4773f52015-01-12 16:38:47 -08008449
Craig Tiller8f126a62015-01-15 08:50:19 -08008450deps_chttp2_socket_pair_ping_pong_streaming_test: $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008451
nnoble69ac39f2014-12-12 15:43:38 -08008452ifneq ($(NO_SECURE),true)
8453ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008454-include $(CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008455endif
nnoble69ac39f2014-12-12 15:43:38 -08008456endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008457
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008458
ctiller33023c42014-12-12 16:28:33 -08008459CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
8460
ctillercab52e72015-01-06 13:10:23 -08008461CHTTP2_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 -08008462
8463ifeq ($(NO_SECURE),true)
8464
Nicolas Noble047b7272015-01-16 13:55:05 -08008465# You can't build secure targets if you don't have OpenSSL with ALPN.
8466
ctillercab52e72015-01-06 13:10:23 -08008467bins/$(CONFIG)/chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test: openssl_dep_error
ctiller33023c42014-12-12 16:28:33 -08008468
8469else
8470
nnoble5f2ecb32015-01-12 16:40:18 -08008471bins/$(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 -08008472 $(E) "[LD] Linking $@"
8473 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008474 $(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 -08008475
8476endif
8477
Craig Tillerd4773f52015-01-12 16:38:47 -08008478
Craig Tiller8f126a62015-01-15 08:50:19 -08008479deps_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 -08008480
8481ifneq ($(NO_SECURE),true)
8482ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008483-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller33023c42014-12-12 16:28:33 -08008484endif
8485endif
8486
ctiller33023c42014-12-12 16:28:33 -08008487
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008488CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
8489
ctillercab52e72015-01-06 13:10:23 -08008490CHTTP2_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 -08008491
nnoble69ac39f2014-12-12 15:43:38 -08008492ifeq ($(NO_SECURE),true)
8493
Nicolas Noble047b7272015-01-16 13:55:05 -08008494# You can't build secure targets if you don't have OpenSSL with ALPN.
8495
ctillercab52e72015-01-06 13:10:23 -08008496bins/$(CONFIG)/chttp2_socket_pair_request_response_with_metadata_and_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008497
8498else
8499
nnoble5f2ecb32015-01-12 16:40:18 -08008500bins/$(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 -08008501 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008502 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008503 $(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 -08008504
nnoble69ac39f2014-12-12 15:43:38 -08008505endif
8506
Craig Tillerd4773f52015-01-12 16:38:47 -08008507
Craig Tiller8f126a62015-01-15 08:50:19 -08008508deps_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 -08008509
nnoble69ac39f2014-12-12 15:43:38 -08008510ifneq ($(NO_SECURE),true)
8511ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008512-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008513endif
nnoble69ac39f2014-12-12 15:43:38 -08008514endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008515
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008516
8517CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
8518
ctillercab52e72015-01-06 13:10:23 -08008519CHTTP2_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 -08008520
nnoble69ac39f2014-12-12 15:43:38 -08008521ifeq ($(NO_SECURE),true)
8522
Nicolas Noble047b7272015-01-16 13:55:05 -08008523# You can't build secure targets if you don't have OpenSSL with ALPN.
8524
ctillercab52e72015-01-06 13:10:23 -08008525bins/$(CONFIG)/chttp2_socket_pair_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008526
8527else
8528
nnoble5f2ecb32015-01-12 16:40:18 -08008529bins/$(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 -08008530 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008531 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008532 $(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 -08008533
nnoble69ac39f2014-12-12 15:43:38 -08008534endif
8535
Craig Tillerd4773f52015-01-12 16:38:47 -08008536
Craig Tiller8f126a62015-01-15 08:50:19 -08008537deps_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 -08008538
nnoble69ac39f2014-12-12 15:43:38 -08008539ifneq ($(NO_SECURE),true)
8540ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008541-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008542endif
nnoble69ac39f2014-12-12 15:43:38 -08008543endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008544
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008545
ctiller2845cad2014-12-15 15:14:12 -08008546CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
8547
ctillercab52e72015-01-06 13:10:23 -08008548CHTTP2_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 -08008549
8550ifeq ($(NO_SECURE),true)
8551
Nicolas Noble047b7272015-01-16 13:55:05 -08008552# You can't build secure targets if you don't have OpenSSL with ALPN.
8553
ctillercab52e72015-01-06 13:10:23 -08008554bins/$(CONFIG)/chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test: openssl_dep_error
ctiller2845cad2014-12-15 15:14:12 -08008555
8556else
8557
nnoble5f2ecb32015-01-12 16:40:18 -08008558bins/$(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 -08008559 $(E) "[LD] Linking $@"
8560 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008561 $(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 -08008562
8563endif
8564
Craig Tillerd4773f52015-01-12 16:38:47 -08008565
Craig Tiller8f126a62015-01-15 08:50:19 -08008566deps_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 -08008567
8568ifneq ($(NO_SECURE),true)
8569ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008570-include $(CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS:.o=.dep)
ctiller2845cad2014-12-15 15:14:12 -08008571endif
8572endif
8573
ctiller2845cad2014-12-15 15:14:12 -08008574
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008575CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
8576
ctillercab52e72015-01-06 13:10:23 -08008577CHTTP2_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 -08008578
nnoble69ac39f2014-12-12 15:43:38 -08008579ifeq ($(NO_SECURE),true)
8580
Nicolas Noble047b7272015-01-16 13:55:05 -08008581# You can't build secure targets if you don't have OpenSSL with ALPN.
8582
ctillercab52e72015-01-06 13:10:23 -08008583bins/$(CONFIG)/chttp2_socket_pair_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008584
8585else
8586
nnoble5f2ecb32015-01-12 16:40:18 -08008587bins/$(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 -08008588 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008589 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008590 $(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 -08008591
nnoble69ac39f2014-12-12 15:43:38 -08008592endif
8593
Craig Tillerd4773f52015-01-12 16:38:47 -08008594
Craig Tiller8f126a62015-01-15 08:50:19 -08008595deps_chttp2_socket_pair_simple_delayed_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008596
nnoble69ac39f2014-12-12 15:43:38 -08008597ifneq ($(NO_SECURE),true)
8598ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008599-include $(CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008600endif
nnoble69ac39f2014-12-12 15:43:38 -08008601endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008602
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008603
8604CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_SRC = \
8605
ctillercab52e72015-01-06 13:10:23 -08008606CHTTP2_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 -08008607
nnoble69ac39f2014-12-12 15:43:38 -08008608ifeq ($(NO_SECURE),true)
8609
Nicolas Noble047b7272015-01-16 13:55:05 -08008610# You can't build secure targets if you don't have OpenSSL with ALPN.
8611
ctillercab52e72015-01-06 13:10:23 -08008612bins/$(CONFIG)/chttp2_socket_pair_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008613
8614else
8615
nnoble5f2ecb32015-01-12 16:40:18 -08008616bins/$(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 -08008617 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008618 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008619 $(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 -08008620
nnoble69ac39f2014-12-12 15:43:38 -08008621endif
8622
Craig Tillerd4773f52015-01-12 16:38:47 -08008623
Craig Tiller8f126a62015-01-15 08:50:19 -08008624deps_chttp2_socket_pair_simple_request_test: $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008625
nnoble69ac39f2014-12-12 15:43:38 -08008626ifneq ($(NO_SECURE),true)
8627ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008628-include $(CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008629endif
nnoble69ac39f2014-12-12 15:43:38 -08008630endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008631
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008632
nathaniel52878172014-12-09 10:17:19 -08008633CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_SRC = \
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008634
ctillercab52e72015-01-06 13:10:23 -08008635CHTTP2_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 -08008636
nnoble69ac39f2014-12-12 15:43:38 -08008637ifeq ($(NO_SECURE),true)
8638
Nicolas Noble047b7272015-01-16 13:55:05 -08008639# You can't build secure targets if you don't have OpenSSL with ALPN.
8640
ctillercab52e72015-01-06 13:10:23 -08008641bins/$(CONFIG)/chttp2_socket_pair_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008642
8643else
8644
nnoble5f2ecb32015-01-12 16:40:18 -08008645bins/$(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 -08008646 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008647 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008648 $(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 -08008649
nnoble69ac39f2014-12-12 15:43:38 -08008650endif
8651
Craig Tillerd4773f52015-01-12 16:38:47 -08008652
Craig Tiller8f126a62015-01-15 08:50:19 -08008653deps_chttp2_socket_pair_thread_stress_test: $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008654
nnoble69ac39f2014-12-12 15:43:38 -08008655ifneq ($(NO_SECURE),true)
8656ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008657-include $(CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008658endif
nnoble69ac39f2014-12-12 15:43:38 -08008659endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008660
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008661
8662CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
8663
ctillercab52e72015-01-06 13:10:23 -08008664CHTTP2_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 -08008665
nnoble69ac39f2014-12-12 15:43:38 -08008666ifeq ($(NO_SECURE),true)
8667
Nicolas Noble047b7272015-01-16 13:55:05 -08008668# You can't build secure targets if you don't have OpenSSL with ALPN.
8669
ctillercab52e72015-01-06 13:10:23 -08008670bins/$(CONFIG)/chttp2_socket_pair_writes_done_hangs_with_pending_read_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008671
8672else
8673
nnoble5f2ecb32015-01-12 16:40:18 -08008674bins/$(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 -08008675 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008676 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008677 $(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 -08008678
nnoble69ac39f2014-12-12 15:43:38 -08008679endif
8680
Craig Tillerd4773f52015-01-12 16:38:47 -08008681
Craig Tiller8f126a62015-01-15 08:50:19 -08008682deps_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 -08008683
nnoble69ac39f2014-12-12 15:43:38 -08008684ifneq ($(NO_SECURE),true)
8685ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008686-include $(CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS:.o=.dep)
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008687endif
nnoble69ac39f2014-12-12 15:43:38 -08008688endif
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008689
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008690
nnoble0c475f02014-12-05 15:37:39 -08008691CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_SRC = \
8692
ctillercab52e72015-01-06 13:10:23 -08008693CHTTP2_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 -08008694
nnoble69ac39f2014-12-12 15:43:38 -08008695ifeq ($(NO_SECURE),true)
8696
Nicolas Noble047b7272015-01-16 13:55:05 -08008697# You can't build secure targets if you don't have OpenSSL with ALPN.
8698
ctillercab52e72015-01-06 13:10:23 -08008699bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008700
8701else
8702
nnoble5f2ecb32015-01-12 16:40:18 -08008703bins/$(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 -08008704 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008705 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008706 $(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 -08008707
nnoble69ac39f2014-12-12 15:43:38 -08008708endif
8709
Craig Tillerd4773f52015-01-12 16:38:47 -08008710
Craig Tiller8f126a62015-01-15 08:50:19 -08008711deps_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 -08008712
nnoble69ac39f2014-12-12 15:43:38 -08008713ifneq ($(NO_SECURE),true)
8714ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008715-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008716endif
nnoble69ac39f2014-12-12 15:43:38 -08008717endif
nnoble0c475f02014-12-05 15:37:39 -08008718
nnoble0c475f02014-12-05 15:37:39 -08008719
8720CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_SRC = \
8721
ctillercab52e72015-01-06 13:10:23 -08008722CHTTP2_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 -08008723
nnoble69ac39f2014-12-12 15:43:38 -08008724ifeq ($(NO_SECURE),true)
8725
Nicolas Noble047b7272015-01-16 13:55:05 -08008726# You can't build secure targets if you don't have OpenSSL with ALPN.
8727
ctillercab52e72015-01-06 13:10:23 -08008728bins/$(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 -08008729
8730else
8731
nnoble5f2ecb32015-01-12 16:40:18 -08008732bins/$(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 -08008733 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008734 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008735 $(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 -08008736
nnoble69ac39f2014-12-12 15:43:38 -08008737endif
8738
Craig Tillerd4773f52015-01-12 16:38:47 -08008739
Craig Tiller8f126a62015-01-15 08:50:19 -08008740deps_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 -08008741
nnoble69ac39f2014-12-12 15:43:38 -08008742ifneq ($(NO_SECURE),true)
8743ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008744-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 -08008745endif
nnoble69ac39f2014-12-12 15:43:38 -08008746endif
nnoble0c475f02014-12-05 15:37:39 -08008747
nnoble0c475f02014-12-05 15:37:39 -08008748
8749CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_SRC = \
8750
ctillercab52e72015-01-06 13:10:23 -08008751CHTTP2_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 -08008752
nnoble69ac39f2014-12-12 15:43:38 -08008753ifeq ($(NO_SECURE),true)
8754
Nicolas Noble047b7272015-01-16 13:55:05 -08008755# You can't build secure targets if you don't have OpenSSL with ALPN.
8756
ctillercab52e72015-01-06 13:10:23 -08008757bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008758
8759else
8760
nnoble5f2ecb32015-01-12 16:40:18 -08008761bins/$(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 -08008762 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008763 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008764 $(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 -08008765
nnoble69ac39f2014-12-12 15:43:38 -08008766endif
8767
Craig Tillerd4773f52015-01-12 16:38:47 -08008768
Craig Tiller8f126a62015-01-15 08:50:19 -08008769deps_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 -08008770
nnoble69ac39f2014-12-12 15:43:38 -08008771ifneq ($(NO_SECURE),true)
8772ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008773-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008774endif
nnoble69ac39f2014-12-12 15:43:38 -08008775endif
nnoble0c475f02014-12-05 15:37:39 -08008776
nnoble0c475f02014-12-05 15:37:39 -08008777
8778CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_SRC = \
8779
ctillercab52e72015-01-06 13:10:23 -08008780CHTTP2_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 -08008781
nnoble69ac39f2014-12-12 15:43:38 -08008782ifeq ($(NO_SECURE),true)
8783
Nicolas Noble047b7272015-01-16 13:55:05 -08008784# You can't build secure targets if you don't have OpenSSL with ALPN.
8785
ctillercab52e72015-01-06 13:10:23 -08008786bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008787
8788else
8789
nnoble5f2ecb32015-01-12 16:40:18 -08008790bins/$(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 -08008791 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008792 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008793 $(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 -08008794
nnoble69ac39f2014-12-12 15:43:38 -08008795endif
8796
Craig Tillerd4773f52015-01-12 16:38:47 -08008797
Craig Tiller8f126a62015-01-15 08:50:19 -08008798deps_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 -08008799
nnoble69ac39f2014-12-12 15:43:38 -08008800ifneq ($(NO_SECURE),true)
8801ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008802-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008803endif
nnoble69ac39f2014-12-12 15:43:38 -08008804endif
nnoble0c475f02014-12-05 15:37:39 -08008805
nnoble0c475f02014-12-05 15:37:39 -08008806
8807CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_SRC = \
8808
ctillercab52e72015-01-06 13:10:23 -08008809CHTTP2_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 -08008810
nnoble69ac39f2014-12-12 15:43:38 -08008811ifeq ($(NO_SECURE),true)
8812
Nicolas Noble047b7272015-01-16 13:55:05 -08008813# You can't build secure targets if you don't have OpenSSL with ALPN.
8814
ctillercab52e72015-01-06 13:10:23 -08008815bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008816
8817else
8818
nnoble5f2ecb32015-01-12 16:40:18 -08008819bins/$(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 -08008820 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008821 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008822 $(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 -08008823
nnoble69ac39f2014-12-12 15:43:38 -08008824endif
8825
Craig Tillerd4773f52015-01-12 16:38:47 -08008826
Craig Tiller8f126a62015-01-15 08:50:19 -08008827deps_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 -08008828
nnoble69ac39f2014-12-12 15:43:38 -08008829ifneq ($(NO_SECURE),true)
8830ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008831-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008832endif
nnoble69ac39f2014-12-12 15:43:38 -08008833endif
nnoble0c475f02014-12-05 15:37:39 -08008834
nnoble0c475f02014-12-05 15:37:39 -08008835
hongyu24200d32015-01-08 15:13:49 -08008836CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_SRC = \
8837
8838CHTTP2_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 -08008839
8840ifeq ($(NO_SECURE),true)
8841
Nicolas Noble047b7272015-01-16 13:55:05 -08008842# You can't build secure targets if you don't have OpenSSL with ALPN.
8843
hongyu24200d32015-01-08 15:13:49 -08008844bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test: openssl_dep_error
8845
8846else
8847
nnoble5f2ecb32015-01-12 16:40:18 -08008848bins/$(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 -08008849 $(E) "[LD] Linking $@"
8850 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008851 $(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 -08008852
8853endif
8854
Craig Tillerd4773f52015-01-12 16:38:47 -08008855
Craig Tiller8f126a62015-01-15 08:50:19 -08008856deps_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 -08008857
8858ifneq ($(NO_SECURE),true)
8859ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008860-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
hongyu24200d32015-01-08 15:13:49 -08008861endif
8862endif
8863
hongyu24200d32015-01-08 15:13:49 -08008864
ctillerc6d61c42014-12-15 14:52:08 -08008865CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_SRC = \
8866
ctillercab52e72015-01-06 13:10:23 -08008867CHTTP2_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 -08008868
8869ifeq ($(NO_SECURE),true)
8870
Nicolas Noble047b7272015-01-16 13:55:05 -08008871# You can't build secure targets if you don't have OpenSSL with ALPN.
8872
ctillercab52e72015-01-06 13:10:23 -08008873bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test: openssl_dep_error
ctillerc6d61c42014-12-15 14:52:08 -08008874
8875else
8876
nnoble5f2ecb32015-01-12 16:40:18 -08008877bins/$(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 -08008878 $(E) "[LD] Linking $@"
8879 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008880 $(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 -08008881
8882endif
8883
Craig Tillerd4773f52015-01-12 16:38:47 -08008884
Craig Tiller8f126a62015-01-15 08:50:19 -08008885deps_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 -08008886
8887ifneq ($(NO_SECURE),true)
8888ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008889-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS:.o=.dep)
ctillerc6d61c42014-12-15 14:52:08 -08008890endif
8891endif
8892
ctillerc6d61c42014-12-15 14:52:08 -08008893
nnoble0c475f02014-12-05 15:37:39 -08008894CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_SRC = \
8895
ctillercab52e72015-01-06 13:10:23 -08008896CHTTP2_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 -08008897
nnoble69ac39f2014-12-12 15:43:38 -08008898ifeq ($(NO_SECURE),true)
8899
Nicolas Noble047b7272015-01-16 13:55:05 -08008900# You can't build secure targets if you don't have OpenSSL with ALPN.
8901
ctillercab52e72015-01-06 13:10:23 -08008902bins/$(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 -08008903
8904else
8905
nnoble5f2ecb32015-01-12 16:40:18 -08008906bins/$(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 -08008907 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008908 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008909 $(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 -08008910
nnoble69ac39f2014-12-12 15:43:38 -08008911endif
8912
Craig Tillerd4773f52015-01-12 16:38:47 -08008913
Craig Tiller8f126a62015-01-15 08:50:19 -08008914deps_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 -08008915
nnoble69ac39f2014-12-12 15:43:38 -08008916ifneq ($(NO_SECURE),true)
8917ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008918-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 -08008919endif
nnoble69ac39f2014-12-12 15:43:38 -08008920endif
nnoble0c475f02014-12-05 15:37:39 -08008921
nnoble0c475f02014-12-05 15:37:39 -08008922
8923CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_SRC = \
8924
ctillercab52e72015-01-06 13:10:23 -08008925CHTTP2_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 -08008926
nnoble69ac39f2014-12-12 15:43:38 -08008927ifeq ($(NO_SECURE),true)
8928
Nicolas Noble047b7272015-01-16 13:55:05 -08008929# You can't build secure targets if you don't have OpenSSL with ALPN.
8930
ctillercab52e72015-01-06 13:10:23 -08008931bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008932
8933else
8934
nnoble5f2ecb32015-01-12 16:40:18 -08008935bins/$(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 -08008936 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008937 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008938 $(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 -08008939
nnoble69ac39f2014-12-12 15:43:38 -08008940endif
8941
Craig Tillerd4773f52015-01-12 16:38:47 -08008942
Craig Tiller8f126a62015-01-15 08:50:19 -08008943deps_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 -08008944
nnoble69ac39f2014-12-12 15:43:38 -08008945ifneq ($(NO_SECURE),true)
8946ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08008947-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08008948endif
nnoble69ac39f2014-12-12 15:43:38 -08008949endif
nnoble0c475f02014-12-05 15:37:39 -08008950
nnoble0c475f02014-12-05 15:37:39 -08008951
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008952CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_SRC = \
8953
8954CHTTP2_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))))
8955
8956ifeq ($(NO_SECURE),true)
8957
David Klempner7f3ed1e2015-01-16 15:35:56 -08008958# You can't build secure targets if you don't have OpenSSL with ALPN.
8959
Craig Tiller4ffdcd52015-01-16 11:34:55 -08008960bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_graceful_server_shutdown_test: openssl_dep_error
8961
8962else
8963
8964bins/$(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
8965 $(E) "[LD] Linking $@"
8966 $(Q) mkdir -p `dirname $@`
8967 $(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
8968
8969endif
8970
8971
8972deps_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)
8973
8974ifneq ($(NO_SECURE),true)
8975ifneq ($(NO_DEPS),true)
8976-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_GRACEFUL_SERVER_SHUTDOWN_TEST_OBJS:.o=.dep)
8977endif
8978endif
8979
8980
nnoble0c475f02014-12-05 15:37:39 -08008981CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_SRC = \
8982
ctillercab52e72015-01-06 13:10:23 -08008983CHTTP2_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 -08008984
nnoble69ac39f2014-12-12 15:43:38 -08008985ifeq ($(NO_SECURE),true)
8986
Nicolas Noble047b7272015-01-16 13:55:05 -08008987# You can't build secure targets if you don't have OpenSSL with ALPN.
8988
ctillercab52e72015-01-06 13:10:23 -08008989bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08008990
8991else
8992
nnoble5f2ecb32015-01-12 16:40:18 -08008993bins/$(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 -08008994 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08008995 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08008996 $(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 -08008997
nnoble69ac39f2014-12-12 15:43:38 -08008998endif
8999
Craig Tillerd4773f52015-01-12 16:38:47 -08009000
Craig Tiller8f126a62015-01-15 08:50:19 -08009001deps_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 -08009002
nnoble69ac39f2014-12-12 15:43:38 -08009003ifneq ($(NO_SECURE),true)
9004ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009005-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009006endif
nnoble69ac39f2014-12-12 15:43:38 -08009007endif
nnoble0c475f02014-12-05 15:37:39 -08009008
nnoble0c475f02014-12-05 15:37:39 -08009009
9010CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_SRC = \
9011
ctillercab52e72015-01-06 13:10:23 -08009012CHTTP2_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 -08009013
nnoble69ac39f2014-12-12 15:43:38 -08009014ifeq ($(NO_SECURE),true)
9015
Nicolas Noble047b7272015-01-16 13:55:05 -08009016# You can't build secure targets if you don't have OpenSSL with ALPN.
9017
ctillercab52e72015-01-06 13:10:23 -08009018bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009019
9020else
9021
nnoble5f2ecb32015-01-12 16:40:18 -08009022bins/$(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 -08009023 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009024 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009025 $(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 -08009026
nnoble69ac39f2014-12-12 15:43:38 -08009027endif
9028
Craig Tillerd4773f52015-01-12 16:38:47 -08009029
Craig Tiller8f126a62015-01-15 08:50:19 -08009030deps_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 -08009031
nnoble69ac39f2014-12-12 15:43:38 -08009032ifneq ($(NO_SECURE),true)
9033ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009034-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009035endif
nnoble69ac39f2014-12-12 15:43:38 -08009036endif
nnoble0c475f02014-12-05 15:37:39 -08009037
nnoble0c475f02014-12-05 15:37:39 -08009038
9039CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_SRC = \
9040
ctillercab52e72015-01-06 13:10:23 -08009041CHTTP2_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 -08009042
nnoble69ac39f2014-12-12 15:43:38 -08009043ifeq ($(NO_SECURE),true)
9044
Nicolas Noble047b7272015-01-16 13:55:05 -08009045# You can't build secure targets if you don't have OpenSSL with ALPN.
9046
ctillercab52e72015-01-06 13:10:23 -08009047bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_no_op_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009048
9049else
9050
nnoble5f2ecb32015-01-12 16:40:18 -08009051bins/$(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 -08009052 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009053 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009054 $(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 -08009055
nnoble69ac39f2014-12-12 15:43:38 -08009056endif
9057
Craig Tillerd4773f52015-01-12 16:38:47 -08009058
Craig Tiller8f126a62015-01-15 08:50:19 -08009059deps_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 -08009060
nnoble69ac39f2014-12-12 15:43:38 -08009061ifneq ($(NO_SECURE),true)
9062ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009063-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009064endif
nnoble69ac39f2014-12-12 15:43:38 -08009065endif
nnoble0c475f02014-12-05 15:37:39 -08009066
nnoble0c475f02014-12-05 15:37:39 -08009067
9068CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_SRC = \
9069
ctillercab52e72015-01-06 13:10:23 -08009070CHTTP2_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 -08009071
nnoble69ac39f2014-12-12 15:43:38 -08009072ifeq ($(NO_SECURE),true)
9073
Nicolas Noble047b7272015-01-16 13:55:05 -08009074# You can't build secure targets if you don't have OpenSSL with ALPN.
9075
ctillercab52e72015-01-06 13:10:23 -08009076bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009077
9078else
9079
nnoble5f2ecb32015-01-12 16:40:18 -08009080bins/$(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 -08009081 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009082 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009083 $(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 -08009084
nnoble69ac39f2014-12-12 15:43:38 -08009085endif
9086
Craig Tillerd4773f52015-01-12 16:38:47 -08009087
Craig Tiller8f126a62015-01-15 08:50:19 -08009088deps_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 -08009089
nnoble69ac39f2014-12-12 15:43:38 -08009090ifneq ($(NO_SECURE),true)
9091ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009092-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009093endif
nnoble69ac39f2014-12-12 15:43:38 -08009094endif
nnoble0c475f02014-12-05 15:37:39 -08009095
nnoble0c475f02014-12-05 15:37:39 -08009096
ctiller33023c42014-12-12 16:28:33 -08009097CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_SRC = \
9098
ctillercab52e72015-01-06 13:10:23 -08009099CHTTP2_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 -08009100
9101ifeq ($(NO_SECURE),true)
9102
Nicolas Noble047b7272015-01-16 13:55:05 -08009103# You can't build secure targets if you don't have OpenSSL with ALPN.
9104
ctillercab52e72015-01-06 13:10:23 -08009105bins/$(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 -08009106
9107else
9108
nnoble5f2ecb32015-01-12 16:40:18 -08009109bins/$(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 -08009110 $(E) "[LD] Linking $@"
9111 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009112 $(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 -08009113
9114endif
9115
Craig Tillerd4773f52015-01-12 16:38:47 -08009116
Craig Tiller8f126a62015-01-15 08:50:19 -08009117deps_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 -08009118
9119ifneq ($(NO_SECURE),true)
9120ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009121-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 -08009122endif
9123endif
9124
ctiller33023c42014-12-12 16:28:33 -08009125
nnoble0c475f02014-12-05 15:37:39 -08009126CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_SRC = \
9127
ctillercab52e72015-01-06 13:10:23 -08009128CHTTP2_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 -08009129
nnoble69ac39f2014-12-12 15:43:38 -08009130ifeq ($(NO_SECURE),true)
9131
Nicolas Noble047b7272015-01-16 13:55:05 -08009132# You can't build secure targets if you don't have OpenSSL with ALPN.
9133
ctillercab52e72015-01-06 13:10:23 -08009134bins/$(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 -08009135
9136else
9137
nnoble5f2ecb32015-01-12 16:40:18 -08009138bins/$(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 -08009139 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009140 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009141 $(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 -08009142
nnoble69ac39f2014-12-12 15:43:38 -08009143endif
9144
Craig Tillerd4773f52015-01-12 16:38:47 -08009145
Craig Tiller8f126a62015-01-15 08:50:19 -08009146deps_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 -08009147
nnoble69ac39f2014-12-12 15:43:38 -08009148ifneq ($(NO_SECURE),true)
9149ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009150-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 -08009151endif
nnoble69ac39f2014-12-12 15:43:38 -08009152endif
nnoble0c475f02014-12-05 15:37:39 -08009153
nnoble0c475f02014-12-05 15:37:39 -08009154
9155CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_SRC = \
9156
ctillercab52e72015-01-06 13:10:23 -08009157CHTTP2_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 -08009158
nnoble69ac39f2014-12-12 15:43:38 -08009159ifeq ($(NO_SECURE),true)
9160
Nicolas Noble047b7272015-01-16 13:55:05 -08009161# You can't build secure targets if you don't have OpenSSL with ALPN.
9162
ctillercab52e72015-01-06 13:10:23 -08009163bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009164
9165else
9166
nnoble5f2ecb32015-01-12 16:40:18 -08009167bins/$(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 -08009168 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009169 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009170 $(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 -08009171
nnoble69ac39f2014-12-12 15:43:38 -08009172endif
9173
Craig Tillerd4773f52015-01-12 16:38:47 -08009174
Craig Tiller8f126a62015-01-15 08:50:19 -08009175deps_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 -08009176
nnoble69ac39f2014-12-12 15:43:38 -08009177ifneq ($(NO_SECURE),true)
9178ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009179-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009180endif
nnoble69ac39f2014-12-12 15:43:38 -08009181endif
nnoble0c475f02014-12-05 15:37:39 -08009182
nnoble0c475f02014-12-05 15:37:39 -08009183
ctiller2845cad2014-12-15 15:14:12 -08009184CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_SRC = \
9185
ctillercab52e72015-01-06 13:10:23 -08009186CHTTP2_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 -08009187
9188ifeq ($(NO_SECURE),true)
9189
Nicolas Noble047b7272015-01-16 13:55:05 -08009190# You can't build secure targets if you don't have OpenSSL with ALPN.
9191
ctillercab52e72015-01-06 13:10:23 -08009192bins/$(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 -08009193
9194else
9195
nnoble5f2ecb32015-01-12 16:40:18 -08009196bins/$(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 -08009197 $(E) "[LD] Linking $@"
9198 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009199 $(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 -08009200
9201endif
9202
Craig Tillerd4773f52015-01-12 16:38:47 -08009203
Craig Tiller8f126a62015-01-15 08:50:19 -08009204deps_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 -08009205
9206ifneq ($(NO_SECURE),true)
9207ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009208-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 -08009209endif
9210endif
9211
ctiller2845cad2014-12-15 15:14:12 -08009212
nnoble0c475f02014-12-05 15:37:39 -08009213CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_SRC = \
9214
ctillercab52e72015-01-06 13:10:23 -08009215CHTTP2_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 -08009216
nnoble69ac39f2014-12-12 15:43:38 -08009217ifeq ($(NO_SECURE),true)
9218
Nicolas Noble047b7272015-01-16 13:55:05 -08009219# You can't build secure targets if you don't have OpenSSL with ALPN.
9220
ctillercab52e72015-01-06 13:10:23 -08009221bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009222
9223else
9224
nnoble5f2ecb32015-01-12 16:40:18 -08009225bins/$(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 -08009226 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009227 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009228 $(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 -08009229
nnoble69ac39f2014-12-12 15:43:38 -08009230endif
9231
Craig Tillerd4773f52015-01-12 16:38:47 -08009232
Craig Tiller8f126a62015-01-15 08:50:19 -08009233deps_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 -08009234
nnoble69ac39f2014-12-12 15:43:38 -08009235ifneq ($(NO_SECURE),true)
9236ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009237-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009238endif
nnoble69ac39f2014-12-12 15:43:38 -08009239endif
nnoble0c475f02014-12-05 15:37:39 -08009240
nnoble0c475f02014-12-05 15:37:39 -08009241
9242CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_SRC = \
9243
ctillercab52e72015-01-06 13:10:23 -08009244CHTTP2_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 -08009245
nnoble69ac39f2014-12-12 15:43:38 -08009246ifeq ($(NO_SECURE),true)
9247
Nicolas Noble047b7272015-01-16 13:55:05 -08009248# You can't build secure targets if you don't have OpenSSL with ALPN.
9249
ctillercab52e72015-01-06 13:10:23 -08009250bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_simple_request_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009251
9252else
9253
nnoble5f2ecb32015-01-12 16:40:18 -08009254bins/$(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 -08009255 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009256 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009257 $(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 -08009258
nnoble69ac39f2014-12-12 15:43:38 -08009259endif
9260
Craig Tillerd4773f52015-01-12 16:38:47 -08009261
Craig Tiller8f126a62015-01-15 08:50:19 -08009262deps_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 -08009263
nnoble69ac39f2014-12-12 15:43:38 -08009264ifneq ($(NO_SECURE),true)
9265ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009266-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009267endif
nnoble69ac39f2014-12-12 15:43:38 -08009268endif
nnoble0c475f02014-12-05 15:37:39 -08009269
nnoble0c475f02014-12-05 15:37:39 -08009270
nathaniel52878172014-12-09 10:17:19 -08009271CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_SRC = \
nnoble0c475f02014-12-05 15:37:39 -08009272
ctillercab52e72015-01-06 13:10:23 -08009273CHTTP2_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 -08009274
nnoble69ac39f2014-12-12 15:43:38 -08009275ifeq ($(NO_SECURE),true)
9276
Nicolas Noble047b7272015-01-16 13:55:05 -08009277# You can't build secure targets if you don't have OpenSSL with ALPN.
9278
ctillercab52e72015-01-06 13:10:23 -08009279bins/$(CONFIG)/chttp2_socket_pair_one_byte_at_a_time_thread_stress_test: openssl_dep_error
nnoble69ac39f2014-12-12 15:43:38 -08009280
9281else
9282
nnoble5f2ecb32015-01-12 16:40:18 -08009283bins/$(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 -08009284 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009285 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009286 $(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 -08009287
nnoble69ac39f2014-12-12 15:43:38 -08009288endif
9289
Craig Tillerd4773f52015-01-12 16:38:47 -08009290
Craig Tiller8f126a62015-01-15 08:50:19 -08009291deps_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 -08009292
nnoble69ac39f2014-12-12 15:43:38 -08009293ifneq ($(NO_SECURE),true)
9294ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009295-include $(CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS:.o=.dep)
nnoble0c475f02014-12-05 15:37:39 -08009296endif
nnoble69ac39f2014-12-12 15:43:38 -08009297endif
nnoble0c475f02014-12-05 15:37:39 -08009298
nnoble0c475f02014-12-05 15:37:39 -08009299
9300CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_SRC = \
9301
ctillercab52e72015-01-06 13:10:23 -08009302CHTTP2_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 -08009303
nnoble69ac39f2014-12-12 15:43:38 -08009304ifeq ($(NO_SECURE),true)
9305
Nicolas Noble047b7272015-01-16 13:55:05 -08009306# You can't build secure targets if you don't have OpenSSL with ALPN.
9307
ctillercab52e72015-01-06 13:10:23 -08009308bins/$(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 -08009309
9310else
9311
nnoble5f2ecb32015-01-12 16:40:18 -08009312bins/$(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 -08009313 $(E) "[LD] Linking $@"
nnoble85a49262014-12-08 18:14:03 -08009314 $(Q) mkdir -p `dirname $@`
nnoble5f2ecb32015-01-12 16:40:18 -08009315 $(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 -08009316
nnoble69ac39f2014-12-12 15:43:38 -08009317endif
9318
Craig Tillerd4773f52015-01-12 16:38:47 -08009319
Craig Tiller8f126a62015-01-15 08:50:19 -08009320deps_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 -08009321
nnoble69ac39f2014-12-12 15:43:38 -08009322ifneq ($(NO_SECURE),true)
9323ifneq ($(NO_DEPS),true)
Craig Tiller8f126a62015-01-15 08:50:19 -08009324-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 -08009325endif
nnoble69ac39f2014-12-12 15:43:38 -08009326endif
nnoble0c475f02014-12-05 15:37:39 -08009327
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08009328
9329
9330
9331
nnoble0c475f02014-12-05 15:37:39 -08009332
Craig Tillerf0afe502015-01-15 09:04:49 -08009333.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 -08009334