Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1 | # GRPC global makefile |
| 2 | # This currently builds C and C++ code. |
Nicolas "Pixel" Noble | d49893d | 2015-04-21 04:57:45 +0200 | [diff] [blame] | 3 | # This file has been automatically generated from a template file. |
| 4 | # Please look at the templates directory instead. |
murgatroid99 | f680af0 | 2015-06-22 11:20:24 -0700 | [diff] [blame] | 5 | # This file can be regenerated from the template by running |
| 6 | # tools/buildgen/generate_projects.sh |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7 | |
Craig Tiller | 6169d5f | 2016-03-31 07:46:18 -0700 | [diff] [blame] | 8 | # Copyright 2015, Google Inc. |
Craig Tiller | 3b93548 | 2015-02-16 12:15:48 -0800 | [diff] [blame] | 9 | # All rights reserved. |
| 10 | # |
| 11 | # Redistribution and use in source and binary forms, with or without |
| 12 | # modification, are permitted provided that the following conditions are |
| 13 | # met: |
| 14 | # |
| 15 | # * Redistributions of source code must retain the above copyright |
| 16 | # notice, this list of conditions and the following disclaimer. |
| 17 | # * Redistributions in binary form must reproduce the above |
| 18 | # copyright notice, this list of conditions and the following disclaimer |
| 19 | # in the documentation and/or other materials provided with the |
| 20 | # distribution. |
| 21 | # * Neither the name of Google Inc. nor the names of its |
| 22 | # contributors may be used to endorse or promote products derived from |
| 23 | # this software without specific prior written permission. |
| 24 | # |
| 25 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 26 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 27 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 28 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 29 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 30 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 31 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 32 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 33 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 34 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 35 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 36 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 37 | |
Craig Tiller | 96b4955 | 2015-01-21 16:29:01 -0800 | [diff] [blame] | 38 | |
Craig Tiller | 71a8604 | 2016-01-15 14:59:58 -0800 | [diff] [blame] | 39 | comma := , |
| 40 | |
| 41 | |
Craig Tiller | 96b4955 | 2015-01-21 16:29:01 -0800 | [diff] [blame] | 42 | # Basic platform detection |
| 43 | HOST_SYSTEM = $(shell uname | cut -f 1 -d_) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 44 | SYSTEM ?= $(HOST_SYSTEM) |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 45 | ifeq ($(SYSTEM),MSYS) |
| 46 | SYSTEM = MINGW32 |
| 47 | endif |
Nicolas "Pixel" Noble | 5fc1adf | 2015-05-10 22:20:31 +0200 | [diff] [blame] | 48 | ifeq ($(SYSTEM),MINGW64) |
| 49 | SYSTEM = MINGW32 |
| 50 | endif |
Craig Tiller | 96b4955 | 2015-01-21 16:29:01 -0800 | [diff] [blame] | 51 | |
| 52 | |
Nicolas "Pixel" Noble | 6dad9b0 | 2015-09-23 18:32:26 +0200 | [diff] [blame] | 53 | MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 54 | ifndef BUILDDIR |
Nicolas "Pixel" Noble | 42b4c28 | 2015-09-17 23:57:08 +0200 | [diff] [blame] | 55 | BUILDDIR_ABSOLUTE = $(patsubst %/,%,$(dir $(MAKEFILE_PATH))) |
| 56 | else |
| 57 | BUILDDIR_ABSOLUTE = $(abspath $(BUILDDIR)) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 58 | endif |
| 59 | |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 60 | HAS_GCC = $(shell which gcc > /dev/null 2> /dev/null && echo true || echo false) |
| 61 | HAS_CC = $(shell which cc > /dev/null 2> /dev/null && echo true || echo false) |
| 62 | HAS_CLANG = $(shell which clang > /dev/null 2> /dev/null && echo true || echo false) |
| 63 | |
| 64 | ifeq ($(HAS_CC),true) |
| 65 | DEFAULT_CC = cc |
| 66 | DEFAULT_CXX = c++ |
| 67 | else |
| 68 | ifeq ($(HAS_GCC),true) |
| 69 | DEFAULT_CC = gcc |
| 70 | DEFAULT_CXX = g++ |
| 71 | else |
| 72 | ifeq ($(HAS_CLANG),true) |
| 73 | DEFAULT_CC = clang |
| 74 | DEFAULT_CXX = clang++ |
| 75 | else |
| 76 | DEFAULT_CC = no_c_compiler |
| 77 | DEFAULT_CXX = no_c++_compiler |
| 78 | endif |
| 79 | endif |
| 80 | endif |
| 81 | |
| 82 | |
Nicolas "Pixel" Noble | 42b4c28 | 2015-09-17 23:57:08 +0200 | [diff] [blame] | 83 | BINDIR = $(BUILDDIR_ABSOLUTE)/bins |
| 84 | OBJDIR = $(BUILDDIR_ABSOLUTE)/objs |
| 85 | LIBDIR = $(BUILDDIR_ABSOLUTE)/libs |
| 86 | GENDIR = $(BUILDDIR_ABSOLUTE)/gens |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 87 | |
ctiller | 8cfebb9 | 2015-01-06 15:02:12 -0800 | [diff] [blame] | 88 | # Configurations |
| 89 | |
| 90 | VALID_CONFIG_opt = 1 |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 91 | CC_opt = $(DEFAULT_CC) |
| 92 | CXX_opt = $(DEFAULT_CXX) |
| 93 | LD_opt = $(DEFAULT_CC) |
| 94 | LDXX_opt = $(DEFAULT_CXX) |
ctiller | 8cfebb9 | 2015-01-06 15:02:12 -0800 | [diff] [blame] | 95 | CPPFLAGS_opt = -O2 |
ctiller | 8cfebb9 | 2015-01-06 15:02:12 -0800 | [diff] [blame] | 96 | DEFINES_opt = NDEBUG |
| 97 | |
Craig Tiller | ae94594 | 2016-03-23 21:43:58 -0700 | [diff] [blame] | 98 | VALID_CONFIG_asan-trace-cmp = 1 |
| 99 | REQUIRE_CUSTOM_LIBRARIES_asan-trace-cmp = 1 |
| 100 | CC_asan-trace-cmp = clang |
| 101 | CXX_asan-trace-cmp = clang++ |
| 102 | LD_asan-trace-cmp = clang |
| 103 | LDXX_asan-trace-cmp = clang++ |
Craig Tiller | ff82239 | 2016-03-23 21:46:52 -0700 | [diff] [blame] | 104 | CPPFLAGS_asan-trace-cmp = -O0 -fsanitize-coverage=edge -fsanitize-coverage=trace-cmp -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS |
Craig Tiller | ae94594 | 2016-03-23 21:43:58 -0700 | [diff] [blame] | 105 | LDFLAGS_asan-trace-cmp = -fsanitize=address |
| 106 | DEFINES_asan-trace-cmp += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=3 |
| 107 | |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 108 | VALID_CONFIG_dbg = 1 |
| 109 | CC_dbg = $(DEFAULT_CC) |
| 110 | CXX_dbg = $(DEFAULT_CXX) |
| 111 | LD_dbg = $(DEFAULT_CC) |
| 112 | LDXX_dbg = $(DEFAULT_CXX) |
| 113 | CPPFLAGS_dbg = -O0 |
| 114 | DEFINES_dbg = _DEBUG DEBUG |
| 115 | |
| 116 | VALID_CONFIG_easan = 1 |
| 117 | REQUIRE_CUSTOM_LIBRARIES_easan = 1 |
| 118 | CC_easan = clang |
| 119 | CXX_easan = clang++ |
| 120 | LD_easan = clang |
| 121 | LDXX_easan = clang++ |
Craig Tiller | 32173c5 | 2016-03-17 14:12:45 -0700 | [diff] [blame] | 122 | CPPFLAGS_easan = -O0 -fsanitize-coverage=edge -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 123 | LDFLAGS_easan = -fsanitize=address |
| 124 | DEFINES_easan = _DEBUG DEBUG GRPC_EXECUTION_CONTEXT_SANITIZER |
| 125 | DEFINES_easan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=3 |
| 126 | |
| 127 | VALID_CONFIG_asan = 1 |
| 128 | REQUIRE_CUSTOM_LIBRARIES_asan = 1 |
| 129 | CC_asan = clang |
| 130 | CXX_asan = clang++ |
| 131 | LD_asan = clang |
| 132 | LDXX_asan = clang++ |
Craig Tiller | 32173c5 | 2016-03-17 14:12:45 -0700 | [diff] [blame] | 133 | CPPFLAGS_asan = -O0 -fsanitize-coverage=edge -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 134 | LDFLAGS_asan = -fsanitize=address |
| 135 | DEFINES_asan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=3 |
| 136 | |
| 137 | VALID_CONFIG_msan = 1 |
| 138 | REQUIRE_CUSTOM_LIBRARIES_msan = 1 |
| 139 | CC_msan = clang |
| 140 | CXX_msan = clang++ |
| 141 | LD_msan = clang |
| 142 | LDXX_msan = clang++ |
Craig Tiller | 32173c5 | 2016-03-17 14:12:45 -0700 | [diff] [blame] | 143 | CPPFLAGS_msan = -O0 -fsanitize-coverage=edge -fsanitize=memory -fsanitize-memory-track-origins -fno-omit-frame-pointer -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1 -Wno-unused-command-line-argument -fPIE -pie -DGPR_NO_DIRECT_SYSCALLS |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 144 | LDFLAGS_msan = -fsanitize=memory -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1 -fPIE -pie $(if $(JENKINS_BUILD),-Wl$(comma)-Ttext-segment=0x7e0000000000,) |
| 145 | DEFINES_msan = NDEBUG |
| 146 | DEFINES_msan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=4 |
| 147 | |
David Garcia Quintas | 8954e90 | 2015-04-29 09:46:33 -0700 | [diff] [blame] | 148 | VALID_CONFIG_basicprof = 1 |
| 149 | CC_basicprof = $(DEFAULT_CC) |
| 150 | CXX_basicprof = $(DEFAULT_CXX) |
| 151 | LD_basicprof = $(DEFAULT_CC) |
| 152 | LDXX_basicprof = $(DEFAULT_CXX) |
Craig Tiller | 113d169 | 2015-05-01 15:26:15 -0700 | [diff] [blame] | 153 | CPPFLAGS_basicprof = -O2 -DGRPC_BASIC_PROFILER -DGRPC_TIMERS_RDTSC |
David Garcia Quintas | 8954e90 | 2015-04-29 09:46:33 -0700 | [diff] [blame] | 154 | DEFINES_basicprof = NDEBUG |
| 155 | |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 156 | VALID_CONFIG_helgrind = 1 |
| 157 | CC_helgrind = $(DEFAULT_CC) |
| 158 | CXX_helgrind = $(DEFAULT_CXX) |
| 159 | LD_helgrind = $(DEFAULT_CC) |
Craig Tiller | aff3d50 | 2016-01-20 15:59:31 -0800 | [diff] [blame] | 160 | LDXX_helgrind = $(DEFAULT_CXX) |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 161 | CPPFLAGS_helgrind = -O0 |
| 162 | LDFLAGS_helgrind = -rdynamic |
| 163 | DEFINES_helgrind = _DEBUG DEBUG |
| 164 | DEFINES_helgrind += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=20 |
Vijay Pai | bc17113 | 2015-04-13 10:58:06 -0700 | [diff] [blame] | 165 | |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 166 | VALID_CONFIG_asan-noleaks = 1 |
Craig Tiller | 81df68d | 2016-01-21 13:59:50 -0800 | [diff] [blame] | 167 | REQUIRE_CUSTOM_LIBRARIES_asan-noleaks = 1 |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 168 | CC_asan-noleaks = clang |
| 169 | CXX_asan-noleaks = clang++ |
| 170 | LD_asan-noleaks = clang |
| 171 | LDXX_asan-noleaks = clang++ |
Craig Tiller | 32173c5 | 2016-03-17 14:12:45 -0700 | [diff] [blame] | 172 | CPPFLAGS_asan-noleaks = -O0 -fsanitize-coverage=edge -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 173 | LDFLAGS_asan-noleaks = -fsanitize=address |
Vijay Pai | 3b28872 | 2016-02-19 00:28:28 -0800 | [diff] [blame] | 174 | DEFINES_asan-noleaks += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=3 |
ctiller | 8cfebb9 | 2015-01-06 15:02:12 -0800 | [diff] [blame] | 175 | |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 176 | VALID_CONFIG_edbg = 1 |
| 177 | CC_edbg = $(DEFAULT_CC) |
| 178 | CXX_edbg = $(DEFAULT_CXX) |
| 179 | LD_edbg = $(DEFAULT_CC) |
| 180 | LDXX_edbg = $(DEFAULT_CXX) |
| 181 | CPPFLAGS_edbg = -O0 |
| 182 | DEFINES_edbg = _DEBUG DEBUG GRPC_EXECUTION_CONTEXT_SANITIZER |
| 183 | |
Craig Tiller | 96bd5f6 | 2015-02-13 09:04:13 -0800 | [diff] [blame] | 184 | VALID_CONFIG_ubsan = 1 |
| 185 | REQUIRE_CUSTOM_LIBRARIES_ubsan = 1 |
| 186 | CC_ubsan = clang |
| 187 | CXX_ubsan = clang++ |
| 188 | LD_ubsan = clang |
| 189 | LDXX_ubsan = clang++ |
yang-g | 6ce4d0b | 2016-05-12 16:43:17 -0700 | [diff] [blame] | 190 | CPPFLAGS_ubsan = -O0 -fsanitize-coverage=edge -fsanitize=undefined,unsigned-integer-overflow -fno-omit-frame-pointer -Wno-unused-command-line-argument -Wvarargs |
| 191 | LDFLAGS_ubsan = -fsanitize=undefined,unsigned-integer-overflow |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 192 | DEFINES_ubsan = NDEBUG |
| 193 | DEFINES_ubsan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=1.5 |
| 194 | |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 195 | VALID_CONFIG_tsan = 1 |
| 196 | REQUIRE_CUSTOM_LIBRARIES_tsan = 1 |
| 197 | CC_tsan = clang |
| 198 | CXX_tsan = clang++ |
| 199 | LD_tsan = clang |
| 200 | LDXX_tsan = clang++ |
Craig Tiller | 5bda4d4 | 2016-03-17 17:27:11 -0700 | [diff] [blame] | 201 | CPPFLAGS_tsan = -O0 -fsanitize=thread -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS |
| 202 | LDFLAGS_tsan = -fsanitize=thread |
Sree Kuchibhotla | ad2c477 | 2016-06-13 19:06:54 -0700 | [diff] [blame] | 203 | DEFINES_tsan = GRPC_TSAN |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 204 | DEFINES_tsan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=5 |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 205 | |
| 206 | VALID_CONFIG_stapprof = 1 |
| 207 | CC_stapprof = $(DEFAULT_CC) |
| 208 | CXX_stapprof = $(DEFAULT_CXX) |
| 209 | LD_stapprof = $(DEFAULT_CC) |
Craig Tiller | aff3d50 | 2016-01-20 15:59:31 -0800 | [diff] [blame] | 210 | LDXX_stapprof = $(DEFAULT_CXX) |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 211 | CPPFLAGS_stapprof = -O2 -DGRPC_STAP_PROFILER |
| 212 | DEFINES_stapprof = NDEBUG |
Craig Tiller | 96bd5f6 | 2015-02-13 09:04:13 -0800 | [diff] [blame] | 213 | |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 214 | VALID_CONFIG_mutrace = 1 |
| 215 | CC_mutrace = $(DEFAULT_CC) |
| 216 | CXX_mutrace = $(DEFAULT_CXX) |
| 217 | LD_mutrace = $(DEFAULT_CC) |
| 218 | LDXX_mutrace = $(DEFAULT_CXX) |
Craig Tiller | c3b88b0 | 2016-05-16 11:21:17 -0700 | [diff] [blame] | 219 | CPPFLAGS_mutrace = -O3 -fno-omit-frame-pointer |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 220 | LDFLAGS_mutrace = -rdynamic |
Craig Tiller | c3b88b0 | 2016-05-16 11:21:17 -0700 | [diff] [blame] | 221 | DEFINES_mutrace = NDEBUG |
Craig Tiller | 934baa3 | 2015-01-12 18:19:45 -0800 | [diff] [blame] | 222 | |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 223 | VALID_CONFIG_memcheck = 1 |
| 224 | CC_memcheck = $(DEFAULT_CC) |
| 225 | CXX_memcheck = $(DEFAULT_CXX) |
| 226 | LD_memcheck = $(DEFAULT_CC) |
Craig Tiller | aff3d50 | 2016-01-20 15:59:31 -0800 | [diff] [blame] | 227 | LDXX_memcheck = $(DEFAULT_CXX) |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 228 | CPPFLAGS_memcheck = -O0 |
| 229 | LDFLAGS_memcheck = -rdynamic |
| 230 | DEFINES_memcheck = _DEBUG DEBUG |
| 231 | DEFINES_memcheck += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=10 |
| 232 | |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 233 | VALID_CONFIG_etsan = 1 |
| 234 | REQUIRE_CUSTOM_LIBRARIES_etsan = 1 |
| 235 | CC_etsan = clang |
| 236 | CXX_etsan = clang++ |
| 237 | LD_etsan = clang |
| 238 | LDXX_etsan = clang++ |
Craig Tiller | 5bda4d4 | 2016-03-17 17:27:11 -0700 | [diff] [blame] | 239 | CPPFLAGS_etsan = -O0 -fsanitize=thread -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS |
| 240 | LDFLAGS_etsan = -fsanitize=thread |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 241 | DEFINES_etsan = _DEBUG DEBUG GRPC_EXECUTION_CONTEXT_SANITIZER |
| 242 | DEFINES_etsan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=5 |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 243 | |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 244 | VALID_CONFIG_gcov = 1 |
| 245 | CC_gcov = gcc |
| 246 | CXX_gcov = g++ |
| 247 | LD_gcov = gcc |
| 248 | LDXX_gcov = g++ |
| 249 | CPPFLAGS_gcov = -O0 -fprofile-arcs -ftest-coverage -Wno-return-type |
| 250 | LDFLAGS_gcov = -fprofile-arcs -ftest-coverage -rdynamic |
| 251 | DEFINES_gcov = _DEBUG DEBUG GPR_GCOV |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 252 | |
| 253 | |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 254 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 255 | # General settings. |
| 256 | # You may want to change these depending on your system. |
| 257 | |
| 258 | prefix ?= /usr/local |
| 259 | |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 260 | PROTOC ?= protoc |
| 261 | DTRACE ?= dtrace |
yangg | 102e4fe | 2015-01-06 16:02:50 -0800 | [diff] [blame] | 262 | CONFIG ?= opt |
Nicolas "Pixel" Noble | fba36bc | 2016-01-27 03:24:03 +0100 | [diff] [blame] | 263 | # Doing X ?= Y is the same as: |
| 264 | # ifeq ($(origin X), undefined) |
| 265 | # X = Y |
| 266 | # endif |
| 267 | # but some variables, such as CC, CXX, LD or AR, have defaults. |
| 268 | # So instead of using ?= on them, we need to check their origin. |
| 269 | # See: |
| 270 | # https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html |
| 271 | # https://www.gnu.org/software/make/manual/html_node/Flavors.html#index-_003f_003d |
| 272 | # https://www.gnu.org/software/make/manual/html_node/Origin-Function.html |
| 273 | ifeq ($(origin CC), default) |
ctiller | 8cfebb9 | 2015-01-06 15:02:12 -0800 | [diff] [blame] | 274 | CC = $(CC_$(CONFIG)) |
Nicolas "Pixel" Noble | fba36bc | 2016-01-27 03:24:03 +0100 | [diff] [blame] | 275 | endif |
| 276 | ifeq ($(origin CXX), default) |
ctiller | 8cfebb9 | 2015-01-06 15:02:12 -0800 | [diff] [blame] | 277 | CXX = $(CXX_$(CONFIG)) |
Nicolas "Pixel" Noble | fba36bc | 2016-01-27 03:24:03 +0100 | [diff] [blame] | 278 | endif |
| 279 | ifeq ($(origin LD), default) |
ctiller | 8cfebb9 | 2015-01-06 15:02:12 -0800 | [diff] [blame] | 280 | LD = $(LD_$(CONFIG)) |
Nicolas "Pixel" Noble | fba36bc | 2016-01-27 03:24:03 +0100 | [diff] [blame] | 281 | endif |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 282 | LDXX ?= $(LDXX_$(CONFIG)) |
Nicolas "Pixel" Noble | d7631a4 | 2015-02-27 07:52:39 +0100 | [diff] [blame] | 283 | ifeq ($(SYSTEM),Linux) |
Nicolas "Pixel" Noble | 6e72dae | 2016-02-03 04:23:08 +0100 | [diff] [blame] | 284 | ifeq ($(origin AR), default) |
| 285 | AR = ar rcs |
| 286 | endif |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 287 | STRIP ?= strip --strip-unneeded |
Nicolas "Pixel" Noble | d7631a4 | 2015-02-27 07:52:39 +0100 | [diff] [blame] | 288 | else |
| 289 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 6e72dae | 2016-02-03 04:23:08 +0100 | [diff] [blame] | 290 | ifeq ($(origin AR), default) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 291 | AR = libtool -no_warning_for_no_symbols -o |
Nicolas "Pixel" Noble | 6e72dae | 2016-02-03 04:23:08 +0100 | [diff] [blame] | 292 | endif |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 293 | STRIP ?= strip -x |
Nicolas "Pixel" Noble | d7631a4 | 2015-02-27 07:52:39 +0100 | [diff] [blame] | 294 | else |
Nicolas "Pixel" Noble | 6e72dae | 2016-02-03 04:23:08 +0100 | [diff] [blame] | 295 | ifeq ($(origin AR), default) |
| 296 | AR = ar rcs |
| 297 | endif |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 298 | STRIP ?= strip |
Nicolas "Pixel" Noble | d7631a4 | 2015-02-27 07:52:39 +0100 | [diff] [blame] | 299 | endif |
| 300 | endif |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 301 | INSTALL ?= install |
| 302 | RM ?= rm -f |
| 303 | PKG_CONFIG ?= pkg-config |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 304 | |
yangg | 102e4fe | 2015-01-06 16:02:50 -0800 | [diff] [blame] | 305 | ifndef VALID_CONFIG_$(CONFIG) |
| 306 | $(error Invalid CONFIG value '$(CONFIG)') |
| 307 | endif |
| 308 | |
Nicolas "Pixel" Noble | e758ed1 | 2015-03-11 22:51:39 +0100 | [diff] [blame] | 309 | ifeq ($(SYSTEM),Linux) |
| 310 | TMPOUT = /dev/null |
| 311 | else |
| 312 | TMPOUT = `mktemp /tmp/test-out-XXXXXX` |
| 313 | endif |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 314 | |
Craig Tiller | cf133f4 | 2015-02-26 14:05:56 -0800 | [diff] [blame] | 315 | # Detect if we can use C++11 |
Nicolas "Pixel" Noble | e758ed1 | 2015-03-11 22:51:39 +0100 | [diff] [blame] | 316 | CXX11_CHECK_CMD = $(CXX) -std=c++11 -o $(TMPOUT) -c test/build/c++11.cc |
Craig Tiller | cf133f4 | 2015-02-26 14:05:56 -0800 | [diff] [blame] | 317 | HAS_CXX11 = $(shell $(CXX11_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 318 | |
Craig Tiller | 804b855 | 2016-02-23 16:50:24 -0800 | [diff] [blame] | 319 | CHECK_SHADOW_WORKS_CMD = $(CC) -std=c99 -Werror -Wshadow -o $(TMPOUT) -c test/build/shadow.c |
| 320 | HAS_WORKING_SHADOW = $(shell $(CHECK_SHADOW_WORKS_CMD) 2> /dev/null && echo true || echo false) |
| 321 | ifeq ($(HAS_WORKING_SHADOW),true) |
| 322 | W_SHADOW=-Wshadow |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 323 | NO_W_SHADOW=-Wno-shadow |
Craig Tiller | 804b855 | 2016-02-23 16:50:24 -0800 | [diff] [blame] | 324 | endif |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 325 | CHECK_EXTRA_SEMI_WORKS_CMD = $(CC) -std=c99 -Werror -Wextra-semi -o $(TMPOUT) -c test/build/extra-semi.c |
| 326 | HAS_WORKING_EXTRA_SEMI = $(shell $(CHECK_EXTRA_SEMI_WORKS_CMD) 2> /dev/null && echo true || echo false) |
| 327 | ifeq ($(HAS_WORKING_EXTRA_SEMI),true) |
| 328 | W_EXTRA_SEMI=-Wextra-semi |
| 329 | NO_W_EXTRA_SEMI=-Wno-extra-semi |
| 330 | endif |
| 331 | CHECK_NO_SHIFT_NEGATIVE_VALUE_WORKS_CMD = $(CC) -std=c99 -Werror -Wno-shift-negative-value -o $(TMPOUT) -c test/build/no-shift-negative-value.c |
| 332 | HAS_WORKING_NO_SHIFT_NEGATIVE_VALUE = $(shell $(CHECK_NO_SHIFT_NEGATIVE_VALUE_WORKS_CMD) 2> /dev/null && echo true || echo false) |
| 333 | ifeq ($(HAS_WORKING_NO_SHIFT_NEGATIVE_VALUE),true) |
Craig Tiller | f9ceb1d | 2016-01-25 10:55:20 -0800 | [diff] [blame] | 334 | W_NO_SHIFT_NEGATIVE_VALUE=-Wno-shift-negative-value |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 335 | NO_W_NO_SHIFT_NEGATIVE_VALUE=-Wshift-negative-value |
Craig Tiller | f9ceb1d | 2016-01-25 10:55:20 -0800 | [diff] [blame] | 336 | endif |
| 337 | |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 338 | # The HOST compiler settings are used to compile the protoc plugins. |
| 339 | # In most cases, you won't have to change anything, but if you are |
| 340 | # cross-compiling, you can override these variables from GNU make's |
| 341 | # command line: make CC=cross-gcc HOST_CC=gcc |
| 342 | |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 343 | HOST_CC ?= $(CC) |
| 344 | HOST_CXX ?= $(CXX) |
| 345 | HOST_LD ?= $(LD) |
| 346 | HOST_LDXX ?= $(LDXX) |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 347 | |
Craig Tiller | 86fa1c5 | 2015-02-27 09:57:58 -0800 | [diff] [blame] | 348 | ifdef EXTRA_DEFINES |
Craig Tiller | c6e387b | 2015-02-27 10:15:10 -0800 | [diff] [blame] | 349 | DEFINES += $(EXTRA_DEFINES) |
Craig Tiller | 86fa1c5 | 2015-02-27 09:57:58 -0800 | [diff] [blame] | 350 | endif |
| 351 | |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 352 | CFLAGS += -std=c99 -Wsign-conversion -Wconversion $(W_SHADOW) $(W_EXTRA_SEMI) |
Craig Tiller | cf133f4 | 2015-02-26 14:05:56 -0800 | [diff] [blame] | 353 | ifeq ($(HAS_CXX11),true) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 354 | CXXFLAGS += -std=c++11 |
Craig Tiller | cf133f4 | 2015-02-26 14:05:56 -0800 | [diff] [blame] | 355 | else |
| 356 | CXXFLAGS += -std=c++0x |
Craig Tiller | cf133f4 | 2015-02-26 14:05:56 -0800 | [diff] [blame] | 357 | endif |
Nicolas "Pixel" Noble | 51b1aee | 2016-01-28 01:14:58 +0100 | [diff] [blame] | 358 | CPPFLAGS += -g -Wall -Wextra -Werror -Wno-long-long -Wno-unused-parameter |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 359 | LDFLAGS += -g |
| 360 | |
Nicolas "Pixel" Noble | 482d761 | 2015-07-16 23:43:30 +0200 | [diff] [blame] | 361 | CPPFLAGS += $(CPPFLAGS_$(CONFIG)) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 362 | CFLAGS += $(CFLAGS_$(CONFIG)) |
| 363 | CXXFLAGS += $(CXXFLAGS_$(CONFIG)) |
Nicolas "Pixel" Noble | 482d761 | 2015-07-16 23:43:30 +0200 | [diff] [blame] | 364 | DEFINES += $(DEFINES_$(CONFIG)) INSTALL_PREFIX=\"$(prefix)\" |
| 365 | LDFLAGS += $(LDFLAGS_$(CONFIG)) |
| 366 | |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 367 | ifneq ($(SYSTEM),MINGW32) |
| 368 | PIC_CPPFLAGS = -fPIC |
| 369 | CPPFLAGS += -fPIC |
| 370 | LDFLAGS += -fPIC |
| 371 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 372 | |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 373 | INCLUDES = . include $(GENDIR) |
Nicolas "Pixel" Noble | 3adab74 | 2015-06-02 00:33:06 +0200 | [diff] [blame] | 374 | LDFLAGS += -Llibs/$(CONFIG) |
| 375 | |
Craig Tiller | 96b4955 | 2015-01-21 16:29:01 -0800 | [diff] [blame] | 376 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | ce89883 | 2015-08-05 07:22:18 -0700 | [diff] [blame] | 377 | ifneq ($(wildcard /usr/local/ssl/include),) |
| 378 | INCLUDES += /usr/local/ssl/include |
| 379 | endif |
| 380 | ifneq ($(wildcard /opt/local/include),) |
| 381 | INCLUDES += /opt/local/include |
| 382 | endif |
| 383 | ifneq ($(wildcard /usr/local/include),) |
| 384 | INCLUDES += /usr/local/include |
| 385 | endif |
| 386 | LIBS = m z |
| 387 | ifneq ($(wildcard /usr/local/ssl/lib),) |
| 388 | LDFLAGS += -L/usr/local/ssl/lib |
| 389 | endif |
| 390 | ifneq ($(wildcard /opt/local/lib),) |
| 391 | LDFLAGS += -L/opt/local/lib |
| 392 | endif |
| 393 | ifneq ($(wildcard /usr/local/lib),) |
| 394 | LDFLAGS += -L/usr/local/lib |
| 395 | endif |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 396 | endif |
| 397 | |
| 398 | ifeq ($(SYSTEM),Linux) |
Craig Tiller | 1b1e238 | 2016-02-03 07:33:56 -0800 | [diff] [blame] | 399 | LIBS = dl rt m pthread |
Craig Tiller | 96b4955 | 2015-01-21 16:29:01 -0800 | [diff] [blame] | 400 | LDFLAGS += -pthread |
| 401 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 402 | |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 403 | ifeq ($(SYSTEM),MINGW32) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 404 | LIBS = m pthread ws2_32 |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 405 | LDFLAGS += -pthread |
| 406 | endif |
| 407 | |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 408 | # |
| 409 | # The steps for cross-compiling are as follows: |
| 410 | # First, clone and make install of grpc using the native compilers for the host. |
| 411 | # Also, install protoc (e.g., from a package like apt-get) |
| 412 | # Then clone a fresh grpc for the actual cross-compiled build |
| 413 | # Set the environment variable GRPC_CROSS_COMPILE to true |
| 414 | # Set CC, CXX, LD, LDXX, AR, and STRIP to the cross-compiling binaries |
| 415 | # Also set PROTOBUF_CONFIG_OPTS to indicate cross-compilation to protobuf (e.g., |
| 416 | # PROTOBUF_CONFIG_OPTS="--host=arm-linux --with-protoc=/usr/local/bin/protoc" ) |
| 417 | # Set HAS_PKG_CONFIG=false |
| 418 | # To build tests, go to third_party/gflags and follow its ccmake instructions |
| 419 | # Make sure that you enable building shared libraries and set your prefix to |
| 420 | # something useful like /usr/local/cross |
| 421 | # You will also need to set GRPC_CROSS_LDOPTS and GRPC_CROSS_AROPTS to hold |
| 422 | # additional required arguments for LD and AR (examples below) |
| 423 | # Then you can do a make from the cross-compiling fresh clone! |
| 424 | # |
| 425 | ifeq ($(GRPC_CROSS_COMPILE),true) |
| 426 | LDFLAGS += $(GRPC_CROSS_LDOPTS) # e.g. -L/usr/local/lib -L/usr/local/cross/lib |
| 427 | AROPTS = $(GRPC_CROSS_AROPTS) # e.g., rc --target=elf32-little |
| 428 | USE_BUILT_PROTOC = false |
| 429 | endif |
| 430 | |
Craig Tiller | 16f6dac | 2015-08-24 17:00:04 -0700 | [diff] [blame] | 431 | GTEST_LIB = -Ithird_party/googletest/include -Ithird_party/googletest third_party/googletest/src/gtest-all.cc |
chenw | a8fd44a | 2014-12-10 15:13:55 -0800 | [diff] [blame] | 432 | GTEST_LIB += -lgflags |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 433 | ifeq ($(V),1) |
| 434 | E = @: |
| 435 | Q = |
| 436 | else |
| 437 | E = @echo |
| 438 | Q = @ |
| 439 | endif |
| 440 | |
Nicolas "Pixel" Noble | 49bfb92 | 2016-07-12 09:31:41 +0200 | [diff] [blame] | 441 | VERSION = 1.1.0-dev |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 442 | |
| 443 | CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES)) |
| 444 | CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS) |
| 445 | |
| 446 | LDFLAGS += $(ARCH_FLAGS) |
| 447 | LDLIBS += $(addprefix -l, $(LIBS)) |
| 448 | LDLIBSXX += $(addprefix -l, $(LIBSXX)) |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 449 | |
| 450 | HOST_CPPFLAGS = $(CPPFLAGS) |
| 451 | HOST_CFLAGS = $(CFLAGS) |
| 452 | HOST_CXXFLAGS = $(CXXFLAGS) |
| 453 | HOST_LDFLAGS = $(LDFLAGS) |
| 454 | HOST_LDLIBS = $(LDLIBS) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 455 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 456 | # These are automatically computed variables. |
| 457 | # There shouldn't be any need to change anything from now on. |
| 458 | |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 459 | -include cache.mk |
| 460 | |
| 461 | CACHE_MK = |
| 462 | |
| 463 | HAS_PKG_CONFIG ?= $(shell command -v $(PKG_CONFIG) >/dev/null 2>&1 && echo true || echo false) |
| 464 | |
| 465 | ifeq ($(HAS_PKG_CONFIG), true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 466 | CACHE_MK += HAS_PKG_CONFIG = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 467 | endif |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 468 | |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 469 | PC_TEMPLATE = prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/lib,,Name: $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(VERSION),Cflags: -I\$${includedir} $(PC_CFLAGS),Requires.private: $(PC_REQUIRES_PRIVATE),Libs: -L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE) |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 470 | |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 471 | ifeq ($(SYSTEM),MINGW32) |
| 472 | SHARED_EXT = dll |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 473 | SHARED_PREFIX = |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 474 | SHARED_VERSION = -1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 475 | else ifeq ($(SYSTEM),Darwin) |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 476 | SHARED_EXT = dylib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 477 | SHARED_PREFIX = lib |
| 478 | SHARED_VERSION = |
| 479 | else |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 480 | SHARED_EXT = so.$(VERSION) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 481 | SHARED_PREFIX = lib |
| 482 | SHARED_VERSION = |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 483 | endif |
| 484 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 485 | ifeq ($(wildcard .git),) |
| 486 | IS_GIT_FOLDER = false |
| 487 | else |
| 488 | IS_GIT_FOLDER = true |
| 489 | endif |
| 490 | |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 491 | ifeq ($(HAS_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 492 | OPENSSL_ALPN_CHECK_CMD = $(PKG_CONFIG) --atleast-version=1.0.2 openssl |
murgatroid99 | 71020da | 2015-07-08 13:04:05 -0700 | [diff] [blame] | 493 | OPENSSL_NPN_CHECK_CMD = $(PKG_CONFIG) --atleast-version=1.0.1 openssl |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 494 | ZLIB_CHECK_CMD = $(PKG_CONFIG) --exists zlib |
Yuchen Zeng | d4df55e | 2016-08-15 16:41:18 -0700 | [diff] [blame] | 495 | PROTOBUF_CHECK_CMD = $(PKG_CONFIG) --atleast-version=3.0.0 protobuf |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 496 | else # HAS_PKG_CONFIG |
| 497 | |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 498 | ifeq ($(SYSTEM),MINGW32) |
| 499 | OPENSSL_LIBS = ssl32 eay32 |
| 500 | else |
| 501 | OPENSSL_LIBS = ssl crypto |
| 502 | endif |
| 503 | |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 504 | OPENSSL_ALPN_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/openssl-alpn.c $(addprefix -l, $(OPENSSL_LIBS)) $(LDFLAGS) |
| 505 | OPENSSL_NPN_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/openssl-npn.c $(addprefix -l, $(OPENSSL_LIBS)) $(LDFLAGS) |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 506 | BORINGSSL_COMPILE_CHECK_CMD = $(CC) $(CPPFLAGS) -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) -o $(TMPOUT) test/build/boringssl.c $(LDFLAGS) |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 507 | ZLIB_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/zlib.c -lz $(LDFLAGS) |
| 508 | PROTOBUF_CHECK_CMD = $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $(TMPOUT) test/build/protobuf.cc -lprotobuf $(LDFLAGS) |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 509 | |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 510 | endif # HAS_PKG_CONFIG |
| 511 | |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 512 | PERFTOOLS_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/perftools.c -lprofiler $(LDFLAGS) |
murgatroid99 | 6d9e401 | 2015-07-08 10:22:45 -0700 | [diff] [blame] | 513 | |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 514 | PROTOC_CHECK_CMD = which protoc > /dev/null |
| 515 | PROTOC_CHECK_VERSION_CMD = protoc --version | grep -q libprotoc.3 |
| 516 | DTRACE_CHECK_CMD = which dtrace > /dev/null |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 517 | SYSTEMTAP_HEADERS_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/systemtap.c $(LDFLAGS) |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 518 | |
Craig Tiller | 50524cc | 2015-01-29 23:00:00 -0800 | [diff] [blame] | 519 | ifndef REQUIRE_CUSTOM_LIBRARIES_$(CONFIG) |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 520 | HAS_SYSTEM_PERFTOOLS ?= $(shell $(PERFTOOLS_CHECK_CMD) 2> /dev/null && echo true || echo false) |
Craig Tiller | 297fafa | 2015-01-15 15:46:39 -0800 | [diff] [blame] | 521 | ifeq ($(HAS_SYSTEM_PERFTOOLS),true) |
| 522 | DEFINES += GRPC_HAVE_PERFTOOLS |
| 523 | LIBS += profiler |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 524 | CACHE_MK += HAS_SYSTEM_PERFTOOLS = true, |
Craig Tiller | 297fafa | 2015-01-15 15:46:39 -0800 | [diff] [blame] | 525 | endif |
Craig Tiller | 50524cc | 2015-01-29 23:00:00 -0800 | [diff] [blame] | 526 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 527 | |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 528 | HAS_SYSTEM_PROTOBUF_VERIFY = $(shell $(PROTOBUF_CHECK_CMD) 2> /dev/null && echo true || echo false) |
Craig Tiller | c4da6b7 | 2015-01-15 08:01:14 -0800 | [diff] [blame] | 529 | ifndef REQUIRE_CUSTOM_LIBRARIES_$(CONFIG) |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 530 | HAS_SYSTEM_OPENSSL_ALPN ?= $(shell $(OPENSSL_ALPN_CHECK_CMD) 2> /dev/null && echo true || echo false) |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 531 | ifeq ($(HAS_SYSTEM_OPENSSL_ALPN),true) |
| 532 | HAS_SYSTEM_OPENSSL_NPN = true |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 533 | CACHE_MK += HAS_SYSTEM_OPENSSL_ALPN = true, |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 534 | else |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 535 | HAS_SYSTEM_OPENSSL_NPN ?= $(shell $(OPENSSL_NPN_CHECK_CMD) 2> /dev/null && echo true || echo false) |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 536 | endif |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 537 | ifeq ($(HAS_SYSTEM_OPENSSL_NPN),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 538 | CACHE_MK += HAS_SYSTEM_OPENSSL_NPN = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 539 | endif |
| 540 | HAS_SYSTEM_ZLIB ?= $(shell $(ZLIB_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 541 | ifeq ($(HAS_SYSTEM_ZLIB),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 542 | CACHE_MK += HAS_SYSTEM_ZLIB = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 543 | endif |
| 544 | HAS_SYSTEM_PROTOBUF ?= $(HAS_SYSTEM_PROTOBUF_VERIFY) |
| 545 | ifeq ($(HAS_SYSTEM_PROTOBUF),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 546 | CACHE_MK += HAS_SYSTEM_PROTOBUF = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 547 | endif |
Craig Tiller | c4da6b7 | 2015-01-15 08:01:14 -0800 | [diff] [blame] | 548 | else |
| 549 | # override system libraries if the config requires a custom compiled library |
| 550 | HAS_SYSTEM_OPENSSL_ALPN = false |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 551 | HAS_SYSTEM_OPENSSL_NPN = false |
Craig Tiller | c4da6b7 | 2015-01-15 08:01:14 -0800 | [diff] [blame] | 552 | HAS_SYSTEM_ZLIB = false |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 553 | HAS_SYSTEM_PROTOBUF = false |
Craig Tiller | c4da6b7 | 2015-01-15 08:01:14 -0800 | [diff] [blame] | 554 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 555 | |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 556 | HAS_PROTOC ?= $(shell $(PROTOC_CHECK_CMD) 2> /dev/null && echo true || echo false) |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 557 | ifeq ($(HAS_PROTOC),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 558 | CACHE_MK += HAS_PROTOC = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 559 | HAS_VALID_PROTOC ?= $(shell $(PROTOC_CHECK_VERSION_CMD) 2> /dev/null && echo true || echo false) |
| 560 | ifeq ($(HAS_VALID_PROTOC),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 561 | CACHE_MK += HAS_VALID_PROTOC = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 562 | endif |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 563 | else |
| 564 | HAS_VALID_PROTOC = false |
| 565 | endif |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 566 | |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 567 | # Check for Systemtap (https://sourceware.org/systemtap/), first by making sure <sys/sdt.h> is present |
| 568 | # in the system and secondly by checking for the "dtrace" binary (on Linux, this is part of the Systemtap |
| 569 | # distribution. It's part of the base system on BSD/Solaris machines). |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 570 | ifndef HAS_SYSTEMTAP |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 571 | HAS_SYSTEMTAP_HEADERS = $(shell $(SYSTEMTAP_HEADERS_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 572 | HAS_DTRACE = $(shell $(DTRACE_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 573 | HAS_SYSTEMTAP = false |
| 574 | ifeq ($(HAS_SYSTEMTAP_HEADERS),true) |
| 575 | ifeq ($(HAS_DTRACE),true) |
| 576 | HAS_SYSTEMTAP = true |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 577 | endif |
| 578 | endif |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 579 | endif |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 580 | |
murgatroid99 | 4a015a6 | 2015-07-10 14:54:57 -0700 | [diff] [blame] | 581 | ifeq ($(HAS_SYSTEMTAP),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 582 | CACHE_MK += HAS_SYSTEMTAP = true, |
murgatroid99 | 4a015a6 | 2015-07-10 14:54:57 -0700 | [diff] [blame] | 583 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 584 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 585 | # Note that for testing purposes, one can do: |
| 586 | # make HAS_EMBEDDED_OPENSSL_ALPN=false |
| 587 | # to emulate the fact we do not have OpenSSL in the third_party folder. |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 588 | ifneq ($(wildcard third_party/openssl-1.0.2f/libssl.a),) |
| 589 | HAS_EMBEDDED_OPENSSL_ALPN = third_party/openssl-1.0.2f |
| 590 | else ifeq ($(wildcard third_party/boringssl/include/openssl/ssl.h),) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 591 | HAS_EMBEDDED_OPENSSL_ALPN = false |
| 592 | else |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 593 | CAN_COMPILE_EMBEDDED_OPENSSL ?= $(shell $(BORINGSSL_COMPILE_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 594 | HAS_EMBEDDED_OPENSSL_ALPN = $(CAN_COMPILE_EMBEDDED_OPENSSL) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 595 | endif |
| 596 | |
| 597 | ifeq ($(wildcard third_party/zlib/zlib.h),) |
| 598 | HAS_EMBEDDED_ZLIB = false |
| 599 | else |
| 600 | HAS_EMBEDDED_ZLIB = true |
| 601 | endif |
| 602 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 603 | ifeq ($(wildcard third_party/protobuf/src/google/protobuf/descriptor.pb.h),) |
| 604 | HAS_EMBEDDED_PROTOBUF = false |
| 605 | ifneq ($(HAS_VALID_PROTOC),true) |
| 606 | NO_PROTOC = true |
| 607 | endif |
| 608 | else |
| 609 | HAS_EMBEDDED_PROTOBUF = true |
| 610 | endif |
| 611 | |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 612 | PC_REQUIRES_GRPC = |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 613 | PC_LIBS_GRPC = |
| 614 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 615 | ifeq ($(HAS_SYSTEM_ZLIB),false) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 616 | ifeq ($(HAS_EMBEDDED_ZLIB), true) |
| 617 | EMBED_ZLIB ?= true |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 618 | else |
| 619 | DEP_MISSING += zlib |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 620 | EMBED_ZLIB ?= broken |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 621 | endif |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 622 | else |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 623 | EMBED_ZLIB ?= false |
| 624 | endif |
| 625 | |
| 626 | ifeq ($(EMBED_ZLIB),true) |
| 627 | ZLIB_DEP = $(LIBDIR)/$(CONFIG)/libz.a |
| 628 | ZLIB_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libz.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 629 | ZLIB_MERGE_OBJS = $(LIBZ_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 630 | CPPFLAGS += -Ithird_party/zlib |
| 631 | LDFLAGS += -L$(LIBDIR)/$(CONFIG)/zlib |
| 632 | else |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 633 | ifeq ($(HAS_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 634 | CPPFLAGS += $(shell $(PKG_CONFIG) --cflags zlib) |
| 635 | LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L zlib) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 636 | LIBS += $(patsubst -l%,%,$(shell $(PKG_CONFIG) --libs-only-l zlib)) |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 637 | PC_REQUIRES_GRPC += zlib |
| 638 | else |
| 639 | PC_LIBS_GRPC += -lz |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 640 | LIBS += z |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 641 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 642 | endif |
| 643 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 644 | OPENSSL_PKG_CONFIG = false |
| 645 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 646 | PC_REQUIRES_SECURE = |
| 647 | PC_LIBS_SECURE = |
| 648 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 649 | ifeq ($(HAS_SYSTEM_OPENSSL_ALPN),true) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 650 | EMBED_OPENSSL ?= false |
| 651 | NO_SECURE ?= false |
| 652 | else # HAS_SYSTEM_OPENSSL_ALPN=false |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 653 | ifneq ($(HAS_EMBEDDED_OPENSSL_ALPN),false) |
| 654 | EMBED_OPENSSL ?= $(HAS_EMBEDDED_OPENSSL_ALPN) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 655 | NO_SECURE ?= false |
| 656 | else # HAS_EMBEDDED_OPENSSL_ALPN=false |
| 657 | ifeq ($(HAS_SYSTEM_OPENSSL_NPN),true) |
| 658 | EMBED_OPENSSL ?= false |
| 659 | NO_SECURE ?= false |
| 660 | else |
| 661 | NO_SECURE ?= true |
| 662 | endif # HAS_SYSTEM_OPENSSL_NPN=true |
| 663 | endif # HAS_EMBEDDED_OPENSSL_ALPN |
| 664 | endif # HAS_SYSTEM_OPENSSL_ALPN |
| 665 | |
| 666 | OPENSSL_DEP := |
| 667 | OPENSSL_MERGE_LIBS := |
| 668 | ifeq ($(NO_SECURE),false) |
| 669 | ifeq ($(EMBED_OPENSSL),true) |
| 670 | OPENSSL_DEP += $(LIBDIR)/$(CONFIG)/libboringssl.a |
| 671 | OPENSSL_MERGE_LIBS += $(LIBDIR)/$(CONFIG)/libboringssl.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 672 | OPENSSL_MERGE_OBJS += $(LIBBORINGSSL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 673 | # need to prefix these to ensure overriding system libraries |
| 674 | CPPFLAGS := -Ithird_party/boringssl/include $(CPPFLAGS) |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 675 | else ifneq ($(EMBED_OPENSSL),false) |
| 676 | OPENSSL_DEP += $(EMBED_OPENSSL)/libssl.a $(EMBED_OPENSSL)/libcrypto.a |
| 677 | OPENSSL_MERGE_LIBS += $(EMBED_OPENSSL)/libssl.a $(EMBED_OPENSSL)/libcrypto.a |
| 678 | OPENSSL_MERGE_OBJS += $(wildcard $(EMBED_OPENSSL)/grpc_obj/*.o) |
| 679 | # need to prefix these to ensure overriding system libraries |
| 680 | CPPFLAGS := -I$(EMBED_OPENSSL)/include $(CPPFLAGS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 681 | else # EMBED_OPENSSL=false |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 682 | ifeq ($(HAS_PKG_CONFIG),true) |
| 683 | OPENSSL_PKG_CONFIG = true |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 684 | PC_REQUIRES_SECURE = openssl |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 685 | CPPFLAGS := $(shell $(PKG_CONFIG) --cflags openssl) $(CPPFLAGS) |
| 686 | LDFLAGS_OPENSSL_PKG_CONFIG = $(shell $(PKG_CONFIG) --libs-only-L openssl) |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 687 | ifeq ($(SYSTEM),Linux) |
| 688 | ifneq ($(LDFLAGS_OPENSSL_PKG_CONFIG),) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 689 | LDFLAGS_OPENSSL_PKG_CONFIG += $(shell $(PKG_CONFIG) --libs-only-L openssl | sed s/L/Wl,-rpath,/) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 690 | endif # LDFLAGS_OPENSSL_PKG_CONFIG='' |
| 691 | endif # System=Linux |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 692 | LDFLAGS := $(LDFLAGS_OPENSSL_PKG_CONFIG) $(LDFLAGS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 693 | else # HAS_PKG_CONFIG=false |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 694 | LIBS_SECURE = $(OPENSSL_LIBS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 695 | endif # HAS_PKG_CONFIG |
| 696 | ifeq ($(HAS_SYSTEM_OPENSSL_NPN),true) |
| 697 | CPPFLAGS += -DTSI_OPENSSL_ALPN_SUPPORT=0 |
| 698 | LIBS_SECURE = $(OPENSSL_LIBS) |
| 699 | endif # HAS_SYSTEM_OPENSSL_NPN |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 700 | PC_LIBS_SECURE = $(addprefix -l, $(LIBS_SECURE)) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 701 | endif # EMBED_OPENSSL |
| 702 | endif # NO_SECURE |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 703 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 704 | ifeq ($(OPENSSL_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 705 | LDLIBS_SECURE += $(shell $(PKG_CONFIG) --libs-only-l openssl) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 706 | else |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 707 | LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE)) |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 708 | endif |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 709 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 710 | # grpc .pc file |
| 711 | PC_NAME = gRPC |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 712 | PC_DESCRIPTION = high performance general RPC framework |
| 713 | PC_CFLAGS = |
| 714 | PC_REQUIRES_PRIVATE = $(PC_REQUIRES_GRPC) $(PC_REQUIRES_SECURE) |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 715 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPC) $(PC_LIBS_SECURE) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 716 | PC_LIB = -lgrpc |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 717 | GRPC_PC_FILE := $(PC_TEMPLATE) |
| 718 | |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 719 | # grpc_unsecure .pc file |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 720 | PC_NAME = gRPC unsecure |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 721 | PC_DESCRIPTION = high performance general RPC framework without SSL |
| 722 | PC_CFLAGS = |
| 723 | PC_REQUIRES_PRIVATE = $(PC_REQUIRES_GRPC) |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 724 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPC) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 725 | PC_LIB = -lgrpc |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 726 | GRPC_UNSECURE_PC_FILE := $(PC_TEMPLATE) |
| 727 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 728 | PROTOBUF_PKG_CONFIG = false |
| 729 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 730 | PC_REQUIRES_GRPCXX = |
| 731 | PC_LIBS_GRPCXX = |
| 732 | |
Craig Tiller | 16f6dac | 2015-08-24 17:00:04 -0700 | [diff] [blame] | 733 | CPPFLAGS := -Ithird_party/googletest/include $(CPPFLAGS) |
| 734 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 735 | PROTOC_PLUGINS_ALL = $(BINDIR)/$(CONFIG)/grpc_cpp_plugin $(BINDIR)/$(CONFIG)/grpc_csharp_plugin $(BINDIR)/$(CONFIG)/grpc_node_plugin $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin $(BINDIR)/$(CONFIG)/grpc_php_plugin $(BINDIR)/$(CONFIG)/grpc_python_plugin $(BINDIR)/$(CONFIG)/grpc_ruby_plugin |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 736 | PROTOC_PLUGINS_DIR = $(BINDIR)/$(CONFIG) |
| 737 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 738 | ifeq ($(HAS_SYSTEM_PROTOBUF),true) |
| 739 | ifeq ($(HAS_PKG_CONFIG),true) |
| 740 | PROTOBUF_PKG_CONFIG = true |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 741 | PC_REQUIRES_GRPCXX = protobuf |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 742 | CPPFLAGS := $(shell $(PKG_CONFIG) --cflags protobuf) $(CPPFLAGS) |
| 743 | LDFLAGS_PROTOBUF_PKG_CONFIG = $(shell $(PKG_CONFIG) --libs-only-L protobuf) |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 744 | ifeq ($(SYSTEM),Linux) |
| 745 | ifneq ($(LDFLAGS_PROTOBUF_PKG_CONFIG),) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 746 | LDFLAGS_PROTOBUF_PKG_CONFIG += $(shell $(PKG_CONFIG) --libs-only-L protobuf | sed s/L/Wl,-rpath,/) |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 747 | endif |
| 748 | endif |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 749 | else |
| 750 | PC_LIBS_GRPCXX = -lprotobuf |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 751 | endif |
Nicolas "Pixel" Noble | f7fbdd4 | 2016-07-25 20:31:22 +0200 | [diff] [blame] | 752 | PROTOC_PLUGINS = $(PROTOC_PLUGINS_ALL) |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 753 | else |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 754 | ifeq ($(HAS_EMBEDDED_PROTOBUF),true) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 755 | PROTOBUF_DEP = $(LIBDIR)/$(CONFIG)/protobuf/libprotobuf.a |
Craig Tiller | 9ec95fa | 2015-02-20 20:36:21 -0800 | [diff] [blame] | 756 | CPPFLAGS := -Ithird_party/protobuf/src $(CPPFLAGS) |
| 757 | LDFLAGS := -L$(LIBDIR)/$(CONFIG)/protobuf $(LDFLAGS) |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 758 | ifneq ($(USE_BUILT_PROTOC),false) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 759 | PROTOC = $(BINDIR)/$(CONFIG)/protobuf/protoc |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 760 | PROTOC_PLUGINS = $(PROTOC_PLUGINS_ALL) |
| 761 | else |
| 762 | PROTOC_PLUGINS = |
| 763 | PROTOC_PLUGINS_DIR = $(prefix)/bin |
| 764 | endif |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 765 | else |
| 766 | NO_PROTOBUF = true |
| 767 | endif |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 768 | endif |
| 769 | |
| 770 | LIBS_PROTOBUF = protobuf |
| 771 | LIBS_PROTOC = protoc protobuf |
| 772 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 773 | HOST_LDLIBS_PROTOC += $(addprefix -l, $(LIBS_PROTOC)) |
| 774 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 775 | ifeq ($(PROTOBUF_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 776 | LDLIBS_PROTOBUF += $(shell $(PKG_CONFIG) --libs-only-l protobuf) |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 777 | else |
| 778 | LDLIBS_PROTOBUF += $(addprefix -l, $(LIBS_PROTOBUF)) |
| 779 | endif |
| 780 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 781 | # grpc++ .pc file |
| 782 | PC_NAME = gRPC++ |
| 783 | PC_DESCRIPTION = C++ wrapper for gRPC |
| 784 | PC_CFLAGS = |
| 785 | PC_REQUIRES_PRIVATE = grpc $(PC_REQUIRES_GRPCXX) |
| 786 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPCXX) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 787 | PC_LIB = -lgrpc++ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 788 | GRPCXX_PC_FILE := $(PC_TEMPLATE) |
| 789 | |
| 790 | # grpc++_unsecure .pc file |
| 791 | PC_NAME = gRPC++ unsecure |
| 792 | PC_DESCRIPTION = C++ wrapper for gRPC without SSL |
| 793 | PC_CFLAGS = |
| 794 | PC_REQUIRES_PRIVATE = grpc_unsecure $(PC_REQUIRES_GRPCXX) |
| 795 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPCXX) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 796 | PC_LIB = -lgrpc++ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 797 | GRPCXX_UNSECURE_PC_FILE := $(PC_TEMPLATE) |
| 798 | |
Craig Tiller | 12c8209 | 2015-01-15 08:45:56 -0800 | [diff] [blame] | 799 | ifeq ($(MAKECMDGOALS),clean) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 800 | NO_DEPS = true |
| 801 | endif |
| 802 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 803 | .SECONDARY = %.pb.h %.pb.cc |
| 804 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 805 | ifeq ($(DEP_MISSING),) |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 806 | all: static shared plugins |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 807 | dep_error: |
| 808 | @echo "You shouldn't see this message - all of your dependencies are correct." |
| 809 | else |
| 810 | all: dep_error git_update stop |
| 811 | |
| 812 | dep_error: |
| 813 | @echo |
| 814 | @echo "DEPENDENCY ERROR" |
| 815 | @echo |
| 816 | @echo "You are missing system dependencies that are essential to build grpc," |
| 817 | @echo "and the third_party directory doesn't have them:" |
| 818 | @echo |
| 819 | @echo " $(DEP_MISSING)" |
| 820 | @echo |
| 821 | @echo "Installing the development packages for your system will solve" |
| 822 | @echo "this issue. Please consult INSTALL to get more information." |
| 823 | @echo |
| 824 | @echo "If you need information about why these tests failed, run:" |
| 825 | @echo |
| 826 | @echo " make run_dep_checks" |
| 827 | @echo |
| 828 | endif |
| 829 | |
| 830 | git_update: |
| 831 | ifeq ($(IS_GIT_FOLDER),true) |
| 832 | @echo "Additionally, since you are in a git clone, you can download the" |
| 833 | @echo "missing dependencies in third_party by running the following command:" |
| 834 | @echo |
ctiller | 64f2910 | 2014-12-15 10:40:59 -0800 | [diff] [blame] | 835 | @echo " git submodule update --init" |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 836 | @echo |
| 837 | endif |
| 838 | |
| 839 | openssl_dep_error: openssl_dep_message git_update stop |
| 840 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 841 | protobuf_dep_error: protobuf_dep_message git_update stop |
| 842 | |
| 843 | protoc_dep_error: protoc_dep_message git_update stop |
| 844 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 845 | openssl_dep_message: |
| 846 | @echo |
| 847 | @echo "DEPENDENCY ERROR" |
| 848 | @echo |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 849 | @echo "The target you are trying to run requires an OpenSSL implementation." |
| 850 | @echo "Your system doesn't have one, and either the third_party directory" |
| 851 | @echo "doesn't have it, or your compiler can't build BoringSSL." |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 852 | @echo |
| 853 | @echo "Please consult INSTALL to get more information." |
| 854 | @echo |
| 855 | @echo "If you need information about why these tests failed, run:" |
| 856 | @echo |
| 857 | @echo " make run_dep_checks" |
| 858 | @echo |
| 859 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 860 | protobuf_dep_message: |
| 861 | @echo |
| 862 | @echo "DEPENDENCY ERROR" |
| 863 | @echo |
| 864 | @echo "The target you are trying to run requires protobuf 3.0.0+" |
| 865 | @echo "Your system doesn't have it, and neither does the third_party directory." |
| 866 | @echo |
| 867 | @echo "Please consult INSTALL to get more information." |
| 868 | @echo |
| 869 | @echo "If you need information about why these tests failed, run:" |
| 870 | @echo |
| 871 | @echo " make run_dep_checks" |
| 872 | @echo |
| 873 | |
| 874 | protoc_dep_message: |
| 875 | @echo |
| 876 | @echo "DEPENDENCY ERROR" |
| 877 | @echo |
| 878 | @echo "The target you are trying to run requires protobuf-compiler 3.0.0+" |
| 879 | @echo "Your system doesn't have it, and neither does the third_party directory." |
| 880 | @echo |
| 881 | @echo "Please consult INSTALL to get more information." |
| 882 | @echo |
| 883 | @echo "If you need information about why these tests failed, run:" |
| 884 | @echo |
| 885 | @echo " make run_dep_checks" |
| 886 | @echo |
| 887 | |
David Garcia Quintas | 8954e90 | 2015-04-29 09:46:33 -0700 | [diff] [blame] | 888 | systemtap_dep_error: |
| 889 | @echo |
| 890 | @echo "DEPENDENCY ERROR" |
| 891 | @echo |
| 892 | @echo "Under the '$(CONFIG)' configutation, the target you are trying " |
| 893 | @echo "to build requires systemtap 2.7+ (on Linux) or dtrace (on other " |
| 894 | @echo "platforms such as Solaris and *BSD). " |
| 895 | @echo |
| 896 | @echo "Please consult INSTALL to get more information." |
| 897 | @echo |
| 898 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 899 | stop: |
| 900 | @false |
| 901 | |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 902 | alarm_test: $(BINDIR)/$(CONFIG)/alarm_test |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 903 | algorithm_test: $(BINDIR)/$(CONFIG)/algorithm_test |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 904 | alloc_test: $(BINDIR)/$(CONFIG)/alloc_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 905 | alpn_test: $(BINDIR)/$(CONFIG)/alpn_test |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 906 | api_fuzzer: $(BINDIR)/$(CONFIG)/api_fuzzer |
Yuchen Zeng | 955a364 | 2016-06-17 13:48:03 -0700 | [diff] [blame] | 907 | bad_server_response_test: $(BINDIR)/$(CONFIG)/bad_server_response_test |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 908 | bin_decoder_test: $(BINDIR)/$(CONFIG)/bin_decoder_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 909 | bin_encoder_test: $(BINDIR)/$(CONFIG)/bin_encoder_test |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 910 | census_context_test: $(BINDIR)/$(CONFIG)/census_context_test |
Alistair Veitch | 4aaba75 | 2016-06-02 17:11:46 -0700 | [diff] [blame] | 911 | census_resource_test: $(BINDIR)/$(CONFIG)/census_resource_test |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 912 | census_trace_context_test: $(BINDIR)/$(CONFIG)/census_trace_context_test |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 913 | channel_create_test: $(BINDIR)/$(CONFIG)/channel_create_test |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 914 | chttp2_hpack_encoder_test: $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 915 | chttp2_status_conversion_test: $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 916 | chttp2_stream_map_test: $(BINDIR)/$(CONFIG)/chttp2_stream_map_test |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 917 | chttp2_varint_test: $(BINDIR)/$(CONFIG)/chttp2_varint_test |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 918 | client_fuzzer: $(BINDIR)/$(CONFIG)/client_fuzzer |
Craig Tiller | f7cade1 | 2016-07-07 21:41:10 -0700 | [diff] [blame] | 919 | combiner_test: $(BINDIR)/$(CONFIG)/combiner_test |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 920 | compression_test: $(BINDIR)/$(CONFIG)/compression_test |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 921 | concurrent_connectivity_test: $(BINDIR)/$(CONFIG)/concurrent_connectivity_test |
Craig Tiller | 012372f | 2016-09-26 10:23:34 -0700 | [diff] [blame] | 922 | connection_refused_test: $(BINDIR)/$(CONFIG)/connection_refused_test |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 923 | dns_resolver_connectivity_test: $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 924 | dns_resolver_test: $(BINDIR)/$(CONFIG)/dns_resolver_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 925 | dualstack_socket_test: $(BINDIR)/$(CONFIG)/dualstack_socket_test |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 926 | endpoint_pair_test: $(BINDIR)/$(CONFIG)/endpoint_pair_test |
Sree Kuchibhotla | 2e12db9 | 2016-06-16 16:53:59 -0700 | [diff] [blame] | 927 | ev_epoll_linux_test: $(BINDIR)/$(CONFIG)/ev_epoll_linux_test |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 928 | fd_conservation_posix_test: $(BINDIR)/$(CONFIG)/fd_conservation_posix_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 929 | fd_posix_test: $(BINDIR)/$(CONFIG)/fd_posix_test |
| 930 | fling_client: $(BINDIR)/$(CONFIG)/fling_client |
| 931 | fling_server: $(BINDIR)/$(CONFIG)/fling_server |
| 932 | fling_stream_test: $(BINDIR)/$(CONFIG)/fling_stream_test |
| 933 | fling_test: $(BINDIR)/$(CONFIG)/fling_test |
| 934 | gen_hpack_tables: $(BINDIR)/$(CONFIG)/gen_hpack_tables |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 935 | gen_legal_metadata_characters: $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 936 | gen_percent_encoding_tables: $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 937 | goaway_server_test: $(BINDIR)/$(CONFIG)/goaway_server_test |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 938 | gpr_avl_test: $(BINDIR)/$(CONFIG)/gpr_avl_test |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 939 | gpr_backoff_test: $(BINDIR)/$(CONFIG)/gpr_backoff_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 940 | gpr_cmdline_test: $(BINDIR)/$(CONFIG)/gpr_cmdline_test |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 941 | gpr_cpu_test: $(BINDIR)/$(CONFIG)/gpr_cpu_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 942 | gpr_env_test: $(BINDIR)/$(CONFIG)/gpr_env_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 943 | gpr_histogram_test: $(BINDIR)/$(CONFIG)/gpr_histogram_test |
| 944 | gpr_host_port_test: $(BINDIR)/$(CONFIG)/gpr_host_port_test |
| 945 | gpr_log_test: $(BINDIR)/$(CONFIG)/gpr_log_test |
Craig Tiller | 18879dc | 2016-05-02 22:13:48 -0700 | [diff] [blame] | 946 | gpr_mpscq_test: $(BINDIR)/$(CONFIG)/gpr_mpscq_test |
Craig Tiller | 17ed6b1 | 2016-08-18 09:33:33 -0700 | [diff] [blame] | 947 | gpr_percent_encoding_test: $(BINDIR)/$(CONFIG)/gpr_percent_encoding_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 948 | gpr_slice_buffer_test: $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test |
| 949 | gpr_slice_test: $(BINDIR)/$(CONFIG)/gpr_slice_test |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 950 | gpr_stack_lockfree_test: $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 951 | gpr_string_test: $(BINDIR)/$(CONFIG)/gpr_string_test |
| 952 | gpr_sync_test: $(BINDIR)/$(CONFIG)/gpr_sync_test |
| 953 | gpr_thd_test: $(BINDIR)/$(CONFIG)/gpr_thd_test |
| 954 | gpr_time_test: $(BINDIR)/$(CONFIG)/gpr_time_test |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 955 | gpr_tls_test: $(BINDIR)/$(CONFIG)/gpr_tls_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 956 | gpr_useful_test: $(BINDIR)/$(CONFIG)/gpr_useful_test |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 957 | grpc_auth_context_test: $(BINDIR)/$(CONFIG)/grpc_auth_context_test |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 958 | grpc_b64_test: $(BINDIR)/$(CONFIG)/grpc_b64_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 959 | grpc_byte_buffer_reader_test: $(BINDIR)/$(CONFIG)/grpc_byte_buffer_reader_test |
David Garcia Quintas | a4c4f02 | 2015-08-21 00:05:42 -0700 | [diff] [blame] | 960 | grpc_channel_args_test: $(BINDIR)/$(CONFIG)/grpc_channel_args_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 961 | grpc_channel_stack_test: $(BINDIR)/$(CONFIG)/grpc_channel_stack_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 962 | grpc_completion_queue_test: $(BINDIR)/$(CONFIG)/grpc_completion_queue_test |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 963 | grpc_create_jwt: $(BINDIR)/$(CONFIG)/grpc_create_jwt |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 964 | grpc_credentials_test: $(BINDIR)/$(CONFIG)/grpc_credentials_test |
| 965 | grpc_fetch_oauth2: $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2 |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 966 | grpc_invalid_channel_args_test: $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 967 | grpc_json_token_test: $(BINDIR)/$(CONFIG)/grpc_json_token_test |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 968 | grpc_jwt_verifier_test: $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 969 | grpc_print_google_default_creds_token: $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 970 | grpc_security_connector_test: $(BINDIR)/$(CONFIG)/grpc_security_connector_test |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 971 | grpc_verify_jwt: $(BINDIR)/$(CONFIG)/grpc_verify_jwt |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 972 | hpack_parser_fuzzer_test: $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 973 | hpack_parser_test: $(BINDIR)/$(CONFIG)/hpack_parser_test |
| 974 | hpack_table_test: $(BINDIR)/$(CONFIG)/hpack_table_test |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 975 | http_parser_test: $(BINDIR)/$(CONFIG)/http_parser_test |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 976 | http_request_fuzzer_test: $(BINDIR)/$(CONFIG)/http_request_fuzzer_test |
| 977 | http_response_fuzzer_test: $(BINDIR)/$(CONFIG)/http_response_fuzzer_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 978 | httpcli_format_request_test: $(BINDIR)/$(CONFIG)/httpcli_format_request_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 979 | httpcli_test: $(BINDIR)/$(CONFIG)/httpcli_test |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 980 | httpscli_test: $(BINDIR)/$(CONFIG)/httpscli_test |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 981 | init_test: $(BINDIR)/$(CONFIG)/init_test |
Craig Tiller | 5cb7962 | 2016-03-15 14:46:54 -0700 | [diff] [blame] | 982 | internal_api_canary_iomgr_test: $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test |
| 983 | internal_api_canary_support_test: $(BINDIR)/$(CONFIG)/internal_api_canary_support_test |
| 984 | internal_api_canary_transport_test: $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 985 | invalid_call_argument_test: $(BINDIR)/$(CONFIG)/invalid_call_argument_test |
Craig Tiller | 32173c5 | 2016-03-17 14:12:45 -0700 | [diff] [blame] | 986 | json_fuzzer_test: $(BINDIR)/$(CONFIG)/json_fuzzer_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 987 | json_rewrite: $(BINDIR)/$(CONFIG)/json_rewrite |
| 988 | json_rewrite_test: $(BINDIR)/$(CONFIG)/json_rewrite_test |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 989 | json_stream_error_test: $(BINDIR)/$(CONFIG)/json_stream_error_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 990 | json_test: $(BINDIR)/$(CONFIG)/json_test |
| 991 | lame_client_test: $(BINDIR)/$(CONFIG)/lame_client_test |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 992 | lb_policies_test: $(BINDIR)/$(CONFIG)/lb_policies_test |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 993 | load_file_test: $(BINDIR)/$(CONFIG)/load_file_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 994 | low_level_ping_pong_benchmark: $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark |
| 995 | message_compress_test: $(BINDIR)/$(CONFIG)/message_compress_test |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 996 | mlog_test: $(BINDIR)/$(CONFIG)/mlog_test |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 997 | multiple_server_queues_test: $(BINDIR)/$(CONFIG)/multiple_server_queues_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 998 | murmur_hash_test: $(BINDIR)/$(CONFIG)/murmur_hash_test |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 999 | nanopb_fuzzer_response_test: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test |
| 1000 | nanopb_fuzzer_serverlist_test: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1001 | no_server_test: $(BINDIR)/$(CONFIG)/no_server_test |
Craig Tiller | 17ed6b1 | 2016-08-18 09:33:33 -0700 | [diff] [blame] | 1002 | percent_decode_fuzzer: $(BINDIR)/$(CONFIG)/percent_decode_fuzzer |
| 1003 | percent_encode_fuzzer: $(BINDIR)/$(CONFIG)/percent_encode_fuzzer |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1004 | resolve_address_test: $(BINDIR)/$(CONFIG)/resolve_address_test |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 1005 | secure_channel_create_test: $(BINDIR)/$(CONFIG)/secure_channel_create_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1006 | secure_endpoint_test: $(BINDIR)/$(CONFIG)/secure_endpoint_test |
Craig Tiller | dbaf05e | 2016-06-12 22:16:56 -0700 | [diff] [blame] | 1007 | sequential_connectivity_test: $(BINDIR)/$(CONFIG)/sequential_connectivity_test |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 1008 | server_chttp2_test: $(BINDIR)/$(CONFIG)/server_chttp2_test |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 1009 | server_fuzzer: $(BINDIR)/$(CONFIG)/server_fuzzer |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 1010 | server_test: $(BINDIR)/$(CONFIG)/server_test |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 1011 | set_initial_connect_string_test: $(BINDIR)/$(CONFIG)/set_initial_connect_string_test |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 1012 | sockaddr_resolver_test: $(BINDIR)/$(CONFIG)/sockaddr_resolver_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1013 | sockaddr_utils_test: $(BINDIR)/$(CONFIG)/sockaddr_utils_test |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 1014 | socket_utils_test: $(BINDIR)/$(CONFIG)/socket_utils_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1015 | tcp_client_posix_test: $(BINDIR)/$(CONFIG)/tcp_client_posix_test |
| 1016 | tcp_posix_test: $(BINDIR)/$(CONFIG)/tcp_posix_test |
| 1017 | tcp_server_posix_test: $(BINDIR)/$(CONFIG)/tcp_server_posix_test |
| 1018 | time_averaged_stats_test: $(BINDIR)/$(CONFIG)/time_averaged_stats_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1019 | timeout_encoding_test: $(BINDIR)/$(CONFIG)/timeout_encoding_test |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 1020 | timer_heap_test: $(BINDIR)/$(CONFIG)/timer_heap_test |
| 1021 | timer_list_test: $(BINDIR)/$(CONFIG)/timer_list_test |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 1022 | transport_connectivity_state_test: $(BINDIR)/$(CONFIG)/transport_connectivity_state_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1023 | transport_metadata_test: $(BINDIR)/$(CONFIG)/transport_metadata_test |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 1024 | transport_security_test: $(BINDIR)/$(CONFIG)/transport_security_test |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 1025 | udp_server_test: $(BINDIR)/$(CONFIG)/udp_server_test |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 1026 | uri_fuzzer_test: $(BINDIR)/$(CONFIG)/uri_fuzzer_test |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 1027 | uri_parser_test: $(BINDIR)/$(CONFIG)/uri_parser_test |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1028 | wakeup_fd_cv_test: $(BINDIR)/$(CONFIG)/wakeup_fd_cv_test |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 1029 | alarm_cpp_test: $(BINDIR)/$(CONFIG)/alarm_cpp_test |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 1030 | async_end2end_test: $(BINDIR)/$(CONFIG)/async_end2end_test |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 1031 | auth_property_iterator_test: $(BINDIR)/$(CONFIG)/auth_property_iterator_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1032 | channel_arguments_test: $(BINDIR)/$(CONFIG)/channel_arguments_test |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 1033 | cli_call_test: $(BINDIR)/$(CONFIG)/cli_call_test |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 1034 | client_crash_test: $(BINDIR)/$(CONFIG)/client_crash_test |
| 1035 | client_crash_test_server: $(BINDIR)/$(CONFIG)/client_crash_test_server |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 1036 | codegen_test_full: $(BINDIR)/$(CONFIG)/codegen_test_full |
| 1037 | codegen_test_minimal: $(BINDIR)/$(CONFIG)/codegen_test_minimal |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1038 | credentials_test: $(BINDIR)/$(CONFIG)/credentials_test |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 1039 | cxx_byte_buffer_test: $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test |
| 1040 | cxx_slice_test: $(BINDIR)/$(CONFIG)/cxx_slice_test |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 1041 | cxx_string_ref_test: $(BINDIR)/$(CONFIG)/cxx_string_ref_test |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 1042 | cxx_time_test: $(BINDIR)/$(CONFIG)/cxx_time_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1043 | end2end_test: $(BINDIR)/$(CONFIG)/end2end_test |
Mark D. Roth | c459ecf | 2016-06-16 09:17:49 -0700 | [diff] [blame] | 1044 | filter_end2end_test: $(BINDIR)/$(CONFIG)/filter_end2end_test |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 1045 | generic_end2end_test: $(BINDIR)/$(CONFIG)/generic_end2end_test |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1046 | golden_file_test: $(BINDIR)/$(CONFIG)/golden_file_test |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 1047 | grpc_cli: $(BINDIR)/$(CONFIG)/grpc_cli |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 1048 | grpc_cpp_plugin: $(BINDIR)/$(CONFIG)/grpc_cpp_plugin |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 1049 | grpc_csharp_plugin: $(BINDIR)/$(CONFIG)/grpc_csharp_plugin |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 1050 | grpc_node_plugin: $(BINDIR)/$(CONFIG)/grpc_node_plugin |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 1051 | grpc_objective_c_plugin: $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 1052 | grpc_php_plugin: $(BINDIR)/$(CONFIG)/grpc_php_plugin |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 1053 | grpc_python_plugin: $(BINDIR)/$(CONFIG)/grpc_python_plugin |
| 1054 | grpc_ruby_plugin: $(BINDIR)/$(CONFIG)/grpc_ruby_plugin |
Yuchen Zeng | 29ca79b | 2016-07-25 12:00:08 -0700 | [diff] [blame] | 1055 | grpc_tool_test: $(BINDIR)/$(CONFIG)/grpc_tool_test |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1056 | grpclb_api_test: $(BINDIR)/$(CONFIG)/grpclb_api_test |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 1057 | grpclb_test: $(BINDIR)/$(CONFIG)/grpclb_test |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 1058 | hybrid_end2end_test: $(BINDIR)/$(CONFIG)/hybrid_end2end_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1059 | interop_client: $(BINDIR)/$(CONFIG)/interop_client |
| 1060 | interop_server: $(BINDIR)/$(CONFIG)/interop_server |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 1061 | interop_test: $(BINDIR)/$(CONFIG)/interop_test |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1062 | json_run_localhost: $(BINDIR)/$(CONFIG)/json_run_localhost |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 1063 | metrics_client: $(BINDIR)/$(CONFIG)/metrics_client |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 1064 | mock_test: $(BINDIR)/$(CONFIG)/mock_test |
Yuchen Zeng | 91c51a7 | 2016-05-20 14:46:49 -0700 | [diff] [blame] | 1065 | proto_server_reflection_test: $(BINDIR)/$(CONFIG)/proto_server_reflection_test |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 1066 | qps_interarrival_test: $(BINDIR)/$(CONFIG)/qps_interarrival_test |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1067 | qps_json_driver: $(BINDIR)/$(CONFIG)/qps_json_driver |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 1068 | qps_openloop_test: $(BINDIR)/$(CONFIG)/qps_openloop_test |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 1069 | qps_worker: $(BINDIR)/$(CONFIG)/qps_worker |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 1070 | reconnect_interop_client: $(BINDIR)/$(CONFIG)/reconnect_interop_client |
| 1071 | reconnect_interop_server: $(BINDIR)/$(CONFIG)/reconnect_interop_server |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 1072 | secure_auth_context_test: $(BINDIR)/$(CONFIG)/secure_auth_context_test |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 1073 | secure_sync_unary_ping_pong_test: $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 1074 | server_builder_plugin_test: $(BINDIR)/$(CONFIG)/server_builder_plugin_test |
yang-g | c4292fb | 2016-10-13 16:54:08 -0700 | [diff] [blame] | 1075 | server_context_test_spouse_test: $(BINDIR)/$(CONFIG)/server_context_test_spouse_test |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 1076 | server_crash_test: $(BINDIR)/$(CONFIG)/server_crash_test |
| 1077 | server_crash_test_client: $(BINDIR)/$(CONFIG)/server_crash_test_client |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 1078 | shutdown_test: $(BINDIR)/$(CONFIG)/shutdown_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1079 | status_test: $(BINDIR)/$(CONFIG)/status_test |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 1080 | streaming_throughput_test: $(BINDIR)/$(CONFIG)/streaming_throughput_test |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 1081 | stress_test: $(BINDIR)/$(CONFIG)/stress_test |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 1082 | thread_stress_test: $(BINDIR)/$(CONFIG)/thread_stress_test |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 1083 | public_headers_must_be_c89: $(BINDIR)/$(CONFIG)/public_headers_must_be_c89 |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1084 | boringssl_aes_test: $(BINDIR)/$(CONFIG)/boringssl_aes_test |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 1085 | boringssl_asn1_test: $(BINDIR)/$(CONFIG)/boringssl_asn1_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1086 | boringssl_base64_test: $(BINDIR)/$(CONFIG)/boringssl_base64_test |
| 1087 | boringssl_bio_test: $(BINDIR)/$(CONFIG)/boringssl_bio_test |
| 1088 | boringssl_bn_test: $(BINDIR)/$(CONFIG)/boringssl_bn_test |
| 1089 | boringssl_bytestring_test: $(BINDIR)/$(CONFIG)/boringssl_bytestring_test |
| 1090 | boringssl_aead_test: $(BINDIR)/$(CONFIG)/boringssl_aead_test |
| 1091 | boringssl_cipher_test: $(BINDIR)/$(CONFIG)/boringssl_cipher_test |
| 1092 | boringssl_cmac_test: $(BINDIR)/$(CONFIG)/boringssl_cmac_test |
| 1093 | boringssl_constant_time_test: $(BINDIR)/$(CONFIG)/boringssl_constant_time_test |
| 1094 | boringssl_ed25519_test: $(BINDIR)/$(CONFIG)/boringssl_ed25519_test |
| 1095 | boringssl_x25519_test: $(BINDIR)/$(CONFIG)/boringssl_x25519_test |
| 1096 | boringssl_dh_test: $(BINDIR)/$(CONFIG)/boringssl_dh_test |
| 1097 | boringssl_digest_test: $(BINDIR)/$(CONFIG)/boringssl_digest_test |
| 1098 | boringssl_dsa_test: $(BINDIR)/$(CONFIG)/boringssl_dsa_test |
| 1099 | boringssl_ec_test: $(BINDIR)/$(CONFIG)/boringssl_ec_test |
| 1100 | boringssl_example_mul: $(BINDIR)/$(CONFIG)/boringssl_example_mul |
| 1101 | boringssl_ecdsa_test: $(BINDIR)/$(CONFIG)/boringssl_ecdsa_test |
| 1102 | boringssl_err_test: $(BINDIR)/$(CONFIG)/boringssl_err_test |
| 1103 | boringssl_evp_extra_test: $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test |
| 1104 | boringssl_evp_test: $(BINDIR)/$(CONFIG)/boringssl_evp_test |
| 1105 | boringssl_pbkdf_test: $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test |
| 1106 | boringssl_hkdf_test: $(BINDIR)/$(CONFIG)/boringssl_hkdf_test |
| 1107 | boringssl_hmac_test: $(BINDIR)/$(CONFIG)/boringssl_hmac_test |
| 1108 | boringssl_lhash_test: $(BINDIR)/$(CONFIG)/boringssl_lhash_test |
| 1109 | boringssl_gcm_test: $(BINDIR)/$(CONFIG)/boringssl_gcm_test |
| 1110 | boringssl_pkcs12_test: $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test |
| 1111 | boringssl_pkcs8_test: $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test |
| 1112 | boringssl_poly1305_test: $(BINDIR)/$(CONFIG)/boringssl_poly1305_test |
| 1113 | boringssl_refcount_test: $(BINDIR)/$(CONFIG)/boringssl_refcount_test |
| 1114 | boringssl_rsa_test: $(BINDIR)/$(CONFIG)/boringssl_rsa_test |
| 1115 | boringssl_thread_test: $(BINDIR)/$(CONFIG)/boringssl_thread_test |
| 1116 | boringssl_pkcs7_test: $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 1117 | boringssl_x509_test: $(BINDIR)/$(CONFIG)/boringssl_x509_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1118 | boringssl_tab_test: $(BINDIR)/$(CONFIG)/boringssl_tab_test |
| 1119 | boringssl_v3name_test: $(BINDIR)/$(CONFIG)/boringssl_v3name_test |
| 1120 | boringssl_pqueue_test: $(BINDIR)/$(CONFIG)/boringssl_pqueue_test |
| 1121 | boringssl_ssl_test: $(BINDIR)/$(CONFIG)/boringssl_ssl_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1122 | badreq_bad_client_test: $(BINDIR)/$(CONFIG)/badreq_bad_client_test |
| 1123 | connection_prefix_bad_client_test: $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test |
Craig Tiller | 307a720 | 2016-04-02 07:40:39 -0700 | [diff] [blame] | 1124 | head_of_line_blocking_bad_client_test: $(BINDIR)/$(CONFIG)/head_of_line_blocking_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1125 | headers_bad_client_test: $(BINDIR)/$(CONFIG)/headers_bad_client_test |
| 1126 | initial_settings_frame_bad_client_test: $(BINDIR)/$(CONFIG)/initial_settings_frame_bad_client_test |
Mark D. Roth | 8a1d805 | 2016-05-03 10:44:56 -0700 | [diff] [blame] | 1127 | large_metadata_bad_client_test: $(BINDIR)/$(CONFIG)/large_metadata_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1128 | server_registered_method_bad_client_test: $(BINDIR)/$(CONFIG)/server_registered_method_bad_client_test |
| 1129 | simple_request_bad_client_test: $(BINDIR)/$(CONFIG)/simple_request_bad_client_test |
| 1130 | unknown_frame_bad_client_test: $(BINDIR)/$(CONFIG)/unknown_frame_bad_client_test |
| 1131 | window_overflow_bad_client_test: $(BINDIR)/$(CONFIG)/window_overflow_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1132 | bad_ssl_cert_server: $(BINDIR)/$(CONFIG)/bad_ssl_cert_server |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1133 | bad_ssl_cert_test: $(BINDIR)/$(CONFIG)/bad_ssl_cert_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1134 | h2_census_test: $(BINDIR)/$(CONFIG)/h2_census_test |
| 1135 | h2_compress_test: $(BINDIR)/$(CONFIG)/h2_compress_test |
| 1136 | h2_fakesec_test: $(BINDIR)/$(CONFIG)/h2_fakesec_test |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1137 | h2_fd_test: $(BINDIR)/$(CONFIG)/h2_fd_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1138 | h2_full_test: $(BINDIR)/$(CONFIG)/h2_full_test |
| 1139 | h2_full+pipe_test: $(BINDIR)/$(CONFIG)/h2_full+pipe_test |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1140 | h2_full+trace_test: $(BINDIR)/$(CONFIG)/h2_full+trace_test |
Mark D. Roth | a3ef601 | 2016-07-25 11:16:07 -0700 | [diff] [blame] | 1141 | h2_http_proxy_test: $(BINDIR)/$(CONFIG)/h2_http_proxy_test |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 1142 | h2_load_reporting_test: $(BINDIR)/$(CONFIG)/h2_load_reporting_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1143 | h2_oauth2_test: $(BINDIR)/$(CONFIG)/h2_oauth2_test |
| 1144 | h2_proxy_test: $(BINDIR)/$(CONFIG)/h2_proxy_test |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 1145 | h2_sockpair_test: $(BINDIR)/$(CONFIG)/h2_sockpair_test |
| 1146 | h2_sockpair+trace_test: $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test |
| 1147 | h2_sockpair_1byte_test: $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1148 | h2_ssl_test: $(BINDIR)/$(CONFIG)/h2_ssl_test |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 1149 | h2_ssl_cert_test: $(BINDIR)/$(CONFIG)/h2_ssl_cert_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1150 | h2_ssl_proxy_test: $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1151 | h2_uds_test: $(BINDIR)/$(CONFIG)/h2_uds_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1152 | h2_census_nosec_test: $(BINDIR)/$(CONFIG)/h2_census_nosec_test |
| 1153 | h2_compress_nosec_test: $(BINDIR)/$(CONFIG)/h2_compress_nosec_test |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1154 | h2_fd_nosec_test: $(BINDIR)/$(CONFIG)/h2_fd_nosec_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1155 | h2_full_nosec_test: $(BINDIR)/$(CONFIG)/h2_full_nosec_test |
| 1156 | h2_full+pipe_nosec_test: $(BINDIR)/$(CONFIG)/h2_full+pipe_nosec_test |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1157 | h2_full+trace_nosec_test: $(BINDIR)/$(CONFIG)/h2_full+trace_nosec_test |
Mark D. Roth | a3ef601 | 2016-07-25 11:16:07 -0700 | [diff] [blame] | 1158 | h2_http_proxy_nosec_test: $(BINDIR)/$(CONFIG)/h2_http_proxy_nosec_test |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 1159 | h2_load_reporting_nosec_test: $(BINDIR)/$(CONFIG)/h2_load_reporting_nosec_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1160 | h2_proxy_nosec_test: $(BINDIR)/$(CONFIG)/h2_proxy_nosec_test |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 1161 | h2_sockpair_nosec_test: $(BINDIR)/$(CONFIG)/h2_sockpair_nosec_test |
| 1162 | h2_sockpair+trace_nosec_test: $(BINDIR)/$(CONFIG)/h2_sockpair+trace_nosec_test |
| 1163 | h2_sockpair_1byte_nosec_test: $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_nosec_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1164 | h2_uds_nosec_test: $(BINDIR)/$(CONFIG)/h2_uds_nosec_test |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 1165 | api_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 1166 | client_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1167 | hpack_parser_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 1168 | http_request_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/http_request_fuzzer_test_one_entry |
| 1169 | http_response_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/http_response_fuzzer_test_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1170 | json_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 1171 | nanopb_fuzzer_response_test_one_entry: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry |
| 1172 | nanopb_fuzzer_serverlist_test_one_entry: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry |
Craig Tiller | 17ed6b1 | 2016-08-18 09:33:33 -0700 | [diff] [blame] | 1173 | percent_decode_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/percent_decode_fuzzer_one_entry |
| 1174 | percent_encode_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/percent_encode_fuzzer_one_entry |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 1175 | server_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1176 | uri_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry |
ctiller | 09cb6d5 | 2014-12-19 17:38:22 -0800 | [diff] [blame] | 1177 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1178 | run_dep_checks: |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1179 | $(OPENSSL_ALPN_CHECK_CMD) || true |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 1180 | $(OPENSSL_NPN_CHECK_CMD) || true |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1181 | $(ZLIB_CHECK_CMD) || true |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1182 | $(PERFTOOLS_CHECK_CMD) || true |
| 1183 | $(PROTOBUF_CHECK_CMD) || true |
David Garcia Quintas | f5fcafd | 2015-04-24 16:12:54 -0700 | [diff] [blame] | 1184 | $(PROTOC_CHECK_VERSION_CMD) || true |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1185 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1186 | third_party/protobuf/configure: |
| 1187 | $(E) "[AUTOGEN] Preparing protobuf" |
| 1188 | $(Q)(cd third_party/protobuf ; autoreconf -f -i -Wall,no-obsolete) |
| 1189 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1190 | $(LIBDIR)/$(CONFIG)/protobuf/libprotobuf.a: third_party/protobuf/configure |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1191 | $(E) "[MAKE] Building protobuf" |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 1192 | $(Q)(cd third_party/protobuf ; CC="$(CC)" CXX="$(CXX)" LDFLAGS="$(LDFLAGS_$(CONFIG)) -g $(PROTOBUF_LDFLAGS_EXTRA)" CPPFLAGS="$(PIC_CPPFLAGS) $(CPPFLAGS_$(CONFIG)) -g $(PROTOBUF_CPPFLAGS_EXTRA)" ./configure --disable-shared --enable-static $(PROTOBUF_CONFIG_OPTS)) |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1193 | $(Q)$(MAKE) -C third_party/protobuf clean |
| 1194 | $(Q)$(MAKE) -C third_party/protobuf |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1195 | $(Q)mkdir -p $(LIBDIR)/$(CONFIG)/protobuf |
| 1196 | $(Q)mkdir -p $(BINDIR)/$(CONFIG)/protobuf |
| 1197 | $(Q)cp third_party/protobuf/src/.libs/libprotoc.a $(LIBDIR)/$(CONFIG)/protobuf |
| 1198 | $(Q)cp third_party/protobuf/src/.libs/libprotobuf.a $(LIBDIR)/$(CONFIG)/protobuf |
| 1199 | $(Q)cp third_party/protobuf/src/protoc $(BINDIR)/$(CONFIG)/protobuf |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1200 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1201 | static: static_c static_cxx |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1202 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1203 | static_c: pc_c pc_c_unsecure cache.mk $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 1204 | |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 1205 | static_cxx: pc_cxx pc_cxx_unsecure cache.mk $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1206 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1207 | shared: shared_c shared_cxx |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1208 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1209 | shared_c: pc_c pc_c_unsecure cache.mk $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 1210 | shared_cxx: pc_cxx pc_cxx_unsecure cache.mk $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1211 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1212 | shared_csharp: shared_c $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 1213 | grpc_csharp_ext: shared_csharp |
| 1214 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 1215 | plugins: $(PROTOC_PLUGINS) |
| 1216 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1217 | privatelibs: privatelibs_c privatelibs_cxx |
| 1218 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 1219 | privatelibs_c: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libz.a $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1220 | pc_c: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc |
| 1221 | |
| 1222 | pc_c_unsecure: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc |
| 1223 | |
| 1224 | pc_cxx: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc |
| 1225 | |
| 1226 | pc_cxx_unsecure: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1227 | |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1228 | ifeq ($(EMBED_OPENSSL),true) |
Nicolas "Pixel" Noble | bc0b088 | 2016-07-25 23:51:01 +0200 | [diff] [blame] | 1229 | privatelibs_cxx: $(LIBDIR)/$(CONFIG)/libgrpc++_reflection_codegen.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a $(LIBDIR)/$(CONFIG)/libinterop_client_main.a $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a $(LIBDIR)/$(CONFIG)/libinterop_server_lib.a $(LIBDIR)/$(CONFIG)/libinterop_server_main.a $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1230 | else |
Nicolas "Pixel" Noble | bc0b088 | 2016-07-25 23:51:01 +0200 | [diff] [blame] | 1231 | privatelibs_cxx: $(LIBDIR)/$(CONFIG)/libgrpc++_reflection_codegen.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a $(LIBDIR)/$(CONFIG)/libinterop_client_main.a $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a $(LIBDIR)/$(CONFIG)/libinterop_server_lib.a $(LIBDIR)/$(CONFIG)/libinterop_server_main.a $(LIBDIR)/$(CONFIG)/libqps.a |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1232 | endif |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1233 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1234 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1235 | buildtests: buildtests_c buildtests_cxx |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1236 | |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1237 | buildtests_c: privatelibs_c \ |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 1238 | $(BINDIR)/$(CONFIG)/alarm_test \ |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 1239 | $(BINDIR)/$(CONFIG)/algorithm_test \ |
Craig Tiller | b897337 | 2015-12-09 15:34:27 -0800 | [diff] [blame] | 1240 | $(BINDIR)/$(CONFIG)/alloc_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1241 | $(BINDIR)/$(CONFIG)/alpn_test \ |
Yuchen Zeng | 955a364 | 2016-06-17 13:48:03 -0700 | [diff] [blame] | 1242 | $(BINDIR)/$(CONFIG)/bad_server_response_test \ |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 1243 | $(BINDIR)/$(CONFIG)/bin_decoder_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1244 | $(BINDIR)/$(CONFIG)/bin_encoder_test \ |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 1245 | $(BINDIR)/$(CONFIG)/census_context_test \ |
Alistair Veitch | 4aaba75 | 2016-06-02 17:11:46 -0700 | [diff] [blame] | 1246 | $(BINDIR)/$(CONFIG)/census_resource_test \ |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 1247 | $(BINDIR)/$(CONFIG)/census_trace_context_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1248 | $(BINDIR)/$(CONFIG)/channel_create_test \ |
| 1249 | $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test \ |
| 1250 | $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test \ |
| 1251 | $(BINDIR)/$(CONFIG)/chttp2_stream_map_test \ |
| 1252 | $(BINDIR)/$(CONFIG)/chttp2_varint_test \ |
Craig Tiller | f7cade1 | 2016-07-07 21:41:10 -0700 | [diff] [blame] | 1253 | $(BINDIR)/$(CONFIG)/combiner_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1254 | $(BINDIR)/$(CONFIG)/compression_test \ |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 1255 | $(BINDIR)/$(CONFIG)/concurrent_connectivity_test \ |
Craig Tiller | 012372f | 2016-09-26 10:23:34 -0700 | [diff] [blame] | 1256 | $(BINDIR)/$(CONFIG)/connection_refused_test \ |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 1257 | $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test \ |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 1258 | $(BINDIR)/$(CONFIG)/dns_resolver_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1259 | $(BINDIR)/$(CONFIG)/dualstack_socket_test \ |
| 1260 | $(BINDIR)/$(CONFIG)/endpoint_pair_test \ |
Sree Kuchibhotla | 2e12db9 | 2016-06-16 16:53:59 -0700 | [diff] [blame] | 1261 | $(BINDIR)/$(CONFIG)/ev_epoll_linux_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1262 | $(BINDIR)/$(CONFIG)/fd_conservation_posix_test \ |
| 1263 | $(BINDIR)/$(CONFIG)/fd_posix_test \ |
| 1264 | $(BINDIR)/$(CONFIG)/fling_client \ |
| 1265 | $(BINDIR)/$(CONFIG)/fling_server \ |
| 1266 | $(BINDIR)/$(CONFIG)/fling_stream_test \ |
| 1267 | $(BINDIR)/$(CONFIG)/fling_test \ |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 1268 | $(BINDIR)/$(CONFIG)/goaway_server_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1269 | $(BINDIR)/$(CONFIG)/gpr_avl_test \ |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 1270 | $(BINDIR)/$(CONFIG)/gpr_backoff_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1271 | $(BINDIR)/$(CONFIG)/gpr_cmdline_test \ |
| 1272 | $(BINDIR)/$(CONFIG)/gpr_cpu_test \ |
| 1273 | $(BINDIR)/$(CONFIG)/gpr_env_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1274 | $(BINDIR)/$(CONFIG)/gpr_histogram_test \ |
| 1275 | $(BINDIR)/$(CONFIG)/gpr_host_port_test \ |
| 1276 | $(BINDIR)/$(CONFIG)/gpr_log_test \ |
Craig Tiller | 18879dc | 2016-05-02 22:13:48 -0700 | [diff] [blame] | 1277 | $(BINDIR)/$(CONFIG)/gpr_mpscq_test \ |
Craig Tiller | 17ed6b1 | 2016-08-18 09:33:33 -0700 | [diff] [blame] | 1278 | $(BINDIR)/$(CONFIG)/gpr_percent_encoding_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1279 | $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test \ |
| 1280 | $(BINDIR)/$(CONFIG)/gpr_slice_test \ |
| 1281 | $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test \ |
| 1282 | $(BINDIR)/$(CONFIG)/gpr_string_test \ |
| 1283 | $(BINDIR)/$(CONFIG)/gpr_sync_test \ |
| 1284 | $(BINDIR)/$(CONFIG)/gpr_thd_test \ |
| 1285 | $(BINDIR)/$(CONFIG)/gpr_time_test \ |
| 1286 | $(BINDIR)/$(CONFIG)/gpr_tls_test \ |
| 1287 | $(BINDIR)/$(CONFIG)/gpr_useful_test \ |
| 1288 | $(BINDIR)/$(CONFIG)/grpc_auth_context_test \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 1289 | $(BINDIR)/$(CONFIG)/grpc_b64_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1290 | $(BINDIR)/$(CONFIG)/grpc_byte_buffer_reader_test \ |
| 1291 | $(BINDIR)/$(CONFIG)/grpc_channel_args_test \ |
| 1292 | $(BINDIR)/$(CONFIG)/grpc_channel_stack_test \ |
| 1293 | $(BINDIR)/$(CONFIG)/grpc_completion_queue_test \ |
| 1294 | $(BINDIR)/$(CONFIG)/grpc_credentials_test \ |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 1295 | $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2 \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1296 | $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test \ |
| 1297 | $(BINDIR)/$(CONFIG)/grpc_json_token_test \ |
| 1298 | $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test \ |
| 1299 | $(BINDIR)/$(CONFIG)/grpc_security_connector_test \ |
| 1300 | $(BINDIR)/$(CONFIG)/hpack_parser_test \ |
| 1301 | $(BINDIR)/$(CONFIG)/hpack_table_test \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 1302 | $(BINDIR)/$(CONFIG)/http_parser_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1303 | $(BINDIR)/$(CONFIG)/httpcli_format_request_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1304 | $(BINDIR)/$(CONFIG)/httpcli_test \ |
Craig Tiller | 42c6c53 | 2015-12-10 08:31:10 -0800 | [diff] [blame] | 1305 | $(BINDIR)/$(CONFIG)/httpscli_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1306 | $(BINDIR)/$(CONFIG)/init_test \ |
Craig Tiller | 5cb7962 | 2016-03-15 14:46:54 -0700 | [diff] [blame] | 1307 | $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test \ |
| 1308 | $(BINDIR)/$(CONFIG)/internal_api_canary_support_test \ |
| 1309 | $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1310 | $(BINDIR)/$(CONFIG)/invalid_call_argument_test \ |
| 1311 | $(BINDIR)/$(CONFIG)/json_rewrite \ |
| 1312 | $(BINDIR)/$(CONFIG)/json_rewrite_test \ |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 1313 | $(BINDIR)/$(CONFIG)/json_stream_error_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1314 | $(BINDIR)/$(CONFIG)/json_test \ |
| 1315 | $(BINDIR)/$(CONFIG)/lame_client_test \ |
| 1316 | $(BINDIR)/$(CONFIG)/lb_policies_test \ |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 1317 | $(BINDIR)/$(CONFIG)/load_file_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1318 | $(BINDIR)/$(CONFIG)/message_compress_test \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 1319 | $(BINDIR)/$(CONFIG)/mlog_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1320 | $(BINDIR)/$(CONFIG)/multiple_server_queues_test \ |
| 1321 | $(BINDIR)/$(CONFIG)/murmur_hash_test \ |
| 1322 | $(BINDIR)/$(CONFIG)/no_server_test \ |
| 1323 | $(BINDIR)/$(CONFIG)/resolve_address_test \ |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 1324 | $(BINDIR)/$(CONFIG)/secure_channel_create_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1325 | $(BINDIR)/$(CONFIG)/secure_endpoint_test \ |
Craig Tiller | dbaf05e | 2016-06-12 22:16:56 -0700 | [diff] [blame] | 1326 | $(BINDIR)/$(CONFIG)/sequential_connectivity_test \ |
yang-g | 59d9f71 | 2015-12-10 09:50:57 -0800 | [diff] [blame] | 1327 | $(BINDIR)/$(CONFIG)/server_chttp2_test \ |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 1328 | $(BINDIR)/$(CONFIG)/server_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1329 | $(BINDIR)/$(CONFIG)/set_initial_connect_string_test \ |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 1330 | $(BINDIR)/$(CONFIG)/sockaddr_resolver_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1331 | $(BINDIR)/$(CONFIG)/sockaddr_utils_test \ |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 1332 | $(BINDIR)/$(CONFIG)/socket_utils_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1333 | $(BINDIR)/$(CONFIG)/tcp_client_posix_test \ |
| 1334 | $(BINDIR)/$(CONFIG)/tcp_posix_test \ |
| 1335 | $(BINDIR)/$(CONFIG)/tcp_server_posix_test \ |
| 1336 | $(BINDIR)/$(CONFIG)/time_averaged_stats_test \ |
| 1337 | $(BINDIR)/$(CONFIG)/timeout_encoding_test \ |
| 1338 | $(BINDIR)/$(CONFIG)/timer_heap_test \ |
| 1339 | $(BINDIR)/$(CONFIG)/timer_list_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1340 | $(BINDIR)/$(CONFIG)/transport_connectivity_state_test \ |
| 1341 | $(BINDIR)/$(CONFIG)/transport_metadata_test \ |
| 1342 | $(BINDIR)/$(CONFIG)/transport_security_test \ |
| 1343 | $(BINDIR)/$(CONFIG)/udp_server_test \ |
| 1344 | $(BINDIR)/$(CONFIG)/uri_parser_test \ |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1345 | $(BINDIR)/$(CONFIG)/wakeup_fd_cv_test \ |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 1346 | $(BINDIR)/$(CONFIG)/public_headers_must_be_c89 \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1347 | $(BINDIR)/$(CONFIG)/badreq_bad_client_test \ |
| 1348 | $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test \ |
Craig Tiller | 307a720 | 2016-04-02 07:40:39 -0700 | [diff] [blame] | 1349 | $(BINDIR)/$(CONFIG)/head_of_line_blocking_bad_client_test \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1350 | $(BINDIR)/$(CONFIG)/headers_bad_client_test \ |
| 1351 | $(BINDIR)/$(CONFIG)/initial_settings_frame_bad_client_test \ |
Mark D. Roth | 8a1d805 | 2016-05-03 10:44:56 -0700 | [diff] [blame] | 1352 | $(BINDIR)/$(CONFIG)/large_metadata_bad_client_test \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1353 | $(BINDIR)/$(CONFIG)/server_registered_method_bad_client_test \ |
| 1354 | $(BINDIR)/$(CONFIG)/simple_request_bad_client_test \ |
| 1355 | $(BINDIR)/$(CONFIG)/unknown_frame_bad_client_test \ |
| 1356 | $(BINDIR)/$(CONFIG)/window_overflow_bad_client_test \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1357 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_server \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1358 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1359 | $(BINDIR)/$(CONFIG)/h2_census_test \ |
| 1360 | $(BINDIR)/$(CONFIG)/h2_compress_test \ |
| 1361 | $(BINDIR)/$(CONFIG)/h2_fakesec_test \ |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1362 | $(BINDIR)/$(CONFIG)/h2_fd_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1363 | $(BINDIR)/$(CONFIG)/h2_full_test \ |
| 1364 | $(BINDIR)/$(CONFIG)/h2_full+pipe_test \ |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1365 | $(BINDIR)/$(CONFIG)/h2_full+trace_test \ |
Mark D. Roth | a3ef601 | 2016-07-25 11:16:07 -0700 | [diff] [blame] | 1366 | $(BINDIR)/$(CONFIG)/h2_http_proxy_test \ |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 1367 | $(BINDIR)/$(CONFIG)/h2_load_reporting_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1368 | $(BINDIR)/$(CONFIG)/h2_oauth2_test \ |
| 1369 | $(BINDIR)/$(CONFIG)/h2_proxy_test \ |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 1370 | $(BINDIR)/$(CONFIG)/h2_sockpair_test \ |
| 1371 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test \ |
| 1372 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1373 | $(BINDIR)/$(CONFIG)/h2_ssl_test \ |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 1374 | $(BINDIR)/$(CONFIG)/h2_ssl_cert_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1375 | $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1376 | $(BINDIR)/$(CONFIG)/h2_uds_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1377 | $(BINDIR)/$(CONFIG)/h2_census_nosec_test \ |
| 1378 | $(BINDIR)/$(CONFIG)/h2_compress_nosec_test \ |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1379 | $(BINDIR)/$(CONFIG)/h2_fd_nosec_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1380 | $(BINDIR)/$(CONFIG)/h2_full_nosec_test \ |
| 1381 | $(BINDIR)/$(CONFIG)/h2_full+pipe_nosec_test \ |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1382 | $(BINDIR)/$(CONFIG)/h2_full+trace_nosec_test \ |
Mark D. Roth | a3ef601 | 2016-07-25 11:16:07 -0700 | [diff] [blame] | 1383 | $(BINDIR)/$(CONFIG)/h2_http_proxy_nosec_test \ |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 1384 | $(BINDIR)/$(CONFIG)/h2_load_reporting_nosec_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1385 | $(BINDIR)/$(CONFIG)/h2_proxy_nosec_test \ |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 1386 | $(BINDIR)/$(CONFIG)/h2_sockpair_nosec_test \ |
| 1387 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_nosec_test \ |
| 1388 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_nosec_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1389 | $(BINDIR)/$(CONFIG)/h2_uds_nosec_test \ |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 1390 | $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry \ |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 1391 | $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1392 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry \ |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 1393 | $(BINDIR)/$(CONFIG)/http_request_fuzzer_test_one_entry \ |
| 1394 | $(BINDIR)/$(CONFIG)/http_response_fuzzer_test_one_entry \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1395 | $(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry \ |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 1396 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry \ |
| 1397 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry \ |
Craig Tiller | 17ed6b1 | 2016-08-18 09:33:33 -0700 | [diff] [blame] | 1398 | $(BINDIR)/$(CONFIG)/percent_decode_fuzzer_one_entry \ |
| 1399 | $(BINDIR)/$(CONFIG)/percent_encode_fuzzer_one_entry \ |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 1400 | $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1401 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry \ |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1402 | |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1403 | |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1404 | ifeq ($(EMBED_OPENSSL),true) |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1405 | buildtests_cxx: privatelibs_cxx \ |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 1406 | $(BINDIR)/$(CONFIG)/alarm_cpp_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1407 | $(BINDIR)/$(CONFIG)/async_end2end_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1408 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test \ |
| 1409 | $(BINDIR)/$(CONFIG)/channel_arguments_test \ |
| 1410 | $(BINDIR)/$(CONFIG)/cli_call_test \ |
| 1411 | $(BINDIR)/$(CONFIG)/client_crash_test \ |
| 1412 | $(BINDIR)/$(CONFIG)/client_crash_test_server \ |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 1413 | $(BINDIR)/$(CONFIG)/codegen_test_full \ |
| 1414 | $(BINDIR)/$(CONFIG)/codegen_test_minimal \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1415 | $(BINDIR)/$(CONFIG)/credentials_test \ |
| 1416 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test \ |
| 1417 | $(BINDIR)/$(CONFIG)/cxx_slice_test \ |
| 1418 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test \ |
| 1419 | $(BINDIR)/$(CONFIG)/cxx_time_test \ |
| 1420 | $(BINDIR)/$(CONFIG)/end2end_test \ |
Mark D. Roth | c459ecf | 2016-06-16 09:17:49 -0700 | [diff] [blame] | 1421 | $(BINDIR)/$(CONFIG)/filter_end2end_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1422 | $(BINDIR)/$(CONFIG)/generic_end2end_test \ |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1423 | $(BINDIR)/$(CONFIG)/golden_file_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1424 | $(BINDIR)/$(CONFIG)/grpc_cli \ |
Yuchen Zeng | 29ca79b | 2016-07-25 12:00:08 -0700 | [diff] [blame] | 1425 | $(BINDIR)/$(CONFIG)/grpc_tool_test \ |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1426 | $(BINDIR)/$(CONFIG)/grpclb_api_test \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 1427 | $(BINDIR)/$(CONFIG)/grpclb_test \ |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 1428 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1429 | $(BINDIR)/$(CONFIG)/interop_client \ |
| 1430 | $(BINDIR)/$(CONFIG)/interop_server \ |
| 1431 | $(BINDIR)/$(CONFIG)/interop_test \ |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1432 | $(BINDIR)/$(CONFIG)/json_run_localhost \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1433 | $(BINDIR)/$(CONFIG)/metrics_client \ |
| 1434 | $(BINDIR)/$(CONFIG)/mock_test \ |
Yuchen Zeng | 91c51a7 | 2016-05-20 14:46:49 -0700 | [diff] [blame] | 1435 | $(BINDIR)/$(CONFIG)/proto_server_reflection_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1436 | $(BINDIR)/$(CONFIG)/qps_interarrival_test \ |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1437 | $(BINDIR)/$(CONFIG)/qps_json_driver \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1438 | $(BINDIR)/$(CONFIG)/qps_openloop_test \ |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1439 | $(BINDIR)/$(CONFIG)/qps_worker \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1440 | $(BINDIR)/$(CONFIG)/reconnect_interop_client \ |
| 1441 | $(BINDIR)/$(CONFIG)/reconnect_interop_server \ |
| 1442 | $(BINDIR)/$(CONFIG)/secure_auth_context_test \ |
| 1443 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test \ |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 1444 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test \ |
yang-g | c4292fb | 2016-10-13 16:54:08 -0700 | [diff] [blame] | 1445 | $(BINDIR)/$(CONFIG)/server_context_test_spouse_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1446 | $(BINDIR)/$(CONFIG)/server_crash_test \ |
| 1447 | $(BINDIR)/$(CONFIG)/server_crash_test_client \ |
| 1448 | $(BINDIR)/$(CONFIG)/shutdown_test \ |
| 1449 | $(BINDIR)/$(CONFIG)/status_test \ |
| 1450 | $(BINDIR)/$(CONFIG)/streaming_throughput_test \ |
| 1451 | $(BINDIR)/$(CONFIG)/stress_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1452 | $(BINDIR)/$(CONFIG)/thread_stress_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1453 | $(BINDIR)/$(CONFIG)/boringssl_aes_test \ |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 1454 | $(BINDIR)/$(CONFIG)/boringssl_asn1_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1455 | $(BINDIR)/$(CONFIG)/boringssl_base64_test \ |
| 1456 | $(BINDIR)/$(CONFIG)/boringssl_bio_test \ |
| 1457 | $(BINDIR)/$(CONFIG)/boringssl_bn_test \ |
| 1458 | $(BINDIR)/$(CONFIG)/boringssl_bytestring_test \ |
| 1459 | $(BINDIR)/$(CONFIG)/boringssl_aead_test \ |
| 1460 | $(BINDIR)/$(CONFIG)/boringssl_cipher_test \ |
| 1461 | $(BINDIR)/$(CONFIG)/boringssl_cmac_test \ |
| 1462 | $(BINDIR)/$(CONFIG)/boringssl_constant_time_test \ |
| 1463 | $(BINDIR)/$(CONFIG)/boringssl_ed25519_test \ |
| 1464 | $(BINDIR)/$(CONFIG)/boringssl_x25519_test \ |
| 1465 | $(BINDIR)/$(CONFIG)/boringssl_dh_test \ |
| 1466 | $(BINDIR)/$(CONFIG)/boringssl_digest_test \ |
| 1467 | $(BINDIR)/$(CONFIG)/boringssl_dsa_test \ |
| 1468 | $(BINDIR)/$(CONFIG)/boringssl_ec_test \ |
| 1469 | $(BINDIR)/$(CONFIG)/boringssl_example_mul \ |
| 1470 | $(BINDIR)/$(CONFIG)/boringssl_ecdsa_test \ |
| 1471 | $(BINDIR)/$(CONFIG)/boringssl_err_test \ |
| 1472 | $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test \ |
| 1473 | $(BINDIR)/$(CONFIG)/boringssl_evp_test \ |
| 1474 | $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test \ |
| 1475 | $(BINDIR)/$(CONFIG)/boringssl_hkdf_test \ |
| 1476 | $(BINDIR)/$(CONFIG)/boringssl_hmac_test \ |
| 1477 | $(BINDIR)/$(CONFIG)/boringssl_lhash_test \ |
| 1478 | $(BINDIR)/$(CONFIG)/boringssl_gcm_test \ |
| 1479 | $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test \ |
| 1480 | $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test \ |
| 1481 | $(BINDIR)/$(CONFIG)/boringssl_poly1305_test \ |
| 1482 | $(BINDIR)/$(CONFIG)/boringssl_refcount_test \ |
| 1483 | $(BINDIR)/$(CONFIG)/boringssl_rsa_test \ |
| 1484 | $(BINDIR)/$(CONFIG)/boringssl_thread_test \ |
| 1485 | $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test \ |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 1486 | $(BINDIR)/$(CONFIG)/boringssl_x509_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1487 | $(BINDIR)/$(CONFIG)/boringssl_tab_test \ |
| 1488 | $(BINDIR)/$(CONFIG)/boringssl_v3name_test \ |
| 1489 | $(BINDIR)/$(CONFIG)/boringssl_pqueue_test \ |
| 1490 | $(BINDIR)/$(CONFIG)/boringssl_ssl_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1491 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1492 | else |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1493 | buildtests_cxx: privatelibs_cxx \ |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1494 | $(BINDIR)/$(CONFIG)/alarm_cpp_test \ |
| 1495 | $(BINDIR)/$(CONFIG)/async_end2end_test \ |
| 1496 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test \ |
| 1497 | $(BINDIR)/$(CONFIG)/channel_arguments_test \ |
| 1498 | $(BINDIR)/$(CONFIG)/cli_call_test \ |
| 1499 | $(BINDIR)/$(CONFIG)/client_crash_test \ |
| 1500 | $(BINDIR)/$(CONFIG)/client_crash_test_server \ |
| 1501 | $(BINDIR)/$(CONFIG)/codegen_test_full \ |
| 1502 | $(BINDIR)/$(CONFIG)/codegen_test_minimal \ |
| 1503 | $(BINDIR)/$(CONFIG)/credentials_test \ |
| 1504 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test \ |
| 1505 | $(BINDIR)/$(CONFIG)/cxx_slice_test \ |
| 1506 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test \ |
| 1507 | $(BINDIR)/$(CONFIG)/cxx_time_test \ |
| 1508 | $(BINDIR)/$(CONFIG)/end2end_test \ |
Mark D. Roth | ab950ee | 2016-06-29 14:51:53 -0700 | [diff] [blame] | 1509 | $(BINDIR)/$(CONFIG)/filter_end2end_test \ |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1510 | $(BINDIR)/$(CONFIG)/generic_end2end_test \ |
| 1511 | $(BINDIR)/$(CONFIG)/golden_file_test \ |
| 1512 | $(BINDIR)/$(CONFIG)/grpc_cli \ |
Yuchen Zeng | 29ca79b | 2016-07-25 12:00:08 -0700 | [diff] [blame] | 1513 | $(BINDIR)/$(CONFIG)/grpc_tool_test \ |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1514 | $(BINDIR)/$(CONFIG)/grpclb_api_test \ |
David Garcia Quintas | 86a00a6 | 2016-06-22 18:10:55 -0700 | [diff] [blame] | 1515 | $(BINDIR)/$(CONFIG)/grpclb_test \ |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1516 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test \ |
| 1517 | $(BINDIR)/$(CONFIG)/interop_client \ |
| 1518 | $(BINDIR)/$(CONFIG)/interop_server \ |
| 1519 | $(BINDIR)/$(CONFIG)/interop_test \ |
| 1520 | $(BINDIR)/$(CONFIG)/json_run_localhost \ |
| 1521 | $(BINDIR)/$(CONFIG)/metrics_client \ |
| 1522 | $(BINDIR)/$(CONFIG)/mock_test \ |
Vijay Pai | dc45677 | 2016-06-16 00:23:32 -0700 | [diff] [blame] | 1523 | $(BINDIR)/$(CONFIG)/proto_server_reflection_test \ |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1524 | $(BINDIR)/$(CONFIG)/qps_interarrival_test \ |
| 1525 | $(BINDIR)/$(CONFIG)/qps_json_driver \ |
| 1526 | $(BINDIR)/$(CONFIG)/qps_openloop_test \ |
| 1527 | $(BINDIR)/$(CONFIG)/qps_worker \ |
| 1528 | $(BINDIR)/$(CONFIG)/reconnect_interop_client \ |
| 1529 | $(BINDIR)/$(CONFIG)/reconnect_interop_server \ |
| 1530 | $(BINDIR)/$(CONFIG)/secure_auth_context_test \ |
| 1531 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test \ |
| 1532 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test \ |
yang-g | c4292fb | 2016-10-13 16:54:08 -0700 | [diff] [blame] | 1533 | $(BINDIR)/$(CONFIG)/server_context_test_spouse_test \ |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1534 | $(BINDIR)/$(CONFIG)/server_crash_test \ |
| 1535 | $(BINDIR)/$(CONFIG)/server_crash_test_client \ |
| 1536 | $(BINDIR)/$(CONFIG)/shutdown_test \ |
| 1537 | $(BINDIR)/$(CONFIG)/status_test \ |
| 1538 | $(BINDIR)/$(CONFIG)/streaming_throughput_test \ |
| 1539 | $(BINDIR)/$(CONFIG)/stress_test \ |
| 1540 | $(BINDIR)/$(CONFIG)/thread_stress_test \ |
| 1541 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1542 | endif |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1543 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1544 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1545 | test: test_c test_cxx |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1546 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1547 | flaky_test: flaky_test_c flaky_test_cxx |
Nicolas "Pixel" Noble | 4251d56 | 2015-05-22 19:43:39 +0200 | [diff] [blame] | 1548 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1549 | test_c: buildtests_c |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 1550 | $(E) "[RUN] Testing alarm_test" |
| 1551 | $(Q) $(BINDIR)/$(CONFIG)/alarm_test || ( echo test alarm_test failed ; exit 1 ) |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 1552 | $(E) "[RUN] Testing algorithm_test" |
| 1553 | $(Q) $(BINDIR)/$(CONFIG)/algorithm_test || ( echo test algorithm_test failed ; exit 1 ) |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 1554 | $(E) "[RUN] Testing alloc_test" |
| 1555 | $(Q) $(BINDIR)/$(CONFIG)/alloc_test || ( echo test alloc_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1556 | $(E) "[RUN] Testing alpn_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1557 | $(Q) $(BINDIR)/$(CONFIG)/alpn_test || ( echo test alpn_test failed ; exit 1 ) |
Yuchen Zeng | 955a364 | 2016-06-17 13:48:03 -0700 | [diff] [blame] | 1558 | $(E) "[RUN] Testing bad_server_response_test" |
| 1559 | $(Q) $(BINDIR)/$(CONFIG)/bad_server_response_test || ( echo test bad_server_response_test failed ; exit 1 ) |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 1560 | $(E) "[RUN] Testing bin_decoder_test" |
| 1561 | $(Q) $(BINDIR)/$(CONFIG)/bin_decoder_test || ( echo test bin_decoder_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1562 | $(E) "[RUN] Testing bin_encoder_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1563 | $(Q) $(BINDIR)/$(CONFIG)/bin_encoder_test || ( echo test bin_encoder_test failed ; exit 1 ) |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 1564 | $(E) "[RUN] Testing census_context_test" |
| 1565 | $(Q) $(BINDIR)/$(CONFIG)/census_context_test || ( echo test census_context_test failed ; exit 1 ) |
Alistair Veitch | 4aaba75 | 2016-06-02 17:11:46 -0700 | [diff] [blame] | 1566 | $(E) "[RUN] Testing census_resource_test" |
| 1567 | $(Q) $(BINDIR)/$(CONFIG)/census_resource_test || ( echo test census_resource_test failed ; exit 1 ) |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 1568 | $(E) "[RUN] Testing census_trace_context_test" |
| 1569 | $(Q) $(BINDIR)/$(CONFIG)/census_trace_context_test || ( echo test census_trace_context_test failed ; exit 1 ) |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 1570 | $(E) "[RUN] Testing channel_create_test" |
| 1571 | $(Q) $(BINDIR)/$(CONFIG)/channel_create_test || ( echo test channel_create_test failed ; exit 1 ) |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 1572 | $(E) "[RUN] Testing chttp2_hpack_encoder_test" |
| 1573 | $(Q) $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test || ( echo test chttp2_hpack_encoder_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1574 | $(E) "[RUN] Testing chttp2_status_conversion_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1575 | $(Q) $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test || ( echo test chttp2_status_conversion_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1576 | $(E) "[RUN] Testing chttp2_stream_map_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1577 | $(Q) $(BINDIR)/$(CONFIG)/chttp2_stream_map_test || ( echo test chttp2_stream_map_test failed ; exit 1 ) |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 1578 | $(E) "[RUN] Testing chttp2_varint_test" |
| 1579 | $(Q) $(BINDIR)/$(CONFIG)/chttp2_varint_test || ( echo test chttp2_varint_test failed ; exit 1 ) |
Craig Tiller | f7cade1 | 2016-07-07 21:41:10 -0700 | [diff] [blame] | 1580 | $(E) "[RUN] Testing combiner_test" |
| 1581 | $(Q) $(BINDIR)/$(CONFIG)/combiner_test || ( echo test combiner_test failed ; exit 1 ) |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 1582 | $(E) "[RUN] Testing compression_test" |
| 1583 | $(Q) $(BINDIR)/$(CONFIG)/compression_test || ( echo test compression_test failed ; exit 1 ) |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 1584 | $(E) "[RUN] Testing concurrent_connectivity_test" |
| 1585 | $(Q) $(BINDIR)/$(CONFIG)/concurrent_connectivity_test || ( echo test concurrent_connectivity_test failed ; exit 1 ) |
Craig Tiller | 012372f | 2016-09-26 10:23:34 -0700 | [diff] [blame] | 1586 | $(E) "[RUN] Testing connection_refused_test" |
| 1587 | $(Q) $(BINDIR)/$(CONFIG)/connection_refused_test || ( echo test connection_refused_test failed ; exit 1 ) |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 1588 | $(E) "[RUN] Testing dns_resolver_connectivity_test" |
| 1589 | $(Q) $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test || ( echo test dns_resolver_connectivity_test failed ; exit 1 ) |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 1590 | $(E) "[RUN] Testing dns_resolver_test" |
| 1591 | $(Q) $(BINDIR)/$(CONFIG)/dns_resolver_test || ( echo test dns_resolver_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1592 | $(E) "[RUN] Testing dualstack_socket_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1593 | $(Q) $(BINDIR)/$(CONFIG)/dualstack_socket_test || ( echo test dualstack_socket_test failed ; exit 1 ) |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 1594 | $(E) "[RUN] Testing endpoint_pair_test" |
| 1595 | $(Q) $(BINDIR)/$(CONFIG)/endpoint_pair_test || ( echo test endpoint_pair_test failed ; exit 1 ) |
Sree Kuchibhotla | 2e12db9 | 2016-06-16 16:53:59 -0700 | [diff] [blame] | 1596 | $(E) "[RUN] Testing ev_epoll_linux_test" |
| 1597 | $(Q) $(BINDIR)/$(CONFIG)/ev_epoll_linux_test || ( echo test ev_epoll_linux_test failed ; exit 1 ) |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 1598 | $(E) "[RUN] Testing fd_conservation_posix_test" |
| 1599 | $(Q) $(BINDIR)/$(CONFIG)/fd_conservation_posix_test || ( echo test fd_conservation_posix_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1600 | $(E) "[RUN] Testing fd_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1601 | $(Q) $(BINDIR)/$(CONFIG)/fd_posix_test || ( echo test fd_posix_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1602 | $(E) "[RUN] Testing fling_stream_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1603 | $(Q) $(BINDIR)/$(CONFIG)/fling_stream_test || ( echo test fling_stream_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1604 | $(E) "[RUN] Testing fling_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1605 | $(Q) $(BINDIR)/$(CONFIG)/fling_test || ( echo test fling_test failed ; exit 1 ) |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 1606 | $(E) "[RUN] Testing goaway_server_test" |
| 1607 | $(Q) $(BINDIR)/$(CONFIG)/goaway_server_test || ( echo test goaway_server_test failed ; exit 1 ) |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 1608 | $(E) "[RUN] Testing gpr_avl_test" |
| 1609 | $(Q) $(BINDIR)/$(CONFIG)/gpr_avl_test || ( echo test gpr_avl_test failed ; exit 1 ) |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 1610 | $(E) "[RUN] Testing gpr_backoff_test" |
| 1611 | $(Q) $(BINDIR)/$(CONFIG)/gpr_backoff_test || ( echo test gpr_backoff_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1612 | $(E) "[RUN] Testing gpr_cmdline_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1613 | $(Q) $(BINDIR)/$(CONFIG)/gpr_cmdline_test || ( echo test gpr_cmdline_test failed ; exit 1 ) |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 1614 | $(E) "[RUN] Testing gpr_cpu_test" |
| 1615 | $(Q) $(BINDIR)/$(CONFIG)/gpr_cpu_test || ( echo test gpr_cpu_test failed ; exit 1 ) |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 1616 | $(E) "[RUN] Testing gpr_env_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1617 | $(Q) $(BINDIR)/$(CONFIG)/gpr_env_test || ( echo test gpr_env_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1618 | $(E) "[RUN] Testing gpr_histogram_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1619 | $(Q) $(BINDIR)/$(CONFIG)/gpr_histogram_test || ( echo test gpr_histogram_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1620 | $(E) "[RUN] Testing gpr_host_port_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1621 | $(Q) $(BINDIR)/$(CONFIG)/gpr_host_port_test || ( echo test gpr_host_port_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1622 | $(E) "[RUN] Testing gpr_log_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1623 | $(Q) $(BINDIR)/$(CONFIG)/gpr_log_test || ( echo test gpr_log_test failed ; exit 1 ) |
Craig Tiller | 18879dc | 2016-05-02 22:13:48 -0700 | [diff] [blame] | 1624 | $(E) "[RUN] Testing gpr_mpscq_test" |
| 1625 | $(Q) $(BINDIR)/$(CONFIG)/gpr_mpscq_test || ( echo test gpr_mpscq_test failed ; exit 1 ) |
Craig Tiller | 17ed6b1 | 2016-08-18 09:33:33 -0700 | [diff] [blame] | 1626 | $(E) "[RUN] Testing gpr_percent_encoding_test" |
| 1627 | $(Q) $(BINDIR)/$(CONFIG)/gpr_percent_encoding_test || ( echo test gpr_percent_encoding_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1628 | $(E) "[RUN] Testing gpr_slice_buffer_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1629 | $(Q) $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test || ( echo test gpr_slice_buffer_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1630 | $(E) "[RUN] Testing gpr_slice_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1631 | $(Q) $(BINDIR)/$(CONFIG)/gpr_slice_test || ( echo test gpr_slice_test failed ; exit 1 ) |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 1632 | $(E) "[RUN] Testing gpr_stack_lockfree_test" |
| 1633 | $(Q) $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test || ( echo test gpr_stack_lockfree_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1634 | $(E) "[RUN] Testing gpr_string_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1635 | $(Q) $(BINDIR)/$(CONFIG)/gpr_string_test || ( echo test gpr_string_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1636 | $(E) "[RUN] Testing gpr_sync_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1637 | $(Q) $(BINDIR)/$(CONFIG)/gpr_sync_test || ( echo test gpr_sync_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1638 | $(E) "[RUN] Testing gpr_thd_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1639 | $(Q) $(BINDIR)/$(CONFIG)/gpr_thd_test || ( echo test gpr_thd_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1640 | $(E) "[RUN] Testing gpr_time_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1641 | $(Q) $(BINDIR)/$(CONFIG)/gpr_time_test || ( echo test gpr_time_test failed ; exit 1 ) |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 1642 | $(E) "[RUN] Testing gpr_tls_test" |
| 1643 | $(Q) $(BINDIR)/$(CONFIG)/gpr_tls_test || ( echo test gpr_tls_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1644 | $(E) "[RUN] Testing gpr_useful_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1645 | $(Q) $(BINDIR)/$(CONFIG)/gpr_useful_test || ( echo test gpr_useful_test failed ; exit 1 ) |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 1646 | $(E) "[RUN] Testing grpc_auth_context_test" |
| 1647 | $(Q) $(BINDIR)/$(CONFIG)/grpc_auth_context_test || ( echo test grpc_auth_context_test failed ; exit 1 ) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 1648 | $(E) "[RUN] Testing grpc_b64_test" |
| 1649 | $(Q) $(BINDIR)/$(CONFIG)/grpc_b64_test || ( echo test grpc_b64_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1650 | $(E) "[RUN] Testing grpc_byte_buffer_reader_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1651 | $(Q) $(BINDIR)/$(CONFIG)/grpc_byte_buffer_reader_test || ( echo test grpc_byte_buffer_reader_test failed ; exit 1 ) |
David Garcia Quintas | a4c4f02 | 2015-08-21 00:05:42 -0700 | [diff] [blame] | 1652 | $(E) "[RUN] Testing grpc_channel_args_test" |
| 1653 | $(Q) $(BINDIR)/$(CONFIG)/grpc_channel_args_test || ( echo test grpc_channel_args_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1654 | $(E) "[RUN] Testing grpc_channel_stack_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1655 | $(Q) $(BINDIR)/$(CONFIG)/grpc_channel_stack_test || ( echo test grpc_channel_stack_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1656 | $(E) "[RUN] Testing grpc_completion_queue_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1657 | $(Q) $(BINDIR)/$(CONFIG)/grpc_completion_queue_test || ( echo test grpc_completion_queue_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1658 | $(E) "[RUN] Testing grpc_credentials_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1659 | $(Q) $(BINDIR)/$(CONFIG)/grpc_credentials_test || ( echo test grpc_credentials_test failed ; exit 1 ) |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 1660 | $(E) "[RUN] Testing grpc_invalid_channel_args_test" |
| 1661 | $(Q) $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test || ( echo test grpc_invalid_channel_args_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1662 | $(E) "[RUN] Testing grpc_json_token_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1663 | $(Q) $(BINDIR)/$(CONFIG)/grpc_json_token_test || ( echo test grpc_json_token_test failed ; exit 1 ) |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 1664 | $(E) "[RUN] Testing grpc_jwt_verifier_test" |
| 1665 | $(Q) $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test || ( echo test grpc_jwt_verifier_test failed ; exit 1 ) |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 1666 | $(E) "[RUN] Testing grpc_security_connector_test" |
| 1667 | $(Q) $(BINDIR)/$(CONFIG)/grpc_security_connector_test || ( echo test grpc_security_connector_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1668 | $(E) "[RUN] Testing hpack_parser_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1669 | $(Q) $(BINDIR)/$(CONFIG)/hpack_parser_test || ( echo test hpack_parser_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1670 | $(E) "[RUN] Testing hpack_table_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1671 | $(Q) $(BINDIR)/$(CONFIG)/hpack_table_test || ( echo test hpack_table_test failed ; exit 1 ) |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 1672 | $(E) "[RUN] Testing http_parser_test" |
| 1673 | $(Q) $(BINDIR)/$(CONFIG)/http_parser_test || ( echo test http_parser_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1674 | $(E) "[RUN] Testing httpcli_format_request_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1675 | $(Q) $(BINDIR)/$(CONFIG)/httpcli_format_request_test || ( echo test httpcli_format_request_test failed ; exit 1 ) |
Craig Tiller | b5075e3 | 2015-06-05 13:00:46 -0700 | [diff] [blame] | 1676 | $(E) "[RUN] Testing httpcli_test" |
| 1677 | $(Q) $(BINDIR)/$(CONFIG)/httpcli_test || ( echo test httpcli_test failed ; exit 1 ) |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 1678 | $(E) "[RUN] Testing httpscli_test" |
| 1679 | $(Q) $(BINDIR)/$(CONFIG)/httpscli_test || ( echo test httpscli_test failed ; exit 1 ) |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 1680 | $(E) "[RUN] Testing init_test" |
| 1681 | $(Q) $(BINDIR)/$(CONFIG)/init_test || ( echo test init_test failed ; exit 1 ) |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 1682 | $(E) "[RUN] Testing invalid_call_argument_test" |
| 1683 | $(Q) $(BINDIR)/$(CONFIG)/invalid_call_argument_test || ( echo test invalid_call_argument_test failed ; exit 1 ) |
Craig Tiller | 772a976 | 2015-02-20 13:39:29 -0800 | [diff] [blame] | 1684 | $(E) "[RUN] Testing json_rewrite_test" |
| 1685 | $(Q) $(BINDIR)/$(CONFIG)/json_rewrite_test || ( echo test json_rewrite_test failed ; exit 1 ) |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 1686 | $(E) "[RUN] Testing json_stream_error_test" |
| 1687 | $(Q) $(BINDIR)/$(CONFIG)/json_stream_error_test || ( echo test json_stream_error_test failed ; exit 1 ) |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 1688 | $(E) "[RUN] Testing json_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1689 | $(Q) $(BINDIR)/$(CONFIG)/json_test || ( echo test json_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1690 | $(E) "[RUN] Testing lame_client_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1691 | $(Q) $(BINDIR)/$(CONFIG)/lame_client_test || ( echo test lame_client_test failed ; exit 1 ) |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 1692 | $(E) "[RUN] Testing load_file_test" |
| 1693 | $(Q) $(BINDIR)/$(CONFIG)/load_file_test || ( echo test load_file_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1694 | $(E) "[RUN] Testing message_compress_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1695 | $(Q) $(BINDIR)/$(CONFIG)/message_compress_test || ( echo test message_compress_test failed ; exit 1 ) |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 1696 | $(E) "[RUN] Testing multiple_server_queues_test" |
| 1697 | $(Q) $(BINDIR)/$(CONFIG)/multiple_server_queues_test || ( echo test multiple_server_queues_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1698 | $(E) "[RUN] Testing murmur_hash_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1699 | $(Q) $(BINDIR)/$(CONFIG)/murmur_hash_test || ( echo test murmur_hash_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1700 | $(E) "[RUN] Testing no_server_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1701 | $(Q) $(BINDIR)/$(CONFIG)/no_server_test || ( echo test no_server_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1702 | $(E) "[RUN] Testing resolve_address_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1703 | $(Q) $(BINDIR)/$(CONFIG)/resolve_address_test || ( echo test resolve_address_test failed ; exit 1 ) |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 1704 | $(E) "[RUN] Testing secure_channel_create_test" |
| 1705 | $(Q) $(BINDIR)/$(CONFIG)/secure_channel_create_test || ( echo test secure_channel_create_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1706 | $(E) "[RUN] Testing secure_endpoint_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1707 | $(Q) $(BINDIR)/$(CONFIG)/secure_endpoint_test || ( echo test secure_endpoint_test failed ; exit 1 ) |
Craig Tiller | dbaf05e | 2016-06-12 22:16:56 -0700 | [diff] [blame] | 1708 | $(E) "[RUN] Testing sequential_connectivity_test" |
| 1709 | $(Q) $(BINDIR)/$(CONFIG)/sequential_connectivity_test || ( echo test sequential_connectivity_test failed ; exit 1 ) |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 1710 | $(E) "[RUN] Testing server_chttp2_test" |
| 1711 | $(Q) $(BINDIR)/$(CONFIG)/server_chttp2_test || ( echo test server_chttp2_test failed ; exit 1 ) |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 1712 | $(E) "[RUN] Testing server_test" |
| 1713 | $(Q) $(BINDIR)/$(CONFIG)/server_test || ( echo test server_test failed ; exit 1 ) |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 1714 | $(E) "[RUN] Testing set_initial_connect_string_test" |
| 1715 | $(Q) $(BINDIR)/$(CONFIG)/set_initial_connect_string_test || ( echo test set_initial_connect_string_test failed ; exit 1 ) |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 1716 | $(E) "[RUN] Testing sockaddr_resolver_test" |
| 1717 | $(Q) $(BINDIR)/$(CONFIG)/sockaddr_resolver_test || ( echo test sockaddr_resolver_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1718 | $(E) "[RUN] Testing sockaddr_utils_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1719 | $(Q) $(BINDIR)/$(CONFIG)/sockaddr_utils_test || ( echo test sockaddr_utils_test failed ; exit 1 ) |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 1720 | $(E) "[RUN] Testing socket_utils_test" |
| 1721 | $(Q) $(BINDIR)/$(CONFIG)/socket_utils_test || ( echo test socket_utils_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1722 | $(E) "[RUN] Testing tcp_client_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1723 | $(Q) $(BINDIR)/$(CONFIG)/tcp_client_posix_test || ( echo test tcp_client_posix_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1724 | $(E) "[RUN] Testing tcp_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1725 | $(Q) $(BINDIR)/$(CONFIG)/tcp_posix_test || ( echo test tcp_posix_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1726 | $(E) "[RUN] Testing tcp_server_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1727 | $(Q) $(BINDIR)/$(CONFIG)/tcp_server_posix_test || ( echo test tcp_server_posix_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1728 | $(E) "[RUN] Testing time_averaged_stats_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1729 | $(Q) $(BINDIR)/$(CONFIG)/time_averaged_stats_test || ( echo test time_averaged_stats_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1730 | $(E) "[RUN] Testing timeout_encoding_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1731 | $(Q) $(BINDIR)/$(CONFIG)/timeout_encoding_test || ( echo test timeout_encoding_test failed ; exit 1 ) |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 1732 | $(E) "[RUN] Testing timer_heap_test" |
| 1733 | $(Q) $(BINDIR)/$(CONFIG)/timer_heap_test || ( echo test timer_heap_test failed ; exit 1 ) |
| 1734 | $(E) "[RUN] Testing timer_list_test" |
| 1735 | $(Q) $(BINDIR)/$(CONFIG)/timer_list_test || ( echo test timer_list_test failed ; exit 1 ) |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 1736 | $(E) "[RUN] Testing transport_connectivity_state_test" |
| 1737 | $(Q) $(BINDIR)/$(CONFIG)/transport_connectivity_state_test || ( echo test transport_connectivity_state_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1738 | $(E) "[RUN] Testing transport_metadata_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1739 | $(Q) $(BINDIR)/$(CONFIG)/transport_metadata_test || ( echo test transport_metadata_test failed ; exit 1 ) |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 1740 | $(E) "[RUN] Testing transport_security_test" |
| 1741 | $(Q) $(BINDIR)/$(CONFIG)/transport_security_test || ( echo test transport_security_test failed ; exit 1 ) |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 1742 | $(E) "[RUN] Testing udp_server_test" |
| 1743 | $(Q) $(BINDIR)/$(CONFIG)/udp_server_test || ( echo test udp_server_test failed ; exit 1 ) |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 1744 | $(E) "[RUN] Testing uri_parser_test" |
| 1745 | $(Q) $(BINDIR)/$(CONFIG)/uri_parser_test || ( echo test uri_parser_test failed ; exit 1 ) |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 1746 | $(E) "[RUN] Testing wakeup_fd_cv_test" |
| 1747 | $(Q) $(BINDIR)/$(CONFIG)/wakeup_fd_cv_test || ( echo test wakeup_fd_cv_test failed ; exit 1 ) |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 1748 | $(E) "[RUN] Testing public_headers_must_be_c89" |
| 1749 | $(Q) $(BINDIR)/$(CONFIG)/public_headers_must_be_c89 || ( echo test public_headers_must_be_c89 failed ; exit 1 ) |
Craig Tiller | 795764b | 2015-12-11 08:56:09 -0800 | [diff] [blame] | 1750 | $(E) "[RUN] Testing badreq_bad_client_test" |
| 1751 | $(Q) $(BINDIR)/$(CONFIG)/badreq_bad_client_test || ( echo test badreq_bad_client_test failed ; exit 1 ) |
Craig Tiller | ba3c3cd | 2015-05-26 06:28:10 -0700 | [diff] [blame] | 1752 | $(E) "[RUN] Testing connection_prefix_bad_client_test" |
| 1753 | $(Q) $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test || ( echo test connection_prefix_bad_client_test failed ; exit 1 ) |
Craig Tiller | 307a720 | 2016-04-02 07:40:39 -0700 | [diff] [blame] | 1754 | $(E) "[RUN] Testing head_of_line_blocking_bad_client_test" |
| 1755 | $(Q) $(BINDIR)/$(CONFIG)/head_of_line_blocking_bad_client_test || ( echo test head_of_line_blocking_bad_client_test failed ; exit 1 ) |
Craig Tiller | 535701c | 2015-12-07 10:09:44 -0800 | [diff] [blame] | 1756 | $(E) "[RUN] Testing headers_bad_client_test" |
| 1757 | $(Q) $(BINDIR)/$(CONFIG)/headers_bad_client_test || ( echo test headers_bad_client_test failed ; exit 1 ) |
Craig Tiller | 3c26d09 | 2015-06-05 14:48:30 -0700 | [diff] [blame] | 1758 | $(E) "[RUN] Testing initial_settings_frame_bad_client_test" |
| 1759 | $(Q) $(BINDIR)/$(CONFIG)/initial_settings_frame_bad_client_test || ( echo test initial_settings_frame_bad_client_test failed ; exit 1 ) |
Mark D. Roth | 8a1d805 | 2016-05-03 10:44:56 -0700 | [diff] [blame] | 1760 | $(E) "[RUN] Testing large_metadata_bad_client_test" |
| 1761 | $(Q) $(BINDIR)/$(CONFIG)/large_metadata_bad_client_test || ( echo test large_metadata_bad_client_test failed ; exit 1 ) |
Craig Tiller | 83399c9 | 2015-12-14 13:34:44 -0800 | [diff] [blame] | 1762 | $(E) "[RUN] Testing server_registered_method_bad_client_test" |
| 1763 | $(Q) $(BINDIR)/$(CONFIG)/server_registered_method_bad_client_test || ( echo test server_registered_method_bad_client_test failed ; exit 1 ) |
Craig Tiller | 2a2bee9 | 2015-12-09 08:32:58 -0800 | [diff] [blame] | 1764 | $(E) "[RUN] Testing simple_request_bad_client_test" |
| 1765 | $(Q) $(BINDIR)/$(CONFIG)/simple_request_bad_client_test || ( echo test simple_request_bad_client_test failed ; exit 1 ) |
Craig Tiller | eda1e9b | 2015-12-08 10:37:56 -0800 | [diff] [blame] | 1766 | $(E) "[RUN] Testing unknown_frame_bad_client_test" |
| 1767 | $(Q) $(BINDIR)/$(CONFIG)/unknown_frame_bad_client_test || ( echo test unknown_frame_bad_client_test failed ; exit 1 ) |
Craig Tiller | 3b66ab9 | 2015-12-09 19:42:22 -0800 | [diff] [blame] | 1768 | $(E) "[RUN] Testing window_overflow_bad_client_test" |
| 1769 | $(Q) $(BINDIR)/$(CONFIG)/window_overflow_bad_client_test || ( echo test window_overflow_bad_client_test failed ; exit 1 ) |
Craig Tiller | abd20f3 | 2015-12-13 11:48:59 -0800 | [diff] [blame] | 1770 | $(E) "[RUN] Testing bad_ssl_cert_test" |
| 1771 | $(Q) $(BINDIR)/$(CONFIG)/bad_ssl_cert_test || ( echo test bad_ssl_cert_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1772 | |
| 1773 | |
Nicolas "Pixel" Noble | 4251d56 | 2015-05-22 19:43:39 +0200 | [diff] [blame] | 1774 | flaky_test_c: buildtests_c |
Craig Tiller | de7edf8 | 2016-03-20 09:12:16 -0700 | [diff] [blame] | 1775 | $(E) "[RUN] Testing lb_policies_test" |
| 1776 | $(Q) $(BINDIR)/$(CONFIG)/lb_policies_test || ( echo test lb_policies_test failed ; exit 1 ) |
Craig Tiller | a5abbd2 | 2016-03-22 06:56:00 -0700 | [diff] [blame] | 1777 | $(E) "[RUN] Testing mlog_test" |
| 1778 | $(Q) $(BINDIR)/$(CONFIG)/mlog_test || ( echo test mlog_test failed ; exit 1 ) |
Nicolas "Pixel" Noble | 4251d56 | 2015-05-22 19:43:39 +0200 | [diff] [blame] | 1779 | |
| 1780 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1781 | test_cxx: buildtests_cxx |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 1782 | $(E) "[RUN] Testing alarm_cpp_test" |
| 1783 | $(Q) $(BINDIR)/$(CONFIG)/alarm_cpp_test || ( echo test alarm_cpp_test failed ; exit 1 ) |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 1784 | $(E) "[RUN] Testing async_end2end_test" |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 1785 | $(Q) $(BINDIR)/$(CONFIG)/async_end2end_test || ( echo test async_end2end_test failed ; exit 1 ) |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 1786 | $(E) "[RUN] Testing auth_property_iterator_test" |
| 1787 | $(Q) $(BINDIR)/$(CONFIG)/auth_property_iterator_test || ( echo test auth_property_iterator_test failed ; exit 1 ) |
yangg | 59dfc90 | 2014-12-19 14:00:14 -0800 | [diff] [blame] | 1788 | $(E) "[RUN] Testing channel_arguments_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1789 | $(Q) $(BINDIR)/$(CONFIG)/channel_arguments_test || ( echo test channel_arguments_test failed ; exit 1 ) |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 1790 | $(E) "[RUN] Testing cli_call_test" |
| 1791 | $(Q) $(BINDIR)/$(CONFIG)/cli_call_test || ( echo test cli_call_test failed ; exit 1 ) |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 1792 | $(E) "[RUN] Testing client_crash_test" |
| 1793 | $(Q) $(BINDIR)/$(CONFIG)/client_crash_test || ( echo test client_crash_test failed ; exit 1 ) |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 1794 | $(E) "[RUN] Testing codegen_test_full" |
| 1795 | $(Q) $(BINDIR)/$(CONFIG)/codegen_test_full || ( echo test codegen_test_full failed ; exit 1 ) |
| 1796 | $(E) "[RUN] Testing codegen_test_minimal" |
| 1797 | $(Q) $(BINDIR)/$(CONFIG)/codegen_test_minimal || ( echo test codegen_test_minimal failed ; exit 1 ) |
yangg | 4105e2b | 2015-01-09 14:19:44 -0800 | [diff] [blame] | 1798 | $(E) "[RUN] Testing credentials_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1799 | $(Q) $(BINDIR)/$(CONFIG)/credentials_test || ( echo test credentials_test failed ; exit 1 ) |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 1800 | $(E) "[RUN] Testing cxx_byte_buffer_test" |
| 1801 | $(Q) $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test || ( echo test cxx_byte_buffer_test failed ; exit 1 ) |
| 1802 | $(E) "[RUN] Testing cxx_slice_test" |
| 1803 | $(Q) $(BINDIR)/$(CONFIG)/cxx_slice_test || ( echo test cxx_slice_test failed ; exit 1 ) |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 1804 | $(E) "[RUN] Testing cxx_string_ref_test" |
| 1805 | $(Q) $(BINDIR)/$(CONFIG)/cxx_string_ref_test || ( echo test cxx_string_ref_test failed ; exit 1 ) |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 1806 | $(E) "[RUN] Testing cxx_time_test" |
| 1807 | $(Q) $(BINDIR)/$(CONFIG)/cxx_time_test || ( echo test cxx_time_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1808 | $(E) "[RUN] Testing end2end_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1809 | $(Q) $(BINDIR)/$(CONFIG)/end2end_test || ( echo test end2end_test failed ; exit 1 ) |
Mark D. Roth | c459ecf | 2016-06-16 09:17:49 -0700 | [diff] [blame] | 1810 | $(E) "[RUN] Testing filter_end2end_test" |
| 1811 | $(Q) $(BINDIR)/$(CONFIG)/filter_end2end_test || ( echo test filter_end2end_test failed ; exit 1 ) |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 1812 | $(E) "[RUN] Testing generic_end2end_test" |
| 1813 | $(Q) $(BINDIR)/$(CONFIG)/generic_end2end_test || ( echo test generic_end2end_test failed ; exit 1 ) |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1814 | $(E) "[RUN] Testing golden_file_test" |
| 1815 | $(Q) $(BINDIR)/$(CONFIG)/golden_file_test || ( echo test golden_file_test failed ; exit 1 ) |
Yuchen Zeng | 29ca79b | 2016-07-25 12:00:08 -0700 | [diff] [blame] | 1816 | $(E) "[RUN] Testing grpc_tool_test" |
| 1817 | $(Q) $(BINDIR)/$(CONFIG)/grpc_tool_test || ( echo test grpc_tool_test failed ; exit 1 ) |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1818 | $(E) "[RUN] Testing grpclb_api_test" |
| 1819 | $(Q) $(BINDIR)/$(CONFIG)/grpclb_api_test || ( echo test grpclb_api_test failed ; exit 1 ) |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 1820 | $(E) "[RUN] Testing grpclb_test" |
| 1821 | $(Q) $(BINDIR)/$(CONFIG)/grpclb_test || ( echo test grpclb_test failed ; exit 1 ) |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 1822 | $(E) "[RUN] Testing hybrid_end2end_test" |
| 1823 | $(Q) $(BINDIR)/$(CONFIG)/hybrid_end2end_test || ( echo test hybrid_end2end_test failed ; exit 1 ) |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 1824 | $(E) "[RUN] Testing interop_test" |
| 1825 | $(Q) $(BINDIR)/$(CONFIG)/interop_test || ( echo test interop_test failed ; exit 1 ) |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 1826 | $(E) "[RUN] Testing mock_test" |
| 1827 | $(Q) $(BINDIR)/$(CONFIG)/mock_test || ( echo test mock_test failed ; exit 1 ) |
Yuchen Zeng | 91c51a7 | 2016-05-20 14:46:49 -0700 | [diff] [blame] | 1828 | $(E) "[RUN] Testing proto_server_reflection_test" |
| 1829 | $(Q) $(BINDIR)/$(CONFIG)/proto_server_reflection_test || ( echo test proto_server_reflection_test failed ; exit 1 ) |
Vijay Pai | 1132c6b | 2016-02-11 06:05:24 -0800 | [diff] [blame] | 1830 | $(E) "[RUN] Testing qps_openloop_test" |
| 1831 | $(Q) $(BINDIR)/$(CONFIG)/qps_openloop_test || ( echo test qps_openloop_test failed ; exit 1 ) |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 1832 | $(E) "[RUN] Testing secure_auth_context_test" |
| 1833 | $(Q) $(BINDIR)/$(CONFIG)/secure_auth_context_test || ( echo test secure_auth_context_test failed ; exit 1 ) |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 1834 | $(E) "[RUN] Testing secure_sync_unary_ping_pong_test" |
| 1835 | $(Q) $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test || ( echo test secure_sync_unary_ping_pong_test failed ; exit 1 ) |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 1836 | $(E) "[RUN] Testing server_builder_plugin_test" |
| 1837 | $(Q) $(BINDIR)/$(CONFIG)/server_builder_plugin_test || ( echo test server_builder_plugin_test failed ; exit 1 ) |
yang-g | c4292fb | 2016-10-13 16:54:08 -0700 | [diff] [blame] | 1838 | $(E) "[RUN] Testing server_context_test_spouse_test" |
| 1839 | $(Q) $(BINDIR)/$(CONFIG)/server_context_test_spouse_test || ( echo test server_context_test_spouse_test failed ; exit 1 ) |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 1840 | $(E) "[RUN] Testing server_crash_test" |
| 1841 | $(Q) $(BINDIR)/$(CONFIG)/server_crash_test || ( echo test server_crash_test failed ; exit 1 ) |
Craig Tiller | 333ced0 | 2015-08-24 10:57:32 -0700 | [diff] [blame] | 1842 | $(E) "[RUN] Testing shutdown_test" |
| 1843 | $(Q) $(BINDIR)/$(CONFIG)/shutdown_test || ( echo test shutdown_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1844 | $(E) "[RUN] Testing status_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1845 | $(Q) $(BINDIR)/$(CONFIG)/status_test || ( echo test status_test failed ; exit 1 ) |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 1846 | $(E) "[RUN] Testing streaming_throughput_test" |
| 1847 | $(Q) $(BINDIR)/$(CONFIG)/streaming_throughput_test || ( echo test streaming_throughput_test failed ; exit 1 ) |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 1848 | $(E) "[RUN] Testing thread_stress_test" |
| 1849 | $(Q) $(BINDIR)/$(CONFIG)/thread_stress_test || ( echo test thread_stress_test failed ; exit 1 ) |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1850 | |
| 1851 | |
Nicolas "Pixel" Noble | 4251d56 | 2015-05-22 19:43:39 +0200 | [diff] [blame] | 1852 | flaky_test_cxx: buildtests_cxx |
| 1853 | |
| 1854 | |
Nicolas "Pixel" Noble | 051a28f | 2015-03-17 22:54:54 +0100 | [diff] [blame] | 1855 | test_python: static_c |
| 1856 | $(E) "[RUN] Testing python code" |
| 1857 | $(Q) tools/run_tests/run_tests.py -lpython -c$(CONFIG) |
| 1858 | |
| 1859 | |
Craig Tiller | 7552f0f | 2015-06-19 17:46:20 -0700 | [diff] [blame] | 1860 | tools: tools_c tools_cxx |
| 1861 | |
| 1862 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 1863 | tools_c: privatelibs_c $(BINDIR)/$(CONFIG)/gen_hpack_tables $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables $(BINDIR)/$(CONFIG)/grpc_create_jwt $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token $(BINDIR)/$(CONFIG)/grpc_verify_jwt |
Craig Tiller | 7552f0f | 2015-06-19 17:46:20 -0700 | [diff] [blame] | 1864 | |
| 1865 | tools_cxx: privatelibs_cxx |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1866 | |
vjpai | 29089c7 | 2016-04-20 12:38:16 -0700 | [diff] [blame] | 1867 | buildbenchmarks: privatelibs $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1868 | |
| 1869 | benchmarks: buildbenchmarks |
| 1870 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1871 | strip: strip-static strip-shared |
| 1872 | |
nnoble | 20e2e3f | 2014-12-16 15:37:57 -0800 | [diff] [blame] | 1873 | strip-static: strip-static_c strip-static_cxx |
| 1874 | |
| 1875 | strip-shared: strip-shared_c strip-shared_cxx |
| 1876 | |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 1877 | |
| 1878 | # TODO(nnoble): the strip target is stripping in-place, instead |
| 1879 | # of copying files in a temporary folder. |
| 1880 | # This prevents proper debugging after running make install. |
| 1881 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1882 | strip-static_c: static_c |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1883 | ifeq ($(CONFIG),opt) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 1884 | $(E) "[STRIP] Stripping libgpr.a" |
| 1885 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1886 | $(E) "[STRIP] Stripping libgrpc.a" |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1887 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc.a |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 1888 | $(E) "[STRIP] Stripping libgrpc_cronet.a" |
| 1889 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 1890 | $(E) "[STRIP] Stripping libgrpc_unsecure.a" |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1891 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1892 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1893 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1894 | strip-static_cxx: static_cxx |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1895 | ifeq ($(CONFIG),opt) |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1896 | $(E) "[STRIP] Stripping libgrpc++.a" |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1897 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++.a |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 1898 | $(E) "[STRIP] Stripping libgrpc++_reflection.a" |
| 1899 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 1900 | $(E) "[STRIP] Stripping libgrpc++_unsecure.a" |
| 1901 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1902 | endif |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1903 | |
| 1904 | strip-shared_c: shared_c |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1905 | ifeq ($(CONFIG),opt) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 1906 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT)" |
| 1907 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1908 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT)" |
| 1909 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 1910 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT)" |
| 1911 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1912 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
| 1913 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1914 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1915 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1916 | strip-shared_cxx: shared_cxx |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1917 | ifeq ($(CONFIG),opt) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1918 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT)" |
| 1919 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 1920 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT)" |
| 1921 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1922 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
| 1923 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1924 | endif |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1925 | |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 1926 | strip-shared_csharp: shared_csharp |
| 1927 | ifeq ($(CONFIG),opt) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1928 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT)" |
| 1929 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 1930 | endif |
| 1931 | |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 1932 | cache.mk:: |
| 1933 | $(E) "[MAKE] Generating $@" |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1934 | $(Q) echo "$(CACHE_MK)" | tr , '\n' >$@ |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 1935 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1936 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc: |
| 1937 | $(E) "[MAKE] Generating $@" |
| 1938 | $(Q) mkdir -p $(@D) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1939 | $(Q) echo "$(GRPC_PC_FILE)" | tr , '\n' >$@ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1940 | |
| 1941 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc: |
| 1942 | $(E) "[MAKE] Generating $@" |
| 1943 | $(Q) mkdir -p $(@D) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1944 | $(Q) echo "$(GRPC_UNSECURE_PC_FILE)" | tr , '\n' >$@ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1945 | |
| 1946 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc: |
| 1947 | $(E) "[MAKE] Generating $@" |
| 1948 | $(Q) mkdir -p $(@D) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1949 | $(Q) echo "$(GRPCXX_PC_FILE)" | tr , '\n' >$@ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1950 | |
| 1951 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc: |
| 1952 | $(E) "[MAKE] Generating $@" |
| 1953 | $(Q) mkdir -p $(@D) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1954 | $(Q) echo "$(GRPCXX_UNSECURE_PC_FILE)" | tr , '\n' >$@ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1955 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1956 | ifeq ($(NO_PROTOC),true) |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 1957 | $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc: protoc_dep_error |
| 1958 | $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc: protoc_dep_error |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1959 | else |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 1960 | $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc: src/proto/grpc/lb/v1/load_balancer.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1961 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1962 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1963 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1964 | |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 1965 | $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc: src/proto/grpc/lb/v1/load_balancer.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1966 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1967 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 1968 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1969 | endif |
| 1970 | |
| 1971 | ifeq ($(NO_PROTOC),true) |
Yuchen Zeng | 1318479 | 2016-07-18 13:07:42 -0700 | [diff] [blame] | 1972 | $(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.pb.cc: protoc_dep_error |
| 1973 | $(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc: protoc_dep_error |
| 1974 | else |
| 1975 | $(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.pb.cc: src/proto/grpc/reflection/v1alpha/reflection.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
| 1976 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1977 | $(Q) mkdir -p `dirname $@` |
| 1978 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
| 1979 | |
| 1980 | $(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc: src/proto/grpc/reflection/v1alpha/reflection.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
| 1981 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1982 | $(Q) mkdir -p `dirname $@` |
Yuchen Zeng | 26100cb | 2016-07-21 16:16:43 -0700 | [diff] [blame] | 1983 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
Chen Wang | 86af8cf | 2015-01-21 18:05:40 -0800 | [diff] [blame] | 1984 | endif |
| 1985 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1986 | ifeq ($(NO_PROTOC),true) |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1987 | $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: protoc_dep_error |
| 1988 | $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc: protoc_dep_error |
| 1989 | else |
| 1990 | $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: src/proto/grpc/testing/compiler_test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
| 1991 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1992 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1993 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1994 | |
| 1995 | $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc: src/proto/grpc/testing/compiler_test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
| 1996 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1997 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 1998 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1999 | endif |
| 2000 | |
| 2001 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2002 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc: protoc_dep_error |
| 2003 | $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc: protoc_dep_error |
Siddharth Rakesh | cc5857b | 2015-06-18 16:45:55 -0700 | [diff] [blame] | 2004 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2005 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc: src/proto/grpc/testing/control.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc |
Siddharth Rakesh | cc5857b | 2015-06-18 16:45:55 -0700 | [diff] [blame] | 2006 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2007 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2008 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Siddharth Rakesh | cc5857b | 2015-06-18 16:45:55 -0700 | [diff] [blame] | 2009 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2010 | $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc: src/proto/grpc/testing/control.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc |
Siddharth Rakesh | cc5857b | 2015-06-18 16:45:55 -0700 | [diff] [blame] | 2011 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2012 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2013 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
Siddharth Rakesh | cc5857b | 2015-06-18 16:45:55 -0700 | [diff] [blame] | 2014 | endif |
| 2015 | |
| 2016 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2017 | $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc: protoc_dep_error |
| 2018 | $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc: protoc_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2019 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2020 | $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc: src/proto/grpc/testing/duplicate/echo_duplicate.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 2021 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2022 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2023 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 2024 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2025 | $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc: src/proto/grpc/testing/duplicate/echo_duplicate.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 2026 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2027 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2028 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2029 | endif |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 2030 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2031 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2032 | $(GENDIR)/src/proto/grpc/testing/echo.pb.cc: protoc_dep_error |
| 2033 | $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc: protoc_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2034 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2035 | $(GENDIR)/src/proto/grpc/testing/echo.pb.cc: src/proto/grpc/testing/echo.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc |
yangg | 1456d15 | 2015-01-08 15:39:58 -0800 | [diff] [blame] | 2036 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2037 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2038 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 2039 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2040 | $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc: src/proto/grpc/testing/echo.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 2041 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2042 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2043 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2044 | endif |
yangg | 1456d15 | 2015-01-08 15:39:58 -0800 | [diff] [blame] | 2045 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2046 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2047 | $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc: protoc_dep_error |
| 2048 | $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc: protoc_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2049 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2050 | $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc: src/proto/grpc/testing/echo_messages.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
yangg | 1456d15 | 2015-01-08 15:39:58 -0800 | [diff] [blame] | 2051 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2052 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2053 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 2054 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2055 | $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc: src/proto/grpc/testing/echo_messages.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 2056 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2057 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2058 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2059 | endif |
yangg | 1456d15 | 2015-01-08 15:39:58 -0800 | [diff] [blame] | 2060 | |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 2061 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2062 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc: protoc_dep_error |
| 2063 | $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc: protoc_dep_error |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2064 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2065 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc: src/proto/grpc/testing/empty.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2066 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2067 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2068 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2069 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2070 | $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc: src/proto/grpc/testing/empty.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2071 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2072 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2073 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2074 | endif |
| 2075 | |
| 2076 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2077 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc: protoc_dep_error |
| 2078 | $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc: protoc_dep_error |
vjpai | 780a7f2 | 2015-11-04 00:19:09 -0800 | [diff] [blame] | 2079 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2080 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc: src/proto/grpc/testing/messages.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
vjpai | 780a7f2 | 2015-11-04 00:19:09 -0800 | [diff] [blame] | 2081 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2082 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2083 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
vjpai | 780a7f2 | 2015-11-04 00:19:09 -0800 | [diff] [blame] | 2084 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2085 | $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc: src/proto/grpc/testing/messages.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
vjpai | 780a7f2 | 2015-11-04 00:19:09 -0800 | [diff] [blame] | 2086 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2087 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2088 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
vjpai | 780a7f2 | 2015-11-04 00:19:09 -0800 | [diff] [blame] | 2089 | endif |
| 2090 | |
| 2091 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2092 | $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc: protoc_dep_error |
| 2093 | $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc: protoc_dep_error |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2094 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2095 | $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc: src/proto/grpc/testing/metrics.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2096 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2097 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2098 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2099 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2100 | $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc: src/proto/grpc/testing/metrics.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2101 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2102 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2103 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2104 | endif |
| 2105 | |
| 2106 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2107 | $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc: protoc_dep_error |
| 2108 | $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc: protoc_dep_error |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2109 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2110 | $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc: src/proto/grpc/testing/payloads.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2111 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2112 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2113 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2114 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2115 | $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc: src/proto/grpc/testing/payloads.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2116 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2117 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2118 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
Abhishek Kumar | 60572d4 | 2015-04-16 20:45:25 -0700 | [diff] [blame] | 2119 | endif |
| 2120 | |
| 2121 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2122 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc: protoc_dep_error |
| 2123 | $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc: protoc_dep_error |
Abhishek Kumar | 60572d4 | 2015-04-16 20:45:25 -0700 | [diff] [blame] | 2124 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2125 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc: src/proto/grpc/testing/services.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc |
Abhishek Kumar | 60572d4 | 2015-04-16 20:45:25 -0700 | [diff] [blame] | 2126 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2127 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2128 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Abhishek Kumar | 60572d4 | 2015-04-16 20:45:25 -0700 | [diff] [blame] | 2129 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2130 | $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc: src/proto/grpc/testing/services.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc |
Abhishek Kumar | 60572d4 | 2015-04-16 20:45:25 -0700 | [diff] [blame] | 2131 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2132 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2133 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
Abhishek Kumar | 60572d4 | 2015-04-16 20:45:25 -0700 | [diff] [blame] | 2134 | endif |
| 2135 | |
| 2136 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2137 | $(GENDIR)/src/proto/grpc/testing/stats.pb.cc: protoc_dep_error |
| 2138 | $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc: protoc_dep_error |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 2139 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2140 | $(GENDIR)/src/proto/grpc/testing/stats.pb.cc: src/proto/grpc/testing/stats.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 2141 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2142 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2143 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 2144 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2145 | $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc: src/proto/grpc/testing/stats.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 2146 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2147 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2148 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 2149 | endif |
| 2150 | |
| 2151 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2152 | $(GENDIR)/src/proto/grpc/testing/test.pb.cc: protoc_dep_error |
| 2153 | $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc: protoc_dep_error |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 2154 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2155 | $(GENDIR)/src/proto/grpc/testing/test.pb.cc: src/proto/grpc/testing/test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 2156 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2157 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2158 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 2159 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2160 | $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc: src/proto/grpc/testing/test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 2161 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2162 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2163 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin $< |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 2164 | endif |
| 2165 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2166 | |
David Garcia Quintas | bbc0b77 | 2015-04-29 14:10:05 -0700 | [diff] [blame] | 2167 | ifeq ($(CONFIG),stapprof) |
| 2168 | src/core/profiling/stap_timers.c: $(GENDIR)/src/core/profiling/stap_probes.h |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 2169 | ifeq ($(HAS_SYSTEMTAP),true) |
| 2170 | $(GENDIR)/src/core/profiling/stap_probes.h: src/core/profiling/stap_probes.d |
| 2171 | $(E) "[DTRACE] Compiling $<" |
| 2172 | $(Q) mkdir -p `dirname $@` |
| 2173 | $(Q) $(DTRACE) -C -h -s $< -o $@ |
David Garcia Quintas | 8954e90 | 2015-04-29 09:46:33 -0700 | [diff] [blame] | 2174 | else |
| 2175 | $(GENDIR)/src/core/profiling/stap_probes.h: systemtap_dep_error stop |
| 2176 | endif |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 2177 | endif |
| 2178 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2179 | $(OBJDIR)/$(CONFIG)/%.o : %.c |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2180 | $(E) "[C] Compiling $<" |
| 2181 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 2182 | $(Q) $(CC) $(CPPFLAGS) $(CFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2183 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2184 | $(OBJDIR)/$(CONFIG)/%.o : $(GENDIR)/%.pb.cc |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2185 | $(E) "[CXX] Compiling $<" |
| 2186 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 2187 | $(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2188 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2189 | $(OBJDIR)/$(CONFIG)/src/compiler/%.o : src/compiler/%.cc |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 2190 | $(E) "[HOSTCXX] Compiling $<" |
| 2191 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 12c8209 | 2015-01-15 08:45:56 -0800 | [diff] [blame] | 2192 | $(Q) $(HOST_CXX) $(HOST_CXXFLAGS) $(HOST_CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 2193 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2194 | $(OBJDIR)/$(CONFIG)/%.o : %.cc |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2195 | $(E) "[CXX] Compiling $<" |
| 2196 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 2197 | $(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2198 | |
murgatroid99 | a3c5535 | 2016-08-10 13:41:31 -0700 | [diff] [blame] | 2199 | install: install_c install_cxx install-plugins install-certs |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2200 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2201 | install_c: install-headers_c install-static_c install-shared_c |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2202 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2203 | install_cxx: install-headers_cxx install-static_cxx install-shared_cxx |
| 2204 | |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2205 | install_csharp: install-shared_csharp install_c |
| 2206 | |
| 2207 | install_grpc_csharp_ext: install_csharp |
| 2208 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2209 | install-headers: install-headers_c install-headers_cxx |
| 2210 | |
| 2211 | install-headers_c: |
| 2212 | $(E) "[INSTALL] Installing public C headers" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2213 | $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1 |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2214 | $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1 |
| 2215 | |
| 2216 | install-headers_cxx: |
| 2217 | $(E) "[INSTALL] Installing public C++ headers" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2218 | $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1 |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2219 | $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1 |
| 2220 | |
| 2221 | install-static: install-static_c install-static_cxx |
| 2222 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2223 | install-static_c: static_c strip-static_c install-pkg-config_c |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2224 | $(E) "[INSTALL] Installing libgpr.a" |
| 2225 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2226 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgpr.a $(prefix)/lib/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2227 | $(E) "[INSTALL] Installing libgrpc.a" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2228 | $(Q) $(INSTALL) -d $(prefix)/lib |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2229 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc.a $(prefix)/lib/libgrpc.a |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2230 | $(E) "[INSTALL] Installing libgrpc_cronet.a" |
| 2231 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2232 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a $(prefix)/lib/libgrpc_cronet.a |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 2233 | $(E) "[INSTALL] Installing libgrpc_unsecure.a" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2234 | $(Q) $(INSTALL) -d $(prefix)/lib |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2235 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(prefix)/lib/libgrpc_unsecure.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2236 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2237 | install-static_cxx: static_cxx strip-static_cxx install-pkg-config_cxx |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2238 | $(E) "[INSTALL] Installing libgrpc++.a" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2239 | $(Q) $(INSTALL) -d $(prefix)/lib |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2240 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(prefix)/lib/libgrpc++.a |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 2241 | $(E) "[INSTALL] Installing libgrpc++_reflection.a" |
| 2242 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2243 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(prefix)/lib/libgrpc++_reflection.a |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 2244 | $(E) "[INSTALL] Installing libgrpc++_unsecure.a" |
| 2245 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2246 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a $(prefix)/lib/libgrpc++_unsecure.a |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2247 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2248 | |
| 2249 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2250 | install-shared_c: shared_c strip-shared_c install-pkg-config_c |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2251 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT)" |
| 2252 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2253 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) |
| 2254 | ifeq ($(SYSTEM),MINGW32) |
| 2255 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgpr-imp.a $(prefix)/lib/libgpr-imp.a |
| 2256 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2257 | $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgpr.so.1 |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2258 | $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgpr.so |
| 2259 | endif |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2260 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2261 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2262 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2263 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2264 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc-imp.a $(prefix)/lib/libgrpc-imp.a |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2265 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2266 | $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc.so.1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2267 | $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc.so |
| 2268 | endif |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2269 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT)" |
| 2270 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2271 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) |
| 2272 | ifeq ($(SYSTEM),MINGW32) |
| 2273 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_cronet-imp.a $(prefix)/lib/libgrpc_cronet-imp.a |
| 2274 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2275 | $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_cronet.so.1 |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2276 | $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_cronet.so |
| 2277 | endif |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2278 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2279 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2280 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2281 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2282 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure-imp.a $(prefix)/lib/libgrpc_unsecure-imp.a |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2283 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2284 | $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.so.1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2285 | $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.so |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 2286 | endif |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2287 | ifneq ($(SYSTEM),MINGW32) |
| 2288 | ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | cc2b42a | 2015-02-20 00:42:21 +0100 | [diff] [blame] | 2289 | $(Q) ldconfig || true |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2290 | endif |
| 2291 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2292 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2293 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2294 | install-shared_cxx: shared_cxx strip-shared_cxx install-shared_c install-pkg-config_cxx |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2295 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2296 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2297 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) |
| 2298 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2299 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++-imp.a $(prefix)/lib/libgrpc++-imp.a |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2300 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2301 | $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++.so.1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2302 | $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++.so |
| 2303 | endif |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 2304 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT)" |
| 2305 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2306 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) |
| 2307 | ifeq ($(SYSTEM),MINGW32) |
| 2308 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection-imp.a $(prefix)/lib/libgrpc++_reflection-imp.a |
| 2309 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2310 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++_reflection.so.1 |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 2311 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++_reflection.so |
| 2312 | endif |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2313 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2314 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2315 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 2316 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 2317 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure-imp.a $(prefix)/lib/libgrpc++_unsecure-imp.a |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2318 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2319 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++_unsecure.so.1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2320 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++_unsecure.so |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 2321 | endif |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2322 | ifneq ($(SYSTEM),MINGW32) |
| 2323 | ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | cc2b42a | 2015-02-20 00:42:21 +0100 | [diff] [blame] | 2324 | $(Q) ldconfig || true |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2325 | endif |
| 2326 | endif |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2327 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2328 | |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2329 | install-shared_csharp: shared_csharp strip-shared_csharp |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2330 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT)" |
| 2331 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2332 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2333 | ifeq ($(SYSTEM),MINGW32) |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2334 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext-imp.a $(prefix)/lib/libgrpc_csharp_ext-imp.a |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2335 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2336 | $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_csharp_ext.so.1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2337 | $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_csharp_ext.so |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2338 | endif |
| 2339 | ifneq ($(SYSTEM),MINGW32) |
| 2340 | ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | cc2b42a | 2015-02-20 00:42:21 +0100 | [diff] [blame] | 2341 | $(Q) ldconfig || true |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2342 | endif |
| 2343 | endif |
| 2344 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2345 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2346 | install-plugins: $(PROTOC_PLUGINS) |
| 2347 | ifeq ($(SYSTEM),MINGW32) |
| 2348 | $(Q) false |
| 2349 | else |
| 2350 | $(E) "[INSTALL] Installing grpc protoc plugins" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2351 | $(Q) $(INSTALL) -d $(prefix)/bin |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2352 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_cpp_plugin $(prefix)/bin/grpc_cpp_plugin |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2353 | $(Q) $(INSTALL) -d $(prefix)/bin |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 2354 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_csharp_plugin $(prefix)/bin/grpc_csharp_plugin |
| 2355 | $(Q) $(INSTALL) -d $(prefix)/bin |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 2356 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_node_plugin $(prefix)/bin/grpc_node_plugin |
| 2357 | $(Q) $(INSTALL) -d $(prefix)/bin |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 2358 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin $(prefix)/bin/grpc_objective_c_plugin |
| 2359 | $(Q) $(INSTALL) -d $(prefix)/bin |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 2360 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_php_plugin $(prefix)/bin/grpc_php_plugin |
| 2361 | $(Q) $(INSTALL) -d $(prefix)/bin |
Masood Malekghassemi | f8e297a | 2015-02-19 15:39:32 -0800 | [diff] [blame] | 2362 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_python_plugin $(prefix)/bin/grpc_python_plugin |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2363 | $(Q) $(INSTALL) -d $(prefix)/bin |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 2364 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_ruby_plugin $(prefix)/bin/grpc_ruby_plugin |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2365 | endif |
| 2366 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 2367 | install-pkg-config_c: pc_c pc_c_unsecure |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2368 | $(E) "[INSTALL] Installing C pkg-config files" |
| 2369 | $(Q) $(INSTALL) -d $(prefix)/lib/pkgconfig |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2370 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc $(prefix)/lib/pkgconfig/grpc.pc |
| 2371 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc $(prefix)/lib/pkgconfig/grpc_unsecure.pc |
| 2372 | |
| 2373 | install-pkg-config_cxx: pc_cxx pc_cxx_unsecure |
| 2374 | $(E) "[INSTALL] Installing C++ pkg-config files" |
| 2375 | $(Q) $(INSTALL) -d $(prefix)/lib/pkgconfig |
| 2376 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc $(prefix)/lib/pkgconfig/grpc++.pc |
| 2377 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc $(prefix)/lib/pkgconfig/grpc++_unsecure.pc |
| 2378 | |
Nicolas "Pixel" Noble | 161ea23 | 2015-02-22 05:48:53 +0100 | [diff] [blame] | 2379 | install-certs: etc/roots.pem |
| 2380 | $(E) "[INSTALL] Installing root certificates" |
| 2381 | $(Q) $(INSTALL) -d $(prefix)/share/grpc |
| 2382 | $(Q) $(INSTALL) etc/roots.pem $(prefix)/share/grpc/roots.pem |
| 2383 | |
Craig Tiller | 3759e6f | 2015-01-15 08:13:11 -0800 | [diff] [blame] | 2384 | clean: |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2385 | $(E) "[CLEAN] Cleaning build directories." |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 2386 | $(Q) $(RM) -rf $(OBJDIR) $(LIBDIR) $(BINDIR) $(GENDIR) cache.mk |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2387 | |
| 2388 | |
| 2389 | # The various libraries |
| 2390 | |
| 2391 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2392 | LIBGPR_SRC = \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2393 | src/core/lib/profiling/basic_timers.c \ |
| 2394 | src/core/lib/profiling/stap_timers.c \ |
| 2395 | src/core/lib/support/alloc.c \ |
| 2396 | src/core/lib/support/avl.c \ |
| 2397 | src/core/lib/support/backoff.c \ |
| 2398 | src/core/lib/support/cmdline.c \ |
| 2399 | src/core/lib/support/cpu_iphone.c \ |
| 2400 | src/core/lib/support/cpu_linux.c \ |
| 2401 | src/core/lib/support/cpu_posix.c \ |
| 2402 | src/core/lib/support/cpu_windows.c \ |
| 2403 | src/core/lib/support/env_linux.c \ |
| 2404 | src/core/lib/support/env_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2405 | src/core/lib/support/env_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2406 | src/core/lib/support/histogram.c \ |
| 2407 | src/core/lib/support/host_port.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2408 | src/core/lib/support/log.c \ |
| 2409 | src/core/lib/support/log_android.c \ |
| 2410 | src/core/lib/support/log_linux.c \ |
| 2411 | src/core/lib/support/log_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2412 | src/core/lib/support/log_windows.c \ |
Craig Tiller | 0bc1171 | 2016-05-02 21:22:46 -0700 | [diff] [blame] | 2413 | src/core/lib/support/mpscq.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2414 | src/core/lib/support/murmur_hash.c \ |
Craig Tiller | 17ed6b1 | 2016-08-18 09:33:33 -0700 | [diff] [blame] | 2415 | src/core/lib/support/percent_encoding.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2416 | src/core/lib/support/slice.c \ |
| 2417 | src/core/lib/support/slice_buffer.c \ |
Craig Tiller | ad3c8c1 | 2016-05-02 21:47:30 -0700 | [diff] [blame] | 2418 | src/core/lib/support/stack_lockfree.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2419 | src/core/lib/support/string.c \ |
| 2420 | src/core/lib/support/string_posix.c \ |
Yuchen Zeng | 4594bd9 | 2016-05-31 14:06:01 -0700 | [diff] [blame] | 2421 | src/core/lib/support/string_util_windows.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2422 | src/core/lib/support/string_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2423 | src/core/lib/support/subprocess_posix.c \ |
| 2424 | src/core/lib/support/subprocess_windows.c \ |
| 2425 | src/core/lib/support/sync.c \ |
| 2426 | src/core/lib/support/sync_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2427 | src/core/lib/support/sync_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2428 | src/core/lib/support/thd.c \ |
| 2429 | src/core/lib/support/thd_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2430 | src/core/lib/support/thd_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2431 | src/core/lib/support/time.c \ |
| 2432 | src/core/lib/support/time_posix.c \ |
| 2433 | src/core/lib/support/time_precise.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2434 | src/core/lib/support/time_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2435 | src/core/lib/support/tls_pthread.c \ |
Nicolas "Pixel" Noble | c4b18a5 | 2016-04-15 04:53:54 +0200 | [diff] [blame] | 2436 | src/core/lib/support/tmpfile_msys.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2437 | src/core/lib/support/tmpfile_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2438 | src/core/lib/support/tmpfile_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2439 | src/core/lib/support/wrap_memcpy.c \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2440 | |
| 2441 | PUBLIC_HEADERS_C += \ |
| 2442 | include/grpc/support/alloc.h \ |
| 2443 | include/grpc/support/atm.h \ |
| 2444 | include/grpc/support/atm_gcc_atomic.h \ |
| 2445 | include/grpc/support/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2446 | include/grpc/support/atm_windows.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2447 | include/grpc/support/avl.h \ |
| 2448 | include/grpc/support/cmdline.h \ |
| 2449 | include/grpc/support/cpu.h \ |
| 2450 | include/grpc/support/histogram.h \ |
| 2451 | include/grpc/support/host_port.h \ |
| 2452 | include/grpc/support/log.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2453 | include/grpc/support/log_windows.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2454 | include/grpc/support/port_platform.h \ |
| 2455 | include/grpc/support/slice.h \ |
| 2456 | include/grpc/support/slice_buffer.h \ |
| 2457 | include/grpc/support/string_util.h \ |
| 2458 | include/grpc/support/subprocess.h \ |
| 2459 | include/grpc/support/sync.h \ |
| 2460 | include/grpc/support/sync_generic.h \ |
| 2461 | include/grpc/support/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2462 | include/grpc/support/sync_windows.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2463 | include/grpc/support/thd.h \ |
| 2464 | include/grpc/support/time.h \ |
| 2465 | include/grpc/support/tls.h \ |
| 2466 | include/grpc/support/tls_gcc.h \ |
| 2467 | include/grpc/support/tls_msvc.h \ |
| 2468 | include/grpc/support/tls_pthread.h \ |
| 2469 | include/grpc/support/useful.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2470 | include/grpc/impl/codegen/atm.h \ |
| 2471 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 2472 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2473 | include/grpc/impl/codegen/atm_windows.h \ |
David Garcia Quintas | 8c5424f | 2016-08-01 22:49:00 -0700 | [diff] [blame] | 2474 | include/grpc/impl/codegen/gpr_types.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2475 | include/grpc/impl/codegen/port_platform.h \ |
| 2476 | include/grpc/impl/codegen/slice.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2477 | include/grpc/impl/codegen/sync.h \ |
| 2478 | include/grpc/impl/codegen/sync_generic.h \ |
| 2479 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2480 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2481 | |
| 2482 | LIBGPR_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_SRC)))) |
| 2483 | |
| 2484 | |
| 2485 | $(LIBDIR)/$(CONFIG)/libgpr.a: $(ZLIB_DEP) $(LIBGPR_OBJS) |
| 2486 | $(E) "[AR] Creating $@" |
| 2487 | $(Q) mkdir -p `dirname $@` |
| 2488 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgpr.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2489 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBGPR_OBJS) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2490 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 2491 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2492 | endif |
| 2493 | |
| 2494 | |
| 2495 | |
| 2496 | ifeq ($(SYSTEM),MINGW32) |
| 2497 | $(LIBDIR)/$(CONFIG)/gpr$(SHARED_VERSION).$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP) |
| 2498 | $(E) "[LD] Linking $@" |
| 2499 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2500 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared gpr.def -Wl,--output-def=$(LIBDIR)/$(CONFIG)/gpr$(SHARED_VERSION).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION)-dll.a -o $(LIBDIR)/$(CONFIG)/gpr$(SHARED_VERSION).$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2501 | else |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2502 | $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2503 | $(E) "[LD] Linking $@" |
| 2504 | $(Q) mkdir -p `dirname $@` |
| 2505 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2506 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2507 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2508 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgpr.so.1 -o $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).$(SHARED_EXT) $(LIBGPR_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) |
| 2509 | $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).so.1 |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2510 | $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).so |
| 2511 | endif |
| 2512 | endif |
| 2513 | |
| 2514 | ifneq ($(NO_DEPS),true) |
| 2515 | -include $(LIBGPR_OBJS:.o=.dep) |
| 2516 | endif |
| 2517 | |
| 2518 | |
| 2519 | LIBGPR_TEST_UTIL_SRC = \ |
| 2520 | test/core/util/test_config.c \ |
| 2521 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 2522 | PUBLIC_HEADERS_C += \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2523 | |
| 2524 | LIBGPR_TEST_UTIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_TEST_UTIL_SRC)))) |
| 2525 | |
| 2526 | |
| 2527 | $(LIBDIR)/$(CONFIG)/libgpr_test_util.a: $(ZLIB_DEP) $(LIBGPR_TEST_UTIL_OBJS) |
| 2528 | $(E) "[AR] Creating $@" |
| 2529 | $(Q) mkdir -p `dirname $@` |
| 2530 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgpr_test_util.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2531 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBGPR_TEST_UTIL_OBJS) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2532 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 2533 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgpr_test_util.a |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2534 | endif |
| 2535 | |
| 2536 | |
| 2537 | |
| 2538 | |
| 2539 | ifneq ($(NO_DEPS),true) |
| 2540 | -include $(LIBGPR_TEST_UTIL_OBJS:.o=.dep) |
| 2541 | endif |
| 2542 | |
| 2543 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2544 | LIBGRPC_SRC = \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 2545 | src/core/lib/surface/init.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2546 | src/core/lib/channel/channel_args.c \ |
| 2547 | src/core/lib/channel/channel_stack.c \ |
| 2548 | src/core/lib/channel/channel_stack_builder.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2549 | src/core/lib/channel/compress_filter.c \ |
| 2550 | src/core/lib/channel/connected_channel.c \ |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 2551 | src/core/lib/channel/deadline_filter.c \ |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 2552 | src/core/lib/channel/handshaker.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2553 | src/core/lib/channel/http_client_filter.c \ |
| 2554 | src/core/lib/channel/http_server_filter.c \ |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 2555 | src/core/lib/channel/message_size_filter.c \ |
David Garcia Quintas | ac09447 | 2016-05-18 20:25:57 -0700 | [diff] [blame] | 2556 | src/core/lib/compression/compression.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2557 | src/core/lib/compression/message_compress.c \ |
| 2558 | src/core/lib/debug/trace.c \ |
| 2559 | src/core/lib/http/format_request.c \ |
| 2560 | src/core/lib/http/httpcli.c \ |
| 2561 | src/core/lib/http/parser.c \ |
| 2562 | src/core/lib/iomgr/closure.c \ |
Craig Tiller | f7cade1 | 2016-07-07 21:41:10 -0700 | [diff] [blame] | 2563 | src/core/lib/iomgr/combiner.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2564 | src/core/lib/iomgr/endpoint.c \ |
| 2565 | src/core/lib/iomgr/endpoint_pair_posix.c \ |
| 2566 | src/core/lib/iomgr/endpoint_pair_windows.c \ |
Craig Tiller | 27f59af | 2016-04-28 14:19:48 -0700 | [diff] [blame] | 2567 | src/core/lib/iomgr/error.c \ |
Sree Kuchibhotla | f448c34 | 2016-05-19 10:51:24 -0700 | [diff] [blame] | 2568 | src/core/lib/iomgr/ev_epoll_linux.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 2569 | src/core/lib/iomgr/ev_poll_and_epoll_posix.c \ |
Craig Tiller | d9a60bb | 2016-03-28 23:13:19 -0700 | [diff] [blame] | 2570 | src/core/lib/iomgr/ev_poll_posix.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 2571 | src/core/lib/iomgr/ev_posix.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2572 | src/core/lib/iomgr/exec_ctx.c \ |
| 2573 | src/core/lib/iomgr/executor.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2574 | src/core/lib/iomgr/iocp_windows.c \ |
| 2575 | src/core/lib/iomgr/iomgr.c \ |
| 2576 | src/core/lib/iomgr/iomgr_posix.c \ |
| 2577 | src/core/lib/iomgr/iomgr_windows.c \ |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 2578 | src/core/lib/iomgr/load_file.c \ |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 2579 | src/core/lib/iomgr/network_status_tracker.c \ |
David Garcia Quintas | 2a50dfe | 2016-05-31 15:09:12 -0700 | [diff] [blame] | 2580 | src/core/lib/iomgr/polling_entity.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2581 | src/core/lib/iomgr/pollset_set_windows.c \ |
| 2582 | src/core/lib/iomgr/pollset_windows.c \ |
| 2583 | src/core/lib/iomgr/resolve_address_posix.c \ |
| 2584 | src/core/lib/iomgr/resolve_address_windows.c \ |
| 2585 | src/core/lib/iomgr/sockaddr_utils.c \ |
| 2586 | src/core/lib/iomgr/socket_utils_common_posix.c \ |
| 2587 | src/core/lib/iomgr/socket_utils_linux.c \ |
| 2588 | src/core/lib/iomgr/socket_utils_posix.c \ |
| 2589 | src/core/lib/iomgr/socket_windows.c \ |
| 2590 | src/core/lib/iomgr/tcp_client_posix.c \ |
| 2591 | src/core/lib/iomgr/tcp_client_windows.c \ |
| 2592 | src/core/lib/iomgr/tcp_posix.c \ |
| 2593 | src/core/lib/iomgr/tcp_server_posix.c \ |
| 2594 | src/core/lib/iomgr/tcp_server_windows.c \ |
| 2595 | src/core/lib/iomgr/tcp_windows.c \ |
| 2596 | src/core/lib/iomgr/time_averaged_stats.c \ |
| 2597 | src/core/lib/iomgr/timer.c \ |
| 2598 | src/core/lib/iomgr/timer_heap.c \ |
| 2599 | src/core/lib/iomgr/udp_server.c \ |
| 2600 | src/core/lib/iomgr/unix_sockets_posix.c \ |
| 2601 | src/core/lib/iomgr/unix_sockets_posix_noop.c \ |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 2602 | src/core/lib/iomgr/wakeup_fd_cv.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2603 | src/core/lib/iomgr/wakeup_fd_eventfd.c \ |
| 2604 | src/core/lib/iomgr/wakeup_fd_nospecial.c \ |
| 2605 | src/core/lib/iomgr/wakeup_fd_pipe.c \ |
| 2606 | src/core/lib/iomgr/wakeup_fd_posix.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2607 | src/core/lib/iomgr/workqueue_windows.c \ |
| 2608 | src/core/lib/json/json.c \ |
| 2609 | src/core/lib/json/json_reader.c \ |
| 2610 | src/core/lib/json/json_string.c \ |
| 2611 | src/core/lib/json/json_writer.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2612 | src/core/lib/surface/alarm.c \ |
| 2613 | src/core/lib/surface/api_trace.c \ |
| 2614 | src/core/lib/surface/byte_buffer.c \ |
| 2615 | src/core/lib/surface/byte_buffer_reader.c \ |
| 2616 | src/core/lib/surface/call.c \ |
| 2617 | src/core/lib/surface/call_details.c \ |
| 2618 | src/core/lib/surface/call_log_batch.c \ |
| 2619 | src/core/lib/surface/channel.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2620 | src/core/lib/surface/channel_init.c \ |
| 2621 | src/core/lib/surface/channel_ping.c \ |
| 2622 | src/core/lib/surface/channel_stack_type.c \ |
| 2623 | src/core/lib/surface/completion_queue.c \ |
| 2624 | src/core/lib/surface/event_string.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2625 | src/core/lib/surface/lame_client.c \ |
| 2626 | src/core/lib/surface/metadata_array.c \ |
| 2627 | src/core/lib/surface/server.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2628 | src/core/lib/surface/validate_metadata.c \ |
| 2629 | src/core/lib/surface/version.c \ |
| 2630 | src/core/lib/transport/byte_stream.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2631 | src/core/lib/transport/connectivity_state.c \ |
| 2632 | src/core/lib/transport/metadata.c \ |
| 2633 | src/core/lib/transport/metadata_batch.c \ |
| 2634 | src/core/lib/transport/static_metadata.c \ |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 2635 | src/core/lib/transport/timeout_encoding.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2636 | src/core/lib/transport/transport.c \ |
| 2637 | src/core/lib/transport/transport_op_string.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2638 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c \ |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 2639 | src/core/ext/transport/chttp2/transport/bin_decoder.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2640 | src/core/ext/transport/chttp2/transport/bin_encoder.c \ |
| 2641 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c \ |
| 2642 | src/core/ext/transport/chttp2/transport/chttp2_transport.c \ |
| 2643 | src/core/ext/transport/chttp2/transport/frame_data.c \ |
| 2644 | src/core/ext/transport/chttp2/transport/frame_goaway.c \ |
| 2645 | src/core/ext/transport/chttp2/transport/frame_ping.c \ |
| 2646 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c \ |
| 2647 | src/core/ext/transport/chttp2/transport/frame_settings.c \ |
| 2648 | src/core/ext/transport/chttp2/transport/frame_window_update.c \ |
| 2649 | src/core/ext/transport/chttp2/transport/hpack_encoder.c \ |
| 2650 | src/core/ext/transport/chttp2/transport/hpack_parser.c \ |
| 2651 | src/core/ext/transport/chttp2/transport/hpack_table.c \ |
| 2652 | src/core/ext/transport/chttp2/transport/huffsyms.c \ |
| 2653 | src/core/ext/transport/chttp2/transport/incoming_metadata.c \ |
| 2654 | src/core/ext/transport/chttp2/transport/parsing.c \ |
| 2655 | src/core/ext/transport/chttp2/transport/status_conversion.c \ |
| 2656 | src/core/ext/transport/chttp2/transport/stream_lists.c \ |
| 2657 | src/core/ext/transport/chttp2/transport/stream_map.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2658 | src/core/ext/transport/chttp2/transport/varint.c \ |
| 2659 | src/core/ext/transport/chttp2/transport/writing.c \ |
| 2660 | src/core/ext/transport/chttp2/alpn/alpn.c \ |
| 2661 | src/core/lib/http/httpcli_security_connector.c \ |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 2662 | src/core/lib/security/context/security_context.c \ |
| 2663 | src/core/lib/security/credentials/composite/composite_credentials.c \ |
| 2664 | src/core/lib/security/credentials/credentials.c \ |
| 2665 | src/core/lib/security/credentials/credentials_metadata.c \ |
| 2666 | src/core/lib/security/credentials/fake/fake_credentials.c \ |
| 2667 | src/core/lib/security/credentials/google_default/credentials_posix.c \ |
Yuchen Zeng | 4594bd9 | 2016-05-31 14:06:01 -0700 | [diff] [blame] | 2668 | src/core/lib/security/credentials/google_default/credentials_windows.c \ |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 2669 | src/core/lib/security/credentials/google_default/google_default_credentials.c \ |
| 2670 | src/core/lib/security/credentials/iam/iam_credentials.c \ |
| 2671 | src/core/lib/security/credentials/jwt/json_token.c \ |
| 2672 | src/core/lib/security/credentials/jwt/jwt_credentials.c \ |
| 2673 | src/core/lib/security/credentials/jwt/jwt_verifier.c \ |
| 2674 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c \ |
| 2675 | src/core/lib/security/credentials/plugin/plugin_credentials.c \ |
| 2676 | src/core/lib/security/credentials/ssl/ssl_credentials.c \ |
| 2677 | src/core/lib/security/transport/client_auth_filter.c \ |
| 2678 | src/core/lib/security/transport/handshake.c \ |
| 2679 | src/core/lib/security/transport/secure_endpoint.c \ |
| 2680 | src/core/lib/security/transport/security_connector.c \ |
| 2681 | src/core/lib/security/transport/server_auth_filter.c \ |
Craig Tiller | ddad978 | 2016-05-05 17:11:31 -0700 | [diff] [blame] | 2682 | src/core/lib/security/transport/tsi_error.c \ |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 2683 | src/core/lib/security/util/b64.c \ |
| 2684 | src/core/lib/security/util/json_util.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2685 | src/core/lib/surface/init_secure.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2686 | src/core/lib/tsi/fake_transport_security.c \ |
| 2687 | src/core/lib/tsi/ssl_transport_security.c \ |
| 2688 | src/core/lib/tsi/transport_security.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2689 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c \ |
| 2690 | src/core/ext/client_config/channel_connectivity.c \ |
| 2691 | src/core/ext/client_config/client_channel.c \ |
| 2692 | src/core/ext/client_config/client_channel_factory.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2693 | src/core/ext/client_config/client_config_plugin.c \ |
| 2694 | src/core/ext/client_config/connector.c \ |
| 2695 | src/core/ext/client_config/default_initial_connect_string.c \ |
Mark D. Roth | 1102a9e | 2016-07-22 09:10:01 -0700 | [diff] [blame] | 2696 | src/core/ext/client_config/http_connect_handshaker.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2697 | src/core/ext/client_config/initial_connect_string.c \ |
| 2698 | src/core/ext/client_config/lb_policy.c \ |
| 2699 | src/core/ext/client_config/lb_policy_factory.c \ |
| 2700 | src/core/ext/client_config/lb_policy_registry.c \ |
David Garcia Quintas | 9885bff | 2016-04-07 17:31:29 -0700 | [diff] [blame] | 2701 | src/core/ext/client_config/parse_address.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2702 | src/core/ext/client_config/resolver.c \ |
| 2703 | src/core/ext/client_config/resolver_factory.c \ |
| 2704 | src/core/ext/client_config/resolver_registry.c \ |
Mark D. Roth | ff4df06 | 2016-08-22 15:02:49 -0700 | [diff] [blame] | 2705 | src/core/ext/client_config/resolver_result.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2706 | src/core/ext/client_config/subchannel.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2707 | src/core/ext/client_config/subchannel_index.c \ |
| 2708 | src/core/ext/client_config/uri_parser.c \ |
| 2709 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \ |
Adam Michalik | bf10c82 | 2016-05-20 16:13:32 -0700 | [diff] [blame] | 2710 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2711 | src/core/ext/transport/chttp2/client/insecure/channel_create.c \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 2712 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c \ |
David Garcia Quintas | 3fb8f73 | 2016-06-15 22:53:08 -0700 | [diff] [blame] | 2713 | src/core/ext/lb_policy/grpclb/grpclb.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2714 | src/core/ext/lb_policy/grpclb/load_balancer_api.c \ |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 2715 | src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c \ |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 2716 | third_party/nanopb/pb_common.c \ |
| 2717 | third_party/nanopb/pb_decode.c \ |
| 2718 | third_party/nanopb/pb_encode.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2719 | src/core/ext/lb_policy/pick_first/pick_first.c \ |
| 2720 | src/core/ext/lb_policy/round_robin/round_robin.c \ |
| 2721 | src/core/ext/resolver/dns/native/dns_resolver.c \ |
| 2722 | src/core/ext/resolver/sockaddr/sockaddr_resolver.c \ |
David Garcia Quintas | b41363e | 2016-04-29 00:41:21 -0700 | [diff] [blame] | 2723 | src/core/ext/load_reporting/load_reporting.c \ |
| 2724 | src/core/ext/load_reporting/load_reporting_filter.c \ |
Alistair Veitch | 4aaba75 | 2016-06-02 17:11:46 -0700 | [diff] [blame] | 2725 | src/core/ext/census/base_resources.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2726 | src/core/ext/census/context.c \ |
Alistair Veitch | 30fe632 | 2016-05-23 10:11:28 -0700 | [diff] [blame] | 2727 | src/core/ext/census/gen/census.pb.c \ |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 2728 | src/core/ext/census/gen/trace_context.pb.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2729 | src/core/ext/census/grpc_context.c \ |
| 2730 | src/core/ext/census/grpc_filter.c \ |
| 2731 | src/core/ext/census/grpc_plugin.c \ |
| 2732 | src/core/ext/census/initialize.c \ |
| 2733 | src/core/ext/census/mlog.c \ |
| 2734 | src/core/ext/census/operation.c \ |
| 2735 | src/core/ext/census/placeholders.c \ |
Alistair Veitch | 4aaba75 | 2016-06-02 17:11:46 -0700 | [diff] [blame] | 2736 | src/core/ext/census/resource.c \ |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 2737 | src/core/ext/census/trace_context.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2738 | src/core/ext/census/tracing.c \ |
| 2739 | src/core/plugin_registry/grpc_plugin_registry.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2740 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2741 | PUBLIC_HEADERS_C += \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2742 | include/grpc/byte_buffer.h \ |
| 2743 | include/grpc/byte_buffer_reader.h \ |
David Garcia Quintas | 59f905d | 2015-06-08 16:31:19 -0700 | [diff] [blame] | 2744 | include/grpc/compression.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2745 | include/grpc/grpc.h \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 2746 | include/grpc/grpc_posix.h \ |
Nicolas "Pixel" Noble | a469e5d | 2016-08-16 22:09:27 +0200 | [diff] [blame] | 2747 | include/grpc/grpc_security_constants.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2748 | include/grpc/status.h \ |
David Garcia Quintas | 1b2db63 | 2016-04-27 15:06:54 -0700 | [diff] [blame] | 2749 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2750 | include/grpc/impl/codegen/compression_types.h \ |
| 2751 | include/grpc/impl/codegen/connectivity_state.h \ |
| 2752 | include/grpc/impl/codegen/grpc_types.h \ |
| 2753 | include/grpc/impl/codegen/propagation_bits.h \ |
| 2754 | include/grpc/impl/codegen/status.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2755 | include/grpc/impl/codegen/atm.h \ |
| 2756 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 2757 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2758 | include/grpc/impl/codegen/atm_windows.h \ |
David Garcia Quintas | 8c5424f | 2016-08-01 22:49:00 -0700 | [diff] [blame] | 2759 | include/grpc/impl/codegen/gpr_types.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2760 | include/grpc/impl/codegen/port_platform.h \ |
| 2761 | include/grpc/impl/codegen/slice.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2762 | include/grpc/impl/codegen/sync.h \ |
| 2763 | include/grpc/impl/codegen/sync_generic.h \ |
| 2764 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2765 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2766 | include/grpc/grpc_security.h \ |
| 2767 | include/grpc/census.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2768 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2769 | LIBGRPC_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_SRC)))) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2770 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 2771 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2772 | ifeq ($(NO_SECURE),true) |
| 2773 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 2774 | # You can't build secure libraries if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 2775 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2776 | $(LIBDIR)/$(CONFIG)/libgrpc.a: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2777 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2778 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2779 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2780 | else |
| 2781 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2782 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 2783 | $(LIBDIR)/$(CONFIG)/libgrpc.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) $(OPENSSL_MERGE_OBJS) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2784 | $(E) "[AR] Creating $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2785 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2786 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 2787 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBGRPC_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) $(OPENSSL_MERGE_OBJS) |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 2788 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 2789 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 2790 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2791 | |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2792 | |
| 2793 | |
| 2794 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2795 | $(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_DEP) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2796 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2797 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2798 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared grpc.def -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2799 | else |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 2800 | $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_DEP) |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2801 | $(E) "[LD] Linking $@" |
| 2802 | $(Q) mkdir -p `dirname $@` |
| 2803 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2804 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2805 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2806 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.1 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) |
| 2807 | $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION).so.1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2808 | $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION).so |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2809 | endif |
| 2810 | endif |
| 2811 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2812 | endif |
| 2813 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2814 | ifneq ($(NO_SECURE),true) |
| 2815 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 2816 | -include $(LIBGRPC_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2817 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2818 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2819 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2820 | |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2821 | LIBGRPC_CRONET_SRC = \ |
| 2822 | src/core/lib/surface/init.c \ |
| 2823 | src/core/lib/channel/channel_args.c \ |
| 2824 | src/core/lib/channel/channel_stack.c \ |
| 2825 | src/core/lib/channel/channel_stack_builder.c \ |
| 2826 | src/core/lib/channel/compress_filter.c \ |
| 2827 | src/core/lib/channel/connected_channel.c \ |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 2828 | src/core/lib/channel/deadline_filter.c \ |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 2829 | src/core/lib/channel/handshaker.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2830 | src/core/lib/channel/http_client_filter.c \ |
| 2831 | src/core/lib/channel/http_server_filter.c \ |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 2832 | src/core/lib/channel/message_size_filter.c \ |
David Garcia Quintas | 37e516e | 2016-06-07 21:23:41 -0700 | [diff] [blame] | 2833 | src/core/lib/compression/compression.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2834 | src/core/lib/compression/message_compress.c \ |
| 2835 | src/core/lib/debug/trace.c \ |
| 2836 | src/core/lib/http/format_request.c \ |
| 2837 | src/core/lib/http/httpcli.c \ |
| 2838 | src/core/lib/http/parser.c \ |
| 2839 | src/core/lib/iomgr/closure.c \ |
Craig Tiller | f7cade1 | 2016-07-07 21:41:10 -0700 | [diff] [blame] | 2840 | src/core/lib/iomgr/combiner.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2841 | src/core/lib/iomgr/endpoint.c \ |
| 2842 | src/core/lib/iomgr/endpoint_pair_posix.c \ |
| 2843 | src/core/lib/iomgr/endpoint_pair_windows.c \ |
Craig Tiller | 2888bd5 | 2016-06-07 11:00:42 -0700 | [diff] [blame] | 2844 | src/core/lib/iomgr/error.c \ |
Sree Kuchibhotla | 492fd96 | 2016-06-10 09:03:34 -0700 | [diff] [blame] | 2845 | src/core/lib/iomgr/ev_epoll_linux.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2846 | src/core/lib/iomgr/ev_poll_and_epoll_posix.c \ |
| 2847 | src/core/lib/iomgr/ev_poll_posix.c \ |
| 2848 | src/core/lib/iomgr/ev_posix.c \ |
| 2849 | src/core/lib/iomgr/exec_ctx.c \ |
| 2850 | src/core/lib/iomgr/executor.c \ |
| 2851 | src/core/lib/iomgr/iocp_windows.c \ |
| 2852 | src/core/lib/iomgr/iomgr.c \ |
| 2853 | src/core/lib/iomgr/iomgr_posix.c \ |
| 2854 | src/core/lib/iomgr/iomgr_windows.c \ |
Craig Tiller | 2888bd5 | 2016-06-07 11:00:42 -0700 | [diff] [blame] | 2855 | src/core/lib/iomgr/load_file.c \ |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 2856 | src/core/lib/iomgr/network_status_tracker.c \ |
David Garcia Quintas | 4461da7 | 2016-06-06 16:45:01 -0700 | [diff] [blame] | 2857 | src/core/lib/iomgr/polling_entity.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2858 | src/core/lib/iomgr/pollset_set_windows.c \ |
| 2859 | src/core/lib/iomgr/pollset_windows.c \ |
| 2860 | src/core/lib/iomgr/resolve_address_posix.c \ |
| 2861 | src/core/lib/iomgr/resolve_address_windows.c \ |
| 2862 | src/core/lib/iomgr/sockaddr_utils.c \ |
| 2863 | src/core/lib/iomgr/socket_utils_common_posix.c \ |
| 2864 | src/core/lib/iomgr/socket_utils_linux.c \ |
| 2865 | src/core/lib/iomgr/socket_utils_posix.c \ |
| 2866 | src/core/lib/iomgr/socket_windows.c \ |
| 2867 | src/core/lib/iomgr/tcp_client_posix.c \ |
| 2868 | src/core/lib/iomgr/tcp_client_windows.c \ |
| 2869 | src/core/lib/iomgr/tcp_posix.c \ |
| 2870 | src/core/lib/iomgr/tcp_server_posix.c \ |
| 2871 | src/core/lib/iomgr/tcp_server_windows.c \ |
| 2872 | src/core/lib/iomgr/tcp_windows.c \ |
| 2873 | src/core/lib/iomgr/time_averaged_stats.c \ |
| 2874 | src/core/lib/iomgr/timer.c \ |
| 2875 | src/core/lib/iomgr/timer_heap.c \ |
| 2876 | src/core/lib/iomgr/udp_server.c \ |
| 2877 | src/core/lib/iomgr/unix_sockets_posix.c \ |
| 2878 | src/core/lib/iomgr/unix_sockets_posix_noop.c \ |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 2879 | src/core/lib/iomgr/wakeup_fd_cv.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2880 | src/core/lib/iomgr/wakeup_fd_eventfd.c \ |
| 2881 | src/core/lib/iomgr/wakeup_fd_nospecial.c \ |
| 2882 | src/core/lib/iomgr/wakeup_fd_pipe.c \ |
| 2883 | src/core/lib/iomgr/wakeup_fd_posix.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2884 | src/core/lib/iomgr/workqueue_windows.c \ |
| 2885 | src/core/lib/json/json.c \ |
| 2886 | src/core/lib/json/json_reader.c \ |
| 2887 | src/core/lib/json/json_string.c \ |
| 2888 | src/core/lib/json/json_writer.c \ |
| 2889 | src/core/lib/surface/alarm.c \ |
| 2890 | src/core/lib/surface/api_trace.c \ |
| 2891 | src/core/lib/surface/byte_buffer.c \ |
| 2892 | src/core/lib/surface/byte_buffer_reader.c \ |
| 2893 | src/core/lib/surface/call.c \ |
| 2894 | src/core/lib/surface/call_details.c \ |
| 2895 | src/core/lib/surface/call_log_batch.c \ |
| 2896 | src/core/lib/surface/channel.c \ |
| 2897 | src/core/lib/surface/channel_init.c \ |
| 2898 | src/core/lib/surface/channel_ping.c \ |
| 2899 | src/core/lib/surface/channel_stack_type.c \ |
| 2900 | src/core/lib/surface/completion_queue.c \ |
| 2901 | src/core/lib/surface/event_string.c \ |
| 2902 | src/core/lib/surface/lame_client.c \ |
| 2903 | src/core/lib/surface/metadata_array.c \ |
| 2904 | src/core/lib/surface/server.c \ |
| 2905 | src/core/lib/surface/validate_metadata.c \ |
| 2906 | src/core/lib/surface/version.c \ |
| 2907 | src/core/lib/transport/byte_stream.c \ |
| 2908 | src/core/lib/transport/connectivity_state.c \ |
| 2909 | src/core/lib/transport/metadata.c \ |
| 2910 | src/core/lib/transport/metadata_batch.c \ |
| 2911 | src/core/lib/transport/static_metadata.c \ |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 2912 | src/core/lib/transport/timeout_encoding.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2913 | src/core/lib/transport/transport.c \ |
| 2914 | src/core/lib/transport/transport_op_string.c \ |
| 2915 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c \ |
| 2916 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c \ |
| 2917 | src/core/ext/transport/cronet/transport/cronet_transport.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2918 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c \ |
Yuchen Zeng | 0a0c1b0 | 2016-06-08 17:52:05 -0700 | [diff] [blame] | 2919 | src/core/ext/transport/chttp2/transport/bin_decoder.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2920 | src/core/ext/transport/chttp2/transport/bin_encoder.c \ |
| 2921 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c \ |
| 2922 | src/core/ext/transport/chttp2/transport/chttp2_transport.c \ |
| 2923 | src/core/ext/transport/chttp2/transport/frame_data.c \ |
| 2924 | src/core/ext/transport/chttp2/transport/frame_goaway.c \ |
| 2925 | src/core/ext/transport/chttp2/transport/frame_ping.c \ |
| 2926 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c \ |
| 2927 | src/core/ext/transport/chttp2/transport/frame_settings.c \ |
| 2928 | src/core/ext/transport/chttp2/transport/frame_window_update.c \ |
| 2929 | src/core/ext/transport/chttp2/transport/hpack_encoder.c \ |
| 2930 | src/core/ext/transport/chttp2/transport/hpack_parser.c \ |
| 2931 | src/core/ext/transport/chttp2/transport/hpack_table.c \ |
| 2932 | src/core/ext/transport/chttp2/transport/huffsyms.c \ |
| 2933 | src/core/ext/transport/chttp2/transport/incoming_metadata.c \ |
| 2934 | src/core/ext/transport/chttp2/transport/parsing.c \ |
| 2935 | src/core/ext/transport/chttp2/transport/status_conversion.c \ |
| 2936 | src/core/ext/transport/chttp2/transport/stream_lists.c \ |
| 2937 | src/core/ext/transport/chttp2/transport/stream_map.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2938 | src/core/ext/transport/chttp2/transport/varint.c \ |
| 2939 | src/core/ext/transport/chttp2/transport/writing.c \ |
| 2940 | src/core/ext/transport/chttp2/alpn/alpn.c \ |
| 2941 | src/core/ext/client_config/channel_connectivity.c \ |
| 2942 | src/core/ext/client_config/client_channel.c \ |
| 2943 | src/core/ext/client_config/client_channel_factory.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2944 | src/core/ext/client_config/client_config_plugin.c \ |
| 2945 | src/core/ext/client_config/connector.c \ |
| 2946 | src/core/ext/client_config/default_initial_connect_string.c \ |
Mark D. Roth | 1102a9e | 2016-07-22 09:10:01 -0700 | [diff] [blame] | 2947 | src/core/ext/client_config/http_connect_handshaker.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2948 | src/core/ext/client_config/initial_connect_string.c \ |
| 2949 | src/core/ext/client_config/lb_policy.c \ |
| 2950 | src/core/ext/client_config/lb_policy_factory.c \ |
| 2951 | src/core/ext/client_config/lb_policy_registry.c \ |
| 2952 | src/core/ext/client_config/parse_address.c \ |
| 2953 | src/core/ext/client_config/resolver.c \ |
| 2954 | src/core/ext/client_config/resolver_factory.c \ |
| 2955 | src/core/ext/client_config/resolver_registry.c \ |
Mark D. Roth | ff4df06 | 2016-08-22 15:02:49 -0700 | [diff] [blame] | 2956 | src/core/ext/client_config/resolver_result.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2957 | src/core/ext/client_config/subchannel.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2958 | src/core/ext/client_config/subchannel_index.c \ |
| 2959 | src/core/ext/client_config/uri_parser.c \ |
| 2960 | src/core/lib/http/httpcli_security_connector.c \ |
| 2961 | src/core/lib/security/context/security_context.c \ |
| 2962 | src/core/lib/security/credentials/composite/composite_credentials.c \ |
| 2963 | src/core/lib/security/credentials/credentials.c \ |
| 2964 | src/core/lib/security/credentials/credentials_metadata.c \ |
| 2965 | src/core/lib/security/credentials/fake/fake_credentials.c \ |
| 2966 | src/core/lib/security/credentials/google_default/credentials_posix.c \ |
Jan Tattermusch | 2f7f856 | 2016-06-06 13:34:56 -0700 | [diff] [blame] | 2967 | src/core/lib/security/credentials/google_default/credentials_windows.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2968 | src/core/lib/security/credentials/google_default/google_default_credentials.c \ |
| 2969 | src/core/lib/security/credentials/iam/iam_credentials.c \ |
| 2970 | src/core/lib/security/credentials/jwt/json_token.c \ |
| 2971 | src/core/lib/security/credentials/jwt/jwt_credentials.c \ |
| 2972 | src/core/lib/security/credentials/jwt/jwt_verifier.c \ |
| 2973 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c \ |
| 2974 | src/core/lib/security/credentials/plugin/plugin_credentials.c \ |
| 2975 | src/core/lib/security/credentials/ssl/ssl_credentials.c \ |
| 2976 | src/core/lib/security/transport/client_auth_filter.c \ |
| 2977 | src/core/lib/security/transport/handshake.c \ |
| 2978 | src/core/lib/security/transport/secure_endpoint.c \ |
| 2979 | src/core/lib/security/transport/security_connector.c \ |
| 2980 | src/core/lib/security/transport/server_auth_filter.c \ |
Craig Tiller | 2888bd5 | 2016-06-07 11:00:42 -0700 | [diff] [blame] | 2981 | src/core/lib/security/transport/tsi_error.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2982 | src/core/lib/security/util/b64.c \ |
| 2983 | src/core/lib/security/util/json_util.c \ |
| 2984 | src/core/lib/surface/init_secure.c \ |
| 2985 | src/core/lib/tsi/fake_transport_security.c \ |
| 2986 | src/core/lib/tsi/ssl_transport_security.c \ |
| 2987 | src/core/lib/tsi/transport_security.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2988 | src/core/plugin_registry/grpc_cronet_plugin_registry.c \ |
| 2989 | |
| 2990 | PUBLIC_HEADERS_C += \ |
| 2991 | include/grpc/byte_buffer.h \ |
| 2992 | include/grpc/byte_buffer_reader.h \ |
| 2993 | include/grpc/compression.h \ |
| 2994 | include/grpc/grpc.h \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 2995 | include/grpc/grpc_posix.h \ |
Nicolas "Pixel" Noble | a469e5d | 2016-08-16 22:09:27 +0200 | [diff] [blame] | 2996 | include/grpc/grpc_security_constants.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2997 | include/grpc/status.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2998 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 2999 | include/grpc/impl/codegen/compression_types.h \ |
| 3000 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3001 | include/grpc/impl/codegen/grpc_types.h \ |
| 3002 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3003 | include/grpc/impl/codegen/status.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 3004 | include/grpc/impl/codegen/atm.h \ |
| 3005 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3006 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Jan Tattermusch | 2f7f856 | 2016-06-06 13:34:56 -0700 | [diff] [blame] | 3007 | include/grpc/impl/codegen/atm_windows.h \ |
David Garcia Quintas | 8c5424f | 2016-08-01 22:49:00 -0700 | [diff] [blame] | 3008 | include/grpc/impl/codegen/gpr_types.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 3009 | include/grpc/impl/codegen/port_platform.h \ |
| 3010 | include/grpc/impl/codegen/slice.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 3011 | include/grpc/impl/codegen/sync.h \ |
| 3012 | include/grpc/impl/codegen/sync_generic.h \ |
| 3013 | include/grpc/impl/codegen/sync_posix.h \ |
Jan Tattermusch | 2f7f856 | 2016-06-06 13:34:56 -0700 | [diff] [blame] | 3014 | include/grpc/impl/codegen/sync_windows.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 3015 | include/grpc/grpc_cronet.h \ |
| 3016 | include/grpc/grpc_security.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 3017 | |
| 3018 | LIBGRPC_CRONET_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_CRONET_SRC)))) |
| 3019 | |
| 3020 | |
| 3021 | ifeq ($(NO_SECURE),true) |
| 3022 | |
| 3023 | # You can't build secure libraries if you don't have OpenSSL. |
| 3024 | |
| 3025 | $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a: openssl_dep_error |
| 3026 | |
| 3027 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
| 3028 | |
| 3029 | else |
| 3030 | |
| 3031 | |
| 3032 | $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_CRONET_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) $(OPENSSL_MERGE_OBJS) |
| 3033 | $(E) "[AR] Creating $@" |
| 3034 | $(Q) mkdir -p `dirname $@` |
| 3035 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 3036 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a $(LIBGRPC_CRONET_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) $(OPENSSL_MERGE_OBJS) |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 3037 | ifeq ($(SYSTEM),Darwin) |
| 3038 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a |
| 3039 | endif |
| 3040 | |
| 3041 | |
| 3042 | |
| 3043 | ifeq ($(SYSTEM),MINGW32) |
| 3044 | $(LIBDIR)/$(CONFIG)/grpc_cronet$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_CRONET_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_DEP) |
| 3045 | $(E) "[LD] Linking $@" |
| 3046 | $(Q) mkdir -p `dirname $@` |
| 3047 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared grpc_cronet.def -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_cronet$(SHARED_VERSION).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_CRONET_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) |
| 3048 | else |
| 3049 | $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_CRONET_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_DEP) |
| 3050 | $(E) "[LD] Linking $@" |
| 3051 | $(Q) mkdir -p `dirname $@` |
| 3052 | ifeq ($(SYSTEM),Darwin) |
| 3053 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_CRONET_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) |
| 3054 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 3055 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_cronet.so.1 -o $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_CRONET_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) |
| 3056 | $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION).so.1 |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 3057 | $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION).so |
| 3058 | endif |
| 3059 | endif |
| 3060 | |
| 3061 | endif |
| 3062 | |
| 3063 | ifneq ($(NO_SECURE),true) |
| 3064 | ifneq ($(NO_DEPS),true) |
| 3065 | -include $(LIBGRPC_CRONET_OBJS:.o=.dep) |
| 3066 | endif |
| 3067 | endif |
| 3068 | |
| 3069 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3070 | LIBGRPC_TEST_UTIL_SRC = \ |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 3071 | test/core/end2end/data/client_certs.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3072 | test/core/end2end/data/server1_cert.c \ |
| 3073 | test/core/end2end/data/server1_key.c \ |
| 3074 | test/core/end2end/data/test_root_cert.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3075 | test/core/security/oauth2_utils.c \ |
| 3076 | test/core/end2end/cq_verifier.c \ |
Mark D. Roth | da0ec82 | 2016-10-03 11:32:04 -0700 | [diff] [blame] | 3077 | test/core/end2end/fake_resolver.c \ |
Mark D. Roth | 3cfc5a7 | 2016-07-27 07:48:39 -0700 | [diff] [blame] | 3078 | test/core/end2end/fixtures/http_proxy.c \ |
Craig Tiller | 17effab | 2015-08-04 08:19:36 -0700 | [diff] [blame] | 3079 | test/core/end2end/fixtures/proxy.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3080 | test/core/iomgr/endpoint_tests.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3081 | test/core/util/grpc_profiler.c \ |
Nicolas "Pixel" Noble | 85a46dd | 2016-04-12 01:50:51 +0200 | [diff] [blame] | 3082 | test/core/util/memory_counters.c \ |
Craig Tiller | 2d8d13a | 2016-04-03 13:04:41 -0700 | [diff] [blame] | 3083 | test/core/util/mock_endpoint.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3084 | test/core/util/parse_hexstring.c \ |
Craig Tiller | 62c7a5a | 2016-04-13 22:25:03 -0700 | [diff] [blame] | 3085 | test/core/util/passthru_endpoint.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3086 | test/core/util/port_posix.c \ |
Craig Tiller | 19d7d80 | 2016-03-17 08:47:05 -0700 | [diff] [blame] | 3087 | test/core/util/port_server_client.c \ |
Craig Tiller | 34cf2f3 | 2015-04-08 16:10:00 -0700 | [diff] [blame] | 3088 | test/core/util/port_windows.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3089 | test/core/util/slice_splitter.c \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3090 | src/core/lib/channel/channel_args.c \ |
| 3091 | src/core/lib/channel/channel_stack.c \ |
| 3092 | src/core/lib/channel/channel_stack_builder.c \ |
| 3093 | src/core/lib/channel/compress_filter.c \ |
| 3094 | src/core/lib/channel/connected_channel.c \ |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 3095 | src/core/lib/channel/deadline_filter.c \ |
David Garcia Quintas | 3856a97 | 2016-08-01 16:46:11 -0700 | [diff] [blame] | 3096 | src/core/lib/channel/handshaker.c \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3097 | src/core/lib/channel/http_client_filter.c \ |
| 3098 | src/core/lib/channel/http_server_filter.c \ |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 3099 | src/core/lib/channel/message_size_filter.c \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3100 | src/core/lib/compression/compression.c \ |
| 3101 | src/core/lib/compression/message_compress.c \ |
| 3102 | src/core/lib/debug/trace.c \ |
| 3103 | src/core/lib/http/format_request.c \ |
| 3104 | src/core/lib/http/httpcli.c \ |
| 3105 | src/core/lib/http/parser.c \ |
| 3106 | src/core/lib/iomgr/closure.c \ |
Craig Tiller | 7e5da49 | 2016-08-04 11:34:38 -0700 | [diff] [blame] | 3107 | src/core/lib/iomgr/combiner.c \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3108 | src/core/lib/iomgr/endpoint.c \ |
| 3109 | src/core/lib/iomgr/endpoint_pair_posix.c \ |
| 3110 | src/core/lib/iomgr/endpoint_pair_windows.c \ |
David Garcia Quintas | 86a00a6 | 2016-06-22 18:10:55 -0700 | [diff] [blame] | 3111 | src/core/lib/iomgr/error.c \ |
David Garcia Quintas | 7c3ba12 | 2016-07-14 11:38:38 -0700 | [diff] [blame] | 3112 | src/core/lib/iomgr/ev_epoll_linux.c \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3113 | src/core/lib/iomgr/ev_poll_and_epoll_posix.c \ |
| 3114 | src/core/lib/iomgr/ev_poll_posix.c \ |
| 3115 | src/core/lib/iomgr/ev_posix.c \ |
| 3116 | src/core/lib/iomgr/exec_ctx.c \ |
| 3117 | src/core/lib/iomgr/executor.c \ |
| 3118 | src/core/lib/iomgr/iocp_windows.c \ |
| 3119 | src/core/lib/iomgr/iomgr.c \ |
| 3120 | src/core/lib/iomgr/iomgr_posix.c \ |
| 3121 | src/core/lib/iomgr/iomgr_windows.c \ |
David Garcia Quintas | 86a00a6 | 2016-06-22 18:10:55 -0700 | [diff] [blame] | 3122 | src/core/lib/iomgr/load_file.c \ |
David Garcia Quintas | 7c3ba12 | 2016-07-14 11:38:38 -0700 | [diff] [blame] | 3123 | src/core/lib/iomgr/network_status_tracker.c \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3124 | src/core/lib/iomgr/polling_entity.c \ |
| 3125 | src/core/lib/iomgr/pollset_set_windows.c \ |
| 3126 | src/core/lib/iomgr/pollset_windows.c \ |
| 3127 | src/core/lib/iomgr/resolve_address_posix.c \ |
| 3128 | src/core/lib/iomgr/resolve_address_windows.c \ |
| 3129 | src/core/lib/iomgr/sockaddr_utils.c \ |
| 3130 | src/core/lib/iomgr/socket_utils_common_posix.c \ |
| 3131 | src/core/lib/iomgr/socket_utils_linux.c \ |
| 3132 | src/core/lib/iomgr/socket_utils_posix.c \ |
| 3133 | src/core/lib/iomgr/socket_windows.c \ |
| 3134 | src/core/lib/iomgr/tcp_client_posix.c \ |
| 3135 | src/core/lib/iomgr/tcp_client_windows.c \ |
| 3136 | src/core/lib/iomgr/tcp_posix.c \ |
| 3137 | src/core/lib/iomgr/tcp_server_posix.c \ |
| 3138 | src/core/lib/iomgr/tcp_server_windows.c \ |
| 3139 | src/core/lib/iomgr/tcp_windows.c \ |
| 3140 | src/core/lib/iomgr/time_averaged_stats.c \ |
| 3141 | src/core/lib/iomgr/timer.c \ |
| 3142 | src/core/lib/iomgr/timer_heap.c \ |
| 3143 | src/core/lib/iomgr/udp_server.c \ |
| 3144 | src/core/lib/iomgr/unix_sockets_posix.c \ |
| 3145 | src/core/lib/iomgr/unix_sockets_posix_noop.c \ |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 3146 | src/core/lib/iomgr/wakeup_fd_cv.c \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3147 | src/core/lib/iomgr/wakeup_fd_eventfd.c \ |
| 3148 | src/core/lib/iomgr/wakeup_fd_nospecial.c \ |
| 3149 | src/core/lib/iomgr/wakeup_fd_pipe.c \ |
| 3150 | src/core/lib/iomgr/wakeup_fd_posix.c \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3151 | src/core/lib/iomgr/workqueue_windows.c \ |
| 3152 | src/core/lib/json/json.c \ |
| 3153 | src/core/lib/json/json_reader.c \ |
| 3154 | src/core/lib/json/json_string.c \ |
| 3155 | src/core/lib/json/json_writer.c \ |
| 3156 | src/core/lib/surface/alarm.c \ |
| 3157 | src/core/lib/surface/api_trace.c \ |
| 3158 | src/core/lib/surface/byte_buffer.c \ |
| 3159 | src/core/lib/surface/byte_buffer_reader.c \ |
| 3160 | src/core/lib/surface/call.c \ |
| 3161 | src/core/lib/surface/call_details.c \ |
| 3162 | src/core/lib/surface/call_log_batch.c \ |
| 3163 | src/core/lib/surface/channel.c \ |
| 3164 | src/core/lib/surface/channel_init.c \ |
| 3165 | src/core/lib/surface/channel_ping.c \ |
| 3166 | src/core/lib/surface/channel_stack_type.c \ |
| 3167 | src/core/lib/surface/completion_queue.c \ |
| 3168 | src/core/lib/surface/event_string.c \ |
| 3169 | src/core/lib/surface/lame_client.c \ |
| 3170 | src/core/lib/surface/metadata_array.c \ |
| 3171 | src/core/lib/surface/server.c \ |
| 3172 | src/core/lib/surface/validate_metadata.c \ |
| 3173 | src/core/lib/surface/version.c \ |
| 3174 | src/core/lib/transport/byte_stream.c \ |
| 3175 | src/core/lib/transport/connectivity_state.c \ |
| 3176 | src/core/lib/transport/metadata.c \ |
| 3177 | src/core/lib/transport/metadata_batch.c \ |
| 3178 | src/core/lib/transport/static_metadata.c \ |
David Garcia Quintas | 5d96056 | 2016-08-03 00:24:37 -0700 | [diff] [blame] | 3179 | src/core/lib/transport/timeout_encoding.c \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3180 | src/core/lib/transport/transport.c \ |
| 3181 | src/core/lib/transport/transport_op_string.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3182 | |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3183 | PUBLIC_HEADERS_C += \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3184 | include/grpc/byte_buffer.h \ |
| 3185 | include/grpc/byte_buffer_reader.h \ |
| 3186 | include/grpc/compression.h \ |
| 3187 | include/grpc/grpc.h \ |
| 3188 | include/grpc/grpc_posix.h \ |
Nicolas "Pixel" Noble | e3e17d3 | 2016-08-20 01:45:32 +0200 | [diff] [blame] | 3189 | include/grpc/grpc_security_constants.h \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3190 | include/grpc/status.h \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3191 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 3192 | include/grpc/impl/codegen/compression_types.h \ |
| 3193 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3194 | include/grpc/impl/codegen/grpc_types.h \ |
| 3195 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3196 | include/grpc/impl/codegen/status.h \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3197 | include/grpc/impl/codegen/atm.h \ |
| 3198 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3199 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
| 3200 | include/grpc/impl/codegen/atm_windows.h \ |
David Garcia Quintas | 44cb6c9 | 2016-08-02 10:26:51 -0700 | [diff] [blame] | 3201 | include/grpc/impl/codegen/gpr_types.h \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3202 | include/grpc/impl/codegen/port_platform.h \ |
| 3203 | include/grpc/impl/codegen/slice.h \ |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 3204 | include/grpc/impl/codegen/sync.h \ |
| 3205 | include/grpc/impl/codegen/sync_generic.h \ |
| 3206 | include/grpc/impl/codegen/sync_posix.h \ |
| 3207 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3208 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3209 | LIBGRPC_TEST_UTIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_TEST_UTIL_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3210 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3211 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3212 | ifeq ($(NO_SECURE),true) |
| 3213 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 3214 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3215 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3216 | $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3217 | |
| 3218 | |
| 3219 | else |
| 3220 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3221 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3222 | $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_TEST_UTIL_OBJS) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3223 | $(E) "[AR] Creating $@" |
| 3224 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3225 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 3226 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBGRPC_TEST_UTIL_OBJS) |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3227 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3228 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3229 | endif |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3230 | |
| 3231 | |
| 3232 | |
| 3233 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3234 | endif |
| 3235 | |
| 3236 | ifneq ($(NO_SECURE),true) |
| 3237 | ifneq ($(NO_DEPS),true) |
| 3238 | -include $(LIBGRPC_TEST_UTIL_OBJS:.o=.dep) |
| 3239 | endif |
| 3240 | endif |
| 3241 | |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3242 | |
| 3243 | LIBGRPC_TEST_UTIL_UNSECURE_SRC = \ |
| 3244 | test/core/end2end/cq_verifier.c \ |
Mark D. Roth | da0ec82 | 2016-10-03 11:32:04 -0700 | [diff] [blame] | 3245 | test/core/end2end/fake_resolver.c \ |
Mark D. Roth | 3cfc5a7 | 2016-07-27 07:48:39 -0700 | [diff] [blame] | 3246 | test/core/end2end/fixtures/http_proxy.c \ |
Craig Tiller | 17effab | 2015-08-04 08:19:36 -0700 | [diff] [blame] | 3247 | test/core/end2end/fixtures/proxy.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3248 | test/core/iomgr/endpoint_tests.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3249 | test/core/util/grpc_profiler.c \ |
Nicolas "Pixel" Noble | 85a46dd | 2016-04-12 01:50:51 +0200 | [diff] [blame] | 3250 | test/core/util/memory_counters.c \ |
Craig Tiller | 2d8d13a | 2016-04-03 13:04:41 -0700 | [diff] [blame] | 3251 | test/core/util/mock_endpoint.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3252 | test/core/util/parse_hexstring.c \ |
Craig Tiller | 62c7a5a | 2016-04-13 22:25:03 -0700 | [diff] [blame] | 3253 | test/core/util/passthru_endpoint.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3254 | test/core/util/port_posix.c \ |
Craig Tiller | 19d7d80 | 2016-03-17 08:47:05 -0700 | [diff] [blame] | 3255 | test/core/util/port_server_client.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3256 | test/core/util/port_windows.c \ |
| 3257 | test/core/util/slice_splitter.c \ |
| 3258 | |
| 3259 | PUBLIC_HEADERS_C += \ |
| 3260 | |
| 3261 | LIBGRPC_TEST_UTIL_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_TEST_UTIL_UNSECURE_SRC)))) |
| 3262 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3263 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3264 | $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a: $(ZLIB_DEP) $(LIBGRPC_TEST_UTIL_UNSECURE_OBJS) |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3265 | $(E) "[AR] Creating $@" |
| 3266 | $(Q) mkdir -p `dirname $@` |
| 3267 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 3268 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBGRPC_TEST_UTIL_UNSECURE_OBJS) |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3269 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3270 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3271 | endif |
| 3272 | |
| 3273 | |
| 3274 | |
| 3275 | |
| 3276 | ifneq ($(NO_DEPS),true) |
| 3277 | -include $(LIBGRPC_TEST_UTIL_UNSECURE_OBJS:.o=.dep) |
| 3278 | endif |
| 3279 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3280 | |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3281 | LIBGRPC_UNSECURE_SRC = \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 3282 | src/core/lib/surface/init.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3283 | src/core/lib/surface/init_unsecure.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3284 | src/core/lib/channel/channel_args.c \ |
| 3285 | src/core/lib/channel/channel_stack.c \ |
| 3286 | src/core/lib/channel/channel_stack_builder.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3287 | src/core/lib/channel/compress_filter.c \ |
| 3288 | src/core/lib/channel/connected_channel.c \ |
Mark D. Roth | 14c072c | 2016-08-26 08:31:34 -0700 | [diff] [blame] | 3289 | src/core/lib/channel/deadline_filter.c \ |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 3290 | src/core/lib/channel/handshaker.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3291 | src/core/lib/channel/http_client_filter.c \ |
| 3292 | src/core/lib/channel/http_server_filter.c \ |
Mark D. Roth | af00d8b | 2016-08-23 12:48:16 -0700 | [diff] [blame] | 3293 | src/core/lib/channel/message_size_filter.c \ |
David Garcia Quintas | ac09447 | 2016-05-18 20:25:57 -0700 | [diff] [blame] | 3294 | src/core/lib/compression/compression.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3295 | src/core/lib/compression/message_compress.c \ |
| 3296 | src/core/lib/debug/trace.c \ |
| 3297 | src/core/lib/http/format_request.c \ |
| 3298 | src/core/lib/http/httpcli.c \ |
| 3299 | src/core/lib/http/parser.c \ |
| 3300 | src/core/lib/iomgr/closure.c \ |
Craig Tiller | f7cade1 | 2016-07-07 21:41:10 -0700 | [diff] [blame] | 3301 | src/core/lib/iomgr/combiner.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3302 | src/core/lib/iomgr/endpoint.c \ |
| 3303 | src/core/lib/iomgr/endpoint_pair_posix.c \ |
| 3304 | src/core/lib/iomgr/endpoint_pair_windows.c \ |
Craig Tiller | 27f59af | 2016-04-28 14:19:48 -0700 | [diff] [blame] | 3305 | src/core/lib/iomgr/error.c \ |
Sree Kuchibhotla | f448c34 | 2016-05-19 10:51:24 -0700 | [diff] [blame] | 3306 | src/core/lib/iomgr/ev_epoll_linux.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 3307 | src/core/lib/iomgr/ev_poll_and_epoll_posix.c \ |
Craig Tiller | d9a60bb | 2016-03-28 23:13:19 -0700 | [diff] [blame] | 3308 | src/core/lib/iomgr/ev_poll_posix.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 3309 | src/core/lib/iomgr/ev_posix.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3310 | src/core/lib/iomgr/exec_ctx.c \ |
| 3311 | src/core/lib/iomgr/executor.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3312 | src/core/lib/iomgr/iocp_windows.c \ |
| 3313 | src/core/lib/iomgr/iomgr.c \ |
| 3314 | src/core/lib/iomgr/iomgr_posix.c \ |
| 3315 | src/core/lib/iomgr/iomgr_windows.c \ |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 3316 | src/core/lib/iomgr/load_file.c \ |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 3317 | src/core/lib/iomgr/network_status_tracker.c \ |
David Garcia Quintas | 2a50dfe | 2016-05-31 15:09:12 -0700 | [diff] [blame] | 3318 | src/core/lib/iomgr/polling_entity.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3319 | src/core/lib/iomgr/pollset_set_windows.c \ |
| 3320 | src/core/lib/iomgr/pollset_windows.c \ |
| 3321 | src/core/lib/iomgr/resolve_address_posix.c \ |
| 3322 | src/core/lib/iomgr/resolve_address_windows.c \ |
| 3323 | src/core/lib/iomgr/sockaddr_utils.c \ |
| 3324 | src/core/lib/iomgr/socket_utils_common_posix.c \ |
| 3325 | src/core/lib/iomgr/socket_utils_linux.c \ |
| 3326 | src/core/lib/iomgr/socket_utils_posix.c \ |
| 3327 | src/core/lib/iomgr/socket_windows.c \ |
| 3328 | src/core/lib/iomgr/tcp_client_posix.c \ |
| 3329 | src/core/lib/iomgr/tcp_client_windows.c \ |
| 3330 | src/core/lib/iomgr/tcp_posix.c \ |
| 3331 | src/core/lib/iomgr/tcp_server_posix.c \ |
| 3332 | src/core/lib/iomgr/tcp_server_windows.c \ |
| 3333 | src/core/lib/iomgr/tcp_windows.c \ |
| 3334 | src/core/lib/iomgr/time_averaged_stats.c \ |
| 3335 | src/core/lib/iomgr/timer.c \ |
| 3336 | src/core/lib/iomgr/timer_heap.c \ |
| 3337 | src/core/lib/iomgr/udp_server.c \ |
| 3338 | src/core/lib/iomgr/unix_sockets_posix.c \ |
| 3339 | src/core/lib/iomgr/unix_sockets_posix_noop.c \ |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 3340 | src/core/lib/iomgr/wakeup_fd_cv.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3341 | src/core/lib/iomgr/wakeup_fd_eventfd.c \ |
| 3342 | src/core/lib/iomgr/wakeup_fd_nospecial.c \ |
| 3343 | src/core/lib/iomgr/wakeup_fd_pipe.c \ |
| 3344 | src/core/lib/iomgr/wakeup_fd_posix.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3345 | src/core/lib/iomgr/workqueue_windows.c \ |
| 3346 | src/core/lib/json/json.c \ |
| 3347 | src/core/lib/json/json_reader.c \ |
| 3348 | src/core/lib/json/json_string.c \ |
| 3349 | src/core/lib/json/json_writer.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3350 | src/core/lib/surface/alarm.c \ |
| 3351 | src/core/lib/surface/api_trace.c \ |
| 3352 | src/core/lib/surface/byte_buffer.c \ |
| 3353 | src/core/lib/surface/byte_buffer_reader.c \ |
| 3354 | src/core/lib/surface/call.c \ |
| 3355 | src/core/lib/surface/call_details.c \ |
| 3356 | src/core/lib/surface/call_log_batch.c \ |
| 3357 | src/core/lib/surface/channel.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3358 | src/core/lib/surface/channel_init.c \ |
| 3359 | src/core/lib/surface/channel_ping.c \ |
| 3360 | src/core/lib/surface/channel_stack_type.c \ |
| 3361 | src/core/lib/surface/completion_queue.c \ |
| 3362 | src/core/lib/surface/event_string.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3363 | src/core/lib/surface/lame_client.c \ |
| 3364 | src/core/lib/surface/metadata_array.c \ |
| 3365 | src/core/lib/surface/server.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3366 | src/core/lib/surface/validate_metadata.c \ |
| 3367 | src/core/lib/surface/version.c \ |
| 3368 | src/core/lib/transport/byte_stream.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3369 | src/core/lib/transport/connectivity_state.c \ |
| 3370 | src/core/lib/transport/metadata.c \ |
| 3371 | src/core/lib/transport/metadata_batch.c \ |
| 3372 | src/core/lib/transport/static_metadata.c \ |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 3373 | src/core/lib/transport/timeout_encoding.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3374 | src/core/lib/transport/transport.c \ |
| 3375 | src/core/lib/transport/transport_op_string.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3376 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \ |
Adam Michalik | bf10c82 | 2016-05-20 16:13:32 -0700 | [diff] [blame] | 3377 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \ |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 3378 | src/core/ext/transport/chttp2/transport/bin_decoder.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3379 | src/core/ext/transport/chttp2/transport/bin_encoder.c \ |
| 3380 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c \ |
| 3381 | src/core/ext/transport/chttp2/transport/chttp2_transport.c \ |
| 3382 | src/core/ext/transport/chttp2/transport/frame_data.c \ |
| 3383 | src/core/ext/transport/chttp2/transport/frame_goaway.c \ |
| 3384 | src/core/ext/transport/chttp2/transport/frame_ping.c \ |
| 3385 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c \ |
| 3386 | src/core/ext/transport/chttp2/transport/frame_settings.c \ |
| 3387 | src/core/ext/transport/chttp2/transport/frame_window_update.c \ |
| 3388 | src/core/ext/transport/chttp2/transport/hpack_encoder.c \ |
| 3389 | src/core/ext/transport/chttp2/transport/hpack_parser.c \ |
| 3390 | src/core/ext/transport/chttp2/transport/hpack_table.c \ |
| 3391 | src/core/ext/transport/chttp2/transport/huffsyms.c \ |
| 3392 | src/core/ext/transport/chttp2/transport/incoming_metadata.c \ |
| 3393 | src/core/ext/transport/chttp2/transport/parsing.c \ |
| 3394 | src/core/ext/transport/chttp2/transport/status_conversion.c \ |
| 3395 | src/core/ext/transport/chttp2/transport/stream_lists.c \ |
| 3396 | src/core/ext/transport/chttp2/transport/stream_map.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3397 | src/core/ext/transport/chttp2/transport/varint.c \ |
| 3398 | src/core/ext/transport/chttp2/transport/writing.c \ |
| 3399 | src/core/ext/transport/chttp2/alpn/alpn.c \ |
| 3400 | src/core/ext/transport/chttp2/client/insecure/channel_create.c \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 3401 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3402 | src/core/ext/client_config/channel_connectivity.c \ |
| 3403 | src/core/ext/client_config/client_channel.c \ |
| 3404 | src/core/ext/client_config/client_channel_factory.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3405 | src/core/ext/client_config/client_config_plugin.c \ |
| 3406 | src/core/ext/client_config/connector.c \ |
| 3407 | src/core/ext/client_config/default_initial_connect_string.c \ |
Mark D. Roth | 1102a9e | 2016-07-22 09:10:01 -0700 | [diff] [blame] | 3408 | src/core/ext/client_config/http_connect_handshaker.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3409 | src/core/ext/client_config/initial_connect_string.c \ |
| 3410 | src/core/ext/client_config/lb_policy.c \ |
| 3411 | src/core/ext/client_config/lb_policy_factory.c \ |
| 3412 | src/core/ext/client_config/lb_policy_registry.c \ |
David Garcia Quintas | 9885bff | 2016-04-07 17:31:29 -0700 | [diff] [blame] | 3413 | src/core/ext/client_config/parse_address.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3414 | src/core/ext/client_config/resolver.c \ |
| 3415 | src/core/ext/client_config/resolver_factory.c \ |
| 3416 | src/core/ext/client_config/resolver_registry.c \ |
Mark D. Roth | ff4df06 | 2016-08-22 15:02:49 -0700 | [diff] [blame] | 3417 | src/core/ext/client_config/resolver_result.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3418 | src/core/ext/client_config/subchannel.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3419 | src/core/ext/client_config/subchannel_index.c \ |
| 3420 | src/core/ext/client_config/uri_parser.c \ |
| 3421 | src/core/ext/resolver/dns/native/dns_resolver.c \ |
| 3422 | src/core/ext/resolver/sockaddr/sockaddr_resolver.c \ |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 3423 | src/core/ext/load_reporting/load_reporting.c \ |
| 3424 | src/core/ext/load_reporting/load_reporting_filter.c \ |
David Garcia Quintas | 3fb8f73 | 2016-06-15 22:53:08 -0700 | [diff] [blame] | 3425 | src/core/ext/lb_policy/grpclb/grpclb.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3426 | src/core/ext/lb_policy/grpclb/load_balancer_api.c \ |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 3427 | src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c \ |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 3428 | third_party/nanopb/pb_common.c \ |
| 3429 | third_party/nanopb/pb_decode.c \ |
| 3430 | third_party/nanopb/pb_encode.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3431 | src/core/ext/lb_policy/pick_first/pick_first.c \ |
| 3432 | src/core/ext/lb_policy/round_robin/round_robin.c \ |
Alistair Veitch | 4aaba75 | 2016-06-02 17:11:46 -0700 | [diff] [blame] | 3433 | src/core/ext/census/base_resources.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3434 | src/core/ext/census/context.c \ |
Alistair Veitch | 30fe632 | 2016-05-23 10:11:28 -0700 | [diff] [blame] | 3435 | src/core/ext/census/gen/census.pb.c \ |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 3436 | src/core/ext/census/gen/trace_context.pb.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3437 | src/core/ext/census/grpc_context.c \ |
| 3438 | src/core/ext/census/grpc_filter.c \ |
| 3439 | src/core/ext/census/grpc_plugin.c \ |
| 3440 | src/core/ext/census/initialize.c \ |
| 3441 | src/core/ext/census/mlog.c \ |
| 3442 | src/core/ext/census/operation.c \ |
| 3443 | src/core/ext/census/placeholders.c \ |
Alistair Veitch | 4aaba75 | 2016-06-02 17:11:46 -0700 | [diff] [blame] | 3444 | src/core/ext/census/resource.c \ |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 3445 | src/core/ext/census/trace_context.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3446 | src/core/ext/census/tracing.c \ |
| 3447 | src/core/plugin_registry/grpc_unsecure_plugin_registry.c \ |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3448 | |
| 3449 | PUBLIC_HEADERS_C += \ |
| 3450 | include/grpc/byte_buffer.h \ |
| 3451 | include/grpc/byte_buffer_reader.h \ |
David Garcia Quintas | 59f905d | 2015-06-08 16:31:19 -0700 | [diff] [blame] | 3452 | include/grpc/compression.h \ |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3453 | include/grpc/grpc.h \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 3454 | include/grpc/grpc_posix.h \ |
Nicolas "Pixel" Noble | a469e5d | 2016-08-16 22:09:27 +0200 | [diff] [blame] | 3455 | include/grpc/grpc_security_constants.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3456 | include/grpc/status.h \ |
David Garcia Quintas | 1b2db63 | 2016-04-27 15:06:54 -0700 | [diff] [blame] | 3457 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
Craig Tiller | ad09598 | 2016-02-09 12:45:04 -0800 | [diff] [blame] | 3458 | include/grpc/impl/codegen/compression_types.h \ |
| 3459 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3460 | include/grpc/impl/codegen/grpc_types.h \ |
| 3461 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3462 | include/grpc/impl/codegen/status.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3463 | include/grpc/impl/codegen/atm.h \ |
| 3464 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3465 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3466 | include/grpc/impl/codegen/atm_windows.h \ |
David Garcia Quintas | 8c5424f | 2016-08-01 22:49:00 -0700 | [diff] [blame] | 3467 | include/grpc/impl/codegen/gpr_types.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3468 | include/grpc/impl/codegen/port_platform.h \ |
| 3469 | include/grpc/impl/codegen/slice.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3470 | include/grpc/impl/codegen/sync.h \ |
| 3471 | include/grpc/impl/codegen/sync_generic.h \ |
| 3472 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3473 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3474 | include/grpc/census.h \ |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3475 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3476 | LIBGRPC_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_UNSECURE_SRC)))) |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3477 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3478 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3479 | $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a: $(ZLIB_DEP) $(LIBGRPC_UNSECURE_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3480 | $(E) "[AR] Creating $@" |
| 3481 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3482 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 3483 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBGRPC_UNSECURE_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3484 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3485 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3486 | endif |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3487 | |
| 3488 | |
| 3489 | |
| 3490 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3491 | $(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3492 | $(E) "[LD] Linking $@" |
| 3493 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3494 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared grpc_unsecure.def -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(ZLIB_MERGE_LIBS) |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3495 | else |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3496 | $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3497 | $(E) "[LD] Linking $@" |
| 3498 | $(Q) mkdir -p `dirname $@` |
| 3499 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3500 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(ZLIB_MERGE_LIBS) |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3501 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 3502 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.1 -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(ZLIB_MERGE_LIBS) |
| 3503 | $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION).so.1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3504 | $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION).so |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3505 | endif |
| 3506 | endif |
| 3507 | |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3508 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 3509 | -include $(LIBGRPC_UNSECURE_OBJS:.o=.dep) |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3510 | endif |
| 3511 | |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3512 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3513 | LIBRECONNECT_SERVER_SRC = \ |
| 3514 | test/core/util/reconnect_server.c \ |
| 3515 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3516 | PUBLIC_HEADERS_C += \ |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3517 | |
| 3518 | LIBRECONNECT_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBRECONNECT_SERVER_SRC)))) |
| 3519 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3520 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3521 | ifeq ($(NO_SECURE),true) |
| 3522 | |
| 3523 | # You can't build secure libraries if you don't have OpenSSL. |
| 3524 | |
| 3525 | $(LIBDIR)/$(CONFIG)/libreconnect_server.a: openssl_dep_error |
| 3526 | |
| 3527 | |
| 3528 | else |
| 3529 | |
| 3530 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3531 | $(LIBDIR)/$(CONFIG)/libreconnect_server.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBRECONNECT_SERVER_OBJS) |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3532 | $(E) "[AR] Creating $@" |
| 3533 | $(Q) mkdir -p `dirname $@` |
| 3534 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libreconnect_server.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 3535 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBRECONNECT_SERVER_OBJS) |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3536 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3537 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libreconnect_server.a |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3538 | endif |
| 3539 | |
| 3540 | |
| 3541 | |
| 3542 | |
| 3543 | endif |
| 3544 | |
| 3545 | ifneq ($(NO_SECURE),true) |
| 3546 | ifneq ($(NO_DEPS),true) |
| 3547 | -include $(LIBRECONNECT_SERVER_OBJS:.o=.dep) |
| 3548 | endif |
| 3549 | endif |
| 3550 | |
| 3551 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3552 | LIBTEST_TCP_SERVER_SRC = \ |
| 3553 | test/core/util/test_tcp_server.c \ |
| 3554 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3555 | PUBLIC_HEADERS_C += \ |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3556 | |
| 3557 | LIBTEST_TCP_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBTEST_TCP_SERVER_SRC)))) |
| 3558 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3559 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3560 | ifeq ($(NO_SECURE),true) |
| 3561 | |
| 3562 | # You can't build secure libraries if you don't have OpenSSL. |
| 3563 | |
| 3564 | $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a: openssl_dep_error |
| 3565 | |
| 3566 | |
| 3567 | else |
| 3568 | |
| 3569 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3570 | $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBTEST_TCP_SERVER_OBJS) |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3571 | $(E) "[AR] Creating $@" |
| 3572 | $(Q) mkdir -p `dirname $@` |
| 3573 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 3574 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBTEST_TCP_SERVER_OBJS) |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3575 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3576 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3577 | endif |
| 3578 | |
| 3579 | |
| 3580 | |
| 3581 | |
| 3582 | endif |
| 3583 | |
| 3584 | ifneq ($(NO_SECURE),true) |
| 3585 | ifneq ($(NO_DEPS),true) |
| 3586 | -include $(LIBTEST_TCP_SERVER_OBJS:.o=.dep) |
| 3587 | endif |
| 3588 | endif |
| 3589 | |
| 3590 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3591 | LIBGRPC++_SRC = \ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3592 | src/cpp/client/insecure_credentials.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3593 | src/cpp/client/secure_credentials.cc \ |
| 3594 | src/cpp/common/auth_property_iterator.cc \ |
| 3595 | src/cpp/common/secure_auth_context.cc \ |
| 3596 | src/cpp/common/secure_channel_arguments.cc \ |
| 3597 | src/cpp/common/secure_create_auth_context.cc \ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 3598 | src/cpp/server/insecure_server_credentials.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3599 | src/cpp/server/secure_server_credentials.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3600 | src/cpp/client/channel_cc.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3601 | src/cpp/client/client_context.cc \ |
| 3602 | src/cpp/client/create_channel.cc \ |
yang-g | c317f07 | 2015-08-20 12:18:08 -0700 | [diff] [blame] | 3603 | src/cpp/client/create_channel_internal.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3604 | src/cpp/client/create_channel_posix.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3605 | src/cpp/client/credentials_cc.cc \ |
Yang Gao | 75e2f6d | 2015-03-19 07:04:38 -0700 | [diff] [blame] | 3606 | src/cpp/client/generic_stub.cc \ |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 3607 | src/cpp/common/channel_arguments.cc \ |
Mark D. Roth | ec0bc8b | 2016-06-15 14:02:57 -0700 | [diff] [blame] | 3608 | src/cpp/common/channel_filter.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3609 | src/cpp/common/completion_queue_cc.cc \ |
Nicolas "Pixel" Noble | 4268318 | 2016-03-17 00:25:39 +0100 | [diff] [blame] | 3610 | src/cpp/common/core_codegen.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3611 | src/cpp/common/rpc_method.cc \ |
Yang Gao | 4999649 | 2015-03-12 16:40:19 -0700 | [diff] [blame] | 3612 | src/cpp/server/async_generic_service.cc \ |
Yang Gao | 6f4fb3b | 2015-06-03 12:56:19 -0700 | [diff] [blame] | 3613 | src/cpp/server/create_default_thread_pool.cc \ |
vjpai | b28456b | 2015-07-23 14:17:10 -0700 | [diff] [blame] | 3614 | src/cpp/server/dynamic_thread_pool.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3615 | src/cpp/server/server_builder.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3616 | src/cpp/server/server_cc.cc \ |
Craig Tiller | c416577 | 2015-02-11 10:51:04 -0800 | [diff] [blame] | 3617 | src/cpp/server/server_context.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3618 | src/cpp/server/server_credentials.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3619 | src/cpp/server/server_posix.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3620 | src/cpp/util/byte_buffer_cc.cc \ |
| 3621 | src/cpp/util/slice_cc.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3622 | src/cpp/util/status.cc \ |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 3623 | src/cpp/util/string_ref.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 3624 | src/cpp/util/time_cc.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3625 | src/cpp/codegen/codegen_init.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3626 | |
| 3627 | PUBLIC_HEADERS_CXX += \ |
vjpai | f9f61cf | 2016-02-10 20:51:53 -0800 | [diff] [blame] | 3628 | include/grpc++/alarm.h \ |
yang-g | 8c2be9f | 2015-08-19 16:28:09 -0700 | [diff] [blame] | 3629 | include/grpc++/channel.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3630 | include/grpc++/client_context.h \ |
| 3631 | include/grpc++/completion_queue.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3632 | include/grpc++/create_channel.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3633 | include/grpc++/create_channel_posix.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3634 | include/grpc++/generic/async_generic_service.h \ |
| 3635 | include/grpc++/generic/generic_stub.h \ |
Craig Tiller | d136a5c | 2015-09-11 12:23:32 -0700 | [diff] [blame] | 3636 | include/grpc++/grpc++.h \ |
Craig Tiller | 20f4af2 | 2015-02-10 09:52:15 -0800 | [diff] [blame] | 3637 | include/grpc++/impl/call.h \ |
Craig Tiller | 80e00a8 | 2015-02-09 20:54:25 -0800 | [diff] [blame] | 3638 | include/grpc++/impl/client_unary_call.h \ |
David Garcia Quintas | a20a2ad | 2016-05-19 10:53:44 -0700 | [diff] [blame] | 3639 | include/grpc++/impl/codegen/core_codegen.h \ |
Yang Gao | 96de484 | 2015-04-24 13:13:12 -0700 | [diff] [blame] | 3640 | include/grpc++/impl/grpc_library.h \ |
yang-g | 77c6333 | 2016-01-14 16:09:04 -0800 | [diff] [blame] | 3641 | include/grpc++/impl/method_handler_impl.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3642 | include/grpc++/impl/rpc_method.h \ |
| 3643 | include/grpc++/impl/rpc_service_method.h \ |
Craig Tiller | 6ef7f31 | 2015-06-05 10:15:10 -0700 | [diff] [blame] | 3644 | include/grpc++/impl/serialization_traits.h \ |
yang-g | a23f17b | 2015-11-25 10:21:05 -0800 | [diff] [blame] | 3645 | include/grpc++/impl/server_builder_option.h \ |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 3646 | include/grpc++/impl/server_builder_plugin.h \ |
| 3647 | include/grpc++/impl/server_initializer.h \ |
Yang Gao | 1a98696 | 2015-02-19 12:40:46 -0800 | [diff] [blame] | 3648 | include/grpc++/impl/service_type.h \ |
Yang Gao | fa4549d | 2015-04-10 13:12:09 -0700 | [diff] [blame] | 3649 | include/grpc++/impl/sync.h \ |
| 3650 | include/grpc++/impl/sync_cxx11.h \ |
| 3651 | include/grpc++/impl/sync_no_cxx11.h \ |
| 3652 | include/grpc++/impl/thd.h \ |
| 3653 | include/grpc++/impl/thd_cxx11.h \ |
| 3654 | include/grpc++/impl/thd_no_cxx11.h \ |
Julien Boeuf | 0d47192 | 2015-08-30 22:18:50 -0700 | [diff] [blame] | 3655 | include/grpc++/security/auth_context.h \ |
| 3656 | include/grpc++/security/auth_metadata_processor.h \ |
| 3657 | include/grpc++/security/credentials.h \ |
| 3658 | include/grpc++/security/server_credentials.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3659 | include/grpc++/server.h \ |
| 3660 | include/grpc++/server_builder.h \ |
| 3661 | include/grpc++/server_context.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3662 | include/grpc++/server_posix.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 3663 | include/grpc++/support/async_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3664 | include/grpc++/support/async_unary_call.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3665 | include/grpc++/support/byte_buffer.h \ |
| 3666 | include/grpc++/support/channel_arguments.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3667 | include/grpc++/support/config.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3668 | include/grpc++/support/slice.h \ |
| 3669 | include/grpc++/support/status.h \ |
| 3670 | include/grpc++/support/status_code_enum.h \ |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 3671 | include/grpc++/support/string_ref.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3672 | include/grpc++/support/stub_options.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 3673 | include/grpc++/support/sync_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3674 | include/grpc++/support/time.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3675 | include/grpc++/impl/codegen/async_stream.h \ |
| 3676 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 3677 | include/grpc++/impl/codegen/call.h \ |
| 3678 | include/grpc++/impl/codegen/call_hook.h \ |
| 3679 | include/grpc++/impl/codegen/channel_interface.h \ |
| 3680 | include/grpc++/impl/codegen/client_context.h \ |
| 3681 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 3682 | include/grpc++/impl/codegen/completion_queue.h \ |
| 3683 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3684 | include/grpc++/impl/codegen/config.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3685 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 3686 | include/grpc++/impl/codegen/create_auth_context.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3687 | include/grpc++/impl/codegen/grpc_library.h \ |
| 3688 | include/grpc++/impl/codegen/method_handler_impl.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3689 | include/grpc++/impl/codegen/rpc_method.h \ |
| 3690 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 3691 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 3692 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 3693 | include/grpc++/impl/codegen/server_context.h \ |
| 3694 | include/grpc++/impl/codegen/server_interface.h \ |
| 3695 | include/grpc++/impl/codegen/service_type.h \ |
| 3696 | include/grpc++/impl/codegen/status.h \ |
| 3697 | include/grpc++/impl/codegen/status_code_enum.h \ |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 3698 | include/grpc++/impl/codegen/status_helper.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3699 | include/grpc++/impl/codegen/string_ref.h \ |
| 3700 | include/grpc++/impl/codegen/stub_options.h \ |
| 3701 | include/grpc++/impl/codegen/sync.h \ |
| 3702 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 3703 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 3704 | include/grpc++/impl/codegen/sync_stream.h \ |
| 3705 | include/grpc++/impl/codegen/time.h \ |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 3706 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 3707 | include/grpc/impl/codegen/compression_types.h \ |
| 3708 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3709 | include/grpc/impl/codegen/grpc_types.h \ |
| 3710 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3711 | include/grpc/impl/codegen/status.h \ |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 3712 | include/grpc/impl/codegen/atm.h \ |
| 3713 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3714 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
| 3715 | include/grpc/impl/codegen/atm_windows.h \ |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 3716 | include/grpc/impl/codegen/gpr_types.h \ |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 3717 | include/grpc/impl/codegen/port_platform.h \ |
| 3718 | include/grpc/impl/codegen/slice.h \ |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 3719 | include/grpc/impl/codegen/sync.h \ |
| 3720 | include/grpc/impl/codegen/sync_generic.h \ |
| 3721 | include/grpc/impl/codegen/sync_posix.h \ |
| 3722 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3723 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3724 | LIBGRPC++_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3725 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3726 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3727 | ifeq ($(NO_SECURE),true) |
| 3728 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 3729 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3730 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3731 | $(LIBDIR)/$(CONFIG)/libgrpc++.a: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3732 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3733 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3734 | |
| 3735 | else |
| 3736 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3737 | ifeq ($(NO_PROTOBUF),true) |
| 3738 | |
| 3739 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3740 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3741 | $(LIBDIR)/$(CONFIG)/libgrpc++.a: protobuf_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3742 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3743 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT): protobuf_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3744 | |
| 3745 | else |
| 3746 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3747 | $(LIBDIR)/$(CONFIG)/libgrpc++.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBGRPC++_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3748 | $(E) "[AR] Creating $@" |
| 3749 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3750 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 3751 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBGRPC++_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3752 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3753 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3754 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3755 | |
| 3756 | |
| 3757 | |
| 3758 | ifeq ($(SYSTEM),MINGW32) |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 3759 | $(LIBDIR)/$(CONFIG)/grpc++$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBDIR)/$(CONFIG)/grpc.$(SHARED_EXT) $(OPENSSL_DEP) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3760 | $(E) "[LD] Linking $@" |
| 3761 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 3762 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared grpc++.def -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc++$(SHARED_VERSION).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc++$(SHARED_VERSION)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc++$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgrpc-imp |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3763 | else |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 3764 | $(LIBDIR)/$(CONFIG)/libgrpc++$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC++_OBJS) $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBDIR)/$(CONFIG)/libgrpc.$(SHARED_EXT) $(OPENSSL_DEP) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3765 | $(E) "[LD] Linking $@" |
| 3766 | $(Q) mkdir -p `dirname $@` |
| 3767 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 3768 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc++$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgrpc |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3769 | else |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 3770 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc++.so.1 -o $(LIBDIR)/$(CONFIG)/libgrpc++$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgrpc |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 3771 | $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc++$(SHARED_VERSION).so.1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3772 | $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc++$(SHARED_VERSION).so |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3773 | endif |
| 3774 | endif |
| 3775 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3776 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3777 | |
| 3778 | endif |
| 3779 | |
| 3780 | ifneq ($(NO_SECURE),true) |
| 3781 | ifneq ($(NO_DEPS),true) |
| 3782 | -include $(LIBGRPC++_OBJS:.o=.dep) |
| 3783 | endif |
| 3784 | endif |
| 3785 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3786 | |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3787 | LIBGRPC++_REFLECTION_SRC = \ |
Yuchen Zeng | 0601df3 | 2016-06-06 13:08:06 -0700 | [diff] [blame] | 3788 | src/cpp/ext/proto_server_reflection.cc \ |
| 3789 | src/cpp/ext/proto_server_reflection_plugin.cc \ |
| 3790 | src/cpp/ext/reflection.grpc.pb.cc \ |
| 3791 | src/cpp/ext/reflection.pb.cc \ |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3792 | |
| 3793 | PUBLIC_HEADERS_CXX += \ |
Yuchen Zeng | 0601df3 | 2016-06-06 13:08:06 -0700 | [diff] [blame] | 3794 | include/grpc++/ext/proto_server_reflection_plugin.h \ |
| 3795 | include/grpc++/ext/reflection.grpc.pb.h \ |
| 3796 | include/grpc++/ext/reflection.pb.h \ |
Yuchen Zeng | eb25a07 | 2016-06-08 10:59:48 -0700 | [diff] [blame] | 3797 | include/grpc++/impl/codegen/proto_utils.h \ |
| 3798 | include/grpc++/impl/codegen/async_stream.h \ |
| 3799 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 3800 | include/grpc++/impl/codegen/call.h \ |
| 3801 | include/grpc++/impl/codegen/call_hook.h \ |
| 3802 | include/grpc++/impl/codegen/channel_interface.h \ |
| 3803 | include/grpc++/impl/codegen/client_context.h \ |
| 3804 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 3805 | include/grpc++/impl/codegen/completion_queue.h \ |
| 3806 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
| 3807 | include/grpc++/impl/codegen/config.h \ |
| 3808 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
| 3809 | include/grpc++/impl/codegen/create_auth_context.h \ |
| 3810 | include/grpc++/impl/codegen/grpc_library.h \ |
| 3811 | include/grpc++/impl/codegen/method_handler_impl.h \ |
| 3812 | include/grpc++/impl/codegen/rpc_method.h \ |
| 3813 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 3814 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 3815 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 3816 | include/grpc++/impl/codegen/server_context.h \ |
| 3817 | include/grpc++/impl/codegen/server_interface.h \ |
| 3818 | include/grpc++/impl/codegen/service_type.h \ |
| 3819 | include/grpc++/impl/codegen/status.h \ |
| 3820 | include/grpc++/impl/codegen/status_code_enum.h \ |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 3821 | include/grpc++/impl/codegen/status_helper.h \ |
Yuchen Zeng | eb25a07 | 2016-06-08 10:59:48 -0700 | [diff] [blame] | 3822 | include/grpc++/impl/codegen/string_ref.h \ |
| 3823 | include/grpc++/impl/codegen/stub_options.h \ |
| 3824 | include/grpc++/impl/codegen/sync.h \ |
| 3825 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 3826 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 3827 | include/grpc++/impl/codegen/sync_stream.h \ |
| 3828 | include/grpc++/impl/codegen/time.h \ |
Yuchen Zeng | eb25a07 | 2016-06-08 10:59:48 -0700 | [diff] [blame] | 3829 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 3830 | include/grpc/impl/codegen/compression_types.h \ |
| 3831 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3832 | include/grpc/impl/codegen/grpc_types.h \ |
| 3833 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3834 | include/grpc/impl/codegen/status.h \ |
Yuchen Zeng | eb25a07 | 2016-06-08 10:59:48 -0700 | [diff] [blame] | 3835 | include/grpc/impl/codegen/atm.h \ |
| 3836 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3837 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
| 3838 | include/grpc/impl/codegen/atm_windows.h \ |
David Garcia Quintas | 8c5424f | 2016-08-01 22:49:00 -0700 | [diff] [blame] | 3839 | include/grpc/impl/codegen/gpr_types.h \ |
Yuchen Zeng | eb25a07 | 2016-06-08 10:59:48 -0700 | [diff] [blame] | 3840 | include/grpc/impl/codegen/port_platform.h \ |
| 3841 | include/grpc/impl/codegen/slice.h \ |
Yuchen Zeng | eb25a07 | 2016-06-08 10:59:48 -0700 | [diff] [blame] | 3842 | include/grpc/impl/codegen/sync.h \ |
| 3843 | include/grpc/impl/codegen/sync_generic.h \ |
| 3844 | include/grpc/impl/codegen/sync_posix.h \ |
| 3845 | include/grpc/impl/codegen/sync_windows.h \ |
Yuchen Zeng | eb25a07 | 2016-06-08 10:59:48 -0700 | [diff] [blame] | 3846 | include/grpc++/impl/codegen/config_protobuf.h \ |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3847 | |
| 3848 | LIBGRPC++_REFLECTION_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_REFLECTION_SRC)))) |
| 3849 | |
| 3850 | |
| 3851 | ifeq ($(NO_SECURE),true) |
| 3852 | |
| 3853 | # You can't build secure libraries if you don't have OpenSSL. |
| 3854 | |
| 3855 | $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a: openssl_dep_error |
| 3856 | |
| 3857 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
| 3858 | |
| 3859 | else |
| 3860 | |
| 3861 | ifeq ($(NO_PROTOBUF),true) |
| 3862 | |
| 3863 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3864 | |
| 3865 | $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a: protobuf_dep_error |
| 3866 | |
| 3867 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT): protobuf_dep_error |
| 3868 | |
| 3869 | else |
| 3870 | |
| 3871 | $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBGRPC++_REFLECTION_OBJS) |
| 3872 | $(E) "[AR] Creating $@" |
| 3873 | $(Q) mkdir -p `dirname $@` |
| 3874 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 3875 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBGRPC++_REFLECTION_OBJS) |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3876 | ifeq ($(SYSTEM),Darwin) |
| 3877 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a |
| 3878 | endif |
| 3879 | |
| 3880 | |
| 3881 | |
| 3882 | ifeq ($(SYSTEM),MINGW32) |
Yuchen Zeng | c6bf5f7 | 2016-06-07 14:41:01 -0700 | [diff] [blame] | 3883 | $(LIBDIR)/$(CONFIG)/grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC++_REFLECTION_OBJS) $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBDIR)/$(CONFIG)/grpc++.$(SHARED_EXT) $(OPENSSL_DEP) |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3884 | $(E) "[LD] Linking $@" |
| 3885 | $(Q) mkdir -p `dirname $@` |
Yuchen Zeng | c6bf5f7 | 2016-06-07 14:41:01 -0700 | [diff] [blame] | 3886 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared grpc++_reflection.def -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc++_reflection$(SHARED_VERSION).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc++_reflection$(SHARED_VERSION)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_REFLECTION_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgrpc++-imp |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3887 | else |
Yuchen Zeng | c6bf5f7 | 2016-06-07 14:41:01 -0700 | [diff] [blame] | 3888 | $(LIBDIR)/$(CONFIG)/libgrpc++_reflection$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC++_REFLECTION_OBJS) $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBDIR)/$(CONFIG)/libgrpc++.$(SHARED_EXT) $(OPENSSL_DEP) |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3889 | $(E) "[LD] Linking $@" |
| 3890 | $(Q) mkdir -p `dirname $@` |
| 3891 | ifeq ($(SYSTEM),Darwin) |
Yuchen Zeng | c6bf5f7 | 2016-06-07 14:41:01 -0700 | [diff] [blame] | 3892 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_REFLECTION_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgrpc++ |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3893 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 3894 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc++_reflection.so.1 -o $(LIBDIR)/$(CONFIG)/libgrpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_REFLECTION_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgrpc++ |
| 3895 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection$(SHARED_VERSION).so.1 |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3896 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection$(SHARED_VERSION).so |
| 3897 | endif |
| 3898 | endif |
| 3899 | |
| 3900 | endif |
| 3901 | |
| 3902 | endif |
| 3903 | |
| 3904 | ifneq ($(NO_SECURE),true) |
| 3905 | ifneq ($(NO_DEPS),true) |
| 3906 | -include $(LIBGRPC++_REFLECTION_OBJS:.o=.dep) |
| 3907 | endif |
| 3908 | endif |
| 3909 | |
| 3910 | |
Yuchen Zeng | 1318479 | 2016-07-18 13:07:42 -0700 | [diff] [blame] | 3911 | LIBGRPC++_REFLECTION_CODEGEN_SRC = \ |
| 3912 | $(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.pb.cc $(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc \ |
| 3913 | |
| 3914 | PUBLIC_HEADERS_CXX += \ |
| 3915 | |
| 3916 | LIBGRPC++_REFLECTION_CODEGEN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_REFLECTION_CODEGEN_SRC)))) |
| 3917 | |
| 3918 | |
| 3919 | ifeq ($(NO_SECURE),true) |
| 3920 | |
| 3921 | # You can't build secure libraries if you don't have OpenSSL. |
| 3922 | |
| 3923 | $(LIBDIR)/$(CONFIG)/libgrpc++_reflection_codegen.a: openssl_dep_error |
| 3924 | |
| 3925 | |
| 3926 | else |
| 3927 | |
| 3928 | ifeq ($(NO_PROTOBUF),true) |
| 3929 | |
| 3930 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3931 | |
| 3932 | $(LIBDIR)/$(CONFIG)/libgrpc++_reflection_codegen.a: protobuf_dep_error |
| 3933 | |
| 3934 | |
| 3935 | else |
| 3936 | |
| 3937 | $(LIBDIR)/$(CONFIG)/libgrpc++_reflection_codegen.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBGRPC++_REFLECTION_CODEGEN_OBJS) |
| 3938 | $(E) "[AR] Creating $@" |
| 3939 | $(Q) mkdir -p `dirname $@` |
| 3940 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_reflection_codegen.a |
Yuchen Zeng | 26100cb | 2016-07-21 16:16:43 -0700 | [diff] [blame] | 3941 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection_codegen.a $(LIBGRPC++_REFLECTION_CODEGEN_OBJS) |
Yuchen Zeng | 1318479 | 2016-07-18 13:07:42 -0700 | [diff] [blame] | 3942 | ifeq ($(SYSTEM),Darwin) |
| 3943 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++_reflection_codegen.a |
| 3944 | endif |
| 3945 | |
| 3946 | |
| 3947 | |
| 3948 | |
| 3949 | endif |
| 3950 | |
| 3951 | endif |
| 3952 | |
| 3953 | ifneq ($(NO_SECURE),true) |
| 3954 | ifneq ($(NO_DEPS),true) |
| 3955 | -include $(LIBGRPC++_REFLECTION_CODEGEN_OBJS:.o=.dep) |
| 3956 | endif |
| 3957 | endif |
| 3958 | |
| 3959 | |
yang-g | 4287998 | 2016-10-13 15:58:31 -0700 | [diff] [blame] | 3960 | LIBGRPC++_TEST_SRC = \ |
| 3961 | src/cpp/test/server_context_test_spouse.cc \ |
| 3962 | |
| 3963 | PUBLIC_HEADERS_CXX += \ |
| 3964 | |
| 3965 | LIBGRPC++_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_SRC)))) |
| 3966 | |
| 3967 | |
| 3968 | ifeq ($(NO_SECURE),true) |
| 3969 | |
| 3970 | # You can't build secure libraries if you don't have OpenSSL. |
| 3971 | |
| 3972 | $(LIBDIR)/$(CONFIG)/libgrpc++_test.a: openssl_dep_error |
| 3973 | |
| 3974 | |
| 3975 | else |
| 3976 | |
| 3977 | ifeq ($(NO_PROTOBUF),true) |
| 3978 | |
| 3979 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3980 | |
| 3981 | $(LIBDIR)/$(CONFIG)/libgrpc++_test.a: protobuf_dep_error |
| 3982 | |
| 3983 | |
| 3984 | else |
| 3985 | |
| 3986 | $(LIBDIR)/$(CONFIG)/libgrpc++_test.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBGRPC++_TEST_OBJS) |
| 3987 | $(E) "[AR] Creating $@" |
| 3988 | $(Q) mkdir -p `dirname $@` |
| 3989 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_test.a |
| 3990 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc++_test.a $(LIBGRPC++_TEST_OBJS) |
| 3991 | ifeq ($(SYSTEM),Darwin) |
| 3992 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++_test.a |
| 3993 | endif |
| 3994 | |
| 3995 | |
| 3996 | |
| 3997 | |
| 3998 | endif |
| 3999 | |
| 4000 | endif |
| 4001 | |
| 4002 | ifneq ($(NO_SECURE),true) |
| 4003 | ifneq ($(NO_DEPS),true) |
| 4004 | -include $(LIBGRPC++_TEST_OBJS:.o=.dep) |
| 4005 | endif |
| 4006 | endif |
| 4007 | |
| 4008 | |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 4009 | LIBGRPC++_TEST_CONFIG_SRC = \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 4010 | test/cpp/util/test_config_cc.cc \ |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 4011 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4012 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 4013 | |
| 4014 | LIBGRPC++_TEST_CONFIG_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_CONFIG_SRC)))) |
| 4015 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4016 | |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 4017 | ifeq ($(NO_SECURE),true) |
| 4018 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4019 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 4020 | |
| 4021 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a: openssl_dep_error |
| 4022 | |
| 4023 | |
| 4024 | else |
| 4025 | |
| 4026 | ifeq ($(NO_PROTOBUF),true) |
| 4027 | |
| 4028 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4029 | |
| 4030 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a: protobuf_dep_error |
| 4031 | |
| 4032 | |
| 4033 | else |
| 4034 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4035 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBGRPC++_TEST_CONFIG_OBJS) |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 4036 | $(E) "[AR] Creating $@" |
| 4037 | $(Q) mkdir -p `dirname $@` |
| 4038 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4039 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LIBGRPC++_TEST_CONFIG_OBJS) |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 4040 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4041 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 4042 | endif |
| 4043 | |
| 4044 | |
| 4045 | |
| 4046 | |
| 4047 | endif |
| 4048 | |
| 4049 | endif |
| 4050 | |
| 4051 | ifneq ($(NO_SECURE),true) |
| 4052 | ifneq ($(NO_DEPS),true) |
| 4053 | -include $(LIBGRPC++_TEST_CONFIG_OBJS:.o=.dep) |
| 4054 | endif |
| 4055 | endif |
| 4056 | |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 4057 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4058 | LIBGRPC++_TEST_UTIL_SRC = \ |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4059 | $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4060 | $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc \ |
| 4061 | $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc \ |
yang-g | d6f7d99 | 2016-01-14 16:04:20 -0800 | [diff] [blame] | 4062 | test/cpp/end2end/test_service_impl.cc \ |
yang-g | 9f17314 | 2016-01-15 12:46:40 -0800 | [diff] [blame] | 4063 | test/cpp/util/byte_buffer_proto_helper.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4064 | test/cpp/util/create_test_channel.cc \ |
yang-g | e21908f | 2015-08-25 13:47:51 -0700 | [diff] [blame] | 4065 | test/cpp/util/string_ref_helper.cc \ |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 4066 | test/cpp/util/subprocess.cc \ |
yang-g | 7d2a3e1 | 2016-02-18 15:41:56 -0800 | [diff] [blame] | 4067 | test/cpp/util/test_credentials_provider.cc \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4068 | src/cpp/codegen/codegen_init.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4069 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4070 | PUBLIC_HEADERS_CXX += \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4071 | include/grpc++/impl/codegen/async_stream.h \ |
| 4072 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 4073 | include/grpc++/impl/codegen/call.h \ |
| 4074 | include/grpc++/impl/codegen/call_hook.h \ |
| 4075 | include/grpc++/impl/codegen/channel_interface.h \ |
| 4076 | include/grpc++/impl/codegen/client_context.h \ |
| 4077 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 4078 | include/grpc++/impl/codegen/completion_queue.h \ |
| 4079 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
| 4080 | include/grpc++/impl/codegen/config.h \ |
| 4081 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
| 4082 | include/grpc++/impl/codegen/create_auth_context.h \ |
| 4083 | include/grpc++/impl/codegen/grpc_library.h \ |
| 4084 | include/grpc++/impl/codegen/method_handler_impl.h \ |
| 4085 | include/grpc++/impl/codegen/rpc_method.h \ |
| 4086 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 4087 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 4088 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 4089 | include/grpc++/impl/codegen/server_context.h \ |
| 4090 | include/grpc++/impl/codegen/server_interface.h \ |
| 4091 | include/grpc++/impl/codegen/service_type.h \ |
| 4092 | include/grpc++/impl/codegen/status.h \ |
| 4093 | include/grpc++/impl/codegen/status_code_enum.h \ |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 4094 | include/grpc++/impl/codegen/status_helper.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4095 | include/grpc++/impl/codegen/string_ref.h \ |
| 4096 | include/grpc++/impl/codegen/stub_options.h \ |
| 4097 | include/grpc++/impl/codegen/sync.h \ |
| 4098 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 4099 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 4100 | include/grpc++/impl/codegen/sync_stream.h \ |
| 4101 | include/grpc++/impl/codegen/time.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4102 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 4103 | include/grpc/impl/codegen/compression_types.h \ |
| 4104 | include/grpc/impl/codegen/connectivity_state.h \ |
| 4105 | include/grpc/impl/codegen/grpc_types.h \ |
| 4106 | include/grpc/impl/codegen/propagation_bits.h \ |
| 4107 | include/grpc/impl/codegen/status.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4108 | include/grpc/impl/codegen/atm.h \ |
| 4109 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 4110 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
yang-g | aaee544 | 2016-06-03 15:34:01 -0700 | [diff] [blame] | 4111 | include/grpc/impl/codegen/atm_windows.h \ |
David Garcia Quintas | 8c5424f | 2016-08-01 22:49:00 -0700 | [diff] [blame] | 4112 | include/grpc/impl/codegen/gpr_types.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4113 | include/grpc/impl/codegen/port_platform.h \ |
| 4114 | include/grpc/impl/codegen/slice.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4115 | include/grpc/impl/codegen/sync.h \ |
| 4116 | include/grpc/impl/codegen/sync_generic.h \ |
| 4117 | include/grpc/impl/codegen/sync_posix.h \ |
yang-g | aaee544 | 2016-06-03 15:34:01 -0700 | [diff] [blame] | 4118 | include/grpc/impl/codegen/sync_windows.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4119 | include/grpc++/impl/codegen/proto_utils.h \ |
| 4120 | include/grpc++/impl/codegen/config_protobuf.h \ |
chedeti | bc618ee | 2016-07-31 15:35:51 -0700 | [diff] [blame] | 4121 | include/grpc++/impl/codegen/thrift_serializer.h \ |
chedeti | bc618ee | 2016-07-31 15:35:51 -0700 | [diff] [blame] | 4122 | include/grpc++/impl/codegen/thrift_utils.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4123 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 4124 | LIBGRPC++_TEST_UTIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_UTIL_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4125 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4126 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4127 | ifeq ($(NO_SECURE),true) |
| 4128 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4129 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4130 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 4131 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4132 | |
| 4133 | |
| 4134 | else |
| 4135 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 4136 | ifeq ($(NO_PROTOBUF),true) |
| 4137 | |
| 4138 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4139 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 4140 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a: protobuf_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 4141 | |
| 4142 | |
| 4143 | else |
| 4144 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4145 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBGRPC++_TEST_UTIL_OBJS) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4146 | $(E) "[AR] Creating $@" |
| 4147 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 4148 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4149 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBGRPC++_TEST_UTIL_OBJS) |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 4150 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4151 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 4152 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4153 | |
| 4154 | |
| 4155 | |
| 4156 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 4157 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4158 | |
| 4159 | endif |
| 4160 | |
| 4161 | ifneq ($(NO_SECURE),true) |
| 4162 | ifneq ($(NO_DEPS),true) |
| 4163 | -include $(LIBGRPC++_TEST_UTIL_OBJS:.o=.dep) |
| 4164 | endif |
| 4165 | endif |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4166 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/test_service_impl.o: $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 4167 | $(OBJDIR)/$(CONFIG)/test/cpp/util/byte_buffer_proto_helper.o: $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4168 | $(OBJDIR)/$(CONFIG)/test/cpp/util/create_test_channel.o: $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 4169 | $(OBJDIR)/$(CONFIG)/test/cpp/util/string_ref_helper.o: $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 4170 | $(OBJDIR)/$(CONFIG)/test/cpp/util/subprocess.o: $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
| 4171 | $(OBJDIR)/$(CONFIG)/test/cpp/util/test_credentials_provider.o: $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4172 | $(OBJDIR)/$(CONFIG)/src/cpp/codegen/codegen_init.o: $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 4173 | |
| 4174 | |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4175 | LIBGRPC++_UNSECURE_SRC = \ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 4176 | src/cpp/client/insecure_credentials.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4177 | src/cpp/common/insecure_create_auth_context.cc \ |
murgatroid99 | 1ca0f3e | 2016-08-26 14:58:49 -0700 | [diff] [blame] | 4178 | src/cpp/server/insecure_server_credentials.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 4179 | src/cpp/client/channel_cc.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4180 | src/cpp/client/client_context.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4181 | src/cpp/client/create_channel.cc \ |
yang-g | c317f07 | 2015-08-20 12:18:08 -0700 | [diff] [blame] | 4182 | src/cpp/client/create_channel_internal.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 4183 | src/cpp/client/create_channel_posix.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 4184 | src/cpp/client/credentials_cc.cc \ |
Yang Gao | 75e2f6d | 2015-03-19 07:04:38 -0700 | [diff] [blame] | 4185 | src/cpp/client/generic_stub.cc \ |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 4186 | src/cpp/common/channel_arguments.cc \ |
Mark D. Roth | ec0bc8b | 2016-06-15 14:02:57 -0700 | [diff] [blame] | 4187 | src/cpp/common/channel_filter.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 4188 | src/cpp/common/completion_queue_cc.cc \ |
Nicolas "Pixel" Noble | 4268318 | 2016-03-17 00:25:39 +0100 | [diff] [blame] | 4189 | src/cpp/common/core_codegen.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4190 | src/cpp/common/rpc_method.cc \ |
Yang Gao | 4999649 | 2015-03-12 16:40:19 -0700 | [diff] [blame] | 4191 | src/cpp/server/async_generic_service.cc \ |
Yang Gao | 6f4fb3b | 2015-06-03 12:56:19 -0700 | [diff] [blame] | 4192 | src/cpp/server/create_default_thread_pool.cc \ |
vjpai | b28456b | 2015-07-23 14:17:10 -0700 | [diff] [blame] | 4193 | src/cpp/server/dynamic_thread_pool.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4194 | src/cpp/server/server_builder.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 4195 | src/cpp/server/server_cc.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4196 | src/cpp/server/server_context.cc \ |
| 4197 | src/cpp/server/server_credentials.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 4198 | src/cpp/server/server_posix.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 4199 | src/cpp/util/byte_buffer_cc.cc \ |
| 4200 | src/cpp/util/slice_cc.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4201 | src/cpp/util/status.cc \ |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 4202 | src/cpp/util/string_ref.cc \ |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 4203 | src/cpp/util/time_cc.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4204 | src/cpp/codegen/codegen_init.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4205 | |
| 4206 | PUBLIC_HEADERS_CXX += \ |
vjpai | f9f61cf | 2016-02-10 20:51:53 -0800 | [diff] [blame] | 4207 | include/grpc++/alarm.h \ |
yang-g | 8c2be9f | 2015-08-19 16:28:09 -0700 | [diff] [blame] | 4208 | include/grpc++/channel.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4209 | include/grpc++/client_context.h \ |
| 4210 | include/grpc++/completion_queue.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4211 | include/grpc++/create_channel.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 4212 | include/grpc++/create_channel_posix.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 4213 | include/grpc++/generic/async_generic_service.h \ |
| 4214 | include/grpc++/generic/generic_stub.h \ |
Craig Tiller | d136a5c | 2015-09-11 12:23:32 -0700 | [diff] [blame] | 4215 | include/grpc++/grpc++.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4216 | include/grpc++/impl/call.h \ |
| 4217 | include/grpc++/impl/client_unary_call.h \ |
David Garcia Quintas | a20a2ad | 2016-05-19 10:53:44 -0700 | [diff] [blame] | 4218 | include/grpc++/impl/codegen/core_codegen.h \ |
Yang Gao | 96de484 | 2015-04-24 13:13:12 -0700 | [diff] [blame] | 4219 | include/grpc++/impl/grpc_library.h \ |
yang-g | 77c6333 | 2016-01-14 16:09:04 -0800 | [diff] [blame] | 4220 | include/grpc++/impl/method_handler_impl.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4221 | include/grpc++/impl/rpc_method.h \ |
| 4222 | include/grpc++/impl/rpc_service_method.h \ |
Craig Tiller | 6ef7f31 | 2015-06-05 10:15:10 -0700 | [diff] [blame] | 4223 | include/grpc++/impl/serialization_traits.h \ |
yang-g | a23f17b | 2015-11-25 10:21:05 -0800 | [diff] [blame] | 4224 | include/grpc++/impl/server_builder_option.h \ |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 4225 | include/grpc++/impl/server_builder_plugin.h \ |
| 4226 | include/grpc++/impl/server_initializer.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4227 | include/grpc++/impl/service_type.h \ |
Yang Gao | fa4549d | 2015-04-10 13:12:09 -0700 | [diff] [blame] | 4228 | include/grpc++/impl/sync.h \ |
| 4229 | include/grpc++/impl/sync_cxx11.h \ |
| 4230 | include/grpc++/impl/sync_no_cxx11.h \ |
| 4231 | include/grpc++/impl/thd.h \ |
| 4232 | include/grpc++/impl/thd_cxx11.h \ |
| 4233 | include/grpc++/impl/thd_no_cxx11.h \ |
Julien Boeuf | 0d47192 | 2015-08-30 22:18:50 -0700 | [diff] [blame] | 4234 | include/grpc++/security/auth_context.h \ |
| 4235 | include/grpc++/security/auth_metadata_processor.h \ |
| 4236 | include/grpc++/security/credentials.h \ |
| 4237 | include/grpc++/security/server_credentials.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4238 | include/grpc++/server.h \ |
| 4239 | include/grpc++/server_builder.h \ |
| 4240 | include/grpc++/server_context.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 4241 | include/grpc++/server_posix.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 4242 | include/grpc++/support/async_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 4243 | include/grpc++/support/async_unary_call.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 4244 | include/grpc++/support/byte_buffer.h \ |
| 4245 | include/grpc++/support/channel_arguments.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4246 | include/grpc++/support/config.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 4247 | include/grpc++/support/slice.h \ |
| 4248 | include/grpc++/support/status.h \ |
| 4249 | include/grpc++/support/status_code_enum.h \ |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 4250 | include/grpc++/support/string_ref.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 4251 | include/grpc++/support/stub_options.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 4252 | include/grpc++/support/sync_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 4253 | include/grpc++/support/time.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4254 | include/grpc++/impl/codegen/async_stream.h \ |
| 4255 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 4256 | include/grpc++/impl/codegen/call.h \ |
| 4257 | include/grpc++/impl/codegen/call_hook.h \ |
| 4258 | include/grpc++/impl/codegen/channel_interface.h \ |
| 4259 | include/grpc++/impl/codegen/client_context.h \ |
| 4260 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 4261 | include/grpc++/impl/codegen/completion_queue.h \ |
| 4262 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 4263 | include/grpc++/impl/codegen/config.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4264 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 4265 | include/grpc++/impl/codegen/create_auth_context.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4266 | include/grpc++/impl/codegen/grpc_library.h \ |
| 4267 | include/grpc++/impl/codegen/method_handler_impl.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4268 | include/grpc++/impl/codegen/rpc_method.h \ |
| 4269 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 4270 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 4271 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 4272 | include/grpc++/impl/codegen/server_context.h \ |
| 4273 | include/grpc++/impl/codegen/server_interface.h \ |
| 4274 | include/grpc++/impl/codegen/service_type.h \ |
| 4275 | include/grpc++/impl/codegen/status.h \ |
| 4276 | include/grpc++/impl/codegen/status_code_enum.h \ |
yang-g | d558149 | 2016-09-06 14:05:53 -0700 | [diff] [blame] | 4277 | include/grpc++/impl/codegen/status_helper.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4278 | include/grpc++/impl/codegen/string_ref.h \ |
| 4279 | include/grpc++/impl/codegen/stub_options.h \ |
| 4280 | include/grpc++/impl/codegen/sync.h \ |
| 4281 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 4282 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 4283 | include/grpc++/impl/codegen/sync_stream.h \ |
| 4284 | include/grpc++/impl/codegen/time.h \ |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 4285 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 4286 | include/grpc/impl/codegen/compression_types.h \ |
| 4287 | include/grpc/impl/codegen/connectivity_state.h \ |
| 4288 | include/grpc/impl/codegen/grpc_types.h \ |
| 4289 | include/grpc/impl/codegen/propagation_bits.h \ |
| 4290 | include/grpc/impl/codegen/status.h \ |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 4291 | include/grpc/impl/codegen/atm.h \ |
| 4292 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 4293 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
| 4294 | include/grpc/impl/codegen/atm_windows.h \ |
Nicolas "Pixel" Noble | 87a1081 | 2016-09-29 01:31:54 +0200 | [diff] [blame] | 4295 | include/grpc/impl/codegen/gpr_types.h \ |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 4296 | include/grpc/impl/codegen/port_platform.h \ |
| 4297 | include/grpc/impl/codegen/slice.h \ |
Nicolas "Pixel" Noble | 880b457 | 2016-09-19 20:24:05 +0200 | [diff] [blame] | 4298 | include/grpc/impl/codegen/sync.h \ |
| 4299 | include/grpc/impl/codegen/sync_generic.h \ |
| 4300 | include/grpc/impl/codegen/sync_posix.h \ |
| 4301 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4302 | |
| 4303 | LIBGRPC++_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_UNSECURE_SRC)))) |
| 4304 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4305 | |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4306 | ifeq ($(NO_PROTOBUF),true) |
| 4307 | |
| 4308 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4309 | |
| 4310 | $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a: protobuf_dep_error |
| 4311 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 4312 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT): protobuf_dep_error |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4313 | |
| 4314 | else |
| 4315 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 4316 | $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBGRPC++_UNSECURE_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4317 | $(E) "[AR] Creating $@" |
| 4318 | $(Q) mkdir -p `dirname $@` |
| 4319 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4320 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a $(LIBGRPC++_UNSECURE_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4321 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4322 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4323 | endif |
| 4324 | |
| 4325 | |
| 4326 | |
| 4327 | ifeq ($(SYSTEM),MINGW32) |
Nicolas "Pixel" Noble | a469e5d | 2016-08-16 22:09:27 +0200 | [diff] [blame] | 4328 | $(LIBDIR)/$(CONFIG)/grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC++_UNSECURE_OBJS) $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBDIR)/$(CONFIG)/gpr.$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/grpc_unsecure.$(SHARED_EXT) |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4329 | $(E) "[LD] Linking $@" |
| 4330 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | a469e5d | 2016-08-16 22:09:27 +0200 | [diff] [blame] | 4331 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared grpc++_unsecure.def -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc++_unsecure$(SHARED_VERSION).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc++_unsecure$(SHARED_VERSION)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_UNSECURE_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgpr-imp -lgrpc_unsecure-imp |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4332 | else |
Nicolas "Pixel" Noble | a469e5d | 2016-08-16 22:09:27 +0200 | [diff] [blame] | 4333 | $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC++_UNSECURE_OBJS) $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBDIR)/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.$(SHARED_EXT) |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4334 | $(E) "[LD] Linking $@" |
| 4335 | $(Q) mkdir -p `dirname $@` |
| 4336 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | a469e5d | 2016-08-16 22:09:27 +0200 | [diff] [blame] | 4337 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_UNSECURE_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgpr -lgrpc_unsecure |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4338 | else |
Nicolas "Pixel" Noble | a469e5d | 2016-08-16 22:09:27 +0200 | [diff] [blame] | 4339 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc++_unsecure.so.1 -o $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_UNSECURE_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgpr -lgrpc_unsecure |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 4340 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure$(SHARED_VERSION).so.1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 4341 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure$(SHARED_VERSION).so |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4342 | endif |
| 4343 | endif |
| 4344 | |
| 4345 | endif |
| 4346 | |
| 4347 | ifneq ($(NO_DEPS),true) |
| 4348 | -include $(LIBGRPC++_UNSECURE_OBJS:.o=.dep) |
| 4349 | endif |
| 4350 | |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4351 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 4352 | LIBGRPC_CLI_LIBS_SRC = \ |
| 4353 | test/cpp/util/cli_call.cc \ |
Yuchen Zeng | 02139a0 | 2016-08-15 11:34:21 -0700 | [diff] [blame] | 4354 | test/cpp/util/cli_credentials.cc \ |
Yuchen Zeng | 29ca79b | 2016-07-25 12:00:08 -0700 | [diff] [blame] | 4355 | test/cpp/util/grpc_tool.cc \ |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 4356 | test/cpp/util/proto_file_parser.cc \ |
Yuchen Zeng | 256cc7a | 2016-07-07 11:09:49 -0700 | [diff] [blame] | 4357 | test/cpp/util/proto_reflection_descriptor_database.cc \ |
Yuchen Zeng | 387afd7 | 2016-08-26 14:25:21 -0700 | [diff] [blame] | 4358 | test/cpp/util/service_describer.cc \ |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 4359 | |
| 4360 | PUBLIC_HEADERS_CXX += \ |
| 4361 | |
| 4362 | LIBGRPC_CLI_LIBS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_CLI_LIBS_SRC)))) |
| 4363 | |
| 4364 | |
| 4365 | ifeq ($(NO_SECURE),true) |
| 4366 | |
| 4367 | # You can't build secure libraries if you don't have OpenSSL. |
| 4368 | |
| 4369 | $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a: openssl_dep_error |
| 4370 | |
| 4371 | |
| 4372 | else |
| 4373 | |
| 4374 | ifeq ($(NO_PROTOBUF),true) |
| 4375 | |
| 4376 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4377 | |
| 4378 | $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a: protobuf_dep_error |
| 4379 | |
| 4380 | |
| 4381 | else |
| 4382 | |
| 4383 | $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBGRPC_CLI_LIBS_OBJS) |
| 4384 | $(E) "[AR] Creating $@" |
| 4385 | $(Q) mkdir -p `dirname $@` |
| 4386 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4387 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBGRPC_CLI_LIBS_OBJS) |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 4388 | ifeq ($(SYSTEM),Darwin) |
| 4389 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a |
| 4390 | endif |
| 4391 | |
| 4392 | |
| 4393 | |
| 4394 | |
| 4395 | endif |
| 4396 | |
| 4397 | endif |
| 4398 | |
| 4399 | ifneq ($(NO_SECURE),true) |
| 4400 | ifneq ($(NO_DEPS),true) |
| 4401 | -include $(LIBGRPC_CLI_LIBS_OBJS:.o=.dep) |
| 4402 | endif |
| 4403 | endif |
| 4404 | |
| 4405 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4406 | LIBGRPC_PLUGIN_SUPPORT_SRC = \ |
| 4407 | src/compiler/cpp_generator.cc \ |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 4408 | src/compiler/csharp_generator.cc \ |
murgatroid99 | e264e39 | 2016-04-19 10:56:01 -0700 | [diff] [blame] | 4409 | src/compiler/node_generator.cc \ |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 4410 | src/compiler/objective_c_generator.cc \ |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 4411 | src/compiler/php_generator.cc \ |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4412 | src/compiler/python_generator.cc \ |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4413 | src/compiler/ruby_generator.cc \ |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4414 | |
David Garcia Quintas | ddcb53a | 2016-01-21 17:48:34 -0800 | [diff] [blame] | 4415 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 4416 | include/grpc++/impl/codegen/config_protobuf.h \ |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4417 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4418 | LIBGRPC_PLUGIN_SUPPORT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_PLUGIN_SUPPORT_SRC)))) |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4419 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4420 | |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4421 | ifeq ($(NO_PROTOBUF),true) |
| 4422 | |
| 4423 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4424 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4425 | $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: protobuf_dep_error |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4426 | |
| 4427 | |
| 4428 | else |
| 4429 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4430 | $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBGRPC_PLUGIN_SUPPORT_OBJS) |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4431 | $(E) "[AR] Creating $@" |
| 4432 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4433 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4434 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(LIBGRPC_PLUGIN_SUPPORT_OBJS) |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4435 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4436 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4437 | endif |
| 4438 | |
| 4439 | |
| 4440 | |
| 4441 | |
| 4442 | endif |
| 4443 | |
| 4444 | ifneq ($(NO_DEPS),true) |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4445 | -include $(LIBGRPC_PLUGIN_SUPPORT_OBJS:.o=.dep) |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4446 | endif |
| 4447 | |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4448 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4449 | LIBINTEROP_CLIENT_HELPER_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4450 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4451 | test/cpp/interop/client_helper.cc \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4452 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4453 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4454 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4455 | LIBINTEROP_CLIENT_HELPER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBINTEROP_CLIENT_HELPER_SRC)))) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4456 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4457 | |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4458 | ifeq ($(NO_SECURE),true) |
| 4459 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4460 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4461 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4462 | $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a: openssl_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4463 | |
| 4464 | |
| 4465 | else |
| 4466 | |
| 4467 | ifeq ($(NO_PROTOBUF),true) |
| 4468 | |
| 4469 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4470 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4471 | $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a: protobuf_dep_error |
| 4472 | |
| 4473 | |
| 4474 | else |
| 4475 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4476 | $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBINTEROP_CLIENT_HELPER_OBJS) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4477 | $(E) "[AR] Creating $@" |
| 4478 | $(Q) mkdir -p `dirname $@` |
| 4479 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4480 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a $(LIBINTEROP_CLIENT_HELPER_OBJS) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4481 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4482 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4483 | endif |
| 4484 | |
| 4485 | |
| 4486 | |
| 4487 | |
| 4488 | endif |
| 4489 | |
| 4490 | endif |
| 4491 | |
| 4492 | ifneq ($(NO_SECURE),true) |
| 4493 | ifneq ($(NO_DEPS),true) |
| 4494 | -include $(LIBINTEROP_CLIENT_HELPER_OBJS:.o=.dep) |
| 4495 | endif |
| 4496 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4497 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/client_helper.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4498 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4499 | |
| 4500 | LIBINTEROP_CLIENT_MAIN_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4501 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 4502 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 4503 | $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc \ |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4504 | test/cpp/interop/client.cc \ |
| 4505 | test/cpp/interop/interop_client.cc \ |
| 4506 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4507 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4508 | |
| 4509 | LIBINTEROP_CLIENT_MAIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBINTEROP_CLIENT_MAIN_SRC)))) |
| 4510 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4511 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4512 | ifeq ($(NO_SECURE),true) |
| 4513 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4514 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4515 | |
| 4516 | $(LIBDIR)/$(CONFIG)/libinterop_client_main.a: openssl_dep_error |
| 4517 | |
| 4518 | |
| 4519 | else |
| 4520 | |
| 4521 | ifeq ($(NO_PROTOBUF),true) |
| 4522 | |
| 4523 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4524 | |
| 4525 | $(LIBDIR)/$(CONFIG)/libinterop_client_main.a: protobuf_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4526 | |
| 4527 | |
| 4528 | else |
| 4529 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4530 | $(LIBDIR)/$(CONFIG)/libinterop_client_main.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBINTEROP_CLIENT_MAIN_OBJS) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4531 | $(E) "[AR] Creating $@" |
| 4532 | $(Q) mkdir -p `dirname $@` |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4533 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_client_main.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4534 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libinterop_client_main.a $(LIBINTEROP_CLIENT_MAIN_OBJS) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4535 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4536 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libinterop_client_main.a |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4537 | endif |
| 4538 | |
| 4539 | |
| 4540 | |
| 4541 | |
| 4542 | endif |
| 4543 | |
| 4544 | endif |
| 4545 | |
| 4546 | ifneq ($(NO_SECURE),true) |
| 4547 | ifneq ($(NO_DEPS),true) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4548 | -include $(LIBINTEROP_CLIENT_MAIN_OBJS:.o=.dep) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4549 | endif |
| 4550 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4551 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/client.o: $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc |
| 4552 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/interop_client.o: $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4553 | |
| 4554 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4555 | LIBINTEROP_SERVER_HELPER_SRC = \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4556 | test/cpp/interop/server_helper.cc \ |
| 4557 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4558 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4559 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4560 | LIBINTEROP_SERVER_HELPER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBINTEROP_SERVER_HELPER_SRC)))) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4561 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4562 | |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4563 | ifeq ($(NO_SECURE),true) |
| 4564 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4565 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4566 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4567 | $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a: openssl_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4568 | |
| 4569 | |
| 4570 | else |
| 4571 | |
| 4572 | ifeq ($(NO_PROTOBUF),true) |
| 4573 | |
| 4574 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4575 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4576 | $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a: protobuf_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4577 | |
| 4578 | |
| 4579 | else |
| 4580 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4581 | $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBINTEROP_SERVER_HELPER_OBJS) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4582 | $(E) "[AR] Creating $@" |
| 4583 | $(Q) mkdir -p `dirname $@` |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4584 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4585 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a $(LIBINTEROP_SERVER_HELPER_OBJS) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4586 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4587 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4588 | endif |
| 4589 | |
| 4590 | |
| 4591 | |
| 4592 | |
| 4593 | endif |
| 4594 | |
| 4595 | endif |
| 4596 | |
| 4597 | ifneq ($(NO_SECURE),true) |
| 4598 | ifneq ($(NO_DEPS),true) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4599 | -include $(LIBINTEROP_SERVER_HELPER_OBJS:.o=.dep) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4600 | endif |
| 4601 | endif |
| 4602 | |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4603 | |
Nicolas "Pixel" Noble | 6570b83 | 2016-07-18 23:29:50 +0200 | [diff] [blame] | 4604 | LIBINTEROP_SERVER_LIB_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4605 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 4606 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 4607 | $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc \ |
David Garcia Quintas | 74686ce | 2016-06-09 15:33:33 -0700 | [diff] [blame] | 4608 | test/cpp/interop/interop_server.cc \ |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4609 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4610 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4611 | |
Nicolas "Pixel" Noble | 6570b83 | 2016-07-18 23:29:50 +0200 | [diff] [blame] | 4612 | LIBINTEROP_SERVER_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBINTEROP_SERVER_LIB_SRC)))) |
| 4613 | |
| 4614 | |
| 4615 | ifeq ($(NO_SECURE),true) |
| 4616 | |
| 4617 | # You can't build secure libraries if you don't have OpenSSL. |
| 4618 | |
| 4619 | $(LIBDIR)/$(CONFIG)/libinterop_server_lib.a: openssl_dep_error |
| 4620 | |
| 4621 | |
| 4622 | else |
| 4623 | |
| 4624 | ifeq ($(NO_PROTOBUF),true) |
| 4625 | |
| 4626 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4627 | |
| 4628 | $(LIBDIR)/$(CONFIG)/libinterop_server_lib.a: protobuf_dep_error |
| 4629 | |
| 4630 | |
| 4631 | else |
| 4632 | |
| 4633 | $(LIBDIR)/$(CONFIG)/libinterop_server_lib.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBINTEROP_SERVER_LIB_OBJS) |
| 4634 | $(E) "[AR] Creating $@" |
| 4635 | $(Q) mkdir -p `dirname $@` |
| 4636 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_server_lib.a |
Nicolas "Pixel" Noble | bc0b088 | 2016-07-25 23:51:01 +0200 | [diff] [blame] | 4637 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libinterop_server_lib.a $(LIBINTEROP_SERVER_LIB_OBJS) |
Nicolas "Pixel" Noble | 6570b83 | 2016-07-18 23:29:50 +0200 | [diff] [blame] | 4638 | ifeq ($(SYSTEM),Darwin) |
| 4639 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libinterop_server_lib.a |
| 4640 | endif |
| 4641 | |
| 4642 | |
| 4643 | |
| 4644 | |
| 4645 | endif |
| 4646 | |
| 4647 | endif |
| 4648 | |
| 4649 | ifneq ($(NO_SECURE),true) |
| 4650 | ifneq ($(NO_DEPS),true) |
| 4651 | -include $(LIBINTEROP_SERVER_LIB_OBJS:.o=.dep) |
| 4652 | endif |
| 4653 | endif |
| 4654 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/interop_server.o: $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc |
| 4655 | |
| 4656 | |
| 4657 | LIBINTEROP_SERVER_MAIN_SRC = \ |
| 4658 | test/cpp/interop/interop_server_bootstrap.cc \ |
| 4659 | |
| 4660 | PUBLIC_HEADERS_CXX += \ |
| 4661 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4662 | LIBINTEROP_SERVER_MAIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBINTEROP_SERVER_MAIN_SRC)))) |
| 4663 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4664 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4665 | ifeq ($(NO_SECURE),true) |
| 4666 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4667 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4668 | |
| 4669 | $(LIBDIR)/$(CONFIG)/libinterop_server_main.a: openssl_dep_error |
| 4670 | |
| 4671 | |
| 4672 | else |
| 4673 | |
| 4674 | ifeq ($(NO_PROTOBUF),true) |
| 4675 | |
| 4676 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4677 | |
| 4678 | $(LIBDIR)/$(CONFIG)/libinterop_server_main.a: protobuf_dep_error |
| 4679 | |
| 4680 | |
| 4681 | else |
| 4682 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4683 | $(LIBDIR)/$(CONFIG)/libinterop_server_main.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBINTEROP_SERVER_MAIN_OBJS) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4684 | $(E) "[AR] Creating $@" |
| 4685 | $(Q) mkdir -p `dirname $@` |
| 4686 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_server_main.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4687 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libinterop_server_main.a $(LIBINTEROP_SERVER_MAIN_OBJS) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4688 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4689 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libinterop_server_main.a |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4690 | endif |
| 4691 | |
| 4692 | |
| 4693 | |
| 4694 | |
| 4695 | endif |
| 4696 | |
| 4697 | endif |
| 4698 | |
| 4699 | ifneq ($(NO_SECURE),true) |
| 4700 | ifneq ($(NO_DEPS),true) |
| 4701 | -include $(LIBINTEROP_SERVER_MAIN_OBJS:.o=.dep) |
| 4702 | endif |
| 4703 | endif |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4704 | |
| 4705 | |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4706 | LIBQPS_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4707 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4708 | $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc \ |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4709 | $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4710 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc \ |
| 4711 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc \ |
Craig Tiller | e9a6eb7 | 2015-04-09 15:51:41 -0700 | [diff] [blame] | 4712 | test/cpp/qps/client_async.cc \ |
| 4713 | test/cpp/qps/client_sync.cc \ |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4714 | test/cpp/qps/driver.cc \ |
vjpai | c803442 | 2016-01-19 15:32:42 -0800 | [diff] [blame] | 4715 | test/cpp/qps/limit_cores.cc \ |
David Klempner | e27d189 | 2016-05-19 13:50:16 -0700 | [diff] [blame] | 4716 | test/cpp/qps/parse_json.cc \ |
Craig Tiller | e9a6eb7 | 2015-04-09 15:51:41 -0700 | [diff] [blame] | 4717 | test/cpp/qps/qps_worker.cc \ |
Craig Tiller | f75fc12 | 2015-06-25 06:58:00 -0700 | [diff] [blame] | 4718 | test/cpp/qps/report.cc \ |
Craig Tiller | e9a6eb7 | 2015-04-09 15:51:41 -0700 | [diff] [blame] | 4719 | test/cpp/qps/server_async.cc \ |
| 4720 | test/cpp/qps/server_sync.cc \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 4721 | test/cpp/qps/usage_timer.cc \ |
Craig Tiller | f75fc12 | 2015-06-25 06:58:00 -0700 | [diff] [blame] | 4722 | test/cpp/util/benchmark_config.cc \ |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4723 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4724 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4725 | |
| 4726 | LIBQPS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBQPS_SRC)))) |
| 4727 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4728 | |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4729 | ifeq ($(NO_SECURE),true) |
| 4730 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4731 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4732 | |
| 4733 | $(LIBDIR)/$(CONFIG)/libqps.a: openssl_dep_error |
| 4734 | |
| 4735 | |
| 4736 | else |
| 4737 | |
| 4738 | ifeq ($(NO_PROTOBUF),true) |
| 4739 | |
| 4740 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4741 | |
| 4742 | $(LIBDIR)/$(CONFIG)/libqps.a: protobuf_dep_error |
| 4743 | |
| 4744 | |
| 4745 | else |
| 4746 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4747 | $(LIBDIR)/$(CONFIG)/libqps.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBQPS_OBJS) |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4748 | $(E) "[AR] Creating $@" |
| 4749 | $(Q) mkdir -p `dirname $@` |
| 4750 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libqps.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4751 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBQPS_OBJS) |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4752 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4753 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libqps.a |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4754 | endif |
| 4755 | |
| 4756 | |
| 4757 | |
| 4758 | |
| 4759 | endif |
| 4760 | |
| 4761 | endif |
| 4762 | |
| 4763 | ifneq ($(NO_SECURE),true) |
| 4764 | ifneq ($(NO_DEPS),true) |
| 4765 | -include $(LIBQPS_OBJS:.o=.dep) |
| 4766 | endif |
| 4767 | endif |
vjpai | d8364f7 | 2016-05-31 12:54:04 -0700 | [diff] [blame] | 4768 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/client_async.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
| 4769 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/client_sync.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
| 4770 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/driver.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
| 4771 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/limit_cores.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
David Klempner | e27d189 | 2016-05-19 13:50:16 -0700 | [diff] [blame] | 4772 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/parse_json.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
vjpai | d8364f7 | 2016-05-31 12:54:04 -0700 | [diff] [blame] | 4773 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/qps_worker.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
| 4774 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/report.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
| 4775 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/server_async.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
| 4776 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/server_sync.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
| 4777 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/usage_timer.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
| 4778 | $(OBJDIR)/$(CONFIG)/test/cpp/util/benchmark_config.o: $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4779 | |
| 4780 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4781 | LIBGRPC_CSHARP_EXT_SRC = \ |
| 4782 | src/csharp/ext/grpc_csharp_ext.c \ |
| 4783 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4784 | PUBLIC_HEADERS_C += \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4785 | |
| 4786 | LIBGRPC_CSHARP_EXT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_CSHARP_EXT_SRC)))) |
| 4787 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4788 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4789 | ifeq ($(NO_SECURE),true) |
| 4790 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4791 | # You can't build secure libraries if you don't have OpenSSL. |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4792 | |
| 4793 | $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a: openssl_dep_error |
| 4794 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 4795 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4796 | |
| 4797 | else |
| 4798 | |
| 4799 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4800 | $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_CSHARP_EXT_OBJS) |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4801 | $(E) "[AR] Creating $@" |
| 4802 | $(Q) mkdir -p `dirname $@` |
| 4803 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 4804 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a $(LIBGRPC_CSHARP_EXT_OBJS) |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4805 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4806 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4807 | endif |
| 4808 | |
| 4809 | |
| 4810 | |
| 4811 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4812 | $(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4813 | $(E) "[LD] Linking $@" |
| 4814 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4815 | $(Q) $(LD) $(LDFLAGS) $(if $(subst Linux,,$(SYSTEM)),,-Wl$(comma)-wrap$(comma)memcpy) -L$(LIBDIR)/$(CONFIG) -shared grpc_csharp_ext.def -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_CSHARP_EXT_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(ZLIB_MERGE_LIBS) |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4816 | else |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4817 | $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4818 | $(E) "[LD] Linking $@" |
| 4819 | $(Q) mkdir -p `dirname $@` |
| 4820 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4821 | $(Q) $(LD) $(LDFLAGS) $(if $(subst Linux,,$(SYSTEM)),,-Wl$(comma)-wrap$(comma)memcpy) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_CSHARP_EXT_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(ZLIB_MERGE_LIBS) |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4822 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 4823 | $(Q) $(LD) $(LDFLAGS) $(if $(subst Linux,,$(SYSTEM)),,-Wl$(comma)-wrap$(comma)memcpy) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_csharp_ext.so.1 -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_CSHARP_EXT_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(ZLIB_MERGE_LIBS) |
| 4824 | $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION).so.1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 4825 | $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION).so |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4826 | endif |
| 4827 | endif |
| 4828 | |
| 4829 | endif |
| 4830 | |
| 4831 | ifneq ($(NO_SECURE),true) |
| 4832 | ifneq ($(NO_DEPS),true) |
| 4833 | -include $(LIBGRPC_CSHARP_EXT_OBJS:.o=.dep) |
| 4834 | endif |
| 4835 | endif |
| 4836 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4837 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4838 | LIBBORINGSSL_SRC = \ |
| 4839 | src/boringssl/err_data.c \ |
| 4840 | third_party/boringssl/crypto/aes/aes.c \ |
| 4841 | third_party/boringssl/crypto/aes/mode_wrappers.c \ |
| 4842 | third_party/boringssl/crypto/asn1/a_bitstr.c \ |
| 4843 | third_party/boringssl/crypto/asn1/a_bool.c \ |
| 4844 | third_party/boringssl/crypto/asn1/a_bytes.c \ |
| 4845 | third_party/boringssl/crypto/asn1/a_d2i_fp.c \ |
| 4846 | third_party/boringssl/crypto/asn1/a_dup.c \ |
| 4847 | third_party/boringssl/crypto/asn1/a_enum.c \ |
| 4848 | third_party/boringssl/crypto/asn1/a_gentm.c \ |
| 4849 | third_party/boringssl/crypto/asn1/a_i2d_fp.c \ |
| 4850 | third_party/boringssl/crypto/asn1/a_int.c \ |
| 4851 | third_party/boringssl/crypto/asn1/a_mbstr.c \ |
| 4852 | third_party/boringssl/crypto/asn1/a_object.c \ |
| 4853 | third_party/boringssl/crypto/asn1/a_octet.c \ |
| 4854 | third_party/boringssl/crypto/asn1/a_print.c \ |
| 4855 | third_party/boringssl/crypto/asn1/a_strnid.c \ |
| 4856 | third_party/boringssl/crypto/asn1/a_time.c \ |
| 4857 | third_party/boringssl/crypto/asn1/a_type.c \ |
| 4858 | third_party/boringssl/crypto/asn1/a_utctm.c \ |
| 4859 | third_party/boringssl/crypto/asn1/a_utf8.c \ |
| 4860 | third_party/boringssl/crypto/asn1/asn1_lib.c \ |
| 4861 | third_party/boringssl/crypto/asn1/asn1_par.c \ |
| 4862 | third_party/boringssl/crypto/asn1/asn_pack.c \ |
| 4863 | third_party/boringssl/crypto/asn1/bio_asn1.c \ |
| 4864 | third_party/boringssl/crypto/asn1/bio_ndef.c \ |
| 4865 | third_party/boringssl/crypto/asn1/f_enum.c \ |
| 4866 | third_party/boringssl/crypto/asn1/f_int.c \ |
| 4867 | third_party/boringssl/crypto/asn1/f_string.c \ |
| 4868 | third_party/boringssl/crypto/asn1/t_bitst.c \ |
| 4869 | third_party/boringssl/crypto/asn1/t_pkey.c \ |
| 4870 | third_party/boringssl/crypto/asn1/tasn_dec.c \ |
| 4871 | third_party/boringssl/crypto/asn1/tasn_enc.c \ |
| 4872 | third_party/boringssl/crypto/asn1/tasn_fre.c \ |
| 4873 | third_party/boringssl/crypto/asn1/tasn_new.c \ |
| 4874 | third_party/boringssl/crypto/asn1/tasn_prn.c \ |
| 4875 | third_party/boringssl/crypto/asn1/tasn_typ.c \ |
| 4876 | third_party/boringssl/crypto/asn1/tasn_utl.c \ |
| 4877 | third_party/boringssl/crypto/asn1/x_bignum.c \ |
| 4878 | third_party/boringssl/crypto/asn1/x_long.c \ |
| 4879 | third_party/boringssl/crypto/base64/base64.c \ |
| 4880 | third_party/boringssl/crypto/bio/bio.c \ |
| 4881 | third_party/boringssl/crypto/bio/bio_mem.c \ |
| 4882 | third_party/boringssl/crypto/bio/buffer.c \ |
| 4883 | third_party/boringssl/crypto/bio/connect.c \ |
| 4884 | third_party/boringssl/crypto/bio/fd.c \ |
| 4885 | third_party/boringssl/crypto/bio/file.c \ |
| 4886 | third_party/boringssl/crypto/bio/hexdump.c \ |
| 4887 | third_party/boringssl/crypto/bio/pair.c \ |
| 4888 | third_party/boringssl/crypto/bio/printf.c \ |
| 4889 | third_party/boringssl/crypto/bio/socket.c \ |
| 4890 | third_party/boringssl/crypto/bio/socket_helper.c \ |
| 4891 | third_party/boringssl/crypto/bn/add.c \ |
| 4892 | third_party/boringssl/crypto/bn/asm/x86_64-gcc.c \ |
| 4893 | third_party/boringssl/crypto/bn/bn.c \ |
| 4894 | third_party/boringssl/crypto/bn/bn_asn1.c \ |
| 4895 | third_party/boringssl/crypto/bn/cmp.c \ |
| 4896 | third_party/boringssl/crypto/bn/convert.c \ |
| 4897 | third_party/boringssl/crypto/bn/ctx.c \ |
| 4898 | third_party/boringssl/crypto/bn/div.c \ |
| 4899 | third_party/boringssl/crypto/bn/exponentiation.c \ |
| 4900 | third_party/boringssl/crypto/bn/gcd.c \ |
| 4901 | third_party/boringssl/crypto/bn/generic.c \ |
| 4902 | third_party/boringssl/crypto/bn/kronecker.c \ |
| 4903 | third_party/boringssl/crypto/bn/montgomery.c \ |
| 4904 | third_party/boringssl/crypto/bn/mul.c \ |
| 4905 | third_party/boringssl/crypto/bn/prime.c \ |
| 4906 | third_party/boringssl/crypto/bn/random.c \ |
| 4907 | third_party/boringssl/crypto/bn/rsaz_exp.c \ |
| 4908 | third_party/boringssl/crypto/bn/shift.c \ |
| 4909 | third_party/boringssl/crypto/bn/sqrt.c \ |
| 4910 | third_party/boringssl/crypto/buf/buf.c \ |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 4911 | third_party/boringssl/crypto/bytestring/asn1_compat.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4912 | third_party/boringssl/crypto/bytestring/ber.c \ |
| 4913 | third_party/boringssl/crypto/bytestring/cbb.c \ |
| 4914 | third_party/boringssl/crypto/bytestring/cbs.c \ |
| 4915 | third_party/boringssl/crypto/chacha/chacha_generic.c \ |
| 4916 | third_party/boringssl/crypto/chacha/chacha_vec.c \ |
| 4917 | third_party/boringssl/crypto/cipher/aead.c \ |
| 4918 | third_party/boringssl/crypto/cipher/cipher.c \ |
| 4919 | third_party/boringssl/crypto/cipher/derive_key.c \ |
| 4920 | third_party/boringssl/crypto/cipher/e_aes.c \ |
| 4921 | third_party/boringssl/crypto/cipher/e_chacha20poly1305.c \ |
| 4922 | third_party/boringssl/crypto/cipher/e_des.c \ |
| 4923 | third_party/boringssl/crypto/cipher/e_null.c \ |
| 4924 | third_party/boringssl/crypto/cipher/e_rc2.c \ |
| 4925 | third_party/boringssl/crypto/cipher/e_rc4.c \ |
| 4926 | third_party/boringssl/crypto/cipher/e_ssl3.c \ |
| 4927 | third_party/boringssl/crypto/cipher/e_tls.c \ |
| 4928 | third_party/boringssl/crypto/cipher/tls_cbc.c \ |
| 4929 | third_party/boringssl/crypto/cmac/cmac.c \ |
| 4930 | third_party/boringssl/crypto/conf/conf.c \ |
| 4931 | third_party/boringssl/crypto/cpu-arm.c \ |
| 4932 | third_party/boringssl/crypto/cpu-intel.c \ |
| 4933 | third_party/boringssl/crypto/crypto.c \ |
| 4934 | third_party/boringssl/crypto/curve25519/curve25519.c \ |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 4935 | third_party/boringssl/crypto/curve25519/x25519-x86_64.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4936 | third_party/boringssl/crypto/des/des.c \ |
| 4937 | third_party/boringssl/crypto/dh/check.c \ |
| 4938 | third_party/boringssl/crypto/dh/dh.c \ |
| 4939 | third_party/boringssl/crypto/dh/dh_asn1.c \ |
| 4940 | third_party/boringssl/crypto/dh/params.c \ |
| 4941 | third_party/boringssl/crypto/digest/digest.c \ |
| 4942 | third_party/boringssl/crypto/digest/digests.c \ |
| 4943 | third_party/boringssl/crypto/directory_posix.c \ |
| 4944 | third_party/boringssl/crypto/directory_win.c \ |
| 4945 | third_party/boringssl/crypto/dsa/dsa.c \ |
| 4946 | third_party/boringssl/crypto/dsa/dsa_asn1.c \ |
| 4947 | third_party/boringssl/crypto/ec/ec.c \ |
| 4948 | third_party/boringssl/crypto/ec/ec_asn1.c \ |
| 4949 | third_party/boringssl/crypto/ec/ec_key.c \ |
| 4950 | third_party/boringssl/crypto/ec/ec_montgomery.c \ |
| 4951 | third_party/boringssl/crypto/ec/oct.c \ |
| 4952 | third_party/boringssl/crypto/ec/p224-64.c \ |
| 4953 | third_party/boringssl/crypto/ec/p256-64.c \ |
| 4954 | third_party/boringssl/crypto/ec/p256-x86_64.c \ |
| 4955 | third_party/boringssl/crypto/ec/simple.c \ |
| 4956 | third_party/boringssl/crypto/ec/util-64.c \ |
| 4957 | third_party/boringssl/crypto/ec/wnaf.c \ |
| 4958 | third_party/boringssl/crypto/ecdh/ecdh.c \ |
| 4959 | third_party/boringssl/crypto/ecdsa/ecdsa.c \ |
| 4960 | third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c \ |
| 4961 | third_party/boringssl/crypto/engine/engine.c \ |
| 4962 | third_party/boringssl/crypto/err/err.c \ |
| 4963 | third_party/boringssl/crypto/evp/algorithm.c \ |
| 4964 | third_party/boringssl/crypto/evp/digestsign.c \ |
| 4965 | third_party/boringssl/crypto/evp/evp.c \ |
| 4966 | third_party/boringssl/crypto/evp/evp_asn1.c \ |
| 4967 | third_party/boringssl/crypto/evp/evp_ctx.c \ |
| 4968 | third_party/boringssl/crypto/evp/p_dsa_asn1.c \ |
| 4969 | third_party/boringssl/crypto/evp/p_ec.c \ |
| 4970 | third_party/boringssl/crypto/evp/p_ec_asn1.c \ |
| 4971 | third_party/boringssl/crypto/evp/p_rsa.c \ |
| 4972 | third_party/boringssl/crypto/evp/p_rsa_asn1.c \ |
| 4973 | third_party/boringssl/crypto/evp/pbkdf.c \ |
| 4974 | third_party/boringssl/crypto/evp/sign.c \ |
| 4975 | third_party/boringssl/crypto/ex_data.c \ |
| 4976 | third_party/boringssl/crypto/hkdf/hkdf.c \ |
| 4977 | third_party/boringssl/crypto/hmac/hmac.c \ |
| 4978 | third_party/boringssl/crypto/lhash/lhash.c \ |
| 4979 | third_party/boringssl/crypto/md4/md4.c \ |
| 4980 | third_party/boringssl/crypto/md5/md5.c \ |
| 4981 | third_party/boringssl/crypto/mem.c \ |
| 4982 | third_party/boringssl/crypto/modes/cbc.c \ |
| 4983 | third_party/boringssl/crypto/modes/cfb.c \ |
| 4984 | third_party/boringssl/crypto/modes/ctr.c \ |
| 4985 | third_party/boringssl/crypto/modes/gcm.c \ |
| 4986 | third_party/boringssl/crypto/modes/ofb.c \ |
| 4987 | third_party/boringssl/crypto/obj/obj.c \ |
| 4988 | third_party/boringssl/crypto/obj/obj_xref.c \ |
| 4989 | third_party/boringssl/crypto/pem/pem_all.c \ |
| 4990 | third_party/boringssl/crypto/pem/pem_info.c \ |
| 4991 | third_party/boringssl/crypto/pem/pem_lib.c \ |
| 4992 | third_party/boringssl/crypto/pem/pem_oth.c \ |
| 4993 | third_party/boringssl/crypto/pem/pem_pk8.c \ |
| 4994 | third_party/boringssl/crypto/pem/pem_pkey.c \ |
| 4995 | third_party/boringssl/crypto/pem/pem_x509.c \ |
| 4996 | third_party/boringssl/crypto/pem/pem_xaux.c \ |
| 4997 | third_party/boringssl/crypto/pkcs8/p5_pbe.c \ |
| 4998 | third_party/boringssl/crypto/pkcs8/p5_pbev2.c \ |
| 4999 | third_party/boringssl/crypto/pkcs8/p8_pkey.c \ |
| 5000 | third_party/boringssl/crypto/pkcs8/pkcs8.c \ |
| 5001 | third_party/boringssl/crypto/poly1305/poly1305.c \ |
| 5002 | third_party/boringssl/crypto/poly1305/poly1305_arm.c \ |
| 5003 | third_party/boringssl/crypto/poly1305/poly1305_vec.c \ |
| 5004 | third_party/boringssl/crypto/rand/rand.c \ |
| 5005 | third_party/boringssl/crypto/rand/urandom.c \ |
| 5006 | third_party/boringssl/crypto/rand/windows.c \ |
| 5007 | third_party/boringssl/crypto/rc4/rc4.c \ |
| 5008 | third_party/boringssl/crypto/refcount_c11.c \ |
| 5009 | third_party/boringssl/crypto/refcount_lock.c \ |
| 5010 | third_party/boringssl/crypto/rsa/blinding.c \ |
| 5011 | third_party/boringssl/crypto/rsa/padding.c \ |
| 5012 | third_party/boringssl/crypto/rsa/rsa.c \ |
| 5013 | third_party/boringssl/crypto/rsa/rsa_asn1.c \ |
| 5014 | third_party/boringssl/crypto/rsa/rsa_impl.c \ |
| 5015 | third_party/boringssl/crypto/sha/sha1.c \ |
| 5016 | third_party/boringssl/crypto/sha/sha256.c \ |
| 5017 | third_party/boringssl/crypto/sha/sha512.c \ |
| 5018 | third_party/boringssl/crypto/stack/stack.c \ |
| 5019 | third_party/boringssl/crypto/thread.c \ |
| 5020 | third_party/boringssl/crypto/thread_none.c \ |
| 5021 | third_party/boringssl/crypto/thread_pthread.c \ |
| 5022 | third_party/boringssl/crypto/thread_win.c \ |
| 5023 | third_party/boringssl/crypto/time_support.c \ |
| 5024 | third_party/boringssl/crypto/x509/a_digest.c \ |
| 5025 | third_party/boringssl/crypto/x509/a_sign.c \ |
| 5026 | third_party/boringssl/crypto/x509/a_strex.c \ |
| 5027 | third_party/boringssl/crypto/x509/a_verify.c \ |
| 5028 | third_party/boringssl/crypto/x509/asn1_gen.c \ |
| 5029 | third_party/boringssl/crypto/x509/by_dir.c \ |
| 5030 | third_party/boringssl/crypto/x509/by_file.c \ |
| 5031 | third_party/boringssl/crypto/x509/i2d_pr.c \ |
| 5032 | third_party/boringssl/crypto/x509/pkcs7.c \ |
| 5033 | third_party/boringssl/crypto/x509/t_crl.c \ |
| 5034 | third_party/boringssl/crypto/x509/t_req.c \ |
| 5035 | third_party/boringssl/crypto/x509/t_x509.c \ |
| 5036 | third_party/boringssl/crypto/x509/t_x509a.c \ |
| 5037 | third_party/boringssl/crypto/x509/x509.c \ |
| 5038 | third_party/boringssl/crypto/x509/x509_att.c \ |
| 5039 | third_party/boringssl/crypto/x509/x509_cmp.c \ |
| 5040 | third_party/boringssl/crypto/x509/x509_d2.c \ |
| 5041 | third_party/boringssl/crypto/x509/x509_def.c \ |
| 5042 | third_party/boringssl/crypto/x509/x509_ext.c \ |
| 5043 | third_party/boringssl/crypto/x509/x509_lu.c \ |
| 5044 | third_party/boringssl/crypto/x509/x509_obj.c \ |
| 5045 | third_party/boringssl/crypto/x509/x509_r2x.c \ |
| 5046 | third_party/boringssl/crypto/x509/x509_req.c \ |
| 5047 | third_party/boringssl/crypto/x509/x509_set.c \ |
| 5048 | third_party/boringssl/crypto/x509/x509_trs.c \ |
| 5049 | third_party/boringssl/crypto/x509/x509_txt.c \ |
| 5050 | third_party/boringssl/crypto/x509/x509_v3.c \ |
| 5051 | third_party/boringssl/crypto/x509/x509_vfy.c \ |
| 5052 | third_party/boringssl/crypto/x509/x509_vpm.c \ |
| 5053 | third_party/boringssl/crypto/x509/x509cset.c \ |
| 5054 | third_party/boringssl/crypto/x509/x509name.c \ |
| 5055 | third_party/boringssl/crypto/x509/x509rset.c \ |
| 5056 | third_party/boringssl/crypto/x509/x509spki.c \ |
| 5057 | third_party/boringssl/crypto/x509/x509type.c \ |
| 5058 | third_party/boringssl/crypto/x509/x_algor.c \ |
| 5059 | third_party/boringssl/crypto/x509/x_all.c \ |
| 5060 | third_party/boringssl/crypto/x509/x_attrib.c \ |
| 5061 | third_party/boringssl/crypto/x509/x_crl.c \ |
| 5062 | third_party/boringssl/crypto/x509/x_exten.c \ |
| 5063 | third_party/boringssl/crypto/x509/x_info.c \ |
| 5064 | third_party/boringssl/crypto/x509/x_name.c \ |
| 5065 | third_party/boringssl/crypto/x509/x_pkey.c \ |
| 5066 | third_party/boringssl/crypto/x509/x_pubkey.c \ |
| 5067 | third_party/boringssl/crypto/x509/x_req.c \ |
| 5068 | third_party/boringssl/crypto/x509/x_sig.c \ |
| 5069 | third_party/boringssl/crypto/x509/x_spki.c \ |
| 5070 | third_party/boringssl/crypto/x509/x_val.c \ |
| 5071 | third_party/boringssl/crypto/x509/x_x509.c \ |
| 5072 | third_party/boringssl/crypto/x509/x_x509a.c \ |
| 5073 | third_party/boringssl/crypto/x509v3/pcy_cache.c \ |
| 5074 | third_party/boringssl/crypto/x509v3/pcy_data.c \ |
| 5075 | third_party/boringssl/crypto/x509v3/pcy_lib.c \ |
| 5076 | third_party/boringssl/crypto/x509v3/pcy_map.c \ |
| 5077 | third_party/boringssl/crypto/x509v3/pcy_node.c \ |
| 5078 | third_party/boringssl/crypto/x509v3/pcy_tree.c \ |
| 5079 | third_party/boringssl/crypto/x509v3/v3_akey.c \ |
| 5080 | third_party/boringssl/crypto/x509v3/v3_akeya.c \ |
| 5081 | third_party/boringssl/crypto/x509v3/v3_alt.c \ |
| 5082 | third_party/boringssl/crypto/x509v3/v3_bcons.c \ |
| 5083 | third_party/boringssl/crypto/x509v3/v3_bitst.c \ |
| 5084 | third_party/boringssl/crypto/x509v3/v3_conf.c \ |
| 5085 | third_party/boringssl/crypto/x509v3/v3_cpols.c \ |
| 5086 | third_party/boringssl/crypto/x509v3/v3_crld.c \ |
| 5087 | third_party/boringssl/crypto/x509v3/v3_enum.c \ |
| 5088 | third_party/boringssl/crypto/x509v3/v3_extku.c \ |
| 5089 | third_party/boringssl/crypto/x509v3/v3_genn.c \ |
| 5090 | third_party/boringssl/crypto/x509v3/v3_ia5.c \ |
| 5091 | third_party/boringssl/crypto/x509v3/v3_info.c \ |
| 5092 | third_party/boringssl/crypto/x509v3/v3_int.c \ |
| 5093 | third_party/boringssl/crypto/x509v3/v3_lib.c \ |
| 5094 | third_party/boringssl/crypto/x509v3/v3_ncons.c \ |
| 5095 | third_party/boringssl/crypto/x509v3/v3_pci.c \ |
| 5096 | third_party/boringssl/crypto/x509v3/v3_pcia.c \ |
| 5097 | third_party/boringssl/crypto/x509v3/v3_pcons.c \ |
| 5098 | third_party/boringssl/crypto/x509v3/v3_pku.c \ |
| 5099 | third_party/boringssl/crypto/x509v3/v3_pmaps.c \ |
| 5100 | third_party/boringssl/crypto/x509v3/v3_prn.c \ |
| 5101 | third_party/boringssl/crypto/x509v3/v3_purp.c \ |
| 5102 | third_party/boringssl/crypto/x509v3/v3_skey.c \ |
| 5103 | third_party/boringssl/crypto/x509v3/v3_sxnet.c \ |
| 5104 | third_party/boringssl/crypto/x509v3/v3_utl.c \ |
| 5105 | third_party/boringssl/ssl/custom_extensions.c \ |
| 5106 | third_party/boringssl/ssl/d1_both.c \ |
| 5107 | third_party/boringssl/ssl/d1_clnt.c \ |
| 5108 | third_party/boringssl/ssl/d1_lib.c \ |
| 5109 | third_party/boringssl/ssl/d1_meth.c \ |
| 5110 | third_party/boringssl/ssl/d1_pkt.c \ |
| 5111 | third_party/boringssl/ssl/d1_srtp.c \ |
| 5112 | third_party/boringssl/ssl/d1_srvr.c \ |
| 5113 | third_party/boringssl/ssl/dtls_record.c \ |
| 5114 | third_party/boringssl/ssl/pqueue/pqueue.c \ |
| 5115 | third_party/boringssl/ssl/s3_both.c \ |
| 5116 | third_party/boringssl/ssl/s3_clnt.c \ |
| 5117 | third_party/boringssl/ssl/s3_enc.c \ |
| 5118 | third_party/boringssl/ssl/s3_lib.c \ |
| 5119 | third_party/boringssl/ssl/s3_meth.c \ |
| 5120 | third_party/boringssl/ssl/s3_pkt.c \ |
| 5121 | third_party/boringssl/ssl/s3_srvr.c \ |
| 5122 | third_party/boringssl/ssl/ssl_aead_ctx.c \ |
| 5123 | third_party/boringssl/ssl/ssl_asn1.c \ |
| 5124 | third_party/boringssl/ssl/ssl_buffer.c \ |
| 5125 | third_party/boringssl/ssl/ssl_cert.c \ |
| 5126 | third_party/boringssl/ssl/ssl_cipher.c \ |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 5127 | third_party/boringssl/ssl/ssl_ecdh.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5128 | third_party/boringssl/ssl/ssl_file.c \ |
| 5129 | third_party/boringssl/ssl/ssl_lib.c \ |
| 5130 | third_party/boringssl/ssl/ssl_rsa.c \ |
| 5131 | third_party/boringssl/ssl/ssl_session.c \ |
| 5132 | third_party/boringssl/ssl/ssl_stat.c \ |
| 5133 | third_party/boringssl/ssl/t1_enc.c \ |
| 5134 | third_party/boringssl/ssl/t1_lib.c \ |
| 5135 | third_party/boringssl/ssl/tls_record.c \ |
| 5136 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5137 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5138 | |
| 5139 | LIBBORINGSSL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_SRC)))) |
| 5140 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5141 | $(LIBBORINGSSL_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5142 | $(LIBBORINGSSL_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5143 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5144 | $(LIBDIR)/$(CONFIG)/libboringssl.a: $(ZLIB_DEP) $(LIBBORINGSSL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5145 | $(E) "[AR] Creating $@" |
| 5146 | $(Q) mkdir -p `dirname $@` |
| 5147 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5148 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl.a $(LIBBORINGSSL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5149 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5150 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5151 | endif |
| 5152 | |
| 5153 | |
| 5154 | |
| 5155 | |
| 5156 | ifneq ($(NO_DEPS),true) |
| 5157 | -include $(LIBBORINGSSL_OBJS:.o=.dep) |
| 5158 | endif |
| 5159 | |
| 5160 | |
| 5161 | LIBBORINGSSL_TEST_UTIL_SRC = \ |
| 5162 | third_party/boringssl/crypto/test/file_test.cc \ |
| 5163 | third_party/boringssl/crypto/test/malloc.cc \ |
| 5164 | third_party/boringssl/crypto/test/test_util.cc \ |
| 5165 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5166 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5167 | |
| 5168 | LIBBORINGSSL_TEST_UTIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_TEST_UTIL_SRC)))) |
| 5169 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5170 | $(LIBBORINGSSL_TEST_UTIL_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5171 | $(LIBBORINGSSL_TEST_UTIL_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5172 | |
| 5173 | ifeq ($(NO_PROTOBUF),true) |
| 5174 | |
| 5175 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5176 | |
| 5177 | $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a: protobuf_dep_error |
| 5178 | |
| 5179 | |
| 5180 | else |
| 5181 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5182 | $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_TEST_UTIL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5183 | $(E) "[AR] Creating $@" |
| 5184 | $(Q) mkdir -p `dirname $@` |
| 5185 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5186 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBBORINGSSL_TEST_UTIL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5187 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5188 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5189 | endif |
| 5190 | |
| 5191 | |
| 5192 | |
| 5193 | |
| 5194 | endif |
| 5195 | |
| 5196 | ifneq ($(NO_DEPS),true) |
| 5197 | -include $(LIBBORINGSSL_TEST_UTIL_OBJS:.o=.dep) |
| 5198 | endif |
| 5199 | |
| 5200 | |
| 5201 | LIBBORINGSSL_AES_TEST_LIB_SRC = \ |
| 5202 | third_party/boringssl/crypto/aes/aes_test.cc \ |
| 5203 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5204 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5205 | |
| 5206 | LIBBORINGSSL_AES_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_AES_TEST_LIB_SRC)))) |
| 5207 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5208 | $(LIBBORINGSSL_AES_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5209 | $(LIBBORINGSSL_AES_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5210 | |
| 5211 | ifeq ($(NO_PROTOBUF),true) |
| 5212 | |
| 5213 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5214 | |
| 5215 | $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a: protobuf_dep_error |
| 5216 | |
| 5217 | |
| 5218 | else |
| 5219 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5220 | $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_AES_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5221 | $(E) "[AR] Creating $@" |
| 5222 | $(Q) mkdir -p `dirname $@` |
| 5223 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5224 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a $(LIBBORINGSSL_AES_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5225 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5226 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5227 | endif |
| 5228 | |
| 5229 | |
| 5230 | |
| 5231 | |
| 5232 | endif |
| 5233 | |
| 5234 | ifneq ($(NO_DEPS),true) |
| 5235 | -include $(LIBBORINGSSL_AES_TEST_LIB_OBJS:.o=.dep) |
| 5236 | endif |
| 5237 | |
| 5238 | |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 5239 | LIBBORINGSSL_ASN1_TEST_LIB_SRC = \ |
| 5240 | third_party/boringssl/crypto/asn1/asn1_test.cc \ |
| 5241 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5242 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 5243 | |
| 5244 | LIBBORINGSSL_ASN1_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ASN1_TEST_LIB_SRC)))) |
| 5245 | |
| 5246 | $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5247 | $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 5248 | |
| 5249 | ifeq ($(NO_PROTOBUF),true) |
| 5250 | |
| 5251 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5252 | |
| 5253 | $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a: protobuf_dep_error |
| 5254 | |
| 5255 | |
| 5256 | else |
| 5257 | |
| 5258 | $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS) |
| 5259 | $(E) "[AR] Creating $@" |
| 5260 | $(Q) mkdir -p `dirname $@` |
| 5261 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5262 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS) |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 5263 | ifeq ($(SYSTEM),Darwin) |
| 5264 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a |
| 5265 | endif |
| 5266 | |
| 5267 | |
| 5268 | |
| 5269 | |
| 5270 | endif |
| 5271 | |
| 5272 | ifneq ($(NO_DEPS),true) |
| 5273 | -include $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS:.o=.dep) |
| 5274 | endif |
| 5275 | |
| 5276 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5277 | LIBBORINGSSL_BASE64_TEST_LIB_SRC = \ |
| 5278 | third_party/boringssl/crypto/base64/base64_test.cc \ |
| 5279 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5280 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5281 | |
| 5282 | LIBBORINGSSL_BASE64_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BASE64_TEST_LIB_SRC)))) |
| 5283 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5284 | $(LIBBORINGSSL_BASE64_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5285 | $(LIBBORINGSSL_BASE64_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5286 | |
| 5287 | ifeq ($(NO_PROTOBUF),true) |
| 5288 | |
| 5289 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5290 | |
| 5291 | $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a: protobuf_dep_error |
| 5292 | |
| 5293 | |
| 5294 | else |
| 5295 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5296 | $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_BASE64_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5297 | $(E) "[AR] Creating $@" |
| 5298 | $(Q) mkdir -p `dirname $@` |
| 5299 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5300 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a $(LIBBORINGSSL_BASE64_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5301 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5302 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5303 | endif |
| 5304 | |
| 5305 | |
| 5306 | |
| 5307 | |
| 5308 | endif |
| 5309 | |
| 5310 | ifneq ($(NO_DEPS),true) |
| 5311 | -include $(LIBBORINGSSL_BASE64_TEST_LIB_OBJS:.o=.dep) |
| 5312 | endif |
| 5313 | |
| 5314 | |
| 5315 | LIBBORINGSSL_BIO_TEST_LIB_SRC = \ |
| 5316 | third_party/boringssl/crypto/bio/bio_test.cc \ |
| 5317 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5318 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5319 | |
| 5320 | LIBBORINGSSL_BIO_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BIO_TEST_LIB_SRC)))) |
| 5321 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5322 | $(LIBBORINGSSL_BIO_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5323 | $(LIBBORINGSSL_BIO_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5324 | |
| 5325 | ifeq ($(NO_PROTOBUF),true) |
| 5326 | |
| 5327 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5328 | |
| 5329 | $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a: protobuf_dep_error |
| 5330 | |
| 5331 | |
| 5332 | else |
| 5333 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5334 | $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_BIO_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5335 | $(E) "[AR] Creating $@" |
| 5336 | $(Q) mkdir -p `dirname $@` |
| 5337 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5338 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a $(LIBBORINGSSL_BIO_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5339 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5340 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5341 | endif |
| 5342 | |
| 5343 | |
| 5344 | |
| 5345 | |
| 5346 | endif |
| 5347 | |
| 5348 | ifneq ($(NO_DEPS),true) |
| 5349 | -include $(LIBBORINGSSL_BIO_TEST_LIB_OBJS:.o=.dep) |
| 5350 | endif |
| 5351 | |
| 5352 | |
| 5353 | LIBBORINGSSL_BN_TEST_LIB_SRC = \ |
| 5354 | third_party/boringssl/crypto/bn/bn_test.cc \ |
| 5355 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5356 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5357 | |
| 5358 | LIBBORINGSSL_BN_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BN_TEST_LIB_SRC)))) |
| 5359 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5360 | $(LIBBORINGSSL_BN_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5361 | $(LIBBORINGSSL_BN_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5362 | |
| 5363 | ifeq ($(NO_PROTOBUF),true) |
| 5364 | |
| 5365 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5366 | |
| 5367 | $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a: protobuf_dep_error |
| 5368 | |
| 5369 | |
| 5370 | else |
| 5371 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5372 | $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_BN_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5373 | $(E) "[AR] Creating $@" |
| 5374 | $(Q) mkdir -p `dirname $@` |
| 5375 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5376 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a $(LIBBORINGSSL_BN_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5377 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5378 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5379 | endif |
| 5380 | |
| 5381 | |
| 5382 | |
| 5383 | |
| 5384 | endif |
| 5385 | |
| 5386 | ifneq ($(NO_DEPS),true) |
| 5387 | -include $(LIBBORINGSSL_BN_TEST_LIB_OBJS:.o=.dep) |
| 5388 | endif |
| 5389 | |
| 5390 | |
| 5391 | LIBBORINGSSL_BYTESTRING_TEST_LIB_SRC = \ |
| 5392 | third_party/boringssl/crypto/bytestring/bytestring_test.cc \ |
| 5393 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5394 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5395 | |
| 5396 | LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BYTESTRING_TEST_LIB_SRC)))) |
| 5397 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5398 | $(LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5399 | $(LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5400 | |
| 5401 | ifeq ($(NO_PROTOBUF),true) |
| 5402 | |
| 5403 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5404 | |
| 5405 | $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a: protobuf_dep_error |
| 5406 | |
| 5407 | |
| 5408 | else |
| 5409 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5410 | $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5411 | $(E) "[AR] Creating $@" |
| 5412 | $(Q) mkdir -p `dirname $@` |
| 5413 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5414 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a $(LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5415 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5416 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5417 | endif |
| 5418 | |
| 5419 | |
| 5420 | |
| 5421 | |
| 5422 | endif |
| 5423 | |
| 5424 | ifneq ($(NO_DEPS),true) |
| 5425 | -include $(LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS:.o=.dep) |
| 5426 | endif |
| 5427 | |
| 5428 | |
| 5429 | LIBBORINGSSL_AEAD_TEST_LIB_SRC = \ |
| 5430 | third_party/boringssl/crypto/cipher/aead_test.cc \ |
| 5431 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5432 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5433 | |
| 5434 | LIBBORINGSSL_AEAD_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_AEAD_TEST_LIB_SRC)))) |
| 5435 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5436 | $(LIBBORINGSSL_AEAD_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5437 | $(LIBBORINGSSL_AEAD_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5438 | |
| 5439 | ifeq ($(NO_PROTOBUF),true) |
| 5440 | |
| 5441 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5442 | |
| 5443 | $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a: protobuf_dep_error |
| 5444 | |
| 5445 | |
| 5446 | else |
| 5447 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5448 | $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_AEAD_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5449 | $(E) "[AR] Creating $@" |
| 5450 | $(Q) mkdir -p `dirname $@` |
| 5451 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5452 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a $(LIBBORINGSSL_AEAD_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5453 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5454 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5455 | endif |
| 5456 | |
| 5457 | |
| 5458 | |
| 5459 | |
| 5460 | endif |
| 5461 | |
| 5462 | ifneq ($(NO_DEPS),true) |
| 5463 | -include $(LIBBORINGSSL_AEAD_TEST_LIB_OBJS:.o=.dep) |
| 5464 | endif |
| 5465 | |
| 5466 | |
| 5467 | LIBBORINGSSL_CIPHER_TEST_LIB_SRC = \ |
| 5468 | third_party/boringssl/crypto/cipher/cipher_test.cc \ |
| 5469 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5470 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5471 | |
| 5472 | LIBBORINGSSL_CIPHER_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_CIPHER_TEST_LIB_SRC)))) |
| 5473 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5474 | $(LIBBORINGSSL_CIPHER_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5475 | $(LIBBORINGSSL_CIPHER_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5476 | |
| 5477 | ifeq ($(NO_PROTOBUF),true) |
| 5478 | |
| 5479 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5480 | |
| 5481 | $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a: protobuf_dep_error |
| 5482 | |
| 5483 | |
| 5484 | else |
| 5485 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5486 | $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_CIPHER_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5487 | $(E) "[AR] Creating $@" |
| 5488 | $(Q) mkdir -p `dirname $@` |
| 5489 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5490 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a $(LIBBORINGSSL_CIPHER_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5491 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5492 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5493 | endif |
| 5494 | |
| 5495 | |
| 5496 | |
| 5497 | |
| 5498 | endif |
| 5499 | |
| 5500 | ifneq ($(NO_DEPS),true) |
| 5501 | -include $(LIBBORINGSSL_CIPHER_TEST_LIB_OBJS:.o=.dep) |
| 5502 | endif |
| 5503 | |
| 5504 | |
| 5505 | LIBBORINGSSL_CMAC_TEST_LIB_SRC = \ |
| 5506 | third_party/boringssl/crypto/cmac/cmac_test.cc \ |
| 5507 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5508 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5509 | |
| 5510 | LIBBORINGSSL_CMAC_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_CMAC_TEST_LIB_SRC)))) |
| 5511 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5512 | $(LIBBORINGSSL_CMAC_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5513 | $(LIBBORINGSSL_CMAC_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5514 | |
| 5515 | ifeq ($(NO_PROTOBUF),true) |
| 5516 | |
| 5517 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5518 | |
| 5519 | $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a: protobuf_dep_error |
| 5520 | |
| 5521 | |
| 5522 | else |
| 5523 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5524 | $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_CMAC_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5525 | $(E) "[AR] Creating $@" |
| 5526 | $(Q) mkdir -p `dirname $@` |
| 5527 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5528 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a $(LIBBORINGSSL_CMAC_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5529 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5530 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5531 | endif |
| 5532 | |
| 5533 | |
| 5534 | |
| 5535 | |
| 5536 | endif |
| 5537 | |
| 5538 | ifneq ($(NO_DEPS),true) |
| 5539 | -include $(LIBBORINGSSL_CMAC_TEST_LIB_OBJS:.o=.dep) |
| 5540 | endif |
| 5541 | |
| 5542 | |
| 5543 | LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_SRC = \ |
| 5544 | third_party/boringssl/crypto/constant_time_test.c \ |
| 5545 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5546 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5547 | |
| 5548 | LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_SRC)))) |
| 5549 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5550 | $(LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5551 | $(LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5552 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5553 | $(LIBDIR)/$(CONFIG)/libboringssl_constant_time_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5554 | $(E) "[AR] Creating $@" |
| 5555 | $(Q) mkdir -p `dirname $@` |
| 5556 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_constant_time_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5557 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_constant_time_test_lib.a $(LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5558 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5559 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_constant_time_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5560 | endif |
| 5561 | |
| 5562 | |
| 5563 | |
| 5564 | |
| 5565 | ifneq ($(NO_DEPS),true) |
| 5566 | -include $(LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_OBJS:.o=.dep) |
| 5567 | endif |
| 5568 | |
| 5569 | |
| 5570 | LIBBORINGSSL_ED25519_TEST_LIB_SRC = \ |
| 5571 | third_party/boringssl/crypto/curve25519/ed25519_test.cc \ |
| 5572 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5573 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5574 | |
| 5575 | LIBBORINGSSL_ED25519_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ED25519_TEST_LIB_SRC)))) |
| 5576 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5577 | $(LIBBORINGSSL_ED25519_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5578 | $(LIBBORINGSSL_ED25519_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5579 | |
| 5580 | ifeq ($(NO_PROTOBUF),true) |
| 5581 | |
| 5582 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5583 | |
| 5584 | $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a: protobuf_dep_error |
| 5585 | |
| 5586 | |
| 5587 | else |
| 5588 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5589 | $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_ED25519_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5590 | $(E) "[AR] Creating $@" |
| 5591 | $(Q) mkdir -p `dirname $@` |
| 5592 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5593 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a $(LIBBORINGSSL_ED25519_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5594 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5595 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5596 | endif |
| 5597 | |
| 5598 | |
| 5599 | |
| 5600 | |
| 5601 | endif |
| 5602 | |
| 5603 | ifneq ($(NO_DEPS),true) |
| 5604 | -include $(LIBBORINGSSL_ED25519_TEST_LIB_OBJS:.o=.dep) |
| 5605 | endif |
| 5606 | |
| 5607 | |
| 5608 | LIBBORINGSSL_X25519_TEST_LIB_SRC = \ |
| 5609 | third_party/boringssl/crypto/curve25519/x25519_test.cc \ |
| 5610 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5611 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5612 | |
| 5613 | LIBBORINGSSL_X25519_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_X25519_TEST_LIB_SRC)))) |
| 5614 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5615 | $(LIBBORINGSSL_X25519_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5616 | $(LIBBORINGSSL_X25519_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5617 | |
| 5618 | ifeq ($(NO_PROTOBUF),true) |
| 5619 | |
| 5620 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5621 | |
| 5622 | $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a: protobuf_dep_error |
| 5623 | |
| 5624 | |
| 5625 | else |
| 5626 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5627 | $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_X25519_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5628 | $(E) "[AR] Creating $@" |
| 5629 | $(Q) mkdir -p `dirname $@` |
| 5630 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5631 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a $(LIBBORINGSSL_X25519_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5632 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5633 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5634 | endif |
| 5635 | |
| 5636 | |
| 5637 | |
| 5638 | |
| 5639 | endif |
| 5640 | |
| 5641 | ifneq ($(NO_DEPS),true) |
| 5642 | -include $(LIBBORINGSSL_X25519_TEST_LIB_OBJS:.o=.dep) |
| 5643 | endif |
| 5644 | |
| 5645 | |
| 5646 | LIBBORINGSSL_DH_TEST_LIB_SRC = \ |
| 5647 | third_party/boringssl/crypto/dh/dh_test.cc \ |
| 5648 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5649 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5650 | |
| 5651 | LIBBORINGSSL_DH_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_DH_TEST_LIB_SRC)))) |
| 5652 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5653 | $(LIBBORINGSSL_DH_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5654 | $(LIBBORINGSSL_DH_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5655 | |
| 5656 | ifeq ($(NO_PROTOBUF),true) |
| 5657 | |
| 5658 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5659 | |
| 5660 | $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a: protobuf_dep_error |
| 5661 | |
| 5662 | |
| 5663 | else |
| 5664 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5665 | $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_DH_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5666 | $(E) "[AR] Creating $@" |
| 5667 | $(Q) mkdir -p `dirname $@` |
| 5668 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5669 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a $(LIBBORINGSSL_DH_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5670 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5671 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5672 | endif |
| 5673 | |
| 5674 | |
| 5675 | |
| 5676 | |
| 5677 | endif |
| 5678 | |
| 5679 | ifneq ($(NO_DEPS),true) |
| 5680 | -include $(LIBBORINGSSL_DH_TEST_LIB_OBJS:.o=.dep) |
| 5681 | endif |
| 5682 | |
| 5683 | |
| 5684 | LIBBORINGSSL_DIGEST_TEST_LIB_SRC = \ |
| 5685 | third_party/boringssl/crypto/digest/digest_test.cc \ |
| 5686 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5687 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5688 | |
| 5689 | LIBBORINGSSL_DIGEST_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_DIGEST_TEST_LIB_SRC)))) |
| 5690 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5691 | $(LIBBORINGSSL_DIGEST_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5692 | $(LIBBORINGSSL_DIGEST_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5693 | |
| 5694 | ifeq ($(NO_PROTOBUF),true) |
| 5695 | |
| 5696 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5697 | |
| 5698 | $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a: protobuf_dep_error |
| 5699 | |
| 5700 | |
| 5701 | else |
| 5702 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5703 | $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_DIGEST_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5704 | $(E) "[AR] Creating $@" |
| 5705 | $(Q) mkdir -p `dirname $@` |
| 5706 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5707 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a $(LIBBORINGSSL_DIGEST_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5708 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5709 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5710 | endif |
| 5711 | |
| 5712 | |
| 5713 | |
| 5714 | |
| 5715 | endif |
| 5716 | |
| 5717 | ifneq ($(NO_DEPS),true) |
| 5718 | -include $(LIBBORINGSSL_DIGEST_TEST_LIB_OBJS:.o=.dep) |
| 5719 | endif |
| 5720 | |
| 5721 | |
| 5722 | LIBBORINGSSL_DSA_TEST_LIB_SRC = \ |
| 5723 | third_party/boringssl/crypto/dsa/dsa_test.c \ |
| 5724 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5725 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5726 | |
| 5727 | LIBBORINGSSL_DSA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_DSA_TEST_LIB_SRC)))) |
| 5728 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5729 | $(LIBBORINGSSL_DSA_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5730 | $(LIBBORINGSSL_DSA_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5731 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5732 | $(LIBDIR)/$(CONFIG)/libboringssl_dsa_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_DSA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5733 | $(E) "[AR] Creating $@" |
| 5734 | $(Q) mkdir -p `dirname $@` |
| 5735 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_dsa_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5736 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_dsa_test_lib.a $(LIBBORINGSSL_DSA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5737 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5738 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_dsa_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5739 | endif |
| 5740 | |
| 5741 | |
| 5742 | |
| 5743 | |
| 5744 | ifneq ($(NO_DEPS),true) |
| 5745 | -include $(LIBBORINGSSL_DSA_TEST_LIB_OBJS:.o=.dep) |
| 5746 | endif |
| 5747 | |
| 5748 | |
| 5749 | LIBBORINGSSL_EC_TEST_LIB_SRC = \ |
| 5750 | third_party/boringssl/crypto/ec/ec_test.cc \ |
| 5751 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5752 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5753 | |
| 5754 | LIBBORINGSSL_EC_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EC_TEST_LIB_SRC)))) |
| 5755 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5756 | $(LIBBORINGSSL_EC_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5757 | $(LIBBORINGSSL_EC_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5758 | |
| 5759 | ifeq ($(NO_PROTOBUF),true) |
| 5760 | |
| 5761 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5762 | |
| 5763 | $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a: protobuf_dep_error |
| 5764 | |
| 5765 | |
| 5766 | else |
| 5767 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5768 | $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_EC_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5769 | $(E) "[AR] Creating $@" |
| 5770 | $(Q) mkdir -p `dirname $@` |
| 5771 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5772 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a $(LIBBORINGSSL_EC_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5773 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5774 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5775 | endif |
| 5776 | |
| 5777 | |
| 5778 | |
| 5779 | |
| 5780 | endif |
| 5781 | |
| 5782 | ifneq ($(NO_DEPS),true) |
| 5783 | -include $(LIBBORINGSSL_EC_TEST_LIB_OBJS:.o=.dep) |
| 5784 | endif |
| 5785 | |
| 5786 | |
| 5787 | LIBBORINGSSL_EXAMPLE_MUL_LIB_SRC = \ |
| 5788 | third_party/boringssl/crypto/ec/example_mul.c \ |
| 5789 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5790 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5791 | |
| 5792 | LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EXAMPLE_MUL_LIB_SRC)))) |
| 5793 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5794 | $(LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5795 | $(LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5796 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5797 | $(LIBDIR)/$(CONFIG)/libboringssl_example_mul_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5798 | $(E) "[AR] Creating $@" |
| 5799 | $(Q) mkdir -p `dirname $@` |
| 5800 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_example_mul_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5801 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_example_mul_lib.a $(LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5802 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5803 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_example_mul_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5804 | endif |
| 5805 | |
| 5806 | |
| 5807 | |
| 5808 | |
| 5809 | ifneq ($(NO_DEPS),true) |
| 5810 | -include $(LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS:.o=.dep) |
| 5811 | endif |
| 5812 | |
| 5813 | |
| 5814 | LIBBORINGSSL_ECDSA_TEST_LIB_SRC = \ |
| 5815 | third_party/boringssl/crypto/ecdsa/ecdsa_test.cc \ |
| 5816 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5817 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5818 | |
| 5819 | LIBBORINGSSL_ECDSA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ECDSA_TEST_LIB_SRC)))) |
| 5820 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5821 | $(LIBBORINGSSL_ECDSA_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5822 | $(LIBBORINGSSL_ECDSA_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5823 | |
| 5824 | ifeq ($(NO_PROTOBUF),true) |
| 5825 | |
| 5826 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5827 | |
| 5828 | $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a: protobuf_dep_error |
| 5829 | |
| 5830 | |
| 5831 | else |
| 5832 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5833 | $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_ECDSA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5834 | $(E) "[AR] Creating $@" |
| 5835 | $(Q) mkdir -p `dirname $@` |
| 5836 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5837 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a $(LIBBORINGSSL_ECDSA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5838 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5839 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5840 | endif |
| 5841 | |
| 5842 | |
| 5843 | |
| 5844 | |
| 5845 | endif |
| 5846 | |
| 5847 | ifneq ($(NO_DEPS),true) |
| 5848 | -include $(LIBBORINGSSL_ECDSA_TEST_LIB_OBJS:.o=.dep) |
| 5849 | endif |
| 5850 | |
| 5851 | |
| 5852 | LIBBORINGSSL_ERR_TEST_LIB_SRC = \ |
| 5853 | third_party/boringssl/crypto/err/err_test.cc \ |
| 5854 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5855 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5856 | |
| 5857 | LIBBORINGSSL_ERR_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ERR_TEST_LIB_SRC)))) |
| 5858 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5859 | $(LIBBORINGSSL_ERR_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5860 | $(LIBBORINGSSL_ERR_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5861 | |
| 5862 | ifeq ($(NO_PROTOBUF),true) |
| 5863 | |
| 5864 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5865 | |
| 5866 | $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a: protobuf_dep_error |
| 5867 | |
| 5868 | |
| 5869 | else |
| 5870 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5871 | $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_ERR_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5872 | $(E) "[AR] Creating $@" |
| 5873 | $(Q) mkdir -p `dirname $@` |
| 5874 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5875 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a $(LIBBORINGSSL_ERR_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5876 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5877 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5878 | endif |
| 5879 | |
| 5880 | |
| 5881 | |
| 5882 | |
| 5883 | endif |
| 5884 | |
| 5885 | ifneq ($(NO_DEPS),true) |
| 5886 | -include $(LIBBORINGSSL_ERR_TEST_LIB_OBJS:.o=.dep) |
| 5887 | endif |
| 5888 | |
| 5889 | |
| 5890 | LIBBORINGSSL_EVP_EXTRA_TEST_LIB_SRC = \ |
| 5891 | third_party/boringssl/crypto/evp/evp_extra_test.cc \ |
| 5892 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5893 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5894 | |
| 5895 | LIBBORINGSSL_EVP_EXTRA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EVP_EXTRA_TEST_LIB_SRC)))) |
| 5896 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5897 | $(LIBBORINGSSL_EVP_EXTRA_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5898 | $(LIBBORINGSSL_EVP_EXTRA_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5899 | |
| 5900 | ifeq ($(NO_PROTOBUF),true) |
| 5901 | |
| 5902 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5903 | |
| 5904 | $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a: protobuf_dep_error |
| 5905 | |
| 5906 | |
| 5907 | else |
| 5908 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5909 | $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_EVP_EXTRA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5910 | $(E) "[AR] Creating $@" |
| 5911 | $(Q) mkdir -p `dirname $@` |
| 5912 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5913 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a $(LIBBORINGSSL_EVP_EXTRA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5914 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5915 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5916 | endif |
| 5917 | |
| 5918 | |
| 5919 | |
| 5920 | |
| 5921 | endif |
| 5922 | |
| 5923 | ifneq ($(NO_DEPS),true) |
| 5924 | -include $(LIBBORINGSSL_EVP_EXTRA_TEST_LIB_OBJS:.o=.dep) |
| 5925 | endif |
| 5926 | |
| 5927 | |
| 5928 | LIBBORINGSSL_EVP_TEST_LIB_SRC = \ |
| 5929 | third_party/boringssl/crypto/evp/evp_test.cc \ |
| 5930 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5931 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5932 | |
| 5933 | LIBBORINGSSL_EVP_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EVP_TEST_LIB_SRC)))) |
| 5934 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5935 | $(LIBBORINGSSL_EVP_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5936 | $(LIBBORINGSSL_EVP_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5937 | |
| 5938 | ifeq ($(NO_PROTOBUF),true) |
| 5939 | |
| 5940 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5941 | |
| 5942 | $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a: protobuf_dep_error |
| 5943 | |
| 5944 | |
| 5945 | else |
| 5946 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5947 | $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_EVP_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5948 | $(E) "[AR] Creating $@" |
| 5949 | $(Q) mkdir -p `dirname $@` |
| 5950 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5951 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a $(LIBBORINGSSL_EVP_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5952 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5953 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5954 | endif |
| 5955 | |
| 5956 | |
| 5957 | |
| 5958 | |
| 5959 | endif |
| 5960 | |
| 5961 | ifneq ($(NO_DEPS),true) |
| 5962 | -include $(LIBBORINGSSL_EVP_TEST_LIB_OBJS:.o=.dep) |
| 5963 | endif |
| 5964 | |
| 5965 | |
| 5966 | LIBBORINGSSL_PBKDF_TEST_LIB_SRC = \ |
| 5967 | third_party/boringssl/crypto/evp/pbkdf_test.cc \ |
| 5968 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5969 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5970 | |
| 5971 | LIBBORINGSSL_PBKDF_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PBKDF_TEST_LIB_SRC)))) |
| 5972 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5973 | $(LIBBORINGSSL_PBKDF_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 5974 | $(LIBBORINGSSL_PBKDF_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5975 | |
| 5976 | ifeq ($(NO_PROTOBUF),true) |
| 5977 | |
| 5978 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5979 | |
| 5980 | $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a: protobuf_dep_error |
| 5981 | |
| 5982 | |
| 5983 | else |
| 5984 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5985 | $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_PBKDF_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5986 | $(E) "[AR] Creating $@" |
| 5987 | $(Q) mkdir -p `dirname $@` |
| 5988 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 5989 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a $(LIBBORINGSSL_PBKDF_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5990 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5991 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5992 | endif |
| 5993 | |
| 5994 | |
| 5995 | |
| 5996 | |
| 5997 | endif |
| 5998 | |
| 5999 | ifneq ($(NO_DEPS),true) |
| 6000 | -include $(LIBBORINGSSL_PBKDF_TEST_LIB_OBJS:.o=.dep) |
| 6001 | endif |
| 6002 | |
| 6003 | |
| 6004 | LIBBORINGSSL_HKDF_TEST_LIB_SRC = \ |
| 6005 | third_party/boringssl/crypto/hkdf/hkdf_test.c \ |
| 6006 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6007 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6008 | |
| 6009 | LIBBORINGSSL_HKDF_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_HKDF_TEST_LIB_SRC)))) |
| 6010 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6011 | $(LIBBORINGSSL_HKDF_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6012 | $(LIBBORINGSSL_HKDF_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6013 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6014 | $(LIBDIR)/$(CONFIG)/libboringssl_hkdf_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_HKDF_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6015 | $(E) "[AR] Creating $@" |
| 6016 | $(Q) mkdir -p `dirname $@` |
| 6017 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_hkdf_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6018 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_hkdf_test_lib.a $(LIBBORINGSSL_HKDF_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6019 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6020 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_hkdf_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6021 | endif |
| 6022 | |
| 6023 | |
| 6024 | |
| 6025 | |
| 6026 | ifneq ($(NO_DEPS),true) |
| 6027 | -include $(LIBBORINGSSL_HKDF_TEST_LIB_OBJS:.o=.dep) |
| 6028 | endif |
| 6029 | |
| 6030 | |
| 6031 | LIBBORINGSSL_HMAC_TEST_LIB_SRC = \ |
| 6032 | third_party/boringssl/crypto/hmac/hmac_test.cc \ |
| 6033 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6034 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6035 | |
| 6036 | LIBBORINGSSL_HMAC_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_HMAC_TEST_LIB_SRC)))) |
| 6037 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6038 | $(LIBBORINGSSL_HMAC_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6039 | $(LIBBORINGSSL_HMAC_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6040 | |
| 6041 | ifeq ($(NO_PROTOBUF),true) |
| 6042 | |
| 6043 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 6044 | |
| 6045 | $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a: protobuf_dep_error |
| 6046 | |
| 6047 | |
| 6048 | else |
| 6049 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6050 | $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_HMAC_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6051 | $(E) "[AR] Creating $@" |
| 6052 | $(Q) mkdir -p `dirname $@` |
| 6053 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6054 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a $(LIBBORINGSSL_HMAC_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6055 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6056 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6057 | endif |
| 6058 | |
| 6059 | |
| 6060 | |
| 6061 | |
| 6062 | endif |
| 6063 | |
| 6064 | ifneq ($(NO_DEPS),true) |
| 6065 | -include $(LIBBORINGSSL_HMAC_TEST_LIB_OBJS:.o=.dep) |
| 6066 | endif |
| 6067 | |
| 6068 | |
| 6069 | LIBBORINGSSL_LHASH_TEST_LIB_SRC = \ |
| 6070 | third_party/boringssl/crypto/lhash/lhash_test.c \ |
| 6071 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6072 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6073 | |
| 6074 | LIBBORINGSSL_LHASH_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_LHASH_TEST_LIB_SRC)))) |
| 6075 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6076 | $(LIBBORINGSSL_LHASH_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6077 | $(LIBBORINGSSL_LHASH_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6078 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6079 | $(LIBDIR)/$(CONFIG)/libboringssl_lhash_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_LHASH_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6080 | $(E) "[AR] Creating $@" |
| 6081 | $(Q) mkdir -p `dirname $@` |
| 6082 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_lhash_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6083 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_lhash_test_lib.a $(LIBBORINGSSL_LHASH_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6084 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6085 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_lhash_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6086 | endif |
| 6087 | |
| 6088 | |
| 6089 | |
| 6090 | |
| 6091 | ifneq ($(NO_DEPS),true) |
| 6092 | -include $(LIBBORINGSSL_LHASH_TEST_LIB_OBJS:.o=.dep) |
| 6093 | endif |
| 6094 | |
| 6095 | |
| 6096 | LIBBORINGSSL_GCM_TEST_LIB_SRC = \ |
| 6097 | third_party/boringssl/crypto/modes/gcm_test.c \ |
| 6098 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6099 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6100 | |
| 6101 | LIBBORINGSSL_GCM_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_GCM_TEST_LIB_SRC)))) |
| 6102 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6103 | $(LIBBORINGSSL_GCM_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6104 | $(LIBBORINGSSL_GCM_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6105 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6106 | $(LIBDIR)/$(CONFIG)/libboringssl_gcm_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_GCM_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6107 | $(E) "[AR] Creating $@" |
| 6108 | $(Q) mkdir -p `dirname $@` |
| 6109 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_gcm_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6110 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_gcm_test_lib.a $(LIBBORINGSSL_GCM_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6111 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6112 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_gcm_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6113 | endif |
| 6114 | |
| 6115 | |
| 6116 | |
| 6117 | |
| 6118 | ifneq ($(NO_DEPS),true) |
| 6119 | -include $(LIBBORINGSSL_GCM_TEST_LIB_OBJS:.o=.dep) |
| 6120 | endif |
| 6121 | |
| 6122 | |
| 6123 | LIBBORINGSSL_PKCS12_TEST_LIB_SRC = \ |
| 6124 | third_party/boringssl/crypto/pkcs8/pkcs12_test.cc \ |
| 6125 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6126 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6127 | |
| 6128 | LIBBORINGSSL_PKCS12_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PKCS12_TEST_LIB_SRC)))) |
| 6129 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6130 | $(LIBBORINGSSL_PKCS12_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6131 | $(LIBBORINGSSL_PKCS12_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6132 | |
| 6133 | ifeq ($(NO_PROTOBUF),true) |
| 6134 | |
| 6135 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 6136 | |
| 6137 | $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a: protobuf_dep_error |
| 6138 | |
| 6139 | |
| 6140 | else |
| 6141 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6142 | $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_PKCS12_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6143 | $(E) "[AR] Creating $@" |
| 6144 | $(Q) mkdir -p `dirname $@` |
| 6145 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6146 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a $(LIBBORINGSSL_PKCS12_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6147 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6148 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6149 | endif |
| 6150 | |
| 6151 | |
| 6152 | |
| 6153 | |
| 6154 | endif |
| 6155 | |
| 6156 | ifneq ($(NO_DEPS),true) |
| 6157 | -include $(LIBBORINGSSL_PKCS12_TEST_LIB_OBJS:.o=.dep) |
| 6158 | endif |
| 6159 | |
| 6160 | |
| 6161 | LIBBORINGSSL_PKCS8_TEST_LIB_SRC = \ |
| 6162 | third_party/boringssl/crypto/pkcs8/pkcs8_test.cc \ |
| 6163 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6164 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6165 | |
| 6166 | LIBBORINGSSL_PKCS8_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PKCS8_TEST_LIB_SRC)))) |
| 6167 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6168 | $(LIBBORINGSSL_PKCS8_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6169 | $(LIBBORINGSSL_PKCS8_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6170 | |
| 6171 | ifeq ($(NO_PROTOBUF),true) |
| 6172 | |
| 6173 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 6174 | |
| 6175 | $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a: protobuf_dep_error |
| 6176 | |
| 6177 | |
| 6178 | else |
| 6179 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6180 | $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_PKCS8_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6181 | $(E) "[AR] Creating $@" |
| 6182 | $(Q) mkdir -p `dirname $@` |
| 6183 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6184 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a $(LIBBORINGSSL_PKCS8_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6185 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6186 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6187 | endif |
| 6188 | |
| 6189 | |
| 6190 | |
| 6191 | |
| 6192 | endif |
| 6193 | |
| 6194 | ifneq ($(NO_DEPS),true) |
| 6195 | -include $(LIBBORINGSSL_PKCS8_TEST_LIB_OBJS:.o=.dep) |
| 6196 | endif |
| 6197 | |
| 6198 | |
| 6199 | LIBBORINGSSL_POLY1305_TEST_LIB_SRC = \ |
| 6200 | third_party/boringssl/crypto/poly1305/poly1305_test.cc \ |
| 6201 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6202 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6203 | |
| 6204 | LIBBORINGSSL_POLY1305_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_POLY1305_TEST_LIB_SRC)))) |
| 6205 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6206 | $(LIBBORINGSSL_POLY1305_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6207 | $(LIBBORINGSSL_POLY1305_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6208 | |
| 6209 | ifeq ($(NO_PROTOBUF),true) |
| 6210 | |
| 6211 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 6212 | |
| 6213 | $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a: protobuf_dep_error |
| 6214 | |
| 6215 | |
| 6216 | else |
| 6217 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6218 | $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_POLY1305_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6219 | $(E) "[AR] Creating $@" |
| 6220 | $(Q) mkdir -p `dirname $@` |
| 6221 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6222 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a $(LIBBORINGSSL_POLY1305_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6223 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6224 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6225 | endif |
| 6226 | |
| 6227 | |
| 6228 | |
| 6229 | |
| 6230 | endif |
| 6231 | |
| 6232 | ifneq ($(NO_DEPS),true) |
| 6233 | -include $(LIBBORINGSSL_POLY1305_TEST_LIB_OBJS:.o=.dep) |
| 6234 | endif |
| 6235 | |
| 6236 | |
| 6237 | LIBBORINGSSL_REFCOUNT_TEST_LIB_SRC = \ |
| 6238 | third_party/boringssl/crypto/refcount_test.c \ |
| 6239 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6240 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6241 | |
| 6242 | LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_REFCOUNT_TEST_LIB_SRC)))) |
| 6243 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6244 | $(LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6245 | $(LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6246 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6247 | $(LIBDIR)/$(CONFIG)/libboringssl_refcount_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6248 | $(E) "[AR] Creating $@" |
| 6249 | $(Q) mkdir -p `dirname $@` |
| 6250 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_refcount_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6251 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_refcount_test_lib.a $(LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6252 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6253 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_refcount_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6254 | endif |
| 6255 | |
| 6256 | |
| 6257 | |
| 6258 | |
| 6259 | ifneq ($(NO_DEPS),true) |
| 6260 | -include $(LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS:.o=.dep) |
| 6261 | endif |
| 6262 | |
| 6263 | |
| 6264 | LIBBORINGSSL_RSA_TEST_LIB_SRC = \ |
| 6265 | third_party/boringssl/crypto/rsa/rsa_test.cc \ |
| 6266 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6267 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6268 | |
| 6269 | LIBBORINGSSL_RSA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_RSA_TEST_LIB_SRC)))) |
| 6270 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6271 | $(LIBBORINGSSL_RSA_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6272 | $(LIBBORINGSSL_RSA_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6273 | |
| 6274 | ifeq ($(NO_PROTOBUF),true) |
| 6275 | |
| 6276 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 6277 | |
| 6278 | $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a: protobuf_dep_error |
| 6279 | |
| 6280 | |
| 6281 | else |
| 6282 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6283 | $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_RSA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6284 | $(E) "[AR] Creating $@" |
| 6285 | $(Q) mkdir -p `dirname $@` |
| 6286 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6287 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a $(LIBBORINGSSL_RSA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6288 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6289 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6290 | endif |
| 6291 | |
| 6292 | |
| 6293 | |
| 6294 | |
| 6295 | endif |
| 6296 | |
| 6297 | ifneq ($(NO_DEPS),true) |
| 6298 | -include $(LIBBORINGSSL_RSA_TEST_LIB_OBJS:.o=.dep) |
| 6299 | endif |
| 6300 | |
| 6301 | |
| 6302 | LIBBORINGSSL_THREAD_TEST_LIB_SRC = \ |
| 6303 | third_party/boringssl/crypto/thread_test.c \ |
| 6304 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6305 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6306 | |
| 6307 | LIBBORINGSSL_THREAD_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_THREAD_TEST_LIB_SRC)))) |
| 6308 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6309 | $(LIBBORINGSSL_THREAD_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6310 | $(LIBBORINGSSL_THREAD_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6311 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6312 | $(LIBDIR)/$(CONFIG)/libboringssl_thread_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_THREAD_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6313 | $(E) "[AR] Creating $@" |
| 6314 | $(Q) mkdir -p `dirname $@` |
| 6315 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_thread_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6316 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_thread_test_lib.a $(LIBBORINGSSL_THREAD_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6317 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6318 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_thread_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6319 | endif |
| 6320 | |
| 6321 | |
| 6322 | |
| 6323 | |
| 6324 | ifneq ($(NO_DEPS),true) |
| 6325 | -include $(LIBBORINGSSL_THREAD_TEST_LIB_OBJS:.o=.dep) |
| 6326 | endif |
| 6327 | |
| 6328 | |
| 6329 | LIBBORINGSSL_PKCS7_TEST_LIB_SRC = \ |
| 6330 | third_party/boringssl/crypto/x509/pkcs7_test.c \ |
| 6331 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6332 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6333 | |
| 6334 | LIBBORINGSSL_PKCS7_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PKCS7_TEST_LIB_SRC)))) |
| 6335 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6336 | $(LIBBORINGSSL_PKCS7_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6337 | $(LIBBORINGSSL_PKCS7_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6338 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6339 | $(LIBDIR)/$(CONFIG)/libboringssl_pkcs7_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_PKCS7_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6340 | $(E) "[AR] Creating $@" |
| 6341 | $(Q) mkdir -p `dirname $@` |
| 6342 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pkcs7_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6343 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_pkcs7_test_lib.a $(LIBBORINGSSL_PKCS7_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6344 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6345 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_pkcs7_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6346 | endif |
| 6347 | |
| 6348 | |
| 6349 | |
| 6350 | |
| 6351 | ifneq ($(NO_DEPS),true) |
| 6352 | -include $(LIBBORINGSSL_PKCS7_TEST_LIB_OBJS:.o=.dep) |
| 6353 | endif |
| 6354 | |
| 6355 | |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 6356 | LIBBORINGSSL_X509_TEST_LIB_SRC = \ |
| 6357 | third_party/boringssl/crypto/x509/x509_test.cc \ |
| 6358 | |
| 6359 | PUBLIC_HEADERS_CXX += \ |
| 6360 | |
| 6361 | LIBBORINGSSL_X509_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_X509_TEST_LIB_SRC)))) |
| 6362 | |
| 6363 | $(LIBBORINGSSL_X509_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6364 | $(LIBBORINGSSL_X509_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 6365 | |
| 6366 | ifeq ($(NO_PROTOBUF),true) |
| 6367 | |
| 6368 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 6369 | |
| 6370 | $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a: protobuf_dep_error |
| 6371 | |
| 6372 | |
| 6373 | else |
| 6374 | |
| 6375 | $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_X509_TEST_LIB_OBJS) |
| 6376 | $(E) "[AR] Creating $@" |
| 6377 | $(Q) mkdir -p `dirname $@` |
| 6378 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6379 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a $(LIBBORINGSSL_X509_TEST_LIB_OBJS) |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 6380 | ifeq ($(SYSTEM),Darwin) |
| 6381 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a |
| 6382 | endif |
| 6383 | |
| 6384 | |
| 6385 | |
| 6386 | |
| 6387 | endif |
| 6388 | |
| 6389 | ifneq ($(NO_DEPS),true) |
| 6390 | -include $(LIBBORINGSSL_X509_TEST_LIB_OBJS:.o=.dep) |
| 6391 | endif |
| 6392 | |
| 6393 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6394 | LIBBORINGSSL_TAB_TEST_LIB_SRC = \ |
| 6395 | third_party/boringssl/crypto/x509v3/tab_test.c \ |
| 6396 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6397 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6398 | |
| 6399 | LIBBORINGSSL_TAB_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_TAB_TEST_LIB_SRC)))) |
| 6400 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6401 | $(LIBBORINGSSL_TAB_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6402 | $(LIBBORINGSSL_TAB_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6403 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6404 | $(LIBDIR)/$(CONFIG)/libboringssl_tab_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_TAB_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6405 | $(E) "[AR] Creating $@" |
| 6406 | $(Q) mkdir -p `dirname $@` |
| 6407 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_tab_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6408 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_tab_test_lib.a $(LIBBORINGSSL_TAB_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6409 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6410 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_tab_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6411 | endif |
| 6412 | |
| 6413 | |
| 6414 | |
| 6415 | |
| 6416 | ifneq ($(NO_DEPS),true) |
| 6417 | -include $(LIBBORINGSSL_TAB_TEST_LIB_OBJS:.o=.dep) |
| 6418 | endif |
| 6419 | |
| 6420 | |
| 6421 | LIBBORINGSSL_V3NAME_TEST_LIB_SRC = \ |
| 6422 | third_party/boringssl/crypto/x509v3/v3name_test.c \ |
| 6423 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6424 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6425 | |
| 6426 | LIBBORINGSSL_V3NAME_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_V3NAME_TEST_LIB_SRC)))) |
| 6427 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6428 | $(LIBBORINGSSL_V3NAME_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6429 | $(LIBBORINGSSL_V3NAME_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6430 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6431 | $(LIBDIR)/$(CONFIG)/libboringssl_v3name_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_V3NAME_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6432 | $(E) "[AR] Creating $@" |
| 6433 | $(Q) mkdir -p `dirname $@` |
| 6434 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_v3name_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6435 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_v3name_test_lib.a $(LIBBORINGSSL_V3NAME_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6436 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6437 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_v3name_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6438 | endif |
| 6439 | |
| 6440 | |
| 6441 | |
| 6442 | |
| 6443 | ifneq ($(NO_DEPS),true) |
| 6444 | -include $(LIBBORINGSSL_V3NAME_TEST_LIB_OBJS:.o=.dep) |
| 6445 | endif |
| 6446 | |
| 6447 | |
| 6448 | LIBBORINGSSL_PQUEUE_TEST_LIB_SRC = \ |
| 6449 | third_party/boringssl/ssl/pqueue/pqueue_test.c \ |
| 6450 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6451 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6452 | |
| 6453 | LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PQUEUE_TEST_LIB_SRC)))) |
| 6454 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6455 | $(LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6456 | $(LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6457 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6458 | $(LIBDIR)/$(CONFIG)/libboringssl_pqueue_test_lib.a: $(ZLIB_DEP) $(LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6459 | $(E) "[AR] Creating $@" |
| 6460 | $(Q) mkdir -p `dirname $@` |
| 6461 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pqueue_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6462 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_pqueue_test_lib.a $(LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6463 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6464 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_pqueue_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6465 | endif |
| 6466 | |
| 6467 | |
| 6468 | |
| 6469 | |
| 6470 | ifneq ($(NO_DEPS),true) |
| 6471 | -include $(LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS:.o=.dep) |
| 6472 | endif |
| 6473 | |
| 6474 | |
| 6475 | LIBBORINGSSL_SSL_TEST_LIB_SRC = \ |
| 6476 | third_party/boringssl/ssl/ssl_test.cc \ |
| 6477 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6478 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6479 | |
| 6480 | LIBBORINGSSL_SSL_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_SSL_TEST_LIB_SRC)))) |
| 6481 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6482 | $(LIBBORINGSSL_SSL_TEST_LIB_OBJS): CPPFLAGS += -Ithird_party/boringssl/include -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 6483 | $(LIBBORINGSSL_SSL_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6484 | |
| 6485 | ifeq ($(NO_PROTOBUF),true) |
| 6486 | |
| 6487 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 6488 | |
| 6489 | $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a: protobuf_dep_error |
| 6490 | |
| 6491 | |
| 6492 | else |
| 6493 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6494 | $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_SSL_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6495 | $(E) "[AR] Creating $@" |
| 6496 | $(Q) mkdir -p `dirname $@` |
| 6497 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6498 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a $(LIBBORINGSSL_SSL_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6499 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6500 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6501 | endif |
| 6502 | |
| 6503 | |
| 6504 | |
| 6505 | |
| 6506 | endif |
| 6507 | |
| 6508 | ifneq ($(NO_DEPS),true) |
| 6509 | -include $(LIBBORINGSSL_SSL_TEST_LIB_OBJS:.o=.dep) |
| 6510 | endif |
| 6511 | |
| 6512 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6513 | LIBZ_SRC = \ |
| 6514 | third_party/zlib/adler32.c \ |
| 6515 | third_party/zlib/compress.c \ |
| 6516 | third_party/zlib/crc32.c \ |
| 6517 | third_party/zlib/deflate.c \ |
| 6518 | third_party/zlib/gzclose.c \ |
| 6519 | third_party/zlib/gzlib.c \ |
| 6520 | third_party/zlib/gzread.c \ |
| 6521 | third_party/zlib/gzwrite.c \ |
| 6522 | third_party/zlib/infback.c \ |
| 6523 | third_party/zlib/inffast.c \ |
| 6524 | third_party/zlib/inflate.c \ |
| 6525 | third_party/zlib/inftrees.c \ |
| 6526 | third_party/zlib/trees.c \ |
| 6527 | third_party/zlib/uncompr.c \ |
| 6528 | third_party/zlib/zutil.c \ |
| 6529 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6530 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6531 | |
| 6532 | LIBZ_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBZ_SRC)))) |
| 6533 | |
Nicolas "Pixel" Noble | 545c6c1 | 2016-01-28 06:01:46 +0100 | [diff] [blame] | 6534 | $(LIBZ_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-implicit-function-declaration $(W_NO_SHIFT_NEGATIVE_VALUE) -fvisibility=hidden |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6535 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6536 | $(LIBDIR)/$(CONFIG)/libz.a: $(LIBZ_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6537 | $(E) "[AR] Creating $@" |
| 6538 | $(Q) mkdir -p `dirname $@` |
| 6539 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libz.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6540 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libz.a $(LIBZ_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6541 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6542 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libz.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6543 | endif |
| 6544 | |
| 6545 | |
| 6546 | |
| 6547 | |
| 6548 | ifneq ($(NO_DEPS),true) |
| 6549 | -include $(LIBZ_OBJS:.o=.dep) |
| 6550 | endif |
| 6551 | |
| 6552 | |
| 6553 | LIBBAD_CLIENT_TEST_SRC = \ |
| 6554 | test/core/bad_client/bad_client.c \ |
| 6555 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6556 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6557 | |
| 6558 | LIBBAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBAD_CLIENT_TEST_SRC)))) |
| 6559 | |
| 6560 | |
| 6561 | ifeq ($(NO_SECURE),true) |
| 6562 | |
| 6563 | # You can't build secure libraries if you don't have OpenSSL. |
| 6564 | |
| 6565 | $(LIBDIR)/$(CONFIG)/libbad_client_test.a: openssl_dep_error |
| 6566 | |
| 6567 | |
| 6568 | else |
| 6569 | |
| 6570 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6571 | $(LIBDIR)/$(CONFIG)/libbad_client_test.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBBAD_CLIENT_TEST_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6572 | $(E) "[AR] Creating $@" |
| 6573 | $(Q) mkdir -p `dirname $@` |
| 6574 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libbad_client_test.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6575 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBBAD_CLIENT_TEST_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6576 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6577 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libbad_client_test.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6578 | endif |
| 6579 | |
| 6580 | |
| 6581 | |
| 6582 | |
| 6583 | endif |
| 6584 | |
| 6585 | ifneq ($(NO_SECURE),true) |
| 6586 | ifneq ($(NO_DEPS),true) |
| 6587 | -include $(LIBBAD_CLIENT_TEST_OBJS:.o=.dep) |
| 6588 | endif |
| 6589 | endif |
| 6590 | |
| 6591 | |
| 6592 | LIBBAD_SSL_TEST_SERVER_SRC = \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6593 | test/core/bad_ssl/server_common.c \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6594 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6595 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6596 | |
| 6597 | LIBBAD_SSL_TEST_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBAD_SSL_TEST_SERVER_SRC)))) |
| 6598 | |
| 6599 | |
| 6600 | ifeq ($(NO_SECURE),true) |
| 6601 | |
| 6602 | # You can't build secure libraries if you don't have OpenSSL. |
| 6603 | |
| 6604 | $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a: openssl_dep_error |
| 6605 | |
| 6606 | |
| 6607 | else |
| 6608 | |
| 6609 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6610 | $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBBAD_SSL_TEST_SERVER_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6611 | $(E) "[AR] Creating $@" |
| 6612 | $(Q) mkdir -p `dirname $@` |
| 6613 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6614 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a $(LIBBAD_SSL_TEST_SERVER_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6615 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6616 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6617 | endif |
| 6618 | |
| 6619 | |
| 6620 | |
| 6621 | |
| 6622 | endif |
| 6623 | |
| 6624 | ifneq ($(NO_SECURE),true) |
| 6625 | ifneq ($(NO_DEPS),true) |
| 6626 | -include $(LIBBAD_SSL_TEST_SERVER_OBJS:.o=.dep) |
| 6627 | endif |
| 6628 | endif |
| 6629 | |
| 6630 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6631 | LIBEND2END_TESTS_SRC = \ |
| 6632 | test/core/end2end/end2end_tests.c \ |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 6633 | test/core/end2end/tests/bad_hostname.c \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6634 | test/core/end2end/tests/binary_metadata.c \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6635 | test/core/end2end/tests/call_creds.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6636 | test/core/end2end/tests/cancel_after_accept.c \ |
| 6637 | test/core/end2end/tests/cancel_after_client_done.c \ |
| 6638 | test/core/end2end/tests/cancel_after_invoke.c \ |
| 6639 | test/core/end2end/tests/cancel_before_invoke.c \ |
| 6640 | test/core/end2end/tests/cancel_in_a_vacuum.c \ |
| 6641 | test/core/end2end/tests/cancel_with_status.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6642 | test/core/end2end/tests/compressed_payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6643 | test/core/end2end/tests/connectivity.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6644 | test/core/end2end/tests/default_host.c \ |
| 6645 | test/core/end2end/tests/disappearing_server.c \ |
| 6646 | test/core/end2end/tests/empty_batch.c \ |
Mark D. Roth | 5d11e43 | 2016-06-23 13:14:05 -0700 | [diff] [blame] | 6647 | test/core/end2end/tests/filter_call_init_fails.c \ |
Craig Tiller | a446ee2 | 2016-04-04 13:09:30 -0700 | [diff] [blame] | 6648 | test/core/end2end/tests/filter_causes_close.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6649 | test/core/end2end/tests/graceful_server_shutdown.c \ |
| 6650 | test/core/end2end/tests/high_initial_seqno.c \ |
| 6651 | test/core/end2end/tests/hpack_size.c \ |
Craig Tiller | 7885ea5 | 2016-03-10 06:53:29 -0800 | [diff] [blame] | 6652 | test/core/end2end/tests/idempotent_request.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6653 | test/core/end2end/tests/invoke_large_request.c \ |
| 6654 | test/core/end2end/tests/large_metadata.c \ |
David Garcia Quintas | 01c4d99 | 2016-07-07 20:11:27 -0700 | [diff] [blame] | 6655 | test/core/end2end/tests/load_reporting_hook.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6656 | test/core/end2end/tests/max_concurrent_streams.c \ |
| 6657 | test/core/end2end/tests/max_message_length.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6658 | test/core/end2end/tests/negative_deadline.c \ |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 6659 | test/core/end2end/tests/network_status_change.c \ |
Yuchen Zeng | 916079d | 2016-08-30 15:52:09 -0700 | [diff] [blame] | 6660 | test/core/end2end/tests/no_logging.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6661 | test/core/end2end/tests/no_op.c \ |
| 6662 | test/core/end2end/tests/payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6663 | test/core/end2end/tests/ping.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6664 | test/core/end2end/tests/ping_pong_streaming.c \ |
| 6665 | test/core/end2end/tests/registered_call.c \ |
| 6666 | test/core/end2end/tests/request_with_flags.c \ |
| 6667 | test/core/end2end/tests/request_with_payload.c \ |
| 6668 | test/core/end2end/tests/server_finishes_request.c \ |
| 6669 | test/core/end2end/tests/shutdown_finishes_calls.c \ |
| 6670 | test/core/end2end/tests/shutdown_finishes_tags.c \ |
Makarand Dharmapurikar | 015180a | 2016-08-29 12:32:53 -0700 | [diff] [blame] | 6671 | test/core/end2end/tests/simple_cacheable_request.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6672 | test/core/end2end/tests/simple_delayed_request.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6673 | test/core/end2end/tests/simple_metadata.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6674 | test/core/end2end/tests/simple_request.c \ |
Craig Tiller | fa1f74e | 2016-06-20 11:11:44 -0700 | [diff] [blame] | 6675 | test/core/end2end/tests/streaming_error_response.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6676 | test/core/end2end/tests/trailing_metadata.c \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6677 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6678 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6679 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6680 | LIBEND2END_TESTS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TESTS_SRC)))) |
| 6681 | |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6682 | |
| 6683 | ifeq ($(NO_SECURE),true) |
| 6684 | |
| 6685 | # You can't build secure libraries if you don't have OpenSSL. |
| 6686 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6687 | $(LIBDIR)/$(CONFIG)/libend2end_tests.a: openssl_dep_error |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6688 | |
| 6689 | |
| 6690 | else |
| 6691 | |
| 6692 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6693 | $(LIBDIR)/$(CONFIG)/libend2end_tests.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_TESTS_OBJS) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6694 | $(E) "[AR] Creating $@" |
| 6695 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6696 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libend2end_tests.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6697 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBEND2END_TESTS_OBJS) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6698 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6699 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libend2end_tests.a |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6700 | endif |
| 6701 | |
| 6702 | |
| 6703 | |
| 6704 | |
| 6705 | endif |
| 6706 | |
| 6707 | ifneq ($(NO_SECURE),true) |
| 6708 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6709 | -include $(LIBEND2END_TESTS_OBJS:.o=.dep) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6710 | endif |
| 6711 | endif |
| 6712 | |
| 6713 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6714 | LIBEND2END_NOSEC_TESTS_SRC = \ |
| 6715 | test/core/end2end/end2end_nosec_tests.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6716 | test/core/end2end/tests/bad_hostname.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6717 | test/core/end2end/tests/binary_metadata.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6718 | test/core/end2end/tests/cancel_after_accept.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6719 | test/core/end2end/tests/cancel_after_client_done.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6720 | test/core/end2end/tests/cancel_after_invoke.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6721 | test/core/end2end/tests/cancel_before_invoke.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6722 | test/core/end2end/tests/cancel_in_a_vacuum.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6723 | test/core/end2end/tests/cancel_with_status.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6724 | test/core/end2end/tests/compressed_payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6725 | test/core/end2end/tests/connectivity.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6726 | test/core/end2end/tests/default_host.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6727 | test/core/end2end/tests/disappearing_server.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6728 | test/core/end2end/tests/empty_batch.c \ |
Mark D. Roth | 5d11e43 | 2016-06-23 13:14:05 -0700 | [diff] [blame] | 6729 | test/core/end2end/tests/filter_call_init_fails.c \ |
Craig Tiller | a446ee2 | 2016-04-04 13:09:30 -0700 | [diff] [blame] | 6730 | test/core/end2end/tests/filter_causes_close.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6731 | test/core/end2end/tests/graceful_server_shutdown.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6732 | test/core/end2end/tests/high_initial_seqno.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6733 | test/core/end2end/tests/hpack_size.c \ |
Craig Tiller | 7885ea5 | 2016-03-10 06:53:29 -0800 | [diff] [blame] | 6734 | test/core/end2end/tests/idempotent_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6735 | test/core/end2end/tests/invoke_large_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6736 | test/core/end2end/tests/large_metadata.c \ |
David Garcia Quintas | 01c4d99 | 2016-07-07 20:11:27 -0700 | [diff] [blame] | 6737 | test/core/end2end/tests/load_reporting_hook.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6738 | test/core/end2end/tests/max_concurrent_streams.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6739 | test/core/end2end/tests/max_message_length.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6740 | test/core/end2end/tests/negative_deadline.c \ |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 6741 | test/core/end2end/tests/network_status_change.c \ |
Yuchen Zeng | 916079d | 2016-08-30 15:52:09 -0700 | [diff] [blame] | 6742 | test/core/end2end/tests/no_logging.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6743 | test/core/end2end/tests/no_op.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6744 | test/core/end2end/tests/payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6745 | test/core/end2end/tests/ping.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6746 | test/core/end2end/tests/ping_pong_streaming.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6747 | test/core/end2end/tests/registered_call.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6748 | test/core/end2end/tests/request_with_flags.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6749 | test/core/end2end/tests/request_with_payload.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6750 | test/core/end2end/tests/server_finishes_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6751 | test/core/end2end/tests/shutdown_finishes_calls.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6752 | test/core/end2end/tests/shutdown_finishes_tags.c \ |
Makarand Dharmapurikar | 015180a | 2016-08-29 12:32:53 -0700 | [diff] [blame] | 6753 | test/core/end2end/tests/simple_cacheable_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6754 | test/core/end2end/tests/simple_delayed_request.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6755 | test/core/end2end/tests/simple_metadata.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6756 | test/core/end2end/tests/simple_request.c \ |
Craig Tiller | fa1f74e | 2016-06-20 11:11:44 -0700 | [diff] [blame] | 6757 | test/core/end2end/tests/streaming_error_response.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6758 | test/core/end2end/tests/trailing_metadata.c \ |
| 6759 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6760 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6761 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6762 | LIBEND2END_NOSEC_TESTS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_NOSEC_TESTS_SRC)))) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6763 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6764 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6765 | $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a: $(ZLIB_DEP) $(LIBEND2END_NOSEC_TESTS_OBJS) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6766 | $(E) "[AR] Creating $@" |
| 6767 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6768 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a |
Vijay Pai | cc7eb8e | 2016-07-19 19:03:55 -0700 | [diff] [blame] | 6769 | $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBEND2END_NOSEC_TESTS_OBJS) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6770 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6771 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6772 | endif |
| 6773 | |
| 6774 | |
| 6775 | |
| 6776 | |
| 6777 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6778 | -include $(LIBEND2END_NOSEC_TESTS_OBJS:.o=.dep) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6779 | endif |
| 6780 | |
| 6781 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 6782 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 6783 | # All of the test targets, and protoc plugins |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 6784 | |
| 6785 | |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 6786 | ALARM_TEST_SRC = \ |
| 6787 | test/core/surface/alarm_test.c \ |
| 6788 | |
| 6789 | ALARM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_TEST_SRC)))) |
| 6790 | ifeq ($(NO_SECURE),true) |
| 6791 | |
| 6792 | # You can't build secure targets if you don't have OpenSSL. |
| 6793 | |
| 6794 | $(BINDIR)/$(CONFIG)/alarm_test: openssl_dep_error |
| 6795 | |
| 6796 | else |
| 6797 | |
| 6798 | |
| 6799 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 6800 | $(BINDIR)/$(CONFIG)/alarm_test: $(ALARM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 6801 | $(E) "[LD] Linking $@" |
| 6802 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 6803 | $(Q) $(LD) $(LDFLAGS) $(ALARM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/alarm_test |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 6804 | |
| 6805 | endif |
| 6806 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 6807 | $(OBJDIR)/$(CONFIG)/test/core/surface/alarm_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 6808 | |
| 6809 | deps_alarm_test: $(ALARM_TEST_OBJS:.o=.dep) |
| 6810 | |
| 6811 | ifneq ($(NO_SECURE),true) |
| 6812 | ifneq ($(NO_DEPS),true) |
| 6813 | -include $(ALARM_TEST_OBJS:.o=.dep) |
| 6814 | endif |
| 6815 | endif |
| 6816 | |
| 6817 | |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 6818 | ALGORITHM_TEST_SRC = \ |
| 6819 | test/core/compression/algorithm_test.c \ |
| 6820 | |
| 6821 | ALGORITHM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALGORITHM_TEST_SRC)))) |
| 6822 | ifeq ($(NO_SECURE),true) |
| 6823 | |
| 6824 | # You can't build secure targets if you don't have OpenSSL. |
| 6825 | |
| 6826 | $(BINDIR)/$(CONFIG)/algorithm_test: openssl_dep_error |
| 6827 | |
| 6828 | else |
| 6829 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6830 | |
| 6831 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6832 | $(BINDIR)/$(CONFIG)/algorithm_test: $(ALGORITHM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 6833 | $(E) "[LD] Linking $@" |
| 6834 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6835 | $(Q) $(LD) $(LDFLAGS) $(ALGORITHM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/algorithm_test |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 6836 | |
| 6837 | endif |
| 6838 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6839 | $(OBJDIR)/$(CONFIG)/test/core/compression/algorithm_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 6840 | |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 6841 | deps_algorithm_test: $(ALGORITHM_TEST_OBJS:.o=.dep) |
| 6842 | |
| 6843 | ifneq ($(NO_SECURE),true) |
| 6844 | ifneq ($(NO_DEPS),true) |
| 6845 | -include $(ALGORITHM_TEST_OBJS:.o=.dep) |
| 6846 | endif |
| 6847 | endif |
| 6848 | |
| 6849 | |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 6850 | ALLOC_TEST_SRC = \ |
| 6851 | test/core/support/alloc_test.c \ |
| 6852 | |
| 6853 | ALLOC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALLOC_TEST_SRC)))) |
| 6854 | ifeq ($(NO_SECURE),true) |
| 6855 | |
| 6856 | # You can't build secure targets if you don't have OpenSSL. |
| 6857 | |
| 6858 | $(BINDIR)/$(CONFIG)/alloc_test: openssl_dep_error |
| 6859 | |
| 6860 | else |
| 6861 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6862 | |
| 6863 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6864 | $(BINDIR)/$(CONFIG)/alloc_test: $(ALLOC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 6865 | $(E) "[LD] Linking $@" |
| 6866 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6867 | $(Q) $(LD) $(LDFLAGS) $(ALLOC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/alloc_test |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 6868 | |
| 6869 | endif |
| 6870 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6871 | $(OBJDIR)/$(CONFIG)/test/core/support/alloc_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 6872 | |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 6873 | deps_alloc_test: $(ALLOC_TEST_OBJS:.o=.dep) |
| 6874 | |
| 6875 | ifneq ($(NO_SECURE),true) |
| 6876 | ifneq ($(NO_DEPS),true) |
| 6877 | -include $(ALLOC_TEST_OBJS:.o=.dep) |
| 6878 | endif |
| 6879 | endif |
| 6880 | |
| 6881 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6882 | ALPN_TEST_SRC = \ |
| 6883 | test/core/transport/chttp2/alpn_test.c \ |
| 6884 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6885 | ALPN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALPN_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6886 | ifeq ($(NO_SECURE),true) |
| 6887 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6888 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6889 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6890 | $(BINDIR)/$(CONFIG)/alpn_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6891 | |
| 6892 | else |
| 6893 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6894 | |
| 6895 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6896 | $(BINDIR)/$(CONFIG)/alpn_test: $(ALPN_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6897 | $(E) "[LD] Linking $@" |
| 6898 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6899 | $(Q) $(LD) $(LDFLAGS) $(ALPN_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/alpn_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6900 | |
| 6901 | endif |
| 6902 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6903 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/alpn_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 6904 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6905 | deps_alpn_test: $(ALPN_TEST_OBJS:.o=.dep) |
| 6906 | |
| 6907 | ifneq ($(NO_SECURE),true) |
| 6908 | ifneq ($(NO_DEPS),true) |
| 6909 | -include $(ALPN_TEST_OBJS:.o=.dep) |
| 6910 | endif |
| 6911 | endif |
| 6912 | |
| 6913 | |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 6914 | API_FUZZER_SRC = \ |
| 6915 | test/core/end2end/fuzzers/api_fuzzer.c \ |
| 6916 | |
| 6917 | API_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(API_FUZZER_SRC)))) |
| 6918 | ifeq ($(NO_SECURE),true) |
| 6919 | |
| 6920 | # You can't build secure targets if you don't have OpenSSL. |
| 6921 | |
| 6922 | $(BINDIR)/$(CONFIG)/api_fuzzer: openssl_dep_error |
| 6923 | |
| 6924 | else |
| 6925 | |
| 6926 | |
| 6927 | |
| 6928 | $(BINDIR)/$(CONFIG)/api_fuzzer: $(API_FUZZER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 6929 | $(E) "[LD] Linking $@" |
| 6930 | $(Q) mkdir -p `dirname $@` |
| 6931 | $(Q) $(LDXX) $(LDFLAGS) $(API_FUZZER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/api_fuzzer |
| 6932 | |
| 6933 | endif |
| 6934 | |
| 6935 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fuzzers/api_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 6936 | |
| 6937 | deps_api_fuzzer: $(API_FUZZER_OBJS:.o=.dep) |
| 6938 | |
| 6939 | ifneq ($(NO_SECURE),true) |
| 6940 | ifneq ($(NO_DEPS),true) |
| 6941 | -include $(API_FUZZER_OBJS:.o=.dep) |
| 6942 | endif |
| 6943 | endif |
| 6944 | |
| 6945 | |
Yuchen Zeng | 955a364 | 2016-06-17 13:48:03 -0700 | [diff] [blame] | 6946 | BAD_SERVER_RESPONSE_TEST_SRC = \ |
| 6947 | test/core/end2end/bad_server_response_test.c \ |
| 6948 | |
| 6949 | BAD_SERVER_RESPONSE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SERVER_RESPONSE_TEST_SRC)))) |
| 6950 | ifeq ($(NO_SECURE),true) |
| 6951 | |
| 6952 | # You can't build secure targets if you don't have OpenSSL. |
| 6953 | |
| 6954 | $(BINDIR)/$(CONFIG)/bad_server_response_test: openssl_dep_error |
| 6955 | |
| 6956 | else |
| 6957 | |
| 6958 | |
| 6959 | |
| 6960 | $(BINDIR)/$(CONFIG)/bad_server_response_test: $(BAD_SERVER_RESPONSE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 6961 | $(E) "[LD] Linking $@" |
| 6962 | $(Q) mkdir -p `dirname $@` |
| 6963 | $(Q) $(LD) $(LDFLAGS) $(BAD_SERVER_RESPONSE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/bad_server_response_test |
| 6964 | |
| 6965 | endif |
| 6966 | |
| 6967 | $(OBJDIR)/$(CONFIG)/test/core/end2end/bad_server_response_test.o: $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 6968 | |
| 6969 | deps_bad_server_response_test: $(BAD_SERVER_RESPONSE_TEST_OBJS:.o=.dep) |
| 6970 | |
| 6971 | ifneq ($(NO_SECURE),true) |
| 6972 | ifneq ($(NO_DEPS),true) |
| 6973 | -include $(BAD_SERVER_RESPONSE_TEST_OBJS:.o=.dep) |
| 6974 | endif |
| 6975 | endif |
| 6976 | |
| 6977 | |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 6978 | BIN_DECODER_TEST_SRC = \ |
| 6979 | test/core/transport/chttp2/bin_decoder_test.c \ |
| 6980 | |
| 6981 | BIN_DECODER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BIN_DECODER_TEST_SRC)))) |
| 6982 | ifeq ($(NO_SECURE),true) |
| 6983 | |
| 6984 | # You can't build secure targets if you don't have OpenSSL. |
| 6985 | |
| 6986 | $(BINDIR)/$(CONFIG)/bin_decoder_test: openssl_dep_error |
| 6987 | |
| 6988 | else |
| 6989 | |
| 6990 | |
| 6991 | |
| 6992 | $(BINDIR)/$(CONFIG)/bin_decoder_test: $(BIN_DECODER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
| 6993 | $(E) "[LD] Linking $@" |
| 6994 | $(Q) mkdir -p `dirname $@` |
| 6995 | $(Q) $(LD) $(LDFLAGS) $(BIN_DECODER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/bin_decoder_test |
| 6996 | |
| 6997 | endif |
| 6998 | |
| 6999 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/bin_decoder_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
| 7000 | |
| 7001 | deps_bin_decoder_test: $(BIN_DECODER_TEST_OBJS:.o=.dep) |
| 7002 | |
| 7003 | ifneq ($(NO_SECURE),true) |
| 7004 | ifneq ($(NO_DEPS),true) |
| 7005 | -include $(BIN_DECODER_TEST_OBJS:.o=.dep) |
| 7006 | endif |
| 7007 | endif |
| 7008 | |
| 7009 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7010 | BIN_ENCODER_TEST_SRC = \ |
| 7011 | test/core/transport/chttp2/bin_encoder_test.c \ |
| 7012 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7013 | BIN_ENCODER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BIN_ENCODER_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7014 | ifeq ($(NO_SECURE),true) |
| 7015 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7016 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7017 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7018 | $(BINDIR)/$(CONFIG)/bin_encoder_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7019 | |
| 7020 | else |
| 7021 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7022 | |
| 7023 | |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 7024 | $(BINDIR)/$(CONFIG)/bin_encoder_test: $(BIN_ENCODER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7025 | $(E) "[LD] Linking $@" |
| 7026 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 7027 | $(Q) $(LD) $(LDFLAGS) $(BIN_ENCODER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/bin_encoder_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7028 | |
| 7029 | endif |
| 7030 | |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 7031 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/bin_encoder_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7032 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7033 | deps_bin_encoder_test: $(BIN_ENCODER_TEST_OBJS:.o=.dep) |
| 7034 | |
| 7035 | ifneq ($(NO_SECURE),true) |
| 7036 | ifneq ($(NO_DEPS),true) |
| 7037 | -include $(BIN_ENCODER_TEST_OBJS:.o=.dep) |
| 7038 | endif |
| 7039 | endif |
| 7040 | |
| 7041 | |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 7042 | CENSUS_CONTEXT_TEST_SRC = \ |
| 7043 | test/core/census/context_test.c \ |
| 7044 | |
| 7045 | CENSUS_CONTEXT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_CONTEXT_TEST_SRC)))) |
| 7046 | ifeq ($(NO_SECURE),true) |
| 7047 | |
| 7048 | # You can't build secure targets if you don't have OpenSSL. |
| 7049 | |
| 7050 | $(BINDIR)/$(CONFIG)/census_context_test: openssl_dep_error |
| 7051 | |
| 7052 | else |
| 7053 | |
| 7054 | |
| 7055 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7056 | $(BINDIR)/$(CONFIG)/census_context_test: $(CENSUS_CONTEXT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 7057 | $(E) "[LD] Linking $@" |
| 7058 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7059 | $(Q) $(LD) $(LDFLAGS) $(CENSUS_CONTEXT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/census_context_test |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 7060 | |
| 7061 | endif |
| 7062 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7063 | $(OBJDIR)/$(CONFIG)/test/core/census/context_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 7064 | |
| 7065 | deps_census_context_test: $(CENSUS_CONTEXT_TEST_OBJS:.o=.dep) |
| 7066 | |
| 7067 | ifneq ($(NO_SECURE),true) |
| 7068 | ifneq ($(NO_DEPS),true) |
| 7069 | -include $(CENSUS_CONTEXT_TEST_OBJS:.o=.dep) |
| 7070 | endif |
| 7071 | endif |
| 7072 | |
| 7073 | |
Alistair Veitch | 4aaba75 | 2016-06-02 17:11:46 -0700 | [diff] [blame] | 7074 | CENSUS_RESOURCE_TEST_SRC = \ |
| 7075 | test/core/census/resource_test.c \ |
| 7076 | |
| 7077 | CENSUS_RESOURCE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_RESOURCE_TEST_SRC)))) |
| 7078 | ifeq ($(NO_SECURE),true) |
| 7079 | |
| 7080 | # You can't build secure targets if you don't have OpenSSL. |
| 7081 | |
| 7082 | $(BINDIR)/$(CONFIG)/census_resource_test: openssl_dep_error |
| 7083 | |
| 7084 | else |
| 7085 | |
| 7086 | |
| 7087 | |
| 7088 | $(BINDIR)/$(CONFIG)/census_resource_test: $(CENSUS_RESOURCE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7089 | $(E) "[LD] Linking $@" |
| 7090 | $(Q) mkdir -p `dirname $@` |
| 7091 | $(Q) $(LD) $(LDFLAGS) $(CENSUS_RESOURCE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/census_resource_test |
| 7092 | |
| 7093 | endif |
| 7094 | |
| 7095 | $(OBJDIR)/$(CONFIG)/test/core/census/resource_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7096 | |
| 7097 | deps_census_resource_test: $(CENSUS_RESOURCE_TEST_OBJS:.o=.dep) |
| 7098 | |
| 7099 | ifneq ($(NO_SECURE),true) |
| 7100 | ifneq ($(NO_DEPS),true) |
| 7101 | -include $(CENSUS_RESOURCE_TEST_OBJS:.o=.dep) |
| 7102 | endif |
| 7103 | endif |
| 7104 | |
| 7105 | |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 7106 | CENSUS_TRACE_CONTEXT_TEST_SRC = \ |
| 7107 | test/core/census/trace_context_test.c \ |
| 7108 | |
| 7109 | CENSUS_TRACE_CONTEXT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_TRACE_CONTEXT_TEST_SRC)))) |
| 7110 | ifeq ($(NO_SECURE),true) |
| 7111 | |
| 7112 | # You can't build secure targets if you don't have OpenSSL. |
| 7113 | |
| 7114 | $(BINDIR)/$(CONFIG)/census_trace_context_test: openssl_dep_error |
| 7115 | |
| 7116 | else |
| 7117 | |
| 7118 | |
| 7119 | |
| 7120 | $(BINDIR)/$(CONFIG)/census_trace_context_test: $(CENSUS_TRACE_CONTEXT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7121 | $(E) "[LD] Linking $@" |
| 7122 | $(Q) mkdir -p `dirname $@` |
| 7123 | $(Q) $(LD) $(LDFLAGS) $(CENSUS_TRACE_CONTEXT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/census_trace_context_test |
| 7124 | |
| 7125 | endif |
| 7126 | |
| 7127 | $(OBJDIR)/$(CONFIG)/test/core/census/trace_context_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7128 | |
| 7129 | deps_census_trace_context_test: $(CENSUS_TRACE_CONTEXT_TEST_OBJS:.o=.dep) |
| 7130 | |
| 7131 | ifneq ($(NO_SECURE),true) |
| 7132 | ifneq ($(NO_DEPS),true) |
| 7133 | -include $(CENSUS_TRACE_CONTEXT_TEST_OBJS:.o=.dep) |
| 7134 | endif |
| 7135 | endif |
| 7136 | |
| 7137 | |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 7138 | CHANNEL_CREATE_TEST_SRC = \ |
| 7139 | test/core/surface/channel_create_test.c \ |
| 7140 | |
| 7141 | CHANNEL_CREATE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNEL_CREATE_TEST_SRC)))) |
| 7142 | ifeq ($(NO_SECURE),true) |
| 7143 | |
| 7144 | # You can't build secure targets if you don't have OpenSSL. |
| 7145 | |
| 7146 | $(BINDIR)/$(CONFIG)/channel_create_test: openssl_dep_error |
| 7147 | |
| 7148 | else |
| 7149 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7150 | |
| 7151 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7152 | $(BINDIR)/$(CONFIG)/channel_create_test: $(CHANNEL_CREATE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 7153 | $(E) "[LD] Linking $@" |
| 7154 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7155 | $(Q) $(LD) $(LDFLAGS) $(CHANNEL_CREATE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/channel_create_test |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 7156 | |
| 7157 | endif |
| 7158 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7159 | $(OBJDIR)/$(CONFIG)/test/core/surface/channel_create_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7160 | |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 7161 | deps_channel_create_test: $(CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 7162 | |
| 7163 | ifneq ($(NO_SECURE),true) |
| 7164 | ifneq ($(NO_DEPS),true) |
| 7165 | -include $(CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 7166 | endif |
| 7167 | endif |
| 7168 | |
| 7169 | |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 7170 | CHTTP2_HPACK_ENCODER_TEST_SRC = \ |
| 7171 | test/core/transport/chttp2/hpack_encoder_test.c \ |
| 7172 | |
| 7173 | CHTTP2_HPACK_ENCODER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_HPACK_ENCODER_TEST_SRC)))) |
| 7174 | ifeq ($(NO_SECURE),true) |
| 7175 | |
| 7176 | # You can't build secure targets if you don't have OpenSSL. |
| 7177 | |
| 7178 | $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test: openssl_dep_error |
| 7179 | |
| 7180 | else |
| 7181 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7182 | |
| 7183 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7184 | $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test: $(CHTTP2_HPACK_ENCODER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 7185 | $(E) "[LD] Linking $@" |
| 7186 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7187 | $(Q) $(LD) $(LDFLAGS) $(CHTTP2_HPACK_ENCODER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 7188 | |
| 7189 | endif |
| 7190 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7191 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/hpack_encoder_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7192 | |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 7193 | deps_chttp2_hpack_encoder_test: $(CHTTP2_HPACK_ENCODER_TEST_OBJS:.o=.dep) |
| 7194 | |
| 7195 | ifneq ($(NO_SECURE),true) |
| 7196 | ifneq ($(NO_DEPS),true) |
| 7197 | -include $(CHTTP2_HPACK_ENCODER_TEST_OBJS:.o=.dep) |
| 7198 | endif |
| 7199 | endif |
| 7200 | |
| 7201 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7202 | CHTTP2_STATUS_CONVERSION_TEST_SRC = \ |
| 7203 | test/core/transport/chttp2/status_conversion_test.c \ |
| 7204 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7205 | CHTTP2_STATUS_CONVERSION_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STATUS_CONVERSION_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7206 | ifeq ($(NO_SECURE),true) |
| 7207 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7208 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7209 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7210 | $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7211 | |
| 7212 | else |
| 7213 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7214 | |
| 7215 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7216 | $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7217 | $(E) "[LD] Linking $@" |
| 7218 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7219 | $(Q) $(LD) $(LDFLAGS) $(CHTTP2_STATUS_CONVERSION_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7220 | |
| 7221 | endif |
| 7222 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7223 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/status_conversion_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7224 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7225 | deps_chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep) |
| 7226 | |
| 7227 | ifneq ($(NO_SECURE),true) |
| 7228 | ifneq ($(NO_DEPS),true) |
| 7229 | -include $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep) |
| 7230 | endif |
| 7231 | endif |
| 7232 | |
| 7233 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7234 | CHTTP2_STREAM_MAP_TEST_SRC = \ |
| 7235 | test/core/transport/chttp2/stream_map_test.c \ |
| 7236 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7237 | CHTTP2_STREAM_MAP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_STREAM_MAP_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7238 | ifeq ($(NO_SECURE),true) |
| 7239 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7240 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7241 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7242 | $(BINDIR)/$(CONFIG)/chttp2_stream_map_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7243 | |
| 7244 | else |
| 7245 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7246 | |
| 7247 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7248 | $(BINDIR)/$(CONFIG)/chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7249 | $(E) "[LD] Linking $@" |
| 7250 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7251 | $(Q) $(LD) $(LDFLAGS) $(CHTTP2_STREAM_MAP_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/chttp2_stream_map_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7252 | |
| 7253 | endif |
| 7254 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7255 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/stream_map_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7256 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7257 | deps_chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep) |
| 7258 | |
| 7259 | ifneq ($(NO_SECURE),true) |
| 7260 | ifneq ($(NO_DEPS),true) |
| 7261 | -include $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep) |
| 7262 | endif |
| 7263 | endif |
| 7264 | |
| 7265 | |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 7266 | CHTTP2_VARINT_TEST_SRC = \ |
| 7267 | test/core/transport/chttp2/varint_test.c \ |
| 7268 | |
| 7269 | CHTTP2_VARINT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_VARINT_TEST_SRC)))) |
| 7270 | ifeq ($(NO_SECURE),true) |
| 7271 | |
| 7272 | # You can't build secure targets if you don't have OpenSSL. |
| 7273 | |
| 7274 | $(BINDIR)/$(CONFIG)/chttp2_varint_test: openssl_dep_error |
| 7275 | |
| 7276 | else |
| 7277 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7278 | |
| 7279 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7280 | $(BINDIR)/$(CONFIG)/chttp2_varint_test: $(CHTTP2_VARINT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 7281 | $(E) "[LD] Linking $@" |
| 7282 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7283 | $(Q) $(LD) $(LDFLAGS) $(CHTTP2_VARINT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/chttp2_varint_test |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 7284 | |
| 7285 | endif |
| 7286 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7287 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/varint_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7288 | |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 7289 | deps_chttp2_varint_test: $(CHTTP2_VARINT_TEST_OBJS:.o=.dep) |
| 7290 | |
| 7291 | ifneq ($(NO_SECURE),true) |
| 7292 | ifneq ($(NO_DEPS),true) |
| 7293 | -include $(CHTTP2_VARINT_TEST_OBJS:.o=.dep) |
| 7294 | endif |
| 7295 | endif |
| 7296 | |
| 7297 | |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 7298 | CLIENT_FUZZER_SRC = \ |
| 7299 | test/core/end2end/fuzzers/client_fuzzer.c \ |
| 7300 | |
| 7301 | CLIENT_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLIENT_FUZZER_SRC)))) |
| 7302 | ifeq ($(NO_SECURE),true) |
| 7303 | |
| 7304 | # You can't build secure targets if you don't have OpenSSL. |
| 7305 | |
| 7306 | $(BINDIR)/$(CONFIG)/client_fuzzer: openssl_dep_error |
| 7307 | |
| 7308 | else |
| 7309 | |
| 7310 | |
| 7311 | |
| 7312 | $(BINDIR)/$(CONFIG)/client_fuzzer: $(CLIENT_FUZZER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7313 | $(E) "[LD] Linking $@" |
| 7314 | $(Q) mkdir -p `dirname $@` |
| 7315 | $(Q) $(LDXX) $(LDFLAGS) $(CLIENT_FUZZER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/client_fuzzer |
| 7316 | |
| 7317 | endif |
| 7318 | |
| 7319 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fuzzers/client_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7320 | |
| 7321 | deps_client_fuzzer: $(CLIENT_FUZZER_OBJS:.o=.dep) |
| 7322 | |
| 7323 | ifneq ($(NO_SECURE),true) |
| 7324 | ifneq ($(NO_DEPS),true) |
| 7325 | -include $(CLIENT_FUZZER_OBJS:.o=.dep) |
| 7326 | endif |
| 7327 | endif |
| 7328 | |
| 7329 | |
Craig Tiller | f7cade1 | 2016-07-07 21:41:10 -0700 | [diff] [blame] | 7330 | COMBINER_TEST_SRC = \ |
| 7331 | test/core/iomgr/combiner_test.c \ |
| 7332 | |
| 7333 | COMBINER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(COMBINER_TEST_SRC)))) |
| 7334 | ifeq ($(NO_SECURE),true) |
| 7335 | |
| 7336 | # You can't build secure targets if you don't have OpenSSL. |
| 7337 | |
| 7338 | $(BINDIR)/$(CONFIG)/combiner_test: openssl_dep_error |
| 7339 | |
| 7340 | else |
| 7341 | |
| 7342 | |
| 7343 | |
| 7344 | $(BINDIR)/$(CONFIG)/combiner_test: $(COMBINER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7345 | $(E) "[LD] Linking $@" |
| 7346 | $(Q) mkdir -p `dirname $@` |
| 7347 | $(Q) $(LD) $(LDFLAGS) $(COMBINER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/combiner_test |
| 7348 | |
| 7349 | endif |
| 7350 | |
| 7351 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/combiner_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7352 | |
| 7353 | deps_combiner_test: $(COMBINER_TEST_OBJS:.o=.dep) |
| 7354 | |
| 7355 | ifneq ($(NO_SECURE),true) |
| 7356 | ifneq ($(NO_DEPS),true) |
| 7357 | -include $(COMBINER_TEST_OBJS:.o=.dep) |
| 7358 | endif |
| 7359 | endif |
| 7360 | |
| 7361 | |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 7362 | COMPRESSION_TEST_SRC = \ |
| 7363 | test/core/compression/compression_test.c \ |
| 7364 | |
| 7365 | COMPRESSION_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(COMPRESSION_TEST_SRC)))) |
| 7366 | ifeq ($(NO_SECURE),true) |
| 7367 | |
| 7368 | # You can't build secure targets if you don't have OpenSSL. |
| 7369 | |
| 7370 | $(BINDIR)/$(CONFIG)/compression_test: openssl_dep_error |
| 7371 | |
| 7372 | else |
| 7373 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7374 | |
| 7375 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7376 | $(BINDIR)/$(CONFIG)/compression_test: $(COMPRESSION_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 7377 | $(E) "[LD] Linking $@" |
| 7378 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7379 | $(Q) $(LD) $(LDFLAGS) $(COMPRESSION_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/compression_test |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 7380 | |
| 7381 | endif |
| 7382 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7383 | $(OBJDIR)/$(CONFIG)/test/core/compression/compression_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7384 | |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 7385 | deps_compression_test: $(COMPRESSION_TEST_OBJS:.o=.dep) |
| 7386 | |
| 7387 | ifneq ($(NO_SECURE),true) |
| 7388 | ifneq ($(NO_DEPS),true) |
| 7389 | -include $(COMPRESSION_TEST_OBJS:.o=.dep) |
| 7390 | endif |
| 7391 | endif |
| 7392 | |
| 7393 | |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 7394 | CONCURRENT_CONNECTIVITY_TEST_SRC = \ |
| 7395 | test/core/surface/concurrent_connectivity_test.c \ |
| 7396 | |
| 7397 | CONCURRENT_CONNECTIVITY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CONCURRENT_CONNECTIVITY_TEST_SRC)))) |
| 7398 | ifeq ($(NO_SECURE),true) |
| 7399 | |
| 7400 | # You can't build secure targets if you don't have OpenSSL. |
| 7401 | |
| 7402 | $(BINDIR)/$(CONFIG)/concurrent_connectivity_test: openssl_dep_error |
| 7403 | |
| 7404 | else |
| 7405 | |
| 7406 | |
| 7407 | |
| 7408 | $(BINDIR)/$(CONFIG)/concurrent_connectivity_test: $(CONCURRENT_CONNECTIVITY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7409 | $(E) "[LD] Linking $@" |
| 7410 | $(Q) mkdir -p `dirname $@` |
| 7411 | $(Q) $(LD) $(LDFLAGS) $(CONCURRENT_CONNECTIVITY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/concurrent_connectivity_test |
| 7412 | |
| 7413 | endif |
| 7414 | |
| 7415 | $(OBJDIR)/$(CONFIG)/test/core/surface/concurrent_connectivity_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7416 | |
| 7417 | deps_concurrent_connectivity_test: $(CONCURRENT_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 7418 | |
| 7419 | ifneq ($(NO_SECURE),true) |
| 7420 | ifneq ($(NO_DEPS),true) |
| 7421 | -include $(CONCURRENT_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 7422 | endif |
| 7423 | endif |
| 7424 | |
| 7425 | |
Craig Tiller | 012372f | 2016-09-26 10:23:34 -0700 | [diff] [blame] | 7426 | CONNECTION_REFUSED_TEST_SRC = \ |
| 7427 | test/core/end2end/connection_refused_test.c \ |
| 7428 | |
| 7429 | CONNECTION_REFUSED_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CONNECTION_REFUSED_TEST_SRC)))) |
| 7430 | ifeq ($(NO_SECURE),true) |
| 7431 | |
| 7432 | # You can't build secure targets if you don't have OpenSSL. |
| 7433 | |
| 7434 | $(BINDIR)/$(CONFIG)/connection_refused_test: openssl_dep_error |
| 7435 | |
| 7436 | else |
| 7437 | |
| 7438 | |
| 7439 | |
| 7440 | $(BINDIR)/$(CONFIG)/connection_refused_test: $(CONNECTION_REFUSED_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7441 | $(E) "[LD] Linking $@" |
| 7442 | $(Q) mkdir -p `dirname $@` |
| 7443 | $(Q) $(LD) $(LDFLAGS) $(CONNECTION_REFUSED_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/connection_refused_test |
| 7444 | |
| 7445 | endif |
| 7446 | |
| 7447 | $(OBJDIR)/$(CONFIG)/test/core/end2end/connection_refused_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7448 | |
| 7449 | deps_connection_refused_test: $(CONNECTION_REFUSED_TEST_OBJS:.o=.dep) |
| 7450 | |
| 7451 | ifneq ($(NO_SECURE),true) |
| 7452 | ifneq ($(NO_DEPS),true) |
| 7453 | -include $(CONNECTION_REFUSED_TEST_OBJS:.o=.dep) |
| 7454 | endif |
| 7455 | endif |
| 7456 | |
| 7457 | |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 7458 | DNS_RESOLVER_CONNECTIVITY_TEST_SRC = \ |
| 7459 | test/core/client_config/resolvers/dns_resolver_connectivity_test.c \ |
| 7460 | |
| 7461 | DNS_RESOLVER_CONNECTIVITY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DNS_RESOLVER_CONNECTIVITY_TEST_SRC)))) |
| 7462 | ifeq ($(NO_SECURE),true) |
| 7463 | |
| 7464 | # You can't build secure targets if you don't have OpenSSL. |
| 7465 | |
| 7466 | $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test: openssl_dep_error |
| 7467 | |
| 7468 | else |
| 7469 | |
| 7470 | |
| 7471 | |
| 7472 | $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test: $(DNS_RESOLVER_CONNECTIVITY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7473 | $(E) "[LD] Linking $@" |
| 7474 | $(Q) mkdir -p `dirname $@` |
| 7475 | $(Q) $(LD) $(LDFLAGS) $(DNS_RESOLVER_CONNECTIVITY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test |
| 7476 | |
| 7477 | endif |
| 7478 | |
| 7479 | $(OBJDIR)/$(CONFIG)/test/core/client_config/resolvers/dns_resolver_connectivity_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7480 | |
| 7481 | deps_dns_resolver_connectivity_test: $(DNS_RESOLVER_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 7482 | |
| 7483 | ifneq ($(NO_SECURE),true) |
| 7484 | ifneq ($(NO_DEPS),true) |
| 7485 | -include $(DNS_RESOLVER_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 7486 | endif |
| 7487 | endif |
| 7488 | |
| 7489 | |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 7490 | DNS_RESOLVER_TEST_SRC = \ |
| 7491 | test/core/client_config/resolvers/dns_resolver_test.c \ |
| 7492 | |
| 7493 | DNS_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DNS_RESOLVER_TEST_SRC)))) |
| 7494 | ifeq ($(NO_SECURE),true) |
| 7495 | |
| 7496 | # You can't build secure targets if you don't have OpenSSL. |
| 7497 | |
| 7498 | $(BINDIR)/$(CONFIG)/dns_resolver_test: openssl_dep_error |
| 7499 | |
| 7500 | else |
| 7501 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7502 | |
| 7503 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7504 | $(BINDIR)/$(CONFIG)/dns_resolver_test: $(DNS_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 7505 | $(E) "[LD] Linking $@" |
| 7506 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7507 | $(Q) $(LD) $(LDFLAGS) $(DNS_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/dns_resolver_test |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 7508 | |
| 7509 | endif |
| 7510 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7511 | $(OBJDIR)/$(CONFIG)/test/core/client_config/resolvers/dns_resolver_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7512 | |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 7513 | deps_dns_resolver_test: $(DNS_RESOLVER_TEST_OBJS:.o=.dep) |
| 7514 | |
| 7515 | ifneq ($(NO_SECURE),true) |
| 7516 | ifneq ($(NO_DEPS),true) |
| 7517 | -include $(DNS_RESOLVER_TEST_OBJS:.o=.dep) |
| 7518 | endif |
| 7519 | endif |
| 7520 | |
| 7521 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7522 | DUALSTACK_SOCKET_TEST_SRC = \ |
| 7523 | test/core/end2end/dualstack_socket_test.c \ |
| 7524 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7525 | DUALSTACK_SOCKET_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DUALSTACK_SOCKET_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7526 | ifeq ($(NO_SECURE),true) |
| 7527 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7528 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7529 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7530 | $(BINDIR)/$(CONFIG)/dualstack_socket_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7531 | |
| 7532 | else |
| 7533 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7534 | |
| 7535 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7536 | $(BINDIR)/$(CONFIG)/dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7537 | $(E) "[LD] Linking $@" |
| 7538 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7539 | $(Q) $(LD) $(LDFLAGS) $(DUALSTACK_SOCKET_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/dualstack_socket_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7540 | |
| 7541 | endif |
| 7542 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7543 | $(OBJDIR)/$(CONFIG)/test/core/end2end/dualstack_socket_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7544 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7545 | deps_dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep) |
| 7546 | |
| 7547 | ifneq ($(NO_SECURE),true) |
| 7548 | ifneq ($(NO_DEPS),true) |
| 7549 | -include $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep) |
| 7550 | endif |
| 7551 | endif |
| 7552 | |
| 7553 | |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 7554 | ENDPOINT_PAIR_TEST_SRC = \ |
| 7555 | test/core/iomgr/endpoint_pair_test.c \ |
| 7556 | |
| 7557 | ENDPOINT_PAIR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ENDPOINT_PAIR_TEST_SRC)))) |
| 7558 | ifeq ($(NO_SECURE),true) |
| 7559 | |
| 7560 | # You can't build secure targets if you don't have OpenSSL. |
| 7561 | |
| 7562 | $(BINDIR)/$(CONFIG)/endpoint_pair_test: openssl_dep_error |
| 7563 | |
| 7564 | else |
| 7565 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7566 | |
| 7567 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7568 | $(BINDIR)/$(CONFIG)/endpoint_pair_test: $(ENDPOINT_PAIR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 7569 | $(E) "[LD] Linking $@" |
| 7570 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7571 | $(Q) $(LD) $(LDFLAGS) $(ENDPOINT_PAIR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/endpoint_pair_test |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 7572 | |
| 7573 | endif |
| 7574 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7575 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/endpoint_pair_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7576 | |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 7577 | deps_endpoint_pair_test: $(ENDPOINT_PAIR_TEST_OBJS:.o=.dep) |
| 7578 | |
| 7579 | ifneq ($(NO_SECURE),true) |
| 7580 | ifneq ($(NO_DEPS),true) |
| 7581 | -include $(ENDPOINT_PAIR_TEST_OBJS:.o=.dep) |
| 7582 | endif |
| 7583 | endif |
| 7584 | |
| 7585 | |
Sree Kuchibhotla | 2e12db9 | 2016-06-16 16:53:59 -0700 | [diff] [blame] | 7586 | EV_EPOLL_LINUX_TEST_SRC = \ |
| 7587 | test/core/iomgr/ev_epoll_linux_test.c \ |
| 7588 | |
| 7589 | EV_EPOLL_LINUX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(EV_EPOLL_LINUX_TEST_SRC)))) |
| 7590 | ifeq ($(NO_SECURE),true) |
| 7591 | |
| 7592 | # You can't build secure targets if you don't have OpenSSL. |
| 7593 | |
| 7594 | $(BINDIR)/$(CONFIG)/ev_epoll_linux_test: openssl_dep_error |
| 7595 | |
| 7596 | else |
| 7597 | |
| 7598 | |
| 7599 | |
| 7600 | $(BINDIR)/$(CONFIG)/ev_epoll_linux_test: $(EV_EPOLL_LINUX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7601 | $(E) "[LD] Linking $@" |
| 7602 | $(Q) mkdir -p `dirname $@` |
| 7603 | $(Q) $(LD) $(LDFLAGS) $(EV_EPOLL_LINUX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/ev_epoll_linux_test |
| 7604 | |
| 7605 | endif |
| 7606 | |
| 7607 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/ev_epoll_linux_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7608 | |
| 7609 | deps_ev_epoll_linux_test: $(EV_EPOLL_LINUX_TEST_OBJS:.o=.dep) |
| 7610 | |
| 7611 | ifneq ($(NO_SECURE),true) |
| 7612 | ifneq ($(NO_DEPS),true) |
| 7613 | -include $(EV_EPOLL_LINUX_TEST_OBJS:.o=.dep) |
| 7614 | endif |
| 7615 | endif |
| 7616 | |
| 7617 | |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 7618 | FD_CONSERVATION_POSIX_TEST_SRC = \ |
| 7619 | test/core/iomgr/fd_conservation_posix_test.c \ |
| 7620 | |
| 7621 | FD_CONSERVATION_POSIX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FD_CONSERVATION_POSIX_TEST_SRC)))) |
| 7622 | ifeq ($(NO_SECURE),true) |
| 7623 | |
Craig Tiller | 8ebc34d | 2015-07-08 07:46:04 -0700 | [diff] [blame] | 7624 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 7625 | |
| 7626 | $(BINDIR)/$(CONFIG)/fd_conservation_posix_test: openssl_dep_error |
| 7627 | |
| 7628 | else |
| 7629 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7630 | |
| 7631 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7632 | $(BINDIR)/$(CONFIG)/fd_conservation_posix_test: $(FD_CONSERVATION_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 7633 | $(E) "[LD] Linking $@" |
| 7634 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7635 | $(Q) $(LD) $(LDFLAGS) $(FD_CONSERVATION_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/fd_conservation_posix_test |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 7636 | |
| 7637 | endif |
| 7638 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7639 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/fd_conservation_posix_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7640 | |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 7641 | deps_fd_conservation_posix_test: $(FD_CONSERVATION_POSIX_TEST_OBJS:.o=.dep) |
| 7642 | |
| 7643 | ifneq ($(NO_SECURE),true) |
| 7644 | ifneq ($(NO_DEPS),true) |
| 7645 | -include $(FD_CONSERVATION_POSIX_TEST_OBJS:.o=.dep) |
| 7646 | endif |
| 7647 | endif |
| 7648 | |
| 7649 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7650 | FD_POSIX_TEST_SRC = \ |
| 7651 | test/core/iomgr/fd_posix_test.c \ |
| 7652 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7653 | FD_POSIX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FD_POSIX_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7654 | ifeq ($(NO_SECURE),true) |
| 7655 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7656 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7657 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7658 | $(BINDIR)/$(CONFIG)/fd_posix_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7659 | |
| 7660 | else |
| 7661 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7662 | |
| 7663 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7664 | $(BINDIR)/$(CONFIG)/fd_posix_test: $(FD_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7665 | $(E) "[LD] Linking $@" |
| 7666 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7667 | $(Q) $(LD) $(LDFLAGS) $(FD_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/fd_posix_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7668 | |
| 7669 | endif |
| 7670 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7671 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/fd_posix_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7672 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7673 | deps_fd_posix_test: $(FD_POSIX_TEST_OBJS:.o=.dep) |
| 7674 | |
| 7675 | ifneq ($(NO_SECURE),true) |
| 7676 | ifneq ($(NO_DEPS),true) |
| 7677 | -include $(FD_POSIX_TEST_OBJS:.o=.dep) |
| 7678 | endif |
| 7679 | endif |
| 7680 | |
| 7681 | |
| 7682 | FLING_CLIENT_SRC = \ |
| 7683 | test/core/fling/client.c \ |
| 7684 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7685 | FLING_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_CLIENT_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7686 | ifeq ($(NO_SECURE),true) |
| 7687 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7688 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7689 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7690 | $(BINDIR)/$(CONFIG)/fling_client: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7691 | |
| 7692 | else |
| 7693 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7694 | |
| 7695 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7696 | $(BINDIR)/$(CONFIG)/fling_client: $(FLING_CLIENT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7697 | $(E) "[LD] Linking $@" |
| 7698 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7699 | $(Q) $(LD) $(LDFLAGS) $(FLING_CLIENT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/fling_client |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7700 | |
| 7701 | endif |
| 7702 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7703 | $(OBJDIR)/$(CONFIG)/test/core/fling/client.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7704 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7705 | deps_fling_client: $(FLING_CLIENT_OBJS:.o=.dep) |
| 7706 | |
| 7707 | ifneq ($(NO_SECURE),true) |
| 7708 | ifneq ($(NO_DEPS),true) |
| 7709 | -include $(FLING_CLIENT_OBJS:.o=.dep) |
| 7710 | endif |
| 7711 | endif |
| 7712 | |
| 7713 | |
| 7714 | FLING_SERVER_SRC = \ |
| 7715 | test/core/fling/server.c \ |
| 7716 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7717 | FLING_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_SERVER_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7718 | ifeq ($(NO_SECURE),true) |
| 7719 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7720 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7721 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7722 | $(BINDIR)/$(CONFIG)/fling_server: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7723 | |
| 7724 | else |
| 7725 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7726 | |
| 7727 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7728 | $(BINDIR)/$(CONFIG)/fling_server: $(FLING_SERVER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7729 | $(E) "[LD] Linking $@" |
| 7730 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7731 | $(Q) $(LD) $(LDFLAGS) $(FLING_SERVER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/fling_server |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7732 | |
| 7733 | endif |
| 7734 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7735 | $(OBJDIR)/$(CONFIG)/test/core/fling/server.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7736 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7737 | deps_fling_server: $(FLING_SERVER_OBJS:.o=.dep) |
| 7738 | |
| 7739 | ifneq ($(NO_SECURE),true) |
| 7740 | ifneq ($(NO_DEPS),true) |
| 7741 | -include $(FLING_SERVER_OBJS:.o=.dep) |
| 7742 | endif |
| 7743 | endif |
| 7744 | |
| 7745 | |
| 7746 | FLING_STREAM_TEST_SRC = \ |
| 7747 | test/core/fling/fling_stream_test.c \ |
| 7748 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7749 | FLING_STREAM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_STREAM_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7750 | ifeq ($(NO_SECURE),true) |
| 7751 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7752 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7753 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7754 | $(BINDIR)/$(CONFIG)/fling_stream_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7755 | |
| 7756 | else |
| 7757 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7758 | |
| 7759 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7760 | $(BINDIR)/$(CONFIG)/fling_stream_test: $(FLING_STREAM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7761 | $(E) "[LD] Linking $@" |
| 7762 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7763 | $(Q) $(LD) $(LDFLAGS) $(FLING_STREAM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/fling_stream_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7764 | |
| 7765 | endif |
| 7766 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7767 | $(OBJDIR)/$(CONFIG)/test/core/fling/fling_stream_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7768 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7769 | deps_fling_stream_test: $(FLING_STREAM_TEST_OBJS:.o=.dep) |
| 7770 | |
| 7771 | ifneq ($(NO_SECURE),true) |
| 7772 | ifneq ($(NO_DEPS),true) |
| 7773 | -include $(FLING_STREAM_TEST_OBJS:.o=.dep) |
| 7774 | endif |
| 7775 | endif |
| 7776 | |
| 7777 | |
| 7778 | FLING_TEST_SRC = \ |
| 7779 | test/core/fling/fling_test.c \ |
| 7780 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7781 | FLING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7782 | ifeq ($(NO_SECURE),true) |
| 7783 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7784 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7785 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7786 | $(BINDIR)/$(CONFIG)/fling_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7787 | |
| 7788 | else |
| 7789 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7790 | |
| 7791 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7792 | $(BINDIR)/$(CONFIG)/fling_test: $(FLING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7793 | $(E) "[LD] Linking $@" |
| 7794 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7795 | $(Q) $(LD) $(LDFLAGS) $(FLING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/fling_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7796 | |
| 7797 | endif |
| 7798 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7799 | $(OBJDIR)/$(CONFIG)/test/core/fling/fling_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7800 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7801 | deps_fling_test: $(FLING_TEST_OBJS:.o=.dep) |
| 7802 | |
| 7803 | ifneq ($(NO_SECURE),true) |
| 7804 | ifneq ($(NO_DEPS),true) |
| 7805 | -include $(FLING_TEST_OBJS:.o=.dep) |
| 7806 | endif |
| 7807 | endif |
| 7808 | |
| 7809 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7810 | GEN_HPACK_TABLES_SRC = \ |
Craig Tiller | 31489e3 | 2015-06-23 14:27:34 -0700 | [diff] [blame] | 7811 | tools/codegen/core/gen_hpack_tables.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7812 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7813 | GEN_HPACK_TABLES_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_HPACK_TABLES_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7814 | ifeq ($(NO_SECURE),true) |
| 7815 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7816 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7817 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7818 | $(BINDIR)/$(CONFIG)/gen_hpack_tables: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7819 | |
| 7820 | else |
| 7821 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7822 | |
| 7823 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7824 | $(BINDIR)/$(CONFIG)/gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7825 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7826 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7827 | $(Q) $(LD) $(LDFLAGS) $(GEN_HPACK_TABLES_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gen_hpack_tables |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7828 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7829 | endif |
| 7830 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7831 | $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_hpack_tables.o: $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7832 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7833 | deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7834 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7835 | ifneq ($(NO_SECURE),true) |
| 7836 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7837 | -include $(GEN_HPACK_TABLES_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7838 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7839 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7840 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7841 | |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 7842 | GEN_LEGAL_METADATA_CHARACTERS_SRC = \ |
| 7843 | tools/codegen/core/gen_legal_metadata_characters.c \ |
| 7844 | |
| 7845 | GEN_LEGAL_METADATA_CHARACTERS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_LEGAL_METADATA_CHARACTERS_SRC)))) |
| 7846 | ifeq ($(NO_SECURE),true) |
| 7847 | |
| 7848 | # You can't build secure targets if you don't have OpenSSL. |
| 7849 | |
| 7850 | $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters: openssl_dep_error |
| 7851 | |
| 7852 | else |
| 7853 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7854 | |
| 7855 | |
Craig Tiller | 11a28c7 | 2015-08-24 07:54:34 -0700 | [diff] [blame] | 7856 | $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters: $(GEN_LEGAL_METADATA_CHARACTERS_OBJS) |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 7857 | $(E) "[LD] Linking $@" |
| 7858 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 11a28c7 | 2015-08-24 07:54:34 -0700 | [diff] [blame] | 7859 | $(Q) $(LD) $(LDFLAGS) $(GEN_LEGAL_METADATA_CHARACTERS_OBJS) $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 7860 | |
| 7861 | endif |
| 7862 | |
Craig Tiller | 11a28c7 | 2015-08-24 07:54:34 -0700 | [diff] [blame] | 7863 | $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_legal_metadata_characters.o: |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7864 | |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 7865 | deps_gen_legal_metadata_characters: $(GEN_LEGAL_METADATA_CHARACTERS_OBJS:.o=.dep) |
| 7866 | |
| 7867 | ifneq ($(NO_SECURE),true) |
| 7868 | ifneq ($(NO_DEPS),true) |
| 7869 | -include $(GEN_LEGAL_METADATA_CHARACTERS_OBJS:.o=.dep) |
| 7870 | endif |
| 7871 | endif |
| 7872 | |
| 7873 | |
Craig Tiller | 1c7a842 | 2016-08-18 11:13:11 -0700 | [diff] [blame] | 7874 | GEN_PERCENT_ENCODING_TABLES_SRC = \ |
| 7875 | tools/codegen/core/gen_percent_encoding_tables.c \ |
| 7876 | |
| 7877 | GEN_PERCENT_ENCODING_TABLES_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_PERCENT_ENCODING_TABLES_SRC)))) |
| 7878 | ifeq ($(NO_SECURE),true) |
| 7879 | |
| 7880 | # You can't build secure targets if you don't have OpenSSL. |
| 7881 | |
| 7882 | $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables: openssl_dep_error |
| 7883 | |
| 7884 | else |
| 7885 | |
| 7886 | |
| 7887 | |
| 7888 | $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables: $(GEN_PERCENT_ENCODING_TABLES_OBJS) |
| 7889 | $(E) "[LD] Linking $@" |
| 7890 | $(Q) mkdir -p `dirname $@` |
| 7891 | $(Q) $(LD) $(LDFLAGS) $(GEN_PERCENT_ENCODING_TABLES_OBJS) $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gen_percent_encoding_tables |
| 7892 | |
| 7893 | endif |
| 7894 | |
| 7895 | $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_percent_encoding_tables.o: |
| 7896 | |
| 7897 | deps_gen_percent_encoding_tables: $(GEN_PERCENT_ENCODING_TABLES_OBJS:.o=.dep) |
| 7898 | |
| 7899 | ifneq ($(NO_SECURE),true) |
| 7900 | ifneq ($(NO_DEPS),true) |
| 7901 | -include $(GEN_PERCENT_ENCODING_TABLES_OBJS:.o=.dep) |
| 7902 | endif |
| 7903 | endif |
| 7904 | |
| 7905 | |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 7906 | GOAWAY_SERVER_TEST_SRC = \ |
| 7907 | test/core/end2end/goaway_server_test.c \ |
| 7908 | |
| 7909 | GOAWAY_SERVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GOAWAY_SERVER_TEST_SRC)))) |
| 7910 | ifeq ($(NO_SECURE),true) |
| 7911 | |
| 7912 | # You can't build secure targets if you don't have OpenSSL. |
| 7913 | |
| 7914 | $(BINDIR)/$(CONFIG)/goaway_server_test: openssl_dep_error |
| 7915 | |
| 7916 | else |
| 7917 | |
| 7918 | |
| 7919 | |
| 7920 | $(BINDIR)/$(CONFIG)/goaway_server_test: $(GOAWAY_SERVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7921 | $(E) "[LD] Linking $@" |
| 7922 | $(Q) mkdir -p `dirname $@` |
| 7923 | $(Q) $(LD) $(LDFLAGS) $(GOAWAY_SERVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/goaway_server_test |
| 7924 | |
| 7925 | endif |
| 7926 | |
| 7927 | $(OBJDIR)/$(CONFIG)/test/core/end2end/goaway_server_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7928 | |
| 7929 | deps_goaway_server_test: $(GOAWAY_SERVER_TEST_OBJS:.o=.dep) |
| 7930 | |
| 7931 | ifneq ($(NO_SECURE),true) |
| 7932 | ifneq ($(NO_DEPS),true) |
| 7933 | -include $(GOAWAY_SERVER_TEST_OBJS:.o=.dep) |
| 7934 | endif |
| 7935 | endif |
| 7936 | |
| 7937 | |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 7938 | GPR_AVL_TEST_SRC = \ |
| 7939 | test/core/support/avl_test.c \ |
| 7940 | |
| 7941 | GPR_AVL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_AVL_TEST_SRC)))) |
| 7942 | ifeq ($(NO_SECURE),true) |
| 7943 | |
| 7944 | # You can't build secure targets if you don't have OpenSSL. |
| 7945 | |
| 7946 | $(BINDIR)/$(CONFIG)/gpr_avl_test: openssl_dep_error |
| 7947 | |
| 7948 | else |
| 7949 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7950 | |
| 7951 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7952 | $(BINDIR)/$(CONFIG)/gpr_avl_test: $(GPR_AVL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 7953 | $(E) "[LD] Linking $@" |
| 7954 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7955 | $(Q) $(LD) $(LDFLAGS) $(GPR_AVL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_avl_test |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 7956 | |
| 7957 | endif |
| 7958 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7959 | $(OBJDIR)/$(CONFIG)/test/core/support/avl_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7960 | |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 7961 | deps_gpr_avl_test: $(GPR_AVL_TEST_OBJS:.o=.dep) |
| 7962 | |
| 7963 | ifneq ($(NO_SECURE),true) |
| 7964 | ifneq ($(NO_DEPS),true) |
| 7965 | -include $(GPR_AVL_TEST_OBJS:.o=.dep) |
| 7966 | endif |
| 7967 | endif |
| 7968 | |
| 7969 | |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 7970 | GPR_BACKOFF_TEST_SRC = \ |
| 7971 | test/core/support/backoff_test.c \ |
| 7972 | |
| 7973 | GPR_BACKOFF_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_BACKOFF_TEST_SRC)))) |
| 7974 | ifeq ($(NO_SECURE),true) |
| 7975 | |
| 7976 | # You can't build secure targets if you don't have OpenSSL. |
| 7977 | |
| 7978 | $(BINDIR)/$(CONFIG)/gpr_backoff_test: openssl_dep_error |
| 7979 | |
| 7980 | else |
| 7981 | |
| 7982 | |
| 7983 | |
| 7984 | $(BINDIR)/$(CONFIG)/gpr_backoff_test: $(GPR_BACKOFF_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7985 | $(E) "[LD] Linking $@" |
| 7986 | $(Q) mkdir -p `dirname $@` |
| 7987 | $(Q) $(LD) $(LDFLAGS) $(GPR_BACKOFF_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_backoff_test |
| 7988 | |
| 7989 | endif |
| 7990 | |
| 7991 | $(OBJDIR)/$(CONFIG)/test/core/support/backoff_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7992 | |
| 7993 | deps_gpr_backoff_test: $(GPR_BACKOFF_TEST_OBJS:.o=.dep) |
| 7994 | |
| 7995 | ifneq ($(NO_SECURE),true) |
| 7996 | ifneq ($(NO_DEPS),true) |
| 7997 | -include $(GPR_BACKOFF_TEST_OBJS:.o=.dep) |
| 7998 | endif |
| 7999 | endif |
| 8000 | |
| 8001 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8002 | GPR_CMDLINE_TEST_SRC = \ |
| 8003 | test/core/support/cmdline_test.c \ |
| 8004 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8005 | GPR_CMDLINE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CMDLINE_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8006 | ifeq ($(NO_SECURE),true) |
| 8007 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8008 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8009 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8010 | $(BINDIR)/$(CONFIG)/gpr_cmdline_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8011 | |
| 8012 | else |
| 8013 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8014 | |
| 8015 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8016 | $(BINDIR)/$(CONFIG)/gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8017 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8018 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8019 | $(Q) $(LD) $(LDFLAGS) $(GPR_CMDLINE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_cmdline_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8020 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8021 | endif |
| 8022 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8023 | $(OBJDIR)/$(CONFIG)/test/core/support/cmdline_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8024 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8025 | deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8026 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8027 | ifneq ($(NO_SECURE),true) |
| 8028 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8029 | -include $(GPR_CMDLINE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8030 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8031 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8032 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8033 | |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 8034 | GPR_CPU_TEST_SRC = \ |
| 8035 | test/core/support/cpu_test.c \ |
| 8036 | |
| 8037 | GPR_CPU_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CPU_TEST_SRC)))) |
| 8038 | ifeq ($(NO_SECURE),true) |
| 8039 | |
| 8040 | # You can't build secure targets if you don't have OpenSSL. |
| 8041 | |
| 8042 | $(BINDIR)/$(CONFIG)/gpr_cpu_test: openssl_dep_error |
| 8043 | |
| 8044 | else |
| 8045 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8046 | |
| 8047 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8048 | $(BINDIR)/$(CONFIG)/gpr_cpu_test: $(GPR_CPU_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 8049 | $(E) "[LD] Linking $@" |
| 8050 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8051 | $(Q) $(LD) $(LDFLAGS) $(GPR_CPU_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_cpu_test |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 8052 | |
| 8053 | endif |
| 8054 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8055 | $(OBJDIR)/$(CONFIG)/test/core/support/cpu_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8056 | |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 8057 | deps_gpr_cpu_test: $(GPR_CPU_TEST_OBJS:.o=.dep) |
| 8058 | |
| 8059 | ifneq ($(NO_SECURE),true) |
| 8060 | ifneq ($(NO_DEPS),true) |
| 8061 | -include $(GPR_CPU_TEST_OBJS:.o=.dep) |
| 8062 | endif |
| 8063 | endif |
| 8064 | |
| 8065 | |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 8066 | GPR_ENV_TEST_SRC = \ |
| 8067 | test/core/support/env_test.c \ |
| 8068 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8069 | GPR_ENV_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_ENV_TEST_SRC)))) |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 8070 | ifeq ($(NO_SECURE),true) |
| 8071 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8072 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 8073 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8074 | $(BINDIR)/$(CONFIG)/gpr_env_test: openssl_dep_error |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 8075 | |
| 8076 | else |
| 8077 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8078 | |
| 8079 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8080 | $(BINDIR)/$(CONFIG)/gpr_env_test: $(GPR_ENV_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 8081 | $(E) "[LD] Linking $@" |
| 8082 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8083 | $(Q) $(LD) $(LDFLAGS) $(GPR_ENV_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_env_test |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 8084 | |
| 8085 | endif |
| 8086 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8087 | $(OBJDIR)/$(CONFIG)/test/core/support/env_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8088 | |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 8089 | deps_gpr_env_test: $(GPR_ENV_TEST_OBJS:.o=.dep) |
| 8090 | |
| 8091 | ifneq ($(NO_SECURE),true) |
| 8092 | ifneq ($(NO_DEPS),true) |
| 8093 | -include $(GPR_ENV_TEST_OBJS:.o=.dep) |
| 8094 | endif |
| 8095 | endif |
| 8096 | |
| 8097 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8098 | GPR_HISTOGRAM_TEST_SRC = \ |
| 8099 | test/core/support/histogram_test.c \ |
| 8100 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8101 | GPR_HISTOGRAM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HISTOGRAM_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8102 | ifeq ($(NO_SECURE),true) |
| 8103 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8104 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8105 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8106 | $(BINDIR)/$(CONFIG)/gpr_histogram_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8107 | |
| 8108 | else |
| 8109 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8110 | |
| 8111 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8112 | $(BINDIR)/$(CONFIG)/gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8113 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8114 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8115 | $(Q) $(LD) $(LDFLAGS) $(GPR_HISTOGRAM_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_histogram_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8116 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8117 | endif |
| 8118 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8119 | $(OBJDIR)/$(CONFIG)/test/core/support/histogram_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8120 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8121 | deps_gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8122 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8123 | ifneq ($(NO_SECURE),true) |
| 8124 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8125 | -include $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8126 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8127 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8128 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8129 | |
| 8130 | GPR_HOST_PORT_TEST_SRC = \ |
| 8131 | test/core/support/host_port_test.c \ |
| 8132 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8133 | GPR_HOST_PORT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_HOST_PORT_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8134 | ifeq ($(NO_SECURE),true) |
| 8135 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8136 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8137 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8138 | $(BINDIR)/$(CONFIG)/gpr_host_port_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8139 | |
| 8140 | else |
| 8141 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8142 | |
| 8143 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8144 | $(BINDIR)/$(CONFIG)/gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8145 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8146 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8147 | $(Q) $(LD) $(LDFLAGS) $(GPR_HOST_PORT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_host_port_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8148 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8149 | endif |
| 8150 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8151 | $(OBJDIR)/$(CONFIG)/test/core/support/host_port_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8152 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8153 | deps_gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8154 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8155 | ifneq ($(NO_SECURE),true) |
| 8156 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8157 | -include $(GPR_HOST_PORT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8158 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8159 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8160 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8161 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8162 | GPR_LOG_TEST_SRC = \ |
| 8163 | test/core/support/log_test.c \ |
| 8164 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8165 | GPR_LOG_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_LOG_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8166 | ifeq ($(NO_SECURE),true) |
| 8167 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8168 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8169 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8170 | $(BINDIR)/$(CONFIG)/gpr_log_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8171 | |
| 8172 | else |
| 8173 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8174 | |
| 8175 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8176 | $(BINDIR)/$(CONFIG)/gpr_log_test: $(GPR_LOG_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8177 | $(E) "[LD] Linking $@" |
| 8178 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8179 | $(Q) $(LD) $(LDFLAGS) $(GPR_LOG_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_log_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8180 | |
| 8181 | endif |
| 8182 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8183 | $(OBJDIR)/$(CONFIG)/test/core/support/log_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8184 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8185 | deps_gpr_log_test: $(GPR_LOG_TEST_OBJS:.o=.dep) |
| 8186 | |
| 8187 | ifneq ($(NO_SECURE),true) |
| 8188 | ifneq ($(NO_DEPS),true) |
| 8189 | -include $(GPR_LOG_TEST_OBJS:.o=.dep) |
| 8190 | endif |
| 8191 | endif |
| 8192 | |
| 8193 | |
Craig Tiller | 18879dc | 2016-05-02 22:13:48 -0700 | [diff] [blame] | 8194 | GPR_MPSCQ_TEST_SRC = \ |
| 8195 | test/core/support/mpscq_test.c \ |
| 8196 | |
| 8197 | GPR_MPSCQ_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_MPSCQ_TEST_SRC)))) |
| 8198 | ifeq ($(NO_SECURE),true) |
| 8199 | |
| 8200 | # You can't build secure targets if you don't have OpenSSL. |
| 8201 | |
| 8202 | $(BINDIR)/$(CONFIG)/gpr_mpscq_test: openssl_dep_error |
| 8203 | |
| 8204 | else |
| 8205 | |
| 8206 | |
| 8207 | |
Craig Tiller | c1c691f | 2016-09-07 10:40:13 -0700 | [diff] [blame] | 8208 | $(BINDIR)/$(CONFIG)/gpr_mpscq_test: $(GPR_MPSCQ_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 18879dc | 2016-05-02 22:13:48 -0700 | [diff] [blame] | 8209 | $(E) "[LD] Linking $@" |
| 8210 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | c1c691f | 2016-09-07 10:40:13 -0700 | [diff] [blame] | 8211 | $(Q) $(LD) $(LDFLAGS) $(GPR_MPSCQ_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_mpscq_test |
Craig Tiller | 18879dc | 2016-05-02 22:13:48 -0700 | [diff] [blame] | 8212 | |
| 8213 | endif |
| 8214 | |
Craig Tiller | c1c691f | 2016-09-07 10:40:13 -0700 | [diff] [blame] | 8215 | $(OBJDIR)/$(CONFIG)/test/core/support/mpscq_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 18879dc | 2016-05-02 22:13:48 -0700 | [diff] [blame] | 8216 | |
| 8217 | deps_gpr_mpscq_test: $(GPR_MPSCQ_TEST_OBJS:.o=.dep) |
| 8218 | |
| 8219 | ifneq ($(NO_SECURE),true) |
| 8220 | ifneq ($(NO_DEPS),true) |
| 8221 | -include $(GPR_MPSCQ_TEST_OBJS:.o=.dep) |
| 8222 | endif |
| 8223 | endif |
| 8224 | |
| 8225 | |
Craig Tiller | 17ed6b1 | 2016-08-18 09:33:33 -0700 | [diff] [blame] | 8226 | GPR_PERCENT_ENCODING_TEST_SRC = \ |
| 8227 | test/core/support/percent_encoding_test.c \ |
| 8228 | |
| 8229 | GPR_PERCENT_ENCODING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_PERCENT_ENCODING_TEST_SRC)))) |
| 8230 | ifeq ($(NO_SECURE),true) |
| 8231 | |
| 8232 | # You can't build secure targets if you don't have OpenSSL. |
| 8233 | |
| 8234 | $(BINDIR)/$(CONFIG)/gpr_percent_encoding_test: openssl_dep_error |
| 8235 | |
| 8236 | else |
| 8237 | |
| 8238 | |
| 8239 | |
| 8240 | $(BINDIR)/$(CONFIG)/gpr_percent_encoding_test: $(GPR_PERCENT_ENCODING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 8241 | $(E) "[LD] Linking $@" |
| 8242 | $(Q) mkdir -p `dirname $@` |
| 8243 | $(Q) $(LD) $(LDFLAGS) $(GPR_PERCENT_ENCODING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_percent_encoding_test |
| 8244 | |
| 8245 | endif |
| 8246 | |
| 8247 | $(OBJDIR)/$(CONFIG)/test/core/support/percent_encoding_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 8248 | |
| 8249 | deps_gpr_percent_encoding_test: $(GPR_PERCENT_ENCODING_TEST_OBJS:.o=.dep) |
| 8250 | |
| 8251 | ifneq ($(NO_SECURE),true) |
| 8252 | ifneq ($(NO_DEPS),true) |
| 8253 | -include $(GPR_PERCENT_ENCODING_TEST_OBJS:.o=.dep) |
| 8254 | endif |
| 8255 | endif |
| 8256 | |
| 8257 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8258 | GPR_SLICE_BUFFER_TEST_SRC = \ |
| 8259 | test/core/support/slice_buffer_test.c \ |
| 8260 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8261 | GPR_SLICE_BUFFER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_BUFFER_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8262 | ifeq ($(NO_SECURE),true) |
| 8263 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8264 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8265 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8266 | $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8267 | |
| 8268 | else |
| 8269 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8270 | |
| 8271 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8272 | $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8273 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8274 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8275 | $(Q) $(LD) $(LDFLAGS) $(GPR_SLICE_BUFFER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8276 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8277 | endif |
| 8278 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8279 | $(OBJDIR)/$(CONFIG)/test/core/support/slice_buffer_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8280 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8281 | deps_gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8282 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8283 | ifneq ($(NO_SECURE),true) |
| 8284 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8285 | -include $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8286 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8287 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8288 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8289 | |
| 8290 | GPR_SLICE_TEST_SRC = \ |
| 8291 | test/core/support/slice_test.c \ |
| 8292 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8293 | GPR_SLICE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SLICE_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8294 | ifeq ($(NO_SECURE),true) |
| 8295 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8296 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8297 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8298 | $(BINDIR)/$(CONFIG)/gpr_slice_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8299 | |
| 8300 | else |
| 8301 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8302 | |
| 8303 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8304 | $(BINDIR)/$(CONFIG)/gpr_slice_test: $(GPR_SLICE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8305 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8306 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8307 | $(Q) $(LD) $(LDFLAGS) $(GPR_SLICE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_slice_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8308 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8309 | endif |
| 8310 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8311 | $(OBJDIR)/$(CONFIG)/test/core/support/slice_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8312 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8313 | deps_gpr_slice_test: $(GPR_SLICE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8314 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8315 | ifneq ($(NO_SECURE),true) |
| 8316 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8317 | -include $(GPR_SLICE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8318 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8319 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8320 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8321 | |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 8322 | GPR_STACK_LOCKFREE_TEST_SRC = \ |
| 8323 | test/core/support/stack_lockfree_test.c \ |
| 8324 | |
| 8325 | GPR_STACK_LOCKFREE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STACK_LOCKFREE_TEST_SRC)))) |
| 8326 | ifeq ($(NO_SECURE),true) |
| 8327 | |
| 8328 | # You can't build secure targets if you don't have OpenSSL. |
| 8329 | |
| 8330 | $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test: openssl_dep_error |
| 8331 | |
| 8332 | else |
| 8333 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8334 | |
| 8335 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8336 | $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test: $(GPR_STACK_LOCKFREE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 8337 | $(E) "[LD] Linking $@" |
| 8338 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8339 | $(Q) $(LD) $(LDFLAGS) $(GPR_STACK_LOCKFREE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 8340 | |
| 8341 | endif |
| 8342 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8343 | $(OBJDIR)/$(CONFIG)/test/core/support/stack_lockfree_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8344 | |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 8345 | deps_gpr_stack_lockfree_test: $(GPR_STACK_LOCKFREE_TEST_OBJS:.o=.dep) |
| 8346 | |
| 8347 | ifneq ($(NO_SECURE),true) |
| 8348 | ifneq ($(NO_DEPS),true) |
| 8349 | -include $(GPR_STACK_LOCKFREE_TEST_OBJS:.o=.dep) |
| 8350 | endif |
| 8351 | endif |
| 8352 | |
| 8353 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8354 | GPR_STRING_TEST_SRC = \ |
| 8355 | test/core/support/string_test.c \ |
| 8356 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8357 | GPR_STRING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STRING_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8358 | ifeq ($(NO_SECURE),true) |
| 8359 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8360 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8361 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8362 | $(BINDIR)/$(CONFIG)/gpr_string_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8363 | |
| 8364 | else |
| 8365 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8366 | |
| 8367 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8368 | $(BINDIR)/$(CONFIG)/gpr_string_test: $(GPR_STRING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8369 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8370 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8371 | $(Q) $(LD) $(LDFLAGS) $(GPR_STRING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_string_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8372 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8373 | endif |
| 8374 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8375 | $(OBJDIR)/$(CONFIG)/test/core/support/string_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8376 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8377 | deps_gpr_string_test: $(GPR_STRING_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8378 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8379 | ifneq ($(NO_SECURE),true) |
| 8380 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8381 | -include $(GPR_STRING_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8382 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8383 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8384 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8385 | |
| 8386 | GPR_SYNC_TEST_SRC = \ |
| 8387 | test/core/support/sync_test.c \ |
| 8388 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8389 | GPR_SYNC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_SYNC_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8390 | ifeq ($(NO_SECURE),true) |
| 8391 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8392 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8393 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8394 | $(BINDIR)/$(CONFIG)/gpr_sync_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8395 | |
| 8396 | else |
| 8397 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8398 | |
| 8399 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8400 | $(BINDIR)/$(CONFIG)/gpr_sync_test: $(GPR_SYNC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8401 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8402 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8403 | $(Q) $(LD) $(LDFLAGS) $(GPR_SYNC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_sync_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8404 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8405 | endif |
| 8406 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8407 | $(OBJDIR)/$(CONFIG)/test/core/support/sync_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8408 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8409 | deps_gpr_sync_test: $(GPR_SYNC_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8410 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8411 | ifneq ($(NO_SECURE),true) |
| 8412 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8413 | -include $(GPR_SYNC_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8414 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8415 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8416 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8417 | |
| 8418 | GPR_THD_TEST_SRC = \ |
| 8419 | test/core/support/thd_test.c \ |
| 8420 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8421 | GPR_THD_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_THD_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8422 | ifeq ($(NO_SECURE),true) |
| 8423 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8424 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8425 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8426 | $(BINDIR)/$(CONFIG)/gpr_thd_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8427 | |
| 8428 | else |
| 8429 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8430 | |
| 8431 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8432 | $(BINDIR)/$(CONFIG)/gpr_thd_test: $(GPR_THD_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8433 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8434 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8435 | $(Q) $(LD) $(LDFLAGS) $(GPR_THD_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_thd_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8436 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8437 | endif |
| 8438 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8439 | $(OBJDIR)/$(CONFIG)/test/core/support/thd_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8440 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8441 | deps_gpr_thd_test: $(GPR_THD_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8442 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8443 | ifneq ($(NO_SECURE),true) |
| 8444 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8445 | -include $(GPR_THD_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8446 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8447 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8448 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8449 | |
| 8450 | GPR_TIME_TEST_SRC = \ |
| 8451 | test/core/support/time_test.c \ |
| 8452 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8453 | GPR_TIME_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_TIME_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8454 | ifeq ($(NO_SECURE),true) |
| 8455 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8456 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8457 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8458 | $(BINDIR)/$(CONFIG)/gpr_time_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8459 | |
| 8460 | else |
| 8461 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8462 | |
| 8463 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8464 | $(BINDIR)/$(CONFIG)/gpr_time_test: $(GPR_TIME_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8465 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8466 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8467 | $(Q) $(LD) $(LDFLAGS) $(GPR_TIME_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_time_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8468 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8469 | endif |
| 8470 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8471 | $(OBJDIR)/$(CONFIG)/test/core/support/time_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8472 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8473 | deps_gpr_time_test: $(GPR_TIME_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8474 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8475 | ifneq ($(NO_SECURE),true) |
| 8476 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8477 | -include $(GPR_TIME_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8478 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8479 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8480 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8481 | |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 8482 | GPR_TLS_TEST_SRC = \ |
| 8483 | test/core/support/tls_test.c \ |
| 8484 | |
| 8485 | GPR_TLS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_TLS_TEST_SRC)))) |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 8486 | ifeq ($(NO_SECURE),true) |
| 8487 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8488 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 8489 | |
| 8490 | $(BINDIR)/$(CONFIG)/gpr_tls_test: openssl_dep_error |
| 8491 | |
| 8492 | else |
| 8493 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8494 | |
| 8495 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8496 | $(BINDIR)/$(CONFIG)/gpr_tls_test: $(GPR_TLS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 8497 | $(E) "[LD] Linking $@" |
| 8498 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8499 | $(Q) $(LD) $(LDFLAGS) $(GPR_TLS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_tls_test |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 8500 | |
| 8501 | endif |
| 8502 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8503 | $(OBJDIR)/$(CONFIG)/test/core/support/tls_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8504 | |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 8505 | deps_gpr_tls_test: $(GPR_TLS_TEST_OBJS:.o=.dep) |
| 8506 | |
| 8507 | ifneq ($(NO_SECURE),true) |
| 8508 | ifneq ($(NO_DEPS),true) |
| 8509 | -include $(GPR_TLS_TEST_OBJS:.o=.dep) |
| 8510 | endif |
| 8511 | endif |
| 8512 | |
| 8513 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8514 | GPR_USEFUL_TEST_SRC = \ |
| 8515 | test/core/support/useful_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8516 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8517 | GPR_USEFUL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_USEFUL_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8518 | ifeq ($(NO_SECURE),true) |
| 8519 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8520 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8521 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8522 | $(BINDIR)/$(CONFIG)/gpr_useful_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8523 | |
| 8524 | else |
| 8525 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8526 | |
| 8527 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8528 | $(BINDIR)/$(CONFIG)/gpr_useful_test: $(GPR_USEFUL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8529 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8530 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8531 | $(Q) $(LD) $(LDFLAGS) $(GPR_USEFUL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_useful_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8532 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8533 | endif |
| 8534 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8535 | $(OBJDIR)/$(CONFIG)/test/core/support/useful_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8536 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8537 | deps_gpr_useful_test: $(GPR_USEFUL_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8538 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8539 | ifneq ($(NO_SECURE),true) |
| 8540 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8541 | -include $(GPR_USEFUL_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8542 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8543 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8544 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8545 | |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 8546 | GRPC_AUTH_CONTEXT_TEST_SRC = \ |
| 8547 | test/core/security/auth_context_test.c \ |
| 8548 | |
| 8549 | GRPC_AUTH_CONTEXT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_AUTH_CONTEXT_TEST_SRC)))) |
| 8550 | ifeq ($(NO_SECURE),true) |
| 8551 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8552 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 8553 | |
| 8554 | $(BINDIR)/$(CONFIG)/grpc_auth_context_test: openssl_dep_error |
| 8555 | |
| 8556 | else |
| 8557 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8558 | |
| 8559 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8560 | $(BINDIR)/$(CONFIG)/grpc_auth_context_test: $(GRPC_AUTH_CONTEXT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 8561 | $(E) "[LD] Linking $@" |
| 8562 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8563 | $(Q) $(LD) $(LDFLAGS) $(GRPC_AUTH_CONTEXT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_auth_context_test |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 8564 | |
| 8565 | endif |
| 8566 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8567 | $(OBJDIR)/$(CONFIG)/test/core/security/auth_context_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8568 | |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 8569 | deps_grpc_auth_context_test: $(GRPC_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 8570 | |
| 8571 | ifneq ($(NO_SECURE),true) |
| 8572 | ifneq ($(NO_DEPS),true) |
| 8573 | -include $(GRPC_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 8574 | endif |
| 8575 | endif |
| 8576 | |
| 8577 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 8578 | GRPC_B64_TEST_SRC = \ |
| 8579 | test/core/security/b64_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8580 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 8581 | GRPC_B64_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_B64_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8582 | ifeq ($(NO_SECURE),true) |
| 8583 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8584 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8585 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 8586 | $(BINDIR)/$(CONFIG)/grpc_b64_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8587 | |
| 8588 | else |
| 8589 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8590 | |
| 8591 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 8592 | $(BINDIR)/$(CONFIG)/grpc_b64_test: $(GRPC_B64_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8593 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8594 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 8595 | $(Q) $(LD) $(LDFLAGS) $(GRPC_B64_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_b64_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8596 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8597 | endif |
| 8598 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 8599 | $(OBJDIR)/$(CONFIG)/test/core/security/b64_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8600 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 8601 | deps_grpc_b64_test: $(GRPC_B64_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8602 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8603 | ifneq ($(NO_SECURE),true) |
| 8604 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 8605 | -include $(GRPC_B64_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8606 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8607 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8608 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8609 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8610 | GRPC_BYTE_BUFFER_READER_TEST_SRC = \ |
| 8611 | test/core/surface/byte_buffer_reader_test.c \ |
nnoble | 0c475f0 | 2014-12-05 15:37:39 -0800 | [diff] [blame] | 8612 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8613 | GRPC_BYTE_BUFFER_READER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_BYTE_BUFFER_READER_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8614 | ifeq ($(NO_SECURE),true) |
| 8615 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8616 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8617 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8618 | $(BINDIR)/$(CONFIG)/grpc_byte_buffer_reader_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8619 | |
| 8620 | else |
| 8621 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8622 | |
| 8623 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8624 | $(BINDIR)/$(CONFIG)/grpc_byte_buffer_reader_test: $(GRPC_BYTE_BUFFER_READER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
nnoble | 0c475f0 | 2014-12-05 15:37:39 -0800 | [diff] [blame] | 8625 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8626 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8627 | $(Q) $(LD) $(LDFLAGS) $(GRPC_BYTE_BUFFER_READER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_byte_buffer_reader_test |
nnoble | 0c475f0 | 2014-12-05 15:37:39 -0800 | [diff] [blame] | 8628 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8629 | endif |
| 8630 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8631 | $(OBJDIR)/$(CONFIG)/test/core/surface/byte_buffer_reader_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8632 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8633 | deps_grpc_byte_buffer_reader_test: $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep) |
nnoble | 0c475f0 | 2014-12-05 15:37:39 -0800 | [diff] [blame] | 8634 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8635 | ifneq ($(NO_SECURE),true) |
| 8636 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8637 | -include $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8638 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8639 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8640 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8641 | |
David Garcia Quintas | a4c4f02 | 2015-08-21 00:05:42 -0700 | [diff] [blame] | 8642 | GRPC_CHANNEL_ARGS_TEST_SRC = \ |
| 8643 | test/core/channel/channel_args_test.c \ |
| 8644 | |
| 8645 | GRPC_CHANNEL_ARGS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CHANNEL_ARGS_TEST_SRC)))) |
| 8646 | ifeq ($(NO_SECURE),true) |
| 8647 | |
| 8648 | # You can't build secure targets if you don't have OpenSSL. |
| 8649 | |
| 8650 | $(BINDIR)/$(CONFIG)/grpc_channel_args_test: openssl_dep_error |
| 8651 | |
| 8652 | else |
| 8653 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8654 | |
| 8655 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8656 | $(BINDIR)/$(CONFIG)/grpc_channel_args_test: $(GRPC_CHANNEL_ARGS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | a4c4f02 | 2015-08-21 00:05:42 -0700 | [diff] [blame] | 8657 | $(E) "[LD] Linking $@" |
| 8658 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8659 | $(Q) $(LD) $(LDFLAGS) $(GRPC_CHANNEL_ARGS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_channel_args_test |
David Garcia Quintas | a4c4f02 | 2015-08-21 00:05:42 -0700 | [diff] [blame] | 8660 | |
| 8661 | endif |
| 8662 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8663 | $(OBJDIR)/$(CONFIG)/test/core/channel/channel_args_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8664 | |
David Garcia Quintas | a4c4f02 | 2015-08-21 00:05:42 -0700 | [diff] [blame] | 8665 | deps_grpc_channel_args_test: $(GRPC_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 8666 | |
| 8667 | ifneq ($(NO_SECURE),true) |
| 8668 | ifneq ($(NO_DEPS),true) |
| 8669 | -include $(GRPC_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 8670 | endif |
| 8671 | endif |
| 8672 | |
| 8673 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8674 | GRPC_CHANNEL_STACK_TEST_SRC = \ |
| 8675 | test/core/channel/channel_stack_test.c \ |
| 8676 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8677 | GRPC_CHANNEL_STACK_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CHANNEL_STACK_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8678 | ifeq ($(NO_SECURE),true) |
| 8679 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8680 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8681 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8682 | $(BINDIR)/$(CONFIG)/grpc_channel_stack_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8683 | |
| 8684 | else |
| 8685 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8686 | |
| 8687 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8688 | $(BINDIR)/$(CONFIG)/grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8689 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8690 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8691 | $(Q) $(LD) $(LDFLAGS) $(GRPC_CHANNEL_STACK_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_channel_stack_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8692 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8693 | endif |
| 8694 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8695 | $(OBJDIR)/$(CONFIG)/test/core/channel/channel_stack_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8696 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8697 | deps_grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8698 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8699 | ifneq ($(NO_SECURE),true) |
| 8700 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8701 | -include $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8702 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8703 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8704 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8705 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8706 | GRPC_COMPLETION_QUEUE_TEST_SRC = \ |
| 8707 | test/core/surface/completion_queue_test.c \ |
| 8708 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8709 | GRPC_COMPLETION_QUEUE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_COMPLETION_QUEUE_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8710 | ifeq ($(NO_SECURE),true) |
| 8711 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8712 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8713 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8714 | $(BINDIR)/$(CONFIG)/grpc_completion_queue_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8715 | |
| 8716 | else |
| 8717 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8718 | |
| 8719 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8720 | $(BINDIR)/$(CONFIG)/grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8721 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8722 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8723 | $(Q) $(LD) $(LDFLAGS) $(GRPC_COMPLETION_QUEUE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_completion_queue_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8724 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8725 | endif |
| 8726 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8727 | $(OBJDIR)/$(CONFIG)/test/core/surface/completion_queue_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8728 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8729 | deps_grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8730 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8731 | ifneq ($(NO_SECURE),true) |
| 8732 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8733 | -include $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8734 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8735 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8736 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8737 | |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8738 | GRPC_CREATE_JWT_SRC = \ |
| 8739 | test/core/security/create_jwt.c \ |
| 8740 | |
| 8741 | GRPC_CREATE_JWT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CREATE_JWT_SRC)))) |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8742 | ifeq ($(NO_SECURE),true) |
| 8743 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8744 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8745 | |
| 8746 | $(BINDIR)/$(CONFIG)/grpc_create_jwt: openssl_dep_error |
| 8747 | |
| 8748 | else |
| 8749 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8750 | |
| 8751 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8752 | $(BINDIR)/$(CONFIG)/grpc_create_jwt: $(GRPC_CREATE_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8753 | $(E) "[LD] Linking $@" |
| 8754 | $(Q) mkdir -p `dirname $@` |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8755 | $(Q) $(LD) $(LDFLAGS) $(GRPC_CREATE_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_create_jwt |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8756 | |
| 8757 | endif |
| 8758 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8759 | $(OBJDIR)/$(CONFIG)/test/core/security/create_jwt.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8760 | |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8761 | deps_grpc_create_jwt: $(GRPC_CREATE_JWT_OBJS:.o=.dep) |
| 8762 | |
| 8763 | ifneq ($(NO_SECURE),true) |
| 8764 | ifneq ($(NO_DEPS),true) |
| 8765 | -include $(GRPC_CREATE_JWT_OBJS:.o=.dep) |
| 8766 | endif |
| 8767 | endif |
| 8768 | |
| 8769 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8770 | GRPC_CREDENTIALS_TEST_SRC = \ |
| 8771 | test/core/security/credentials_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8772 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8773 | GRPC_CREDENTIALS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CREDENTIALS_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8774 | ifeq ($(NO_SECURE),true) |
| 8775 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8776 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8777 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8778 | $(BINDIR)/$(CONFIG)/grpc_credentials_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8779 | |
| 8780 | else |
| 8781 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8782 | |
| 8783 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8784 | $(BINDIR)/$(CONFIG)/grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8785 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8786 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8787 | $(Q) $(LD) $(LDFLAGS) $(GRPC_CREDENTIALS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_credentials_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8788 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8789 | endif |
| 8790 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8791 | $(OBJDIR)/$(CONFIG)/test/core/security/credentials_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8792 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8793 | deps_grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8794 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8795 | ifneq ($(NO_SECURE),true) |
| 8796 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8797 | -include $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8798 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8799 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8800 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8801 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8802 | GRPC_FETCH_OAUTH2_SRC = \ |
| 8803 | test/core/security/fetch_oauth2.c \ |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8804 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8805 | GRPC_FETCH_OAUTH2_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_FETCH_OAUTH2_SRC)))) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8806 | ifeq ($(NO_SECURE),true) |
| 8807 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8808 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8809 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8810 | $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2: openssl_dep_error |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8811 | |
| 8812 | else |
| 8813 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8814 | |
| 8815 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8816 | $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8817 | $(E) "[LD] Linking $@" |
| 8818 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8819 | $(Q) $(LD) $(LDFLAGS) $(GRPC_FETCH_OAUTH2_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2 |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8820 | |
| 8821 | endif |
| 8822 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8823 | $(OBJDIR)/$(CONFIG)/test/core/security/fetch_oauth2.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8824 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8825 | deps_grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8826 | |
| 8827 | ifneq ($(NO_SECURE),true) |
| 8828 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8829 | -include $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8830 | endif |
| 8831 | endif |
| 8832 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8833 | |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 8834 | GRPC_INVALID_CHANNEL_ARGS_TEST_SRC = \ |
| 8835 | test/core/surface/invalid_channel_args_test.c \ |
| 8836 | |
| 8837 | GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_INVALID_CHANNEL_ARGS_TEST_SRC)))) |
| 8838 | ifeq ($(NO_SECURE),true) |
| 8839 | |
| 8840 | # You can't build secure targets if you don't have OpenSSL. |
| 8841 | |
| 8842 | $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test: openssl_dep_error |
| 8843 | |
| 8844 | else |
| 8845 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8846 | |
| 8847 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8848 | $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test: $(GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 8849 | $(E) "[LD] Linking $@" |
| 8850 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8851 | $(Q) $(LD) $(LDFLAGS) $(GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 8852 | |
| 8853 | endif |
| 8854 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8855 | $(OBJDIR)/$(CONFIG)/test/core/surface/invalid_channel_args_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8856 | |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 8857 | deps_grpc_invalid_channel_args_test: $(GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 8858 | |
| 8859 | ifneq ($(NO_SECURE),true) |
| 8860 | ifneq ($(NO_DEPS),true) |
| 8861 | -include $(GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 8862 | endif |
| 8863 | endif |
| 8864 | |
| 8865 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8866 | GRPC_JSON_TOKEN_TEST_SRC = \ |
| 8867 | test/core/security/json_token_test.c \ |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8868 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8869 | GRPC_JSON_TOKEN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_JSON_TOKEN_TEST_SRC)))) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8870 | ifeq ($(NO_SECURE),true) |
| 8871 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8872 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8873 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8874 | $(BINDIR)/$(CONFIG)/grpc_json_token_test: openssl_dep_error |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8875 | |
| 8876 | else |
| 8877 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8878 | |
| 8879 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8880 | $(BINDIR)/$(CONFIG)/grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8881 | $(E) "[LD] Linking $@" |
| 8882 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8883 | $(Q) $(LD) $(LDFLAGS) $(GRPC_JSON_TOKEN_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_json_token_test |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8884 | |
| 8885 | endif |
| 8886 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8887 | $(OBJDIR)/$(CONFIG)/test/core/security/json_token_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8888 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8889 | deps_grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8890 | |
| 8891 | ifneq ($(NO_SECURE),true) |
| 8892 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8893 | -include $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8894 | endif |
| 8895 | endif |
| 8896 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8897 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8898 | GRPC_JWT_VERIFIER_TEST_SRC = \ |
| 8899 | test/core/security/jwt_verifier_test.c \ |
| 8900 | |
| 8901 | GRPC_JWT_VERIFIER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_JWT_VERIFIER_TEST_SRC)))) |
| 8902 | ifeq ($(NO_SECURE),true) |
| 8903 | |
Julien Boeuf | ea94e46 | 2015-07-08 16:24:31 -0700 | [diff] [blame] | 8904 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8905 | |
| 8906 | $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test: openssl_dep_error |
| 8907 | |
| 8908 | else |
| 8909 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8910 | |
| 8911 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8912 | $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test: $(GRPC_JWT_VERIFIER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8913 | $(E) "[LD] Linking $@" |
| 8914 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8915 | $(Q) $(LD) $(LDFLAGS) $(GRPC_JWT_VERIFIER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8916 | |
| 8917 | endif |
| 8918 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8919 | $(OBJDIR)/$(CONFIG)/test/core/security/jwt_verifier_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8920 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8921 | deps_grpc_jwt_verifier_test: $(GRPC_JWT_VERIFIER_TEST_OBJS:.o=.dep) |
| 8922 | |
| 8923 | ifneq ($(NO_SECURE),true) |
| 8924 | ifneq ($(NO_DEPS),true) |
| 8925 | -include $(GRPC_JWT_VERIFIER_TEST_OBJS:.o=.dep) |
| 8926 | endif |
| 8927 | endif |
| 8928 | |
| 8929 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8930 | GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_SRC = \ |
| 8931 | test/core/security/print_google_default_creds_token.c \ |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8932 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8933 | GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_SRC)))) |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8934 | ifeq ($(NO_SECURE),true) |
| 8935 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8936 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8937 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8938 | $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token: openssl_dep_error |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8939 | |
| 8940 | else |
| 8941 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8942 | |
| 8943 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8944 | $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token: $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8945 | $(E) "[LD] Linking $@" |
| 8946 | $(Q) mkdir -p `dirname $@` |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8947 | $(Q) $(LD) $(LDFLAGS) $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8948 | |
| 8949 | endif |
| 8950 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8951 | $(OBJDIR)/$(CONFIG)/test/core/security/print_google_default_creds_token.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8952 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8953 | deps_grpc_print_google_default_creds_token: $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS:.o=.dep) |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8954 | |
| 8955 | ifneq ($(NO_SECURE),true) |
| 8956 | ifneq ($(NO_DEPS),true) |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8957 | -include $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS:.o=.dep) |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8958 | endif |
| 8959 | endif |
| 8960 | |
| 8961 | |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8962 | GRPC_SECURITY_CONNECTOR_TEST_SRC = \ |
| 8963 | test/core/security/security_connector_test.c \ |
| 8964 | |
| 8965 | GRPC_SECURITY_CONNECTOR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_SECURITY_CONNECTOR_TEST_SRC)))) |
| 8966 | ifeq ($(NO_SECURE),true) |
| 8967 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8968 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8969 | |
| 8970 | $(BINDIR)/$(CONFIG)/grpc_security_connector_test: openssl_dep_error |
| 8971 | |
| 8972 | else |
| 8973 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8974 | |
| 8975 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8976 | $(BINDIR)/$(CONFIG)/grpc_security_connector_test: $(GRPC_SECURITY_CONNECTOR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8977 | $(E) "[LD] Linking $@" |
| 8978 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8979 | $(Q) $(LD) $(LDFLAGS) $(GRPC_SECURITY_CONNECTOR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_security_connector_test |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8980 | |
| 8981 | endif |
| 8982 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8983 | $(OBJDIR)/$(CONFIG)/test/core/security/security_connector_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 8984 | |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8985 | deps_grpc_security_connector_test: $(GRPC_SECURITY_CONNECTOR_TEST_OBJS:.o=.dep) |
| 8986 | |
| 8987 | ifneq ($(NO_SECURE),true) |
| 8988 | ifneq ($(NO_DEPS),true) |
| 8989 | -include $(GRPC_SECURITY_CONNECTOR_TEST_OBJS:.o=.dep) |
| 8990 | endif |
| 8991 | endif |
| 8992 | |
| 8993 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8994 | GRPC_VERIFY_JWT_SRC = \ |
| 8995 | test/core/security/verify_jwt.c \ |
| 8996 | |
| 8997 | GRPC_VERIFY_JWT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_VERIFY_JWT_SRC)))) |
| 8998 | ifeq ($(NO_SECURE),true) |
| 8999 | |
Julien Boeuf | ea94e46 | 2015-07-08 16:24:31 -0700 | [diff] [blame] | 9000 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 9001 | |
| 9002 | $(BINDIR)/$(CONFIG)/grpc_verify_jwt: openssl_dep_error |
| 9003 | |
| 9004 | else |
| 9005 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9006 | |
| 9007 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 9008 | $(BINDIR)/$(CONFIG)/grpc_verify_jwt: $(GRPC_VERIFY_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 9009 | $(E) "[LD] Linking $@" |
| 9010 | $(Q) mkdir -p `dirname $@` |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 9011 | $(Q) $(LD) $(LDFLAGS) $(GRPC_VERIFY_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_verify_jwt |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 9012 | |
| 9013 | endif |
| 9014 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 9015 | $(OBJDIR)/$(CONFIG)/test/core/security/verify_jwt.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9016 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 9017 | deps_grpc_verify_jwt: $(GRPC_VERIFY_JWT_OBJS:.o=.dep) |
| 9018 | |
| 9019 | ifneq ($(NO_SECURE),true) |
| 9020 | ifneq ($(NO_DEPS),true) |
| 9021 | -include $(GRPC_VERIFY_JWT_OBJS:.o=.dep) |
| 9022 | endif |
| 9023 | endif |
| 9024 | |
| 9025 | |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 9026 | HPACK_PARSER_FUZZER_TEST_SRC = \ |
| 9027 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c \ |
| 9028 | |
| 9029 | HPACK_PARSER_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_FUZZER_TEST_SRC)))) |
| 9030 | ifeq ($(NO_SECURE),true) |
| 9031 | |
| 9032 | # You can't build secure targets if you don't have OpenSSL. |
| 9033 | |
| 9034 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test: openssl_dep_error |
| 9035 | |
| 9036 | else |
| 9037 | |
| 9038 | |
| 9039 | |
| 9040 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test: $(HPACK_PARSER_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9041 | $(E) "[LD] Linking $@" |
| 9042 | $(Q) mkdir -p `dirname $@` |
| 9043 | $(Q) $(LDXX) $(LDFLAGS) $(HPACK_PARSER_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test |
| 9044 | |
| 9045 | endif |
| 9046 | |
| 9047 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/hpack_parser_fuzzer_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9048 | |
| 9049 | deps_hpack_parser_fuzzer_test: $(HPACK_PARSER_FUZZER_TEST_OBJS:.o=.dep) |
| 9050 | |
| 9051 | ifneq ($(NO_SECURE),true) |
| 9052 | ifneq ($(NO_DEPS),true) |
| 9053 | -include $(HPACK_PARSER_FUZZER_TEST_OBJS:.o=.dep) |
| 9054 | endif |
| 9055 | endif |
| 9056 | |
| 9057 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9058 | HPACK_PARSER_TEST_SRC = \ |
| 9059 | test/core/transport/chttp2/hpack_parser_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9060 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9061 | HPACK_PARSER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9062 | ifeq ($(NO_SECURE),true) |
| 9063 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9064 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9065 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9066 | $(BINDIR)/$(CONFIG)/hpack_parser_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9067 | |
| 9068 | else |
| 9069 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9070 | |
| 9071 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9072 | $(BINDIR)/$(CONFIG)/hpack_parser_test: $(HPACK_PARSER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9073 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 9074 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9075 | $(Q) $(LD) $(LDFLAGS) $(HPACK_PARSER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/hpack_parser_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9076 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9077 | endif |
| 9078 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9079 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/hpack_parser_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9080 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9081 | deps_hpack_parser_test: $(HPACK_PARSER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9082 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9083 | ifneq ($(NO_SECURE),true) |
| 9084 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9085 | -include $(HPACK_PARSER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9086 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9087 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9088 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9089 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9090 | HPACK_TABLE_TEST_SRC = \ |
| 9091 | test/core/transport/chttp2/hpack_table_test.c \ |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 9092 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9093 | HPACK_TABLE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_TABLE_TEST_SRC)))) |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 9094 | ifeq ($(NO_SECURE),true) |
| 9095 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9096 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9097 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9098 | $(BINDIR)/$(CONFIG)/hpack_table_test: openssl_dep_error |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 9099 | |
| 9100 | else |
| 9101 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9102 | |
| 9103 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9104 | $(BINDIR)/$(CONFIG)/hpack_table_test: $(HPACK_TABLE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 9105 | $(E) "[LD] Linking $@" |
| 9106 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9107 | $(Q) $(LD) $(LDFLAGS) $(HPACK_TABLE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/hpack_table_test |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 9108 | |
| 9109 | endif |
| 9110 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9111 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/hpack_table_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9112 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9113 | deps_hpack_table_test: $(HPACK_TABLE_TEST_OBJS:.o=.dep) |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 9114 | |
| 9115 | ifneq ($(NO_SECURE),true) |
| 9116 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9117 | -include $(HPACK_TABLE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9118 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9119 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9120 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9121 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 9122 | HTTP_PARSER_TEST_SRC = \ |
| 9123 | test/core/http/parser_test.c \ |
| 9124 | |
| 9125 | HTTP_PARSER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_PARSER_TEST_SRC)))) |
| 9126 | ifeq ($(NO_SECURE),true) |
| 9127 | |
| 9128 | # You can't build secure targets if you don't have OpenSSL. |
| 9129 | |
| 9130 | $(BINDIR)/$(CONFIG)/http_parser_test: openssl_dep_error |
| 9131 | |
| 9132 | else |
| 9133 | |
| 9134 | |
| 9135 | |
| 9136 | $(BINDIR)/$(CONFIG)/http_parser_test: $(HTTP_PARSER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9137 | $(E) "[LD] Linking $@" |
| 9138 | $(Q) mkdir -p `dirname $@` |
| 9139 | $(Q) $(LD) $(LDFLAGS) $(HTTP_PARSER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/http_parser_test |
| 9140 | |
| 9141 | endif |
| 9142 | |
| 9143 | $(OBJDIR)/$(CONFIG)/test/core/http/parser_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9144 | |
| 9145 | deps_http_parser_test: $(HTTP_PARSER_TEST_OBJS:.o=.dep) |
| 9146 | |
| 9147 | ifneq ($(NO_SECURE),true) |
| 9148 | ifneq ($(NO_DEPS),true) |
| 9149 | -include $(HTTP_PARSER_TEST_OBJS:.o=.dep) |
| 9150 | endif |
| 9151 | endif |
| 9152 | |
| 9153 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 9154 | HTTP_REQUEST_FUZZER_TEST_SRC = \ |
| 9155 | test/core/http/request_fuzzer.c \ |
| 9156 | |
| 9157 | HTTP_REQUEST_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_REQUEST_FUZZER_TEST_SRC)))) |
| 9158 | ifeq ($(NO_SECURE),true) |
| 9159 | |
| 9160 | # You can't build secure targets if you don't have OpenSSL. |
| 9161 | |
| 9162 | $(BINDIR)/$(CONFIG)/http_request_fuzzer_test: openssl_dep_error |
| 9163 | |
| 9164 | else |
| 9165 | |
| 9166 | |
| 9167 | |
| 9168 | $(BINDIR)/$(CONFIG)/http_request_fuzzer_test: $(HTTP_REQUEST_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9169 | $(E) "[LD] Linking $@" |
| 9170 | $(Q) mkdir -p `dirname $@` |
| 9171 | $(Q) $(LDXX) $(LDFLAGS) $(HTTP_REQUEST_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/http_request_fuzzer_test |
| 9172 | |
| 9173 | endif |
| 9174 | |
| 9175 | $(OBJDIR)/$(CONFIG)/test/core/http/request_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9176 | |
| 9177 | deps_http_request_fuzzer_test: $(HTTP_REQUEST_FUZZER_TEST_OBJS:.o=.dep) |
| 9178 | |
| 9179 | ifneq ($(NO_SECURE),true) |
| 9180 | ifneq ($(NO_DEPS),true) |
| 9181 | -include $(HTTP_REQUEST_FUZZER_TEST_OBJS:.o=.dep) |
| 9182 | endif |
| 9183 | endif |
| 9184 | |
| 9185 | |
| 9186 | HTTP_RESPONSE_FUZZER_TEST_SRC = \ |
| 9187 | test/core/http/response_fuzzer.c \ |
| 9188 | |
| 9189 | HTTP_RESPONSE_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_RESPONSE_FUZZER_TEST_SRC)))) |
| 9190 | ifeq ($(NO_SECURE),true) |
| 9191 | |
| 9192 | # You can't build secure targets if you don't have OpenSSL. |
| 9193 | |
| 9194 | $(BINDIR)/$(CONFIG)/http_response_fuzzer_test: openssl_dep_error |
| 9195 | |
| 9196 | else |
| 9197 | |
| 9198 | |
| 9199 | |
| 9200 | $(BINDIR)/$(CONFIG)/http_response_fuzzer_test: $(HTTP_RESPONSE_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9201 | $(E) "[LD] Linking $@" |
| 9202 | $(Q) mkdir -p `dirname $@` |
| 9203 | $(Q) $(LDXX) $(LDFLAGS) $(HTTP_RESPONSE_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/http_response_fuzzer_test |
| 9204 | |
| 9205 | endif |
| 9206 | |
| 9207 | $(OBJDIR)/$(CONFIG)/test/core/http/response_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9208 | |
| 9209 | deps_http_response_fuzzer_test: $(HTTP_RESPONSE_FUZZER_TEST_OBJS:.o=.dep) |
| 9210 | |
| 9211 | ifneq ($(NO_SECURE),true) |
| 9212 | ifneq ($(NO_DEPS),true) |
| 9213 | -include $(HTTP_RESPONSE_FUZZER_TEST_OBJS:.o=.dep) |
| 9214 | endif |
| 9215 | endif |
| 9216 | |
| 9217 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9218 | HTTPCLI_FORMAT_REQUEST_TEST_SRC = \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 9219 | test/core/http/format_request_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9220 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9221 | HTTPCLI_FORMAT_REQUEST_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_FORMAT_REQUEST_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9222 | ifeq ($(NO_SECURE),true) |
| 9223 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9224 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9225 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9226 | $(BINDIR)/$(CONFIG)/httpcli_format_request_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9227 | |
| 9228 | else |
| 9229 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9230 | |
| 9231 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9232 | $(BINDIR)/$(CONFIG)/httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9233 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 9234 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9235 | $(Q) $(LD) $(LDFLAGS) $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/httpcli_format_request_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9236 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9237 | endif |
| 9238 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 9239 | $(OBJDIR)/$(CONFIG)/test/core/http/format_request_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9240 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 9241 | deps_httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9242 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9243 | ifneq ($(NO_SECURE),true) |
| 9244 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 9245 | -include $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9246 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9247 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9248 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9249 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9250 | HTTPCLI_TEST_SRC = \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 9251 | test/core/http/httpcli_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9252 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9253 | HTTPCLI_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9254 | ifeq ($(NO_SECURE),true) |
| 9255 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9256 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9257 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9258 | $(BINDIR)/$(CONFIG)/httpcli_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9259 | |
| 9260 | else |
| 9261 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9262 | |
| 9263 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9264 | $(BINDIR)/$(CONFIG)/httpcli_test: $(HTTPCLI_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9265 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 9266 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9267 | $(Q) $(LD) $(LDFLAGS) $(HTTPCLI_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/httpcli_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9268 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9269 | endif |
| 9270 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 9271 | $(OBJDIR)/$(CONFIG)/test/core/http/httpcli_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9272 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 9273 | deps_httpcli_test: $(HTTPCLI_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9274 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9275 | ifneq ($(NO_SECURE),true) |
| 9276 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 9277 | -include $(HTTPCLI_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9278 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9279 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9280 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9281 | |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 9282 | HTTPSCLI_TEST_SRC = \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 9283 | test/core/http/httpscli_test.c \ |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 9284 | |
| 9285 | HTTPSCLI_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPSCLI_TEST_SRC)))) |
| 9286 | ifeq ($(NO_SECURE),true) |
| 9287 | |
| 9288 | # You can't build secure targets if you don't have OpenSSL. |
| 9289 | |
| 9290 | $(BINDIR)/$(CONFIG)/httpscli_test: openssl_dep_error |
| 9291 | |
| 9292 | else |
| 9293 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9294 | |
| 9295 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9296 | $(BINDIR)/$(CONFIG)/httpscli_test: $(HTTPSCLI_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 9297 | $(E) "[LD] Linking $@" |
| 9298 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9299 | $(Q) $(LD) $(LDFLAGS) $(HTTPSCLI_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/httpscli_test |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 9300 | |
| 9301 | endif |
| 9302 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 9303 | $(OBJDIR)/$(CONFIG)/test/core/http/httpscli_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9304 | |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 9305 | deps_httpscli_test: $(HTTPSCLI_TEST_OBJS:.o=.dep) |
| 9306 | |
| 9307 | ifneq ($(NO_SECURE),true) |
| 9308 | ifneq ($(NO_DEPS),true) |
| 9309 | -include $(HTTPSCLI_TEST_OBJS:.o=.dep) |
| 9310 | endif |
| 9311 | endif |
| 9312 | |
| 9313 | |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 9314 | INIT_TEST_SRC = \ |
| 9315 | test/core/surface/init_test.c \ |
| 9316 | |
| 9317 | INIT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INIT_TEST_SRC)))) |
| 9318 | ifeq ($(NO_SECURE),true) |
| 9319 | |
| 9320 | # You can't build secure targets if you don't have OpenSSL. |
| 9321 | |
| 9322 | $(BINDIR)/$(CONFIG)/init_test: openssl_dep_error |
| 9323 | |
| 9324 | else |
| 9325 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9326 | |
| 9327 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9328 | $(BINDIR)/$(CONFIG)/init_test: $(INIT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 9329 | $(E) "[LD] Linking $@" |
| 9330 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9331 | $(Q) $(LD) $(LDFLAGS) $(INIT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/init_test |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 9332 | |
| 9333 | endif |
| 9334 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9335 | $(OBJDIR)/$(CONFIG)/test/core/surface/init_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9336 | |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 9337 | deps_init_test: $(INIT_TEST_OBJS:.o=.dep) |
| 9338 | |
| 9339 | ifneq ($(NO_SECURE),true) |
| 9340 | ifneq ($(NO_DEPS),true) |
| 9341 | -include $(INIT_TEST_OBJS:.o=.dep) |
| 9342 | endif |
| 9343 | endif |
| 9344 | |
| 9345 | |
Craig Tiller | 5cb7962 | 2016-03-15 14:46:54 -0700 | [diff] [blame] | 9346 | INTERNAL_API_CANARY_IOMGR_TEST_SRC = \ |
| 9347 | test/core/internal_api_canaries/iomgr.c \ |
| 9348 | |
| 9349 | INTERNAL_API_CANARY_IOMGR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTERNAL_API_CANARY_IOMGR_TEST_SRC)))) |
| 9350 | ifeq ($(NO_SECURE),true) |
| 9351 | |
| 9352 | # You can't build secure targets if you don't have OpenSSL. |
| 9353 | |
| 9354 | $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test: openssl_dep_error |
| 9355 | |
| 9356 | else |
| 9357 | |
| 9358 | |
| 9359 | |
| 9360 | $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test: $(INTERNAL_API_CANARY_IOMGR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9361 | $(E) "[LD] Linking $@" |
| 9362 | $(Q) mkdir -p `dirname $@` |
| 9363 | $(Q) $(LD) $(LDFLAGS) $(INTERNAL_API_CANARY_IOMGR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test |
| 9364 | |
| 9365 | endif |
| 9366 | |
| 9367 | $(OBJDIR)/$(CONFIG)/test/core/internal_api_canaries/iomgr.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9368 | |
| 9369 | deps_internal_api_canary_iomgr_test: $(INTERNAL_API_CANARY_IOMGR_TEST_OBJS:.o=.dep) |
| 9370 | |
| 9371 | ifneq ($(NO_SECURE),true) |
| 9372 | ifneq ($(NO_DEPS),true) |
| 9373 | -include $(INTERNAL_API_CANARY_IOMGR_TEST_OBJS:.o=.dep) |
| 9374 | endif |
| 9375 | endif |
| 9376 | |
| 9377 | |
| 9378 | INTERNAL_API_CANARY_SUPPORT_TEST_SRC = \ |
| 9379 | test/core/internal_api_canaries/iomgr.c \ |
| 9380 | |
| 9381 | INTERNAL_API_CANARY_SUPPORT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTERNAL_API_CANARY_SUPPORT_TEST_SRC)))) |
| 9382 | ifeq ($(NO_SECURE),true) |
| 9383 | |
| 9384 | # You can't build secure targets if you don't have OpenSSL. |
| 9385 | |
| 9386 | $(BINDIR)/$(CONFIG)/internal_api_canary_support_test: openssl_dep_error |
| 9387 | |
| 9388 | else |
| 9389 | |
| 9390 | |
| 9391 | |
| 9392 | $(BINDIR)/$(CONFIG)/internal_api_canary_support_test: $(INTERNAL_API_CANARY_SUPPORT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9393 | $(E) "[LD] Linking $@" |
| 9394 | $(Q) mkdir -p `dirname $@` |
| 9395 | $(Q) $(LD) $(LDFLAGS) $(INTERNAL_API_CANARY_SUPPORT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/internal_api_canary_support_test |
| 9396 | |
| 9397 | endif |
| 9398 | |
| 9399 | $(OBJDIR)/$(CONFIG)/test/core/internal_api_canaries/iomgr.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9400 | |
| 9401 | deps_internal_api_canary_support_test: $(INTERNAL_API_CANARY_SUPPORT_TEST_OBJS:.o=.dep) |
| 9402 | |
| 9403 | ifneq ($(NO_SECURE),true) |
| 9404 | ifneq ($(NO_DEPS),true) |
| 9405 | -include $(INTERNAL_API_CANARY_SUPPORT_TEST_OBJS:.o=.dep) |
| 9406 | endif |
| 9407 | endif |
| 9408 | |
| 9409 | |
| 9410 | INTERNAL_API_CANARY_TRANSPORT_TEST_SRC = \ |
| 9411 | test/core/internal_api_canaries/iomgr.c \ |
| 9412 | |
| 9413 | INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTERNAL_API_CANARY_TRANSPORT_TEST_SRC)))) |
| 9414 | ifeq ($(NO_SECURE),true) |
| 9415 | |
| 9416 | # You can't build secure targets if you don't have OpenSSL. |
| 9417 | |
| 9418 | $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test: openssl_dep_error |
| 9419 | |
| 9420 | else |
| 9421 | |
| 9422 | |
| 9423 | |
| 9424 | $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test: $(INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9425 | $(E) "[LD] Linking $@" |
| 9426 | $(Q) mkdir -p `dirname $@` |
| 9427 | $(Q) $(LD) $(LDFLAGS) $(INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test |
| 9428 | |
| 9429 | endif |
| 9430 | |
| 9431 | $(OBJDIR)/$(CONFIG)/test/core/internal_api_canaries/iomgr.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9432 | |
| 9433 | deps_internal_api_canary_transport_test: $(INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS:.o=.dep) |
| 9434 | |
| 9435 | ifneq ($(NO_SECURE),true) |
| 9436 | ifneq ($(NO_DEPS),true) |
| 9437 | -include $(INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS:.o=.dep) |
| 9438 | endif |
| 9439 | endif |
| 9440 | |
| 9441 | |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 9442 | INVALID_CALL_ARGUMENT_TEST_SRC = \ |
| 9443 | test/core/end2end/invalid_call_argument_test.c \ |
| 9444 | |
| 9445 | INVALID_CALL_ARGUMENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INVALID_CALL_ARGUMENT_TEST_SRC)))) |
| 9446 | ifeq ($(NO_SECURE),true) |
| 9447 | |
| 9448 | # You can't build secure targets if you don't have OpenSSL. |
| 9449 | |
| 9450 | $(BINDIR)/$(CONFIG)/invalid_call_argument_test: openssl_dep_error |
| 9451 | |
| 9452 | else |
| 9453 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9454 | |
| 9455 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9456 | $(BINDIR)/$(CONFIG)/invalid_call_argument_test: $(INVALID_CALL_ARGUMENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 9457 | $(E) "[LD] Linking $@" |
| 9458 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9459 | $(Q) $(LD) $(LDFLAGS) $(INVALID_CALL_ARGUMENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/invalid_call_argument_test |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 9460 | |
| 9461 | endif |
| 9462 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9463 | $(OBJDIR)/$(CONFIG)/test/core/end2end/invalid_call_argument_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9464 | |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 9465 | deps_invalid_call_argument_test: $(INVALID_CALL_ARGUMENT_TEST_OBJS:.o=.dep) |
| 9466 | |
| 9467 | ifneq ($(NO_SECURE),true) |
| 9468 | ifneq ($(NO_DEPS),true) |
| 9469 | -include $(INVALID_CALL_ARGUMENT_TEST_OBJS:.o=.dep) |
| 9470 | endif |
| 9471 | endif |
| 9472 | |
| 9473 | |
Craig Tiller | 32173c5 | 2016-03-17 14:12:45 -0700 | [diff] [blame] | 9474 | JSON_FUZZER_TEST_SRC = \ |
| 9475 | test/core/json/fuzzer.c \ |
| 9476 | |
| 9477 | JSON_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_FUZZER_TEST_SRC)))) |
| 9478 | ifeq ($(NO_SECURE),true) |
| 9479 | |
| 9480 | # You can't build secure targets if you don't have OpenSSL. |
| 9481 | |
| 9482 | $(BINDIR)/$(CONFIG)/json_fuzzer_test: openssl_dep_error |
| 9483 | |
| 9484 | else |
| 9485 | |
| 9486 | |
| 9487 | |
| 9488 | $(BINDIR)/$(CONFIG)/json_fuzzer_test: $(JSON_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9489 | $(E) "[LD] Linking $@" |
| 9490 | $(Q) mkdir -p `dirname $@` |
| 9491 | $(Q) $(LDXX) $(LDFLAGS) $(JSON_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/json_fuzzer_test |
| 9492 | |
| 9493 | endif |
| 9494 | |
| 9495 | $(OBJDIR)/$(CONFIG)/test/core/json/fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9496 | |
| 9497 | deps_json_fuzzer_test: $(JSON_FUZZER_TEST_OBJS:.o=.dep) |
| 9498 | |
| 9499 | ifneq ($(NO_SECURE),true) |
| 9500 | ifneq ($(NO_DEPS),true) |
| 9501 | -include $(JSON_FUZZER_TEST_OBJS:.o=.dep) |
| 9502 | endif |
| 9503 | endif |
| 9504 | |
| 9505 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9506 | JSON_REWRITE_SRC = \ |
| 9507 | test/core/json/json_rewrite.c \ |
| 9508 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9509 | JSON_REWRITE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_REWRITE_SRC)))) |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9510 | ifeq ($(NO_SECURE),true) |
| 9511 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9512 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9513 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9514 | $(BINDIR)/$(CONFIG)/json_rewrite: openssl_dep_error |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9515 | |
| 9516 | else |
| 9517 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9518 | |
| 9519 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9520 | $(BINDIR)/$(CONFIG)/json_rewrite: $(JSON_REWRITE_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9521 | $(E) "[LD] Linking $@" |
| 9522 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9523 | $(Q) $(LD) $(LDFLAGS) $(JSON_REWRITE_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/json_rewrite |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9524 | |
| 9525 | endif |
| 9526 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9527 | $(OBJDIR)/$(CONFIG)/test/core/json/json_rewrite.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9528 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9529 | deps_json_rewrite: $(JSON_REWRITE_OBJS:.o=.dep) |
| 9530 | |
| 9531 | ifneq ($(NO_SECURE),true) |
| 9532 | ifneq ($(NO_DEPS),true) |
| 9533 | -include $(JSON_REWRITE_OBJS:.o=.dep) |
| 9534 | endif |
| 9535 | endif |
| 9536 | |
| 9537 | |
| 9538 | JSON_REWRITE_TEST_SRC = \ |
| 9539 | test/core/json/json_rewrite_test.c \ |
| 9540 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9541 | JSON_REWRITE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_REWRITE_TEST_SRC)))) |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9542 | ifeq ($(NO_SECURE),true) |
| 9543 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9544 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9545 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9546 | $(BINDIR)/$(CONFIG)/json_rewrite_test: openssl_dep_error |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9547 | |
| 9548 | else |
| 9549 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9550 | |
| 9551 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9552 | $(BINDIR)/$(CONFIG)/json_rewrite_test: $(JSON_REWRITE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9553 | $(E) "[LD] Linking $@" |
| 9554 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9555 | $(Q) $(LD) $(LDFLAGS) $(JSON_REWRITE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/json_rewrite_test |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9556 | |
| 9557 | endif |
| 9558 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9559 | $(OBJDIR)/$(CONFIG)/test/core/json/json_rewrite_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9560 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9561 | deps_json_rewrite_test: $(JSON_REWRITE_TEST_OBJS:.o=.dep) |
| 9562 | |
| 9563 | ifneq ($(NO_SECURE),true) |
| 9564 | ifneq ($(NO_DEPS),true) |
| 9565 | -include $(JSON_REWRITE_TEST_OBJS:.o=.dep) |
| 9566 | endif |
| 9567 | endif |
| 9568 | |
| 9569 | |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 9570 | JSON_STREAM_ERROR_TEST_SRC = \ |
| 9571 | test/core/json/json_stream_error_test.c \ |
| 9572 | |
| 9573 | JSON_STREAM_ERROR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_STREAM_ERROR_TEST_SRC)))) |
| 9574 | ifeq ($(NO_SECURE),true) |
| 9575 | |
| 9576 | # You can't build secure targets if you don't have OpenSSL. |
| 9577 | |
| 9578 | $(BINDIR)/$(CONFIG)/json_stream_error_test: openssl_dep_error |
| 9579 | |
| 9580 | else |
| 9581 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9582 | |
| 9583 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9584 | $(BINDIR)/$(CONFIG)/json_stream_error_test: $(JSON_STREAM_ERROR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 9585 | $(E) "[LD] Linking $@" |
| 9586 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9587 | $(Q) $(LD) $(LDFLAGS) $(JSON_STREAM_ERROR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/json_stream_error_test |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 9588 | |
| 9589 | endif |
| 9590 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9591 | $(OBJDIR)/$(CONFIG)/test/core/json/json_stream_error_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9592 | |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 9593 | deps_json_stream_error_test: $(JSON_STREAM_ERROR_TEST_OBJS:.o=.dep) |
| 9594 | |
| 9595 | ifneq ($(NO_SECURE),true) |
| 9596 | ifneq ($(NO_DEPS),true) |
| 9597 | -include $(JSON_STREAM_ERROR_TEST_OBJS:.o=.dep) |
| 9598 | endif |
| 9599 | endif |
| 9600 | |
| 9601 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9602 | JSON_TEST_SRC = \ |
| 9603 | test/core/json/json_test.c \ |
| 9604 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9605 | JSON_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_TEST_SRC)))) |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9606 | ifeq ($(NO_SECURE),true) |
| 9607 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9608 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9609 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9610 | $(BINDIR)/$(CONFIG)/json_test: openssl_dep_error |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9611 | |
| 9612 | else |
| 9613 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9614 | |
| 9615 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9616 | $(BINDIR)/$(CONFIG)/json_test: $(JSON_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9617 | $(E) "[LD] Linking $@" |
| 9618 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9619 | $(Q) $(LD) $(LDFLAGS) $(JSON_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/json_test |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9620 | |
| 9621 | endif |
| 9622 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9623 | $(OBJDIR)/$(CONFIG)/test/core/json/json_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9624 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9625 | deps_json_test: $(JSON_TEST_OBJS:.o=.dep) |
| 9626 | |
| 9627 | ifneq ($(NO_SECURE),true) |
| 9628 | ifneq ($(NO_DEPS),true) |
| 9629 | -include $(JSON_TEST_OBJS:.o=.dep) |
| 9630 | endif |
| 9631 | endif |
| 9632 | |
| 9633 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9634 | LAME_CLIENT_TEST_SRC = \ |
| 9635 | test/core/surface/lame_client_test.c \ |
| 9636 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9637 | LAME_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LAME_CLIENT_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9638 | ifeq ($(NO_SECURE),true) |
| 9639 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9640 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9641 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9642 | $(BINDIR)/$(CONFIG)/lame_client_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9643 | |
| 9644 | else |
| 9645 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9646 | |
| 9647 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9648 | $(BINDIR)/$(CONFIG)/lame_client_test: $(LAME_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9649 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 9650 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9651 | $(Q) $(LD) $(LDFLAGS) $(LAME_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/lame_client_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9652 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9653 | endif |
| 9654 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9655 | $(OBJDIR)/$(CONFIG)/test/core/surface/lame_client_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9656 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 9657 | deps_lame_client_test: $(LAME_CLIENT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9658 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9659 | ifneq ($(NO_SECURE),true) |
| 9660 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 9661 | -include $(LAME_CLIENT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9662 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9663 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9664 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9665 | |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 9666 | LB_POLICIES_TEST_SRC = \ |
| 9667 | test/core/client_config/lb_policies_test.c \ |
| 9668 | |
| 9669 | LB_POLICIES_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LB_POLICIES_TEST_SRC)))) |
| 9670 | ifeq ($(NO_SECURE),true) |
| 9671 | |
| 9672 | # You can't build secure targets if you don't have OpenSSL. |
| 9673 | |
| 9674 | $(BINDIR)/$(CONFIG)/lb_policies_test: openssl_dep_error |
| 9675 | |
| 9676 | else |
| 9677 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9678 | |
| 9679 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9680 | $(BINDIR)/$(CONFIG)/lb_policies_test: $(LB_POLICIES_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 9681 | $(E) "[LD] Linking $@" |
| 9682 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9683 | $(Q) $(LD) $(LDFLAGS) $(LB_POLICIES_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/lb_policies_test |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 9684 | |
| 9685 | endif |
| 9686 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9687 | $(OBJDIR)/$(CONFIG)/test/core/client_config/lb_policies_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9688 | |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 9689 | deps_lb_policies_test: $(LB_POLICIES_TEST_OBJS:.o=.dep) |
| 9690 | |
| 9691 | ifneq ($(NO_SECURE),true) |
| 9692 | ifneq ($(NO_DEPS),true) |
| 9693 | -include $(LB_POLICIES_TEST_OBJS:.o=.dep) |
| 9694 | endif |
| 9695 | endif |
| 9696 | |
| 9697 | |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 9698 | LOAD_FILE_TEST_SRC = \ |
| 9699 | test/core/iomgr/load_file_test.c \ |
| 9700 | |
| 9701 | LOAD_FILE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LOAD_FILE_TEST_SRC)))) |
| 9702 | ifeq ($(NO_SECURE),true) |
| 9703 | |
| 9704 | # You can't build secure targets if you don't have OpenSSL. |
| 9705 | |
| 9706 | $(BINDIR)/$(CONFIG)/load_file_test: openssl_dep_error |
| 9707 | |
| 9708 | else |
| 9709 | |
| 9710 | |
| 9711 | |
| 9712 | $(BINDIR)/$(CONFIG)/load_file_test: $(LOAD_FILE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9713 | $(E) "[LD] Linking $@" |
| 9714 | $(Q) mkdir -p `dirname $@` |
| 9715 | $(Q) $(LD) $(LDFLAGS) $(LOAD_FILE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/load_file_test |
| 9716 | |
| 9717 | endif |
| 9718 | |
| 9719 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/load_file_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9720 | |
| 9721 | deps_load_file_test: $(LOAD_FILE_TEST_OBJS:.o=.dep) |
| 9722 | |
| 9723 | ifneq ($(NO_SECURE),true) |
| 9724 | ifneq ($(NO_DEPS),true) |
| 9725 | -include $(LOAD_FILE_TEST_OBJS:.o=.dep) |
| 9726 | endif |
| 9727 | endif |
| 9728 | |
| 9729 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9730 | LOW_LEVEL_PING_PONG_BENCHMARK_SRC = \ |
| 9731 | test/core/network_benchmarks/low_level_ping_pong.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9732 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9733 | LOW_LEVEL_PING_PONG_BENCHMARK_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LOW_LEVEL_PING_PONG_BENCHMARK_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9734 | ifeq ($(NO_SECURE),true) |
| 9735 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9736 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9737 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9738 | $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9739 | |
| 9740 | else |
| 9741 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9742 | |
| 9743 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9744 | $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark: $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9745 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 9746 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9747 | $(Q) $(LD) $(LDFLAGS) $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9748 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9749 | endif |
| 9750 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9751 | $(OBJDIR)/$(CONFIG)/test/core/network_benchmarks/low_level_ping_pong.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9752 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9753 | deps_low_level_ping_pong_benchmark: $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9754 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9755 | ifneq ($(NO_SECURE),true) |
| 9756 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9757 | -include $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9758 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9759 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9760 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9761 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9762 | MESSAGE_COMPRESS_TEST_SRC = \ |
| 9763 | test/core/compression/message_compress_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9764 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9765 | MESSAGE_COMPRESS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MESSAGE_COMPRESS_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9766 | ifeq ($(NO_SECURE),true) |
| 9767 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9768 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9769 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9770 | $(BINDIR)/$(CONFIG)/message_compress_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9771 | |
| 9772 | else |
| 9773 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9774 | |
| 9775 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9776 | $(BINDIR)/$(CONFIG)/message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9777 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 9778 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9779 | $(Q) $(LD) $(LDFLAGS) $(MESSAGE_COMPRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/message_compress_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9780 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9781 | endif |
| 9782 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9783 | $(OBJDIR)/$(CONFIG)/test/core/compression/message_compress_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9784 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9785 | deps_message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9786 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9787 | ifneq ($(NO_SECURE),true) |
| 9788 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9789 | -include $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9790 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9791 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9792 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9793 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 9794 | MLOG_TEST_SRC = \ |
| 9795 | test/core/census/mlog_test.c \ |
| 9796 | |
| 9797 | MLOG_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MLOG_TEST_SRC)))) |
| 9798 | ifeq ($(NO_SECURE),true) |
| 9799 | |
| 9800 | # You can't build secure targets if you don't have OpenSSL. |
| 9801 | |
| 9802 | $(BINDIR)/$(CONFIG)/mlog_test: openssl_dep_error |
| 9803 | |
| 9804 | else |
| 9805 | |
| 9806 | |
| 9807 | |
| 9808 | $(BINDIR)/$(CONFIG)/mlog_test: $(MLOG_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9809 | $(E) "[LD] Linking $@" |
| 9810 | $(Q) mkdir -p `dirname $@` |
| 9811 | $(Q) $(LD) $(LDFLAGS) $(MLOG_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/mlog_test |
| 9812 | |
| 9813 | endif |
| 9814 | |
| 9815 | $(OBJDIR)/$(CONFIG)/test/core/census/mlog_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9816 | |
| 9817 | deps_mlog_test: $(MLOG_TEST_OBJS:.o=.dep) |
| 9818 | |
| 9819 | ifneq ($(NO_SECURE),true) |
| 9820 | ifneq ($(NO_DEPS),true) |
| 9821 | -include $(MLOG_TEST_OBJS:.o=.dep) |
| 9822 | endif |
| 9823 | endif |
| 9824 | |
| 9825 | |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9826 | MULTIPLE_SERVER_QUEUES_TEST_SRC = \ |
| 9827 | test/core/end2end/multiple_server_queues_test.c \ |
| 9828 | |
| 9829 | MULTIPLE_SERVER_QUEUES_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MULTIPLE_SERVER_QUEUES_TEST_SRC)))) |
| 9830 | ifeq ($(NO_SECURE),true) |
| 9831 | |
Craig Tiller | 8ebc34d | 2015-07-08 07:46:04 -0700 | [diff] [blame] | 9832 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9833 | |
| 9834 | $(BINDIR)/$(CONFIG)/multiple_server_queues_test: openssl_dep_error |
| 9835 | |
| 9836 | else |
| 9837 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9838 | |
| 9839 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9840 | $(BINDIR)/$(CONFIG)/multiple_server_queues_test: $(MULTIPLE_SERVER_QUEUES_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9841 | $(E) "[LD] Linking $@" |
| 9842 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9843 | $(Q) $(LD) $(LDFLAGS) $(MULTIPLE_SERVER_QUEUES_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/multiple_server_queues_test |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9844 | |
| 9845 | endif |
| 9846 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9847 | $(OBJDIR)/$(CONFIG)/test/core/end2end/multiple_server_queues_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9848 | |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9849 | deps_multiple_server_queues_test: $(MULTIPLE_SERVER_QUEUES_TEST_OBJS:.o=.dep) |
| 9850 | |
| 9851 | ifneq ($(NO_SECURE),true) |
| 9852 | ifneq ($(NO_DEPS),true) |
| 9853 | -include $(MULTIPLE_SERVER_QUEUES_TEST_OBJS:.o=.dep) |
| 9854 | endif |
| 9855 | endif |
| 9856 | |
| 9857 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9858 | MURMUR_HASH_TEST_SRC = \ |
| 9859 | test/core/support/murmur_hash_test.c \ |
| 9860 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9861 | MURMUR_HASH_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MURMUR_HASH_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9862 | ifeq ($(NO_SECURE),true) |
| 9863 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9864 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9865 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9866 | $(BINDIR)/$(CONFIG)/murmur_hash_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9867 | |
| 9868 | else |
| 9869 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9870 | |
| 9871 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9872 | $(BINDIR)/$(CONFIG)/murmur_hash_test: $(MURMUR_HASH_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9873 | $(E) "[LD] Linking $@" |
| 9874 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9875 | $(Q) $(LD) $(LDFLAGS) $(MURMUR_HASH_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/murmur_hash_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9876 | |
| 9877 | endif |
| 9878 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9879 | $(OBJDIR)/$(CONFIG)/test/core/support/murmur_hash_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9880 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9881 | deps_murmur_hash_test: $(MURMUR_HASH_TEST_OBJS:.o=.dep) |
| 9882 | |
| 9883 | ifneq ($(NO_SECURE),true) |
| 9884 | ifneq ($(NO_DEPS),true) |
| 9885 | -include $(MURMUR_HASH_TEST_OBJS:.o=.dep) |
| 9886 | endif |
| 9887 | endif |
| 9888 | |
| 9889 | |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 9890 | NANOPB_FUZZER_RESPONSE_TEST_SRC = \ |
| 9891 | test/core/nanopb/fuzzer_response.c \ |
| 9892 | |
| 9893 | NANOPB_FUZZER_RESPONSE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_RESPONSE_TEST_SRC)))) |
| 9894 | ifeq ($(NO_SECURE),true) |
| 9895 | |
| 9896 | # You can't build secure targets if you don't have OpenSSL. |
| 9897 | |
| 9898 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test: openssl_dep_error |
| 9899 | |
| 9900 | else |
| 9901 | |
| 9902 | |
| 9903 | |
| 9904 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test: $(NANOPB_FUZZER_RESPONSE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9905 | $(E) "[LD] Linking $@" |
| 9906 | $(Q) mkdir -p `dirname $@` |
| 9907 | $(Q) $(LDXX) $(LDFLAGS) $(NANOPB_FUZZER_RESPONSE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test |
| 9908 | |
| 9909 | endif |
| 9910 | |
| 9911 | $(OBJDIR)/$(CONFIG)/test/core/nanopb/fuzzer_response.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9912 | |
| 9913 | deps_nanopb_fuzzer_response_test: $(NANOPB_FUZZER_RESPONSE_TEST_OBJS:.o=.dep) |
| 9914 | |
| 9915 | ifneq ($(NO_SECURE),true) |
| 9916 | ifneq ($(NO_DEPS),true) |
| 9917 | -include $(NANOPB_FUZZER_RESPONSE_TEST_OBJS:.o=.dep) |
| 9918 | endif |
| 9919 | endif |
| 9920 | |
| 9921 | |
| 9922 | NANOPB_FUZZER_SERVERLIST_TEST_SRC = \ |
| 9923 | test/core/nanopb/fuzzer_serverlist.c \ |
| 9924 | |
| 9925 | NANOPB_FUZZER_SERVERLIST_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_SERVERLIST_TEST_SRC)))) |
| 9926 | ifeq ($(NO_SECURE),true) |
| 9927 | |
| 9928 | # You can't build secure targets if you don't have OpenSSL. |
| 9929 | |
| 9930 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test: openssl_dep_error |
| 9931 | |
| 9932 | else |
| 9933 | |
| 9934 | |
| 9935 | |
| 9936 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test: $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9937 | $(E) "[LD] Linking $@" |
| 9938 | $(Q) mkdir -p `dirname $@` |
| 9939 | $(Q) $(LDXX) $(LDFLAGS) $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test |
| 9940 | |
| 9941 | endif |
| 9942 | |
| 9943 | $(OBJDIR)/$(CONFIG)/test/core/nanopb/fuzzer_serverlist.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 9944 | |
| 9945 | deps_nanopb_fuzzer_serverlist_test: $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS:.o=.dep) |
| 9946 | |
| 9947 | ifneq ($(NO_SECURE),true) |
| 9948 | ifneq ($(NO_DEPS),true) |
| 9949 | -include $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS:.o=.dep) |
| 9950 | endif |
| 9951 | endif |
| 9952 | |
| 9953 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9954 | NO_SERVER_TEST_SRC = \ |
| 9955 | test/core/end2end/no_server_test.c \ |
| 9956 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9957 | NO_SERVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NO_SERVER_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9958 | ifeq ($(NO_SECURE),true) |
| 9959 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9960 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9961 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9962 | $(BINDIR)/$(CONFIG)/no_server_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9963 | |
| 9964 | else |
| 9965 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9966 | |
| 9967 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9968 | $(BINDIR)/$(CONFIG)/no_server_test: $(NO_SERVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9969 | $(E) "[LD] Linking $@" |
| 9970 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9971 | $(Q) $(LD) $(LDFLAGS) $(NO_SERVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/no_server_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9972 | |
| 9973 | endif |
| 9974 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9975 | $(OBJDIR)/$(CONFIG)/test/core/end2end/no_server_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 9976 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9977 | deps_no_server_test: $(NO_SERVER_TEST_OBJS:.o=.dep) |
| 9978 | |
| 9979 | ifneq ($(NO_SECURE),true) |
| 9980 | ifneq ($(NO_DEPS),true) |
| 9981 | -include $(NO_SERVER_TEST_OBJS:.o=.dep) |
| 9982 | endif |
| 9983 | endif |
| 9984 | |
| 9985 | |
Craig Tiller | 17ed6b1 | 2016-08-18 09:33:33 -0700 | [diff] [blame] | 9986 | PERCENT_DECODE_FUZZER_SRC = \ |
| 9987 | test/core/support/percent_decode_fuzzer.c \ |
| 9988 | |
| 9989 | PERCENT_DECODE_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(PERCENT_DECODE_FUZZER_SRC)))) |
| 9990 | ifeq ($(NO_SECURE),true) |
| 9991 | |
| 9992 | # You can't build secure targets if you don't have OpenSSL. |
| 9993 | |
| 9994 | $(BINDIR)/$(CONFIG)/percent_decode_fuzzer: openssl_dep_error |
| 9995 | |
| 9996 | else |
| 9997 | |
| 9998 | |
| 9999 | |
| 10000 | $(BINDIR)/$(CONFIG)/percent_decode_fuzzer: $(PERCENT_DECODE_FUZZER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10001 | $(E) "[LD] Linking $@" |
| 10002 | $(Q) mkdir -p `dirname $@` |
| 10003 | $(Q) $(LDXX) $(LDFLAGS) $(PERCENT_DECODE_FUZZER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/percent_decode_fuzzer |
| 10004 | |
| 10005 | endif |
| 10006 | |
| 10007 | $(OBJDIR)/$(CONFIG)/test/core/support/percent_decode_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10008 | |
| 10009 | deps_percent_decode_fuzzer: $(PERCENT_DECODE_FUZZER_OBJS:.o=.dep) |
| 10010 | |
| 10011 | ifneq ($(NO_SECURE),true) |
| 10012 | ifneq ($(NO_DEPS),true) |
| 10013 | -include $(PERCENT_DECODE_FUZZER_OBJS:.o=.dep) |
| 10014 | endif |
| 10015 | endif |
| 10016 | |
| 10017 | |
| 10018 | PERCENT_ENCODE_FUZZER_SRC = \ |
| 10019 | test/core/support/percent_encode_fuzzer.c \ |
| 10020 | |
| 10021 | PERCENT_ENCODE_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(PERCENT_ENCODE_FUZZER_SRC)))) |
| 10022 | ifeq ($(NO_SECURE),true) |
| 10023 | |
| 10024 | # You can't build secure targets if you don't have OpenSSL. |
| 10025 | |
| 10026 | $(BINDIR)/$(CONFIG)/percent_encode_fuzzer: openssl_dep_error |
| 10027 | |
| 10028 | else |
| 10029 | |
| 10030 | |
| 10031 | |
| 10032 | $(BINDIR)/$(CONFIG)/percent_encode_fuzzer: $(PERCENT_ENCODE_FUZZER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10033 | $(E) "[LD] Linking $@" |
| 10034 | $(Q) mkdir -p `dirname $@` |
| 10035 | $(Q) $(LDXX) $(LDFLAGS) $(PERCENT_ENCODE_FUZZER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/percent_encode_fuzzer |
| 10036 | |
| 10037 | endif |
| 10038 | |
| 10039 | $(OBJDIR)/$(CONFIG)/test/core/support/percent_encode_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10040 | |
| 10041 | deps_percent_encode_fuzzer: $(PERCENT_ENCODE_FUZZER_OBJS:.o=.dep) |
| 10042 | |
| 10043 | ifneq ($(NO_SECURE),true) |
| 10044 | ifneq ($(NO_DEPS),true) |
| 10045 | -include $(PERCENT_ENCODE_FUZZER_OBJS:.o=.dep) |
| 10046 | endif |
| 10047 | endif |
| 10048 | |
| 10049 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10050 | RESOLVE_ADDRESS_TEST_SRC = \ |
| 10051 | test/core/iomgr/resolve_address_test.c \ |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10052 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10053 | RESOLVE_ADDRESS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10054 | ifeq ($(NO_SECURE),true) |
| 10055 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10056 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 10057 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10058 | $(BINDIR)/$(CONFIG)/resolve_address_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10059 | |
| 10060 | else |
| 10061 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10062 | |
| 10063 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10064 | $(BINDIR)/$(CONFIG)/resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10065 | $(E) "[LD] Linking $@" |
| 10066 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10067 | $(Q) $(LD) $(LDFLAGS) $(RESOLVE_ADDRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/resolve_address_test |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10068 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10069 | endif |
| 10070 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10071 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/resolve_address_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10072 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10073 | deps_resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10074 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10075 | ifneq ($(NO_SECURE),true) |
| 10076 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10077 | -include $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10078 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10079 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10080 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10081 | |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 10082 | SECURE_CHANNEL_CREATE_TEST_SRC = \ |
| 10083 | test/core/surface/secure_channel_create_test.c \ |
| 10084 | |
| 10085 | SECURE_CHANNEL_CREATE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_CHANNEL_CREATE_TEST_SRC)))) |
| 10086 | ifeq ($(NO_SECURE),true) |
| 10087 | |
| 10088 | # You can't build secure targets if you don't have OpenSSL. |
| 10089 | |
| 10090 | $(BINDIR)/$(CONFIG)/secure_channel_create_test: openssl_dep_error |
| 10091 | |
| 10092 | else |
| 10093 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10094 | |
| 10095 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10096 | $(BINDIR)/$(CONFIG)/secure_channel_create_test: $(SECURE_CHANNEL_CREATE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 10097 | $(E) "[LD] Linking $@" |
| 10098 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10099 | $(Q) $(LD) $(LDFLAGS) $(SECURE_CHANNEL_CREATE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/secure_channel_create_test |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 10100 | |
| 10101 | endif |
| 10102 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10103 | $(OBJDIR)/$(CONFIG)/test/core/surface/secure_channel_create_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10104 | |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 10105 | deps_secure_channel_create_test: $(SECURE_CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 10106 | |
| 10107 | ifneq ($(NO_SECURE),true) |
| 10108 | ifneq ($(NO_DEPS),true) |
| 10109 | -include $(SECURE_CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 10110 | endif |
| 10111 | endif |
| 10112 | |
| 10113 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10114 | SECURE_ENDPOINT_TEST_SRC = \ |
| 10115 | test/core/security/secure_endpoint_test.c \ |
| 10116 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10117 | SECURE_ENDPOINT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_ENDPOINT_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10118 | ifeq ($(NO_SECURE),true) |
| 10119 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10120 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 10121 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10122 | $(BINDIR)/$(CONFIG)/secure_endpoint_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10123 | |
| 10124 | else |
| 10125 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10126 | |
| 10127 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10128 | $(BINDIR)/$(CONFIG)/secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10129 | $(E) "[LD] Linking $@" |
| 10130 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10131 | $(Q) $(LD) $(LDFLAGS) $(SECURE_ENDPOINT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/secure_endpoint_test |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10132 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10133 | endif |
| 10134 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10135 | $(OBJDIR)/$(CONFIG)/test/core/security/secure_endpoint_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10136 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10137 | deps_secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10138 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10139 | ifneq ($(NO_SECURE),true) |
| 10140 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10141 | -include $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10142 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10143 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10144 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10145 | |
Craig Tiller | dbaf05e | 2016-06-12 22:16:56 -0700 | [diff] [blame] | 10146 | SEQUENTIAL_CONNECTIVITY_TEST_SRC = \ |
| 10147 | test/core/surface/sequential_connectivity_test.c \ |
| 10148 | |
| 10149 | SEQUENTIAL_CONNECTIVITY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SEQUENTIAL_CONNECTIVITY_TEST_SRC)))) |
| 10150 | ifeq ($(NO_SECURE),true) |
| 10151 | |
| 10152 | # You can't build secure targets if you don't have OpenSSL. |
| 10153 | |
| 10154 | $(BINDIR)/$(CONFIG)/sequential_connectivity_test: openssl_dep_error |
| 10155 | |
| 10156 | else |
| 10157 | |
| 10158 | |
| 10159 | |
| 10160 | $(BINDIR)/$(CONFIG)/sequential_connectivity_test: $(SEQUENTIAL_CONNECTIVITY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10161 | $(E) "[LD] Linking $@" |
| 10162 | $(Q) mkdir -p `dirname $@` |
| 10163 | $(Q) $(LD) $(LDFLAGS) $(SEQUENTIAL_CONNECTIVITY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/sequential_connectivity_test |
| 10164 | |
| 10165 | endif |
| 10166 | |
| 10167 | $(OBJDIR)/$(CONFIG)/test/core/surface/sequential_connectivity_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10168 | |
| 10169 | deps_sequential_connectivity_test: $(SEQUENTIAL_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 10170 | |
| 10171 | ifneq ($(NO_SECURE),true) |
| 10172 | ifneq ($(NO_DEPS),true) |
| 10173 | -include $(SEQUENTIAL_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 10174 | endif |
| 10175 | endif |
| 10176 | |
| 10177 | |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 10178 | SERVER_CHTTP2_TEST_SRC = \ |
| 10179 | test/core/surface/server_chttp2_test.c \ |
| 10180 | |
| 10181 | SERVER_CHTTP2_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_CHTTP2_TEST_SRC)))) |
| 10182 | ifeq ($(NO_SECURE),true) |
| 10183 | |
| 10184 | # You can't build secure targets if you don't have OpenSSL. |
| 10185 | |
| 10186 | $(BINDIR)/$(CONFIG)/server_chttp2_test: openssl_dep_error |
| 10187 | |
| 10188 | else |
| 10189 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10190 | |
| 10191 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10192 | $(BINDIR)/$(CONFIG)/server_chttp2_test: $(SERVER_CHTTP2_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 10193 | $(E) "[LD] Linking $@" |
| 10194 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10195 | $(Q) $(LD) $(LDFLAGS) $(SERVER_CHTTP2_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/server_chttp2_test |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 10196 | |
| 10197 | endif |
| 10198 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10199 | $(OBJDIR)/$(CONFIG)/test/core/surface/server_chttp2_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10200 | |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 10201 | deps_server_chttp2_test: $(SERVER_CHTTP2_TEST_OBJS:.o=.dep) |
| 10202 | |
| 10203 | ifneq ($(NO_SECURE),true) |
| 10204 | ifneq ($(NO_DEPS),true) |
| 10205 | -include $(SERVER_CHTTP2_TEST_OBJS:.o=.dep) |
| 10206 | endif |
| 10207 | endif |
| 10208 | |
| 10209 | |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 10210 | SERVER_FUZZER_SRC = \ |
| 10211 | test/core/end2end/fuzzers/server_fuzzer.c \ |
| 10212 | |
| 10213 | SERVER_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_FUZZER_SRC)))) |
| 10214 | ifeq ($(NO_SECURE),true) |
| 10215 | |
| 10216 | # You can't build secure targets if you don't have OpenSSL. |
| 10217 | |
| 10218 | $(BINDIR)/$(CONFIG)/server_fuzzer: openssl_dep_error |
| 10219 | |
| 10220 | else |
| 10221 | |
| 10222 | |
| 10223 | |
| 10224 | $(BINDIR)/$(CONFIG)/server_fuzzer: $(SERVER_FUZZER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10225 | $(E) "[LD] Linking $@" |
| 10226 | $(Q) mkdir -p `dirname $@` |
| 10227 | $(Q) $(LDXX) $(LDFLAGS) $(SERVER_FUZZER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/server_fuzzer |
| 10228 | |
| 10229 | endif |
| 10230 | |
| 10231 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fuzzers/server_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10232 | |
| 10233 | deps_server_fuzzer: $(SERVER_FUZZER_OBJS:.o=.dep) |
| 10234 | |
| 10235 | ifneq ($(NO_SECURE),true) |
| 10236 | ifneq ($(NO_DEPS),true) |
| 10237 | -include $(SERVER_FUZZER_OBJS:.o=.dep) |
| 10238 | endif |
| 10239 | endif |
| 10240 | |
| 10241 | |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 10242 | SERVER_TEST_SRC = \ |
| 10243 | test/core/surface/server_test.c \ |
| 10244 | |
| 10245 | SERVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_TEST_SRC)))) |
| 10246 | ifeq ($(NO_SECURE),true) |
| 10247 | |
| 10248 | # You can't build secure targets if you don't have OpenSSL. |
| 10249 | |
| 10250 | $(BINDIR)/$(CONFIG)/server_test: openssl_dep_error |
| 10251 | |
| 10252 | else |
| 10253 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10254 | |
| 10255 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10256 | $(BINDIR)/$(CONFIG)/server_test: $(SERVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 10257 | $(E) "[LD] Linking $@" |
| 10258 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10259 | $(Q) $(LD) $(LDFLAGS) $(SERVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/server_test |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 10260 | |
| 10261 | endif |
| 10262 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10263 | $(OBJDIR)/$(CONFIG)/test/core/surface/server_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10264 | |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 10265 | deps_server_test: $(SERVER_TEST_OBJS:.o=.dep) |
| 10266 | |
| 10267 | ifneq ($(NO_SECURE),true) |
| 10268 | ifneq ($(NO_DEPS),true) |
| 10269 | -include $(SERVER_TEST_OBJS:.o=.dep) |
| 10270 | endif |
| 10271 | endif |
| 10272 | |
| 10273 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 10274 | SET_INITIAL_CONNECT_STRING_TEST_SRC = \ |
| 10275 | test/core/client_config/set_initial_connect_string_test.c \ |
| 10276 | |
| 10277 | SET_INITIAL_CONNECT_STRING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SET_INITIAL_CONNECT_STRING_TEST_SRC)))) |
| 10278 | ifeq ($(NO_SECURE),true) |
| 10279 | |
| 10280 | # You can't build secure targets if you don't have OpenSSL. |
| 10281 | |
| 10282 | $(BINDIR)/$(CONFIG)/set_initial_connect_string_test: openssl_dep_error |
| 10283 | |
| 10284 | else |
| 10285 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10286 | |
| 10287 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10288 | $(BINDIR)/$(CONFIG)/set_initial_connect_string_test: $(SET_INITIAL_CONNECT_STRING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 10289 | $(E) "[LD] Linking $@" |
| 10290 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10291 | $(Q) $(LD) $(LDFLAGS) $(SET_INITIAL_CONNECT_STRING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/set_initial_connect_string_test |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 10292 | |
| 10293 | endif |
| 10294 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10295 | $(OBJDIR)/$(CONFIG)/test/core/client_config/set_initial_connect_string_test.o: $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10296 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 10297 | deps_set_initial_connect_string_test: $(SET_INITIAL_CONNECT_STRING_TEST_OBJS:.o=.dep) |
| 10298 | |
| 10299 | ifneq ($(NO_SECURE),true) |
| 10300 | ifneq ($(NO_DEPS),true) |
| 10301 | -include $(SET_INITIAL_CONNECT_STRING_TEST_OBJS:.o=.dep) |
| 10302 | endif |
| 10303 | endif |
| 10304 | |
| 10305 | |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 10306 | SOCKADDR_RESOLVER_TEST_SRC = \ |
| 10307 | test/core/client_config/resolvers/sockaddr_resolver_test.c \ |
| 10308 | |
| 10309 | SOCKADDR_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKADDR_RESOLVER_TEST_SRC)))) |
| 10310 | ifeq ($(NO_SECURE),true) |
| 10311 | |
| 10312 | # You can't build secure targets if you don't have OpenSSL. |
| 10313 | |
| 10314 | $(BINDIR)/$(CONFIG)/sockaddr_resolver_test: openssl_dep_error |
| 10315 | |
| 10316 | else |
| 10317 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10318 | |
| 10319 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10320 | $(BINDIR)/$(CONFIG)/sockaddr_resolver_test: $(SOCKADDR_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 10321 | $(E) "[LD] Linking $@" |
| 10322 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10323 | $(Q) $(LD) $(LDFLAGS) $(SOCKADDR_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/sockaddr_resolver_test |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 10324 | |
| 10325 | endif |
| 10326 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10327 | $(OBJDIR)/$(CONFIG)/test/core/client_config/resolvers/sockaddr_resolver_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10328 | |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 10329 | deps_sockaddr_resolver_test: $(SOCKADDR_RESOLVER_TEST_OBJS:.o=.dep) |
| 10330 | |
| 10331 | ifneq ($(NO_SECURE),true) |
| 10332 | ifneq ($(NO_DEPS),true) |
| 10333 | -include $(SOCKADDR_RESOLVER_TEST_OBJS:.o=.dep) |
| 10334 | endif |
| 10335 | endif |
| 10336 | |
| 10337 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10338 | SOCKADDR_UTILS_TEST_SRC = \ |
| 10339 | test/core/iomgr/sockaddr_utils_test.c \ |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10340 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10341 | SOCKADDR_UTILS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKADDR_UTILS_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10342 | ifeq ($(NO_SECURE),true) |
| 10343 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10344 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 10345 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10346 | $(BINDIR)/$(CONFIG)/sockaddr_utils_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10347 | |
| 10348 | else |
| 10349 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10350 | |
| 10351 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10352 | $(BINDIR)/$(CONFIG)/sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10353 | $(E) "[LD] Linking $@" |
| 10354 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10355 | $(Q) $(LD) $(LDFLAGS) $(SOCKADDR_UTILS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/sockaddr_utils_test |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10356 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10357 | endif |
| 10358 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10359 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/sockaddr_utils_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10360 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10361 | deps_sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10362 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10363 | ifneq ($(NO_SECURE),true) |
| 10364 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10365 | -include $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10366 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10367 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10368 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10369 | |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 10370 | SOCKET_UTILS_TEST_SRC = \ |
| 10371 | test/core/iomgr/socket_utils_test.c \ |
| 10372 | |
| 10373 | SOCKET_UTILS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKET_UTILS_TEST_SRC)))) |
| 10374 | ifeq ($(NO_SECURE),true) |
| 10375 | |
| 10376 | # You can't build secure targets if you don't have OpenSSL. |
| 10377 | |
| 10378 | $(BINDIR)/$(CONFIG)/socket_utils_test: openssl_dep_error |
| 10379 | |
| 10380 | else |
| 10381 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10382 | |
| 10383 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10384 | $(BINDIR)/$(CONFIG)/socket_utils_test: $(SOCKET_UTILS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 10385 | $(E) "[LD] Linking $@" |
| 10386 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10387 | $(Q) $(LD) $(LDFLAGS) $(SOCKET_UTILS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/socket_utils_test |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 10388 | |
| 10389 | endif |
| 10390 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10391 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/socket_utils_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10392 | |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 10393 | deps_socket_utils_test: $(SOCKET_UTILS_TEST_OBJS:.o=.dep) |
| 10394 | |
| 10395 | ifneq ($(NO_SECURE),true) |
| 10396 | ifneq ($(NO_DEPS),true) |
| 10397 | -include $(SOCKET_UTILS_TEST_OBJS:.o=.dep) |
| 10398 | endif |
| 10399 | endif |
| 10400 | |
| 10401 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10402 | TCP_CLIENT_POSIX_TEST_SRC = \ |
| 10403 | test/core/iomgr/tcp_client_posix_test.c \ |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10404 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10405 | TCP_CLIENT_POSIX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_CLIENT_POSIX_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10406 | ifeq ($(NO_SECURE),true) |
| 10407 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10408 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 10409 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10410 | $(BINDIR)/$(CONFIG)/tcp_client_posix_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10411 | |
| 10412 | else |
| 10413 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10414 | |
| 10415 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10416 | $(BINDIR)/$(CONFIG)/tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10417 | $(E) "[LD] Linking $@" |
| 10418 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10419 | $(Q) $(LD) $(LDFLAGS) $(TCP_CLIENT_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/tcp_client_posix_test |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10420 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10421 | endif |
| 10422 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10423 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/tcp_client_posix_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10424 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10425 | deps_tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10426 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10427 | ifneq ($(NO_SECURE),true) |
| 10428 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10429 | -include $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10430 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 10431 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10432 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 10433 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10434 | TCP_POSIX_TEST_SRC = \ |
| 10435 | test/core/iomgr/tcp_posix_test.c \ |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10436 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10437 | TCP_POSIX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_POSIX_TEST_SRC)))) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10438 | ifeq ($(NO_SECURE),true) |
| 10439 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10440 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 10441 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10442 | $(BINDIR)/$(CONFIG)/tcp_posix_test: openssl_dep_error |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10443 | |
| 10444 | else |
| 10445 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10446 | |
| 10447 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10448 | $(BINDIR)/$(CONFIG)/tcp_posix_test: $(TCP_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10449 | $(E) "[LD] Linking $@" |
| 10450 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10451 | $(Q) $(LD) $(LDFLAGS) $(TCP_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/tcp_posix_test |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10452 | |
| 10453 | endif |
| 10454 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10455 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/tcp_posix_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10456 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10457 | deps_tcp_posix_test: $(TCP_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10458 | |
| 10459 | ifneq ($(NO_SECURE),true) |
| 10460 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10461 | -include $(TCP_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10462 | endif |
| 10463 | endif |
| 10464 | |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10465 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10466 | TCP_SERVER_POSIX_TEST_SRC = \ |
| 10467 | test/core/iomgr/tcp_server_posix_test.c \ |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10468 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10469 | TCP_SERVER_POSIX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TCP_SERVER_POSIX_TEST_SRC)))) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10470 | ifeq ($(NO_SECURE),true) |
| 10471 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10472 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 10473 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10474 | $(BINDIR)/$(CONFIG)/tcp_server_posix_test: openssl_dep_error |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10475 | |
| 10476 | else |
| 10477 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10478 | |
| 10479 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10480 | $(BINDIR)/$(CONFIG)/tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10481 | $(E) "[LD] Linking $@" |
| 10482 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10483 | $(Q) $(LD) $(LDFLAGS) $(TCP_SERVER_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/tcp_server_posix_test |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10484 | |
| 10485 | endif |
| 10486 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10487 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/tcp_server_posix_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10488 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10489 | deps_tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10490 | |
| 10491 | ifneq ($(NO_SECURE),true) |
| 10492 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10493 | -include $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep) |
| 10494 | endif |
| 10495 | endif |
| 10496 | |
| 10497 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10498 | TIME_AVERAGED_STATS_TEST_SRC = \ |
| 10499 | test/core/iomgr/time_averaged_stats_test.c \ |
| 10500 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10501 | TIME_AVERAGED_STATS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIME_AVERAGED_STATS_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10502 | ifeq ($(NO_SECURE),true) |
| 10503 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10504 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10505 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10506 | $(BINDIR)/$(CONFIG)/time_averaged_stats_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10507 | |
| 10508 | else |
| 10509 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10510 | |
| 10511 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10512 | $(BINDIR)/$(CONFIG)/time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10513 | $(E) "[LD] Linking $@" |
| 10514 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10515 | $(Q) $(LD) $(LDFLAGS) $(TIME_AVERAGED_STATS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/time_averaged_stats_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10516 | |
| 10517 | endif |
| 10518 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10519 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/time_averaged_stats_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10520 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10521 | deps_time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep) |
| 10522 | |
| 10523 | ifneq ($(NO_SECURE),true) |
| 10524 | ifneq ($(NO_DEPS),true) |
| 10525 | -include $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10526 | endif |
| 10527 | endif |
| 10528 | |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 10529 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10530 | TIMEOUT_ENCODING_TEST_SRC = \ |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 10531 | test/core/transport/timeout_encoding_test.c \ |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 10532 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10533 | TIMEOUT_ENCODING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMEOUT_ENCODING_TEST_SRC)))) |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 10534 | ifeq ($(NO_SECURE),true) |
| 10535 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10536 | # You can't build secure targets if you don't have OpenSSL. |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 10537 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10538 | $(BINDIR)/$(CONFIG)/timeout_encoding_test: openssl_dep_error |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 10539 | |
| 10540 | else |
| 10541 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10542 | |
| 10543 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10544 | $(BINDIR)/$(CONFIG)/timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 10545 | $(E) "[LD] Linking $@" |
| 10546 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10547 | $(Q) $(LD) $(LDFLAGS) $(TIMEOUT_ENCODING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/timeout_encoding_test |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 10548 | |
| 10549 | endif |
| 10550 | |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 10551 | $(OBJDIR)/$(CONFIG)/test/core/transport/timeout_encoding_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10552 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10553 | deps_timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep) |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 10554 | |
| 10555 | ifneq ($(NO_SECURE),true) |
| 10556 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10557 | -include $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep) |
| 10558 | endif |
| 10559 | endif |
| 10560 | |
| 10561 | |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 10562 | TIMER_HEAP_TEST_SRC = \ |
| 10563 | test/core/iomgr/timer_heap_test.c \ |
| 10564 | |
| 10565 | TIMER_HEAP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMER_HEAP_TEST_SRC)))) |
| 10566 | ifeq ($(NO_SECURE),true) |
| 10567 | |
| 10568 | # You can't build secure targets if you don't have OpenSSL. |
| 10569 | |
| 10570 | $(BINDIR)/$(CONFIG)/timer_heap_test: openssl_dep_error |
| 10571 | |
| 10572 | else |
| 10573 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10574 | |
| 10575 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10576 | $(BINDIR)/$(CONFIG)/timer_heap_test: $(TIMER_HEAP_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 10577 | $(E) "[LD] Linking $@" |
| 10578 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10579 | $(Q) $(LD) $(LDFLAGS) $(TIMER_HEAP_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/timer_heap_test |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 10580 | |
| 10581 | endif |
| 10582 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10583 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/timer_heap_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10584 | |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 10585 | deps_timer_heap_test: $(TIMER_HEAP_TEST_OBJS:.o=.dep) |
| 10586 | |
| 10587 | ifneq ($(NO_SECURE),true) |
| 10588 | ifneq ($(NO_DEPS),true) |
| 10589 | -include $(TIMER_HEAP_TEST_OBJS:.o=.dep) |
| 10590 | endif |
| 10591 | endif |
| 10592 | |
| 10593 | |
| 10594 | TIMER_LIST_TEST_SRC = \ |
| 10595 | test/core/iomgr/timer_list_test.c \ |
| 10596 | |
| 10597 | TIMER_LIST_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMER_LIST_TEST_SRC)))) |
| 10598 | ifeq ($(NO_SECURE),true) |
| 10599 | |
| 10600 | # You can't build secure targets if you don't have OpenSSL. |
| 10601 | |
| 10602 | $(BINDIR)/$(CONFIG)/timer_list_test: openssl_dep_error |
| 10603 | |
| 10604 | else |
| 10605 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10606 | |
| 10607 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10608 | $(BINDIR)/$(CONFIG)/timer_list_test: $(TIMER_LIST_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 10609 | $(E) "[LD] Linking $@" |
| 10610 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10611 | $(Q) $(LD) $(LDFLAGS) $(TIMER_LIST_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/timer_list_test |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 10612 | |
| 10613 | endif |
| 10614 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10615 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/timer_list_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10616 | |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 10617 | deps_timer_list_test: $(TIMER_LIST_TEST_OBJS:.o=.dep) |
| 10618 | |
| 10619 | ifneq ($(NO_SECURE),true) |
| 10620 | ifneq ($(NO_DEPS),true) |
| 10621 | -include $(TIMER_LIST_TEST_OBJS:.o=.dep) |
| 10622 | endif |
| 10623 | endif |
| 10624 | |
| 10625 | |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 10626 | TRANSPORT_CONNECTIVITY_STATE_TEST_SRC = \ |
| 10627 | test/core/transport/connectivity_state_test.c \ |
| 10628 | |
| 10629 | TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_CONNECTIVITY_STATE_TEST_SRC)))) |
| 10630 | ifeq ($(NO_SECURE),true) |
| 10631 | |
| 10632 | # You can't build secure targets if you don't have OpenSSL. |
| 10633 | |
| 10634 | $(BINDIR)/$(CONFIG)/transport_connectivity_state_test: openssl_dep_error |
| 10635 | |
| 10636 | else |
| 10637 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10638 | |
| 10639 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10640 | $(BINDIR)/$(CONFIG)/transport_connectivity_state_test: $(TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 10641 | $(E) "[LD] Linking $@" |
| 10642 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10643 | $(Q) $(LD) $(LDFLAGS) $(TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/transport_connectivity_state_test |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 10644 | |
| 10645 | endif |
| 10646 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10647 | $(OBJDIR)/$(CONFIG)/test/core/transport/connectivity_state_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10648 | |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 10649 | deps_transport_connectivity_state_test: $(TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS:.o=.dep) |
| 10650 | |
| 10651 | ifneq ($(NO_SECURE),true) |
| 10652 | ifneq ($(NO_DEPS),true) |
| 10653 | -include $(TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS:.o=.dep) |
| 10654 | endif |
| 10655 | endif |
| 10656 | |
| 10657 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10658 | TRANSPORT_METADATA_TEST_SRC = \ |
| 10659 | test/core/transport/metadata_test.c \ |
| 10660 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10661 | TRANSPORT_METADATA_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_METADATA_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10662 | ifeq ($(NO_SECURE),true) |
| 10663 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10664 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10665 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10666 | $(BINDIR)/$(CONFIG)/transport_metadata_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10667 | |
| 10668 | else |
| 10669 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10670 | |
| 10671 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10672 | $(BINDIR)/$(CONFIG)/transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10673 | $(E) "[LD] Linking $@" |
| 10674 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10675 | $(Q) $(LD) $(LDFLAGS) $(TRANSPORT_METADATA_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/transport_metadata_test |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10676 | |
| 10677 | endif |
| 10678 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10679 | $(OBJDIR)/$(CONFIG)/test/core/transport/metadata_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10680 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10681 | deps_transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep) |
| 10682 | |
| 10683 | ifneq ($(NO_SECURE),true) |
| 10684 | ifneq ($(NO_DEPS),true) |
| 10685 | -include $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep) |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 10686 | endif |
| 10687 | endif |
| 10688 | |
| 10689 | |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 10690 | TRANSPORT_SECURITY_TEST_SRC = \ |
| 10691 | test/core/tsi/transport_security_test.c \ |
| 10692 | |
| 10693 | TRANSPORT_SECURITY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_SECURITY_TEST_SRC)))) |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 10694 | ifeq ($(NO_SECURE),true) |
| 10695 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10696 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 10697 | |
| 10698 | $(BINDIR)/$(CONFIG)/transport_security_test: openssl_dep_error |
| 10699 | |
| 10700 | else |
| 10701 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10702 | |
| 10703 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10704 | $(BINDIR)/$(CONFIG)/transport_security_test: $(TRANSPORT_SECURITY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 10705 | $(E) "[LD] Linking $@" |
| 10706 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10707 | $(Q) $(LD) $(LDFLAGS) $(TRANSPORT_SECURITY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/transport_security_test |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 10708 | |
| 10709 | endif |
| 10710 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10711 | $(OBJDIR)/$(CONFIG)/test/core/tsi/transport_security_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10712 | |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 10713 | deps_transport_security_test: $(TRANSPORT_SECURITY_TEST_OBJS:.o=.dep) |
| 10714 | |
| 10715 | ifneq ($(NO_SECURE),true) |
| 10716 | ifneq ($(NO_DEPS),true) |
| 10717 | -include $(TRANSPORT_SECURITY_TEST_OBJS:.o=.dep) |
| 10718 | endif |
| 10719 | endif |
| 10720 | |
| 10721 | |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 10722 | UDP_SERVER_TEST_SRC = \ |
| 10723 | test/core/iomgr/udp_server_test.c \ |
| 10724 | |
| 10725 | UDP_SERVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(UDP_SERVER_TEST_SRC)))) |
| 10726 | ifeq ($(NO_SECURE),true) |
| 10727 | |
| 10728 | # You can't build secure targets if you don't have OpenSSL. |
| 10729 | |
| 10730 | $(BINDIR)/$(CONFIG)/udp_server_test: openssl_dep_error |
| 10731 | |
| 10732 | else |
| 10733 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10734 | |
| 10735 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10736 | $(BINDIR)/$(CONFIG)/udp_server_test: $(UDP_SERVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 10737 | $(E) "[LD] Linking $@" |
| 10738 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10739 | $(Q) $(LD) $(LDFLAGS) $(UDP_SERVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/udp_server_test |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 10740 | |
| 10741 | endif |
| 10742 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10743 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/udp_server_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10744 | |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 10745 | deps_udp_server_test: $(UDP_SERVER_TEST_OBJS:.o=.dep) |
| 10746 | |
| 10747 | ifneq ($(NO_SECURE),true) |
| 10748 | ifneq ($(NO_DEPS),true) |
| 10749 | -include $(UDP_SERVER_TEST_OBJS:.o=.dep) |
| 10750 | endif |
| 10751 | endif |
| 10752 | |
| 10753 | |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 10754 | URI_FUZZER_TEST_SRC = \ |
| 10755 | test/core/client_config/uri_fuzzer_test.c \ |
| 10756 | |
| 10757 | URI_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(URI_FUZZER_TEST_SRC)))) |
| 10758 | ifeq ($(NO_SECURE),true) |
| 10759 | |
| 10760 | # You can't build secure targets if you don't have OpenSSL. |
| 10761 | |
| 10762 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test: openssl_dep_error |
| 10763 | |
| 10764 | else |
| 10765 | |
| 10766 | |
| 10767 | |
| 10768 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test: $(URI_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10769 | $(E) "[LD] Linking $@" |
| 10770 | $(Q) mkdir -p `dirname $@` |
| 10771 | $(Q) $(LDXX) $(LDFLAGS) $(URI_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/uri_fuzzer_test |
| 10772 | |
| 10773 | endif |
| 10774 | |
| 10775 | $(OBJDIR)/$(CONFIG)/test/core/client_config/uri_fuzzer_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10776 | |
| 10777 | deps_uri_fuzzer_test: $(URI_FUZZER_TEST_OBJS:.o=.dep) |
| 10778 | |
| 10779 | ifneq ($(NO_SECURE),true) |
| 10780 | ifneq ($(NO_DEPS),true) |
| 10781 | -include $(URI_FUZZER_TEST_OBJS:.o=.dep) |
| 10782 | endif |
| 10783 | endif |
| 10784 | |
| 10785 | |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 10786 | URI_PARSER_TEST_SRC = \ |
| 10787 | test/core/client_config/uri_parser_test.c \ |
| 10788 | |
| 10789 | URI_PARSER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(URI_PARSER_TEST_SRC)))) |
| 10790 | ifeq ($(NO_SECURE),true) |
| 10791 | |
Craig Tiller | 8ebc34d | 2015-07-08 07:46:04 -0700 | [diff] [blame] | 10792 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 10793 | |
| 10794 | $(BINDIR)/$(CONFIG)/uri_parser_test: openssl_dep_error |
| 10795 | |
| 10796 | else |
| 10797 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10798 | |
| 10799 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10800 | $(BINDIR)/$(CONFIG)/uri_parser_test: $(URI_PARSER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 10801 | $(E) "[LD] Linking $@" |
| 10802 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10803 | $(Q) $(LD) $(LDFLAGS) $(URI_PARSER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/uri_parser_test |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 10804 | |
| 10805 | endif |
| 10806 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10807 | $(OBJDIR)/$(CONFIG)/test/core/client_config/uri_parser_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10808 | |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 10809 | deps_uri_parser_test: $(URI_PARSER_TEST_OBJS:.o=.dep) |
| 10810 | |
| 10811 | ifneq ($(NO_SECURE),true) |
| 10812 | ifneq ($(NO_DEPS),true) |
| 10813 | -include $(URI_PARSER_TEST_OBJS:.o=.dep) |
| 10814 | endif |
| 10815 | endif |
| 10816 | |
| 10817 | |
kpayson64 | d195cf5 | 2016-10-09 18:04:00 -0700 | [diff] [blame] | 10818 | WAKEUP_FD_CV_TEST_SRC = \ |
| 10819 | test/core/iomgr/wakeup_fd_cv_test.c \ |
| 10820 | |
| 10821 | WAKEUP_FD_CV_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(WAKEUP_FD_CV_TEST_SRC)))) |
| 10822 | ifeq ($(NO_SECURE),true) |
| 10823 | |
| 10824 | # You can't build secure targets if you don't have OpenSSL. |
| 10825 | |
| 10826 | $(BINDIR)/$(CONFIG)/wakeup_fd_cv_test: openssl_dep_error |
| 10827 | |
| 10828 | else |
| 10829 | |
| 10830 | |
| 10831 | |
| 10832 | $(BINDIR)/$(CONFIG)/wakeup_fd_cv_test: $(WAKEUP_FD_CV_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10833 | $(E) "[LD] Linking $@" |
| 10834 | $(Q) mkdir -p `dirname $@` |
| 10835 | $(Q) $(LD) $(LDFLAGS) $(WAKEUP_FD_CV_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/wakeup_fd_cv_test |
| 10836 | |
| 10837 | endif |
| 10838 | |
| 10839 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/wakeup_fd_cv_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10840 | |
| 10841 | deps_wakeup_fd_cv_test: $(WAKEUP_FD_CV_TEST_OBJS:.o=.dep) |
| 10842 | |
| 10843 | ifneq ($(NO_SECURE),true) |
| 10844 | ifneq ($(NO_DEPS),true) |
| 10845 | -include $(WAKEUP_FD_CV_TEST_OBJS:.o=.dep) |
| 10846 | endif |
| 10847 | endif |
| 10848 | |
| 10849 | |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 10850 | ALARM_CPP_TEST_SRC = \ |
| 10851 | test/cpp/common/alarm_cpp_test.cc \ |
| 10852 | |
| 10853 | ALARM_CPP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_CPP_TEST_SRC)))) |
| 10854 | ifeq ($(NO_SECURE),true) |
| 10855 | |
| 10856 | # You can't build secure targets if you don't have OpenSSL. |
| 10857 | |
| 10858 | $(BINDIR)/$(CONFIG)/alarm_cpp_test: openssl_dep_error |
| 10859 | |
| 10860 | else |
| 10861 | |
| 10862 | |
| 10863 | |
| 10864 | |
| 10865 | ifeq ($(NO_PROTOBUF),true) |
| 10866 | |
| 10867 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10868 | |
| 10869 | $(BINDIR)/$(CONFIG)/alarm_cpp_test: protobuf_dep_error |
| 10870 | |
| 10871 | else |
| 10872 | |
Vijay Pai | 29e1d95 | 2016-02-11 00:26:18 -0800 | [diff] [blame] | 10873 | $(BINDIR)/$(CONFIG)/alarm_cpp_test: $(PROTOBUF_DEP) $(ALARM_CPP_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 10874 | $(E) "[LD] Linking $@" |
| 10875 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | 29e1d95 | 2016-02-11 00:26:18 -0800 | [diff] [blame] | 10876 | $(Q) $(LDXX) $(LDFLAGS) $(ALARM_CPP_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/alarm_cpp_test |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 10877 | |
| 10878 | endif |
| 10879 | |
| 10880 | endif |
| 10881 | |
Vijay Pai | 29e1d95 | 2016-02-11 00:26:18 -0800 | [diff] [blame] | 10882 | $(OBJDIR)/$(CONFIG)/test/cpp/common/alarm_cpp_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 10883 | |
| 10884 | deps_alarm_cpp_test: $(ALARM_CPP_TEST_OBJS:.o=.dep) |
| 10885 | |
| 10886 | ifneq ($(NO_SECURE),true) |
| 10887 | ifneq ($(NO_DEPS),true) |
| 10888 | -include $(ALARM_CPP_TEST_OBJS:.o=.dep) |
| 10889 | endif |
| 10890 | endif |
| 10891 | |
| 10892 | |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10893 | ASYNC_END2END_TEST_SRC = \ |
| 10894 | test/cpp/end2end/async_end2end_test.cc \ |
| 10895 | |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 10896 | ASYNC_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ASYNC_END2END_TEST_SRC)))) |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10897 | ifeq ($(NO_SECURE),true) |
| 10898 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10899 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10900 | |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 10901 | $(BINDIR)/$(CONFIG)/async_end2end_test: openssl_dep_error |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10902 | |
| 10903 | else |
| 10904 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10905 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10906 | |
| 10907 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10908 | ifeq ($(NO_PROTOBUF),true) |
| 10909 | |
| 10910 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10911 | |
| 10912 | $(BINDIR)/$(CONFIG)/async_end2end_test: protobuf_dep_error |
| 10913 | |
| 10914 | else |
| 10915 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10916 | $(BINDIR)/$(CONFIG)/async_end2end_test: $(PROTOBUF_DEP) $(ASYNC_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10917 | $(E) "[LD] Linking $@" |
| 10918 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10919 | $(Q) $(LDXX) $(LDFLAGS) $(ASYNC_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/async_end2end_test |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10920 | |
| 10921 | endif |
| 10922 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10923 | endif |
| 10924 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10925 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/async_end2end_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10926 | |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10927 | deps_async_end2end_test: $(ASYNC_END2END_TEST_OBJS:.o=.dep) |
| 10928 | |
| 10929 | ifneq ($(NO_SECURE),true) |
| 10930 | ifneq ($(NO_DEPS),true) |
| 10931 | -include $(ASYNC_END2END_TEST_OBJS:.o=.dep) |
| 10932 | endif |
| 10933 | endif |
| 10934 | |
| 10935 | |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10936 | AUTH_PROPERTY_ITERATOR_TEST_SRC = \ |
| 10937 | test/cpp/common/auth_property_iterator_test.cc \ |
| 10938 | |
| 10939 | AUTH_PROPERTY_ITERATOR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(AUTH_PROPERTY_ITERATOR_TEST_SRC)))) |
| 10940 | ifeq ($(NO_SECURE),true) |
| 10941 | |
| 10942 | # You can't build secure targets if you don't have OpenSSL. |
| 10943 | |
| 10944 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test: openssl_dep_error |
| 10945 | |
| 10946 | else |
| 10947 | |
| 10948 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10949 | |
| 10950 | |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10951 | ifeq ($(NO_PROTOBUF),true) |
| 10952 | |
| 10953 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10954 | |
| 10955 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test: protobuf_dep_error |
| 10956 | |
| 10957 | else |
| 10958 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10959 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test: $(PROTOBUF_DEP) $(AUTH_PROPERTY_ITERATOR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10960 | $(E) "[LD] Linking $@" |
| 10961 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10962 | $(Q) $(LDXX) $(LDFLAGS) $(AUTH_PROPERTY_ITERATOR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/auth_property_iterator_test |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10963 | |
| 10964 | endif |
| 10965 | |
| 10966 | endif |
| 10967 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10968 | $(OBJDIR)/$(CONFIG)/test/cpp/common/auth_property_iterator_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10969 | |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10970 | deps_auth_property_iterator_test: $(AUTH_PROPERTY_ITERATOR_TEST_OBJS:.o=.dep) |
| 10971 | |
| 10972 | ifneq ($(NO_SECURE),true) |
| 10973 | ifneq ($(NO_DEPS),true) |
| 10974 | -include $(AUTH_PROPERTY_ITERATOR_TEST_OBJS:.o=.dep) |
| 10975 | endif |
| 10976 | endif |
| 10977 | |
| 10978 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10979 | CHANNEL_ARGUMENTS_TEST_SRC = \ |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 10980 | test/cpp/common/channel_arguments_test.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10981 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10982 | CHANNEL_ARGUMENTS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNEL_ARGUMENTS_TEST_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10983 | ifeq ($(NO_SECURE),true) |
| 10984 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10985 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10986 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10987 | $(BINDIR)/$(CONFIG)/channel_arguments_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10988 | |
| 10989 | else |
| 10990 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10991 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10992 | |
| 10993 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10994 | ifeq ($(NO_PROTOBUF),true) |
| 10995 | |
| 10996 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10997 | |
| 10998 | $(BINDIR)/$(CONFIG)/channel_arguments_test: protobuf_dep_error |
| 10999 | |
| 11000 | else |
| 11001 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11002 | $(BINDIR)/$(CONFIG)/channel_arguments_test: $(PROTOBUF_DEP) $(CHANNEL_ARGUMENTS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11003 | $(E) "[LD] Linking $@" |
| 11004 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11005 | $(Q) $(LDXX) $(LDFLAGS) $(CHANNEL_ARGUMENTS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/channel_arguments_test |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11006 | |
| 11007 | endif |
| 11008 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11009 | endif |
| 11010 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11011 | $(OBJDIR)/$(CONFIG)/test/cpp/common/channel_arguments_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11012 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11013 | deps_channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep) |
| 11014 | |
| 11015 | ifneq ($(NO_SECURE),true) |
| 11016 | ifneq ($(NO_DEPS),true) |
| 11017 | -include $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep) |
| 11018 | endif |
| 11019 | endif |
| 11020 | |
| 11021 | |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 11022 | CLI_CALL_TEST_SRC = \ |
| 11023 | test/cpp/util/cli_call_test.cc \ |
| 11024 | |
| 11025 | CLI_CALL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLI_CALL_TEST_SRC)))) |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 11026 | ifeq ($(NO_SECURE),true) |
| 11027 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11028 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 11029 | |
| 11030 | $(BINDIR)/$(CONFIG)/cli_call_test: openssl_dep_error |
| 11031 | |
| 11032 | else |
| 11033 | |
| 11034 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11035 | |
| 11036 | |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 11037 | ifeq ($(NO_PROTOBUF),true) |
| 11038 | |
| 11039 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11040 | |
| 11041 | $(BINDIR)/$(CONFIG)/cli_call_test: protobuf_dep_error |
| 11042 | |
| 11043 | else |
| 11044 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 11045 | $(BINDIR)/$(CONFIG)/cli_call_test: $(PROTOBUF_DEP) $(CLI_CALL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 11046 | $(E) "[LD] Linking $@" |
| 11047 | $(Q) mkdir -p `dirname $@` |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 11048 | $(Q) $(LDXX) $(LDFLAGS) $(CLI_CALL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/cli_call_test |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 11049 | |
| 11050 | endif |
| 11051 | |
| 11052 | endif |
| 11053 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 11054 | $(OBJDIR)/$(CONFIG)/test/cpp/util/cli_call_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11055 | |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 11056 | deps_cli_call_test: $(CLI_CALL_TEST_OBJS:.o=.dep) |
| 11057 | |
| 11058 | ifneq ($(NO_SECURE),true) |
| 11059 | ifneq ($(NO_DEPS),true) |
| 11060 | -include $(CLI_CALL_TEST_OBJS:.o=.dep) |
| 11061 | endif |
| 11062 | endif |
| 11063 | |
| 11064 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11065 | CLIENT_CRASH_TEST_SRC = \ |
| 11066 | test/cpp/end2end/client_crash_test.cc \ |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11067 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11068 | CLIENT_CRASH_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLIENT_CRASH_TEST_SRC)))) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11069 | ifeq ($(NO_SECURE),true) |
| 11070 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11071 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11072 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11073 | $(BINDIR)/$(CONFIG)/client_crash_test: openssl_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11074 | |
| 11075 | else |
| 11076 | |
| 11077 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11078 | |
| 11079 | |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11080 | ifeq ($(NO_PROTOBUF),true) |
| 11081 | |
| 11082 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11083 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11084 | $(BINDIR)/$(CONFIG)/client_crash_test: protobuf_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11085 | |
| 11086 | else |
| 11087 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11088 | $(BINDIR)/$(CONFIG)/client_crash_test: $(PROTOBUF_DEP) $(CLIENT_CRASH_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11089 | $(E) "[LD] Linking $@" |
| 11090 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11091 | $(Q) $(LDXX) $(LDFLAGS) $(CLIENT_CRASH_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/client_crash_test |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11092 | |
| 11093 | endif |
| 11094 | |
| 11095 | endif |
| 11096 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11097 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/client_crash_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11098 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11099 | deps_client_crash_test: $(CLIENT_CRASH_TEST_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11100 | |
| 11101 | ifneq ($(NO_SECURE),true) |
| 11102 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11103 | -include $(CLIENT_CRASH_TEST_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11104 | endif |
| 11105 | endif |
| 11106 | |
| 11107 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11108 | CLIENT_CRASH_TEST_SERVER_SRC = \ |
| 11109 | test/cpp/end2end/client_crash_test_server.cc \ |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11110 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11111 | CLIENT_CRASH_TEST_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLIENT_CRASH_TEST_SERVER_SRC)))) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11112 | ifeq ($(NO_SECURE),true) |
| 11113 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11114 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11115 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11116 | $(BINDIR)/$(CONFIG)/client_crash_test_server: openssl_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11117 | |
| 11118 | else |
| 11119 | |
| 11120 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11121 | |
| 11122 | |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11123 | ifeq ($(NO_PROTOBUF),true) |
| 11124 | |
| 11125 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11126 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11127 | $(BINDIR)/$(CONFIG)/client_crash_test_server: protobuf_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11128 | |
| 11129 | else |
| 11130 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11131 | $(BINDIR)/$(CONFIG)/client_crash_test_server: $(PROTOBUF_DEP) $(CLIENT_CRASH_TEST_SERVER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11132 | $(E) "[LD] Linking $@" |
| 11133 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11134 | $(Q) $(LDXX) $(LDFLAGS) $(CLIENT_CRASH_TEST_SERVER_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/client_crash_test_server |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11135 | |
| 11136 | endif |
| 11137 | |
| 11138 | endif |
| 11139 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11140 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/client_crash_test_server.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11141 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11142 | deps_client_crash_test_server: $(CLIENT_CRASH_TEST_SERVER_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11143 | |
| 11144 | ifneq ($(NO_SECURE),true) |
| 11145 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11146 | -include $(CLIENT_CRASH_TEST_SERVER_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 11147 | endif |
| 11148 | endif |
| 11149 | |
| 11150 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11151 | CODEGEN_TEST_FULL_SRC = \ |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11152 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc \ |
| 11153 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 11154 | $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc \ |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11155 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc \ |
| 11156 | $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc \ |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11157 | test/cpp/codegen/codegen_test_full.cc \ |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11158 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11159 | CODEGEN_TEST_FULL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CODEGEN_TEST_FULL_SRC)))) |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11160 | ifeq ($(NO_SECURE),true) |
| 11161 | |
| 11162 | # You can't build secure targets if you don't have OpenSSL. |
| 11163 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11164 | $(BINDIR)/$(CONFIG)/codegen_test_full: openssl_dep_error |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11165 | |
| 11166 | else |
| 11167 | |
| 11168 | |
| 11169 | |
| 11170 | |
| 11171 | ifeq ($(NO_PROTOBUF),true) |
| 11172 | |
| 11173 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11174 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11175 | $(BINDIR)/$(CONFIG)/codegen_test_full: protobuf_dep_error |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11176 | |
| 11177 | else |
| 11178 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11179 | $(BINDIR)/$(CONFIG)/codegen_test_full: $(PROTOBUF_DEP) $(CODEGEN_TEST_FULL_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11180 | $(E) "[LD] Linking $@" |
| 11181 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11182 | $(Q) $(LDXX) $(LDFLAGS) $(CODEGEN_TEST_FULL_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/codegen_test_full |
| 11183 | |
| 11184 | endif |
| 11185 | |
| 11186 | endif |
| 11187 | |
| 11188 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/control.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11189 | |
| 11190 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11191 | |
| 11192 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/payloads.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11193 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11194 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/services.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11195 | |
| 11196 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/stats.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11197 | |
| 11198 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/codegen_test_full.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11199 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11200 | deps_codegen_test_full: $(CODEGEN_TEST_FULL_OBJS:.o=.dep) |
| 11201 | |
| 11202 | ifneq ($(NO_SECURE),true) |
| 11203 | ifneq ($(NO_DEPS),true) |
| 11204 | -include $(CODEGEN_TEST_FULL_OBJS:.o=.dep) |
| 11205 | endif |
| 11206 | endif |
vjpai | d8364f7 | 2016-05-31 12:54:04 -0700 | [diff] [blame] | 11207 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/codegen_test_full.o: $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11208 | |
| 11209 | |
| 11210 | CODEGEN_TEST_MINIMAL_SRC = \ |
| 11211 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc \ |
| 11212 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 11213 | $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc \ |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11214 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc \ |
| 11215 | $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc \ |
| 11216 | test/cpp/codegen/codegen_test_minimal.cc \ |
| 11217 | src/cpp/codegen/codegen_init.cc \ |
| 11218 | |
| 11219 | CODEGEN_TEST_MINIMAL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CODEGEN_TEST_MINIMAL_SRC)))) |
| 11220 | ifeq ($(NO_SECURE),true) |
| 11221 | |
| 11222 | # You can't build secure targets if you don't have OpenSSL. |
| 11223 | |
| 11224 | $(BINDIR)/$(CONFIG)/codegen_test_minimal: openssl_dep_error |
| 11225 | |
| 11226 | else |
| 11227 | |
| 11228 | |
| 11229 | |
| 11230 | |
| 11231 | ifeq ($(NO_PROTOBUF),true) |
| 11232 | |
| 11233 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11234 | |
| 11235 | $(BINDIR)/$(CONFIG)/codegen_test_minimal: protobuf_dep_error |
| 11236 | |
| 11237 | else |
| 11238 | |
| 11239 | $(BINDIR)/$(CONFIG)/codegen_test_minimal: $(PROTOBUF_DEP) $(CODEGEN_TEST_MINIMAL_OBJS) |
| 11240 | $(E) "[LD] Linking $@" |
| 11241 | $(Q) mkdir -p `dirname $@` |
| 11242 | $(Q) $(LDXX) $(LDFLAGS) $(CODEGEN_TEST_MINIMAL_OBJS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/codegen_test_minimal |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11243 | |
| 11244 | endif |
| 11245 | |
| 11246 | endif |
| 11247 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 11248 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/control.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11249 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 11250 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11251 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 11252 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/payloads.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11253 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 11254 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/services.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11255 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 11256 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/stats.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11257 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11258 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/codegen_test_minimal.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11259 | |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 11260 | $(OBJDIR)/$(CONFIG)/src/cpp/codegen/codegen_init.o: |
| 11261 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11262 | deps_codegen_test_minimal: $(CODEGEN_TEST_MINIMAL_OBJS:.o=.dep) |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11263 | |
| 11264 | ifneq ($(NO_SECURE),true) |
| 11265 | ifneq ($(NO_DEPS),true) |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 11266 | -include $(CODEGEN_TEST_MINIMAL_OBJS:.o=.dep) |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11267 | endif |
| 11268 | endif |
vjpai | d8364f7 | 2016-05-31 12:54:04 -0700 | [diff] [blame] | 11269 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/codegen_test_minimal.o: $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc |
| 11270 | $(OBJDIR)/$(CONFIG)/src/cpp/codegen/codegen_init.o: $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 11271 | |
| 11272 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11273 | CREDENTIALS_TEST_SRC = \ |
| 11274 | test/cpp/client/credentials_test.cc \ |
| 11275 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 11276 | CREDENTIALS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CREDENTIALS_TEST_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11277 | ifeq ($(NO_SECURE),true) |
| 11278 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11279 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11280 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 11281 | $(BINDIR)/$(CONFIG)/credentials_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11282 | |
| 11283 | else |
| 11284 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11285 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11286 | |
| 11287 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11288 | ifeq ($(NO_PROTOBUF),true) |
| 11289 | |
| 11290 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11291 | |
| 11292 | $(BINDIR)/$(CONFIG)/credentials_test: protobuf_dep_error |
| 11293 | |
| 11294 | else |
| 11295 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11296 | $(BINDIR)/$(CONFIG)/credentials_test: $(PROTOBUF_DEP) $(CREDENTIALS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11297 | $(E) "[LD] Linking $@" |
| 11298 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11299 | $(Q) $(LDXX) $(LDFLAGS) $(CREDENTIALS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/credentials_test |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11300 | |
| 11301 | endif |
| 11302 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11303 | endif |
| 11304 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11305 | $(OBJDIR)/$(CONFIG)/test/cpp/client/credentials_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11306 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11307 | deps_credentials_test: $(CREDENTIALS_TEST_OBJS:.o=.dep) |
| 11308 | |
| 11309 | ifneq ($(NO_SECURE),true) |
| 11310 | ifneq ($(NO_DEPS),true) |
| 11311 | -include $(CREDENTIALS_TEST_OBJS:.o=.dep) |
| 11312 | endif |
| 11313 | endif |
| 11314 | |
| 11315 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11316 | CXX_BYTE_BUFFER_TEST_SRC = \ |
| 11317 | test/cpp/util/byte_buffer_test.cc \ |
| 11318 | |
| 11319 | CXX_BYTE_BUFFER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CXX_BYTE_BUFFER_TEST_SRC)))) |
| 11320 | ifeq ($(NO_SECURE),true) |
| 11321 | |
Nicolas "Pixel" Noble | be2d3a3 | 2015-06-30 19:48:47 +0200 | [diff] [blame] | 11322 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11323 | |
| 11324 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test: openssl_dep_error |
| 11325 | |
| 11326 | else |
| 11327 | |
| 11328 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11329 | |
| 11330 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11331 | ifeq ($(NO_PROTOBUF),true) |
| 11332 | |
| 11333 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11334 | |
| 11335 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test: protobuf_dep_error |
| 11336 | |
| 11337 | else |
| 11338 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11339 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test: $(PROTOBUF_DEP) $(CXX_BYTE_BUFFER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11340 | $(E) "[LD] Linking $@" |
| 11341 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11342 | $(Q) $(LDXX) $(LDFLAGS) $(CXX_BYTE_BUFFER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11343 | |
| 11344 | endif |
| 11345 | |
| 11346 | endif |
| 11347 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11348 | $(OBJDIR)/$(CONFIG)/test/cpp/util/byte_buffer_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11349 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11350 | deps_cxx_byte_buffer_test: $(CXX_BYTE_BUFFER_TEST_OBJS:.o=.dep) |
| 11351 | |
| 11352 | ifneq ($(NO_SECURE),true) |
| 11353 | ifneq ($(NO_DEPS),true) |
| 11354 | -include $(CXX_BYTE_BUFFER_TEST_OBJS:.o=.dep) |
| 11355 | endif |
| 11356 | endif |
| 11357 | |
| 11358 | |
| 11359 | CXX_SLICE_TEST_SRC = \ |
| 11360 | test/cpp/util/slice_test.cc \ |
| 11361 | |
| 11362 | CXX_SLICE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CXX_SLICE_TEST_SRC)))) |
| 11363 | ifeq ($(NO_SECURE),true) |
| 11364 | |
Nicolas "Pixel" Noble | be2d3a3 | 2015-06-30 19:48:47 +0200 | [diff] [blame] | 11365 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11366 | |
| 11367 | $(BINDIR)/$(CONFIG)/cxx_slice_test: openssl_dep_error |
| 11368 | |
| 11369 | else |
| 11370 | |
| 11371 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11372 | |
| 11373 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11374 | ifeq ($(NO_PROTOBUF),true) |
| 11375 | |
| 11376 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11377 | |
| 11378 | $(BINDIR)/$(CONFIG)/cxx_slice_test: protobuf_dep_error |
| 11379 | |
| 11380 | else |
| 11381 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11382 | $(BINDIR)/$(CONFIG)/cxx_slice_test: $(PROTOBUF_DEP) $(CXX_SLICE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11383 | $(E) "[LD] Linking $@" |
| 11384 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11385 | $(Q) $(LDXX) $(LDFLAGS) $(CXX_SLICE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/cxx_slice_test |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11386 | |
| 11387 | endif |
| 11388 | |
| 11389 | endif |
| 11390 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11391 | $(OBJDIR)/$(CONFIG)/test/cpp/util/slice_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11392 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 11393 | deps_cxx_slice_test: $(CXX_SLICE_TEST_OBJS:.o=.dep) |
| 11394 | |
| 11395 | ifneq ($(NO_SECURE),true) |
| 11396 | ifneq ($(NO_DEPS),true) |
| 11397 | -include $(CXX_SLICE_TEST_OBJS:.o=.dep) |
| 11398 | endif |
| 11399 | endif |
| 11400 | |
| 11401 | |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 11402 | CXX_STRING_REF_TEST_SRC = \ |
| 11403 | test/cpp/util/string_ref_test.cc \ |
| 11404 | |
| 11405 | CXX_STRING_REF_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CXX_STRING_REF_TEST_SRC)))) |
| 11406 | ifeq ($(NO_SECURE),true) |
| 11407 | |
| 11408 | # You can't build secure targets if you don't have OpenSSL. |
| 11409 | |
| 11410 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test: openssl_dep_error |
| 11411 | |
| 11412 | else |
| 11413 | |
| 11414 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11415 | |
| 11416 | |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 11417 | ifeq ($(NO_PROTOBUF),true) |
| 11418 | |
| 11419 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11420 | |
| 11421 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test: protobuf_dep_error |
| 11422 | |
| 11423 | else |
| 11424 | |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 11425 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test: $(PROTOBUF_DEP) $(CXX_STRING_REF_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 11426 | $(E) "[LD] Linking $@" |
| 11427 | $(Q) mkdir -p `dirname $@` |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 11428 | $(Q) $(LDXX) $(LDFLAGS) $(CXX_STRING_REF_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/cxx_string_ref_test |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 11429 | |
| 11430 | endif |
| 11431 | |
| 11432 | endif |
| 11433 | |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 11434 | $(OBJDIR)/$(CONFIG)/test/cpp/util/string_ref_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11435 | |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 11436 | deps_cxx_string_ref_test: $(CXX_STRING_REF_TEST_OBJS:.o=.dep) |
| 11437 | |
| 11438 | ifneq ($(NO_SECURE),true) |
| 11439 | ifneq ($(NO_DEPS),true) |
| 11440 | -include $(CXX_STRING_REF_TEST_OBJS:.o=.dep) |
| 11441 | endif |
| 11442 | endif |
| 11443 | |
| 11444 | |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 11445 | CXX_TIME_TEST_SRC = \ |
| 11446 | test/cpp/util/time_test.cc \ |
| 11447 | |
| 11448 | CXX_TIME_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CXX_TIME_TEST_SRC)))) |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 11449 | ifeq ($(NO_SECURE),true) |
| 11450 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11451 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 11452 | |
| 11453 | $(BINDIR)/$(CONFIG)/cxx_time_test: openssl_dep_error |
| 11454 | |
| 11455 | else |
| 11456 | |
| 11457 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11458 | |
| 11459 | |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 11460 | ifeq ($(NO_PROTOBUF),true) |
| 11461 | |
| 11462 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11463 | |
| 11464 | $(BINDIR)/$(CONFIG)/cxx_time_test: protobuf_dep_error |
| 11465 | |
| 11466 | else |
| 11467 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11468 | $(BINDIR)/$(CONFIG)/cxx_time_test: $(PROTOBUF_DEP) $(CXX_TIME_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 11469 | $(E) "[LD] Linking $@" |
| 11470 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11471 | $(Q) $(LDXX) $(LDFLAGS) $(CXX_TIME_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/cxx_time_test |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 11472 | |
| 11473 | endif |
| 11474 | |
| 11475 | endif |
| 11476 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11477 | $(OBJDIR)/$(CONFIG)/test/cpp/util/time_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11478 | |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 11479 | deps_cxx_time_test: $(CXX_TIME_TEST_OBJS:.o=.dep) |
| 11480 | |
| 11481 | ifneq ($(NO_SECURE),true) |
| 11482 | ifneq ($(NO_DEPS),true) |
| 11483 | -include $(CXX_TIME_TEST_OBJS:.o=.dep) |
| 11484 | endif |
| 11485 | endif |
| 11486 | |
| 11487 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11488 | END2END_TEST_SRC = \ |
| 11489 | test/cpp/end2end/end2end_test.cc \ |
| 11490 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 11491 | END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(END2END_TEST_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11492 | ifeq ($(NO_SECURE),true) |
| 11493 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11494 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11495 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 11496 | $(BINDIR)/$(CONFIG)/end2end_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11497 | |
| 11498 | else |
| 11499 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11500 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11501 | |
| 11502 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11503 | ifeq ($(NO_PROTOBUF),true) |
| 11504 | |
| 11505 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11506 | |
| 11507 | $(BINDIR)/$(CONFIG)/end2end_test: protobuf_dep_error |
| 11508 | |
| 11509 | else |
| 11510 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11511 | $(BINDIR)/$(CONFIG)/end2end_test: $(PROTOBUF_DEP) $(END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11512 | $(E) "[LD] Linking $@" |
| 11513 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11514 | $(Q) $(LDXX) $(LDFLAGS) $(END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/end2end_test |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11515 | |
| 11516 | endif |
| 11517 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11518 | endif |
| 11519 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11520 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/end2end_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11521 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11522 | deps_end2end_test: $(END2END_TEST_OBJS:.o=.dep) |
| 11523 | |
| 11524 | ifneq ($(NO_SECURE),true) |
| 11525 | ifneq ($(NO_DEPS),true) |
| 11526 | -include $(END2END_TEST_OBJS:.o=.dep) |
| 11527 | endif |
| 11528 | endif |
| 11529 | |
| 11530 | |
Mark D. Roth | c459ecf | 2016-06-16 09:17:49 -0700 | [diff] [blame] | 11531 | FILTER_END2END_TEST_SRC = \ |
| 11532 | test/cpp/end2end/filter_end2end_test.cc \ |
| 11533 | |
| 11534 | FILTER_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FILTER_END2END_TEST_SRC)))) |
| 11535 | ifeq ($(NO_SECURE),true) |
| 11536 | |
| 11537 | # You can't build secure targets if you don't have OpenSSL. |
| 11538 | |
| 11539 | $(BINDIR)/$(CONFIG)/filter_end2end_test: openssl_dep_error |
| 11540 | |
| 11541 | else |
| 11542 | |
| 11543 | |
| 11544 | |
| 11545 | |
| 11546 | ifeq ($(NO_PROTOBUF),true) |
| 11547 | |
| 11548 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11549 | |
| 11550 | $(BINDIR)/$(CONFIG)/filter_end2end_test: protobuf_dep_error |
| 11551 | |
| 11552 | else |
| 11553 | |
| 11554 | $(BINDIR)/$(CONFIG)/filter_end2end_test: $(PROTOBUF_DEP) $(FILTER_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11555 | $(E) "[LD] Linking $@" |
| 11556 | $(Q) mkdir -p `dirname $@` |
| 11557 | $(Q) $(LDXX) $(LDFLAGS) $(FILTER_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/filter_end2end_test |
| 11558 | |
| 11559 | endif |
| 11560 | |
| 11561 | endif |
| 11562 | |
| 11563 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/filter_end2end_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11564 | |
| 11565 | deps_filter_end2end_test: $(FILTER_END2END_TEST_OBJS:.o=.dep) |
| 11566 | |
| 11567 | ifneq ($(NO_SECURE),true) |
| 11568 | ifneq ($(NO_DEPS),true) |
| 11569 | -include $(FILTER_END2END_TEST_OBJS:.o=.dep) |
| 11570 | endif |
| 11571 | endif |
| 11572 | |
| 11573 | |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 11574 | GENERIC_END2END_TEST_SRC = \ |
| 11575 | test/cpp/end2end/generic_end2end_test.cc \ |
| 11576 | |
| 11577 | GENERIC_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GENERIC_END2END_TEST_SRC)))) |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 11578 | ifeq ($(NO_SECURE),true) |
| 11579 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11580 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 11581 | |
| 11582 | $(BINDIR)/$(CONFIG)/generic_end2end_test: openssl_dep_error |
| 11583 | |
| 11584 | else |
| 11585 | |
| 11586 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11587 | |
| 11588 | |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 11589 | ifeq ($(NO_PROTOBUF),true) |
| 11590 | |
| 11591 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11592 | |
| 11593 | $(BINDIR)/$(CONFIG)/generic_end2end_test: protobuf_dep_error |
| 11594 | |
| 11595 | else |
| 11596 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11597 | $(BINDIR)/$(CONFIG)/generic_end2end_test: $(PROTOBUF_DEP) $(GENERIC_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 11598 | $(E) "[LD] Linking $@" |
| 11599 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11600 | $(Q) $(LDXX) $(LDFLAGS) $(GENERIC_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/generic_end2end_test |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 11601 | |
| 11602 | endif |
| 11603 | |
| 11604 | endif |
| 11605 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11606 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/generic_end2end_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11607 | |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 11608 | deps_generic_end2end_test: $(GENERIC_END2END_TEST_OBJS:.o=.dep) |
| 11609 | |
| 11610 | ifneq ($(NO_SECURE),true) |
| 11611 | ifneq ($(NO_DEPS),true) |
| 11612 | -include $(GENERIC_END2END_TEST_OBJS:.o=.dep) |
| 11613 | endif |
| 11614 | endif |
| 11615 | |
| 11616 | |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 11617 | GOLDEN_FILE_TEST_SRC = \ |
| 11618 | $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc \ |
| 11619 | test/cpp/codegen/golden_file_test.cc \ |
| 11620 | |
| 11621 | GOLDEN_FILE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GOLDEN_FILE_TEST_SRC)))) |
| 11622 | ifeq ($(NO_SECURE),true) |
| 11623 | |
| 11624 | # You can't build secure targets if you don't have OpenSSL. |
| 11625 | |
| 11626 | $(BINDIR)/$(CONFIG)/golden_file_test: openssl_dep_error |
| 11627 | |
| 11628 | else |
| 11629 | |
| 11630 | |
| 11631 | |
| 11632 | |
| 11633 | ifeq ($(NO_PROTOBUF),true) |
| 11634 | |
| 11635 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11636 | |
| 11637 | $(BINDIR)/$(CONFIG)/golden_file_test: protobuf_dep_error |
| 11638 | |
| 11639 | else |
| 11640 | |
| 11641 | $(BINDIR)/$(CONFIG)/golden_file_test: $(PROTOBUF_DEP) $(GOLDEN_FILE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11642 | $(E) "[LD] Linking $@" |
| 11643 | $(Q) mkdir -p `dirname $@` |
| 11644 | $(Q) $(LDXX) $(LDFLAGS) $(GOLDEN_FILE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/golden_file_test |
| 11645 | |
| 11646 | endif |
| 11647 | |
| 11648 | endif |
| 11649 | |
| 11650 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/compiler_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11651 | |
| 11652 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/golden_file_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11653 | |
| 11654 | deps_golden_file_test: $(GOLDEN_FILE_TEST_OBJS:.o=.dep) |
| 11655 | |
| 11656 | ifneq ($(NO_SECURE),true) |
| 11657 | ifneq ($(NO_DEPS),true) |
| 11658 | -include $(GOLDEN_FILE_TEST_OBJS:.o=.dep) |
| 11659 | endif |
| 11660 | endif |
| 11661 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/golden_file_test.o: $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc |
| 11662 | |
| 11663 | |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 11664 | GRPC_CLI_SRC = \ |
| 11665 | test/cpp/util/grpc_cli.cc \ |
| 11666 | |
| 11667 | GRPC_CLI_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CLI_SRC)))) |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 11668 | ifeq ($(NO_SECURE),true) |
| 11669 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11670 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 11671 | |
| 11672 | $(BINDIR)/$(CONFIG)/grpc_cli: openssl_dep_error |
| 11673 | |
| 11674 | else |
| 11675 | |
| 11676 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11677 | |
| 11678 | |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 11679 | ifeq ($(NO_PROTOBUF),true) |
| 11680 | |
| 11681 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11682 | |
| 11683 | $(BINDIR)/$(CONFIG)/grpc_cli: protobuf_dep_error |
| 11684 | |
| 11685 | else |
| 11686 | |
Yuchen Zeng | 2826327 | 2016-07-25 14:38:07 -0700 | [diff] [blame] | 11687 | $(BINDIR)/$(CONFIG)/grpc_cli: $(PROTOBUF_DEP) $(GRPC_CLI_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 11688 | $(E) "[LD] Linking $@" |
| 11689 | $(Q) mkdir -p `dirname $@` |
Yuchen Zeng | 2826327 | 2016-07-25 14:38:07 -0700 | [diff] [blame] | 11690 | $(Q) $(LDXX) $(LDFLAGS) $(GRPC_CLI_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/grpc_cli |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 11691 | |
| 11692 | endif |
| 11693 | |
| 11694 | endif |
| 11695 | |
Yuchen Zeng | 2826327 | 2016-07-25 14:38:07 -0700 | [diff] [blame] | 11696 | $(OBJDIR)/$(CONFIG)/test/cpp/util/grpc_cli.o: $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11697 | |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 11698 | deps_grpc_cli: $(GRPC_CLI_OBJS:.o=.dep) |
| 11699 | |
| 11700 | ifneq ($(NO_SECURE),true) |
| 11701 | ifneq ($(NO_DEPS),true) |
| 11702 | -include $(GRPC_CLI_OBJS:.o=.dep) |
| 11703 | endif |
| 11704 | endif |
| 11705 | |
| 11706 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11707 | GRPC_CPP_PLUGIN_SRC = \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11708 | src/compiler/cpp_plugin.cc \ |
| 11709 | |
| 11710 | GRPC_CPP_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CPP_PLUGIN_SRC)))) |
| 11711 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11712 | |
| 11713 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11714 | ifeq ($(NO_PROTOBUF),true) |
| 11715 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11716 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11717 | |
| 11718 | $(BINDIR)/$(CONFIG)/grpc_cpp_plugin: protobuf_dep_error |
| 11719 | |
| 11720 | else |
| 11721 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11722 | $(BINDIR)/$(CONFIG)/grpc_cpp_plugin: $(PROTOBUF_DEP) $(GRPC_CPP_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11723 | $(E) "[HOSTLD] Linking $@" |
| 11724 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11725 | $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(GRPC_CPP_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(HOST_LDLIBSXX) $(HOST_LDLIBS_PROTOC) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o $(BINDIR)/$(CONFIG)/grpc_cpp_plugin |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11726 | |
| 11727 | endif |
| 11728 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11729 | $(OBJDIR)/$(CONFIG)/src/compiler/cpp_plugin.o: $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11730 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11731 | deps_grpc_cpp_plugin: $(GRPC_CPP_PLUGIN_OBJS:.o=.dep) |
| 11732 | |
| 11733 | ifneq ($(NO_DEPS),true) |
| 11734 | -include $(GRPC_CPP_PLUGIN_OBJS:.o=.dep) |
| 11735 | endif |
| 11736 | |
| 11737 | |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 11738 | GRPC_CSHARP_PLUGIN_SRC = \ |
| 11739 | src/compiler/csharp_plugin.cc \ |
| 11740 | |
| 11741 | GRPC_CSHARP_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CSHARP_PLUGIN_SRC)))) |
| 11742 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11743 | |
| 11744 | |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 11745 | ifeq ($(NO_PROTOBUF),true) |
| 11746 | |
| 11747 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11748 | |
| 11749 | $(BINDIR)/$(CONFIG)/grpc_csharp_plugin: protobuf_dep_error |
| 11750 | |
| 11751 | else |
| 11752 | |
| 11753 | $(BINDIR)/$(CONFIG)/grpc_csharp_plugin: $(PROTOBUF_DEP) $(GRPC_CSHARP_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 11754 | $(E) "[HOSTLD] Linking $@" |
| 11755 | $(Q) mkdir -p `dirname $@` |
| 11756 | $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(GRPC_CSHARP_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(HOST_LDLIBSXX) $(HOST_LDLIBS_PROTOC) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o $(BINDIR)/$(CONFIG)/grpc_csharp_plugin |
| 11757 | |
| 11758 | endif |
| 11759 | |
| 11760 | $(OBJDIR)/$(CONFIG)/src/compiler/csharp_plugin.o: $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11761 | |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 11762 | deps_grpc_csharp_plugin: $(GRPC_CSHARP_PLUGIN_OBJS:.o=.dep) |
| 11763 | |
| 11764 | ifneq ($(NO_DEPS),true) |
| 11765 | -include $(GRPC_CSHARP_PLUGIN_OBJS:.o=.dep) |
| 11766 | endif |
| 11767 | |
| 11768 | |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 11769 | GRPC_NODE_PLUGIN_SRC = \ |
| 11770 | src/compiler/node_plugin.cc \ |
| 11771 | |
| 11772 | GRPC_NODE_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_NODE_PLUGIN_SRC)))) |
| 11773 | |
| 11774 | |
| 11775 | |
| 11776 | ifeq ($(NO_PROTOBUF),true) |
| 11777 | |
| 11778 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11779 | |
| 11780 | $(BINDIR)/$(CONFIG)/grpc_node_plugin: protobuf_dep_error |
| 11781 | |
| 11782 | else |
| 11783 | |
| 11784 | $(BINDIR)/$(CONFIG)/grpc_node_plugin: $(PROTOBUF_DEP) $(GRPC_NODE_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 11785 | $(E) "[HOSTLD] Linking $@" |
| 11786 | $(Q) mkdir -p `dirname $@` |
| 11787 | $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(GRPC_NODE_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(HOST_LDLIBSXX) $(HOST_LDLIBS_PROTOC) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o $(BINDIR)/$(CONFIG)/grpc_node_plugin |
| 11788 | |
| 11789 | endif |
| 11790 | |
| 11791 | $(OBJDIR)/$(CONFIG)/src/compiler/node_plugin.o: $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 11792 | |
| 11793 | deps_grpc_node_plugin: $(GRPC_NODE_PLUGIN_OBJS:.o=.dep) |
| 11794 | |
| 11795 | ifneq ($(NO_DEPS),true) |
| 11796 | -include $(GRPC_NODE_PLUGIN_OBJS:.o=.dep) |
| 11797 | endif |
| 11798 | |
| 11799 | |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 11800 | GRPC_OBJECTIVE_C_PLUGIN_SRC = \ |
| 11801 | src/compiler/objective_c_plugin.cc \ |
| 11802 | |
| 11803 | GRPC_OBJECTIVE_C_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_OBJECTIVE_C_PLUGIN_SRC)))) |
| 11804 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11805 | |
| 11806 | |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 11807 | ifeq ($(NO_PROTOBUF),true) |
| 11808 | |
| 11809 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11810 | |
| 11811 | $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin: protobuf_dep_error |
| 11812 | |
| 11813 | else |
| 11814 | |
| 11815 | $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin: $(PROTOBUF_DEP) $(GRPC_OBJECTIVE_C_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 11816 | $(E) "[HOSTLD] Linking $@" |
| 11817 | $(Q) mkdir -p `dirname $@` |
| 11818 | $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(GRPC_OBJECTIVE_C_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(HOST_LDLIBSXX) $(HOST_LDLIBS_PROTOC) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin |
| 11819 | |
| 11820 | endif |
| 11821 | |
| 11822 | $(OBJDIR)/$(CONFIG)/src/compiler/objective_c_plugin.o: $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11823 | |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 11824 | deps_grpc_objective_c_plugin: $(GRPC_OBJECTIVE_C_PLUGIN_OBJS:.o=.dep) |
| 11825 | |
| 11826 | ifneq ($(NO_DEPS),true) |
| 11827 | -include $(GRPC_OBJECTIVE_C_PLUGIN_OBJS:.o=.dep) |
| 11828 | endif |
| 11829 | |
| 11830 | |
Stanley Cheung | 857a130 | 2016-09-29 17:26:29 -0700 | [diff] [blame] | 11831 | GRPC_PHP_PLUGIN_SRC = \ |
| 11832 | src/compiler/php_plugin.cc \ |
| 11833 | |
| 11834 | GRPC_PHP_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_PHP_PLUGIN_SRC)))) |
| 11835 | |
| 11836 | |
| 11837 | |
| 11838 | ifeq ($(NO_PROTOBUF),true) |
| 11839 | |
| 11840 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11841 | |
| 11842 | $(BINDIR)/$(CONFIG)/grpc_php_plugin: protobuf_dep_error |
| 11843 | |
| 11844 | else |
| 11845 | |
| 11846 | $(BINDIR)/$(CONFIG)/grpc_php_plugin: $(PROTOBUF_DEP) $(GRPC_PHP_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 11847 | $(E) "[HOSTLD] Linking $@" |
| 11848 | $(Q) mkdir -p `dirname $@` |
| 11849 | $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(GRPC_PHP_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(HOST_LDLIBSXX) $(HOST_LDLIBS_PROTOC) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o $(BINDIR)/$(CONFIG)/grpc_php_plugin |
| 11850 | |
| 11851 | endif |
| 11852 | |
| 11853 | $(OBJDIR)/$(CONFIG)/src/compiler/php_plugin.o: $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 11854 | |
| 11855 | deps_grpc_php_plugin: $(GRPC_PHP_PLUGIN_OBJS:.o=.dep) |
| 11856 | |
| 11857 | ifneq ($(NO_DEPS),true) |
| 11858 | -include $(GRPC_PHP_PLUGIN_OBJS:.o=.dep) |
| 11859 | endif |
| 11860 | |
| 11861 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11862 | GRPC_PYTHON_PLUGIN_SRC = \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11863 | src/compiler/python_plugin.cc \ |
| 11864 | |
| 11865 | GRPC_PYTHON_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_PYTHON_PLUGIN_SRC)))) |
| 11866 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11867 | |
| 11868 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11869 | ifeq ($(NO_PROTOBUF),true) |
| 11870 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11871 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11872 | |
| 11873 | $(BINDIR)/$(CONFIG)/grpc_python_plugin: protobuf_dep_error |
| 11874 | |
| 11875 | else |
| 11876 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11877 | $(BINDIR)/$(CONFIG)/grpc_python_plugin: $(PROTOBUF_DEP) $(GRPC_PYTHON_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11878 | $(E) "[HOSTLD] Linking $@" |
| 11879 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11880 | $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(GRPC_PYTHON_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(HOST_LDLIBSXX) $(HOST_LDLIBS_PROTOC) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o $(BINDIR)/$(CONFIG)/grpc_python_plugin |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11881 | |
| 11882 | endif |
| 11883 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11884 | $(OBJDIR)/$(CONFIG)/src/compiler/python_plugin.o: $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11885 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11886 | deps_grpc_python_plugin: $(GRPC_PYTHON_PLUGIN_OBJS:.o=.dep) |
| 11887 | |
| 11888 | ifneq ($(NO_DEPS),true) |
| 11889 | -include $(GRPC_PYTHON_PLUGIN_OBJS:.o=.dep) |
| 11890 | endif |
| 11891 | |
| 11892 | |
| 11893 | GRPC_RUBY_PLUGIN_SRC = \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11894 | src/compiler/ruby_plugin.cc \ |
| 11895 | |
| 11896 | GRPC_RUBY_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_RUBY_PLUGIN_SRC)))) |
| 11897 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11898 | |
| 11899 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11900 | ifeq ($(NO_PROTOBUF),true) |
| 11901 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11902 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11903 | |
| 11904 | $(BINDIR)/$(CONFIG)/grpc_ruby_plugin: protobuf_dep_error |
| 11905 | |
| 11906 | else |
| 11907 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11908 | $(BINDIR)/$(CONFIG)/grpc_ruby_plugin: $(PROTOBUF_DEP) $(GRPC_RUBY_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11909 | $(E) "[HOSTLD] Linking $@" |
| 11910 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11911 | $(Q) $(HOST_LDXX) $(HOST_LDFLAGS) $(GRPC_RUBY_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(HOST_LDLIBSXX) $(HOST_LDLIBS_PROTOC) $(HOST_LDLIBS) $(HOST_LDLIBS_PROTOC) -o $(BINDIR)/$(CONFIG)/grpc_ruby_plugin |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11912 | |
| 11913 | endif |
| 11914 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11915 | $(OBJDIR)/$(CONFIG)/src/compiler/ruby_plugin.o: $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11916 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11917 | deps_grpc_ruby_plugin: $(GRPC_RUBY_PLUGIN_OBJS:.o=.dep) |
| 11918 | |
| 11919 | ifneq ($(NO_DEPS),true) |
| 11920 | -include $(GRPC_RUBY_PLUGIN_OBJS:.o=.dep) |
| 11921 | endif |
| 11922 | |
| 11923 | |
Yuchen Zeng | 29ca79b | 2016-07-25 12:00:08 -0700 | [diff] [blame] | 11924 | GRPC_TOOL_TEST_SRC = \ |
| 11925 | $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc \ |
| 11926 | $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc \ |
| 11927 | test/cpp/util/grpc_tool_test.cc \ |
| 11928 | test/cpp/util/string_ref_helper.cc \ |
| 11929 | |
| 11930 | GRPC_TOOL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_TOOL_TEST_SRC)))) |
| 11931 | ifeq ($(NO_SECURE),true) |
| 11932 | |
| 11933 | # You can't build secure targets if you don't have OpenSSL. |
| 11934 | |
| 11935 | $(BINDIR)/$(CONFIG)/grpc_tool_test: openssl_dep_error |
| 11936 | |
| 11937 | else |
| 11938 | |
| 11939 | |
| 11940 | |
| 11941 | |
| 11942 | ifeq ($(NO_PROTOBUF),true) |
| 11943 | |
| 11944 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11945 | |
| 11946 | $(BINDIR)/$(CONFIG)/grpc_tool_test: protobuf_dep_error |
| 11947 | |
| 11948 | else |
| 11949 | |
| 11950 | $(BINDIR)/$(CONFIG)/grpc_tool_test: $(PROTOBUF_DEP) $(GRPC_TOOL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11951 | $(E) "[LD] Linking $@" |
| 11952 | $(Q) mkdir -p `dirname $@` |
| 11953 | $(Q) $(LDXX) $(LDFLAGS) $(GRPC_TOOL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/grpc_tool_test |
| 11954 | |
| 11955 | endif |
| 11956 | |
| 11957 | endif |
| 11958 | |
| 11959 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/echo.o: $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11960 | |
| 11961 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/echo_messages.o: $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11962 | |
| 11963 | $(OBJDIR)/$(CONFIG)/test/cpp/util/grpc_tool_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11964 | |
| 11965 | $(OBJDIR)/$(CONFIG)/test/cpp/util/string_ref_helper.o: $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 11966 | |
| 11967 | deps_grpc_tool_test: $(GRPC_TOOL_TEST_OBJS:.o=.dep) |
| 11968 | |
| 11969 | ifneq ($(NO_SECURE),true) |
| 11970 | ifneq ($(NO_DEPS),true) |
| 11971 | -include $(GRPC_TOOL_TEST_OBJS:.o=.dep) |
| 11972 | endif |
| 11973 | endif |
| 11974 | $(OBJDIR)/$(CONFIG)/test/cpp/util/grpc_tool_test.o: $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11975 | $(OBJDIR)/$(CONFIG)/test/cpp/util/string_ref_helper.o: $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc $(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc |
| 11976 | |
| 11977 | |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 11978 | GRPCLB_API_TEST_SRC = \ |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 11979 | $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc \ |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 11980 | test/cpp/grpclb/grpclb_api_test.cc \ |
| 11981 | |
| 11982 | GRPCLB_API_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPCLB_API_TEST_SRC)))) |
| 11983 | ifeq ($(NO_SECURE),true) |
| 11984 | |
| 11985 | # You can't build secure targets if you don't have OpenSSL. |
| 11986 | |
| 11987 | $(BINDIR)/$(CONFIG)/grpclb_api_test: openssl_dep_error |
| 11988 | |
| 11989 | else |
| 11990 | |
| 11991 | |
| 11992 | |
| 11993 | |
| 11994 | ifeq ($(NO_PROTOBUF),true) |
| 11995 | |
| 11996 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11997 | |
| 11998 | $(BINDIR)/$(CONFIG)/grpclb_api_test: protobuf_dep_error |
| 11999 | |
| 12000 | else |
| 12001 | |
| 12002 | $(BINDIR)/$(CONFIG)/grpclb_api_test: $(PROTOBUF_DEP) $(GRPCLB_API_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
| 12003 | $(E) "[LD] Linking $@" |
| 12004 | $(Q) mkdir -p `dirname $@` |
| 12005 | $(Q) $(LDXX) $(LDFLAGS) $(GRPCLB_API_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/grpclb_api_test |
| 12006 | |
| 12007 | endif |
| 12008 | |
| 12009 | endif |
| 12010 | |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 12011 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/lb/v1/load_balancer.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 12012 | |
| 12013 | $(OBJDIR)/$(CONFIG)/test/cpp/grpclb/grpclb_api_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
| 12014 | |
| 12015 | deps_grpclb_api_test: $(GRPCLB_API_TEST_OBJS:.o=.dep) |
| 12016 | |
| 12017 | ifneq ($(NO_SECURE),true) |
| 12018 | ifneq ($(NO_DEPS),true) |
| 12019 | -include $(GRPCLB_API_TEST_OBJS:.o=.dep) |
| 12020 | endif |
| 12021 | endif |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 12022 | $(OBJDIR)/$(CONFIG)/test/cpp/grpclb/grpclb_api_test.o: $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 12023 | |
| 12024 | |
David Garcia Quintas | 55145c0 | 2016-06-21 14:51:54 -0700 | [diff] [blame] | 12025 | GRPCLB_TEST_SRC = \ |
| 12026 | $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc \ |
| 12027 | test/cpp/grpclb/grpclb_test.cc \ |
| 12028 | |
| 12029 | GRPCLB_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPCLB_TEST_SRC)))) |
| 12030 | ifeq ($(NO_SECURE),true) |
| 12031 | |
| 12032 | # You can't build secure targets if you don't have OpenSSL. |
| 12033 | |
| 12034 | $(BINDIR)/$(CONFIG)/grpclb_test: openssl_dep_error |
| 12035 | |
| 12036 | else |
| 12037 | |
| 12038 | |
| 12039 | |
| 12040 | |
| 12041 | ifeq ($(NO_PROTOBUF),true) |
| 12042 | |
| 12043 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12044 | |
| 12045 | $(BINDIR)/$(CONFIG)/grpclb_test: protobuf_dep_error |
| 12046 | |
| 12047 | else |
| 12048 | |
| 12049 | $(BINDIR)/$(CONFIG)/grpclb_test: $(PROTOBUF_DEP) $(GRPCLB_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a |
| 12050 | $(E) "[LD] Linking $@" |
| 12051 | $(Q) mkdir -p `dirname $@` |
| 12052 | $(Q) $(LDXX) $(LDFLAGS) $(GRPCLB_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/grpclb_test |
| 12053 | |
| 12054 | endif |
| 12055 | |
| 12056 | endif |
| 12057 | |
| 12058 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/lb/v1/load_balancer.o: $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a |
| 12059 | |
| 12060 | $(OBJDIR)/$(CONFIG)/test/cpp/grpclb/grpclb_test.o: $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a |
| 12061 | |
| 12062 | deps_grpclb_test: $(GRPCLB_TEST_OBJS:.o=.dep) |
| 12063 | |
| 12064 | ifneq ($(NO_SECURE),true) |
| 12065 | ifneq ($(NO_DEPS),true) |
| 12066 | -include $(GRPCLB_TEST_OBJS:.o=.dep) |
| 12067 | endif |
| 12068 | endif |
| 12069 | $(OBJDIR)/$(CONFIG)/test/cpp/grpclb/grpclb_test.o: $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc |
| 12070 | |
| 12071 | |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 12072 | HYBRID_END2END_TEST_SRC = \ |
| 12073 | test/cpp/end2end/hybrid_end2end_test.cc \ |
| 12074 | |
| 12075 | HYBRID_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HYBRID_END2END_TEST_SRC)))) |
| 12076 | ifeq ($(NO_SECURE),true) |
| 12077 | |
| 12078 | # You can't build secure targets if you don't have OpenSSL. |
| 12079 | |
| 12080 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test: openssl_dep_error |
| 12081 | |
| 12082 | else |
| 12083 | |
| 12084 | |
| 12085 | |
| 12086 | |
| 12087 | ifeq ($(NO_PROTOBUF),true) |
| 12088 | |
| 12089 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12090 | |
| 12091 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test: protobuf_dep_error |
| 12092 | |
| 12093 | else |
| 12094 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12095 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test: $(PROTOBUF_DEP) $(HYBRID_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 12096 | $(E) "[LD] Linking $@" |
| 12097 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12098 | $(Q) $(LDXX) $(LDFLAGS) $(HYBRID_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/hybrid_end2end_test |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 12099 | |
| 12100 | endif |
| 12101 | |
| 12102 | endif |
| 12103 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12104 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/hybrid_end2end_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 12105 | |
| 12106 | deps_hybrid_end2end_test: $(HYBRID_END2END_TEST_OBJS:.o=.dep) |
| 12107 | |
| 12108 | ifneq ($(NO_SECURE),true) |
| 12109 | ifneq ($(NO_DEPS),true) |
| 12110 | -include $(HYBRID_END2END_TEST_OBJS:.o=.dep) |
| 12111 | endif |
| 12112 | endif |
| 12113 | |
| 12114 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12115 | ifeq ($(NO_SECURE),true) |
| 12116 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12117 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12118 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 12119 | $(BINDIR)/$(CONFIG)/interop_client: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12120 | |
| 12121 | else |
| 12122 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12123 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12124 | |
| 12125 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12126 | ifeq ($(NO_PROTOBUF),true) |
| 12127 | |
| 12128 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12129 | |
| 12130 | $(BINDIR)/$(CONFIG)/interop_client: protobuf_dep_error |
| 12131 | |
| 12132 | else |
| 12133 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12134 | $(BINDIR)/$(CONFIG)/interop_client: $(LIBDIR)/$(CONFIG)/libinterop_client_main.a $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12135 | $(E) "[LD] Linking $@" |
| 12136 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12137 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libinterop_client_main.a $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/interop_client |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12138 | |
| 12139 | endif |
| 12140 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12141 | endif |
| 12142 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12143 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12144 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12145 | |
| 12146 | ifeq ($(NO_SECURE),true) |
| 12147 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12148 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12149 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 12150 | $(BINDIR)/$(CONFIG)/interop_server: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12151 | |
| 12152 | else |
| 12153 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12154 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12155 | |
| 12156 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12157 | ifeq ($(NO_PROTOBUF),true) |
| 12158 | |
| 12159 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12160 | |
| 12161 | $(BINDIR)/$(CONFIG)/interop_server: protobuf_dep_error |
| 12162 | |
| 12163 | else |
| 12164 | |
Nicolas "Pixel" Noble | 6570b83 | 2016-07-18 23:29:50 +0200 | [diff] [blame] | 12165 | $(BINDIR)/$(CONFIG)/interop_server: $(LIBDIR)/$(CONFIG)/libinterop_server_main.a $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a $(LIBDIR)/$(CONFIG)/libinterop_server_lib.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12166 | $(E) "[LD] Linking $@" |
| 12167 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 6570b83 | 2016-07-18 23:29:50 +0200 | [diff] [blame] | 12168 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libinterop_server_main.a $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a $(LIBDIR)/$(CONFIG)/libinterop_server_lib.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/interop_server |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12169 | |
| 12170 | endif |
| 12171 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12172 | endif |
| 12173 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12174 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12175 | |
| 12176 | |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 12177 | INTEROP_TEST_SRC = \ |
| 12178 | test/cpp/interop/interop_test.cc \ |
| 12179 | |
| 12180 | INTEROP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_TEST_SRC)))) |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 12181 | ifeq ($(NO_SECURE),true) |
| 12182 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12183 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 12184 | |
| 12185 | $(BINDIR)/$(CONFIG)/interop_test: openssl_dep_error |
| 12186 | |
| 12187 | else |
| 12188 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12189 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12190 | |
| 12191 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12192 | ifeq ($(NO_PROTOBUF),true) |
| 12193 | |
| 12194 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12195 | |
| 12196 | $(BINDIR)/$(CONFIG)/interop_test: protobuf_dep_error |
| 12197 | |
| 12198 | else |
| 12199 | |
Mark D. Roth | 2430171 | 2016-10-18 14:10:28 -0700 | [diff] [blame^] | 12200 | $(BINDIR)/$(CONFIG)/interop_test: $(PROTOBUF_DEP) $(INTEROP_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 12201 | $(E) "[LD] Linking $@" |
| 12202 | $(Q) mkdir -p `dirname $@` |
Mark D. Roth | 2430171 | 2016-10-18 14:10:28 -0700 | [diff] [blame^] | 12203 | $(Q) $(LDXX) $(LDFLAGS) $(INTEROP_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/interop_test |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 12204 | |
| 12205 | endif |
| 12206 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12207 | endif |
| 12208 | |
Mark D. Roth | 2430171 | 2016-10-18 14:10:28 -0700 | [diff] [blame^] | 12209 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/interop_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12210 | |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 12211 | deps_interop_test: $(INTEROP_TEST_OBJS:.o=.dep) |
| 12212 | |
| 12213 | ifneq ($(NO_SECURE),true) |
| 12214 | ifneq ($(NO_DEPS),true) |
| 12215 | -include $(INTEROP_TEST_OBJS:.o=.dep) |
| 12216 | endif |
| 12217 | endif |
| 12218 | |
| 12219 | |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 12220 | JSON_RUN_LOCALHOST_SRC = \ |
| 12221 | test/cpp/qps/json_run_localhost.cc \ |
| 12222 | |
| 12223 | JSON_RUN_LOCALHOST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_RUN_LOCALHOST_SRC)))) |
| 12224 | ifeq ($(NO_SECURE),true) |
| 12225 | |
| 12226 | # You can't build secure targets if you don't have OpenSSL. |
| 12227 | |
| 12228 | $(BINDIR)/$(CONFIG)/json_run_localhost: openssl_dep_error |
| 12229 | |
| 12230 | else |
| 12231 | |
| 12232 | |
| 12233 | |
| 12234 | |
| 12235 | ifeq ($(NO_PROTOBUF),true) |
| 12236 | |
| 12237 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12238 | |
| 12239 | $(BINDIR)/$(CONFIG)/json_run_localhost: protobuf_dep_error |
| 12240 | |
| 12241 | else |
| 12242 | |
| 12243 | $(BINDIR)/$(CONFIG)/json_run_localhost: $(PROTOBUF_DEP) $(JSON_RUN_LOCALHOST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
| 12244 | $(E) "[LD] Linking $@" |
| 12245 | $(Q) mkdir -p `dirname $@` |
| 12246 | $(Q) $(LDXX) $(LDFLAGS) $(JSON_RUN_LOCALHOST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/json_run_localhost |
| 12247 | |
| 12248 | endif |
| 12249 | |
| 12250 | endif |
| 12251 | |
| 12252 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/json_run_localhost.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
| 12253 | |
| 12254 | deps_json_run_localhost: $(JSON_RUN_LOCALHOST_OBJS:.o=.dep) |
| 12255 | |
| 12256 | ifneq ($(NO_SECURE),true) |
| 12257 | ifneq ($(NO_DEPS),true) |
| 12258 | -include $(JSON_RUN_LOCALHOST_OBJS:.o=.dep) |
| 12259 | endif |
| 12260 | endif |
| 12261 | |
| 12262 | |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 12263 | METRICS_CLIENT_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 12264 | $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc \ |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 12265 | test/cpp/interop/metrics_client.cc \ |
| 12266 | |
| 12267 | METRICS_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(METRICS_CLIENT_SRC)))) |
| 12268 | ifeq ($(NO_SECURE),true) |
| 12269 | |
| 12270 | # You can't build secure targets if you don't have OpenSSL. |
| 12271 | |
| 12272 | $(BINDIR)/$(CONFIG)/metrics_client: openssl_dep_error |
| 12273 | |
| 12274 | else |
| 12275 | |
| 12276 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12277 | |
| 12278 | |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 12279 | ifeq ($(NO_PROTOBUF),true) |
| 12280 | |
| 12281 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12282 | |
| 12283 | $(BINDIR)/$(CONFIG)/metrics_client: protobuf_dep_error |
| 12284 | |
| 12285 | else |
| 12286 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12287 | $(BINDIR)/$(CONFIG)/metrics_client: $(PROTOBUF_DEP) $(METRICS_CLIENT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 12288 | $(E) "[LD] Linking $@" |
| 12289 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12290 | $(Q) $(LDXX) $(LDFLAGS) $(METRICS_CLIENT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/metrics_client |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 12291 | |
| 12292 | endif |
| 12293 | |
| 12294 | endif |
| 12295 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12296 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/metrics.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12297 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12298 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/metrics_client.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12299 | |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 12300 | deps_metrics_client: $(METRICS_CLIENT_OBJS:.o=.dep) |
| 12301 | |
| 12302 | ifneq ($(NO_SECURE),true) |
| 12303 | ifneq ($(NO_DEPS),true) |
| 12304 | -include $(METRICS_CLIENT_OBJS:.o=.dep) |
| 12305 | endif |
| 12306 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 12307 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/metrics_client.o: $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 12308 | |
| 12309 | |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 12310 | MOCK_TEST_SRC = \ |
| 12311 | test/cpp/end2end/mock_test.cc \ |
| 12312 | |
| 12313 | MOCK_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MOCK_TEST_SRC)))) |
| 12314 | ifeq ($(NO_SECURE),true) |
| 12315 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12316 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 12317 | |
| 12318 | $(BINDIR)/$(CONFIG)/mock_test: openssl_dep_error |
| 12319 | |
| 12320 | else |
| 12321 | |
| 12322 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12323 | |
| 12324 | |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 12325 | ifeq ($(NO_PROTOBUF),true) |
| 12326 | |
| 12327 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12328 | |
| 12329 | $(BINDIR)/$(CONFIG)/mock_test: protobuf_dep_error |
| 12330 | |
| 12331 | else |
| 12332 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12333 | $(BINDIR)/$(CONFIG)/mock_test: $(PROTOBUF_DEP) $(MOCK_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 12334 | $(E) "[LD] Linking $@" |
| 12335 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12336 | $(Q) $(LDXX) $(LDFLAGS) $(MOCK_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/mock_test |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 12337 | |
| 12338 | endif |
| 12339 | |
| 12340 | endif |
| 12341 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12342 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/mock_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12343 | |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 12344 | deps_mock_test: $(MOCK_TEST_OBJS:.o=.dep) |
| 12345 | |
| 12346 | ifneq ($(NO_SECURE),true) |
| 12347 | ifneq ($(NO_DEPS),true) |
| 12348 | -include $(MOCK_TEST_OBJS:.o=.dep) |
| 12349 | endif |
| 12350 | endif |
| 12351 | |
| 12352 | |
Yuchen Zeng | 91c51a7 | 2016-05-20 14:46:49 -0700 | [diff] [blame] | 12353 | PROTO_SERVER_REFLECTION_TEST_SRC = \ |
| 12354 | test/cpp/end2end/proto_server_reflection_test.cc \ |
| 12355 | test/cpp/util/proto_reflection_descriptor_database.cc \ |
| 12356 | |
| 12357 | PROTO_SERVER_REFLECTION_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(PROTO_SERVER_REFLECTION_TEST_SRC)))) |
| 12358 | ifeq ($(NO_SECURE),true) |
| 12359 | |
| 12360 | # You can't build secure targets if you don't have OpenSSL. |
| 12361 | |
| 12362 | $(BINDIR)/$(CONFIG)/proto_server_reflection_test: openssl_dep_error |
| 12363 | |
| 12364 | else |
| 12365 | |
| 12366 | |
| 12367 | |
| 12368 | |
| 12369 | ifeq ($(NO_PROTOBUF),true) |
| 12370 | |
| 12371 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12372 | |
| 12373 | $(BINDIR)/$(CONFIG)/proto_server_reflection_test: protobuf_dep_error |
| 12374 | |
| 12375 | else |
| 12376 | |
| 12377 | $(BINDIR)/$(CONFIG)/proto_server_reflection_test: $(PROTOBUF_DEP) $(PROTO_SERVER_REFLECTION_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 12378 | $(E) "[LD] Linking $@" |
| 12379 | $(Q) mkdir -p `dirname $@` |
| 12380 | $(Q) $(LDXX) $(LDFLAGS) $(PROTO_SERVER_REFLECTION_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/proto_server_reflection_test |
| 12381 | |
| 12382 | endif |
| 12383 | |
| 12384 | endif |
| 12385 | |
| 12386 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/proto_server_reflection_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 12387 | |
| 12388 | $(OBJDIR)/$(CONFIG)/test/cpp/util/proto_reflection_descriptor_database.o: $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 12389 | |
| 12390 | deps_proto_server_reflection_test: $(PROTO_SERVER_REFLECTION_TEST_OBJS:.o=.dep) |
| 12391 | |
| 12392 | ifneq ($(NO_SECURE),true) |
| 12393 | ifneq ($(NO_DEPS),true) |
| 12394 | -include $(PROTO_SERVER_REFLECTION_TEST_OBJS:.o=.dep) |
| 12395 | endif |
| 12396 | endif |
| 12397 | |
| 12398 | |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 12399 | QPS_INTERARRIVAL_TEST_SRC = \ |
| 12400 | test/cpp/qps/qps_interarrival_test.cc \ |
| 12401 | |
| 12402 | QPS_INTERARRIVAL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_INTERARRIVAL_TEST_SRC)))) |
| 12403 | ifeq ($(NO_SECURE),true) |
| 12404 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12405 | # You can't build secure targets if you don't have OpenSSL. |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 12406 | |
| 12407 | $(BINDIR)/$(CONFIG)/qps_interarrival_test: openssl_dep_error |
| 12408 | |
| 12409 | else |
| 12410 | |
| 12411 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12412 | |
| 12413 | |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 12414 | ifeq ($(NO_PROTOBUF),true) |
| 12415 | |
| 12416 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12417 | |
| 12418 | $(BINDIR)/$(CONFIG)/qps_interarrival_test: protobuf_dep_error |
| 12419 | |
| 12420 | else |
| 12421 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12422 | $(BINDIR)/$(CONFIG)/qps_interarrival_test: $(PROTOBUF_DEP) $(QPS_INTERARRIVAL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 12423 | $(E) "[LD] Linking $@" |
| 12424 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12425 | $(Q) $(LDXX) $(LDFLAGS) $(QPS_INTERARRIVAL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/qps_interarrival_test |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 12426 | |
| 12427 | endif |
| 12428 | |
| 12429 | endif |
| 12430 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12431 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/qps_interarrival_test.o: $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12432 | |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 12433 | deps_qps_interarrival_test: $(QPS_INTERARRIVAL_TEST_OBJS:.o=.dep) |
| 12434 | |
| 12435 | ifneq ($(NO_SECURE),true) |
| 12436 | ifneq ($(NO_DEPS),true) |
| 12437 | -include $(QPS_INTERARRIVAL_TEST_OBJS:.o=.dep) |
| 12438 | endif |
| 12439 | endif |
| 12440 | |
| 12441 | |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 12442 | QPS_JSON_DRIVER_SRC = \ |
| 12443 | test/cpp/qps/qps_json_driver.cc \ |
| 12444 | |
| 12445 | QPS_JSON_DRIVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_JSON_DRIVER_SRC)))) |
| 12446 | ifeq ($(NO_SECURE),true) |
| 12447 | |
| 12448 | # You can't build secure targets if you don't have OpenSSL. |
| 12449 | |
| 12450 | $(BINDIR)/$(CONFIG)/qps_json_driver: openssl_dep_error |
| 12451 | |
| 12452 | else |
| 12453 | |
| 12454 | |
| 12455 | |
| 12456 | |
| 12457 | ifeq ($(NO_PROTOBUF),true) |
| 12458 | |
| 12459 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12460 | |
| 12461 | $(BINDIR)/$(CONFIG)/qps_json_driver: protobuf_dep_error |
| 12462 | |
| 12463 | else |
| 12464 | |
| 12465 | $(BINDIR)/$(CONFIG)/qps_json_driver: $(PROTOBUF_DEP) $(QPS_JSON_DRIVER_OBJS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
| 12466 | $(E) "[LD] Linking $@" |
| 12467 | $(Q) mkdir -p `dirname $@` |
| 12468 | $(Q) $(LDXX) $(LDFLAGS) $(QPS_JSON_DRIVER_OBJS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/qps_json_driver |
| 12469 | |
| 12470 | endif |
| 12471 | |
| 12472 | endif |
| 12473 | |
| 12474 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/qps_json_driver.o: $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
| 12475 | |
| 12476 | deps_qps_json_driver: $(QPS_JSON_DRIVER_OBJS:.o=.dep) |
| 12477 | |
| 12478 | ifneq ($(NO_SECURE),true) |
| 12479 | ifneq ($(NO_DEPS),true) |
| 12480 | -include $(QPS_JSON_DRIVER_OBJS:.o=.dep) |
| 12481 | endif |
| 12482 | endif |
| 12483 | |
| 12484 | |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 12485 | QPS_OPENLOOP_TEST_SRC = \ |
| 12486 | test/cpp/qps/qps_openloop_test.cc \ |
| 12487 | |
| 12488 | QPS_OPENLOOP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_OPENLOOP_TEST_SRC)))) |
| 12489 | ifeq ($(NO_SECURE),true) |
| 12490 | |
| 12491 | # You can't build secure targets if you don't have OpenSSL. |
| 12492 | |
| 12493 | $(BINDIR)/$(CONFIG)/qps_openloop_test: openssl_dep_error |
| 12494 | |
| 12495 | else |
| 12496 | |
| 12497 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12498 | |
| 12499 | |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 12500 | ifeq ($(NO_PROTOBUF),true) |
| 12501 | |
| 12502 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12503 | |
| 12504 | $(BINDIR)/$(CONFIG)/qps_openloop_test: protobuf_dep_error |
| 12505 | |
| 12506 | else |
| 12507 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12508 | $(BINDIR)/$(CONFIG)/qps_openloop_test: $(PROTOBUF_DEP) $(QPS_OPENLOOP_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 12509 | $(E) "[LD] Linking $@" |
| 12510 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12511 | $(Q) $(LDXX) $(LDFLAGS) $(QPS_OPENLOOP_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/qps_openloop_test |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 12512 | |
| 12513 | endif |
| 12514 | |
| 12515 | endif |
| 12516 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12517 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/qps_openloop_test.o: $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12518 | |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 12519 | deps_qps_openloop_test: $(QPS_OPENLOOP_TEST_OBJS:.o=.dep) |
| 12520 | |
| 12521 | ifneq ($(NO_SECURE),true) |
| 12522 | ifneq ($(NO_DEPS),true) |
| 12523 | -include $(QPS_OPENLOOP_TEST_OBJS:.o=.dep) |
| 12524 | endif |
| 12525 | endif |
| 12526 | |
| 12527 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 12528 | QPS_WORKER_SRC = \ |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 12529 | test/cpp/qps/worker.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12530 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 12531 | QPS_WORKER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_WORKER_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12532 | ifeq ($(NO_SECURE),true) |
| 12533 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12534 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12535 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 12536 | $(BINDIR)/$(CONFIG)/qps_worker: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12537 | |
| 12538 | else |
| 12539 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12540 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12541 | |
| 12542 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12543 | ifeq ($(NO_PROTOBUF),true) |
| 12544 | |
| 12545 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12546 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 12547 | $(BINDIR)/$(CONFIG)/qps_worker: protobuf_dep_error |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12548 | |
| 12549 | else |
| 12550 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12551 | $(BINDIR)/$(CONFIG)/qps_worker: $(PROTOBUF_DEP) $(QPS_WORKER_OBJS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12552 | $(E) "[LD] Linking $@" |
| 12553 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12554 | $(Q) $(LDXX) $(LDFLAGS) $(QPS_WORKER_OBJS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/qps_worker |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12555 | |
| 12556 | endif |
| 12557 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12558 | endif |
| 12559 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12560 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/worker.o: $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12561 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 12562 | deps_qps_worker: $(QPS_WORKER_OBJS:.o=.dep) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12563 | |
| 12564 | ifneq ($(NO_SECURE),true) |
| 12565 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 12566 | -include $(QPS_WORKER_OBJS:.o=.dep) |
vjpai | 95a34ef | 2015-02-26 16:42:24 -0800 | [diff] [blame] | 12567 | endif |
| 12568 | endif |
| 12569 | |
| 12570 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12571 | RECONNECT_INTEROP_CLIENT_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 12572 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 12573 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 12574 | $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc \ |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12575 | test/cpp/interop/reconnect_interop_client.cc \ |
| 12576 | |
| 12577 | RECONNECT_INTEROP_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RECONNECT_INTEROP_CLIENT_SRC)))) |
| 12578 | ifeq ($(NO_SECURE),true) |
| 12579 | |
| 12580 | # You can't build secure targets if you don't have OpenSSL. |
| 12581 | |
| 12582 | $(BINDIR)/$(CONFIG)/reconnect_interop_client: openssl_dep_error |
| 12583 | |
| 12584 | else |
| 12585 | |
| 12586 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12587 | |
| 12588 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12589 | ifeq ($(NO_PROTOBUF),true) |
| 12590 | |
| 12591 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12592 | |
| 12593 | $(BINDIR)/$(CONFIG)/reconnect_interop_client: protobuf_dep_error |
| 12594 | |
| 12595 | else |
| 12596 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12597 | $(BINDIR)/$(CONFIG)/reconnect_interop_client: $(PROTOBUF_DEP) $(RECONNECT_INTEROP_CLIENT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12598 | $(E) "[LD] Linking $@" |
| 12599 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12600 | $(Q) $(LDXX) $(LDFLAGS) $(RECONNECT_INTEROP_CLIENT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/reconnect_interop_client |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12601 | |
| 12602 | endif |
| 12603 | |
| 12604 | endif |
| 12605 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12606 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/empty.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12607 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12608 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12609 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12610 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12611 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12612 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/reconnect_interop_client.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12613 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12614 | deps_reconnect_interop_client: $(RECONNECT_INTEROP_CLIENT_OBJS:.o=.dep) |
| 12615 | |
| 12616 | ifneq ($(NO_SECURE),true) |
| 12617 | ifneq ($(NO_DEPS),true) |
| 12618 | -include $(RECONNECT_INTEROP_CLIENT_OBJS:.o=.dep) |
| 12619 | endif |
| 12620 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 12621 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/reconnect_interop_client.o: $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12622 | |
| 12623 | |
| 12624 | RECONNECT_INTEROP_SERVER_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 12625 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 12626 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 12627 | $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc \ |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12628 | test/cpp/interop/reconnect_interop_server.cc \ |
| 12629 | |
| 12630 | RECONNECT_INTEROP_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RECONNECT_INTEROP_SERVER_SRC)))) |
| 12631 | ifeq ($(NO_SECURE),true) |
| 12632 | |
| 12633 | # You can't build secure targets if you don't have OpenSSL. |
| 12634 | |
| 12635 | $(BINDIR)/$(CONFIG)/reconnect_interop_server: openssl_dep_error |
| 12636 | |
| 12637 | else |
| 12638 | |
| 12639 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12640 | |
| 12641 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12642 | ifeq ($(NO_PROTOBUF),true) |
| 12643 | |
| 12644 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12645 | |
| 12646 | $(BINDIR)/$(CONFIG)/reconnect_interop_server: protobuf_dep_error |
| 12647 | |
| 12648 | else |
| 12649 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12650 | $(BINDIR)/$(CONFIG)/reconnect_interop_server: $(PROTOBUF_DEP) $(RECONNECT_INTEROP_SERVER_OBJS) $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12651 | $(E) "[LD] Linking $@" |
| 12652 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12653 | $(Q) $(LDXX) $(LDFLAGS) $(RECONNECT_INTEROP_SERVER_OBJS) $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/reconnect_interop_server |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12654 | |
| 12655 | endif |
| 12656 | |
| 12657 | endif |
| 12658 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12659 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/empty.o: $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12660 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12661 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o: $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12662 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12663 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/test.o: $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12664 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12665 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/reconnect_interop_server.o: $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12666 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12667 | deps_reconnect_interop_server: $(RECONNECT_INTEROP_SERVER_OBJS:.o=.dep) |
| 12668 | |
| 12669 | ifneq ($(NO_SECURE),true) |
| 12670 | ifneq ($(NO_DEPS),true) |
| 12671 | -include $(RECONNECT_INTEROP_SERVER_OBJS:.o=.dep) |
| 12672 | endif |
| 12673 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 12674 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/reconnect_interop_server.o: $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 12675 | |
| 12676 | |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 12677 | SECURE_AUTH_CONTEXT_TEST_SRC = \ |
| 12678 | test/cpp/common/secure_auth_context_test.cc \ |
| 12679 | |
| 12680 | SECURE_AUTH_CONTEXT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_AUTH_CONTEXT_TEST_SRC)))) |
| 12681 | ifeq ($(NO_SECURE),true) |
| 12682 | |
yang-g | 96a643a | 2015-07-09 13:11:53 -0700 | [diff] [blame] | 12683 | # You can't build secure targets if you don't have OpenSSL. |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 12684 | |
| 12685 | $(BINDIR)/$(CONFIG)/secure_auth_context_test: openssl_dep_error |
| 12686 | |
| 12687 | else |
| 12688 | |
| 12689 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12690 | |
| 12691 | |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 12692 | ifeq ($(NO_PROTOBUF),true) |
| 12693 | |
| 12694 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12695 | |
| 12696 | $(BINDIR)/$(CONFIG)/secure_auth_context_test: protobuf_dep_error |
| 12697 | |
| 12698 | else |
| 12699 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12700 | $(BINDIR)/$(CONFIG)/secure_auth_context_test: $(PROTOBUF_DEP) $(SECURE_AUTH_CONTEXT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 12701 | $(E) "[LD] Linking $@" |
| 12702 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12703 | $(Q) $(LDXX) $(LDFLAGS) $(SECURE_AUTH_CONTEXT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/secure_auth_context_test |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 12704 | |
| 12705 | endif |
| 12706 | |
| 12707 | endif |
| 12708 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12709 | $(OBJDIR)/$(CONFIG)/test/cpp/common/secure_auth_context_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12710 | |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 12711 | deps_secure_auth_context_test: $(SECURE_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 12712 | |
| 12713 | ifneq ($(NO_SECURE),true) |
| 12714 | ifneq ($(NO_DEPS),true) |
| 12715 | -include $(SECURE_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 12716 | endif |
| 12717 | endif |
| 12718 | |
| 12719 | |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 12720 | SECURE_SYNC_UNARY_PING_PONG_TEST_SRC = \ |
| 12721 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc \ |
| 12722 | |
| 12723 | SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_SYNC_UNARY_PING_PONG_TEST_SRC)))) |
| 12724 | ifeq ($(NO_SECURE),true) |
| 12725 | |
| 12726 | # You can't build secure targets if you don't have OpenSSL. |
| 12727 | |
| 12728 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test: openssl_dep_error |
| 12729 | |
| 12730 | else |
| 12731 | |
| 12732 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12733 | |
| 12734 | |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 12735 | ifeq ($(NO_PROTOBUF),true) |
| 12736 | |
| 12737 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12738 | |
| 12739 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test: protobuf_dep_error |
| 12740 | |
| 12741 | else |
| 12742 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12743 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test: $(PROTOBUF_DEP) $(SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 12744 | $(E) "[LD] Linking $@" |
| 12745 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12746 | $(Q) $(LDXX) $(LDFLAGS) $(SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 12747 | |
| 12748 | endif |
| 12749 | |
| 12750 | endif |
| 12751 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12752 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/secure_sync_unary_ping_pong_test.o: $(LIBDIR)/$(CONFIG)/libqps.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12753 | |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 12754 | deps_secure_sync_unary_ping_pong_test: $(SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS:.o=.dep) |
| 12755 | |
| 12756 | ifneq ($(NO_SECURE),true) |
| 12757 | ifneq ($(NO_DEPS),true) |
| 12758 | -include $(SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS:.o=.dep) |
| 12759 | endif |
| 12760 | endif |
| 12761 | |
| 12762 | |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 12763 | SERVER_BUILDER_PLUGIN_TEST_SRC = \ |
| 12764 | test/cpp/end2end/server_builder_plugin_test.cc \ |
| 12765 | |
| 12766 | SERVER_BUILDER_PLUGIN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_BUILDER_PLUGIN_TEST_SRC)))) |
| 12767 | ifeq ($(NO_SECURE),true) |
| 12768 | |
| 12769 | # You can't build secure targets if you don't have OpenSSL. |
| 12770 | |
| 12771 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test: openssl_dep_error |
| 12772 | |
| 12773 | else |
| 12774 | |
| 12775 | |
| 12776 | |
| 12777 | |
| 12778 | ifeq ($(NO_PROTOBUF),true) |
| 12779 | |
| 12780 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12781 | |
| 12782 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test: protobuf_dep_error |
| 12783 | |
| 12784 | else |
| 12785 | |
| 12786 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test: $(PROTOBUF_DEP) $(SERVER_BUILDER_PLUGIN_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 12787 | $(E) "[LD] Linking $@" |
| 12788 | $(Q) mkdir -p `dirname $@` |
| 12789 | $(Q) $(LDXX) $(LDFLAGS) $(SERVER_BUILDER_PLUGIN_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/server_builder_plugin_test |
| 12790 | |
| 12791 | endif |
| 12792 | |
| 12793 | endif |
| 12794 | |
| 12795 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/server_builder_plugin_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 12796 | |
| 12797 | deps_server_builder_plugin_test: $(SERVER_BUILDER_PLUGIN_TEST_OBJS:.o=.dep) |
| 12798 | |
| 12799 | ifneq ($(NO_SECURE),true) |
| 12800 | ifneq ($(NO_DEPS),true) |
| 12801 | -include $(SERVER_BUILDER_PLUGIN_TEST_OBJS:.o=.dep) |
| 12802 | endif |
| 12803 | endif |
| 12804 | |
| 12805 | |
yang-g | c4292fb | 2016-10-13 16:54:08 -0700 | [diff] [blame] | 12806 | SERVER_CONTEXT_TEST_SPOUSE_TEST_SRC = \ |
| 12807 | test/cpp/test/server_context_test_spouse_test.cc \ |
| 12808 | |
| 12809 | SERVER_CONTEXT_TEST_SPOUSE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_CONTEXT_TEST_SPOUSE_TEST_SRC)))) |
| 12810 | ifeq ($(NO_SECURE),true) |
| 12811 | |
| 12812 | # You can't build secure targets if you don't have OpenSSL. |
| 12813 | |
| 12814 | $(BINDIR)/$(CONFIG)/server_context_test_spouse_test: openssl_dep_error |
| 12815 | |
| 12816 | else |
| 12817 | |
| 12818 | |
| 12819 | |
| 12820 | |
| 12821 | ifeq ($(NO_PROTOBUF),true) |
| 12822 | |
| 12823 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12824 | |
| 12825 | $(BINDIR)/$(CONFIG)/server_context_test_spouse_test: protobuf_dep_error |
| 12826 | |
| 12827 | else |
| 12828 | |
| 12829 | $(BINDIR)/$(CONFIG)/server_context_test_spouse_test: $(PROTOBUF_DEP) $(SERVER_CONTEXT_TEST_SPOUSE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++_test.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 12830 | $(E) "[LD] Linking $@" |
| 12831 | $(Q) mkdir -p `dirname $@` |
| 12832 | $(Q) $(LDXX) $(LDFLAGS) $(SERVER_CONTEXT_TEST_SPOUSE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++_test.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/server_context_test_spouse_test |
| 12833 | |
| 12834 | endif |
| 12835 | |
| 12836 | endif |
| 12837 | |
| 12838 | $(OBJDIR)/$(CONFIG)/test/cpp/test/server_context_test_spouse_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++_test.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 12839 | |
| 12840 | deps_server_context_test_spouse_test: $(SERVER_CONTEXT_TEST_SPOUSE_TEST_OBJS:.o=.dep) |
| 12841 | |
| 12842 | ifneq ($(NO_SECURE),true) |
| 12843 | ifneq ($(NO_DEPS),true) |
| 12844 | -include $(SERVER_CONTEXT_TEST_SPOUSE_TEST_OBJS:.o=.dep) |
| 12845 | endif |
| 12846 | endif |
| 12847 | |
| 12848 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12849 | SERVER_CRASH_TEST_SRC = \ |
| 12850 | test/cpp/end2end/server_crash_test.cc \ |
| 12851 | |
| 12852 | SERVER_CRASH_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_CRASH_TEST_SRC)))) |
| 12853 | ifeq ($(NO_SECURE),true) |
| 12854 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12855 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12856 | |
| 12857 | $(BINDIR)/$(CONFIG)/server_crash_test: openssl_dep_error |
| 12858 | |
| 12859 | else |
| 12860 | |
| 12861 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12862 | |
| 12863 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12864 | ifeq ($(NO_PROTOBUF),true) |
| 12865 | |
| 12866 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12867 | |
| 12868 | $(BINDIR)/$(CONFIG)/server_crash_test: protobuf_dep_error |
| 12869 | |
| 12870 | else |
| 12871 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12872 | $(BINDIR)/$(CONFIG)/server_crash_test: $(PROTOBUF_DEP) $(SERVER_CRASH_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12873 | $(E) "[LD] Linking $@" |
| 12874 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12875 | $(Q) $(LDXX) $(LDFLAGS) $(SERVER_CRASH_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/server_crash_test |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12876 | |
| 12877 | endif |
| 12878 | |
| 12879 | endif |
| 12880 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12881 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/server_crash_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12882 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12883 | deps_server_crash_test: $(SERVER_CRASH_TEST_OBJS:.o=.dep) |
| 12884 | |
| 12885 | ifneq ($(NO_SECURE),true) |
| 12886 | ifneq ($(NO_DEPS),true) |
| 12887 | -include $(SERVER_CRASH_TEST_OBJS:.o=.dep) |
| 12888 | endif |
| 12889 | endif |
| 12890 | |
| 12891 | |
| 12892 | SERVER_CRASH_TEST_CLIENT_SRC = \ |
| 12893 | test/cpp/end2end/server_crash_test_client.cc \ |
| 12894 | |
| 12895 | SERVER_CRASH_TEST_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_CRASH_TEST_CLIENT_SRC)))) |
| 12896 | ifeq ($(NO_SECURE),true) |
| 12897 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12898 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12899 | |
| 12900 | $(BINDIR)/$(CONFIG)/server_crash_test_client: openssl_dep_error |
| 12901 | |
| 12902 | else |
| 12903 | |
| 12904 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12905 | |
| 12906 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12907 | ifeq ($(NO_PROTOBUF),true) |
| 12908 | |
| 12909 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12910 | |
| 12911 | $(BINDIR)/$(CONFIG)/server_crash_test_client: protobuf_dep_error |
| 12912 | |
| 12913 | else |
| 12914 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12915 | $(BINDIR)/$(CONFIG)/server_crash_test_client: $(PROTOBUF_DEP) $(SERVER_CRASH_TEST_CLIENT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12916 | $(E) "[LD] Linking $@" |
| 12917 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12918 | $(Q) $(LDXX) $(LDFLAGS) $(SERVER_CRASH_TEST_CLIENT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/server_crash_test_client |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12919 | |
| 12920 | endif |
| 12921 | |
| 12922 | endif |
| 12923 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12924 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/server_crash_test_client.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12925 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12926 | deps_server_crash_test_client: $(SERVER_CRASH_TEST_CLIENT_OBJS:.o=.dep) |
| 12927 | |
| 12928 | ifneq ($(NO_SECURE),true) |
| 12929 | ifneq ($(NO_DEPS),true) |
| 12930 | -include $(SERVER_CRASH_TEST_CLIENT_OBJS:.o=.dep) |
| 12931 | endif |
| 12932 | endif |
| 12933 | |
| 12934 | |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 12935 | SHUTDOWN_TEST_SRC = \ |
| 12936 | test/cpp/end2end/shutdown_test.cc \ |
| 12937 | |
| 12938 | SHUTDOWN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SHUTDOWN_TEST_SRC)))) |
| 12939 | ifeq ($(NO_SECURE),true) |
| 12940 | |
| 12941 | # You can't build secure targets if you don't have OpenSSL. |
| 12942 | |
| 12943 | $(BINDIR)/$(CONFIG)/shutdown_test: openssl_dep_error |
| 12944 | |
| 12945 | else |
| 12946 | |
| 12947 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12948 | |
| 12949 | |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 12950 | ifeq ($(NO_PROTOBUF),true) |
| 12951 | |
| 12952 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12953 | |
| 12954 | $(BINDIR)/$(CONFIG)/shutdown_test: protobuf_dep_error |
| 12955 | |
| 12956 | else |
| 12957 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12958 | $(BINDIR)/$(CONFIG)/shutdown_test: $(PROTOBUF_DEP) $(SHUTDOWN_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 12959 | $(E) "[LD] Linking $@" |
| 12960 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12961 | $(Q) $(LDXX) $(LDFLAGS) $(SHUTDOWN_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/shutdown_test |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 12962 | |
| 12963 | endif |
| 12964 | |
| 12965 | endif |
| 12966 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12967 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/shutdown_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12968 | |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 12969 | deps_shutdown_test: $(SHUTDOWN_TEST_OBJS:.o=.dep) |
| 12970 | |
| 12971 | ifneq ($(NO_SECURE),true) |
| 12972 | ifneq ($(NO_DEPS),true) |
| 12973 | -include $(SHUTDOWN_TEST_OBJS:.o=.dep) |
| 12974 | endif |
| 12975 | endif |
| 12976 | |
| 12977 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12978 | STATUS_TEST_SRC = \ |
| 12979 | test/cpp/util/status_test.cc \ |
| 12980 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 12981 | STATUS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(STATUS_TEST_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12982 | ifeq ($(NO_SECURE),true) |
| 12983 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12984 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12985 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 12986 | $(BINDIR)/$(CONFIG)/status_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12987 | |
| 12988 | else |
| 12989 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12990 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12991 | |
| 12992 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12993 | ifeq ($(NO_PROTOBUF),true) |
| 12994 | |
| 12995 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12996 | |
| 12997 | $(BINDIR)/$(CONFIG)/status_test: protobuf_dep_error |
| 12998 | |
| 12999 | else |
| 13000 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13001 | $(BINDIR)/$(CONFIG)/status_test: $(PROTOBUF_DEP) $(STATUS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 13002 | $(E) "[LD] Linking $@" |
| 13003 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13004 | $(Q) $(LDXX) $(LDFLAGS) $(STATUS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/status_test |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 13005 | |
| 13006 | endif |
| 13007 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 13008 | endif |
| 13009 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13010 | $(OBJDIR)/$(CONFIG)/test/cpp/util/status_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13011 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 13012 | deps_status_test: $(STATUS_TEST_OBJS:.o=.dep) |
| 13013 | |
| 13014 | ifneq ($(NO_SECURE),true) |
| 13015 | ifneq ($(NO_DEPS),true) |
| 13016 | -include $(STATUS_TEST_OBJS:.o=.dep) |
| 13017 | endif |
| 13018 | endif |
| 13019 | |
| 13020 | |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 13021 | STREAMING_THROUGHPUT_TEST_SRC = \ |
| 13022 | test/cpp/end2end/streaming_throughput_test.cc \ |
| 13023 | |
| 13024 | STREAMING_THROUGHPUT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(STREAMING_THROUGHPUT_TEST_SRC)))) |
| 13025 | ifeq ($(NO_SECURE),true) |
| 13026 | |
| 13027 | # You can't build secure targets if you don't have OpenSSL. |
| 13028 | |
| 13029 | $(BINDIR)/$(CONFIG)/streaming_throughput_test: openssl_dep_error |
| 13030 | |
| 13031 | else |
| 13032 | |
| 13033 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13034 | |
| 13035 | |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 13036 | ifeq ($(NO_PROTOBUF),true) |
| 13037 | |
| 13038 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 13039 | |
| 13040 | $(BINDIR)/$(CONFIG)/streaming_throughput_test: protobuf_dep_error |
| 13041 | |
| 13042 | else |
| 13043 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13044 | $(BINDIR)/$(CONFIG)/streaming_throughput_test: $(PROTOBUF_DEP) $(STREAMING_THROUGHPUT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 13045 | $(E) "[LD] Linking $@" |
| 13046 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13047 | $(Q) $(LDXX) $(LDFLAGS) $(STREAMING_THROUGHPUT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/streaming_throughput_test |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 13048 | |
| 13049 | endif |
| 13050 | |
| 13051 | endif |
| 13052 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13053 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/streaming_throughput_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13054 | |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 13055 | deps_streaming_throughput_test: $(STREAMING_THROUGHPUT_TEST_OBJS:.o=.dep) |
| 13056 | |
| 13057 | ifneq ($(NO_SECURE),true) |
| 13058 | ifneq ($(NO_DEPS),true) |
| 13059 | -include $(STREAMING_THROUGHPUT_TEST_OBJS:.o=.dep) |
| 13060 | endif |
| 13061 | endif |
| 13062 | |
| 13063 | |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 13064 | STRESS_TEST_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 13065 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 13066 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 13067 | $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc \ |
| 13068 | $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc \ |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 13069 | test/cpp/interop/interop_client.cc \ |
| 13070 | test/cpp/interop/stress_interop_client.cc \ |
| 13071 | test/cpp/interop/stress_test.cc \ |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 13072 | test/cpp/util/metrics_server.cc \ |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 13073 | |
| 13074 | STRESS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(STRESS_TEST_SRC)))) |
| 13075 | ifeq ($(NO_SECURE),true) |
| 13076 | |
| 13077 | # You can't build secure targets if you don't have OpenSSL. |
| 13078 | |
| 13079 | $(BINDIR)/$(CONFIG)/stress_test: openssl_dep_error |
| 13080 | |
| 13081 | else |
| 13082 | |
| 13083 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13084 | |
| 13085 | |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 13086 | ifeq ($(NO_PROTOBUF),true) |
| 13087 | |
| 13088 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 13089 | |
| 13090 | $(BINDIR)/$(CONFIG)/stress_test: protobuf_dep_error |
| 13091 | |
| 13092 | else |
| 13093 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13094 | $(BINDIR)/$(CONFIG)/stress_test: $(PROTOBUF_DEP) $(STRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 13095 | $(E) "[LD] Linking $@" |
| 13096 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13097 | $(Q) $(LDXX) $(LDFLAGS) $(STRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/stress_test |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 13098 | |
| 13099 | endif |
| 13100 | |
| 13101 | endif |
| 13102 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13103 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/empty.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13104 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13105 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13106 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13107 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/metrics.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13108 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13109 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13110 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13111 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/interop_client.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13112 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13113 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/stress_interop_client.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13114 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13115 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/stress_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13116 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13117 | $(OBJDIR)/$(CONFIG)/test/cpp/util/metrics_server.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13118 | |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 13119 | deps_stress_test: $(STRESS_TEST_OBJS:.o=.dep) |
| 13120 | |
| 13121 | ifneq ($(NO_SECURE),true) |
| 13122 | ifneq ($(NO_DEPS),true) |
| 13123 | -include $(STRESS_TEST_OBJS:.o=.dep) |
| 13124 | endif |
| 13125 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 13126 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/interop_client.o: $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc |
| 13127 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/stress_interop_client.o: $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc |
| 13128 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/stress_test.o: $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc |
| 13129 | $(OBJDIR)/$(CONFIG)/test/cpp/util/metrics_server.o: $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 13130 | |
| 13131 | |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 13132 | THREAD_STRESS_TEST_SRC = \ |
| 13133 | test/cpp/end2end/thread_stress_test.cc \ |
| 13134 | |
| 13135 | THREAD_STRESS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(THREAD_STRESS_TEST_SRC)))) |
| 13136 | ifeq ($(NO_SECURE),true) |
| 13137 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13138 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 13139 | |
| 13140 | $(BINDIR)/$(CONFIG)/thread_stress_test: openssl_dep_error |
| 13141 | |
| 13142 | else |
| 13143 | |
| 13144 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13145 | |
| 13146 | |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 13147 | ifeq ($(NO_PROTOBUF),true) |
| 13148 | |
| 13149 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 13150 | |
| 13151 | $(BINDIR)/$(CONFIG)/thread_stress_test: protobuf_dep_error |
| 13152 | |
| 13153 | else |
| 13154 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13155 | $(BINDIR)/$(CONFIG)/thread_stress_test: $(PROTOBUF_DEP) $(THREAD_STRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 13156 | $(E) "[LD] Linking $@" |
| 13157 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13158 | $(Q) $(LDXX) $(LDFLAGS) $(THREAD_STRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/thread_stress_test |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 13159 | |
| 13160 | endif |
| 13161 | |
| 13162 | endif |
| 13163 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13164 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/thread_stress_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13165 | |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 13166 | deps_thread_stress_test: $(THREAD_STRESS_TEST_OBJS:.o=.dep) |
| 13167 | |
| 13168 | ifneq ($(NO_SECURE),true) |
| 13169 | ifneq ($(NO_DEPS),true) |
| 13170 | -include $(THREAD_STRESS_TEST_OBJS:.o=.dep) |
| 13171 | endif |
| 13172 | endif |
| 13173 | |
| 13174 | |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13175 | PUBLIC_HEADERS_MUST_BE_C89_SRC = \ |
| 13176 | test/core/surface/public_headers_must_be_c89.c \ |
| 13177 | |
| 13178 | PUBLIC_HEADERS_MUST_BE_C89_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(PUBLIC_HEADERS_MUST_BE_C89_SRC)))) |
| 13179 | ifeq ($(NO_SECURE),true) |
| 13180 | |
| 13181 | # You can't build secure targets if you don't have OpenSSL. |
| 13182 | |
| 13183 | $(BINDIR)/$(CONFIG)/public_headers_must_be_c89: openssl_dep_error |
| 13184 | |
| 13185 | else |
| 13186 | |
| 13187 | |
| 13188 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13189 | $(BINDIR)/$(CONFIG)/public_headers_must_be_c89: $(PUBLIC_HEADERS_MUST_BE_C89_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13190 | $(E) "[LD] Linking $@" |
| 13191 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13192 | $(Q) $(LD) $(LDFLAGS) $(PUBLIC_HEADERS_MUST_BE_C89_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/public_headers_must_be_c89 |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13193 | |
| 13194 | endif |
| 13195 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13196 | $(OBJDIR)/$(CONFIG)/test/core/surface/public_headers_must_be_c89.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | ea21ca2 | 2016-01-04 12:34:29 -0800 | [diff] [blame] | 13197 | $(OBJDIR)/$(CONFIG)/test/core/surface/public_headers_must_be_c89.o : test/core/surface/public_headers_must_be_c89.c |
| 13198 | $(E) "[C] Compiling $<" |
| 13199 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 13200 | $(Q) $(CC) $(CPPFLAGS) $(CFLAGS) -std=c89 -pedantic -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 13201 | |
| 13202 | deps_public_headers_must_be_c89: $(PUBLIC_HEADERS_MUST_BE_C89_OBJS:.o=.dep) |
| 13203 | |
| 13204 | ifneq ($(NO_SECURE),true) |
| 13205 | ifneq ($(NO_DEPS),true) |
| 13206 | -include $(PUBLIC_HEADERS_MUST_BE_C89_OBJS:.o=.dep) |
| 13207 | endif |
| 13208 | endif |
| 13209 | |
| 13210 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 13211 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13212 | # boringssl needs an override to ensure that it does not include |
| 13213 | # system openssl headers regardless of other configuration |
| 13214 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13215 | $(BORINGSSL_AES_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13216 | $(BORINGSSL_AES_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13217 | $(BORINGSSL_AES_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 13218 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13219 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13220 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13221 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13222 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13223 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13224 | $(BINDIR)/$(CONFIG)/boringssl_aes_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13225 | |
| 13226 | else |
| 13227 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13228 | $(BINDIR)/$(CONFIG)/boringssl_aes_test: $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13229 | $(E) "[LD] Linking $@" |
| 13230 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13231 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_aes_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13232 | |
| 13233 | endif |
| 13234 | |
| 13235 | |
| 13236 | |
| 13237 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13238 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13239 | # boringssl needs an override to ensure that it does not include |
| 13240 | # system openssl headers regardless of other configuration |
| 13241 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13242 | $(BORINGSSL_ASN1_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 13243 | $(BORINGSSL_ASN1_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13244 | $(BORINGSSL_ASN1_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
| 13245 | |
| 13246 | |
| 13247 | ifeq ($(NO_PROTOBUF),true) |
| 13248 | |
| 13249 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 13250 | |
| 13251 | $(BINDIR)/$(CONFIG)/boringssl_asn1_test: protobuf_dep_error |
| 13252 | |
| 13253 | else |
| 13254 | |
| 13255 | $(BINDIR)/$(CONFIG)/boringssl_asn1_test: $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
| 13256 | $(E) "[LD] Linking $@" |
| 13257 | $(Q) mkdir -p `dirname $@` |
| 13258 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_asn1_test |
| 13259 | |
| 13260 | endif |
| 13261 | |
| 13262 | |
| 13263 | |
| 13264 | |
| 13265 | |
| 13266 | # boringssl needs an override to ensure that it does not include |
| 13267 | # system openssl headers regardless of other configuration |
| 13268 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13269 | $(BORINGSSL_BASE64_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13270 | $(BORINGSSL_BASE64_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13271 | $(BORINGSSL_BASE64_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13272 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13273 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13274 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13275 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13276 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13277 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13278 | $(BINDIR)/$(CONFIG)/boringssl_base64_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13279 | |
| 13280 | else |
| 13281 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13282 | $(BINDIR)/$(CONFIG)/boringssl_base64_test: $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13283 | $(E) "[LD] Linking $@" |
| 13284 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13285 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_base64_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13286 | |
| 13287 | endif |
| 13288 | |
| 13289 | |
| 13290 | |
| 13291 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13292 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13293 | # boringssl needs an override to ensure that it does not include |
| 13294 | # system openssl headers regardless of other configuration |
| 13295 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13296 | $(BORINGSSL_BIO_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13297 | $(BORINGSSL_BIO_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13298 | $(BORINGSSL_BIO_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13299 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13300 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13301 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13302 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13303 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13304 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13305 | $(BINDIR)/$(CONFIG)/boringssl_bio_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13306 | |
| 13307 | else |
| 13308 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13309 | $(BINDIR)/$(CONFIG)/boringssl_bio_test: $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13310 | $(E) "[LD] Linking $@" |
| 13311 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13312 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_bio_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13313 | |
| 13314 | endif |
| 13315 | |
| 13316 | |
| 13317 | |
| 13318 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13319 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13320 | # boringssl needs an override to ensure that it does not include |
| 13321 | # system openssl headers regardless of other configuration |
| 13322 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13323 | $(BORINGSSL_BN_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13324 | $(BORINGSSL_BN_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13325 | $(BORINGSSL_BN_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13326 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13327 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13328 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13329 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13330 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13331 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13332 | $(BINDIR)/$(CONFIG)/boringssl_bn_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13333 | |
| 13334 | else |
| 13335 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13336 | $(BINDIR)/$(CONFIG)/boringssl_bn_test: $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13337 | $(E) "[LD] Linking $@" |
| 13338 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13339 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_bn_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13340 | |
| 13341 | endif |
| 13342 | |
| 13343 | |
| 13344 | |
| 13345 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13346 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13347 | # boringssl needs an override to ensure that it does not include |
| 13348 | # system openssl headers regardless of other configuration |
| 13349 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13350 | $(BORINGSSL_BYTESTRING_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13351 | $(BORINGSSL_BYTESTRING_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13352 | $(BORINGSSL_BYTESTRING_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13353 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13354 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13355 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13356 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13357 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13358 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13359 | $(BINDIR)/$(CONFIG)/boringssl_bytestring_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13360 | |
| 13361 | else |
| 13362 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13363 | $(BINDIR)/$(CONFIG)/boringssl_bytestring_test: $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13364 | $(E) "[LD] Linking $@" |
| 13365 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13366 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_bytestring_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13367 | |
| 13368 | endif |
| 13369 | |
| 13370 | |
| 13371 | |
| 13372 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13373 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13374 | # boringssl needs an override to ensure that it does not include |
| 13375 | # system openssl headers regardless of other configuration |
| 13376 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13377 | $(BORINGSSL_AEAD_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13378 | $(BORINGSSL_AEAD_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13379 | $(BORINGSSL_AEAD_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13380 | |
Craig Tiller | aae3b8c | 2015-12-10 14:43:04 -0800 | [diff] [blame] | 13381 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13382 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | aae3b8c | 2015-12-10 14:43:04 -0800 | [diff] [blame] | 13383 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13384 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | aae3b8c | 2015-12-10 14:43:04 -0800 | [diff] [blame] | 13385 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13386 | $(BINDIR)/$(CONFIG)/boringssl_aead_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13387 | |
| 13388 | else |
| 13389 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13390 | $(BINDIR)/$(CONFIG)/boringssl_aead_test: $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13391 | $(E) "[LD] Linking $@" |
| 13392 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13393 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_aead_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13394 | |
| 13395 | endif |
| 13396 | |
| 13397 | |
| 13398 | |
| 13399 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13400 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13401 | # boringssl needs an override to ensure that it does not include |
| 13402 | # system openssl headers regardless of other configuration |
| 13403 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13404 | $(BORINGSSL_CIPHER_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13405 | $(BORINGSSL_CIPHER_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13406 | $(BORINGSSL_CIPHER_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13407 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13408 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13409 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13410 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13411 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13412 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13413 | $(BINDIR)/$(CONFIG)/boringssl_cipher_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13414 | |
| 13415 | else |
| 13416 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13417 | $(BINDIR)/$(CONFIG)/boringssl_cipher_test: $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13418 | $(E) "[LD] Linking $@" |
| 13419 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13420 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_cipher_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13421 | |
| 13422 | endif |
| 13423 | |
| 13424 | |
| 13425 | |
| 13426 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13427 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13428 | # boringssl needs an override to ensure that it does not include |
| 13429 | # system openssl headers regardless of other configuration |
| 13430 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13431 | $(BORINGSSL_CMAC_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13432 | $(BORINGSSL_CMAC_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13433 | $(BORINGSSL_CMAC_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13434 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13435 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13436 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13437 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13438 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13439 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13440 | $(BINDIR)/$(CONFIG)/boringssl_cmac_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13441 | |
| 13442 | else |
| 13443 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13444 | $(BINDIR)/$(CONFIG)/boringssl_cmac_test: $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13445 | $(E) "[LD] Linking $@" |
| 13446 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13447 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_cmac_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13448 | |
| 13449 | endif |
| 13450 | |
| 13451 | |
| 13452 | |
| 13453 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13454 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13455 | # boringssl needs an override to ensure that it does not include |
| 13456 | # system openssl headers regardless of other configuration |
| 13457 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13458 | $(BORINGSSL_CONSTANT_TIME_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13459 | $(BORINGSSL_CONSTANT_TIME_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13460 | $(BORINGSSL_CONSTANT_TIME_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13461 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13462 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13463 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13464 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13465 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13466 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13467 | $(BINDIR)/$(CONFIG)/boringssl_constant_time_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13468 | |
| 13469 | else |
| 13470 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13471 | $(BINDIR)/$(CONFIG)/boringssl_constant_time_test: $(LIBDIR)/$(CONFIG)/libboringssl_constant_time_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13472 | $(E) "[LD] Linking $@" |
| 13473 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13474 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_constant_time_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_constant_time_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13475 | |
| 13476 | endif |
| 13477 | |
| 13478 | |
| 13479 | |
| 13480 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13481 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13482 | # boringssl needs an override to ensure that it does not include |
| 13483 | # system openssl headers regardless of other configuration |
| 13484 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13485 | $(BORINGSSL_ED25519_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13486 | $(BORINGSSL_ED25519_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13487 | $(BORINGSSL_ED25519_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13488 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13489 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13490 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13491 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13492 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13493 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13494 | $(BINDIR)/$(CONFIG)/boringssl_ed25519_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13495 | |
| 13496 | else |
| 13497 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13498 | $(BINDIR)/$(CONFIG)/boringssl_ed25519_test: $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13499 | $(E) "[LD] Linking $@" |
| 13500 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13501 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_ed25519_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13502 | |
| 13503 | endif |
| 13504 | |
| 13505 | |
| 13506 | |
| 13507 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13508 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13509 | # boringssl needs an override to ensure that it does not include |
| 13510 | # system openssl headers regardless of other configuration |
| 13511 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13512 | $(BORINGSSL_X25519_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13513 | $(BORINGSSL_X25519_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13514 | $(BORINGSSL_X25519_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13515 | |
| 13516 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13517 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13518 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13519 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13520 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13521 | $(BINDIR)/$(CONFIG)/boringssl_x25519_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13522 | |
| 13523 | else |
| 13524 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13525 | $(BINDIR)/$(CONFIG)/boringssl_x25519_test: $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13526 | $(E) "[LD] Linking $@" |
| 13527 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13528 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_x25519_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13529 | |
| 13530 | endif |
| 13531 | |
| 13532 | |
| 13533 | |
| 13534 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13535 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13536 | # boringssl needs an override to ensure that it does not include |
| 13537 | # system openssl headers regardless of other configuration |
| 13538 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13539 | $(BORINGSSL_DH_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13540 | $(BORINGSSL_DH_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13541 | $(BORINGSSL_DH_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13542 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13543 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13544 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13545 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13546 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13547 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13548 | $(BINDIR)/$(CONFIG)/boringssl_dh_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13549 | |
| 13550 | else |
| 13551 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13552 | $(BINDIR)/$(CONFIG)/boringssl_dh_test: $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13553 | $(E) "[LD] Linking $@" |
| 13554 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13555 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_dh_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13556 | |
| 13557 | endif |
| 13558 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13559 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13560 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13561 | |
| 13562 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13563 | # boringssl needs an override to ensure that it does not include |
| 13564 | # system openssl headers regardless of other configuration |
| 13565 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13566 | $(BORINGSSL_DIGEST_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13567 | $(BORINGSSL_DIGEST_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13568 | $(BORINGSSL_DIGEST_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13569 | |
| 13570 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13571 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13572 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13573 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13574 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13575 | $(BINDIR)/$(CONFIG)/boringssl_digest_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13576 | |
| 13577 | else |
| 13578 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13579 | $(BINDIR)/$(CONFIG)/boringssl_digest_test: $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13580 | $(E) "[LD] Linking $@" |
| 13581 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13582 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_digest_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13583 | |
| 13584 | endif |
| 13585 | |
| 13586 | |
| 13587 | |
| 13588 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13589 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13590 | # boringssl needs an override to ensure that it does not include |
| 13591 | # system openssl headers regardless of other configuration |
| 13592 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13593 | $(BORINGSSL_DSA_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13594 | $(BORINGSSL_DSA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13595 | $(BORINGSSL_DSA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13596 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13597 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13598 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13599 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13600 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13601 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13602 | $(BINDIR)/$(CONFIG)/boringssl_dsa_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13603 | |
| 13604 | else |
| 13605 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13606 | $(BINDIR)/$(CONFIG)/boringssl_dsa_test: $(LIBDIR)/$(CONFIG)/libboringssl_dsa_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13607 | $(E) "[LD] Linking $@" |
| 13608 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13609 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_dsa_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_dsa_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13610 | |
| 13611 | endif |
| 13612 | |
| 13613 | |
| 13614 | |
| 13615 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13616 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13617 | # boringssl needs an override to ensure that it does not include |
| 13618 | # system openssl headers regardless of other configuration |
| 13619 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13620 | $(BORINGSSL_EC_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13621 | $(BORINGSSL_EC_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13622 | $(BORINGSSL_EC_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13623 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13624 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13625 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13626 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13627 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13628 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13629 | $(BINDIR)/$(CONFIG)/boringssl_ec_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13630 | |
| 13631 | else |
| 13632 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13633 | $(BINDIR)/$(CONFIG)/boringssl_ec_test: $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13634 | $(E) "[LD] Linking $@" |
| 13635 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13636 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_ec_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13637 | |
| 13638 | endif |
| 13639 | |
| 13640 | |
| 13641 | |
| 13642 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13643 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13644 | # boringssl needs an override to ensure that it does not include |
| 13645 | # system openssl headers regardless of other configuration |
| 13646 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13647 | $(BORINGSSL_EXAMPLE_MUL_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13648 | $(BORINGSSL_EXAMPLE_MUL_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13649 | $(BORINGSSL_EXAMPLE_MUL_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13650 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13651 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13652 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13653 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13654 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13655 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13656 | $(BINDIR)/$(CONFIG)/boringssl_example_mul: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13657 | |
| 13658 | else |
| 13659 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13660 | $(BINDIR)/$(CONFIG)/boringssl_example_mul: $(LIBDIR)/$(CONFIG)/libboringssl_example_mul_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13661 | $(E) "[LD] Linking $@" |
| 13662 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13663 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_example_mul_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_example_mul |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13664 | |
| 13665 | endif |
| 13666 | |
| 13667 | |
| 13668 | |
| 13669 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13670 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13671 | # boringssl needs an override to ensure that it does not include |
| 13672 | # system openssl headers regardless of other configuration |
| 13673 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13674 | $(BORINGSSL_ECDSA_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13675 | $(BORINGSSL_ECDSA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13676 | $(BORINGSSL_ECDSA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13677 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13678 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13679 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13680 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13681 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13682 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13683 | $(BINDIR)/$(CONFIG)/boringssl_ecdsa_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13684 | |
| 13685 | else |
| 13686 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13687 | $(BINDIR)/$(CONFIG)/boringssl_ecdsa_test: $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13688 | $(E) "[LD] Linking $@" |
| 13689 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13690 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_ecdsa_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13691 | |
| 13692 | endif |
| 13693 | |
| 13694 | |
| 13695 | |
| 13696 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13697 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13698 | # boringssl needs an override to ensure that it does not include |
| 13699 | # system openssl headers regardless of other configuration |
| 13700 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13701 | $(BORINGSSL_ERR_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13702 | $(BORINGSSL_ERR_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13703 | $(BORINGSSL_ERR_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13704 | |
| 13705 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13706 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13707 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13708 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13709 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13710 | $(BINDIR)/$(CONFIG)/boringssl_err_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13711 | |
| 13712 | else |
| 13713 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13714 | $(BINDIR)/$(CONFIG)/boringssl_err_test: $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13715 | $(E) "[LD] Linking $@" |
| 13716 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13717 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_err_test |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13718 | |
| 13719 | endif |
| 13720 | |
| 13721 | |
| 13722 | |
| 13723 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13724 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13725 | # boringssl needs an override to ensure that it does not include |
| 13726 | # system openssl headers regardless of other configuration |
| 13727 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13728 | $(BORINGSSL_EVP_EXTRA_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13729 | $(BORINGSSL_EVP_EXTRA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13730 | $(BORINGSSL_EVP_EXTRA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 13731 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 13732 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13733 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13734 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13735 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13736 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13737 | $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13738 | |
| 13739 | else |
| 13740 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13741 | $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test: $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13742 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 13743 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13744 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13745 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13746 | endif |
| 13747 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 13748 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13749 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13750 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13751 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13752 | # boringssl needs an override to ensure that it does not include |
| 13753 | # system openssl headers regardless of other configuration |
| 13754 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13755 | $(BORINGSSL_EVP_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13756 | $(BORINGSSL_EVP_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13757 | $(BORINGSSL_EVP_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13758 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13759 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13760 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13761 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13762 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13763 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13764 | $(BINDIR)/$(CONFIG)/boringssl_evp_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13765 | |
| 13766 | else |
| 13767 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13768 | $(BINDIR)/$(CONFIG)/boringssl_evp_test: $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13769 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 13770 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13771 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_evp_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13772 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13773 | endif |
| 13774 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 13775 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13776 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13777 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13778 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13779 | # boringssl needs an override to ensure that it does not include |
| 13780 | # system openssl headers regardless of other configuration |
| 13781 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13782 | $(BORINGSSL_PBKDF_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13783 | $(BORINGSSL_PBKDF_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13784 | $(BORINGSSL_PBKDF_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13785 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13786 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13787 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13788 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13789 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13790 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13791 | $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13792 | |
| 13793 | else |
| 13794 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13795 | $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test: $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13796 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 13797 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13798 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13799 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13800 | endif |
| 13801 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 13802 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13803 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13804 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13805 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13806 | # boringssl needs an override to ensure that it does not include |
| 13807 | # system openssl headers regardless of other configuration |
| 13808 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13809 | $(BORINGSSL_HKDF_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13810 | $(BORINGSSL_HKDF_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13811 | $(BORINGSSL_HKDF_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13812 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13813 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13814 | ifeq ($(NO_PROTOBUF),true) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13815 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13816 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13817 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13818 | $(BINDIR)/$(CONFIG)/boringssl_hkdf_test: protobuf_dep_error |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 13819 | |
| 13820 | else |
| 13821 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13822 | $(BINDIR)/$(CONFIG)/boringssl_hkdf_test: $(LIBDIR)/$(CONFIG)/libboringssl_hkdf_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 13823 | $(E) "[LD] Linking $@" |
| 13824 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13825 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_hkdf_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_hkdf_test |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 13826 | |
| 13827 | endif |
| 13828 | |
| 13829 | |
| 13830 | |
| 13831 | |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 13832 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13833 | # boringssl needs an override to ensure that it does not include |
| 13834 | # system openssl headers regardless of other configuration |
| 13835 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13836 | $(BORINGSSL_HMAC_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13837 | $(BORINGSSL_HMAC_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13838 | $(BORINGSSL_HMAC_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 13839 | |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 13840 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13841 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 13842 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13843 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 13844 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13845 | $(BINDIR)/$(CONFIG)/boringssl_hmac_test: protobuf_dep_error |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 13846 | |
| 13847 | else |
| 13848 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13849 | $(BINDIR)/$(CONFIG)/boringssl_hmac_test: $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 13850 | $(E) "[LD] Linking $@" |
| 13851 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13852 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_hmac_test |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 13853 | |
| 13854 | endif |
| 13855 | |
| 13856 | |
| 13857 | |
| 13858 | |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 13859 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13860 | # boringssl needs an override to ensure that it does not include |
| 13861 | # system openssl headers regardless of other configuration |
| 13862 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13863 | $(BORINGSSL_LHASH_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13864 | $(BORINGSSL_LHASH_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13865 | $(BORINGSSL_LHASH_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 13866 | |
ctiller | c6d61c4 | 2014-12-15 14:52:08 -0800 | [diff] [blame] | 13867 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13868 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13869 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13870 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13871 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13872 | $(BINDIR)/$(CONFIG)/boringssl_lhash_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13873 | |
| 13874 | else |
| 13875 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13876 | $(BINDIR)/$(CONFIG)/boringssl_lhash_test: $(LIBDIR)/$(CONFIG)/libboringssl_lhash_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13877 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 13878 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13879 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_lhash_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_lhash_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13880 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13881 | endif |
| 13882 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 13883 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13884 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13885 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13886 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13887 | # boringssl needs an override to ensure that it does not include |
| 13888 | # system openssl headers regardless of other configuration |
| 13889 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13890 | $(BORINGSSL_GCM_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13891 | $(BORINGSSL_GCM_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13892 | $(BORINGSSL_GCM_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13893 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13894 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13895 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13896 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13897 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
murgatroid99 | a8c21e8 | 2015-02-12 13:55:53 -0800 | [diff] [blame] | 13898 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13899 | $(BINDIR)/$(CONFIG)/boringssl_gcm_test: protobuf_dep_error |
murgatroid99 | a8c21e8 | 2015-02-12 13:55:53 -0800 | [diff] [blame] | 13900 | |
| 13901 | else |
| 13902 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13903 | $(BINDIR)/$(CONFIG)/boringssl_gcm_test: $(LIBDIR)/$(CONFIG)/libboringssl_gcm_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
murgatroid99 | a8c21e8 | 2015-02-12 13:55:53 -0800 | [diff] [blame] | 13904 | $(E) "[LD] Linking $@" |
| 13905 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13906 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_gcm_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_gcm_test |
murgatroid99 | a8c21e8 | 2015-02-12 13:55:53 -0800 | [diff] [blame] | 13907 | |
| 13908 | endif |
| 13909 | |
| 13910 | |
murgatroid99 | a8c21e8 | 2015-02-12 13:55:53 -0800 | [diff] [blame] | 13911 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13912 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13913 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13914 | # boringssl needs an override to ensure that it does not include |
| 13915 | # system openssl headers regardless of other configuration |
| 13916 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13917 | $(BORINGSSL_PKCS12_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13918 | $(BORINGSSL_PKCS12_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13919 | $(BORINGSSL_PKCS12_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 13920 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13921 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13922 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13923 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13924 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13925 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13926 | $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13927 | |
| 13928 | else |
| 13929 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13930 | $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test: $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13931 | $(E) "[LD] Linking $@" |
| 13932 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13933 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13934 | |
| 13935 | endif |
| 13936 | |
| 13937 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13938 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13939 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13940 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13941 | # boringssl needs an override to ensure that it does not include |
| 13942 | # system openssl headers regardless of other configuration |
| 13943 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13944 | $(BORINGSSL_PKCS8_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13945 | $(BORINGSSL_PKCS8_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13946 | $(BORINGSSL_PKCS8_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13947 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13948 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13949 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13950 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13951 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13952 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13953 | $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test: protobuf_dep_error |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13954 | |
| 13955 | else |
| 13956 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13957 | $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test: $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13958 | $(E) "[LD] Linking $@" |
| 13959 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13960 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13961 | |
| 13962 | endif |
| 13963 | |
| 13964 | |
| 13965 | |
| 13966 | |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13967 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13968 | # boringssl needs an override to ensure that it does not include |
| 13969 | # system openssl headers regardless of other configuration |
| 13970 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13971 | $(BORINGSSL_POLY1305_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13972 | $(BORINGSSL_POLY1305_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13973 | $(BORINGSSL_POLY1305_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13974 | |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [diff] [blame] | 13975 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13976 | ifeq ($(NO_PROTOBUF),true) |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [diff] [blame] | 13977 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13978 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [diff] [blame] | 13979 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13980 | $(BINDIR)/$(CONFIG)/boringssl_poly1305_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13981 | |
| 13982 | else |
| 13983 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13984 | $(BINDIR)/$(CONFIG)/boringssl_poly1305_test: $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13985 | $(E) "[LD] Linking $@" |
| 13986 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13987 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_poly1305_test |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13988 | |
| 13989 | endif |
| 13990 | |
| 13991 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13992 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13993 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13994 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13995 | # boringssl needs an override to ensure that it does not include |
| 13996 | # system openssl headers regardless of other configuration |
| 13997 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13998 | $(BORINGSSL_REFCOUNT_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13999 | $(BORINGSSL_REFCOUNT_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 14000 | $(BORINGSSL_REFCOUNT_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14001 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14002 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14003 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14004 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14005 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14006 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14007 | $(BINDIR)/$(CONFIG)/boringssl_refcount_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14008 | |
| 14009 | else |
| 14010 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14011 | $(BINDIR)/$(CONFIG)/boringssl_refcount_test: $(LIBDIR)/$(CONFIG)/libboringssl_refcount_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14012 | $(E) "[LD] Linking $@" |
| 14013 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14014 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_refcount_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_refcount_test |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14015 | |
| 14016 | endif |
| 14017 | |
| 14018 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14019 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14020 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14021 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14022 | # boringssl needs an override to ensure that it does not include |
| 14023 | # system openssl headers regardless of other configuration |
| 14024 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 14025 | $(BORINGSSL_RSA_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14026 | $(BORINGSSL_RSA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 14027 | $(BORINGSSL_RSA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14028 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14029 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14030 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14031 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14032 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14033 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14034 | $(BINDIR)/$(CONFIG)/boringssl_rsa_test: protobuf_dep_error |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 14035 | |
| 14036 | else |
| 14037 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14038 | $(BINDIR)/$(CONFIG)/boringssl_rsa_test: $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 14039 | $(E) "[LD] Linking $@" |
| 14040 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14041 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_rsa_test |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 14042 | |
| 14043 | endif |
| 14044 | |
| 14045 | |
| 14046 | |
| 14047 | |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 14048 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14049 | # boringssl needs an override to ensure that it does not include |
| 14050 | # system openssl headers regardless of other configuration |
| 14051 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 14052 | $(BORINGSSL_THREAD_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14053 | $(BORINGSSL_THREAD_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 14054 | $(BORINGSSL_THREAD_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14055 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14056 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14057 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14058 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14059 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14060 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14061 | $(BINDIR)/$(CONFIG)/boringssl_thread_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14062 | |
| 14063 | else |
| 14064 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14065 | $(BINDIR)/$(CONFIG)/boringssl_thread_test: $(LIBDIR)/$(CONFIG)/libboringssl_thread_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14066 | $(E) "[LD] Linking $@" |
| 14067 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14068 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_thread_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_thread_test |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14069 | |
| 14070 | endif |
| 14071 | |
| 14072 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14073 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14074 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14075 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14076 | # boringssl needs an override to ensure that it does not include |
| 14077 | # system openssl headers regardless of other configuration |
| 14078 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 14079 | $(BORINGSSL_PKCS7_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14080 | $(BORINGSSL_PKCS7_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 14081 | $(BORINGSSL_PKCS7_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14082 | |
Craig Tiller | 93ec371 | 2015-05-05 09:41:03 -0700 | [diff] [blame] | 14083 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14084 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 93ec371 | 2015-05-05 09:41:03 -0700 | [diff] [blame] | 14085 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14086 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | 93ec371 | 2015-05-05 09:41:03 -0700 | [diff] [blame] | 14087 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14088 | $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test: protobuf_dep_error |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 14089 | |
| 14090 | else |
| 14091 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14092 | $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test: $(LIBDIR)/$(CONFIG)/libboringssl_pkcs7_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 14093 | $(E) "[LD] Linking $@" |
| 14094 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14095 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_pkcs7_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 14096 | |
| 14097 | endif |
| 14098 | |
| 14099 | |
| 14100 | |
| 14101 | |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 14102 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14103 | # boringssl needs an override to ensure that it does not include |
| 14104 | # system openssl headers regardless of other configuration |
| 14105 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 14106 | $(BORINGSSL_X509_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 14107 | $(BORINGSSL_X509_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 14108 | $(BORINGSSL_X509_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
| 14109 | |
| 14110 | |
| 14111 | ifeq ($(NO_PROTOBUF),true) |
| 14112 | |
| 14113 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 14114 | |
| 14115 | $(BINDIR)/$(CONFIG)/boringssl_x509_test: protobuf_dep_error |
| 14116 | |
| 14117 | else |
| 14118 | |
| 14119 | $(BINDIR)/$(CONFIG)/boringssl_x509_test: $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
| 14120 | $(E) "[LD] Linking $@" |
| 14121 | $(Q) mkdir -p `dirname $@` |
| 14122 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_x509_test |
| 14123 | |
| 14124 | endif |
| 14125 | |
| 14126 | |
| 14127 | |
| 14128 | |
| 14129 | |
| 14130 | # boringssl needs an override to ensure that it does not include |
| 14131 | # system openssl headers regardless of other configuration |
| 14132 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 14133 | $(BORINGSSL_TAB_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14134 | $(BORINGSSL_TAB_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 14135 | $(BORINGSSL_TAB_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 14136 | |
| 14137 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14138 | ifeq ($(NO_PROTOBUF),true) |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 14139 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14140 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 14141 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14142 | $(BINDIR)/$(CONFIG)/boringssl_tab_test: protobuf_dep_error |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 14143 | |
| 14144 | else |
| 14145 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14146 | $(BINDIR)/$(CONFIG)/boringssl_tab_test: $(LIBDIR)/$(CONFIG)/libboringssl_tab_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 14147 | $(E) "[LD] Linking $@" |
| 14148 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14149 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_tab_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_tab_test |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 14150 | |
| 14151 | endif |
| 14152 | |
| 14153 | |
| 14154 | |
| 14155 | |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 14156 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14157 | # boringssl needs an override to ensure that it does not include |
| 14158 | # system openssl headers regardless of other configuration |
| 14159 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 14160 | $(BORINGSSL_V3NAME_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14161 | $(BORINGSSL_V3NAME_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 14162 | $(BORINGSSL_V3NAME_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 14163 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14164 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14165 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14166 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14167 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14168 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14169 | $(BINDIR)/$(CONFIG)/boringssl_v3name_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14170 | |
| 14171 | else |
| 14172 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14173 | $(BINDIR)/$(CONFIG)/boringssl_v3name_test: $(LIBDIR)/$(CONFIG)/libboringssl_v3name_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14174 | $(E) "[LD] Linking $@" |
| 14175 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14176 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_v3name_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_v3name_test |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14177 | |
| 14178 | endif |
| 14179 | |
| 14180 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14181 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14182 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14183 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14184 | # boringssl needs an override to ensure that it does not include |
| 14185 | # system openssl headers regardless of other configuration |
| 14186 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 14187 | $(BORINGSSL_PQUEUE_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14188 | $(BORINGSSL_PQUEUE_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 14189 | $(BORINGSSL_PQUEUE_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14190 | |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 14191 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14192 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 14193 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14194 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 14195 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14196 | $(BINDIR)/$(CONFIG)/boringssl_pqueue_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14197 | |
| 14198 | else |
| 14199 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14200 | $(BINDIR)/$(CONFIG)/boringssl_pqueue_test: $(LIBDIR)/$(CONFIG)/libboringssl_pqueue_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14201 | $(E) "[LD] Linking $@" |
| 14202 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14203 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_pqueue_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_pqueue_test |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14204 | |
| 14205 | endif |
| 14206 | |
| 14207 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14208 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14209 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14210 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14211 | # boringssl needs an override to ensure that it does not include |
| 14212 | # system openssl headers regardless of other configuration |
| 14213 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 14214 | $(BORINGSSL_SSL_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14215 | $(BORINGSSL_SSL_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 14216 | $(BORINGSSL_SSL_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14217 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14218 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14219 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14220 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14221 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14222 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14223 | $(BINDIR)/$(CONFIG)/boringssl_ssl_test: protobuf_dep_error |
Craig Tiller | 434a36b | 2015-05-04 09:49:22 -0700 | [diff] [blame] | 14224 | |
| 14225 | else |
| 14226 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14227 | $(BINDIR)/$(CONFIG)/boringssl_ssl_test: $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | 434a36b | 2015-05-04 09:49:22 -0700 | [diff] [blame] | 14228 | $(E) "[LD] Linking $@" |
| 14229 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14230 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/boringssl_ssl_test |
Craig Tiller | 434a36b | 2015-05-04 09:49:22 -0700 | [diff] [blame] | 14231 | |
| 14232 | endif |
| 14233 | |
| 14234 | |
| 14235 | |
| 14236 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14237 | BADREQ_BAD_CLIENT_TEST_SRC = \ |
| 14238 | test/core/bad_client/tests/badreq.c \ |
| 14239 | |
| 14240 | BADREQ_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BADREQ_BAD_CLIENT_TEST_SRC)))) |
| 14241 | |
| 14242 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14243 | $(BINDIR)/$(CONFIG)/badreq_bad_client_test: $(BADREQ_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14244 | $(E) "[LD] Linking $@" |
| 14245 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14246 | $(Q) $(LD) $(LDFLAGS) $(BADREQ_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/badreq_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14247 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14248 | $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/badreq.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14249 | |
| 14250 | deps_badreq_bad_client_test: $(BADREQ_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14251 | |
| 14252 | ifneq ($(NO_DEPS),true) |
| 14253 | -include $(BADREQ_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14254 | endif |
| 14255 | |
| 14256 | |
| 14257 | CONNECTION_PREFIX_BAD_CLIENT_TEST_SRC = \ |
| 14258 | test/core/bad_client/tests/connection_prefix.c \ |
| 14259 | |
| 14260 | CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CONNECTION_PREFIX_BAD_CLIENT_TEST_SRC)))) |
| 14261 | |
| 14262 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14263 | $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test: $(CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14264 | $(E) "[LD] Linking $@" |
| 14265 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14266 | $(Q) $(LD) $(LDFLAGS) $(CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14267 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14268 | $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/connection_prefix.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14269 | |
| 14270 | deps_connection_prefix_bad_client_test: $(CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14271 | |
| 14272 | ifneq ($(NO_DEPS),true) |
| 14273 | -include $(CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14274 | endif |
| 14275 | |
| 14276 | |
Craig Tiller | 307a720 | 2016-04-02 07:40:39 -0700 | [diff] [blame] | 14277 | HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_SRC = \ |
| 14278 | test/core/bad_client/tests/head_of_line_blocking.c \ |
| 14279 | |
| 14280 | HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_SRC)))) |
| 14281 | |
| 14282 | |
| 14283 | $(BINDIR)/$(CONFIG)/head_of_line_blocking_bad_client_test: $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 14284 | $(E) "[LD] Linking $@" |
| 14285 | $(Q) mkdir -p `dirname $@` |
| 14286 | $(Q) $(LD) $(LDFLAGS) $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/head_of_line_blocking_bad_client_test |
| 14287 | |
| 14288 | $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/head_of_line_blocking.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 14289 | |
| 14290 | deps_head_of_line_blocking_bad_client_test: $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14291 | |
| 14292 | ifneq ($(NO_DEPS),true) |
| 14293 | -include $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14294 | endif |
| 14295 | |
| 14296 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14297 | HEADERS_BAD_CLIENT_TEST_SRC = \ |
| 14298 | test/core/bad_client/tests/headers.c \ |
| 14299 | |
| 14300 | HEADERS_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HEADERS_BAD_CLIENT_TEST_SRC)))) |
| 14301 | |
| 14302 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14303 | $(BINDIR)/$(CONFIG)/headers_bad_client_test: $(HEADERS_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14304 | $(E) "[LD] Linking $@" |
| 14305 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14306 | $(Q) $(LD) $(LDFLAGS) $(HEADERS_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/headers_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14307 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14308 | $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/headers.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14309 | |
| 14310 | deps_headers_bad_client_test: $(HEADERS_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14311 | |
| 14312 | ifneq ($(NO_DEPS),true) |
| 14313 | -include $(HEADERS_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14314 | endif |
| 14315 | |
| 14316 | |
| 14317 | INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_SRC = \ |
| 14318 | test/core/bad_client/tests/initial_settings_frame.c \ |
| 14319 | |
| 14320 | INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_SRC)))) |
| 14321 | |
| 14322 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14323 | $(BINDIR)/$(CONFIG)/initial_settings_frame_bad_client_test: $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14324 | $(E) "[LD] Linking $@" |
| 14325 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14326 | $(Q) $(LD) $(LDFLAGS) $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/initial_settings_frame_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14327 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14328 | $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/initial_settings_frame.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14329 | |
| 14330 | deps_initial_settings_frame_bad_client_test: $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14331 | |
| 14332 | ifneq ($(NO_DEPS),true) |
| 14333 | -include $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14334 | endif |
| 14335 | |
| 14336 | |
Mark D. Roth | 8a1d805 | 2016-05-03 10:44:56 -0700 | [diff] [blame] | 14337 | LARGE_METADATA_BAD_CLIENT_TEST_SRC = \ |
| 14338 | test/core/bad_client/tests/large_metadata.c \ |
| 14339 | |
| 14340 | LARGE_METADATA_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LARGE_METADATA_BAD_CLIENT_TEST_SRC)))) |
| 14341 | |
| 14342 | |
| 14343 | $(BINDIR)/$(CONFIG)/large_metadata_bad_client_test: $(LARGE_METADATA_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 14344 | $(E) "[LD] Linking $@" |
| 14345 | $(Q) mkdir -p `dirname $@` |
| 14346 | $(Q) $(LD) $(LDFLAGS) $(LARGE_METADATA_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/large_metadata_bad_client_test |
| 14347 | |
| 14348 | $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/large_metadata.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 14349 | |
| 14350 | deps_large_metadata_bad_client_test: $(LARGE_METADATA_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14351 | |
| 14352 | ifneq ($(NO_DEPS),true) |
| 14353 | -include $(LARGE_METADATA_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14354 | endif |
| 14355 | |
| 14356 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14357 | SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_SRC = \ |
| 14358 | test/core/bad_client/tests/server_registered_method.c \ |
| 14359 | |
| 14360 | SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_SRC)))) |
| 14361 | |
| 14362 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14363 | $(BINDIR)/$(CONFIG)/server_registered_method_bad_client_test: $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14364 | $(E) "[LD] Linking $@" |
| 14365 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14366 | $(Q) $(LD) $(LDFLAGS) $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/server_registered_method_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14367 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14368 | $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/server_registered_method.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14369 | |
| 14370 | deps_server_registered_method_bad_client_test: $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14371 | |
| 14372 | ifneq ($(NO_DEPS),true) |
| 14373 | -include $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14374 | endif |
| 14375 | |
| 14376 | |
| 14377 | SIMPLE_REQUEST_BAD_CLIENT_TEST_SRC = \ |
| 14378 | test/core/bad_client/tests/simple_request.c \ |
| 14379 | |
| 14380 | SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SIMPLE_REQUEST_BAD_CLIENT_TEST_SRC)))) |
| 14381 | |
| 14382 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14383 | $(BINDIR)/$(CONFIG)/simple_request_bad_client_test: $(SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14384 | $(E) "[LD] Linking $@" |
| 14385 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14386 | $(Q) $(LD) $(LDFLAGS) $(SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/simple_request_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14387 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14388 | $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/simple_request.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14389 | |
| 14390 | deps_simple_request_bad_client_test: $(SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14391 | |
| 14392 | ifneq ($(NO_DEPS),true) |
| 14393 | -include $(SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14394 | endif |
| 14395 | |
| 14396 | |
| 14397 | UNKNOWN_FRAME_BAD_CLIENT_TEST_SRC = \ |
| 14398 | test/core/bad_client/tests/unknown_frame.c \ |
| 14399 | |
| 14400 | UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(UNKNOWN_FRAME_BAD_CLIENT_TEST_SRC)))) |
| 14401 | |
| 14402 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14403 | $(BINDIR)/$(CONFIG)/unknown_frame_bad_client_test: $(UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14404 | $(E) "[LD] Linking $@" |
| 14405 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14406 | $(Q) $(LD) $(LDFLAGS) $(UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/unknown_frame_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14407 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14408 | $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/unknown_frame.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14409 | |
| 14410 | deps_unknown_frame_bad_client_test: $(UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14411 | |
| 14412 | ifneq ($(NO_DEPS),true) |
| 14413 | -include $(UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14414 | endif |
| 14415 | |
| 14416 | |
| 14417 | WINDOW_OVERFLOW_BAD_CLIENT_TEST_SRC = \ |
| 14418 | test/core/bad_client/tests/window_overflow.c \ |
| 14419 | |
| 14420 | WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_SRC)))) |
| 14421 | |
| 14422 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14423 | $(BINDIR)/$(CONFIG)/window_overflow_bad_client_test: $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14424 | $(E) "[LD] Linking $@" |
| 14425 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14426 | $(Q) $(LD) $(LDFLAGS) $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/window_overflow_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14427 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14428 | $(OBJDIR)/$(CONFIG)/test/core/bad_client/tests/window_overflow.o: $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14429 | |
| 14430 | deps_window_overflow_bad_client_test: $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14431 | |
| 14432 | ifneq ($(NO_DEPS),true) |
| 14433 | -include $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 14434 | endif |
| 14435 | |
| 14436 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14437 | BAD_SSL_CERT_SERVER_SRC = \ |
| 14438 | test/core/bad_ssl/servers/cert.c \ |
| 14439 | |
| 14440 | BAD_SSL_CERT_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SSL_CERT_SERVER_SRC)))) |
| 14441 | ifeq ($(NO_SECURE),true) |
| 14442 | |
| 14443 | # You can't build secure targets if you don't have OpenSSL. |
| 14444 | |
| 14445 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_server: openssl_dep_error |
| 14446 | |
| 14447 | else |
| 14448 | |
| 14449 | |
| 14450 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14451 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_server: $(BAD_SSL_CERT_SERVER_OBJS) $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14452 | $(E) "[LD] Linking $@" |
| 14453 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14454 | $(Q) $(LD) $(LDFLAGS) $(BAD_SSL_CERT_SERVER_OBJS) $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/bad_ssl_cert_server |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14455 | |
| 14456 | endif |
| 14457 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14458 | $(OBJDIR)/$(CONFIG)/test/core/bad_ssl/servers/cert.o: $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14459 | |
| 14460 | deps_bad_ssl_cert_server: $(BAD_SSL_CERT_SERVER_OBJS:.o=.dep) |
| 14461 | |
| 14462 | ifneq ($(NO_SECURE),true) |
| 14463 | ifneq ($(NO_DEPS),true) |
| 14464 | -include $(BAD_SSL_CERT_SERVER_OBJS:.o=.dep) |
| 14465 | endif |
| 14466 | endif |
| 14467 | |
| 14468 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14469 | BAD_SSL_CERT_TEST_SRC = \ |
| 14470 | test/core/bad_ssl/bad_ssl_test.c \ |
| 14471 | |
| 14472 | BAD_SSL_CERT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SSL_CERT_TEST_SRC)))) |
| 14473 | ifeq ($(NO_SECURE),true) |
| 14474 | |
| 14475 | # You can't build secure targets if you don't have OpenSSL. |
| 14476 | |
| 14477 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_test: openssl_dep_error |
| 14478 | |
| 14479 | else |
| 14480 | |
| 14481 | |
| 14482 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14483 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_test: $(BAD_SSL_CERT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14484 | $(E) "[LD] Linking $@" |
| 14485 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14486 | $(Q) $(LD) $(LDFLAGS) $(BAD_SSL_CERT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/bad_ssl_cert_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14487 | |
| 14488 | endif |
| 14489 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14490 | $(OBJDIR)/$(CONFIG)/test/core/bad_ssl/bad_ssl_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 14491 | |
| 14492 | deps_bad_ssl_cert_test: $(BAD_SSL_CERT_TEST_OBJS:.o=.dep) |
| 14493 | |
| 14494 | ifneq ($(NO_SECURE),true) |
| 14495 | ifneq ($(NO_DEPS),true) |
| 14496 | -include $(BAD_SSL_CERT_TEST_OBJS:.o=.dep) |
| 14497 | endif |
| 14498 | endif |
| 14499 | |
| 14500 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14501 | H2_CENSUS_TEST_SRC = \ |
| 14502 | test/core/end2end/fixtures/h2_census.c \ |
| 14503 | |
| 14504 | H2_CENSUS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_CENSUS_TEST_SRC)))) |
Craig Tiller | 434a36b | 2015-05-04 09:49:22 -0700 | [diff] [blame] | 14505 | ifeq ($(NO_SECURE),true) |
| 14506 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 14507 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 434a36b | 2015-05-04 09:49:22 -0700 | [diff] [blame] | 14508 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14509 | $(BINDIR)/$(CONFIG)/h2_census_test: openssl_dep_error |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 14510 | |
| 14511 | else |
| 14512 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 14513 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 14514 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14515 | $(BINDIR)/$(CONFIG)/h2_census_test: $(H2_CENSUS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14516 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 14517 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14518 | $(Q) $(LD) $(LDFLAGS) $(H2_CENSUS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_census_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14519 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 14520 | endif |
| 14521 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14522 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_census.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14523 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14524 | deps_h2_census_test: $(H2_CENSUS_TEST_OBJS:.o=.dep) |
| 14525 | |
| 14526 | ifneq ($(NO_SECURE),true) |
| 14527 | ifneq ($(NO_DEPS),true) |
| 14528 | -include $(H2_CENSUS_TEST_OBJS:.o=.dep) |
| 14529 | endif |
| 14530 | endif |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 14531 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14532 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14533 | H2_COMPRESS_TEST_SRC = \ |
| 14534 | test/core/end2end/fixtures/h2_compress.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14535 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14536 | H2_COMPRESS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_COMPRESS_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 14537 | ifeq ($(NO_SECURE),true) |
| 14538 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 14539 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 14540 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14541 | $(BINDIR)/$(CONFIG)/h2_compress_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 14542 | |
| 14543 | else |
| 14544 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14545 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 14546 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14547 | $(BINDIR)/$(CONFIG)/h2_compress_test: $(H2_COMPRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14548 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 14549 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14550 | $(Q) $(LD) $(LDFLAGS) $(H2_COMPRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_compress_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14551 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 14552 | endif |
| 14553 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14554 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_compress.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14555 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14556 | deps_h2_compress_test: $(H2_COMPRESS_TEST_OBJS:.o=.dep) |
| 14557 | |
| 14558 | ifneq ($(NO_SECURE),true) |
| 14559 | ifneq ($(NO_DEPS),true) |
| 14560 | -include $(H2_COMPRESS_TEST_OBJS:.o=.dep) |
| 14561 | endif |
| 14562 | endif |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 14563 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14564 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14565 | H2_FAKESEC_TEST_SRC = \ |
| 14566 | test/core/end2end/fixtures/h2_fakesec.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14567 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14568 | H2_FAKESEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FAKESEC_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 14569 | ifeq ($(NO_SECURE),true) |
| 14570 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 14571 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 14572 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14573 | $(BINDIR)/$(CONFIG)/h2_fakesec_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 14574 | |
| 14575 | else |
| 14576 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14577 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 14578 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14579 | $(BINDIR)/$(CONFIG)/h2_fakesec_test: $(H2_FAKESEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14580 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 14581 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14582 | $(Q) $(LD) $(LDFLAGS) $(H2_FAKESEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_fakesec_test |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14583 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 14584 | endif |
| 14585 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14586 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_fakesec.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14587 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14588 | deps_h2_fakesec_test: $(H2_FAKESEC_TEST_OBJS:.o=.dep) |
| 14589 | |
| 14590 | ifneq ($(NO_SECURE),true) |
| 14591 | ifneq ($(NO_DEPS),true) |
| 14592 | -include $(H2_FAKESEC_TEST_OBJS:.o=.dep) |
| 14593 | endif |
| 14594 | endif |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 14595 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14596 | |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 14597 | H2_FD_TEST_SRC = \ |
| 14598 | test/core/end2end/fixtures/h2_fd.c \ |
| 14599 | |
| 14600 | H2_FD_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FD_TEST_SRC)))) |
| 14601 | ifeq ($(NO_SECURE),true) |
| 14602 | |
| 14603 | # You can't build secure targets if you don't have OpenSSL. |
| 14604 | |
| 14605 | $(BINDIR)/$(CONFIG)/h2_fd_test: openssl_dep_error |
| 14606 | |
| 14607 | else |
| 14608 | |
| 14609 | |
| 14610 | |
| 14611 | $(BINDIR)/$(CONFIG)/h2_fd_test: $(H2_FD_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 14612 | $(E) "[LD] Linking $@" |
| 14613 | $(Q) mkdir -p `dirname $@` |
| 14614 | $(Q) $(LD) $(LDFLAGS) $(H2_FD_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_fd_test |
| 14615 | |
| 14616 | endif |
| 14617 | |
| 14618 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_fd.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 14619 | |
| 14620 | deps_h2_fd_test: $(H2_FD_TEST_OBJS:.o=.dep) |
| 14621 | |
| 14622 | ifneq ($(NO_SECURE),true) |
| 14623 | ifneq ($(NO_DEPS),true) |
| 14624 | -include $(H2_FD_TEST_OBJS:.o=.dep) |
| 14625 | endif |
| 14626 | endif |
| 14627 | |
| 14628 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14629 | H2_FULL_TEST_SRC = \ |
| 14630 | test/core/end2end/fixtures/h2_full.c \ |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 14631 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14632 | H2_FULL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FULL_TEST_SRC)))) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 14633 | ifeq ($(NO_SECURE),true) |
| 14634 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 14635 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 14636 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14637 | $(BINDIR)/$(CONFIG)/h2_full_test: openssl_dep_error |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 14638 | |
| 14639 | else |
| 14640 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 14641 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 14642 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14643 | $(BINDIR)/$(CONFIG)/h2_full_test: $(H2_FULL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 14644 | $(E) "[LD] Linking $@" |
| 14645 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14646 | $(Q) $(LD) $(LDFLAGS) $(H2_FULL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_full_test |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 14647 | |
| 14648 | endif |
| 14649 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14650 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_full.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14651 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14652 | deps_h2_full_test: $(H2_FULL_TEST_OBJS:.o=.dep) |
| 14653 | |
| 14654 | ifneq ($(NO_SECURE),true) |
| 14655 | ifneq ($(NO_DEPS),true) |
| 14656 | -include $(H2_FULL_TEST_OBJS:.o=.dep) |
| 14657 | endif |
| 14658 | endif |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 14659 | |
| 14660 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14661 | H2_FULL+PIPE_TEST_SRC = \ |
| 14662 | test/core/end2end/fixtures/h2_full+pipe.c \ |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 14663 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14664 | H2_FULL+PIPE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FULL+PIPE_TEST_SRC)))) |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 14665 | ifeq ($(NO_SECURE),true) |
| 14666 | |
| 14667 | # You can't build secure targets if you don't have OpenSSL. |
| 14668 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14669 | $(BINDIR)/$(CONFIG)/h2_full+pipe_test: openssl_dep_error |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 14670 | |
| 14671 | else |
| 14672 | |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 14673 | |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 14674 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14675 | $(BINDIR)/$(CONFIG)/h2_full+pipe_test: $(H2_FULL+PIPE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 14676 | $(E) "[LD] Linking $@" |
| 14677 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14678 | $(Q) $(LD) $(LDFLAGS) $(H2_FULL+PIPE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_full+pipe_test |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 14679 | |
| 14680 | endif |
| 14681 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14682 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_full+pipe.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14683 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14684 | deps_h2_full+pipe_test: $(H2_FULL+PIPE_TEST_OBJS:.o=.dep) |
| 14685 | |
| 14686 | ifneq ($(NO_SECURE),true) |
| 14687 | ifneq ($(NO_DEPS),true) |
| 14688 | -include $(H2_FULL+PIPE_TEST_OBJS:.o=.dep) |
| 14689 | endif |
| 14690 | endif |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 14691 | |
| 14692 | |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 14693 | H2_FULL+TRACE_TEST_SRC = \ |
| 14694 | test/core/end2end/fixtures/h2_full+trace.c \ |
| 14695 | |
| 14696 | H2_FULL+TRACE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FULL+TRACE_TEST_SRC)))) |
| 14697 | ifeq ($(NO_SECURE),true) |
| 14698 | |
| 14699 | # You can't build secure targets if you don't have OpenSSL. |
| 14700 | |
| 14701 | $(BINDIR)/$(CONFIG)/h2_full+trace_test: openssl_dep_error |
| 14702 | |
| 14703 | else |
| 14704 | |
| 14705 | |
| 14706 | |
Craig Tiller | 6a59cf2 | 2016-03-17 10:55:30 -0700 | [diff] [blame] | 14707 | $(BINDIR)/$(CONFIG)/h2_full+trace_test: $(H2_FULL+TRACE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 14708 | $(E) "[LD] Linking $@" |
| 14709 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 6a59cf2 | 2016-03-17 10:55:30 -0700 | [diff] [blame] | 14710 | $(Q) $(LD) $(LDFLAGS) $(H2_FULL+TRACE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_full+trace_test |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 14711 | |
| 14712 | endif |
| 14713 | |
Craig Tiller | 6a59cf2 | 2016-03-17 10:55:30 -0700 | [diff] [blame] | 14714 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_full+trace.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 14715 | |
| 14716 | deps_h2_full+trace_test: $(H2_FULL+TRACE_TEST_OBJS:.o=.dep) |
| 14717 | |
| 14718 | ifneq ($(NO_SECURE),true) |
| 14719 | ifneq ($(NO_DEPS),true) |
| 14720 | -include $(H2_FULL+TRACE_TEST_OBJS:.o=.dep) |
| 14721 | endif |
| 14722 | endif |
| 14723 | |
| 14724 | |
Mark D. Roth | a3ef601 | 2016-07-25 11:16:07 -0700 | [diff] [blame] | 14725 | H2_HTTP_PROXY_TEST_SRC = \ |
| 14726 | test/core/end2end/fixtures/h2_http_proxy.c \ |
| 14727 | |
| 14728 | H2_HTTP_PROXY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_HTTP_PROXY_TEST_SRC)))) |
| 14729 | ifeq ($(NO_SECURE),true) |
| 14730 | |
| 14731 | # You can't build secure targets if you don't have OpenSSL. |
| 14732 | |
| 14733 | $(BINDIR)/$(CONFIG)/h2_http_proxy_test: openssl_dep_error |
| 14734 | |
| 14735 | else |
| 14736 | |
| 14737 | |
| 14738 | |
| 14739 | $(BINDIR)/$(CONFIG)/h2_http_proxy_test: $(H2_HTTP_PROXY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 14740 | $(E) "[LD] Linking $@" |
| 14741 | $(Q) mkdir -p `dirname $@` |
| 14742 | $(Q) $(LD) $(LDFLAGS) $(H2_HTTP_PROXY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_http_proxy_test |
| 14743 | |
| 14744 | endif |
| 14745 | |
| 14746 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_http_proxy.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 14747 | |
| 14748 | deps_h2_http_proxy_test: $(H2_HTTP_PROXY_TEST_OBJS:.o=.dep) |
| 14749 | |
| 14750 | ifneq ($(NO_SECURE),true) |
| 14751 | ifneq ($(NO_DEPS),true) |
| 14752 | -include $(H2_HTTP_PROXY_TEST_OBJS:.o=.dep) |
| 14753 | endif |
| 14754 | endif |
| 14755 | |
| 14756 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 14757 | H2_LOAD_REPORTING_TEST_SRC = \ |
| 14758 | test/core/end2end/fixtures/h2_load_reporting.c \ |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 14759 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 14760 | H2_LOAD_REPORTING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_LOAD_REPORTING_TEST_SRC)))) |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 14761 | ifeq ($(NO_SECURE),true) |
| 14762 | |
| 14763 | # You can't build secure targets if you don't have OpenSSL. |
| 14764 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 14765 | $(BINDIR)/$(CONFIG)/h2_load_reporting_test: openssl_dep_error |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 14766 | |
| 14767 | else |
| 14768 | |
| 14769 | |
| 14770 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 14771 | $(BINDIR)/$(CONFIG)/h2_load_reporting_test: $(H2_LOAD_REPORTING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 14772 | $(E) "[LD] Linking $@" |
| 14773 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 14774 | $(Q) $(LD) $(LDFLAGS) $(H2_LOAD_REPORTING_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_load_reporting_test |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 14775 | |
| 14776 | endif |
| 14777 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 14778 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_load_reporting.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 14779 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 14780 | deps_h2_load_reporting_test: $(H2_LOAD_REPORTING_TEST_OBJS:.o=.dep) |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 14781 | |
| 14782 | ifneq ($(NO_SECURE),true) |
| 14783 | ifneq ($(NO_DEPS),true) |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 14784 | -include $(H2_LOAD_REPORTING_TEST_OBJS:.o=.dep) |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 14785 | endif |
| 14786 | endif |
| 14787 | |
| 14788 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14789 | H2_OAUTH2_TEST_SRC = \ |
| 14790 | test/core/end2end/fixtures/h2_oauth2.c \ |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 14791 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14792 | H2_OAUTH2_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_OAUTH2_TEST_SRC)))) |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 14793 | ifeq ($(NO_SECURE),true) |
| 14794 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 14795 | # You can't build secure targets if you don't have OpenSSL. |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 14796 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14797 | $(BINDIR)/$(CONFIG)/h2_oauth2_test: openssl_dep_error |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 14798 | |
| 14799 | else |
| 14800 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 14801 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 14802 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14803 | $(BINDIR)/$(CONFIG)/h2_oauth2_test: $(H2_OAUTH2_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14804 | $(E) "[LD] Linking $@" |
| 14805 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14806 | $(Q) $(LD) $(LDFLAGS) $(H2_OAUTH2_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_oauth2_test |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14807 | |
| 14808 | endif |
| 14809 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14810 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_oauth2.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14811 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14812 | deps_h2_oauth2_test: $(H2_OAUTH2_TEST_OBJS:.o=.dep) |
| 14813 | |
| 14814 | ifneq ($(NO_SECURE),true) |
| 14815 | ifneq ($(NO_DEPS),true) |
| 14816 | -include $(H2_OAUTH2_TEST_OBJS:.o=.dep) |
| 14817 | endif |
| 14818 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14819 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14820 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14821 | H2_PROXY_TEST_SRC = \ |
| 14822 | test/core/end2end/fixtures/h2_proxy.c \ |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14823 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14824 | H2_PROXY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_PROXY_TEST_SRC)))) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14825 | ifeq ($(NO_SECURE),true) |
| 14826 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 14827 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14828 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14829 | $(BINDIR)/$(CONFIG)/h2_proxy_test: openssl_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14830 | |
| 14831 | else |
| 14832 | |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 14833 | |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 14834 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14835 | $(BINDIR)/$(CONFIG)/h2_proxy_test: $(H2_PROXY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 14836 | $(E) "[LD] Linking $@" |
| 14837 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14838 | $(Q) $(LD) $(LDFLAGS) $(H2_PROXY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_proxy_test |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 14839 | |
| 14840 | endif |
| 14841 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14842 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_proxy.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14843 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14844 | deps_h2_proxy_test: $(H2_PROXY_TEST_OBJS:.o=.dep) |
| 14845 | |
| 14846 | ifneq ($(NO_SECURE),true) |
| 14847 | ifneq ($(NO_DEPS),true) |
| 14848 | -include $(H2_PROXY_TEST_OBJS:.o=.dep) |
| 14849 | endif |
| 14850 | endif |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 14851 | |
| 14852 | |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14853 | H2_SOCKPAIR_TEST_SRC = \ |
| 14854 | test/core/end2end/fixtures/h2_sockpair.c \ |
| 14855 | |
| 14856 | H2_SOCKPAIR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_TEST_SRC)))) |
| 14857 | ifeq ($(NO_SECURE),true) |
| 14858 | |
| 14859 | # You can't build secure targets if you don't have OpenSSL. |
| 14860 | |
| 14861 | $(BINDIR)/$(CONFIG)/h2_sockpair_test: openssl_dep_error |
| 14862 | |
| 14863 | else |
| 14864 | |
| 14865 | |
| 14866 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14867 | $(BINDIR)/$(CONFIG)/h2_sockpair_test: $(H2_SOCKPAIR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14868 | $(E) "[LD] Linking $@" |
| 14869 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14870 | $(Q) $(LD) $(LDFLAGS) $(H2_SOCKPAIR_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_sockpair_test |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14871 | |
| 14872 | endif |
| 14873 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14874 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_sockpair.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14875 | |
| 14876 | deps_h2_sockpair_test: $(H2_SOCKPAIR_TEST_OBJS:.o=.dep) |
| 14877 | |
| 14878 | ifneq ($(NO_SECURE),true) |
| 14879 | ifneq ($(NO_DEPS),true) |
| 14880 | -include $(H2_SOCKPAIR_TEST_OBJS:.o=.dep) |
| 14881 | endif |
| 14882 | endif |
| 14883 | |
| 14884 | |
| 14885 | H2_SOCKPAIR+TRACE_TEST_SRC = \ |
| 14886 | test/core/end2end/fixtures/h2_sockpair+trace.c \ |
| 14887 | |
| 14888 | H2_SOCKPAIR+TRACE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR+TRACE_TEST_SRC)))) |
| 14889 | ifeq ($(NO_SECURE),true) |
| 14890 | |
| 14891 | # You can't build secure targets if you don't have OpenSSL. |
| 14892 | |
| 14893 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test: openssl_dep_error |
| 14894 | |
| 14895 | else |
| 14896 | |
| 14897 | |
| 14898 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14899 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test: $(H2_SOCKPAIR+TRACE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14900 | $(E) "[LD] Linking $@" |
| 14901 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14902 | $(Q) $(LD) $(LDFLAGS) $(H2_SOCKPAIR+TRACE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14903 | |
| 14904 | endif |
| 14905 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14906 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_sockpair+trace.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14907 | |
| 14908 | deps_h2_sockpair+trace_test: $(H2_SOCKPAIR+TRACE_TEST_OBJS:.o=.dep) |
| 14909 | |
| 14910 | ifneq ($(NO_SECURE),true) |
| 14911 | ifneq ($(NO_DEPS),true) |
| 14912 | -include $(H2_SOCKPAIR+TRACE_TEST_OBJS:.o=.dep) |
| 14913 | endif |
| 14914 | endif |
| 14915 | |
| 14916 | |
| 14917 | H2_SOCKPAIR_1BYTE_TEST_SRC = \ |
| 14918 | test/core/end2end/fixtures/h2_sockpair_1byte.c \ |
| 14919 | |
| 14920 | H2_SOCKPAIR_1BYTE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_1BYTE_TEST_SRC)))) |
| 14921 | ifeq ($(NO_SECURE),true) |
| 14922 | |
| 14923 | # You can't build secure targets if you don't have OpenSSL. |
| 14924 | |
| 14925 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test: openssl_dep_error |
| 14926 | |
| 14927 | else |
| 14928 | |
| 14929 | |
| 14930 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14931 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test: $(H2_SOCKPAIR_1BYTE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14932 | $(E) "[LD] Linking $@" |
| 14933 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14934 | $(Q) $(LD) $(LDFLAGS) $(H2_SOCKPAIR_1BYTE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14935 | |
| 14936 | endif |
| 14937 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14938 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_sockpair_1byte.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14939 | |
| 14940 | deps_h2_sockpair_1byte_test: $(H2_SOCKPAIR_1BYTE_TEST_OBJS:.o=.dep) |
| 14941 | |
| 14942 | ifneq ($(NO_SECURE),true) |
| 14943 | ifneq ($(NO_DEPS),true) |
| 14944 | -include $(H2_SOCKPAIR_1BYTE_TEST_OBJS:.o=.dep) |
| 14945 | endif |
| 14946 | endif |
| 14947 | |
| 14948 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14949 | H2_SSL_TEST_SRC = \ |
| 14950 | test/core/end2end/fixtures/h2_ssl.c \ |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 14951 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14952 | H2_SSL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SSL_TEST_SRC)))) |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 14953 | ifeq ($(NO_SECURE),true) |
| 14954 | |
| 14955 | # You can't build secure targets if you don't have OpenSSL. |
| 14956 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14957 | $(BINDIR)/$(CONFIG)/h2_ssl_test: openssl_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14958 | |
| 14959 | else |
| 14960 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14961 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14962 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14963 | $(BINDIR)/$(CONFIG)/h2_ssl_test: $(H2_SSL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14964 | $(E) "[LD] Linking $@" |
| 14965 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14966 | $(Q) $(LD) $(LDFLAGS) $(H2_SSL_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_ssl_test |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14967 | |
| 14968 | endif |
| 14969 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14970 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_ssl.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14971 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14972 | deps_h2_ssl_test: $(H2_SSL_TEST_OBJS:.o=.dep) |
| 14973 | |
| 14974 | ifneq ($(NO_SECURE),true) |
| 14975 | ifneq ($(NO_DEPS),true) |
| 14976 | -include $(H2_SSL_TEST_OBJS:.o=.dep) |
| 14977 | endif |
| 14978 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14979 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14980 | |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 14981 | H2_SSL_CERT_TEST_SRC = \ |
| 14982 | test/core/end2end/fixtures/h2_ssl_cert.c \ |
| 14983 | |
| 14984 | H2_SSL_CERT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SSL_CERT_TEST_SRC)))) |
| 14985 | ifeq ($(NO_SECURE),true) |
| 14986 | |
| 14987 | # You can't build secure targets if you don't have OpenSSL. |
| 14988 | |
| 14989 | $(BINDIR)/$(CONFIG)/h2_ssl_cert_test: openssl_dep_error |
| 14990 | |
| 14991 | else |
| 14992 | |
| 14993 | |
| 14994 | |
| 14995 | $(BINDIR)/$(CONFIG)/h2_ssl_cert_test: $(H2_SSL_CERT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 14996 | $(E) "[LD] Linking $@" |
| 14997 | $(Q) mkdir -p `dirname $@` |
| 14998 | $(Q) $(LD) $(LDFLAGS) $(H2_SSL_CERT_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_ssl_cert_test |
| 14999 | |
| 15000 | endif |
| 15001 | |
| 15002 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_ssl_cert.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15003 | |
| 15004 | deps_h2_ssl_cert_test: $(H2_SSL_CERT_TEST_OBJS:.o=.dep) |
| 15005 | |
| 15006 | ifneq ($(NO_SECURE),true) |
| 15007 | ifneq ($(NO_DEPS),true) |
| 15008 | -include $(H2_SSL_CERT_TEST_OBJS:.o=.dep) |
| 15009 | endif |
| 15010 | endif |
| 15011 | |
| 15012 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15013 | H2_SSL_PROXY_TEST_SRC = \ |
| 15014 | test/core/end2end/fixtures/h2_ssl_proxy.c \ |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 15015 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15016 | H2_SSL_PROXY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SSL_PROXY_TEST_SRC)))) |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 15017 | ifeq ($(NO_SECURE),true) |
| 15018 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 15019 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 15020 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 15021 | $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test: openssl_dep_error |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 15022 | |
| 15023 | else |
| 15024 | |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 15025 | |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 15026 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 15027 | $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test: $(H2_SSL_PROXY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 15028 | $(E) "[LD] Linking $@" |
| 15029 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 15030 | $(Q) $(LD) $(LDFLAGS) $(H2_SSL_PROXY_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 15031 | |
| 15032 | endif |
| 15033 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 15034 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_ssl_proxy.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 15035 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15036 | deps_h2_ssl_proxy_test: $(H2_SSL_PROXY_TEST_OBJS:.o=.dep) |
| 15037 | |
| 15038 | ifneq ($(NO_SECURE),true) |
| 15039 | ifneq ($(NO_DEPS),true) |
| 15040 | -include $(H2_SSL_PROXY_TEST_OBJS:.o=.dep) |
| 15041 | endif |
| 15042 | endif |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 15043 | |
| 15044 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15045 | H2_UDS_TEST_SRC = \ |
| 15046 | test/core/end2end/fixtures/h2_uds.c \ |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 15047 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15048 | H2_UDS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_UDS_TEST_SRC)))) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 15049 | ifeq ($(NO_SECURE),true) |
| 15050 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 15051 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 15052 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 15053 | $(BINDIR)/$(CONFIG)/h2_uds_test: openssl_dep_error |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 15054 | |
| 15055 | else |
| 15056 | |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 15057 | |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 15058 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 15059 | $(BINDIR)/$(CONFIG)/h2_uds_test: $(H2_UDS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 15060 | $(E) "[LD] Linking $@" |
| 15061 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 15062 | $(Q) $(LD) $(LDFLAGS) $(H2_UDS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/h2_uds_test |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 15063 | |
| 15064 | endif |
| 15065 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 15066 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_uds.o: $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 15067 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15068 | deps_h2_uds_test: $(H2_UDS_TEST_OBJS:.o=.dep) |
| 15069 | |
| 15070 | ifneq ($(NO_SECURE),true) |
| 15071 | ifneq ($(NO_DEPS),true) |
| 15072 | -include $(H2_UDS_TEST_OBJS:.o=.dep) |
| 15073 | endif |
| 15074 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 15075 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 15076 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15077 | H2_CENSUS_NOSEC_TEST_SRC = \ |
| 15078 | test/core/end2end/fixtures/h2_census.c \ |
| 15079 | |
| 15080 | H2_CENSUS_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_CENSUS_NOSEC_TEST_SRC)))) |
Craig Tiller | 434a36b | 2015-05-04 09:49:22 -0700 | [diff] [blame] | 15081 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15082 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15083 | $(BINDIR)/$(CONFIG)/h2_census_nosec_test: $(H2_CENSUS_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15084 | $(E) "[LD] Linking $@" |
| 15085 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15086 | $(Q) $(LD) $(LDFLAGS) $(H2_CENSUS_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_census_nosec_test |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15087 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15088 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_census.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 15089 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15090 | deps_h2_census_nosec_test: $(H2_CENSUS_NOSEC_TEST_OBJS:.o=.dep) |
| 15091 | |
| 15092 | ifneq ($(NO_DEPS),true) |
| 15093 | -include $(H2_CENSUS_NOSEC_TEST_OBJS:.o=.dep) |
| 15094 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15095 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15096 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15097 | H2_COMPRESS_NOSEC_TEST_SRC = \ |
| 15098 | test/core/end2end/fixtures/h2_compress.c \ |
| 15099 | |
| 15100 | H2_COMPRESS_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_COMPRESS_NOSEC_TEST_SRC)))) |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15101 | |
| 15102 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15103 | $(BINDIR)/$(CONFIG)/h2_compress_nosec_test: $(H2_COMPRESS_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15104 | $(E) "[LD] Linking $@" |
| 15105 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15106 | $(Q) $(LD) $(LDFLAGS) $(H2_COMPRESS_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_compress_nosec_test |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15107 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15108 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_compress.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 15109 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15110 | deps_h2_compress_nosec_test: $(H2_COMPRESS_NOSEC_TEST_OBJS:.o=.dep) |
| 15111 | |
| 15112 | ifneq ($(NO_DEPS),true) |
| 15113 | -include $(H2_COMPRESS_NOSEC_TEST_OBJS:.o=.dep) |
| 15114 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15115 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15116 | |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 15117 | H2_FD_NOSEC_TEST_SRC = \ |
| 15118 | test/core/end2end/fixtures/h2_fd.c \ |
| 15119 | |
| 15120 | H2_FD_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FD_NOSEC_TEST_SRC)))) |
| 15121 | |
| 15122 | |
| 15123 | $(BINDIR)/$(CONFIG)/h2_fd_nosec_test: $(H2_FD_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15124 | $(E) "[LD] Linking $@" |
| 15125 | $(Q) mkdir -p `dirname $@` |
| 15126 | $(Q) $(LD) $(LDFLAGS) $(H2_FD_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_fd_nosec_test |
| 15127 | |
| 15128 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_fd.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15129 | |
| 15130 | deps_h2_fd_nosec_test: $(H2_FD_NOSEC_TEST_OBJS:.o=.dep) |
| 15131 | |
| 15132 | ifneq ($(NO_DEPS),true) |
| 15133 | -include $(H2_FD_NOSEC_TEST_OBJS:.o=.dep) |
| 15134 | endif |
| 15135 | |
| 15136 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15137 | H2_FULL_NOSEC_TEST_SRC = \ |
| 15138 | test/core/end2end/fixtures/h2_full.c \ |
| 15139 | |
| 15140 | H2_FULL_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FULL_NOSEC_TEST_SRC)))) |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15141 | |
| 15142 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15143 | $(BINDIR)/$(CONFIG)/h2_full_nosec_test: $(H2_FULL_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15144 | $(E) "[LD] Linking $@" |
| 15145 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15146 | $(Q) $(LD) $(LDFLAGS) $(H2_FULL_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_full_nosec_test |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15147 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15148 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_full.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 15149 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15150 | deps_h2_full_nosec_test: $(H2_FULL_NOSEC_TEST_OBJS:.o=.dep) |
| 15151 | |
| 15152 | ifneq ($(NO_DEPS),true) |
| 15153 | -include $(H2_FULL_NOSEC_TEST_OBJS:.o=.dep) |
| 15154 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15155 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15156 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15157 | H2_FULL+PIPE_NOSEC_TEST_SRC = \ |
| 15158 | test/core/end2end/fixtures/h2_full+pipe.c \ |
| 15159 | |
| 15160 | H2_FULL+PIPE_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FULL+PIPE_NOSEC_TEST_SRC)))) |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15161 | |
| 15162 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15163 | $(BINDIR)/$(CONFIG)/h2_full+pipe_nosec_test: $(H2_FULL+PIPE_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15164 | $(E) "[LD] Linking $@" |
| 15165 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15166 | $(Q) $(LD) $(LDFLAGS) $(H2_FULL+PIPE_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_full+pipe_nosec_test |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15167 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15168 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_full+pipe.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 15169 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15170 | deps_h2_full+pipe_nosec_test: $(H2_FULL+PIPE_NOSEC_TEST_OBJS:.o=.dep) |
| 15171 | |
| 15172 | ifneq ($(NO_DEPS),true) |
| 15173 | -include $(H2_FULL+PIPE_NOSEC_TEST_OBJS:.o=.dep) |
| 15174 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15175 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15176 | |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 15177 | H2_FULL+TRACE_NOSEC_TEST_SRC = \ |
| 15178 | test/core/end2end/fixtures/h2_full+trace.c \ |
| 15179 | |
| 15180 | H2_FULL+TRACE_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FULL+TRACE_NOSEC_TEST_SRC)))) |
| 15181 | |
| 15182 | |
| 15183 | $(BINDIR)/$(CONFIG)/h2_full+trace_nosec_test: $(H2_FULL+TRACE_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15184 | $(E) "[LD] Linking $@" |
| 15185 | $(Q) mkdir -p `dirname $@` |
| 15186 | $(Q) $(LD) $(LDFLAGS) $(H2_FULL+TRACE_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_full+trace_nosec_test |
| 15187 | |
| 15188 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_full+trace.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15189 | |
| 15190 | deps_h2_full+trace_nosec_test: $(H2_FULL+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 15191 | |
| 15192 | ifneq ($(NO_DEPS),true) |
| 15193 | -include $(H2_FULL+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 15194 | endif |
| 15195 | |
| 15196 | |
Mark D. Roth | a3ef601 | 2016-07-25 11:16:07 -0700 | [diff] [blame] | 15197 | H2_HTTP_PROXY_NOSEC_TEST_SRC = \ |
| 15198 | test/core/end2end/fixtures/h2_http_proxy.c \ |
| 15199 | |
| 15200 | H2_HTTP_PROXY_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_HTTP_PROXY_NOSEC_TEST_SRC)))) |
| 15201 | |
| 15202 | |
| 15203 | $(BINDIR)/$(CONFIG)/h2_http_proxy_nosec_test: $(H2_HTTP_PROXY_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15204 | $(E) "[LD] Linking $@" |
| 15205 | $(Q) mkdir -p `dirname $@` |
| 15206 | $(Q) $(LD) $(LDFLAGS) $(H2_HTTP_PROXY_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_http_proxy_nosec_test |
| 15207 | |
| 15208 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_http_proxy.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15209 | |
| 15210 | deps_h2_http_proxy_nosec_test: $(H2_HTTP_PROXY_NOSEC_TEST_OBJS:.o=.dep) |
| 15211 | |
| 15212 | ifneq ($(NO_DEPS),true) |
| 15213 | -include $(H2_HTTP_PROXY_NOSEC_TEST_OBJS:.o=.dep) |
| 15214 | endif |
| 15215 | |
| 15216 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 15217 | H2_LOAD_REPORTING_NOSEC_TEST_SRC = \ |
| 15218 | test/core/end2end/fixtures/h2_load_reporting.c \ |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 15219 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 15220 | H2_LOAD_REPORTING_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_LOAD_REPORTING_NOSEC_TEST_SRC)))) |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 15221 | |
| 15222 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 15223 | $(BINDIR)/$(CONFIG)/h2_load_reporting_nosec_test: $(H2_LOAD_REPORTING_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 15224 | $(E) "[LD] Linking $@" |
| 15225 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 15226 | $(Q) $(LD) $(LDFLAGS) $(H2_LOAD_REPORTING_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_load_reporting_nosec_test |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 15227 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 15228 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_load_reporting.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 15229 | |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 15230 | deps_h2_load_reporting_nosec_test: $(H2_LOAD_REPORTING_NOSEC_TEST_OBJS:.o=.dep) |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 15231 | |
| 15232 | ifneq ($(NO_DEPS),true) |
David Garcia Quintas | 824363d | 2016-07-13 23:09:34 -0700 | [diff] [blame] | 15233 | -include $(H2_LOAD_REPORTING_NOSEC_TEST_OBJS:.o=.dep) |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 15234 | endif |
| 15235 | |
| 15236 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15237 | H2_PROXY_NOSEC_TEST_SRC = \ |
| 15238 | test/core/end2end/fixtures/h2_proxy.c \ |
| 15239 | |
| 15240 | H2_PROXY_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_PROXY_NOSEC_TEST_SRC)))) |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15241 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15242 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15243 | $(BINDIR)/$(CONFIG)/h2_proxy_nosec_test: $(H2_PROXY_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15244 | $(E) "[LD] Linking $@" |
| 15245 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15246 | $(Q) $(LD) $(LDFLAGS) $(H2_PROXY_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_proxy_nosec_test |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15247 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15248 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_proxy.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 15249 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15250 | deps_h2_proxy_nosec_test: $(H2_PROXY_NOSEC_TEST_OBJS:.o=.dep) |
| 15251 | |
| 15252 | ifneq ($(NO_DEPS),true) |
| 15253 | -include $(H2_PROXY_NOSEC_TEST_OBJS:.o=.dep) |
| 15254 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15255 | |
| 15256 | |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 15257 | H2_SOCKPAIR_NOSEC_TEST_SRC = \ |
| 15258 | test/core/end2end/fixtures/h2_sockpair.c \ |
| 15259 | |
| 15260 | H2_SOCKPAIR_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_NOSEC_TEST_SRC)))) |
| 15261 | |
| 15262 | |
| 15263 | $(BINDIR)/$(CONFIG)/h2_sockpair_nosec_test: $(H2_SOCKPAIR_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15264 | $(E) "[LD] Linking $@" |
| 15265 | $(Q) mkdir -p `dirname $@` |
| 15266 | $(Q) $(LD) $(LDFLAGS) $(H2_SOCKPAIR_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_sockpair_nosec_test |
| 15267 | |
| 15268 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_sockpair.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15269 | |
| 15270 | deps_h2_sockpair_nosec_test: $(H2_SOCKPAIR_NOSEC_TEST_OBJS:.o=.dep) |
| 15271 | |
| 15272 | ifneq ($(NO_DEPS),true) |
| 15273 | -include $(H2_SOCKPAIR_NOSEC_TEST_OBJS:.o=.dep) |
| 15274 | endif |
| 15275 | |
| 15276 | |
| 15277 | H2_SOCKPAIR+TRACE_NOSEC_TEST_SRC = \ |
| 15278 | test/core/end2end/fixtures/h2_sockpair+trace.c \ |
| 15279 | |
| 15280 | H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR+TRACE_NOSEC_TEST_SRC)))) |
| 15281 | |
| 15282 | |
| 15283 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_nosec_test: $(H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15284 | $(E) "[LD] Linking $@" |
| 15285 | $(Q) mkdir -p `dirname $@` |
| 15286 | $(Q) $(LD) $(LDFLAGS) $(H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_sockpair+trace_nosec_test |
| 15287 | |
| 15288 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_sockpair+trace.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15289 | |
| 15290 | deps_h2_sockpair+trace_nosec_test: $(H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 15291 | |
| 15292 | ifneq ($(NO_DEPS),true) |
| 15293 | -include $(H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 15294 | endif |
| 15295 | |
| 15296 | |
| 15297 | H2_SOCKPAIR_1BYTE_NOSEC_TEST_SRC = \ |
| 15298 | test/core/end2end/fixtures/h2_sockpair_1byte.c \ |
| 15299 | |
| 15300 | H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_SRC)))) |
| 15301 | |
| 15302 | |
| 15303 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_nosec_test: $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15304 | $(E) "[LD] Linking $@" |
| 15305 | $(Q) mkdir -p `dirname $@` |
| 15306 | $(Q) $(LD) $(LDFLAGS) $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_nosec_test |
| 15307 | |
| 15308 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_sockpair_1byte.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15309 | |
| 15310 | deps_h2_sockpair_1byte_nosec_test: $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS:.o=.dep) |
| 15311 | |
| 15312 | ifneq ($(NO_DEPS),true) |
| 15313 | -include $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS:.o=.dep) |
| 15314 | endif |
| 15315 | |
| 15316 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15317 | H2_UDS_NOSEC_TEST_SRC = \ |
| 15318 | test/core/end2end/fixtures/h2_uds.c \ |
| 15319 | |
| 15320 | H2_UDS_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_UDS_NOSEC_TEST_SRC)))) |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15321 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15322 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15323 | $(BINDIR)/$(CONFIG)/h2_uds_nosec_test: $(H2_UDS_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15324 | $(E) "[LD] Linking $@" |
| 15325 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15326 | $(Q) $(LD) $(LDFLAGS) $(H2_UDS_NOSEC_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) -o $(BINDIR)/$(CONFIG)/h2_uds_nosec_test |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15327 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 15328 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_uds.o: $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 15329 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 15330 | deps_h2_uds_nosec_test: $(H2_UDS_NOSEC_TEST_OBJS:.o=.dep) |
| 15331 | |
| 15332 | ifneq ($(NO_DEPS),true) |
| 15333 | -include $(H2_UDS_NOSEC_TEST_OBJS:.o=.dep) |
| 15334 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 15335 | |
| 15336 | |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 15337 | API_FUZZER_ONE_ENTRY_SRC = \ |
| 15338 | test/core/end2end/fuzzers/api_fuzzer.c \ |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 15339 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 15340 | |
| 15341 | API_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(API_FUZZER_ONE_ENTRY_SRC)))) |
| 15342 | ifeq ($(NO_SECURE),true) |
| 15343 | |
| 15344 | # You can't build secure targets if you don't have OpenSSL. |
| 15345 | |
| 15346 | $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry: openssl_dep_error |
| 15347 | |
| 15348 | else |
| 15349 | |
| 15350 | |
| 15351 | |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 15352 | $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry: $(API_FUZZER_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 15353 | $(E) "[LD] Linking $@" |
| 15354 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 15355 | $(Q) $(LD) $(LDFLAGS) $(API_FUZZER_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 15356 | |
| 15357 | endif |
| 15358 | |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 15359 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fuzzers/api_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15360 | |
| 15361 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 15362 | |
| 15363 | deps_api_fuzzer_one_entry: $(API_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 15364 | |
| 15365 | ifneq ($(NO_SECURE),true) |
| 15366 | ifneq ($(NO_DEPS),true) |
| 15367 | -include $(API_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 15368 | endif |
| 15369 | endif |
| 15370 | |
| 15371 | |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 15372 | CLIENT_FUZZER_ONE_ENTRY_SRC = \ |
| 15373 | test/core/end2end/fuzzers/client_fuzzer.c \ |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 15374 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 15375 | |
| 15376 | CLIENT_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLIENT_FUZZER_ONE_ENTRY_SRC)))) |
| 15377 | ifeq ($(NO_SECURE),true) |
| 15378 | |
| 15379 | # You can't build secure targets if you don't have OpenSSL. |
| 15380 | |
| 15381 | $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry: openssl_dep_error |
| 15382 | |
| 15383 | else |
| 15384 | |
| 15385 | |
| 15386 | |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 15387 | $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry: $(CLIENT_FUZZER_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 15388 | $(E) "[LD] Linking $@" |
| 15389 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 15390 | $(Q) $(LD) $(LDFLAGS) $(CLIENT_FUZZER_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 15391 | |
| 15392 | endif |
| 15393 | |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 15394 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fuzzers/client_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15395 | |
| 15396 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 15397 | |
| 15398 | deps_client_fuzzer_one_entry: $(CLIENT_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 15399 | |
| 15400 | ifneq ($(NO_SECURE),true) |
| 15401 | ifneq ($(NO_DEPS),true) |
| 15402 | -include $(CLIENT_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 15403 | endif |
| 15404 | endif |
| 15405 | |
| 15406 | |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15407 | HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 15408 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15409 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15410 | |
| 15411 | HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 15412 | ifeq ($(NO_SECURE),true) |
| 15413 | |
| 15414 | # You can't build secure targets if you don't have OpenSSL. |
| 15415 | |
| 15416 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry: openssl_dep_error |
| 15417 | |
| 15418 | else |
| 15419 | |
| 15420 | |
| 15421 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15422 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry: $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15423 | $(E) "[LD] Linking $@" |
| 15424 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15425 | $(Q) $(LD) $(LDFLAGS) $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15426 | |
| 15427 | endif |
| 15428 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15429 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/hpack_parser_fuzzer_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15430 | |
| 15431 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15432 | |
| 15433 | deps_hpack_parser_fuzzer_test_one_entry: $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15434 | |
| 15435 | ifneq ($(NO_SECURE),true) |
| 15436 | ifneq ($(NO_DEPS),true) |
| 15437 | -include $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15438 | endif |
| 15439 | endif |
| 15440 | |
| 15441 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 15442 | HTTP_REQUEST_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 15443 | test/core/http/request_fuzzer.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15444 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15445 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 15446 | HTTP_REQUEST_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_REQUEST_FUZZER_TEST_ONE_ENTRY_SRC)))) |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15447 | ifeq ($(NO_SECURE),true) |
| 15448 | |
| 15449 | # You can't build secure targets if you don't have OpenSSL. |
| 15450 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 15451 | $(BINDIR)/$(CONFIG)/http_request_fuzzer_test_one_entry: openssl_dep_error |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15452 | |
| 15453 | else |
| 15454 | |
| 15455 | |
| 15456 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 15457 | $(BINDIR)/$(CONFIG)/http_request_fuzzer_test_one_entry: $(HTTP_REQUEST_FUZZER_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15458 | $(E) "[LD] Linking $@" |
| 15459 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 15460 | $(Q) $(LD) $(LDFLAGS) $(HTTP_REQUEST_FUZZER_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/http_request_fuzzer_test_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15461 | |
| 15462 | endif |
| 15463 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 15464 | $(OBJDIR)/$(CONFIG)/test/core/http/request_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15465 | |
| 15466 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15467 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 15468 | deps_http_request_fuzzer_test_one_entry: $(HTTP_REQUEST_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15469 | |
| 15470 | ifneq ($(NO_SECURE),true) |
| 15471 | ifneq ($(NO_DEPS),true) |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 15472 | -include $(HTTP_REQUEST_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15473 | endif |
| 15474 | endif |
| 15475 | |
| 15476 | |
| 15477 | HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 15478 | test/core/http/response_fuzzer.c \ |
| 15479 | test/core/util/one_corpus_entry_fuzzer.c \ |
| 15480 | |
| 15481 | HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 15482 | ifeq ($(NO_SECURE),true) |
| 15483 | |
| 15484 | # You can't build secure targets if you don't have OpenSSL. |
| 15485 | |
| 15486 | $(BINDIR)/$(CONFIG)/http_response_fuzzer_test_one_entry: openssl_dep_error |
| 15487 | |
| 15488 | else |
| 15489 | |
| 15490 | |
| 15491 | |
| 15492 | $(BINDIR)/$(CONFIG)/http_response_fuzzer_test_one_entry: $(HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15493 | $(E) "[LD] Linking $@" |
| 15494 | $(Q) mkdir -p `dirname $@` |
| 15495 | $(Q) $(LD) $(LDFLAGS) $(HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/http_response_fuzzer_test_one_entry |
| 15496 | |
| 15497 | endif |
| 15498 | |
| 15499 | $(OBJDIR)/$(CONFIG)/test/core/http/response_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15500 | |
| 15501 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15502 | |
| 15503 | deps_http_response_fuzzer_test_one_entry: $(HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15504 | |
| 15505 | ifneq ($(NO_SECURE),true) |
| 15506 | ifneq ($(NO_DEPS),true) |
| 15507 | -include $(HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15508 | endif |
| 15509 | endif |
| 15510 | |
| 15511 | |
| 15512 | JSON_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 15513 | test/core/json/fuzzer.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15514 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15515 | |
| 15516 | JSON_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 15517 | ifeq ($(NO_SECURE),true) |
| 15518 | |
| 15519 | # You can't build secure targets if you don't have OpenSSL. |
| 15520 | |
| 15521 | $(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry: openssl_dep_error |
| 15522 | |
| 15523 | else |
| 15524 | |
| 15525 | |
| 15526 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15527 | $(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry: $(JSON_FUZZER_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15528 | $(E) "[LD] Linking $@" |
| 15529 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15530 | $(Q) $(LD) $(LDFLAGS) $(JSON_FUZZER_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15531 | |
| 15532 | endif |
| 15533 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15534 | $(OBJDIR)/$(CONFIG)/test/core/json/fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15535 | |
| 15536 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15537 | |
| 15538 | deps_json_fuzzer_test_one_entry: $(JSON_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15539 | |
| 15540 | ifneq ($(NO_SECURE),true) |
| 15541 | ifneq ($(NO_DEPS),true) |
| 15542 | -include $(JSON_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15543 | endif |
| 15544 | endif |
| 15545 | |
| 15546 | |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 15547 | NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_SRC = \ |
| 15548 | test/core/nanopb/fuzzer_response.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15549 | test/core/util/one_corpus_entry_fuzzer.c \ |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 15550 | |
| 15551 | NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_SRC)))) |
| 15552 | ifeq ($(NO_SECURE),true) |
| 15553 | |
| 15554 | # You can't build secure targets if you don't have OpenSSL. |
| 15555 | |
| 15556 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry: openssl_dep_error |
| 15557 | |
| 15558 | else |
| 15559 | |
| 15560 | |
| 15561 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15562 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry: $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 15563 | $(E) "[LD] Linking $@" |
| 15564 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15565 | $(Q) $(LD) $(LDFLAGS) $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 15566 | |
| 15567 | endif |
| 15568 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15569 | $(OBJDIR)/$(CONFIG)/test/core/nanopb/fuzzer_response.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15570 | |
| 15571 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 15572 | |
| 15573 | deps_nanopb_fuzzer_response_test_one_entry: $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15574 | |
| 15575 | ifneq ($(NO_SECURE),true) |
| 15576 | ifneq ($(NO_DEPS),true) |
| 15577 | -include $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15578 | endif |
| 15579 | endif |
| 15580 | |
| 15581 | |
| 15582 | NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_SRC = \ |
| 15583 | test/core/nanopb/fuzzer_serverlist.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15584 | test/core/util/one_corpus_entry_fuzzer.c \ |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 15585 | |
| 15586 | NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_SRC)))) |
| 15587 | ifeq ($(NO_SECURE),true) |
| 15588 | |
| 15589 | # You can't build secure targets if you don't have OpenSSL. |
| 15590 | |
| 15591 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry: openssl_dep_error |
| 15592 | |
| 15593 | else |
| 15594 | |
| 15595 | |
| 15596 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15597 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry: $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 15598 | $(E) "[LD] Linking $@" |
| 15599 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15600 | $(Q) $(LD) $(LDFLAGS) $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 15601 | |
| 15602 | endif |
| 15603 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15604 | $(OBJDIR)/$(CONFIG)/test/core/nanopb/fuzzer_serverlist.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15605 | |
| 15606 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 15607 | |
| 15608 | deps_nanopb_fuzzer_serverlist_test_one_entry: $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15609 | |
| 15610 | ifneq ($(NO_SECURE),true) |
| 15611 | ifneq ($(NO_DEPS),true) |
| 15612 | -include $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15613 | endif |
| 15614 | endif |
| 15615 | |
| 15616 | |
Craig Tiller | 17ed6b1 | 2016-08-18 09:33:33 -0700 | [diff] [blame] | 15617 | PERCENT_DECODE_FUZZER_ONE_ENTRY_SRC = \ |
| 15618 | test/core/support/percent_decode_fuzzer.c \ |
| 15619 | test/core/util/one_corpus_entry_fuzzer.c \ |
| 15620 | |
| 15621 | PERCENT_DECODE_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(PERCENT_DECODE_FUZZER_ONE_ENTRY_SRC)))) |
| 15622 | ifeq ($(NO_SECURE),true) |
| 15623 | |
| 15624 | # You can't build secure targets if you don't have OpenSSL. |
| 15625 | |
| 15626 | $(BINDIR)/$(CONFIG)/percent_decode_fuzzer_one_entry: openssl_dep_error |
| 15627 | |
| 15628 | else |
| 15629 | |
| 15630 | |
| 15631 | |
| 15632 | $(BINDIR)/$(CONFIG)/percent_decode_fuzzer_one_entry: $(PERCENT_DECODE_FUZZER_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15633 | $(E) "[LD] Linking $@" |
| 15634 | $(Q) mkdir -p `dirname $@` |
| 15635 | $(Q) $(LD) $(LDFLAGS) $(PERCENT_DECODE_FUZZER_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/percent_decode_fuzzer_one_entry |
| 15636 | |
| 15637 | endif |
| 15638 | |
| 15639 | $(OBJDIR)/$(CONFIG)/test/core/support/percent_decode_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15640 | |
| 15641 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15642 | |
| 15643 | deps_percent_decode_fuzzer_one_entry: $(PERCENT_DECODE_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 15644 | |
| 15645 | ifneq ($(NO_SECURE),true) |
| 15646 | ifneq ($(NO_DEPS),true) |
| 15647 | -include $(PERCENT_DECODE_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 15648 | endif |
| 15649 | endif |
| 15650 | |
| 15651 | |
| 15652 | PERCENT_ENCODE_FUZZER_ONE_ENTRY_SRC = \ |
| 15653 | test/core/support/percent_encode_fuzzer.c \ |
| 15654 | test/core/util/one_corpus_entry_fuzzer.c \ |
| 15655 | |
| 15656 | PERCENT_ENCODE_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(PERCENT_ENCODE_FUZZER_ONE_ENTRY_SRC)))) |
| 15657 | ifeq ($(NO_SECURE),true) |
| 15658 | |
| 15659 | # You can't build secure targets if you don't have OpenSSL. |
| 15660 | |
| 15661 | $(BINDIR)/$(CONFIG)/percent_encode_fuzzer_one_entry: openssl_dep_error |
| 15662 | |
| 15663 | else |
| 15664 | |
| 15665 | |
| 15666 | |
| 15667 | $(BINDIR)/$(CONFIG)/percent_encode_fuzzer_one_entry: $(PERCENT_ENCODE_FUZZER_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15668 | $(E) "[LD] Linking $@" |
| 15669 | $(Q) mkdir -p `dirname $@` |
| 15670 | $(Q) $(LD) $(LDFLAGS) $(PERCENT_ENCODE_FUZZER_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/percent_encode_fuzzer_one_entry |
| 15671 | |
| 15672 | endif |
| 15673 | |
| 15674 | $(OBJDIR)/$(CONFIG)/test/core/support/percent_encode_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15675 | |
| 15676 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15677 | |
| 15678 | deps_percent_encode_fuzzer_one_entry: $(PERCENT_ENCODE_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 15679 | |
| 15680 | ifneq ($(NO_SECURE),true) |
| 15681 | ifneq ($(NO_DEPS),true) |
| 15682 | -include $(PERCENT_ENCODE_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 15683 | endif |
| 15684 | endif |
| 15685 | |
| 15686 | |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 15687 | SERVER_FUZZER_ONE_ENTRY_SRC = \ |
| 15688 | test/core/end2end/fuzzers/server_fuzzer.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15689 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 15690 | |
| 15691 | SERVER_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_FUZZER_ONE_ENTRY_SRC)))) |
| 15692 | ifeq ($(NO_SECURE),true) |
| 15693 | |
| 15694 | # You can't build secure targets if you don't have OpenSSL. |
| 15695 | |
| 15696 | $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry: openssl_dep_error |
| 15697 | |
| 15698 | else |
| 15699 | |
| 15700 | |
| 15701 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15702 | $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry: $(SERVER_FUZZER_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 15703 | $(E) "[LD] Linking $@" |
| 15704 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15705 | $(Q) $(LD) $(LDFLAGS) $(SERVER_FUZZER_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 15706 | |
| 15707 | endif |
| 15708 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15709 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fuzzers/server_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15710 | |
| 15711 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 15712 | |
| 15713 | deps_server_fuzzer_one_entry: $(SERVER_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 15714 | |
| 15715 | ifneq ($(NO_SECURE),true) |
| 15716 | ifneq ($(NO_DEPS),true) |
| 15717 | -include $(SERVER_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 15718 | endif |
| 15719 | endif |
| 15720 | |
| 15721 | |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15722 | URI_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 15723 | test/core/client_config/uri_fuzzer_test.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15724 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15725 | |
| 15726 | URI_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(URI_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 15727 | ifeq ($(NO_SECURE),true) |
| 15728 | |
| 15729 | # You can't build secure targets if you don't have OpenSSL. |
| 15730 | |
| 15731 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry: openssl_dep_error |
| 15732 | |
| 15733 | else |
| 15734 | |
| 15735 | |
| 15736 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15737 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry: $(URI_FUZZER_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15738 | $(E) "[LD] Linking $@" |
| 15739 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15740 | $(Q) $(LD) $(LDFLAGS) $(URI_FUZZER_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15741 | |
| 15742 | endif |
| 15743 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 15744 | $(OBJDIR)/$(CONFIG)/test/core/client_config/uri_fuzzer_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 15745 | |
| 15746 | $(OBJDIR)/$(CONFIG)/test/core/util/one_corpus_entry_fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 15747 | |
| 15748 | deps_uri_fuzzer_test_one_entry: $(URI_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15749 | |
| 15750 | ifneq ($(NO_SECURE),true) |
| 15751 | ifneq ($(NO_DEPS),true) |
| 15752 | -include $(URI_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 15753 | endif |
| 15754 | endif |
| 15755 | |
| 15756 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 15757 | |
| 15758 | |
| 15759 | |
nnoble | 0c475f0 | 2014-12-05 15:37:39 -0800 | [diff] [blame] | 15760 | |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 15761 | ifneq ($(OPENSSL_DEP),) |
| 15762 | # This is to ensure the embedded OpenSSL is built beforehand, properly |
| 15763 | # installing headers to their final destination on the drive. We need this |
| 15764 | # otherwise parallel compilation will fail if a source is compiled first. |
Craig Tiller | c7762a8 | 2016-03-28 10:13:08 -0700 | [diff] [blame] | 15765 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c: $(OPENSSL_DEP) |
| 15766 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c: $(OPENSSL_DEP) |
makdharma | c2ec95b | 2016-05-11 16:26:15 -0700 | [diff] [blame] | 15767 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c: $(OPENSSL_DEP) |
| 15768 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c: $(OPENSSL_DEP) |
| 15769 | src/core/ext/transport/cronet/transport/cronet_transport.c: $(OPENSSL_DEP) |
Yuchen Zeng | f0ec5b6 | 2016-07-08 13:40:40 -0700 | [diff] [blame] | 15770 | src/core/lib/http/httpcli_security_connector.c: $(OPENSSL_DEP) |
| 15771 | src/core/lib/security/context/security_context.c: $(OPENSSL_DEP) |
| 15772 | src/core/lib/security/credentials/composite/composite_credentials.c: $(OPENSSL_DEP) |
| 15773 | src/core/lib/security/credentials/credentials.c: $(OPENSSL_DEP) |
| 15774 | src/core/lib/security/credentials/credentials_metadata.c: $(OPENSSL_DEP) |
| 15775 | src/core/lib/security/credentials/fake/fake_credentials.c: $(OPENSSL_DEP) |
| 15776 | src/core/lib/security/credentials/google_default/credentials_posix.c: $(OPENSSL_DEP) |
| 15777 | src/core/lib/security/credentials/google_default/credentials_windows.c: $(OPENSSL_DEP) |
| 15778 | src/core/lib/security/credentials/google_default/google_default_credentials.c: $(OPENSSL_DEP) |
| 15779 | src/core/lib/security/credentials/iam/iam_credentials.c: $(OPENSSL_DEP) |
| 15780 | src/core/lib/security/credentials/jwt/json_token.c: $(OPENSSL_DEP) |
| 15781 | src/core/lib/security/credentials/jwt/jwt_credentials.c: $(OPENSSL_DEP) |
| 15782 | src/core/lib/security/credentials/jwt/jwt_verifier.c: $(OPENSSL_DEP) |
| 15783 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c: $(OPENSSL_DEP) |
| 15784 | src/core/lib/security/credentials/plugin/plugin_credentials.c: $(OPENSSL_DEP) |
| 15785 | src/core/lib/security/credentials/ssl/ssl_credentials.c: $(OPENSSL_DEP) |
| 15786 | src/core/lib/security/transport/client_auth_filter.c: $(OPENSSL_DEP) |
| 15787 | src/core/lib/security/transport/handshake.c: $(OPENSSL_DEP) |
| 15788 | src/core/lib/security/transport/secure_endpoint.c: $(OPENSSL_DEP) |
| 15789 | src/core/lib/security/transport/security_connector.c: $(OPENSSL_DEP) |
| 15790 | src/core/lib/security/transport/server_auth_filter.c: $(OPENSSL_DEP) |
| 15791 | src/core/lib/security/transport/tsi_error.c: $(OPENSSL_DEP) |
| 15792 | src/core/lib/security/util/b64.c: $(OPENSSL_DEP) |
| 15793 | src/core/lib/security/util/json_util.c: $(OPENSSL_DEP) |
| 15794 | src/core/lib/surface/init_secure.c: $(OPENSSL_DEP) |
| 15795 | src/core/lib/tsi/fake_transport_security.c: $(OPENSSL_DEP) |
| 15796 | src/core/lib/tsi/ssl_transport_security.c: $(OPENSSL_DEP) |
| 15797 | src/core/lib/tsi/transport_security.c: $(OPENSSL_DEP) |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 15798 | src/core/plugin_registry/grpc_cronet_plugin_registry.c: $(OPENSSL_DEP) |
Craig Tiller | fb43385 | 2016-03-29 08:51:07 -0700 | [diff] [blame] | 15799 | src/core/plugin_registry/grpc_plugin_registry.c: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15800 | src/cpp/client/secure_credentials.cc: $(OPENSSL_DEP) |
| 15801 | src/cpp/common/auth_property_iterator.cc: $(OPENSSL_DEP) |
| 15802 | src/cpp/common/secure_auth_context.cc: $(OPENSSL_DEP) |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 15803 | src/cpp/common/secure_channel_arguments.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15804 | src/cpp/common/secure_create_auth_context.cc: $(OPENSSL_DEP) |
Yuchen Zeng | 0601df3 | 2016-06-06 13:08:06 -0700 | [diff] [blame] | 15805 | src/cpp/ext/proto_server_reflection.cc: $(OPENSSL_DEP) |
| 15806 | src/cpp/ext/proto_server_reflection_plugin.cc: $(OPENSSL_DEP) |
| 15807 | src/cpp/ext/reflection.grpc.pb.cc: $(OPENSSL_DEP) |
| 15808 | src/cpp/ext/reflection.pb.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15809 | src/cpp/server/secure_server_credentials.cc: $(OPENSSL_DEP) |
yang-g | 4287998 | 2016-10-13 15:58:31 -0700 | [diff] [blame] | 15810 | src/cpp/test/server_context_test_spouse.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15811 | src/csharp/ext/grpc_csharp_ext.c: $(OPENSSL_DEP) |
| 15812 | test/core/bad_client/bad_client.c: $(OPENSSL_DEP) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 15813 | test/core/bad_ssl/server_common.c: $(OPENSSL_DEP) |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 15814 | test/core/end2end/data/client_certs.c: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15815 | test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP) |
| 15816 | test/core/end2end/data/server1_key.c: $(OPENSSL_DEP) |
| 15817 | test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 15818 | test/core/end2end/end2end_tests.c: $(OPENSSL_DEP) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 15819 | test/core/end2end/tests/call_creds.c: $(OPENSSL_DEP) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 15820 | test/core/security/oauth2_utils.c: $(OPENSSL_DEP) |
yang-g | 62ff690 | 2015-08-05 09:27:17 -0700 | [diff] [blame] | 15821 | test/core/util/reconnect_server.c: $(OPENSSL_DEP) |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 15822 | test/core/util/test_tcp_server.c: $(OPENSSL_DEP) |
yang-g | d6f7d99 | 2016-01-14 16:04:20 -0800 | [diff] [blame] | 15823 | test/cpp/end2end/test_service_impl.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15824 | test/cpp/interop/client.cc: $(OPENSSL_DEP) |
| 15825 | test/cpp/interop/client_helper.cc: $(OPENSSL_DEP) |
| 15826 | test/cpp/interop/interop_client.cc: $(OPENSSL_DEP) |
David Garcia Quintas | 74686ce | 2016-06-09 15:33:33 -0700 | [diff] [blame] | 15827 | test/cpp/interop/interop_server.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | 6570b83 | 2016-07-18 23:29:50 +0200 | [diff] [blame] | 15828 | test/cpp/interop/interop_server_bootstrap.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15829 | test/cpp/interop/server_helper.cc: $(OPENSSL_DEP) |
| 15830 | test/cpp/qps/client_async.cc: $(OPENSSL_DEP) |
| 15831 | test/cpp/qps/client_sync.cc: $(OPENSSL_DEP) |
| 15832 | test/cpp/qps/driver.cc: $(OPENSSL_DEP) |
vjpai | c803442 | 2016-01-19 15:32:42 -0800 | [diff] [blame] | 15833 | test/cpp/qps/limit_cores.cc: $(OPENSSL_DEP) |
David Klempner | e27d189 | 2016-05-19 13:50:16 -0700 | [diff] [blame] | 15834 | test/cpp/qps/parse_json.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15835 | test/cpp/qps/qps_worker.cc: $(OPENSSL_DEP) |
| 15836 | test/cpp/qps/report.cc: $(OPENSSL_DEP) |
| 15837 | test/cpp/qps/server_async.cc: $(OPENSSL_DEP) |
| 15838 | test/cpp/qps/server_sync.cc: $(OPENSSL_DEP) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 15839 | test/cpp/qps/usage_timer.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15840 | test/cpp/util/benchmark_config.cc: $(OPENSSL_DEP) |
yang-g | 9f17314 | 2016-01-15 12:46:40 -0800 | [diff] [blame] | 15841 | test/cpp/util/byte_buffer_proto_helper.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15842 | test/cpp/util/cli_call.cc: $(OPENSSL_DEP) |
Yuchen Zeng | 02139a0 | 2016-08-15 11:34:21 -0700 | [diff] [blame] | 15843 | test/cpp/util/cli_credentials.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15844 | test/cpp/util/create_test_channel.cc: $(OPENSSL_DEP) |
Yuchen Zeng | 29ca79b | 2016-07-25 12:00:08 -0700 | [diff] [blame] | 15845 | test/cpp/util/grpc_tool.cc: $(OPENSSL_DEP) |
yang-g | df012d0 | 2016-05-18 15:44:06 -0700 | [diff] [blame] | 15846 | test/cpp/util/proto_file_parser.cc: $(OPENSSL_DEP) |
Yuchen Zeng | 256cc7a | 2016-07-07 11:09:49 -0700 | [diff] [blame] | 15847 | test/cpp/util/proto_reflection_descriptor_database.cc: $(OPENSSL_DEP) |
Yuchen Zeng | 387afd7 | 2016-08-26 14:25:21 -0700 | [diff] [blame] | 15848 | test/cpp/util/service_describer.cc: $(OPENSSL_DEP) |
yang-g | e21908f | 2015-08-25 13:47:51 -0700 | [diff] [blame] | 15849 | test/cpp/util/string_ref_helper.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 15850 | test/cpp/util/subprocess.cc: $(OPENSSL_DEP) |
Craig Tiller | 102fa96 | 2016-08-22 13:56:36 -0700 | [diff] [blame] | 15851 | test/cpp/util/test_config_cc.cc: $(OPENSSL_DEP) |
yang-g | 7d2a3e1 | 2016-02-18 15:41:56 -0800 | [diff] [blame] | 15852 | test/cpp/util/test_credentials_provider.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 15853 | endif |
| 15854 | |
Craig Tiller | f0afe50 | 2015-01-15 09:04:49 -0800 | [diff] [blame] | 15855 | .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 |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 15856 | |
| 15857 | .PHONY: printvars |
| 15858 | printvars: |
| 15859 | @$(foreach V,$(sort $(.VARIABLES)), $(if $(filter-out environment% default automatic, $(origin $V)),$(warning $V=$($V) ($(value $V))))) |