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 | |
Craig Tiller | 16f6dac | 2015-08-24 17:00:04 -0700 | [diff] [blame] | 408 | 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] | 409 | GTEST_LIB += -lgflags |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 410 | ifeq ($(V),1) |
| 411 | E = @: |
| 412 | Q = |
| 413 | else |
| 414 | E = @echo |
| 415 | Q = @ |
| 416 | endif |
| 417 | |
Nicolas "Pixel" Noble | 3260a17 | 2016-07-29 22:56:12 +0200 | [diff] [blame] | 418 | VERSION = 1.0.0-pre2 |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 419 | |
| 420 | CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES)) |
| 421 | CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS) |
| 422 | |
| 423 | LDFLAGS += $(ARCH_FLAGS) |
| 424 | LDLIBS += $(addprefix -l, $(LIBS)) |
| 425 | LDLIBSXX += $(addprefix -l, $(LIBSXX)) |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 426 | |
| 427 | HOST_CPPFLAGS = $(CPPFLAGS) |
| 428 | HOST_CFLAGS = $(CFLAGS) |
| 429 | HOST_CXXFLAGS = $(CXXFLAGS) |
| 430 | HOST_LDFLAGS = $(LDFLAGS) |
| 431 | HOST_LDLIBS = $(LDLIBS) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 432 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 433 | # These are automatically computed variables. |
| 434 | # There shouldn't be any need to change anything from now on. |
| 435 | |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 436 | -include cache.mk |
| 437 | |
| 438 | CACHE_MK = |
| 439 | |
| 440 | HAS_PKG_CONFIG ?= $(shell command -v $(PKG_CONFIG) >/dev/null 2>&1 && echo true || echo false) |
| 441 | |
| 442 | ifeq ($(HAS_PKG_CONFIG), true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 443 | CACHE_MK += HAS_PKG_CONFIG = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 444 | endif |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 445 | |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 446 | 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] | 447 | |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 448 | ifeq ($(SYSTEM),MINGW32) |
| 449 | SHARED_EXT = dll |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 450 | SHARED_PREFIX = |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 451 | SHARED_VERSION = -1 |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 452 | else ifeq ($(SYSTEM),Darwin) |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 453 | SHARED_EXT = dylib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 454 | SHARED_PREFIX = lib |
| 455 | SHARED_VERSION = |
| 456 | else |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 457 | SHARED_EXT = so.$(VERSION) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 458 | SHARED_PREFIX = lib |
| 459 | SHARED_VERSION = |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 460 | endif |
| 461 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 462 | ifeq ($(wildcard .git),) |
| 463 | IS_GIT_FOLDER = false |
| 464 | else |
| 465 | IS_GIT_FOLDER = true |
| 466 | endif |
| 467 | |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 468 | ifeq ($(HAS_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 469 | OPENSSL_ALPN_CHECK_CMD = $(PKG_CONFIG) --atleast-version=1.0.2 openssl |
murgatroid99 | 71020da | 2015-07-08 13:04:05 -0700 | [diff] [blame] | 470 | OPENSSL_NPN_CHECK_CMD = $(PKG_CONFIG) --atleast-version=1.0.1 openssl |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 471 | ZLIB_CHECK_CMD = $(PKG_CONFIG) --exists zlib |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 472 | PROTOBUF_CHECK_CMD = $(PKG_CONFIG) --atleast-version=3.0.0-alpha-3 protobuf |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 473 | else # HAS_PKG_CONFIG |
| 474 | |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 475 | ifeq ($(SYSTEM),MINGW32) |
| 476 | OPENSSL_LIBS = ssl32 eay32 |
| 477 | else |
| 478 | OPENSSL_LIBS = ssl crypto |
| 479 | endif |
| 480 | |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 481 | OPENSSL_ALPN_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/openssl-alpn.c $(addprefix -l, $(OPENSSL_LIBS)) $(LDFLAGS) |
| 482 | 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] | 483 | 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] | 484 | ZLIB_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/zlib.c -lz $(LDFLAGS) |
| 485 | 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] | 486 | |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 487 | endif # HAS_PKG_CONFIG |
| 488 | |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 489 | 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] | 490 | |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 491 | PROTOC_CHECK_CMD = which protoc > /dev/null |
| 492 | PROTOC_CHECK_VERSION_CMD = protoc --version | grep -q libprotoc.3 |
| 493 | DTRACE_CHECK_CMD = which dtrace > /dev/null |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 494 | 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] | 495 | |
Craig Tiller | 50524cc | 2015-01-29 23:00:00 -0800 | [diff] [blame] | 496 | ifndef REQUIRE_CUSTOM_LIBRARIES_$(CONFIG) |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 497 | 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] | 498 | ifeq ($(HAS_SYSTEM_PERFTOOLS),true) |
| 499 | DEFINES += GRPC_HAVE_PERFTOOLS |
| 500 | LIBS += profiler |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 501 | CACHE_MK += HAS_SYSTEM_PERFTOOLS = true, |
Craig Tiller | 297fafa | 2015-01-15 15:46:39 -0800 | [diff] [blame] | 502 | endif |
Craig Tiller | 50524cc | 2015-01-29 23:00:00 -0800 | [diff] [blame] | 503 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 504 | |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 505 | 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] | 506 | ifndef REQUIRE_CUSTOM_LIBRARIES_$(CONFIG) |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 507 | 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] | 508 | ifeq ($(HAS_SYSTEM_OPENSSL_ALPN),true) |
| 509 | HAS_SYSTEM_OPENSSL_NPN = true |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 510 | CACHE_MK += HAS_SYSTEM_OPENSSL_ALPN = true, |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 511 | else |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 512 | 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] | 513 | endif |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 514 | ifeq ($(HAS_SYSTEM_OPENSSL_NPN),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 515 | CACHE_MK += HAS_SYSTEM_OPENSSL_NPN = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 516 | endif |
| 517 | HAS_SYSTEM_ZLIB ?= $(shell $(ZLIB_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 518 | ifeq ($(HAS_SYSTEM_ZLIB),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 519 | CACHE_MK += HAS_SYSTEM_ZLIB = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 520 | endif |
| 521 | HAS_SYSTEM_PROTOBUF ?= $(HAS_SYSTEM_PROTOBUF_VERIFY) |
| 522 | ifeq ($(HAS_SYSTEM_PROTOBUF),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 523 | CACHE_MK += HAS_SYSTEM_PROTOBUF = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 524 | endif |
Craig Tiller | c4da6b7 | 2015-01-15 08:01:14 -0800 | [diff] [blame] | 525 | else |
| 526 | # override system libraries if the config requires a custom compiled library |
| 527 | HAS_SYSTEM_OPENSSL_ALPN = false |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 528 | HAS_SYSTEM_OPENSSL_NPN = false |
Craig Tiller | c4da6b7 | 2015-01-15 08:01:14 -0800 | [diff] [blame] | 529 | HAS_SYSTEM_ZLIB = false |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 530 | HAS_SYSTEM_PROTOBUF = false |
Craig Tiller | c4da6b7 | 2015-01-15 08:01:14 -0800 | [diff] [blame] | 531 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 532 | |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 533 | 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] | 534 | ifeq ($(HAS_PROTOC),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 535 | CACHE_MK += HAS_PROTOC = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 536 | HAS_VALID_PROTOC ?= $(shell $(PROTOC_CHECK_VERSION_CMD) 2> /dev/null && echo true || echo false) |
| 537 | ifeq ($(HAS_VALID_PROTOC),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 538 | CACHE_MK += HAS_VALID_PROTOC = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 539 | endif |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 540 | else |
| 541 | HAS_VALID_PROTOC = false |
| 542 | endif |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 543 | |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 544 | # Check for Systemtap (https://sourceware.org/systemtap/), first by making sure <sys/sdt.h> is present |
| 545 | # in the system and secondly by checking for the "dtrace" binary (on Linux, this is part of the Systemtap |
| 546 | # distribution. It's part of the base system on BSD/Solaris machines). |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 547 | ifndef HAS_SYSTEMTAP |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 548 | HAS_SYSTEMTAP_HEADERS = $(shell $(SYSTEMTAP_HEADERS_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 549 | HAS_DTRACE = $(shell $(DTRACE_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 550 | HAS_SYSTEMTAP = false |
| 551 | ifeq ($(HAS_SYSTEMTAP_HEADERS),true) |
| 552 | ifeq ($(HAS_DTRACE),true) |
| 553 | HAS_SYSTEMTAP = true |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 554 | endif |
| 555 | endif |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 556 | endif |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 557 | |
murgatroid99 | 4a015a6 | 2015-07-10 14:54:57 -0700 | [diff] [blame] | 558 | ifeq ($(HAS_SYSTEMTAP),true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 559 | CACHE_MK += HAS_SYSTEMTAP = true, |
murgatroid99 | 4a015a6 | 2015-07-10 14:54:57 -0700 | [diff] [blame] | 560 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 561 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 562 | # Note that for testing purposes, one can do: |
| 563 | # make HAS_EMBEDDED_OPENSSL_ALPN=false |
| 564 | # 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] | 565 | ifneq ($(wildcard third_party/openssl-1.0.2f/libssl.a),) |
| 566 | HAS_EMBEDDED_OPENSSL_ALPN = third_party/openssl-1.0.2f |
| 567 | else ifeq ($(wildcard third_party/boringssl/include/openssl/ssl.h),) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 568 | HAS_EMBEDDED_OPENSSL_ALPN = false |
| 569 | else |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 570 | CAN_COMPILE_EMBEDDED_OPENSSL ?= $(shell $(BORINGSSL_COMPILE_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 571 | HAS_EMBEDDED_OPENSSL_ALPN = $(CAN_COMPILE_EMBEDDED_OPENSSL) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 572 | endif |
| 573 | |
| 574 | ifeq ($(wildcard third_party/zlib/zlib.h),) |
| 575 | HAS_EMBEDDED_ZLIB = false |
| 576 | else |
| 577 | HAS_EMBEDDED_ZLIB = true |
| 578 | endif |
| 579 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 580 | ifeq ($(wildcard third_party/protobuf/src/google/protobuf/descriptor.pb.h),) |
| 581 | HAS_EMBEDDED_PROTOBUF = false |
| 582 | ifneq ($(HAS_VALID_PROTOC),true) |
| 583 | NO_PROTOC = true |
| 584 | endif |
| 585 | else |
| 586 | HAS_EMBEDDED_PROTOBUF = true |
| 587 | endif |
| 588 | |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 589 | PC_REQUIRES_GRPC = |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 590 | PC_LIBS_GRPC = |
| 591 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 592 | ifeq ($(HAS_SYSTEM_ZLIB),false) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 593 | ifeq ($(HAS_EMBEDDED_ZLIB), true) |
| 594 | EMBED_ZLIB ?= true |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 595 | else |
| 596 | DEP_MISSING += zlib |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 597 | EMBED_ZLIB ?= broken |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 598 | endif |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 599 | else |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 600 | EMBED_ZLIB ?= false |
| 601 | endif |
| 602 | |
| 603 | ifeq ($(EMBED_ZLIB),true) |
| 604 | ZLIB_DEP = $(LIBDIR)/$(CONFIG)/libz.a |
| 605 | ZLIB_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libz.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 606 | ZLIB_MERGE_OBJS = $(LIBZ_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 607 | CPPFLAGS += -Ithird_party/zlib |
| 608 | LDFLAGS += -L$(LIBDIR)/$(CONFIG)/zlib |
| 609 | else |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 610 | ifeq ($(HAS_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 611 | CPPFLAGS += $(shell $(PKG_CONFIG) --cflags zlib) |
| 612 | LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L zlib) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 613 | LIBS += $(patsubst -l%,%,$(shell $(PKG_CONFIG) --libs-only-l zlib)) |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 614 | PC_REQUIRES_GRPC += zlib |
| 615 | else |
| 616 | PC_LIBS_GRPC += -lz |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 617 | LIBS += z |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 618 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 619 | endif |
| 620 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 621 | OPENSSL_PKG_CONFIG = false |
| 622 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 623 | PC_REQUIRES_SECURE = |
| 624 | PC_LIBS_SECURE = |
| 625 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 626 | ifeq ($(HAS_SYSTEM_OPENSSL_ALPN),true) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 627 | EMBED_OPENSSL ?= false |
| 628 | NO_SECURE ?= false |
| 629 | else # HAS_SYSTEM_OPENSSL_ALPN=false |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 630 | ifneq ($(HAS_EMBEDDED_OPENSSL_ALPN),false) |
| 631 | EMBED_OPENSSL ?= $(HAS_EMBEDDED_OPENSSL_ALPN) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 632 | NO_SECURE ?= false |
| 633 | else # HAS_EMBEDDED_OPENSSL_ALPN=false |
| 634 | ifeq ($(HAS_SYSTEM_OPENSSL_NPN),true) |
| 635 | EMBED_OPENSSL ?= false |
| 636 | NO_SECURE ?= false |
| 637 | else |
| 638 | NO_SECURE ?= true |
| 639 | endif # HAS_SYSTEM_OPENSSL_NPN=true |
| 640 | endif # HAS_EMBEDDED_OPENSSL_ALPN |
| 641 | endif # HAS_SYSTEM_OPENSSL_ALPN |
| 642 | |
| 643 | OPENSSL_DEP := |
| 644 | OPENSSL_MERGE_LIBS := |
| 645 | ifeq ($(NO_SECURE),false) |
| 646 | ifeq ($(EMBED_OPENSSL),true) |
| 647 | OPENSSL_DEP += $(LIBDIR)/$(CONFIG)/libboringssl.a |
| 648 | OPENSSL_MERGE_LIBS += $(LIBDIR)/$(CONFIG)/libboringssl.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 649 | OPENSSL_MERGE_OBJS += $(LIBBORINGSSL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 650 | # need to prefix these to ensure overriding system libraries |
| 651 | CPPFLAGS := -Ithird_party/boringssl/include $(CPPFLAGS) |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 652 | else ifneq ($(EMBED_OPENSSL),false) |
| 653 | OPENSSL_DEP += $(EMBED_OPENSSL)/libssl.a $(EMBED_OPENSSL)/libcrypto.a |
| 654 | OPENSSL_MERGE_LIBS += $(EMBED_OPENSSL)/libssl.a $(EMBED_OPENSSL)/libcrypto.a |
| 655 | OPENSSL_MERGE_OBJS += $(wildcard $(EMBED_OPENSSL)/grpc_obj/*.o) |
| 656 | # need to prefix these to ensure overriding system libraries |
| 657 | CPPFLAGS := -I$(EMBED_OPENSSL)/include $(CPPFLAGS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 658 | else # EMBED_OPENSSL=false |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 659 | ifeq ($(HAS_PKG_CONFIG),true) |
| 660 | OPENSSL_PKG_CONFIG = true |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 661 | PC_REQUIRES_SECURE = openssl |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 662 | CPPFLAGS := $(shell $(PKG_CONFIG) --cflags openssl) $(CPPFLAGS) |
| 663 | LDFLAGS_OPENSSL_PKG_CONFIG = $(shell $(PKG_CONFIG) --libs-only-L openssl) |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 664 | ifeq ($(SYSTEM),Linux) |
| 665 | ifneq ($(LDFLAGS_OPENSSL_PKG_CONFIG),) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 666 | 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] | 667 | endif # LDFLAGS_OPENSSL_PKG_CONFIG='' |
| 668 | endif # System=Linux |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 669 | LDFLAGS := $(LDFLAGS_OPENSSL_PKG_CONFIG) $(LDFLAGS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 670 | else # HAS_PKG_CONFIG=false |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 671 | LIBS_SECURE = $(OPENSSL_LIBS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 672 | endif # HAS_PKG_CONFIG |
| 673 | ifeq ($(HAS_SYSTEM_OPENSSL_NPN),true) |
| 674 | CPPFLAGS += -DTSI_OPENSSL_ALPN_SUPPORT=0 |
| 675 | LIBS_SECURE = $(OPENSSL_LIBS) |
| 676 | endif # HAS_SYSTEM_OPENSSL_NPN |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 677 | PC_LIBS_SECURE = $(addprefix -l, $(LIBS_SECURE)) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 678 | endif # EMBED_OPENSSL |
| 679 | endif # NO_SECURE |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 680 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 681 | ifeq ($(OPENSSL_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 682 | LDLIBS_SECURE += $(shell $(PKG_CONFIG) --libs-only-l openssl) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 683 | else |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 684 | LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE)) |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 685 | endif |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 686 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 687 | # grpc .pc file |
| 688 | PC_NAME = gRPC |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 689 | PC_DESCRIPTION = high performance general RPC framework |
| 690 | PC_CFLAGS = |
| 691 | PC_REQUIRES_PRIVATE = $(PC_REQUIRES_GRPC) $(PC_REQUIRES_SECURE) |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 692 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPC) $(PC_LIBS_SECURE) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 693 | PC_LIB = -lgrpc |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 694 | GRPC_PC_FILE := $(PC_TEMPLATE) |
| 695 | |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 696 | # grpc_unsecure .pc file |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 697 | PC_NAME = gRPC unsecure |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 698 | PC_DESCRIPTION = high performance general RPC framework without SSL |
| 699 | PC_CFLAGS = |
| 700 | PC_REQUIRES_PRIVATE = $(PC_REQUIRES_GRPC) |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 701 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPC) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 702 | PC_LIB = -lgrpc |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 703 | GRPC_UNSECURE_PC_FILE := $(PC_TEMPLATE) |
| 704 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 705 | PROTOBUF_PKG_CONFIG = false |
| 706 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 707 | PC_REQUIRES_GRPCXX = |
| 708 | PC_LIBS_GRPCXX = |
| 709 | |
Craig Tiller | 16f6dac | 2015-08-24 17:00:04 -0700 | [diff] [blame] | 710 | CPPFLAGS := -Ithird_party/googletest/include $(CPPFLAGS) |
| 711 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 712 | ifeq ($(HAS_SYSTEM_PROTOBUF),true) |
| 713 | ifeq ($(HAS_PKG_CONFIG),true) |
| 714 | PROTOBUF_PKG_CONFIG = true |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 715 | PC_REQUIRES_GRPCXX = protobuf |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 716 | CPPFLAGS := $(shell $(PKG_CONFIG) --cflags protobuf) $(CPPFLAGS) |
| 717 | LDFLAGS_PROTOBUF_PKG_CONFIG = $(shell $(PKG_CONFIG) --libs-only-L protobuf) |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 718 | ifeq ($(SYSTEM),Linux) |
| 719 | ifneq ($(LDFLAGS_PROTOBUF_PKG_CONFIG),) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 720 | 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] | 721 | endif |
| 722 | endif |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 723 | else |
| 724 | PC_LIBS_GRPCXX = -lprotobuf |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 725 | endif |
| 726 | else |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 727 | ifeq ($(HAS_EMBEDDED_PROTOBUF),true) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 728 | PROTOBUF_DEP = $(LIBDIR)/$(CONFIG)/protobuf/libprotobuf.a |
Craig Tiller | 9ec95fa | 2015-02-20 20:36:21 -0800 | [diff] [blame] | 729 | CPPFLAGS := -Ithird_party/protobuf/src $(CPPFLAGS) |
| 730 | LDFLAGS := -L$(LIBDIR)/$(CONFIG)/protobuf $(LDFLAGS) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 731 | PROTOC = $(BINDIR)/$(CONFIG)/protobuf/protoc |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 732 | else |
| 733 | NO_PROTOBUF = true |
| 734 | endif |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 735 | endif |
| 736 | |
| 737 | LIBS_PROTOBUF = protobuf |
| 738 | LIBS_PROTOC = protoc protobuf |
| 739 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 740 | HOST_LDLIBS_PROTOC += $(addprefix -l, $(LIBS_PROTOC)) |
| 741 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 742 | ifeq ($(PROTOBUF_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 743 | LDLIBS_PROTOBUF += $(shell $(PKG_CONFIG) --libs-only-l protobuf) |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 744 | else |
| 745 | LDLIBS_PROTOBUF += $(addprefix -l, $(LIBS_PROTOBUF)) |
| 746 | endif |
| 747 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 748 | # grpc++ .pc file |
| 749 | PC_NAME = gRPC++ |
| 750 | PC_DESCRIPTION = C++ wrapper for gRPC |
| 751 | PC_CFLAGS = |
| 752 | PC_REQUIRES_PRIVATE = grpc $(PC_REQUIRES_GRPCXX) |
| 753 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPCXX) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 754 | PC_LIB = -lgrpc++ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 755 | GRPCXX_PC_FILE := $(PC_TEMPLATE) |
| 756 | |
| 757 | # grpc++_unsecure .pc file |
| 758 | PC_NAME = gRPC++ unsecure |
| 759 | PC_DESCRIPTION = C++ wrapper for gRPC without SSL |
| 760 | PC_CFLAGS = |
| 761 | PC_REQUIRES_PRIVATE = grpc_unsecure $(PC_REQUIRES_GRPCXX) |
| 762 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPCXX) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 763 | PC_LIB = -lgrpc++ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 764 | GRPCXX_UNSECURE_PC_FILE := $(PC_TEMPLATE) |
| 765 | |
Craig Tiller | 12c8209 | 2015-01-15 08:45:56 -0800 | [diff] [blame] | 766 | ifeq ($(MAKECMDGOALS),clean) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 767 | NO_DEPS = true |
| 768 | endif |
| 769 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 770 | .SECONDARY = %.pb.h %.pb.cc |
| 771 | |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 772 | PROTOC_PLUGINS = $(BINDIR)/$(CONFIG)/grpc_cpp_plugin $(BINDIR)/$(CONFIG)/grpc_csharp_plugin $(BINDIR)/$(CONFIG)/grpc_node_plugin $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin $(BINDIR)/$(CONFIG)/grpc_python_plugin $(BINDIR)/$(CONFIG)/grpc_ruby_plugin |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 773 | ifeq ($(DEP_MISSING),) |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 774 | all: static shared plugins |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 775 | dep_error: |
| 776 | @echo "You shouldn't see this message - all of your dependencies are correct." |
| 777 | else |
| 778 | all: dep_error git_update stop |
| 779 | |
| 780 | dep_error: |
| 781 | @echo |
| 782 | @echo "DEPENDENCY ERROR" |
| 783 | @echo |
| 784 | @echo "You are missing system dependencies that are essential to build grpc," |
| 785 | @echo "and the third_party directory doesn't have them:" |
| 786 | @echo |
| 787 | @echo " $(DEP_MISSING)" |
| 788 | @echo |
| 789 | @echo "Installing the development packages for your system will solve" |
| 790 | @echo "this issue. Please consult INSTALL to get more information." |
| 791 | @echo |
| 792 | @echo "If you need information about why these tests failed, run:" |
| 793 | @echo |
| 794 | @echo " make run_dep_checks" |
| 795 | @echo |
| 796 | endif |
| 797 | |
| 798 | git_update: |
| 799 | ifeq ($(IS_GIT_FOLDER),true) |
| 800 | @echo "Additionally, since you are in a git clone, you can download the" |
| 801 | @echo "missing dependencies in third_party by running the following command:" |
| 802 | @echo |
ctiller | 64f2910 | 2014-12-15 10:40:59 -0800 | [diff] [blame] | 803 | @echo " git submodule update --init" |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 804 | @echo |
| 805 | endif |
| 806 | |
| 807 | openssl_dep_error: openssl_dep_message git_update stop |
| 808 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 809 | protobuf_dep_error: protobuf_dep_message git_update stop |
| 810 | |
| 811 | protoc_dep_error: protoc_dep_message git_update stop |
| 812 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 813 | openssl_dep_message: |
| 814 | @echo |
| 815 | @echo "DEPENDENCY ERROR" |
| 816 | @echo |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 817 | @echo "The target you are trying to run requires an OpenSSL implementation." |
| 818 | @echo "Your system doesn't have one, and either the third_party directory" |
| 819 | @echo "doesn't have it, or your compiler can't build BoringSSL." |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 820 | @echo |
| 821 | @echo "Please consult INSTALL to get more information." |
| 822 | @echo |
| 823 | @echo "If you need information about why these tests failed, run:" |
| 824 | @echo |
| 825 | @echo " make run_dep_checks" |
| 826 | @echo |
| 827 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 828 | protobuf_dep_message: |
| 829 | @echo |
| 830 | @echo "DEPENDENCY ERROR" |
| 831 | @echo |
| 832 | @echo "The target you are trying to run requires protobuf 3.0.0+" |
| 833 | @echo "Your system doesn't have it, and neither does the third_party directory." |
| 834 | @echo |
| 835 | @echo "Please consult INSTALL to get more information." |
| 836 | @echo |
| 837 | @echo "If you need information about why these tests failed, run:" |
| 838 | @echo |
| 839 | @echo " make run_dep_checks" |
| 840 | @echo |
| 841 | |
| 842 | protoc_dep_message: |
| 843 | @echo |
| 844 | @echo "DEPENDENCY ERROR" |
| 845 | @echo |
| 846 | @echo "The target you are trying to run requires protobuf-compiler 3.0.0+" |
| 847 | @echo "Your system doesn't have it, and neither does the third_party directory." |
| 848 | @echo |
| 849 | @echo "Please consult INSTALL to get more information." |
| 850 | @echo |
| 851 | @echo "If you need information about why these tests failed, run:" |
| 852 | @echo |
| 853 | @echo " make run_dep_checks" |
| 854 | @echo |
| 855 | |
David Garcia Quintas | 8954e90 | 2015-04-29 09:46:33 -0700 | [diff] [blame] | 856 | systemtap_dep_error: |
| 857 | @echo |
| 858 | @echo "DEPENDENCY ERROR" |
| 859 | @echo |
| 860 | @echo "Under the '$(CONFIG)' configutation, the target you are trying " |
| 861 | @echo "to build requires systemtap 2.7+ (on Linux) or dtrace (on other " |
| 862 | @echo "platforms such as Solaris and *BSD). " |
| 863 | @echo |
| 864 | @echo "Please consult INSTALL to get more information." |
| 865 | @echo |
| 866 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 867 | stop: |
| 868 | @false |
| 869 | |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 870 | alarm_test: $(BINDIR)/$(CONFIG)/alarm_test |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 871 | algorithm_test: $(BINDIR)/$(CONFIG)/algorithm_test |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 872 | alloc_test: $(BINDIR)/$(CONFIG)/alloc_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 873 | alpn_test: $(BINDIR)/$(CONFIG)/alpn_test |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 874 | api_fuzzer: $(BINDIR)/$(CONFIG)/api_fuzzer |
Yuchen Zeng | 955a364 | 2016-06-17 13:48:03 -0700 | [diff] [blame] | 875 | bad_server_response_test: $(BINDIR)/$(CONFIG)/bad_server_response_test |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 876 | bin_decoder_test: $(BINDIR)/$(CONFIG)/bin_decoder_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 877 | bin_encoder_test: $(BINDIR)/$(CONFIG)/bin_encoder_test |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 878 | census_context_test: $(BINDIR)/$(CONFIG)/census_context_test |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 879 | channel_create_test: $(BINDIR)/$(CONFIG)/channel_create_test |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 880 | chttp2_hpack_encoder_test: $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 881 | chttp2_status_conversion_test: $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 882 | chttp2_stream_map_test: $(BINDIR)/$(CONFIG)/chttp2_stream_map_test |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 883 | chttp2_varint_test: $(BINDIR)/$(CONFIG)/chttp2_varint_test |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 884 | client_fuzzer: $(BINDIR)/$(CONFIG)/client_fuzzer |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 885 | compression_test: $(BINDIR)/$(CONFIG)/compression_test |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 886 | concurrent_connectivity_test: $(BINDIR)/$(CONFIG)/concurrent_connectivity_test |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 887 | dns_resolver_connectivity_test: $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 888 | dns_resolver_test: $(BINDIR)/$(CONFIG)/dns_resolver_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 889 | dualstack_socket_test: $(BINDIR)/$(CONFIG)/dualstack_socket_test |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 890 | endpoint_pair_test: $(BINDIR)/$(CONFIG)/endpoint_pair_test |
Sree Kuchibhotla | 2e12db9 | 2016-06-16 16:53:59 -0700 | [diff] [blame] | 891 | ev_epoll_linux_test: $(BINDIR)/$(CONFIG)/ev_epoll_linux_test |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 892 | fd_conservation_posix_test: $(BINDIR)/$(CONFIG)/fd_conservation_posix_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 893 | fd_posix_test: $(BINDIR)/$(CONFIG)/fd_posix_test |
| 894 | fling_client: $(BINDIR)/$(CONFIG)/fling_client |
| 895 | fling_server: $(BINDIR)/$(CONFIG)/fling_server |
| 896 | fling_stream_test: $(BINDIR)/$(CONFIG)/fling_stream_test |
| 897 | fling_test: $(BINDIR)/$(CONFIG)/fling_test |
| 898 | gen_hpack_tables: $(BINDIR)/$(CONFIG)/gen_hpack_tables |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 899 | gen_legal_metadata_characters: $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 900 | goaway_server_test: $(BINDIR)/$(CONFIG)/goaway_server_test |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 901 | gpr_avl_test: $(BINDIR)/$(CONFIG)/gpr_avl_test |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 902 | gpr_backoff_test: $(BINDIR)/$(CONFIG)/gpr_backoff_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 903 | gpr_cmdline_test: $(BINDIR)/$(CONFIG)/gpr_cmdline_test |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 904 | gpr_cpu_test: $(BINDIR)/$(CONFIG)/gpr_cpu_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 905 | gpr_env_test: $(BINDIR)/$(CONFIG)/gpr_env_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 906 | gpr_histogram_test: $(BINDIR)/$(CONFIG)/gpr_histogram_test |
| 907 | gpr_host_port_test: $(BINDIR)/$(CONFIG)/gpr_host_port_test |
| 908 | gpr_log_test: $(BINDIR)/$(CONFIG)/gpr_log_test |
| 909 | gpr_slice_buffer_test: $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test |
| 910 | gpr_slice_test: $(BINDIR)/$(CONFIG)/gpr_slice_test |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 911 | gpr_stack_lockfree_test: $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 912 | gpr_string_test: $(BINDIR)/$(CONFIG)/gpr_string_test |
| 913 | gpr_sync_test: $(BINDIR)/$(CONFIG)/gpr_sync_test |
| 914 | gpr_thd_test: $(BINDIR)/$(CONFIG)/gpr_thd_test |
| 915 | gpr_time_test: $(BINDIR)/$(CONFIG)/gpr_time_test |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 916 | gpr_tls_test: $(BINDIR)/$(CONFIG)/gpr_tls_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 917 | gpr_useful_test: $(BINDIR)/$(CONFIG)/gpr_useful_test |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 918 | grpc_auth_context_test: $(BINDIR)/$(CONFIG)/grpc_auth_context_test |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 919 | grpc_b64_test: $(BINDIR)/$(CONFIG)/grpc_b64_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 920 | 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] | 921 | grpc_channel_args_test: $(BINDIR)/$(CONFIG)/grpc_channel_args_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 922 | grpc_channel_stack_test: $(BINDIR)/$(CONFIG)/grpc_channel_stack_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 923 | grpc_completion_queue_test: $(BINDIR)/$(CONFIG)/grpc_completion_queue_test |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 924 | grpc_create_jwt: $(BINDIR)/$(CONFIG)/grpc_create_jwt |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 925 | grpc_credentials_test: $(BINDIR)/$(CONFIG)/grpc_credentials_test |
| 926 | grpc_fetch_oauth2: $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2 |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 927 | grpc_invalid_channel_args_test: $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 928 | grpc_json_token_test: $(BINDIR)/$(CONFIG)/grpc_json_token_test |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 929 | grpc_jwt_verifier_test: $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 930 | 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] | 931 | grpc_security_connector_test: $(BINDIR)/$(CONFIG)/grpc_security_connector_test |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 932 | grpc_verify_jwt: $(BINDIR)/$(CONFIG)/grpc_verify_jwt |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 933 | hpack_parser_fuzzer_test: $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 934 | hpack_parser_test: $(BINDIR)/$(CONFIG)/hpack_parser_test |
| 935 | hpack_table_test: $(BINDIR)/$(CONFIG)/hpack_table_test |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 936 | http_parser_test: $(BINDIR)/$(CONFIG)/http_parser_test |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 937 | http_request_fuzzer_test: $(BINDIR)/$(CONFIG)/http_request_fuzzer_test |
| 938 | http_response_fuzzer_test: $(BINDIR)/$(CONFIG)/http_response_fuzzer_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 939 | httpcli_format_request_test: $(BINDIR)/$(CONFIG)/httpcli_format_request_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 940 | httpcli_test: $(BINDIR)/$(CONFIG)/httpcli_test |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 941 | httpscli_test: $(BINDIR)/$(CONFIG)/httpscli_test |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 942 | init_test: $(BINDIR)/$(CONFIG)/init_test |
Craig Tiller | 5cb7962 | 2016-03-15 14:46:54 -0700 | [diff] [blame] | 943 | internal_api_canary_iomgr_test: $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test |
| 944 | internal_api_canary_support_test: $(BINDIR)/$(CONFIG)/internal_api_canary_support_test |
| 945 | internal_api_canary_transport_test: $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 946 | invalid_call_argument_test: $(BINDIR)/$(CONFIG)/invalid_call_argument_test |
Craig Tiller | 32173c5 | 2016-03-17 14:12:45 -0700 | [diff] [blame] | 947 | json_fuzzer_test: $(BINDIR)/$(CONFIG)/json_fuzzer_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 948 | json_rewrite: $(BINDIR)/$(CONFIG)/json_rewrite |
| 949 | json_rewrite_test: $(BINDIR)/$(CONFIG)/json_rewrite_test |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 950 | json_stream_error_test: $(BINDIR)/$(CONFIG)/json_stream_error_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 951 | json_test: $(BINDIR)/$(CONFIG)/json_test |
| 952 | lame_client_test: $(BINDIR)/$(CONFIG)/lame_client_test |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 953 | lb_policies_test: $(BINDIR)/$(CONFIG)/lb_policies_test |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 954 | load_file_test: $(BINDIR)/$(CONFIG)/load_file_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 955 | low_level_ping_pong_benchmark: $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark |
| 956 | message_compress_test: $(BINDIR)/$(CONFIG)/message_compress_test |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 957 | mlog_test: $(BINDIR)/$(CONFIG)/mlog_test |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 958 | multiple_server_queues_test: $(BINDIR)/$(CONFIG)/multiple_server_queues_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 959 | murmur_hash_test: $(BINDIR)/$(CONFIG)/murmur_hash_test |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 960 | nanopb_fuzzer_response_test: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test |
| 961 | nanopb_fuzzer_serverlist_test: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 962 | no_server_test: $(BINDIR)/$(CONFIG)/no_server_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 963 | resolve_address_test: $(BINDIR)/$(CONFIG)/resolve_address_test |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 964 | secure_channel_create_test: $(BINDIR)/$(CONFIG)/secure_channel_create_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 965 | secure_endpoint_test: $(BINDIR)/$(CONFIG)/secure_endpoint_test |
Craig Tiller | dbaf05e | 2016-06-12 22:16:56 -0700 | [diff] [blame] | 966 | sequential_connectivity_test: $(BINDIR)/$(CONFIG)/sequential_connectivity_test |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 967 | server_chttp2_test: $(BINDIR)/$(CONFIG)/server_chttp2_test |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 968 | server_fuzzer: $(BINDIR)/$(CONFIG)/server_fuzzer |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 969 | server_test: $(BINDIR)/$(CONFIG)/server_test |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 970 | set_initial_connect_string_test: $(BINDIR)/$(CONFIG)/set_initial_connect_string_test |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 971 | sockaddr_resolver_test: $(BINDIR)/$(CONFIG)/sockaddr_resolver_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 972 | sockaddr_utils_test: $(BINDIR)/$(CONFIG)/sockaddr_utils_test |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 973 | socket_utils_test: $(BINDIR)/$(CONFIG)/socket_utils_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 974 | tcp_client_posix_test: $(BINDIR)/$(CONFIG)/tcp_client_posix_test |
| 975 | tcp_posix_test: $(BINDIR)/$(CONFIG)/tcp_posix_test |
| 976 | tcp_server_posix_test: $(BINDIR)/$(CONFIG)/tcp_server_posix_test |
| 977 | time_averaged_stats_test: $(BINDIR)/$(CONFIG)/time_averaged_stats_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 978 | timeout_encoding_test: $(BINDIR)/$(CONFIG)/timeout_encoding_test |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 979 | timer_heap_test: $(BINDIR)/$(CONFIG)/timer_heap_test |
| 980 | timer_list_test: $(BINDIR)/$(CONFIG)/timer_list_test |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 981 | transport_connectivity_state_test: $(BINDIR)/$(CONFIG)/transport_connectivity_state_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 982 | transport_metadata_test: $(BINDIR)/$(CONFIG)/transport_metadata_test |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 983 | transport_security_test: $(BINDIR)/$(CONFIG)/transport_security_test |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 984 | udp_server_test: $(BINDIR)/$(CONFIG)/udp_server_test |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 985 | uri_fuzzer_test: $(BINDIR)/$(CONFIG)/uri_fuzzer_test |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 986 | uri_parser_test: $(BINDIR)/$(CONFIG)/uri_parser_test |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 987 | alarm_cpp_test: $(BINDIR)/$(CONFIG)/alarm_cpp_test |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 988 | async_end2end_test: $(BINDIR)/$(CONFIG)/async_end2end_test |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 989 | auth_property_iterator_test: $(BINDIR)/$(CONFIG)/auth_property_iterator_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 990 | channel_arguments_test: $(BINDIR)/$(CONFIG)/channel_arguments_test |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 991 | cli_call_test: $(BINDIR)/$(CONFIG)/cli_call_test |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 992 | client_crash_test: $(BINDIR)/$(CONFIG)/client_crash_test |
| 993 | client_crash_test_server: $(BINDIR)/$(CONFIG)/client_crash_test_server |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 994 | codegen_test_full: $(BINDIR)/$(CONFIG)/codegen_test_full |
| 995 | codegen_test_minimal: $(BINDIR)/$(CONFIG)/codegen_test_minimal |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 996 | credentials_test: $(BINDIR)/$(CONFIG)/credentials_test |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 997 | cxx_byte_buffer_test: $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test |
| 998 | cxx_slice_test: $(BINDIR)/$(CONFIG)/cxx_slice_test |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 999 | cxx_string_ref_test: $(BINDIR)/$(CONFIG)/cxx_string_ref_test |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 1000 | cxx_time_test: $(BINDIR)/$(CONFIG)/cxx_time_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1001 | end2end_test: $(BINDIR)/$(CONFIG)/end2end_test |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 1002 | generic_end2end_test: $(BINDIR)/$(CONFIG)/generic_end2end_test |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1003 | golden_file_test: $(BINDIR)/$(CONFIG)/golden_file_test |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 1004 | grpc_cli: $(BINDIR)/$(CONFIG)/grpc_cli |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 1005 | grpc_cpp_plugin: $(BINDIR)/$(CONFIG)/grpc_cpp_plugin |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 1006 | grpc_csharp_plugin: $(BINDIR)/$(CONFIG)/grpc_csharp_plugin |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 1007 | grpc_node_plugin: $(BINDIR)/$(CONFIG)/grpc_node_plugin |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 1008 | grpc_objective_c_plugin: $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 1009 | grpc_python_plugin: $(BINDIR)/$(CONFIG)/grpc_python_plugin |
| 1010 | grpc_ruby_plugin: $(BINDIR)/$(CONFIG)/grpc_ruby_plugin |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1011 | grpclb_api_test: $(BINDIR)/$(CONFIG)/grpclb_api_test |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 1012 | hybrid_end2end_test: $(BINDIR)/$(CONFIG)/hybrid_end2end_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1013 | interop_client: $(BINDIR)/$(CONFIG)/interop_client |
| 1014 | interop_server: $(BINDIR)/$(CONFIG)/interop_server |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 1015 | interop_test: $(BINDIR)/$(CONFIG)/interop_test |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1016 | json_run_localhost: $(BINDIR)/$(CONFIG)/json_run_localhost |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 1017 | metrics_client: $(BINDIR)/$(CONFIG)/metrics_client |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 1018 | mock_test: $(BINDIR)/$(CONFIG)/mock_test |
Yuchen Zeng | 91c51a7 | 2016-05-20 14:46:49 -0700 | [diff] [blame] | 1019 | proto_server_reflection_test: $(BINDIR)/$(CONFIG)/proto_server_reflection_test |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 1020 | qps_interarrival_test: $(BINDIR)/$(CONFIG)/qps_interarrival_test |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1021 | qps_json_driver: $(BINDIR)/$(CONFIG)/qps_json_driver |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 1022 | qps_openloop_test: $(BINDIR)/$(CONFIG)/qps_openloop_test |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 1023 | qps_worker: $(BINDIR)/$(CONFIG)/qps_worker |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 1024 | reconnect_interop_client: $(BINDIR)/$(CONFIG)/reconnect_interop_client |
| 1025 | reconnect_interop_server: $(BINDIR)/$(CONFIG)/reconnect_interop_server |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 1026 | secure_auth_context_test: $(BINDIR)/$(CONFIG)/secure_auth_context_test |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 1027 | 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] | 1028 | server_builder_plugin_test: $(BINDIR)/$(CONFIG)/server_builder_plugin_test |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 1029 | server_crash_test: $(BINDIR)/$(CONFIG)/server_crash_test |
| 1030 | server_crash_test_client: $(BINDIR)/$(CONFIG)/server_crash_test_client |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 1031 | shutdown_test: $(BINDIR)/$(CONFIG)/shutdown_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1032 | status_test: $(BINDIR)/$(CONFIG)/status_test |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 1033 | streaming_throughput_test: $(BINDIR)/$(CONFIG)/streaming_throughput_test |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 1034 | stress_test: $(BINDIR)/$(CONFIG)/stress_test |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 1035 | thread_stress_test: $(BINDIR)/$(CONFIG)/thread_stress_test |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 1036 | public_headers_must_be_c89: $(BINDIR)/$(CONFIG)/public_headers_must_be_c89 |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1037 | boringssl_aes_test: $(BINDIR)/$(CONFIG)/boringssl_aes_test |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 1038 | boringssl_asn1_test: $(BINDIR)/$(CONFIG)/boringssl_asn1_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1039 | boringssl_base64_test: $(BINDIR)/$(CONFIG)/boringssl_base64_test |
| 1040 | boringssl_bio_test: $(BINDIR)/$(CONFIG)/boringssl_bio_test |
| 1041 | boringssl_bn_test: $(BINDIR)/$(CONFIG)/boringssl_bn_test |
| 1042 | boringssl_bytestring_test: $(BINDIR)/$(CONFIG)/boringssl_bytestring_test |
| 1043 | boringssl_aead_test: $(BINDIR)/$(CONFIG)/boringssl_aead_test |
| 1044 | boringssl_cipher_test: $(BINDIR)/$(CONFIG)/boringssl_cipher_test |
| 1045 | boringssl_cmac_test: $(BINDIR)/$(CONFIG)/boringssl_cmac_test |
| 1046 | boringssl_constant_time_test: $(BINDIR)/$(CONFIG)/boringssl_constant_time_test |
| 1047 | boringssl_ed25519_test: $(BINDIR)/$(CONFIG)/boringssl_ed25519_test |
| 1048 | boringssl_x25519_test: $(BINDIR)/$(CONFIG)/boringssl_x25519_test |
| 1049 | boringssl_dh_test: $(BINDIR)/$(CONFIG)/boringssl_dh_test |
| 1050 | boringssl_digest_test: $(BINDIR)/$(CONFIG)/boringssl_digest_test |
| 1051 | boringssl_dsa_test: $(BINDIR)/$(CONFIG)/boringssl_dsa_test |
| 1052 | boringssl_ec_test: $(BINDIR)/$(CONFIG)/boringssl_ec_test |
| 1053 | boringssl_example_mul: $(BINDIR)/$(CONFIG)/boringssl_example_mul |
| 1054 | boringssl_ecdsa_test: $(BINDIR)/$(CONFIG)/boringssl_ecdsa_test |
| 1055 | boringssl_err_test: $(BINDIR)/$(CONFIG)/boringssl_err_test |
| 1056 | boringssl_evp_extra_test: $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test |
| 1057 | boringssl_evp_test: $(BINDIR)/$(CONFIG)/boringssl_evp_test |
| 1058 | boringssl_pbkdf_test: $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test |
| 1059 | boringssl_hkdf_test: $(BINDIR)/$(CONFIG)/boringssl_hkdf_test |
| 1060 | boringssl_hmac_test: $(BINDIR)/$(CONFIG)/boringssl_hmac_test |
| 1061 | boringssl_lhash_test: $(BINDIR)/$(CONFIG)/boringssl_lhash_test |
| 1062 | boringssl_gcm_test: $(BINDIR)/$(CONFIG)/boringssl_gcm_test |
| 1063 | boringssl_pkcs12_test: $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test |
| 1064 | boringssl_pkcs8_test: $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test |
| 1065 | boringssl_poly1305_test: $(BINDIR)/$(CONFIG)/boringssl_poly1305_test |
| 1066 | boringssl_refcount_test: $(BINDIR)/$(CONFIG)/boringssl_refcount_test |
| 1067 | boringssl_rsa_test: $(BINDIR)/$(CONFIG)/boringssl_rsa_test |
| 1068 | boringssl_thread_test: $(BINDIR)/$(CONFIG)/boringssl_thread_test |
| 1069 | boringssl_pkcs7_test: $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test |
Craig Tiller | 88b9e48 | 2016-04-21 15:09:56 -0700 | [diff] [blame] | 1070 | boringssl_x509_test: $(BINDIR)/$(CONFIG)/boringssl_x509_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1071 | boringssl_tab_test: $(BINDIR)/$(CONFIG)/boringssl_tab_test |
| 1072 | boringssl_v3name_test: $(BINDIR)/$(CONFIG)/boringssl_v3name_test |
| 1073 | boringssl_pqueue_test: $(BINDIR)/$(CONFIG)/boringssl_pqueue_test |
| 1074 | boringssl_ssl_test: $(BINDIR)/$(CONFIG)/boringssl_ssl_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1075 | badreq_bad_client_test: $(BINDIR)/$(CONFIG)/badreq_bad_client_test |
| 1076 | connection_prefix_bad_client_test: $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test |
Craig Tiller | 307a720 | 2016-04-02 07:40:39 -0700 | [diff] [blame] | 1077 | 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] | 1078 | headers_bad_client_test: $(BINDIR)/$(CONFIG)/headers_bad_client_test |
| 1079 | 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] | 1080 | large_metadata_bad_client_test: $(BINDIR)/$(CONFIG)/large_metadata_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1081 | server_registered_method_bad_client_test: $(BINDIR)/$(CONFIG)/server_registered_method_bad_client_test |
| 1082 | simple_request_bad_client_test: $(BINDIR)/$(CONFIG)/simple_request_bad_client_test |
| 1083 | unknown_frame_bad_client_test: $(BINDIR)/$(CONFIG)/unknown_frame_bad_client_test |
| 1084 | window_overflow_bad_client_test: $(BINDIR)/$(CONFIG)/window_overflow_bad_client_test |
| 1085 | bad_ssl_alpn_server: $(BINDIR)/$(CONFIG)/bad_ssl_alpn_server |
| 1086 | bad_ssl_cert_server: $(BINDIR)/$(CONFIG)/bad_ssl_cert_server |
| 1087 | bad_ssl_alpn_test: $(BINDIR)/$(CONFIG)/bad_ssl_alpn_test |
| 1088 | bad_ssl_cert_test: $(BINDIR)/$(CONFIG)/bad_ssl_cert_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1089 | h2_census_test: $(BINDIR)/$(CONFIG)/h2_census_test |
| 1090 | h2_compress_test: $(BINDIR)/$(CONFIG)/h2_compress_test |
| 1091 | h2_fakesec_test: $(BINDIR)/$(CONFIG)/h2_fakesec_test |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1092 | h2_fd_test: $(BINDIR)/$(CONFIG)/h2_fd_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1093 | h2_full_test: $(BINDIR)/$(CONFIG)/h2_full_test |
| 1094 | h2_full+pipe_test: $(BINDIR)/$(CONFIG)/h2_full+pipe_test |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1095 | h2_full+trace_test: $(BINDIR)/$(CONFIG)/h2_full+trace_test |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 1096 | h2_loadreporting_test: $(BINDIR)/$(CONFIG)/h2_loadreporting_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1097 | h2_oauth2_test: $(BINDIR)/$(CONFIG)/h2_oauth2_test |
| 1098 | h2_proxy_test: $(BINDIR)/$(CONFIG)/h2_proxy_test |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 1099 | h2_sockpair_test: $(BINDIR)/$(CONFIG)/h2_sockpair_test |
| 1100 | h2_sockpair+trace_test: $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test |
| 1101 | h2_sockpair_1byte_test: $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1102 | h2_ssl_test: $(BINDIR)/$(CONFIG)/h2_ssl_test |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 1103 | h2_ssl_cert_test: $(BINDIR)/$(CONFIG)/h2_ssl_cert_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1104 | h2_ssl_proxy_test: $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1105 | h2_uds_test: $(BINDIR)/$(CONFIG)/h2_uds_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1106 | h2_census_nosec_test: $(BINDIR)/$(CONFIG)/h2_census_nosec_test |
| 1107 | h2_compress_nosec_test: $(BINDIR)/$(CONFIG)/h2_compress_nosec_test |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1108 | h2_fd_nosec_test: $(BINDIR)/$(CONFIG)/h2_fd_nosec_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1109 | h2_full_nosec_test: $(BINDIR)/$(CONFIG)/h2_full_nosec_test |
| 1110 | h2_full+pipe_nosec_test: $(BINDIR)/$(CONFIG)/h2_full+pipe_nosec_test |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1111 | h2_full+trace_nosec_test: $(BINDIR)/$(CONFIG)/h2_full+trace_nosec_test |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 1112 | h2_loadreporting_nosec_test: $(BINDIR)/$(CONFIG)/h2_loadreporting_nosec_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1113 | h2_proxy_nosec_test: $(BINDIR)/$(CONFIG)/h2_proxy_nosec_test |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 1114 | h2_sockpair_nosec_test: $(BINDIR)/$(CONFIG)/h2_sockpair_nosec_test |
| 1115 | h2_sockpair+trace_nosec_test: $(BINDIR)/$(CONFIG)/h2_sockpair+trace_nosec_test |
| 1116 | h2_sockpair_1byte_nosec_test: $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_nosec_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1117 | h2_uds_nosec_test: $(BINDIR)/$(CONFIG)/h2_uds_nosec_test |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 1118 | api_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 1119 | client_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1120 | 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] | 1121 | http_request_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/http_request_fuzzer_test_one_entry |
| 1122 | 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] | 1123 | 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] | 1124 | nanopb_fuzzer_response_test_one_entry: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry |
| 1125 | nanopb_fuzzer_serverlist_test_one_entry: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 1126 | server_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1127 | uri_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry |
ctiller | 09cb6d5 | 2014-12-19 17:38:22 -0800 | [diff] [blame] | 1128 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1129 | run_dep_checks: |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1130 | $(OPENSSL_ALPN_CHECK_CMD) || true |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 1131 | $(OPENSSL_NPN_CHECK_CMD) || true |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1132 | $(ZLIB_CHECK_CMD) || true |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1133 | $(PERFTOOLS_CHECK_CMD) || true |
| 1134 | $(PROTOBUF_CHECK_CMD) || true |
David Garcia Quintas | f5fcafd | 2015-04-24 16:12:54 -0700 | [diff] [blame] | 1135 | $(PROTOC_CHECK_VERSION_CMD) || true |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1136 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1137 | third_party/protobuf/configure: |
| 1138 | $(E) "[AUTOGEN] Preparing protobuf" |
| 1139 | $(Q)(cd third_party/protobuf ; autoreconf -f -i -Wall,no-obsolete) |
| 1140 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1141 | $(LIBDIR)/$(CONFIG)/protobuf/libprotobuf.a: third_party/protobuf/configure |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1142 | $(E) "[MAKE] Building protobuf" |
Nicolas "Pixel" Noble | 482d761 | 2015-07-16 23:43:30 +0200 | [diff] [blame] | 1143 | $(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) |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1144 | $(Q)$(MAKE) -C third_party/protobuf clean |
| 1145 | $(Q)$(MAKE) -C third_party/protobuf |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1146 | $(Q)mkdir -p $(LIBDIR)/$(CONFIG)/protobuf |
| 1147 | $(Q)mkdir -p $(BINDIR)/$(CONFIG)/protobuf |
| 1148 | $(Q)cp third_party/protobuf/src/.libs/libprotoc.a $(LIBDIR)/$(CONFIG)/protobuf |
| 1149 | $(Q)cp third_party/protobuf/src/.libs/libprotobuf.a $(LIBDIR)/$(CONFIG)/protobuf |
| 1150 | $(Q)cp third_party/protobuf/src/protoc $(BINDIR)/$(CONFIG)/protobuf |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1151 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1152 | static: static_c static_cxx |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1153 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1154 | 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 |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1155 | |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 1156 | 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] | 1157 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1158 | shared: shared_c shared_cxx |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1159 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1160 | 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] | 1161 | 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] | 1162 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1163 | 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] | 1164 | grpc_csharp_ext: shared_csharp |
| 1165 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 1166 | plugins: $(PROTOC_PLUGINS) |
| 1167 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1168 | privatelibs: privatelibs_c privatelibs_cxx |
| 1169 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 1170 | 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] | 1171 | pc_c: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc |
| 1172 | |
| 1173 | pc_c_unsecure: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc |
| 1174 | |
| 1175 | pc_cxx: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc |
| 1176 | |
| 1177 | pc_cxx_unsecure: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1178 | |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1179 | ifeq ($(EMBED_OPENSSL),true) |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 1180 | privatelibs_cxx: $(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_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 |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1181 | else |
| 1182 | privatelibs_cxx: $(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_main.a $(LIBDIR)/$(CONFIG)/libqps.a |
| 1183 | endif |
| 1184 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1185 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1186 | buildtests: buildtests_c buildtests_cxx |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1187 | |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1188 | buildtests_c: privatelibs_c \ |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 1189 | $(BINDIR)/$(CONFIG)/alarm_test \ |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 1190 | $(BINDIR)/$(CONFIG)/algorithm_test \ |
Craig Tiller | b897337 | 2015-12-09 15:34:27 -0800 | [diff] [blame] | 1191 | $(BINDIR)/$(CONFIG)/alloc_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1192 | $(BINDIR)/$(CONFIG)/alpn_test \ |
Yuchen Zeng | 955a364 | 2016-06-17 13:48:03 -0700 | [diff] [blame] | 1193 | $(BINDIR)/$(CONFIG)/bad_server_response_test \ |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 1194 | $(BINDIR)/$(CONFIG)/bin_decoder_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1195 | $(BINDIR)/$(CONFIG)/bin_encoder_test \ |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 1196 | $(BINDIR)/$(CONFIG)/census_context_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1197 | $(BINDIR)/$(CONFIG)/channel_create_test \ |
| 1198 | $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test \ |
| 1199 | $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test \ |
| 1200 | $(BINDIR)/$(CONFIG)/chttp2_stream_map_test \ |
| 1201 | $(BINDIR)/$(CONFIG)/chttp2_varint_test \ |
| 1202 | $(BINDIR)/$(CONFIG)/compression_test \ |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 1203 | $(BINDIR)/$(CONFIG)/concurrent_connectivity_test \ |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 1204 | $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test \ |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 1205 | $(BINDIR)/$(CONFIG)/dns_resolver_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1206 | $(BINDIR)/$(CONFIG)/dualstack_socket_test \ |
| 1207 | $(BINDIR)/$(CONFIG)/endpoint_pair_test \ |
Sree Kuchibhotla | 2e12db9 | 2016-06-16 16:53:59 -0700 | [diff] [blame] | 1208 | $(BINDIR)/$(CONFIG)/ev_epoll_linux_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1209 | $(BINDIR)/$(CONFIG)/fd_conservation_posix_test \ |
| 1210 | $(BINDIR)/$(CONFIG)/fd_posix_test \ |
| 1211 | $(BINDIR)/$(CONFIG)/fling_client \ |
| 1212 | $(BINDIR)/$(CONFIG)/fling_server \ |
| 1213 | $(BINDIR)/$(CONFIG)/fling_stream_test \ |
| 1214 | $(BINDIR)/$(CONFIG)/fling_test \ |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 1215 | $(BINDIR)/$(CONFIG)/goaway_server_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1216 | $(BINDIR)/$(CONFIG)/gpr_avl_test \ |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 1217 | $(BINDIR)/$(CONFIG)/gpr_backoff_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1218 | $(BINDIR)/$(CONFIG)/gpr_cmdline_test \ |
| 1219 | $(BINDIR)/$(CONFIG)/gpr_cpu_test \ |
| 1220 | $(BINDIR)/$(CONFIG)/gpr_env_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1221 | $(BINDIR)/$(CONFIG)/gpr_histogram_test \ |
| 1222 | $(BINDIR)/$(CONFIG)/gpr_host_port_test \ |
| 1223 | $(BINDIR)/$(CONFIG)/gpr_log_test \ |
| 1224 | $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test \ |
| 1225 | $(BINDIR)/$(CONFIG)/gpr_slice_test \ |
| 1226 | $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test \ |
| 1227 | $(BINDIR)/$(CONFIG)/gpr_string_test \ |
| 1228 | $(BINDIR)/$(CONFIG)/gpr_sync_test \ |
| 1229 | $(BINDIR)/$(CONFIG)/gpr_thd_test \ |
| 1230 | $(BINDIR)/$(CONFIG)/gpr_time_test \ |
| 1231 | $(BINDIR)/$(CONFIG)/gpr_tls_test \ |
| 1232 | $(BINDIR)/$(CONFIG)/gpr_useful_test \ |
| 1233 | $(BINDIR)/$(CONFIG)/grpc_auth_context_test \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 1234 | $(BINDIR)/$(CONFIG)/grpc_b64_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1235 | $(BINDIR)/$(CONFIG)/grpc_byte_buffer_reader_test \ |
| 1236 | $(BINDIR)/$(CONFIG)/grpc_channel_args_test \ |
| 1237 | $(BINDIR)/$(CONFIG)/grpc_channel_stack_test \ |
| 1238 | $(BINDIR)/$(CONFIG)/grpc_completion_queue_test \ |
| 1239 | $(BINDIR)/$(CONFIG)/grpc_credentials_test \ |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 1240 | $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2 \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1241 | $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test \ |
| 1242 | $(BINDIR)/$(CONFIG)/grpc_json_token_test \ |
| 1243 | $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test \ |
| 1244 | $(BINDIR)/$(CONFIG)/grpc_security_connector_test \ |
| 1245 | $(BINDIR)/$(CONFIG)/hpack_parser_test \ |
| 1246 | $(BINDIR)/$(CONFIG)/hpack_table_test \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 1247 | $(BINDIR)/$(CONFIG)/http_parser_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1248 | $(BINDIR)/$(CONFIG)/httpcli_format_request_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1249 | $(BINDIR)/$(CONFIG)/httpcli_test \ |
Craig Tiller | 42c6c53 | 2015-12-10 08:31:10 -0800 | [diff] [blame] | 1250 | $(BINDIR)/$(CONFIG)/httpscli_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1251 | $(BINDIR)/$(CONFIG)/init_test \ |
Craig Tiller | 5cb7962 | 2016-03-15 14:46:54 -0700 | [diff] [blame] | 1252 | $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test \ |
| 1253 | $(BINDIR)/$(CONFIG)/internal_api_canary_support_test \ |
| 1254 | $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1255 | $(BINDIR)/$(CONFIG)/invalid_call_argument_test \ |
| 1256 | $(BINDIR)/$(CONFIG)/json_rewrite \ |
| 1257 | $(BINDIR)/$(CONFIG)/json_rewrite_test \ |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 1258 | $(BINDIR)/$(CONFIG)/json_stream_error_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1259 | $(BINDIR)/$(CONFIG)/json_test \ |
| 1260 | $(BINDIR)/$(CONFIG)/lame_client_test \ |
| 1261 | $(BINDIR)/$(CONFIG)/lb_policies_test \ |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 1262 | $(BINDIR)/$(CONFIG)/load_file_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1263 | $(BINDIR)/$(CONFIG)/message_compress_test \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 1264 | $(BINDIR)/$(CONFIG)/mlog_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1265 | $(BINDIR)/$(CONFIG)/multiple_server_queues_test \ |
| 1266 | $(BINDIR)/$(CONFIG)/murmur_hash_test \ |
| 1267 | $(BINDIR)/$(CONFIG)/no_server_test \ |
| 1268 | $(BINDIR)/$(CONFIG)/resolve_address_test \ |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 1269 | $(BINDIR)/$(CONFIG)/secure_channel_create_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1270 | $(BINDIR)/$(CONFIG)/secure_endpoint_test \ |
Craig Tiller | dbaf05e | 2016-06-12 22:16:56 -0700 | [diff] [blame] | 1271 | $(BINDIR)/$(CONFIG)/sequential_connectivity_test \ |
yang-g | 59d9f71 | 2015-12-10 09:50:57 -0800 | [diff] [blame] | 1272 | $(BINDIR)/$(CONFIG)/server_chttp2_test \ |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 1273 | $(BINDIR)/$(CONFIG)/server_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1274 | $(BINDIR)/$(CONFIG)/set_initial_connect_string_test \ |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 1275 | $(BINDIR)/$(CONFIG)/sockaddr_resolver_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1276 | $(BINDIR)/$(CONFIG)/sockaddr_utils_test \ |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 1277 | $(BINDIR)/$(CONFIG)/socket_utils_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1278 | $(BINDIR)/$(CONFIG)/tcp_client_posix_test \ |
| 1279 | $(BINDIR)/$(CONFIG)/tcp_posix_test \ |
| 1280 | $(BINDIR)/$(CONFIG)/tcp_server_posix_test \ |
| 1281 | $(BINDIR)/$(CONFIG)/time_averaged_stats_test \ |
| 1282 | $(BINDIR)/$(CONFIG)/timeout_encoding_test \ |
| 1283 | $(BINDIR)/$(CONFIG)/timer_heap_test \ |
| 1284 | $(BINDIR)/$(CONFIG)/timer_list_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1285 | $(BINDIR)/$(CONFIG)/transport_connectivity_state_test \ |
| 1286 | $(BINDIR)/$(CONFIG)/transport_metadata_test \ |
| 1287 | $(BINDIR)/$(CONFIG)/transport_security_test \ |
| 1288 | $(BINDIR)/$(CONFIG)/udp_server_test \ |
| 1289 | $(BINDIR)/$(CONFIG)/uri_parser_test \ |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 1290 | $(BINDIR)/$(CONFIG)/public_headers_must_be_c89 \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1291 | $(BINDIR)/$(CONFIG)/badreq_bad_client_test \ |
| 1292 | $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test \ |
Craig Tiller | 307a720 | 2016-04-02 07:40:39 -0700 | [diff] [blame] | 1293 | $(BINDIR)/$(CONFIG)/head_of_line_blocking_bad_client_test \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1294 | $(BINDIR)/$(CONFIG)/headers_bad_client_test \ |
| 1295 | $(BINDIR)/$(CONFIG)/initial_settings_frame_bad_client_test \ |
Mark D. Roth | 8a1d805 | 2016-05-03 10:44:56 -0700 | [diff] [blame] | 1296 | $(BINDIR)/$(CONFIG)/large_metadata_bad_client_test \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1297 | $(BINDIR)/$(CONFIG)/server_registered_method_bad_client_test \ |
| 1298 | $(BINDIR)/$(CONFIG)/simple_request_bad_client_test \ |
| 1299 | $(BINDIR)/$(CONFIG)/unknown_frame_bad_client_test \ |
| 1300 | $(BINDIR)/$(CONFIG)/window_overflow_bad_client_test \ |
| 1301 | $(BINDIR)/$(CONFIG)/bad_ssl_alpn_server \ |
| 1302 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_server \ |
| 1303 | $(BINDIR)/$(CONFIG)/bad_ssl_alpn_test \ |
| 1304 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1305 | $(BINDIR)/$(CONFIG)/h2_census_test \ |
| 1306 | $(BINDIR)/$(CONFIG)/h2_compress_test \ |
| 1307 | $(BINDIR)/$(CONFIG)/h2_fakesec_test \ |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1308 | $(BINDIR)/$(CONFIG)/h2_fd_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1309 | $(BINDIR)/$(CONFIG)/h2_full_test \ |
| 1310 | $(BINDIR)/$(CONFIG)/h2_full+pipe_test \ |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1311 | $(BINDIR)/$(CONFIG)/h2_full+trace_test \ |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 1312 | $(BINDIR)/$(CONFIG)/h2_loadreporting_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1313 | $(BINDIR)/$(CONFIG)/h2_oauth2_test \ |
| 1314 | $(BINDIR)/$(CONFIG)/h2_proxy_test \ |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 1315 | $(BINDIR)/$(CONFIG)/h2_sockpair_test \ |
| 1316 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test \ |
| 1317 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1318 | $(BINDIR)/$(CONFIG)/h2_ssl_test \ |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 1319 | $(BINDIR)/$(CONFIG)/h2_ssl_cert_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1320 | $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1321 | $(BINDIR)/$(CONFIG)/h2_uds_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1322 | $(BINDIR)/$(CONFIG)/h2_census_nosec_test \ |
| 1323 | $(BINDIR)/$(CONFIG)/h2_compress_nosec_test \ |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1324 | $(BINDIR)/$(CONFIG)/h2_fd_nosec_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1325 | $(BINDIR)/$(CONFIG)/h2_full_nosec_test \ |
| 1326 | $(BINDIR)/$(CONFIG)/h2_full+pipe_nosec_test \ |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1327 | $(BINDIR)/$(CONFIG)/h2_full+trace_nosec_test \ |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 1328 | $(BINDIR)/$(CONFIG)/h2_loadreporting_nosec_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1329 | $(BINDIR)/$(CONFIG)/h2_proxy_nosec_test \ |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 1330 | $(BINDIR)/$(CONFIG)/h2_sockpair_nosec_test \ |
| 1331 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_nosec_test \ |
| 1332 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_nosec_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1333 | $(BINDIR)/$(CONFIG)/h2_uds_nosec_test \ |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 1334 | $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry \ |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 1335 | $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1336 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry \ |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 1337 | $(BINDIR)/$(CONFIG)/http_request_fuzzer_test_one_entry \ |
| 1338 | $(BINDIR)/$(CONFIG)/http_response_fuzzer_test_one_entry \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1339 | $(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry \ |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 1340 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry \ |
| 1341 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry \ |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 1342 | $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1343 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry \ |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1344 | |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1345 | |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1346 | ifeq ($(EMBED_OPENSSL),true) |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1347 | buildtests_cxx: privatelibs_cxx \ |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 1348 | $(BINDIR)/$(CONFIG)/alarm_cpp_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1349 | $(BINDIR)/$(CONFIG)/async_end2end_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1350 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test \ |
| 1351 | $(BINDIR)/$(CONFIG)/channel_arguments_test \ |
| 1352 | $(BINDIR)/$(CONFIG)/cli_call_test \ |
| 1353 | $(BINDIR)/$(CONFIG)/client_crash_test \ |
| 1354 | $(BINDIR)/$(CONFIG)/client_crash_test_server \ |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 1355 | $(BINDIR)/$(CONFIG)/codegen_test_full \ |
| 1356 | $(BINDIR)/$(CONFIG)/codegen_test_minimal \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1357 | $(BINDIR)/$(CONFIG)/credentials_test \ |
| 1358 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test \ |
| 1359 | $(BINDIR)/$(CONFIG)/cxx_slice_test \ |
| 1360 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test \ |
| 1361 | $(BINDIR)/$(CONFIG)/cxx_time_test \ |
| 1362 | $(BINDIR)/$(CONFIG)/end2end_test \ |
| 1363 | $(BINDIR)/$(CONFIG)/generic_end2end_test \ |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1364 | $(BINDIR)/$(CONFIG)/golden_file_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1365 | $(BINDIR)/$(CONFIG)/grpc_cli \ |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1366 | $(BINDIR)/$(CONFIG)/grpclb_api_test \ |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 1367 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1368 | $(BINDIR)/$(CONFIG)/interop_client \ |
| 1369 | $(BINDIR)/$(CONFIG)/interop_server \ |
| 1370 | $(BINDIR)/$(CONFIG)/interop_test \ |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1371 | $(BINDIR)/$(CONFIG)/json_run_localhost \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1372 | $(BINDIR)/$(CONFIG)/metrics_client \ |
| 1373 | $(BINDIR)/$(CONFIG)/mock_test \ |
Yuchen Zeng | 91c51a7 | 2016-05-20 14:46:49 -0700 | [diff] [blame] | 1374 | $(BINDIR)/$(CONFIG)/proto_server_reflection_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1375 | $(BINDIR)/$(CONFIG)/qps_interarrival_test \ |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1376 | $(BINDIR)/$(CONFIG)/qps_json_driver \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1377 | $(BINDIR)/$(CONFIG)/qps_openloop_test \ |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1378 | $(BINDIR)/$(CONFIG)/qps_worker \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1379 | $(BINDIR)/$(CONFIG)/reconnect_interop_client \ |
| 1380 | $(BINDIR)/$(CONFIG)/reconnect_interop_server \ |
| 1381 | $(BINDIR)/$(CONFIG)/secure_auth_context_test \ |
| 1382 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test \ |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 1383 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1384 | $(BINDIR)/$(CONFIG)/server_crash_test \ |
| 1385 | $(BINDIR)/$(CONFIG)/server_crash_test_client \ |
| 1386 | $(BINDIR)/$(CONFIG)/shutdown_test \ |
| 1387 | $(BINDIR)/$(CONFIG)/status_test \ |
| 1388 | $(BINDIR)/$(CONFIG)/streaming_throughput_test \ |
| 1389 | $(BINDIR)/$(CONFIG)/stress_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1390 | $(BINDIR)/$(CONFIG)/thread_stress_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1391 | $(BINDIR)/$(CONFIG)/boringssl_aes_test \ |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 1392 | $(BINDIR)/$(CONFIG)/boringssl_asn1_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1393 | $(BINDIR)/$(CONFIG)/boringssl_base64_test \ |
| 1394 | $(BINDIR)/$(CONFIG)/boringssl_bio_test \ |
| 1395 | $(BINDIR)/$(CONFIG)/boringssl_bn_test \ |
| 1396 | $(BINDIR)/$(CONFIG)/boringssl_bytestring_test \ |
| 1397 | $(BINDIR)/$(CONFIG)/boringssl_aead_test \ |
| 1398 | $(BINDIR)/$(CONFIG)/boringssl_cipher_test \ |
| 1399 | $(BINDIR)/$(CONFIG)/boringssl_cmac_test \ |
| 1400 | $(BINDIR)/$(CONFIG)/boringssl_constant_time_test \ |
| 1401 | $(BINDIR)/$(CONFIG)/boringssl_ed25519_test \ |
| 1402 | $(BINDIR)/$(CONFIG)/boringssl_x25519_test \ |
| 1403 | $(BINDIR)/$(CONFIG)/boringssl_dh_test \ |
| 1404 | $(BINDIR)/$(CONFIG)/boringssl_digest_test \ |
| 1405 | $(BINDIR)/$(CONFIG)/boringssl_dsa_test \ |
| 1406 | $(BINDIR)/$(CONFIG)/boringssl_ec_test \ |
| 1407 | $(BINDIR)/$(CONFIG)/boringssl_example_mul \ |
| 1408 | $(BINDIR)/$(CONFIG)/boringssl_ecdsa_test \ |
| 1409 | $(BINDIR)/$(CONFIG)/boringssl_err_test \ |
| 1410 | $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test \ |
| 1411 | $(BINDIR)/$(CONFIG)/boringssl_evp_test \ |
| 1412 | $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test \ |
| 1413 | $(BINDIR)/$(CONFIG)/boringssl_hkdf_test \ |
| 1414 | $(BINDIR)/$(CONFIG)/boringssl_hmac_test \ |
| 1415 | $(BINDIR)/$(CONFIG)/boringssl_lhash_test \ |
| 1416 | $(BINDIR)/$(CONFIG)/boringssl_gcm_test \ |
| 1417 | $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test \ |
| 1418 | $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test \ |
| 1419 | $(BINDIR)/$(CONFIG)/boringssl_poly1305_test \ |
| 1420 | $(BINDIR)/$(CONFIG)/boringssl_refcount_test \ |
| 1421 | $(BINDIR)/$(CONFIG)/boringssl_rsa_test \ |
| 1422 | $(BINDIR)/$(CONFIG)/boringssl_thread_test \ |
| 1423 | $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test \ |
Craig Tiller | 88b9e48 | 2016-04-21 15:09:56 -0700 | [diff] [blame] | 1424 | $(BINDIR)/$(CONFIG)/boringssl_x509_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1425 | $(BINDIR)/$(CONFIG)/boringssl_tab_test \ |
| 1426 | $(BINDIR)/$(CONFIG)/boringssl_v3name_test \ |
| 1427 | $(BINDIR)/$(CONFIG)/boringssl_pqueue_test \ |
| 1428 | $(BINDIR)/$(CONFIG)/boringssl_ssl_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1429 | |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1430 | else |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1431 | buildtests_cxx: privatelibs_cxx \ |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1432 | $(BINDIR)/$(CONFIG)/alarm_cpp_test \ |
| 1433 | $(BINDIR)/$(CONFIG)/async_end2end_test \ |
| 1434 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test \ |
| 1435 | $(BINDIR)/$(CONFIG)/channel_arguments_test \ |
| 1436 | $(BINDIR)/$(CONFIG)/cli_call_test \ |
| 1437 | $(BINDIR)/$(CONFIG)/client_crash_test \ |
| 1438 | $(BINDIR)/$(CONFIG)/client_crash_test_server \ |
| 1439 | $(BINDIR)/$(CONFIG)/codegen_test_full \ |
| 1440 | $(BINDIR)/$(CONFIG)/codegen_test_minimal \ |
| 1441 | $(BINDIR)/$(CONFIG)/credentials_test \ |
| 1442 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test \ |
| 1443 | $(BINDIR)/$(CONFIG)/cxx_slice_test \ |
| 1444 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test \ |
| 1445 | $(BINDIR)/$(CONFIG)/cxx_time_test \ |
| 1446 | $(BINDIR)/$(CONFIG)/end2end_test \ |
| 1447 | $(BINDIR)/$(CONFIG)/generic_end2end_test \ |
| 1448 | $(BINDIR)/$(CONFIG)/golden_file_test \ |
| 1449 | $(BINDIR)/$(CONFIG)/grpc_cli \ |
| 1450 | $(BINDIR)/$(CONFIG)/grpclb_api_test \ |
| 1451 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test \ |
| 1452 | $(BINDIR)/$(CONFIG)/interop_client \ |
| 1453 | $(BINDIR)/$(CONFIG)/interop_server \ |
| 1454 | $(BINDIR)/$(CONFIG)/interop_test \ |
| 1455 | $(BINDIR)/$(CONFIG)/json_run_localhost \ |
| 1456 | $(BINDIR)/$(CONFIG)/metrics_client \ |
| 1457 | $(BINDIR)/$(CONFIG)/mock_test \ |
Vijay Pai | dc45677 | 2016-06-16 00:23:32 -0700 | [diff] [blame] | 1458 | $(BINDIR)/$(CONFIG)/proto_server_reflection_test \ |
vjpai | 2041092 | 2016-06-15 09:21:42 -0700 | [diff] [blame] | 1459 | $(BINDIR)/$(CONFIG)/qps_interarrival_test \ |
| 1460 | $(BINDIR)/$(CONFIG)/qps_json_driver \ |
| 1461 | $(BINDIR)/$(CONFIG)/qps_openloop_test \ |
| 1462 | $(BINDIR)/$(CONFIG)/qps_worker \ |
| 1463 | $(BINDIR)/$(CONFIG)/reconnect_interop_client \ |
| 1464 | $(BINDIR)/$(CONFIG)/reconnect_interop_server \ |
| 1465 | $(BINDIR)/$(CONFIG)/secure_auth_context_test \ |
| 1466 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test \ |
| 1467 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test \ |
| 1468 | $(BINDIR)/$(CONFIG)/server_crash_test \ |
| 1469 | $(BINDIR)/$(CONFIG)/server_crash_test_client \ |
| 1470 | $(BINDIR)/$(CONFIG)/shutdown_test \ |
| 1471 | $(BINDIR)/$(CONFIG)/status_test \ |
| 1472 | $(BINDIR)/$(CONFIG)/streaming_throughput_test \ |
| 1473 | $(BINDIR)/$(CONFIG)/stress_test \ |
| 1474 | $(BINDIR)/$(CONFIG)/thread_stress_test \ |
| 1475 | |
| 1476 | endif |
| 1477 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1478 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1479 | test: test_c test_cxx |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1480 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1481 | flaky_test: flaky_test_c flaky_test_cxx |
Nicolas "Pixel" Noble | 4251d56 | 2015-05-22 19:43:39 +0200 | [diff] [blame] | 1482 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1483 | test_c: buildtests_c |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 1484 | $(E) "[RUN] Testing alarm_test" |
| 1485 | $(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] | 1486 | $(E) "[RUN] Testing algorithm_test" |
| 1487 | $(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] | 1488 | $(E) "[RUN] Testing alloc_test" |
| 1489 | $(Q) $(BINDIR)/$(CONFIG)/alloc_test || ( echo test alloc_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1490 | $(E) "[RUN] Testing alpn_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1491 | $(Q) $(BINDIR)/$(CONFIG)/alpn_test || ( echo test alpn_test failed ; exit 1 ) |
Yuchen Zeng | 955a364 | 2016-06-17 13:48:03 -0700 | [diff] [blame] | 1492 | $(E) "[RUN] Testing bad_server_response_test" |
| 1493 | $(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] | 1494 | $(E) "[RUN] Testing bin_decoder_test" |
| 1495 | $(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] | 1496 | $(E) "[RUN] Testing bin_encoder_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1497 | $(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] | 1498 | $(E) "[RUN] Testing census_context_test" |
| 1499 | $(Q) $(BINDIR)/$(CONFIG)/census_context_test || ( echo test census_context_test failed ; exit 1 ) |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 1500 | $(E) "[RUN] Testing channel_create_test" |
| 1501 | $(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] | 1502 | $(E) "[RUN] Testing chttp2_hpack_encoder_test" |
| 1503 | $(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] | 1504 | $(E) "[RUN] Testing chttp2_status_conversion_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1505 | $(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] | 1506 | $(E) "[RUN] Testing chttp2_stream_map_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1507 | $(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] | 1508 | $(E) "[RUN] Testing chttp2_varint_test" |
| 1509 | $(Q) $(BINDIR)/$(CONFIG)/chttp2_varint_test || ( echo test chttp2_varint_test failed ; exit 1 ) |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 1510 | $(E) "[RUN] Testing compression_test" |
| 1511 | $(Q) $(BINDIR)/$(CONFIG)/compression_test || ( echo test compression_test failed ; exit 1 ) |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 1512 | $(E) "[RUN] Testing concurrent_connectivity_test" |
| 1513 | $(Q) $(BINDIR)/$(CONFIG)/concurrent_connectivity_test || ( echo test concurrent_connectivity_test failed ; exit 1 ) |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 1514 | $(E) "[RUN] Testing dns_resolver_connectivity_test" |
| 1515 | $(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] | 1516 | $(E) "[RUN] Testing dns_resolver_test" |
| 1517 | $(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] | 1518 | $(E) "[RUN] Testing dualstack_socket_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1519 | $(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] | 1520 | $(E) "[RUN] Testing endpoint_pair_test" |
| 1521 | $(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] | 1522 | $(E) "[RUN] Testing ev_epoll_linux_test" |
| 1523 | $(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] | 1524 | $(E) "[RUN] Testing fd_conservation_posix_test" |
| 1525 | $(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] | 1526 | $(E) "[RUN] Testing fd_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1527 | $(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] | 1528 | $(E) "[RUN] Testing fling_stream_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1529 | $(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] | 1530 | $(E) "[RUN] Testing fling_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1531 | $(Q) $(BINDIR)/$(CONFIG)/fling_test || ( echo test fling_test failed ; exit 1 ) |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 1532 | $(E) "[RUN] Testing goaway_server_test" |
| 1533 | $(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] | 1534 | $(E) "[RUN] Testing gpr_avl_test" |
| 1535 | $(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] | 1536 | $(E) "[RUN] Testing gpr_backoff_test" |
| 1537 | $(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] | 1538 | $(E) "[RUN] Testing gpr_cmdline_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1539 | $(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] | 1540 | $(E) "[RUN] Testing gpr_cpu_test" |
| 1541 | $(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] | 1542 | $(E) "[RUN] Testing gpr_env_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1543 | $(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] | 1544 | $(E) "[RUN] Testing gpr_histogram_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1545 | $(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] | 1546 | $(E) "[RUN] Testing gpr_host_port_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1547 | $(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] | 1548 | $(E) "[RUN] Testing gpr_log_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1549 | $(Q) $(BINDIR)/$(CONFIG)/gpr_log_test || ( echo test gpr_log_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1550 | $(E) "[RUN] Testing gpr_slice_buffer_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1551 | $(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] | 1552 | $(E) "[RUN] Testing gpr_slice_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1553 | $(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] | 1554 | $(E) "[RUN] Testing gpr_stack_lockfree_test" |
| 1555 | $(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] | 1556 | $(E) "[RUN] Testing gpr_string_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1557 | $(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] | 1558 | $(E) "[RUN] Testing gpr_sync_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1559 | $(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] | 1560 | $(E) "[RUN] Testing gpr_thd_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1561 | $(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] | 1562 | $(E) "[RUN] Testing gpr_time_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1563 | $(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] | 1564 | $(E) "[RUN] Testing gpr_tls_test" |
| 1565 | $(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] | 1566 | $(E) "[RUN] Testing gpr_useful_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1567 | $(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] | 1568 | $(E) "[RUN] Testing grpc_auth_context_test" |
| 1569 | $(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] | 1570 | $(E) "[RUN] Testing grpc_b64_test" |
| 1571 | $(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] | 1572 | $(E) "[RUN] Testing grpc_byte_buffer_reader_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1573 | $(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] | 1574 | $(E) "[RUN] Testing grpc_channel_args_test" |
| 1575 | $(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] | 1576 | $(E) "[RUN] Testing grpc_channel_stack_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1577 | $(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] | 1578 | $(E) "[RUN] Testing grpc_completion_queue_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1579 | $(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] | 1580 | $(E) "[RUN] Testing grpc_credentials_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1581 | $(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] | 1582 | $(E) "[RUN] Testing grpc_invalid_channel_args_test" |
| 1583 | $(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] | 1584 | $(E) "[RUN] Testing grpc_json_token_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1585 | $(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] | 1586 | $(E) "[RUN] Testing grpc_jwt_verifier_test" |
| 1587 | $(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] | 1588 | $(E) "[RUN] Testing grpc_security_connector_test" |
| 1589 | $(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] | 1590 | $(E) "[RUN] Testing hpack_parser_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1591 | $(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] | 1592 | $(E) "[RUN] Testing hpack_table_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1593 | $(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] | 1594 | $(E) "[RUN] Testing http_parser_test" |
| 1595 | $(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] | 1596 | $(E) "[RUN] Testing httpcli_format_request_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1597 | $(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] | 1598 | $(E) "[RUN] Testing httpcli_test" |
| 1599 | $(Q) $(BINDIR)/$(CONFIG)/httpcli_test || ( echo test httpcli_test failed ; exit 1 ) |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 1600 | $(E) "[RUN] Testing httpscli_test" |
| 1601 | $(Q) $(BINDIR)/$(CONFIG)/httpscli_test || ( echo test httpscli_test failed ; exit 1 ) |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 1602 | $(E) "[RUN] Testing init_test" |
| 1603 | $(Q) $(BINDIR)/$(CONFIG)/init_test || ( echo test init_test failed ; exit 1 ) |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 1604 | $(E) "[RUN] Testing invalid_call_argument_test" |
| 1605 | $(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] | 1606 | $(E) "[RUN] Testing json_rewrite_test" |
| 1607 | $(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] | 1608 | $(E) "[RUN] Testing json_stream_error_test" |
| 1609 | $(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] | 1610 | $(E) "[RUN] Testing json_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1611 | $(Q) $(BINDIR)/$(CONFIG)/json_test || ( echo test json_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1612 | $(E) "[RUN] Testing lame_client_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1613 | $(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] | 1614 | $(E) "[RUN] Testing load_file_test" |
| 1615 | $(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] | 1616 | $(E) "[RUN] Testing message_compress_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1617 | $(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] | 1618 | $(E) "[RUN] Testing multiple_server_queues_test" |
| 1619 | $(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] | 1620 | $(E) "[RUN] Testing murmur_hash_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1621 | $(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] | 1622 | $(E) "[RUN] Testing no_server_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1623 | $(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] | 1624 | $(E) "[RUN] Testing resolve_address_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1625 | $(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] | 1626 | $(E) "[RUN] Testing secure_channel_create_test" |
| 1627 | $(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] | 1628 | $(E) "[RUN] Testing secure_endpoint_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1629 | $(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] | 1630 | $(E) "[RUN] Testing sequential_connectivity_test" |
| 1631 | $(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] | 1632 | $(E) "[RUN] Testing server_chttp2_test" |
| 1633 | $(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] | 1634 | $(E) "[RUN] Testing server_test" |
| 1635 | $(Q) $(BINDIR)/$(CONFIG)/server_test || ( echo test server_test failed ; exit 1 ) |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 1636 | $(E) "[RUN] Testing set_initial_connect_string_test" |
| 1637 | $(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] | 1638 | $(E) "[RUN] Testing sockaddr_resolver_test" |
| 1639 | $(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] | 1640 | $(E) "[RUN] Testing sockaddr_utils_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1641 | $(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] | 1642 | $(E) "[RUN] Testing socket_utils_test" |
| 1643 | $(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] | 1644 | $(E) "[RUN] Testing tcp_client_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1645 | $(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] | 1646 | $(E) "[RUN] Testing tcp_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1647 | $(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] | 1648 | $(E) "[RUN] Testing tcp_server_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1649 | $(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] | 1650 | $(E) "[RUN] Testing time_averaged_stats_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1651 | $(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] | 1652 | $(E) "[RUN] Testing timeout_encoding_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1653 | $(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] | 1654 | $(E) "[RUN] Testing timer_heap_test" |
| 1655 | $(Q) $(BINDIR)/$(CONFIG)/timer_heap_test || ( echo test timer_heap_test failed ; exit 1 ) |
| 1656 | $(E) "[RUN] Testing timer_list_test" |
| 1657 | $(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] | 1658 | $(E) "[RUN] Testing transport_connectivity_state_test" |
| 1659 | $(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] | 1660 | $(E) "[RUN] Testing transport_metadata_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1661 | $(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] | 1662 | $(E) "[RUN] Testing transport_security_test" |
| 1663 | $(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] | 1664 | $(E) "[RUN] Testing udp_server_test" |
| 1665 | $(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] | 1666 | $(E) "[RUN] Testing uri_parser_test" |
| 1667 | $(Q) $(BINDIR)/$(CONFIG)/uri_parser_test || ( echo test uri_parser_test failed ; exit 1 ) |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 1668 | $(E) "[RUN] Testing public_headers_must_be_c89" |
| 1669 | $(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] | 1670 | $(E) "[RUN] Testing badreq_bad_client_test" |
| 1671 | $(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] | 1672 | $(E) "[RUN] Testing connection_prefix_bad_client_test" |
| 1673 | $(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] | 1674 | $(E) "[RUN] Testing head_of_line_blocking_bad_client_test" |
| 1675 | $(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] | 1676 | $(E) "[RUN] Testing headers_bad_client_test" |
| 1677 | $(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] | 1678 | $(E) "[RUN] Testing initial_settings_frame_bad_client_test" |
| 1679 | $(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] | 1680 | $(E) "[RUN] Testing large_metadata_bad_client_test" |
| 1681 | $(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] | 1682 | $(E) "[RUN] Testing server_registered_method_bad_client_test" |
| 1683 | $(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] | 1684 | $(E) "[RUN] Testing simple_request_bad_client_test" |
| 1685 | $(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] | 1686 | $(E) "[RUN] Testing unknown_frame_bad_client_test" |
| 1687 | $(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] | 1688 | $(E) "[RUN] Testing window_overflow_bad_client_test" |
| 1689 | $(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] | 1690 | $(E) "[RUN] Testing bad_ssl_alpn_test" |
| 1691 | $(Q) $(BINDIR)/$(CONFIG)/bad_ssl_alpn_test || ( echo test bad_ssl_alpn_test failed ; exit 1 ) |
| 1692 | $(E) "[RUN] Testing bad_ssl_cert_test" |
| 1693 | $(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] | 1694 | |
| 1695 | |
Nicolas "Pixel" Noble | 4251d56 | 2015-05-22 19:43:39 +0200 | [diff] [blame] | 1696 | flaky_test_c: buildtests_c |
Craig Tiller | de7edf8 | 2016-03-20 09:12:16 -0700 | [diff] [blame] | 1697 | $(E) "[RUN] Testing lb_policies_test" |
| 1698 | $(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] | 1699 | $(E) "[RUN] Testing mlog_test" |
| 1700 | $(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] | 1701 | |
| 1702 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 1703 | test_cxx: buildtests_cxx |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 1704 | $(E) "[RUN] Testing alarm_cpp_test" |
| 1705 | $(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] | 1706 | $(E) "[RUN] Testing async_end2end_test" |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 1707 | $(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] | 1708 | $(E) "[RUN] Testing auth_property_iterator_test" |
| 1709 | $(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] | 1710 | $(E) "[RUN] Testing channel_arguments_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1711 | $(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] | 1712 | $(E) "[RUN] Testing cli_call_test" |
| 1713 | $(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] | 1714 | $(E) "[RUN] Testing client_crash_test" |
| 1715 | $(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] | 1716 | $(E) "[RUN] Testing codegen_test_full" |
| 1717 | $(Q) $(BINDIR)/$(CONFIG)/codegen_test_full || ( echo test codegen_test_full failed ; exit 1 ) |
| 1718 | $(E) "[RUN] Testing codegen_test_minimal" |
| 1719 | $(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] | 1720 | $(E) "[RUN] Testing credentials_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1721 | $(Q) $(BINDIR)/$(CONFIG)/credentials_test || ( echo test credentials_test failed ; exit 1 ) |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 1722 | $(E) "[RUN] Testing cxx_byte_buffer_test" |
| 1723 | $(Q) $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test || ( echo test cxx_byte_buffer_test failed ; exit 1 ) |
| 1724 | $(E) "[RUN] Testing cxx_slice_test" |
| 1725 | $(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] | 1726 | $(E) "[RUN] Testing cxx_string_ref_test" |
| 1727 | $(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] | 1728 | $(E) "[RUN] Testing cxx_time_test" |
| 1729 | $(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] | 1730 | $(E) "[RUN] Testing end2end_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1731 | $(Q) $(BINDIR)/$(CONFIG)/end2end_test || ( echo test end2end_test failed ; exit 1 ) |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 1732 | $(E) "[RUN] Testing generic_end2end_test" |
| 1733 | $(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] | 1734 | $(E) "[RUN] Testing golden_file_test" |
| 1735 | $(Q) $(BINDIR)/$(CONFIG)/golden_file_test || ( echo test golden_file_test failed ; exit 1 ) |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1736 | $(E) "[RUN] Testing grpclb_api_test" |
| 1737 | $(Q) $(BINDIR)/$(CONFIG)/grpclb_api_test || ( echo test grpclb_api_test failed ; exit 1 ) |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 1738 | $(E) "[RUN] Testing hybrid_end2end_test" |
| 1739 | $(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] | 1740 | $(E) "[RUN] Testing interop_test" |
| 1741 | $(Q) $(BINDIR)/$(CONFIG)/interop_test || ( echo test interop_test failed ; exit 1 ) |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 1742 | $(E) "[RUN] Testing mock_test" |
| 1743 | $(Q) $(BINDIR)/$(CONFIG)/mock_test || ( echo test mock_test failed ; exit 1 ) |
Yuchen Zeng | 91c51a7 | 2016-05-20 14:46:49 -0700 | [diff] [blame] | 1744 | $(E) "[RUN] Testing proto_server_reflection_test" |
| 1745 | $(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] | 1746 | $(E) "[RUN] Testing qps_openloop_test" |
| 1747 | $(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] | 1748 | $(E) "[RUN] Testing secure_auth_context_test" |
| 1749 | $(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] | 1750 | $(E) "[RUN] Testing secure_sync_unary_ping_pong_test" |
| 1751 | $(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] | 1752 | $(E) "[RUN] Testing server_builder_plugin_test" |
| 1753 | $(Q) $(BINDIR)/$(CONFIG)/server_builder_plugin_test || ( echo test server_builder_plugin_test failed ; exit 1 ) |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 1754 | $(E) "[RUN] Testing server_crash_test" |
| 1755 | $(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] | 1756 | $(E) "[RUN] Testing shutdown_test" |
| 1757 | $(Q) $(BINDIR)/$(CONFIG)/shutdown_test || ( echo test shutdown_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1758 | $(E) "[RUN] Testing status_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1759 | $(Q) $(BINDIR)/$(CONFIG)/status_test || ( echo test status_test failed ; exit 1 ) |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 1760 | $(E) "[RUN] Testing streaming_throughput_test" |
| 1761 | $(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] | 1762 | $(E) "[RUN] Testing thread_stress_test" |
| 1763 | $(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] | 1764 | |
| 1765 | |
Nicolas "Pixel" Noble | 4251d56 | 2015-05-22 19:43:39 +0200 | [diff] [blame] | 1766 | flaky_test_cxx: buildtests_cxx |
| 1767 | |
| 1768 | |
Nicolas "Pixel" Noble | 051a28f | 2015-03-17 22:54:54 +0100 | [diff] [blame] | 1769 | test_python: static_c |
| 1770 | $(E) "[RUN] Testing python code" |
| 1771 | $(Q) tools/run_tests/run_tests.py -lpython -c$(CONFIG) |
| 1772 | |
| 1773 | |
Craig Tiller | 7552f0f | 2015-06-19 17:46:20 -0700 | [diff] [blame] | 1774 | tools: tools_c tools_cxx |
| 1775 | |
| 1776 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 1777 | tools_c: privatelibs_c $(BINDIR)/$(CONFIG)/gen_hpack_tables $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters $(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] | 1778 | |
| 1779 | tools_cxx: privatelibs_cxx |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1780 | |
vjpai | 29089c7 | 2016-04-20 12:38:16 -0700 | [diff] [blame] | 1781 | buildbenchmarks: privatelibs $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1782 | |
| 1783 | benchmarks: buildbenchmarks |
| 1784 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1785 | strip: strip-static strip-shared |
| 1786 | |
nnoble | 20e2e3f | 2014-12-16 15:37:57 -0800 | [diff] [blame] | 1787 | strip-static: strip-static_c strip-static_cxx |
| 1788 | |
| 1789 | strip-shared: strip-shared_c strip-shared_cxx |
| 1790 | |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 1791 | |
| 1792 | # TODO(nnoble): the strip target is stripping in-place, instead |
| 1793 | # of copying files in a temporary folder. |
| 1794 | # This prevents proper debugging after running make install. |
| 1795 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1796 | strip-static_c: static_c |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1797 | ifeq ($(CONFIG),opt) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 1798 | $(E) "[STRIP] Stripping libgpr.a" |
| 1799 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1800 | $(E) "[STRIP] Stripping libgrpc.a" |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1801 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc.a |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 1802 | $(E) "[STRIP] Stripping libgrpc_cronet.a" |
| 1803 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 1804 | $(E) "[STRIP] Stripping libgrpc_unsecure.a" |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1805 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1806 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1807 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1808 | strip-static_cxx: static_cxx |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1809 | ifeq ($(CONFIG),opt) |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1810 | $(E) "[STRIP] Stripping libgrpc++.a" |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1811 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++.a |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 1812 | $(E) "[STRIP] Stripping libgrpc++_reflection.a" |
| 1813 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 1814 | $(E) "[STRIP] Stripping libgrpc++_unsecure.a" |
| 1815 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1816 | endif |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1817 | |
| 1818 | strip-shared_c: shared_c |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1819 | ifeq ($(CONFIG),opt) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 1820 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT)" |
| 1821 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1822 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT)" |
| 1823 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 1824 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT)" |
| 1825 | $(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] | 1826 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
| 1827 | $(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] | 1828 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1829 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1830 | strip-shared_cxx: shared_cxx |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1831 | ifeq ($(CONFIG),opt) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1832 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT)" |
| 1833 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 1834 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT)" |
| 1835 | $(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] | 1836 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
| 1837 | $(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] | 1838 | endif |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1839 | |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 1840 | strip-shared_csharp: shared_csharp |
| 1841 | ifeq ($(CONFIG),opt) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1842 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT)" |
| 1843 | $(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] | 1844 | endif |
| 1845 | |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 1846 | cache.mk:: |
| 1847 | $(E) "[MAKE] Generating $@" |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1848 | $(Q) echo "$(CACHE_MK)" | tr , '\n' >$@ |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 1849 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1850 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc: |
| 1851 | $(E) "[MAKE] Generating $@" |
| 1852 | $(Q) mkdir -p $(@D) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1853 | $(Q) echo "$(GRPC_PC_FILE)" | tr , '\n' >$@ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1854 | |
| 1855 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc: |
| 1856 | $(E) "[MAKE] Generating $@" |
| 1857 | $(Q) mkdir -p $(@D) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1858 | $(Q) echo "$(GRPC_UNSECURE_PC_FILE)" | tr , '\n' >$@ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1859 | |
| 1860 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc: |
| 1861 | $(E) "[MAKE] Generating $@" |
| 1862 | $(Q) mkdir -p $(@D) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1863 | $(Q) echo "$(GRPCXX_PC_FILE)" | tr , '\n' >$@ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1864 | |
| 1865 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc: |
| 1866 | $(E) "[MAKE] Generating $@" |
| 1867 | $(Q) mkdir -p $(@D) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1868 | $(Q) echo "$(GRPCXX_UNSECURE_PC_FILE)" | tr , '\n' >$@ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1869 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1870 | ifeq ($(NO_PROTOC),true) |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 1871 | $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc: protoc_dep_error |
| 1872 | $(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] | 1873 | else |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 1874 | $(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] | 1875 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1876 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1877 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1878 | |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 1879 | $(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] | 1880 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1881 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1882 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1883 | endif |
| 1884 | |
| 1885 | ifeq ($(NO_PROTOC),true) |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1886 | $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: protoc_dep_error |
| 1887 | $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc: protoc_dep_error |
| 1888 | else |
| 1889 | $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: src/proto/grpc/testing/compiler_test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
| 1890 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1891 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1892 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1893 | |
| 1894 | $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc: src/proto/grpc/testing/compiler_test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
| 1895 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1896 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1897 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1898 | endif |
| 1899 | |
| 1900 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1901 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc: protoc_dep_error |
| 1902 | $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc: protoc_dep_error |
Siddharth Rakesh | cc5857b | 2015-06-18 16:45:55 -0700 | [diff] [blame] | 1903 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1904 | $(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] | 1905 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1906 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1907 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Siddharth Rakesh | cc5857b | 2015-06-18 16:45:55 -0700 | [diff] [blame] | 1908 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1909 | $(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] | 1910 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1911 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1912 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Siddharth Rakesh | cc5857b | 2015-06-18 16:45:55 -0700 | [diff] [blame] | 1913 | endif |
| 1914 | |
| 1915 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1916 | $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc: protoc_dep_error |
| 1917 | $(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] | 1918 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1919 | $(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] | 1920 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1921 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1922 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 1923 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1924 | $(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] | 1925 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1926 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1927 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1928 | endif |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 1929 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1930 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1931 | $(GENDIR)/src/proto/grpc/testing/echo.pb.cc: protoc_dep_error |
| 1932 | $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc: protoc_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1933 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1934 | $(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] | 1935 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1936 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1937 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 1938 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1939 | $(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] | 1940 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1941 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1942 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1943 | endif |
yangg | 1456d15 | 2015-01-08 15:39:58 -0800 | [diff] [blame] | 1944 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1945 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1946 | $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc: protoc_dep_error |
| 1947 | $(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] | 1948 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1949 | $(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] | 1950 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1951 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1952 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 1953 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1954 | $(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] | 1955 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1956 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1957 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1958 | endif |
yangg | 1456d15 | 2015-01-08 15:39:58 -0800 | [diff] [blame] | 1959 | |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 1960 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1961 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc: protoc_dep_error |
| 1962 | $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc: protoc_dep_error |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 1963 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1964 | $(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] | 1965 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1966 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1967 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 1968 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1969 | $(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] | 1970 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1971 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1972 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 1973 | endif |
| 1974 | |
| 1975 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1976 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc: protoc_dep_error |
| 1977 | $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc: protoc_dep_error |
vjpai | 780a7f2 | 2015-11-04 00:19:09 -0800 | [diff] [blame] | 1978 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1979 | $(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] | 1980 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1981 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1982 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
vjpai | 780a7f2 | 2015-11-04 00:19:09 -0800 | [diff] [blame] | 1983 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1984 | $(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] | 1985 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1986 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1987 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
vjpai | 780a7f2 | 2015-11-04 00:19:09 -0800 | [diff] [blame] | 1988 | endif |
| 1989 | |
| 1990 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1991 | $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc: protoc_dep_error |
| 1992 | $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc: protoc_dep_error |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 1993 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1994 | $(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] | 1995 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1996 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 1997 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 1998 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1999 | $(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] | 2000 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2001 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2002 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2003 | endif |
| 2004 | |
| 2005 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2006 | $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc: protoc_dep_error |
| 2007 | $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc: protoc_dep_error |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2008 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2009 | $(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] | 2010 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2011 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2012 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2013 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2014 | $(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] | 2015 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2016 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2017 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2018 | endif |
| 2019 | |
| 2020 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2021 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc: protoc_dep_error |
| 2022 | $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc: protoc_dep_error |
Abhishek Kumar | 60572d4 | 2015-04-16 20:45:25 -0700 | [diff] [blame] | 2023 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2024 | $(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] | 2025 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2026 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2027 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Abhishek Kumar | 60572d4 | 2015-04-16 20:45:25 -0700 | [diff] [blame] | 2028 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2029 | $(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] | 2030 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2031 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2032 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Abhishek Kumar | 60572d4 | 2015-04-16 20:45:25 -0700 | [diff] [blame] | 2033 | endif |
| 2034 | |
| 2035 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2036 | $(GENDIR)/src/proto/grpc/testing/stats.pb.cc: protoc_dep_error |
| 2037 | $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc: protoc_dep_error |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 2038 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2039 | $(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] | 2040 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2041 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2042 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 2043 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2044 | $(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] | 2045 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2046 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2047 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 2048 | endif |
| 2049 | |
| 2050 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2051 | $(GENDIR)/src/proto/grpc/testing/test.pb.cc: protoc_dep_error |
| 2052 | $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc: protoc_dep_error |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 2053 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2054 | $(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] | 2055 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2056 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2057 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $< |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 2058 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2059 | $(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] | 2060 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2061 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | e68ed6f | 2016-06-17 12:49:14 -0700 | [diff] [blame] | 2062 | $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 2063 | endif |
| 2064 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2065 | |
David Garcia Quintas | bbc0b77 | 2015-04-29 14:10:05 -0700 | [diff] [blame] | 2066 | ifeq ($(CONFIG),stapprof) |
| 2067 | 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] | 2068 | ifeq ($(HAS_SYSTEMTAP),true) |
| 2069 | $(GENDIR)/src/core/profiling/stap_probes.h: src/core/profiling/stap_probes.d |
| 2070 | $(E) "[DTRACE] Compiling $<" |
| 2071 | $(Q) mkdir -p `dirname $@` |
| 2072 | $(Q) $(DTRACE) -C -h -s $< -o $@ |
David Garcia Quintas | 8954e90 | 2015-04-29 09:46:33 -0700 | [diff] [blame] | 2073 | else |
| 2074 | $(GENDIR)/src/core/profiling/stap_probes.h: systemtap_dep_error stop |
| 2075 | endif |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 2076 | endif |
| 2077 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2078 | $(OBJDIR)/$(CONFIG)/%.o : %.c |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2079 | $(E) "[C] Compiling $<" |
| 2080 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 2081 | $(Q) $(CC) $(CPPFLAGS) $(CFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2082 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2083 | $(OBJDIR)/$(CONFIG)/%.o : $(GENDIR)/%.pb.cc |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2084 | $(E) "[CXX] Compiling $<" |
| 2085 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 2086 | $(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2087 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2088 | $(OBJDIR)/$(CONFIG)/src/compiler/%.o : src/compiler/%.cc |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 2089 | $(E) "[HOSTCXX] Compiling $<" |
| 2090 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 12c8209 | 2015-01-15 08:45:56 -0800 | [diff] [blame] | 2091 | $(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] | 2092 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2093 | $(OBJDIR)/$(CONFIG)/%.o : %.cc |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2094 | $(E) "[CXX] Compiling $<" |
| 2095 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 2096 | $(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2097 | |
murgatroid99 | a3c5535 | 2016-08-10 13:41:31 -0700 | [diff] [blame^] | 2098 | install: install_c install_cxx install-plugins install-certs |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2099 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2100 | install_c: install-headers_c install-static_c install-shared_c |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2101 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2102 | install_cxx: install-headers_cxx install-static_cxx install-shared_cxx |
| 2103 | |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2104 | install_csharp: install-shared_csharp install_c |
| 2105 | |
| 2106 | install_grpc_csharp_ext: install_csharp |
| 2107 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2108 | install-headers: install-headers_c install-headers_cxx |
| 2109 | |
| 2110 | install-headers_c: |
| 2111 | $(E) "[INSTALL] Installing public C headers" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2112 | $(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] | 2113 | $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1 |
| 2114 | |
| 2115 | install-headers_cxx: |
| 2116 | $(E) "[INSTALL] Installing public C++ headers" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2117 | $(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] | 2118 | $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1 |
| 2119 | |
| 2120 | install-static: install-static_c install-static_cxx |
| 2121 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2122 | install-static_c: static_c strip-static_c install-pkg-config_c |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2123 | $(E) "[INSTALL] Installing libgpr.a" |
| 2124 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2125 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgpr.a $(prefix)/lib/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2126 | $(E) "[INSTALL] Installing libgrpc.a" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2127 | $(Q) $(INSTALL) -d $(prefix)/lib |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2128 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc.a $(prefix)/lib/libgrpc.a |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2129 | $(E) "[INSTALL] Installing libgrpc_cronet.a" |
| 2130 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2131 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a $(prefix)/lib/libgrpc_cronet.a |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 2132 | $(E) "[INSTALL] Installing libgrpc_unsecure.a" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2133 | $(Q) $(INSTALL) -d $(prefix)/lib |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2134 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a $(prefix)/lib/libgrpc_unsecure.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2135 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2136 | install-static_cxx: static_cxx strip-static_cxx install-pkg-config_cxx |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2137 | $(E) "[INSTALL] Installing libgrpc++.a" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2138 | $(Q) $(INSTALL) -d $(prefix)/lib |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2139 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(prefix)/lib/libgrpc++.a |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 2140 | $(E) "[INSTALL] Installing libgrpc++_reflection.a" |
| 2141 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2142 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(prefix)/lib/libgrpc++_reflection.a |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 2143 | $(E) "[INSTALL] Installing libgrpc++_unsecure.a" |
| 2144 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2145 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a $(prefix)/lib/libgrpc++_unsecure.a |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2146 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2147 | |
| 2148 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2149 | install-shared_c: shared_c strip-shared_c install-pkg-config_c |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2150 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT)" |
| 2151 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2152 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) |
| 2153 | ifeq ($(SYSTEM),MINGW32) |
| 2154 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgpr-imp.a $(prefix)/lib/libgpr-imp.a |
| 2155 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2156 | $(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] | 2157 | $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgpr.so |
| 2158 | endif |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2159 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2160 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2161 | $(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] | 2162 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2163 | $(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] | 2164 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2165 | $(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] | 2166 | $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc.so |
| 2167 | endif |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2168 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT)" |
| 2169 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2170 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) |
| 2171 | ifeq ($(SYSTEM),MINGW32) |
| 2172 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_cronet-imp.a $(prefix)/lib/libgrpc_cronet-imp.a |
| 2173 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2174 | $(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] | 2175 | $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_cronet.so |
| 2176 | endif |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2177 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2178 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2179 | $(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] | 2180 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2181 | $(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] | 2182 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2183 | $(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] | 2184 | $(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] | 2185 | endif |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2186 | ifneq ($(SYSTEM),MINGW32) |
| 2187 | ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | cc2b42a | 2015-02-20 00:42:21 +0100 | [diff] [blame] | 2188 | $(Q) ldconfig || true |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2189 | endif |
| 2190 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2191 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2192 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2193 | 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] | 2194 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2195 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2196 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) |
| 2197 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2198 | $(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] | 2199 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2200 | $(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] | 2201 | $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++.so |
| 2202 | endif |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 2203 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT)" |
| 2204 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2205 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) |
| 2206 | ifeq ($(SYSTEM),MINGW32) |
| 2207 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection-imp.a $(prefix)/lib/libgrpc++_reflection-imp.a |
| 2208 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2209 | $(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] | 2210 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++_reflection.so |
| 2211 | endif |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2212 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2213 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2214 | $(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] | 2215 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 2216 | $(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] | 2217 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2218 | $(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] | 2219 | $(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] | 2220 | endif |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2221 | ifneq ($(SYSTEM),MINGW32) |
| 2222 | ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | cc2b42a | 2015-02-20 00:42:21 +0100 | [diff] [blame] | 2223 | $(Q) ldconfig || true |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2224 | endif |
| 2225 | endif |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2226 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2227 | |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2228 | install-shared_csharp: shared_csharp strip-shared_csharp |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2229 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT)" |
| 2230 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2231 | $(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] | 2232 | ifeq ($(SYSTEM),MINGW32) |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2233 | $(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] | 2234 | else ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2235 | $(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] | 2236 | $(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] | 2237 | endif |
| 2238 | ifneq ($(SYSTEM),MINGW32) |
| 2239 | ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | cc2b42a | 2015-02-20 00:42:21 +0100 | [diff] [blame] | 2240 | $(Q) ldconfig || true |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2241 | endif |
| 2242 | endif |
| 2243 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2244 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2245 | install-plugins: $(PROTOC_PLUGINS) |
| 2246 | ifeq ($(SYSTEM),MINGW32) |
| 2247 | $(Q) false |
| 2248 | else |
| 2249 | $(E) "[INSTALL] Installing grpc protoc plugins" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2250 | $(Q) $(INSTALL) -d $(prefix)/bin |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2251 | $(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] | 2252 | $(Q) $(INSTALL) -d $(prefix)/bin |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 2253 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_csharp_plugin $(prefix)/bin/grpc_csharp_plugin |
| 2254 | $(Q) $(INSTALL) -d $(prefix)/bin |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 2255 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_node_plugin $(prefix)/bin/grpc_node_plugin |
| 2256 | $(Q) $(INSTALL) -d $(prefix)/bin |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 2257 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin $(prefix)/bin/grpc_objective_c_plugin |
| 2258 | $(Q) $(INSTALL) -d $(prefix)/bin |
Masood Malekghassemi | f8e297a | 2015-02-19 15:39:32 -0800 | [diff] [blame] | 2259 | $(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] | 2260 | $(Q) $(INSTALL) -d $(prefix)/bin |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 2261 | $(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] | 2262 | endif |
| 2263 | |
Craig Tiller | eda85c67 | 2016-07-01 12:45:19 -0700 | [diff] [blame] | 2264 | install-pkg-config_c: pc_c pc_c_unsecure |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2265 | $(E) "[INSTALL] Installing C pkg-config files" |
| 2266 | $(Q) $(INSTALL) -d $(prefix)/lib/pkgconfig |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2267 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc $(prefix)/lib/pkgconfig/grpc.pc |
| 2268 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc $(prefix)/lib/pkgconfig/grpc_unsecure.pc |
| 2269 | |
| 2270 | install-pkg-config_cxx: pc_cxx pc_cxx_unsecure |
| 2271 | $(E) "[INSTALL] Installing C++ pkg-config files" |
| 2272 | $(Q) $(INSTALL) -d $(prefix)/lib/pkgconfig |
| 2273 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc $(prefix)/lib/pkgconfig/grpc++.pc |
| 2274 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc $(prefix)/lib/pkgconfig/grpc++_unsecure.pc |
| 2275 | |
Nicolas "Pixel" Noble | 161ea23 | 2015-02-22 05:48:53 +0100 | [diff] [blame] | 2276 | install-certs: etc/roots.pem |
| 2277 | $(E) "[INSTALL] Installing root certificates" |
| 2278 | $(Q) $(INSTALL) -d $(prefix)/share/grpc |
| 2279 | $(Q) $(INSTALL) etc/roots.pem $(prefix)/share/grpc/roots.pem |
| 2280 | |
Craig Tiller | 3759e6f | 2015-01-15 08:13:11 -0800 | [diff] [blame] | 2281 | clean: |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2282 | $(E) "[CLEAN] Cleaning build directories." |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 2283 | $(Q) $(RM) -rf $(OBJDIR) $(LIBDIR) $(BINDIR) $(GENDIR) cache.mk |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2284 | |
| 2285 | |
| 2286 | # The various libraries |
| 2287 | |
| 2288 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2289 | LIBGPR_SRC = \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2290 | src/core/lib/profiling/basic_timers.c \ |
| 2291 | src/core/lib/profiling/stap_timers.c \ |
| 2292 | src/core/lib/support/alloc.c \ |
| 2293 | src/core/lib/support/avl.c \ |
| 2294 | src/core/lib/support/backoff.c \ |
| 2295 | src/core/lib/support/cmdline.c \ |
| 2296 | src/core/lib/support/cpu_iphone.c \ |
| 2297 | src/core/lib/support/cpu_linux.c \ |
| 2298 | src/core/lib/support/cpu_posix.c \ |
| 2299 | src/core/lib/support/cpu_windows.c \ |
| 2300 | src/core/lib/support/env_linux.c \ |
| 2301 | src/core/lib/support/env_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2302 | src/core/lib/support/env_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2303 | src/core/lib/support/histogram.c \ |
| 2304 | src/core/lib/support/host_port.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2305 | src/core/lib/support/log.c \ |
| 2306 | src/core/lib/support/log_android.c \ |
| 2307 | src/core/lib/support/log_linux.c \ |
| 2308 | src/core/lib/support/log_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2309 | src/core/lib/support/log_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2310 | src/core/lib/support/murmur_hash.c \ |
| 2311 | src/core/lib/support/slice.c \ |
| 2312 | src/core/lib/support/slice_buffer.c \ |
| 2313 | src/core/lib/support/stack_lockfree.c \ |
| 2314 | src/core/lib/support/string.c \ |
| 2315 | src/core/lib/support/string_posix.c \ |
Yuchen Zeng | 4594bd9 | 2016-05-31 14:06:01 -0700 | [diff] [blame] | 2316 | src/core/lib/support/string_util_windows.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2317 | src/core/lib/support/string_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2318 | src/core/lib/support/subprocess_posix.c \ |
| 2319 | src/core/lib/support/subprocess_windows.c \ |
| 2320 | src/core/lib/support/sync.c \ |
| 2321 | src/core/lib/support/sync_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2322 | src/core/lib/support/sync_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2323 | src/core/lib/support/thd.c \ |
| 2324 | src/core/lib/support/thd_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2325 | src/core/lib/support/thd_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2326 | src/core/lib/support/time.c \ |
| 2327 | src/core/lib/support/time_posix.c \ |
| 2328 | src/core/lib/support/time_precise.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2329 | src/core/lib/support/time_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2330 | src/core/lib/support/tls_pthread.c \ |
Nicolas "Pixel" Noble | c4b18a5 | 2016-04-15 04:53:54 +0200 | [diff] [blame] | 2331 | src/core/lib/support/tmpfile_msys.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2332 | src/core/lib/support/tmpfile_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2333 | src/core/lib/support/tmpfile_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2334 | src/core/lib/support/wrap_memcpy.c \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2335 | |
| 2336 | PUBLIC_HEADERS_C += \ |
| 2337 | include/grpc/support/alloc.h \ |
| 2338 | include/grpc/support/atm.h \ |
| 2339 | include/grpc/support/atm_gcc_atomic.h \ |
| 2340 | include/grpc/support/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2341 | include/grpc/support/atm_windows.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2342 | include/grpc/support/avl.h \ |
| 2343 | include/grpc/support/cmdline.h \ |
| 2344 | include/grpc/support/cpu.h \ |
| 2345 | include/grpc/support/histogram.h \ |
| 2346 | include/grpc/support/host_port.h \ |
| 2347 | include/grpc/support/log.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2348 | include/grpc/support/log_windows.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2349 | include/grpc/support/port_platform.h \ |
| 2350 | include/grpc/support/slice.h \ |
| 2351 | include/grpc/support/slice_buffer.h \ |
| 2352 | include/grpc/support/string_util.h \ |
| 2353 | include/grpc/support/subprocess.h \ |
| 2354 | include/grpc/support/sync.h \ |
| 2355 | include/grpc/support/sync_generic.h \ |
| 2356 | include/grpc/support/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2357 | include/grpc/support/sync_windows.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2358 | include/grpc/support/thd.h \ |
| 2359 | include/grpc/support/time.h \ |
| 2360 | include/grpc/support/tls.h \ |
| 2361 | include/grpc/support/tls_gcc.h \ |
| 2362 | include/grpc/support/tls_msvc.h \ |
| 2363 | include/grpc/support/tls_pthread.h \ |
| 2364 | include/grpc/support/useful.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2365 | include/grpc/impl/codegen/alloc.h \ |
| 2366 | include/grpc/impl/codegen/atm.h \ |
| 2367 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 2368 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2369 | include/grpc/impl/codegen/atm_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2370 | include/grpc/impl/codegen/log.h \ |
| 2371 | include/grpc/impl/codegen/port_platform.h \ |
| 2372 | include/grpc/impl/codegen/slice.h \ |
| 2373 | include/grpc/impl/codegen/slice_buffer.h \ |
| 2374 | include/grpc/impl/codegen/sync.h \ |
| 2375 | include/grpc/impl/codegen/sync_generic.h \ |
| 2376 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2377 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2378 | include/grpc/impl/codegen/time.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2379 | |
| 2380 | LIBGPR_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_SRC)))) |
| 2381 | |
| 2382 | |
| 2383 | $(LIBDIR)/$(CONFIG)/libgpr.a: $(ZLIB_DEP) $(LIBGPR_OBJS) |
| 2384 | $(E) "[AR] Creating $@" |
| 2385 | $(Q) mkdir -p `dirname $@` |
| 2386 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgpr.a |
| 2387 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBGPR_OBJS) |
| 2388 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 2389 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2390 | endif |
| 2391 | |
| 2392 | |
| 2393 | |
| 2394 | ifeq ($(SYSTEM),MINGW32) |
| 2395 | $(LIBDIR)/$(CONFIG)/gpr$(SHARED_VERSION).$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP) |
| 2396 | $(E) "[LD] Linking $@" |
| 2397 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2398 | $(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] | 2399 | else |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2400 | $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2401 | $(E) "[LD] Linking $@" |
| 2402 | $(Q) mkdir -p `dirname $@` |
| 2403 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2404 | $(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] | 2405 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2406 | $(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) |
| 2407 | $(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] | 2408 | $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).so |
| 2409 | endif |
| 2410 | endif |
| 2411 | |
| 2412 | ifneq ($(NO_DEPS),true) |
| 2413 | -include $(LIBGPR_OBJS:.o=.dep) |
| 2414 | endif |
| 2415 | |
| 2416 | |
| 2417 | LIBGPR_TEST_UTIL_SRC = \ |
| 2418 | test/core/util/test_config.c \ |
| 2419 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 2420 | PUBLIC_HEADERS_C += \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2421 | |
| 2422 | LIBGPR_TEST_UTIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_TEST_UTIL_SRC)))) |
| 2423 | |
| 2424 | |
| 2425 | $(LIBDIR)/$(CONFIG)/libgpr_test_util.a: $(ZLIB_DEP) $(LIBGPR_TEST_UTIL_OBJS) |
| 2426 | $(E) "[AR] Creating $@" |
| 2427 | $(Q) mkdir -p `dirname $@` |
| 2428 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgpr_test_util.a |
| 2429 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBGPR_TEST_UTIL_OBJS) |
| 2430 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 2431 | $(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] | 2432 | endif |
| 2433 | |
| 2434 | |
| 2435 | |
| 2436 | |
| 2437 | ifneq ($(NO_DEPS),true) |
| 2438 | -include $(LIBGPR_TEST_UTIL_OBJS:.o=.dep) |
| 2439 | endif |
| 2440 | |
| 2441 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2442 | LIBGRPC_SRC = \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 2443 | src/core/lib/surface/init.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2444 | src/core/lib/channel/channel_args.c \ |
| 2445 | src/core/lib/channel/channel_stack.c \ |
| 2446 | src/core/lib/channel/channel_stack_builder.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2447 | src/core/lib/channel/compress_filter.c \ |
| 2448 | src/core/lib/channel/connected_channel.c \ |
| 2449 | src/core/lib/channel/http_client_filter.c \ |
| 2450 | src/core/lib/channel/http_server_filter.c \ |
David Garcia Quintas | ac09447 | 2016-05-18 20:25:57 -0700 | [diff] [blame] | 2451 | src/core/lib/compression/compression.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2452 | src/core/lib/compression/message_compress.c \ |
| 2453 | src/core/lib/debug/trace.c \ |
| 2454 | src/core/lib/http/format_request.c \ |
| 2455 | src/core/lib/http/httpcli.c \ |
| 2456 | src/core/lib/http/parser.c \ |
| 2457 | src/core/lib/iomgr/closure.c \ |
| 2458 | src/core/lib/iomgr/endpoint.c \ |
| 2459 | src/core/lib/iomgr/endpoint_pair_posix.c \ |
| 2460 | src/core/lib/iomgr/endpoint_pair_windows.c \ |
Craig Tiller | 27f59af | 2016-04-28 14:19:48 -0700 | [diff] [blame] | 2461 | src/core/lib/iomgr/error.c \ |
Sree Kuchibhotla | f448c34 | 2016-05-19 10:51:24 -0700 | [diff] [blame] | 2462 | src/core/lib/iomgr/ev_epoll_linux.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 2463 | src/core/lib/iomgr/ev_poll_and_epoll_posix.c \ |
Craig Tiller | d9a60bb | 2016-03-28 23:13:19 -0700 | [diff] [blame] | 2464 | src/core/lib/iomgr/ev_poll_posix.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 2465 | src/core/lib/iomgr/ev_posix.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2466 | src/core/lib/iomgr/exec_ctx.c \ |
| 2467 | src/core/lib/iomgr/executor.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2468 | src/core/lib/iomgr/iocp_windows.c \ |
| 2469 | src/core/lib/iomgr/iomgr.c \ |
| 2470 | src/core/lib/iomgr/iomgr_posix.c \ |
| 2471 | src/core/lib/iomgr/iomgr_windows.c \ |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 2472 | src/core/lib/iomgr/load_file.c \ |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 2473 | src/core/lib/iomgr/network_status_tracker.c \ |
David Garcia Quintas | 2a50dfe | 2016-05-31 15:09:12 -0700 | [diff] [blame] | 2474 | src/core/lib/iomgr/polling_entity.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2475 | src/core/lib/iomgr/pollset_set_windows.c \ |
| 2476 | src/core/lib/iomgr/pollset_windows.c \ |
| 2477 | src/core/lib/iomgr/resolve_address_posix.c \ |
| 2478 | src/core/lib/iomgr/resolve_address_windows.c \ |
| 2479 | src/core/lib/iomgr/sockaddr_utils.c \ |
| 2480 | src/core/lib/iomgr/socket_utils_common_posix.c \ |
| 2481 | src/core/lib/iomgr/socket_utils_linux.c \ |
| 2482 | src/core/lib/iomgr/socket_utils_posix.c \ |
| 2483 | src/core/lib/iomgr/socket_windows.c \ |
| 2484 | src/core/lib/iomgr/tcp_client_posix.c \ |
| 2485 | src/core/lib/iomgr/tcp_client_windows.c \ |
| 2486 | src/core/lib/iomgr/tcp_posix.c \ |
| 2487 | src/core/lib/iomgr/tcp_server_posix.c \ |
| 2488 | src/core/lib/iomgr/tcp_server_windows.c \ |
| 2489 | src/core/lib/iomgr/tcp_windows.c \ |
| 2490 | src/core/lib/iomgr/time_averaged_stats.c \ |
| 2491 | src/core/lib/iomgr/timer.c \ |
| 2492 | src/core/lib/iomgr/timer_heap.c \ |
| 2493 | src/core/lib/iomgr/udp_server.c \ |
| 2494 | src/core/lib/iomgr/unix_sockets_posix.c \ |
| 2495 | src/core/lib/iomgr/unix_sockets_posix_noop.c \ |
| 2496 | src/core/lib/iomgr/wakeup_fd_eventfd.c \ |
| 2497 | src/core/lib/iomgr/wakeup_fd_nospecial.c \ |
| 2498 | src/core/lib/iomgr/wakeup_fd_pipe.c \ |
| 2499 | src/core/lib/iomgr/wakeup_fd_posix.c \ |
| 2500 | src/core/lib/iomgr/workqueue_posix.c \ |
| 2501 | src/core/lib/iomgr/workqueue_windows.c \ |
| 2502 | src/core/lib/json/json.c \ |
| 2503 | src/core/lib/json/json_reader.c \ |
| 2504 | src/core/lib/json/json_string.c \ |
| 2505 | src/core/lib/json/json_writer.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2506 | src/core/lib/surface/alarm.c \ |
| 2507 | src/core/lib/surface/api_trace.c \ |
| 2508 | src/core/lib/surface/byte_buffer.c \ |
| 2509 | src/core/lib/surface/byte_buffer_reader.c \ |
| 2510 | src/core/lib/surface/call.c \ |
| 2511 | src/core/lib/surface/call_details.c \ |
| 2512 | src/core/lib/surface/call_log_batch.c \ |
| 2513 | src/core/lib/surface/channel.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2514 | src/core/lib/surface/channel_init.c \ |
| 2515 | src/core/lib/surface/channel_ping.c \ |
| 2516 | src/core/lib/surface/channel_stack_type.c \ |
| 2517 | src/core/lib/surface/completion_queue.c \ |
| 2518 | src/core/lib/surface/event_string.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2519 | src/core/lib/surface/lame_client.c \ |
| 2520 | src/core/lib/surface/metadata_array.c \ |
| 2521 | src/core/lib/surface/server.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2522 | src/core/lib/surface/validate_metadata.c \ |
| 2523 | src/core/lib/surface/version.c \ |
| 2524 | src/core/lib/transport/byte_stream.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2525 | src/core/lib/transport/connectivity_state.c \ |
| 2526 | src/core/lib/transport/metadata.c \ |
| 2527 | src/core/lib/transport/metadata_batch.c \ |
| 2528 | src/core/lib/transport/static_metadata.c \ |
| 2529 | src/core/lib/transport/transport.c \ |
| 2530 | src/core/lib/transport/transport_op_string.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2531 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c \ |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 2532 | src/core/ext/transport/chttp2/transport/bin_decoder.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2533 | src/core/ext/transport/chttp2/transport/bin_encoder.c \ |
| 2534 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c \ |
| 2535 | src/core/ext/transport/chttp2/transport/chttp2_transport.c \ |
| 2536 | src/core/ext/transport/chttp2/transport/frame_data.c \ |
| 2537 | src/core/ext/transport/chttp2/transport/frame_goaway.c \ |
| 2538 | src/core/ext/transport/chttp2/transport/frame_ping.c \ |
| 2539 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c \ |
| 2540 | src/core/ext/transport/chttp2/transport/frame_settings.c \ |
| 2541 | src/core/ext/transport/chttp2/transport/frame_window_update.c \ |
| 2542 | src/core/ext/transport/chttp2/transport/hpack_encoder.c \ |
| 2543 | src/core/ext/transport/chttp2/transport/hpack_parser.c \ |
| 2544 | src/core/ext/transport/chttp2/transport/hpack_table.c \ |
| 2545 | src/core/ext/transport/chttp2/transport/huffsyms.c \ |
| 2546 | src/core/ext/transport/chttp2/transport/incoming_metadata.c \ |
| 2547 | src/core/ext/transport/chttp2/transport/parsing.c \ |
| 2548 | src/core/ext/transport/chttp2/transport/status_conversion.c \ |
| 2549 | src/core/ext/transport/chttp2/transport/stream_lists.c \ |
| 2550 | src/core/ext/transport/chttp2/transport/stream_map.c \ |
| 2551 | src/core/ext/transport/chttp2/transport/timeout_encoding.c \ |
| 2552 | src/core/ext/transport/chttp2/transport/varint.c \ |
| 2553 | src/core/ext/transport/chttp2/transport/writing.c \ |
| 2554 | src/core/ext/transport/chttp2/alpn/alpn.c \ |
| 2555 | src/core/lib/http/httpcli_security_connector.c \ |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 2556 | src/core/lib/security/context/security_context.c \ |
| 2557 | src/core/lib/security/credentials/composite/composite_credentials.c \ |
| 2558 | src/core/lib/security/credentials/credentials.c \ |
| 2559 | src/core/lib/security/credentials/credentials_metadata.c \ |
| 2560 | src/core/lib/security/credentials/fake/fake_credentials.c \ |
| 2561 | src/core/lib/security/credentials/google_default/credentials_posix.c \ |
Yuchen Zeng | 4594bd9 | 2016-05-31 14:06:01 -0700 | [diff] [blame] | 2562 | src/core/lib/security/credentials/google_default/credentials_windows.c \ |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 2563 | src/core/lib/security/credentials/google_default/google_default_credentials.c \ |
| 2564 | src/core/lib/security/credentials/iam/iam_credentials.c \ |
| 2565 | src/core/lib/security/credentials/jwt/json_token.c \ |
| 2566 | src/core/lib/security/credentials/jwt/jwt_credentials.c \ |
| 2567 | src/core/lib/security/credentials/jwt/jwt_verifier.c \ |
| 2568 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c \ |
| 2569 | src/core/lib/security/credentials/plugin/plugin_credentials.c \ |
| 2570 | src/core/lib/security/credentials/ssl/ssl_credentials.c \ |
| 2571 | src/core/lib/security/transport/client_auth_filter.c \ |
| 2572 | src/core/lib/security/transport/handshake.c \ |
| 2573 | src/core/lib/security/transport/secure_endpoint.c \ |
| 2574 | src/core/lib/security/transport/security_connector.c \ |
| 2575 | src/core/lib/security/transport/server_auth_filter.c \ |
Craig Tiller | ddad978 | 2016-05-05 17:11:31 -0700 | [diff] [blame] | 2576 | src/core/lib/security/transport/tsi_error.c \ |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 2577 | src/core/lib/security/util/b64.c \ |
| 2578 | src/core/lib/security/util/json_util.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2579 | src/core/lib/surface/init_secure.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2580 | src/core/lib/tsi/fake_transport_security.c \ |
| 2581 | src/core/lib/tsi/ssl_transport_security.c \ |
| 2582 | src/core/lib/tsi/transport_security.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2583 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c \ |
| 2584 | src/core/ext/client_config/channel_connectivity.c \ |
| 2585 | src/core/ext/client_config/client_channel.c \ |
| 2586 | src/core/ext/client_config/client_channel_factory.c \ |
| 2587 | src/core/ext/client_config/client_config.c \ |
| 2588 | src/core/ext/client_config/client_config_plugin.c \ |
| 2589 | src/core/ext/client_config/connector.c \ |
| 2590 | src/core/ext/client_config/default_initial_connect_string.c \ |
| 2591 | src/core/ext/client_config/initial_connect_string.c \ |
| 2592 | src/core/ext/client_config/lb_policy.c \ |
| 2593 | src/core/ext/client_config/lb_policy_factory.c \ |
| 2594 | src/core/ext/client_config/lb_policy_registry.c \ |
David Garcia Quintas | 9885bff | 2016-04-07 17:31:29 -0700 | [diff] [blame] | 2595 | src/core/ext/client_config/parse_address.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2596 | src/core/ext/client_config/resolver.c \ |
| 2597 | src/core/ext/client_config/resolver_factory.c \ |
| 2598 | src/core/ext/client_config/resolver_registry.c \ |
| 2599 | src/core/ext/client_config/subchannel.c \ |
| 2600 | src/core/ext/client_config/subchannel_call_holder.c \ |
| 2601 | src/core/ext/client_config/subchannel_index.c \ |
| 2602 | src/core/ext/client_config/uri_parser.c \ |
| 2603 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \ |
Adam Michalik | bf10c82 | 2016-05-20 16:13:32 -0700 | [diff] [blame] | 2604 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2605 | src/core/ext/transport/chttp2/client/insecure/channel_create.c \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 2606 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2607 | src/core/ext/lb_policy/grpclb/load_balancer_api.c \ |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 2608 | 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] | 2609 | third_party/nanopb/pb_common.c \ |
| 2610 | third_party/nanopb/pb_decode.c \ |
| 2611 | third_party/nanopb/pb_encode.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2612 | src/core/ext/lb_policy/pick_first/pick_first.c \ |
| 2613 | src/core/ext/lb_policy/round_robin/round_robin.c \ |
| 2614 | src/core/ext/resolver/dns/native/dns_resolver.c \ |
| 2615 | src/core/ext/resolver/sockaddr/sockaddr_resolver.c \ |
David Garcia Quintas | b41363e | 2016-04-29 00:41:21 -0700 | [diff] [blame] | 2616 | src/core/ext/load_reporting/load_reporting.c \ |
| 2617 | src/core/ext/load_reporting/load_reporting_filter.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2618 | src/core/ext/census/context.c \ |
Alistair Veitch | 30fe632 | 2016-05-23 10:11:28 -0700 | [diff] [blame] | 2619 | src/core/ext/census/gen/census.pb.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2620 | src/core/ext/census/grpc_context.c \ |
| 2621 | src/core/ext/census/grpc_filter.c \ |
| 2622 | src/core/ext/census/grpc_plugin.c \ |
| 2623 | src/core/ext/census/initialize.c \ |
| 2624 | src/core/ext/census/mlog.c \ |
| 2625 | src/core/ext/census/operation.c \ |
| 2626 | src/core/ext/census/placeholders.c \ |
| 2627 | src/core/ext/census/tracing.c \ |
| 2628 | src/core/plugin_registry/grpc_plugin_registry.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2629 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2630 | PUBLIC_HEADERS_C += \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2631 | include/grpc/byte_buffer.h \ |
| 2632 | include/grpc/byte_buffer_reader.h \ |
David Garcia Quintas | 59f905d | 2015-06-08 16:31:19 -0700 | [diff] [blame] | 2633 | include/grpc/compression.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2634 | include/grpc/grpc.h \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 2635 | include/grpc/grpc_posix.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2636 | include/grpc/status.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2637 | include/grpc/impl/codegen/byte_buffer.h \ |
David Garcia Quintas | 1b2db63 | 2016-04-27 15:06:54 -0700 | [diff] [blame] | 2638 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2639 | include/grpc/impl/codegen/compression_types.h \ |
| 2640 | include/grpc/impl/codegen/connectivity_state.h \ |
| 2641 | include/grpc/impl/codegen/grpc_types.h \ |
| 2642 | include/grpc/impl/codegen/propagation_bits.h \ |
| 2643 | include/grpc/impl/codegen/status.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2644 | include/grpc/impl/codegen/alloc.h \ |
| 2645 | include/grpc/impl/codegen/atm.h \ |
| 2646 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 2647 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2648 | include/grpc/impl/codegen/atm_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2649 | include/grpc/impl/codegen/log.h \ |
| 2650 | include/grpc/impl/codegen/port_platform.h \ |
| 2651 | include/grpc/impl/codegen/slice.h \ |
| 2652 | include/grpc/impl/codegen/slice_buffer.h \ |
| 2653 | include/grpc/impl/codegen/sync.h \ |
| 2654 | include/grpc/impl/codegen/sync_generic.h \ |
| 2655 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2656 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2657 | include/grpc/impl/codegen/time.h \ |
| 2658 | include/grpc/grpc_security.h \ |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 2659 | include/grpc/grpc_security_constants.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2660 | include/grpc/census.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2661 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2662 | LIBGRPC_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_SRC)))) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2663 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 2664 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2665 | ifeq ($(NO_SECURE),true) |
| 2666 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 2667 | # You can't build secure libraries if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 2668 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2669 | $(LIBDIR)/$(CONFIG)/libgrpc.a: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2670 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2671 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2672 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2673 | else |
| 2674 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2675 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 2676 | $(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] | 2677 | $(E) "[AR] Creating $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2678 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2679 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc.a |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 2680 | $(Q) $(AR) $(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] | 2681 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 2682 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 2683 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2684 | |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2685 | |
| 2686 | |
| 2687 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2688 | $(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] | 2689 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2690 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2691 | $(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] | 2692 | else |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 2693 | $(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] | 2694 | $(E) "[LD] Linking $@" |
| 2695 | $(Q) mkdir -p `dirname $@` |
| 2696 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2697 | $(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] | 2698 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2699 | $(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) |
| 2700 | $(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] | 2701 | $(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] | 2702 | endif |
| 2703 | endif |
| 2704 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2705 | endif |
| 2706 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2707 | ifneq ($(NO_SECURE),true) |
| 2708 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 2709 | -include $(LIBGRPC_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2710 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2711 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2712 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2713 | |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2714 | LIBGRPC_CRONET_SRC = \ |
| 2715 | src/core/lib/surface/init.c \ |
| 2716 | src/core/lib/channel/channel_args.c \ |
| 2717 | src/core/lib/channel/channel_stack.c \ |
| 2718 | src/core/lib/channel/channel_stack_builder.c \ |
| 2719 | src/core/lib/channel/compress_filter.c \ |
| 2720 | src/core/lib/channel/connected_channel.c \ |
| 2721 | src/core/lib/channel/http_client_filter.c \ |
| 2722 | src/core/lib/channel/http_server_filter.c \ |
David Garcia Quintas | 37e516e | 2016-06-07 21:23:41 -0700 | [diff] [blame] | 2723 | src/core/lib/compression/compression.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2724 | src/core/lib/compression/message_compress.c \ |
| 2725 | src/core/lib/debug/trace.c \ |
| 2726 | src/core/lib/http/format_request.c \ |
| 2727 | src/core/lib/http/httpcli.c \ |
| 2728 | src/core/lib/http/parser.c \ |
| 2729 | src/core/lib/iomgr/closure.c \ |
| 2730 | src/core/lib/iomgr/endpoint.c \ |
| 2731 | src/core/lib/iomgr/endpoint_pair_posix.c \ |
| 2732 | src/core/lib/iomgr/endpoint_pair_windows.c \ |
Craig Tiller | 2888bd5 | 2016-06-07 11:00:42 -0700 | [diff] [blame] | 2733 | src/core/lib/iomgr/error.c \ |
Sree Kuchibhotla | 492fd96 | 2016-06-10 09:03:34 -0700 | [diff] [blame] | 2734 | src/core/lib/iomgr/ev_epoll_linux.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2735 | src/core/lib/iomgr/ev_poll_and_epoll_posix.c \ |
| 2736 | src/core/lib/iomgr/ev_poll_posix.c \ |
| 2737 | src/core/lib/iomgr/ev_posix.c \ |
| 2738 | src/core/lib/iomgr/exec_ctx.c \ |
| 2739 | src/core/lib/iomgr/executor.c \ |
| 2740 | src/core/lib/iomgr/iocp_windows.c \ |
| 2741 | src/core/lib/iomgr/iomgr.c \ |
| 2742 | src/core/lib/iomgr/iomgr_posix.c \ |
| 2743 | src/core/lib/iomgr/iomgr_windows.c \ |
Craig Tiller | 2888bd5 | 2016-06-07 11:00:42 -0700 | [diff] [blame] | 2744 | src/core/lib/iomgr/load_file.c \ |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 2745 | src/core/lib/iomgr/network_status_tracker.c \ |
David Garcia Quintas | 4461da7 | 2016-06-06 16:45:01 -0700 | [diff] [blame] | 2746 | src/core/lib/iomgr/polling_entity.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2747 | src/core/lib/iomgr/pollset_set_windows.c \ |
| 2748 | src/core/lib/iomgr/pollset_windows.c \ |
| 2749 | src/core/lib/iomgr/resolve_address_posix.c \ |
| 2750 | src/core/lib/iomgr/resolve_address_windows.c \ |
| 2751 | src/core/lib/iomgr/sockaddr_utils.c \ |
| 2752 | src/core/lib/iomgr/socket_utils_common_posix.c \ |
| 2753 | src/core/lib/iomgr/socket_utils_linux.c \ |
| 2754 | src/core/lib/iomgr/socket_utils_posix.c \ |
| 2755 | src/core/lib/iomgr/socket_windows.c \ |
| 2756 | src/core/lib/iomgr/tcp_client_posix.c \ |
| 2757 | src/core/lib/iomgr/tcp_client_windows.c \ |
| 2758 | src/core/lib/iomgr/tcp_posix.c \ |
| 2759 | src/core/lib/iomgr/tcp_server_posix.c \ |
| 2760 | src/core/lib/iomgr/tcp_server_windows.c \ |
| 2761 | src/core/lib/iomgr/tcp_windows.c \ |
| 2762 | src/core/lib/iomgr/time_averaged_stats.c \ |
| 2763 | src/core/lib/iomgr/timer.c \ |
| 2764 | src/core/lib/iomgr/timer_heap.c \ |
| 2765 | src/core/lib/iomgr/udp_server.c \ |
| 2766 | src/core/lib/iomgr/unix_sockets_posix.c \ |
| 2767 | src/core/lib/iomgr/unix_sockets_posix_noop.c \ |
| 2768 | src/core/lib/iomgr/wakeup_fd_eventfd.c \ |
| 2769 | src/core/lib/iomgr/wakeup_fd_nospecial.c \ |
| 2770 | src/core/lib/iomgr/wakeup_fd_pipe.c \ |
| 2771 | src/core/lib/iomgr/wakeup_fd_posix.c \ |
| 2772 | src/core/lib/iomgr/workqueue_posix.c \ |
| 2773 | src/core/lib/iomgr/workqueue_windows.c \ |
| 2774 | src/core/lib/json/json.c \ |
| 2775 | src/core/lib/json/json_reader.c \ |
| 2776 | src/core/lib/json/json_string.c \ |
| 2777 | src/core/lib/json/json_writer.c \ |
| 2778 | src/core/lib/surface/alarm.c \ |
| 2779 | src/core/lib/surface/api_trace.c \ |
| 2780 | src/core/lib/surface/byte_buffer.c \ |
| 2781 | src/core/lib/surface/byte_buffer_reader.c \ |
| 2782 | src/core/lib/surface/call.c \ |
| 2783 | src/core/lib/surface/call_details.c \ |
| 2784 | src/core/lib/surface/call_log_batch.c \ |
| 2785 | src/core/lib/surface/channel.c \ |
| 2786 | src/core/lib/surface/channel_init.c \ |
| 2787 | src/core/lib/surface/channel_ping.c \ |
| 2788 | src/core/lib/surface/channel_stack_type.c \ |
| 2789 | src/core/lib/surface/completion_queue.c \ |
| 2790 | src/core/lib/surface/event_string.c \ |
| 2791 | src/core/lib/surface/lame_client.c \ |
| 2792 | src/core/lib/surface/metadata_array.c \ |
| 2793 | src/core/lib/surface/server.c \ |
| 2794 | src/core/lib/surface/validate_metadata.c \ |
| 2795 | src/core/lib/surface/version.c \ |
| 2796 | src/core/lib/transport/byte_stream.c \ |
| 2797 | src/core/lib/transport/connectivity_state.c \ |
| 2798 | src/core/lib/transport/metadata.c \ |
| 2799 | src/core/lib/transport/metadata_batch.c \ |
| 2800 | src/core/lib/transport/static_metadata.c \ |
| 2801 | src/core/lib/transport/transport.c \ |
| 2802 | src/core/lib/transport/transport_op_string.c \ |
| 2803 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c \ |
| 2804 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c \ |
| 2805 | src/core/ext/transport/cronet/transport/cronet_transport.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2806 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c \ |
Yuchen Zeng | 0a0c1b0 | 2016-06-08 17:52:05 -0700 | [diff] [blame] | 2807 | src/core/ext/transport/chttp2/transport/bin_decoder.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2808 | src/core/ext/transport/chttp2/transport/bin_encoder.c \ |
| 2809 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c \ |
| 2810 | src/core/ext/transport/chttp2/transport/chttp2_transport.c \ |
| 2811 | src/core/ext/transport/chttp2/transport/frame_data.c \ |
| 2812 | src/core/ext/transport/chttp2/transport/frame_goaway.c \ |
| 2813 | src/core/ext/transport/chttp2/transport/frame_ping.c \ |
| 2814 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c \ |
| 2815 | src/core/ext/transport/chttp2/transport/frame_settings.c \ |
| 2816 | src/core/ext/transport/chttp2/transport/frame_window_update.c \ |
| 2817 | src/core/ext/transport/chttp2/transport/hpack_encoder.c \ |
| 2818 | src/core/ext/transport/chttp2/transport/hpack_parser.c \ |
| 2819 | src/core/ext/transport/chttp2/transport/hpack_table.c \ |
| 2820 | src/core/ext/transport/chttp2/transport/huffsyms.c \ |
| 2821 | src/core/ext/transport/chttp2/transport/incoming_metadata.c \ |
| 2822 | src/core/ext/transport/chttp2/transport/parsing.c \ |
| 2823 | src/core/ext/transport/chttp2/transport/status_conversion.c \ |
| 2824 | src/core/ext/transport/chttp2/transport/stream_lists.c \ |
| 2825 | src/core/ext/transport/chttp2/transport/stream_map.c \ |
| 2826 | src/core/ext/transport/chttp2/transport/timeout_encoding.c \ |
| 2827 | src/core/ext/transport/chttp2/transport/varint.c \ |
| 2828 | src/core/ext/transport/chttp2/transport/writing.c \ |
| 2829 | src/core/ext/transport/chttp2/alpn/alpn.c \ |
| 2830 | src/core/ext/client_config/channel_connectivity.c \ |
| 2831 | src/core/ext/client_config/client_channel.c \ |
| 2832 | src/core/ext/client_config/client_channel_factory.c \ |
| 2833 | src/core/ext/client_config/client_config.c \ |
| 2834 | src/core/ext/client_config/client_config_plugin.c \ |
| 2835 | src/core/ext/client_config/connector.c \ |
| 2836 | src/core/ext/client_config/default_initial_connect_string.c \ |
| 2837 | src/core/ext/client_config/initial_connect_string.c \ |
| 2838 | src/core/ext/client_config/lb_policy.c \ |
| 2839 | src/core/ext/client_config/lb_policy_factory.c \ |
| 2840 | src/core/ext/client_config/lb_policy_registry.c \ |
| 2841 | src/core/ext/client_config/parse_address.c \ |
| 2842 | src/core/ext/client_config/resolver.c \ |
| 2843 | src/core/ext/client_config/resolver_factory.c \ |
| 2844 | src/core/ext/client_config/resolver_registry.c \ |
| 2845 | src/core/ext/client_config/subchannel.c \ |
| 2846 | src/core/ext/client_config/subchannel_call_holder.c \ |
| 2847 | src/core/ext/client_config/subchannel_index.c \ |
| 2848 | src/core/ext/client_config/uri_parser.c \ |
| 2849 | src/core/lib/http/httpcli_security_connector.c \ |
| 2850 | src/core/lib/security/context/security_context.c \ |
| 2851 | src/core/lib/security/credentials/composite/composite_credentials.c \ |
| 2852 | src/core/lib/security/credentials/credentials.c \ |
| 2853 | src/core/lib/security/credentials/credentials_metadata.c \ |
| 2854 | src/core/lib/security/credentials/fake/fake_credentials.c \ |
| 2855 | src/core/lib/security/credentials/google_default/credentials_posix.c \ |
Jan Tattermusch | 2f7f856 | 2016-06-06 13:34:56 -0700 | [diff] [blame] | 2856 | src/core/lib/security/credentials/google_default/credentials_windows.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2857 | src/core/lib/security/credentials/google_default/google_default_credentials.c \ |
| 2858 | src/core/lib/security/credentials/iam/iam_credentials.c \ |
| 2859 | src/core/lib/security/credentials/jwt/json_token.c \ |
| 2860 | src/core/lib/security/credentials/jwt/jwt_credentials.c \ |
| 2861 | src/core/lib/security/credentials/jwt/jwt_verifier.c \ |
| 2862 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c \ |
| 2863 | src/core/lib/security/credentials/plugin/plugin_credentials.c \ |
| 2864 | src/core/lib/security/credentials/ssl/ssl_credentials.c \ |
| 2865 | src/core/lib/security/transport/client_auth_filter.c \ |
| 2866 | src/core/lib/security/transport/handshake.c \ |
| 2867 | src/core/lib/security/transport/secure_endpoint.c \ |
| 2868 | src/core/lib/security/transport/security_connector.c \ |
| 2869 | src/core/lib/security/transport/server_auth_filter.c \ |
Craig Tiller | 2888bd5 | 2016-06-07 11:00:42 -0700 | [diff] [blame] | 2870 | src/core/lib/security/transport/tsi_error.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2871 | src/core/lib/security/util/b64.c \ |
| 2872 | src/core/lib/security/util/json_util.c \ |
| 2873 | src/core/lib/surface/init_secure.c \ |
| 2874 | src/core/lib/tsi/fake_transport_security.c \ |
| 2875 | src/core/lib/tsi/ssl_transport_security.c \ |
| 2876 | src/core/lib/tsi/transport_security.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2877 | src/core/plugin_registry/grpc_cronet_plugin_registry.c \ |
| 2878 | |
| 2879 | PUBLIC_HEADERS_C += \ |
| 2880 | include/grpc/byte_buffer.h \ |
| 2881 | include/grpc/byte_buffer_reader.h \ |
| 2882 | include/grpc/compression.h \ |
| 2883 | include/grpc/grpc.h \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 2884 | include/grpc/grpc_posix.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2885 | include/grpc/status.h \ |
| 2886 | include/grpc/impl/codegen/byte_buffer.h \ |
| 2887 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 2888 | include/grpc/impl/codegen/compression_types.h \ |
| 2889 | include/grpc/impl/codegen/connectivity_state.h \ |
| 2890 | include/grpc/impl/codegen/grpc_types.h \ |
| 2891 | include/grpc/impl/codegen/propagation_bits.h \ |
| 2892 | include/grpc/impl/codegen/status.h \ |
| 2893 | include/grpc/impl/codegen/alloc.h \ |
| 2894 | include/grpc/impl/codegen/atm.h \ |
| 2895 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 2896 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Jan Tattermusch | 2f7f856 | 2016-06-06 13:34:56 -0700 | [diff] [blame] | 2897 | include/grpc/impl/codegen/atm_windows.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2898 | include/grpc/impl/codegen/log.h \ |
| 2899 | include/grpc/impl/codegen/port_platform.h \ |
| 2900 | include/grpc/impl/codegen/slice.h \ |
| 2901 | include/grpc/impl/codegen/slice_buffer.h \ |
| 2902 | include/grpc/impl/codegen/sync.h \ |
| 2903 | include/grpc/impl/codegen/sync_generic.h \ |
| 2904 | include/grpc/impl/codegen/sync_posix.h \ |
Jan Tattermusch | 2f7f856 | 2016-06-06 13:34:56 -0700 | [diff] [blame] | 2905 | include/grpc/impl/codegen/sync_windows.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2906 | include/grpc/impl/codegen/time.h \ |
| 2907 | include/grpc/grpc_cronet.h \ |
| 2908 | include/grpc/grpc_security.h \ |
| 2909 | include/grpc/grpc_security_constants.h \ |
| 2910 | |
| 2911 | LIBGRPC_CRONET_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_CRONET_SRC)))) |
| 2912 | |
| 2913 | |
| 2914 | ifeq ($(NO_SECURE),true) |
| 2915 | |
| 2916 | # You can't build secure libraries if you don't have OpenSSL. |
| 2917 | |
| 2918 | $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a: openssl_dep_error |
| 2919 | |
| 2920 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
| 2921 | |
| 2922 | else |
| 2923 | |
| 2924 | |
| 2925 | $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_CRONET_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) $(OPENSSL_MERGE_OBJS) |
| 2926 | $(E) "[AR] Creating $@" |
| 2927 | $(Q) mkdir -p `dirname $@` |
| 2928 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a |
| 2929 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a $(LIBGRPC_CRONET_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) $(OPENSSL_MERGE_OBJS) |
| 2930 | ifeq ($(SYSTEM),Darwin) |
| 2931 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a |
| 2932 | endif |
| 2933 | |
| 2934 | |
| 2935 | |
| 2936 | ifeq ($(SYSTEM),MINGW32) |
| 2937 | $(LIBDIR)/$(CONFIG)/grpc_cronet$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_CRONET_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_DEP) |
| 2938 | $(E) "[LD] Linking $@" |
| 2939 | $(Q) mkdir -p `dirname $@` |
| 2940 | $(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) |
| 2941 | else |
| 2942 | $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_CRONET_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_DEP) |
| 2943 | $(E) "[LD] Linking $@" |
| 2944 | $(Q) mkdir -p `dirname $@` |
| 2945 | ifeq ($(SYSTEM),Darwin) |
| 2946 | $(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) |
| 2947 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 2948 | $(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) |
| 2949 | $(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] | 2950 | $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION).so |
| 2951 | endif |
| 2952 | endif |
| 2953 | |
| 2954 | endif |
| 2955 | |
| 2956 | ifneq ($(NO_SECURE),true) |
| 2957 | ifneq ($(NO_DEPS),true) |
| 2958 | -include $(LIBGRPC_CRONET_OBJS:.o=.dep) |
| 2959 | endif |
| 2960 | endif |
| 2961 | |
| 2962 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2963 | LIBGRPC_TEST_UTIL_SRC = \ |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 2964 | test/core/end2end/data/client_certs.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2965 | test/core/end2end/data/server1_cert.c \ |
| 2966 | test/core/end2end/data/server1_key.c \ |
| 2967 | test/core/end2end/data/test_root_cert.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2968 | test/core/security/oauth2_utils.c \ |
| 2969 | test/core/end2end/cq_verifier.c \ |
Craig Tiller | 17effab | 2015-08-04 08:19:36 -0700 | [diff] [blame] | 2970 | test/core/end2end/fixtures/proxy.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2971 | test/core/iomgr/endpoint_tests.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2972 | test/core/util/grpc_profiler.c \ |
Nicolas "Pixel" Noble | 85a46dd | 2016-04-12 01:50:51 +0200 | [diff] [blame] | 2973 | test/core/util/memory_counters.c \ |
Craig Tiller | 2d8d13a | 2016-04-03 13:04:41 -0700 | [diff] [blame] | 2974 | test/core/util/mock_endpoint.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2975 | test/core/util/parse_hexstring.c \ |
Craig Tiller | 62c7a5a | 2016-04-13 22:25:03 -0700 | [diff] [blame] | 2976 | test/core/util/passthru_endpoint.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2977 | test/core/util/port_posix.c \ |
Craig Tiller | 19d7d80 | 2016-03-17 08:47:05 -0700 | [diff] [blame] | 2978 | test/core/util/port_server_client.c \ |
Craig Tiller | 34cf2f3 | 2015-04-08 16:10:00 -0700 | [diff] [blame] | 2979 | test/core/util/port_windows.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2980 | test/core/util/slice_splitter.c \ |
| 2981 | |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 2982 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2983 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2984 | 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] | 2985 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 2986 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2987 | ifeq ($(NO_SECURE),true) |
| 2988 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 2989 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2990 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2991 | $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2992 | |
| 2993 | |
| 2994 | else |
| 2995 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2996 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 2997 | $(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] | 2998 | $(E) "[AR] Creating $@" |
| 2999 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3000 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3001 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBGRPC_TEST_UTIL_OBJS) |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3002 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3003 | $(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] | 3004 | endif |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3005 | |
| 3006 | |
| 3007 | |
| 3008 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3009 | endif |
| 3010 | |
| 3011 | ifneq ($(NO_SECURE),true) |
| 3012 | ifneq ($(NO_DEPS),true) |
| 3013 | -include $(LIBGRPC_TEST_UTIL_OBJS:.o=.dep) |
| 3014 | endif |
| 3015 | endif |
| 3016 | |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3017 | |
| 3018 | LIBGRPC_TEST_UTIL_UNSECURE_SRC = \ |
| 3019 | test/core/end2end/cq_verifier.c \ |
Craig Tiller | 17effab | 2015-08-04 08:19:36 -0700 | [diff] [blame] | 3020 | test/core/end2end/fixtures/proxy.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3021 | test/core/iomgr/endpoint_tests.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3022 | test/core/util/grpc_profiler.c \ |
Nicolas "Pixel" Noble | 85a46dd | 2016-04-12 01:50:51 +0200 | [diff] [blame] | 3023 | test/core/util/memory_counters.c \ |
Craig Tiller | 2d8d13a | 2016-04-03 13:04:41 -0700 | [diff] [blame] | 3024 | test/core/util/mock_endpoint.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3025 | test/core/util/parse_hexstring.c \ |
Craig Tiller | 62c7a5a | 2016-04-13 22:25:03 -0700 | [diff] [blame] | 3026 | test/core/util/passthru_endpoint.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3027 | test/core/util/port_posix.c \ |
Craig Tiller | 19d7d80 | 2016-03-17 08:47:05 -0700 | [diff] [blame] | 3028 | test/core/util/port_server_client.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3029 | test/core/util/port_windows.c \ |
| 3030 | test/core/util/slice_splitter.c \ |
| 3031 | |
| 3032 | PUBLIC_HEADERS_C += \ |
| 3033 | |
| 3034 | LIBGRPC_TEST_UTIL_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_TEST_UTIL_UNSECURE_SRC)))) |
| 3035 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3036 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3037 | $(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] | 3038 | $(E) "[AR] Creating $@" |
| 3039 | $(Q) mkdir -p `dirname $@` |
| 3040 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3041 | $(Q) $(AR) $(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] | 3042 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3043 | $(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] | 3044 | endif |
| 3045 | |
| 3046 | |
| 3047 | |
| 3048 | |
| 3049 | ifneq ($(NO_DEPS),true) |
| 3050 | -include $(LIBGRPC_TEST_UTIL_UNSECURE_OBJS:.o=.dep) |
| 3051 | endif |
| 3052 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3053 | |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3054 | LIBGRPC_UNSECURE_SRC = \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 3055 | src/core/lib/surface/init.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3056 | src/core/lib/surface/init_unsecure.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3057 | src/core/lib/channel/channel_args.c \ |
| 3058 | src/core/lib/channel/channel_stack.c \ |
| 3059 | src/core/lib/channel/channel_stack_builder.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3060 | src/core/lib/channel/compress_filter.c \ |
| 3061 | src/core/lib/channel/connected_channel.c \ |
| 3062 | src/core/lib/channel/http_client_filter.c \ |
| 3063 | src/core/lib/channel/http_server_filter.c \ |
David Garcia Quintas | ac09447 | 2016-05-18 20:25:57 -0700 | [diff] [blame] | 3064 | src/core/lib/compression/compression.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3065 | src/core/lib/compression/message_compress.c \ |
| 3066 | src/core/lib/debug/trace.c \ |
| 3067 | src/core/lib/http/format_request.c \ |
| 3068 | src/core/lib/http/httpcli.c \ |
| 3069 | src/core/lib/http/parser.c \ |
| 3070 | src/core/lib/iomgr/closure.c \ |
| 3071 | src/core/lib/iomgr/endpoint.c \ |
| 3072 | src/core/lib/iomgr/endpoint_pair_posix.c \ |
| 3073 | src/core/lib/iomgr/endpoint_pair_windows.c \ |
Craig Tiller | 27f59af | 2016-04-28 14:19:48 -0700 | [diff] [blame] | 3074 | src/core/lib/iomgr/error.c \ |
Sree Kuchibhotla | f448c34 | 2016-05-19 10:51:24 -0700 | [diff] [blame] | 3075 | src/core/lib/iomgr/ev_epoll_linux.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 3076 | src/core/lib/iomgr/ev_poll_and_epoll_posix.c \ |
Craig Tiller | d9a60bb | 2016-03-28 23:13:19 -0700 | [diff] [blame] | 3077 | src/core/lib/iomgr/ev_poll_posix.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 3078 | src/core/lib/iomgr/ev_posix.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3079 | src/core/lib/iomgr/exec_ctx.c \ |
| 3080 | src/core/lib/iomgr/executor.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3081 | src/core/lib/iomgr/iocp_windows.c \ |
| 3082 | src/core/lib/iomgr/iomgr.c \ |
| 3083 | src/core/lib/iomgr/iomgr_posix.c \ |
| 3084 | src/core/lib/iomgr/iomgr_windows.c \ |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 3085 | src/core/lib/iomgr/load_file.c \ |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 3086 | src/core/lib/iomgr/network_status_tracker.c \ |
David Garcia Quintas | 2a50dfe | 2016-05-31 15:09:12 -0700 | [diff] [blame] | 3087 | src/core/lib/iomgr/polling_entity.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3088 | src/core/lib/iomgr/pollset_set_windows.c \ |
| 3089 | src/core/lib/iomgr/pollset_windows.c \ |
| 3090 | src/core/lib/iomgr/resolve_address_posix.c \ |
| 3091 | src/core/lib/iomgr/resolve_address_windows.c \ |
| 3092 | src/core/lib/iomgr/sockaddr_utils.c \ |
| 3093 | src/core/lib/iomgr/socket_utils_common_posix.c \ |
| 3094 | src/core/lib/iomgr/socket_utils_linux.c \ |
| 3095 | src/core/lib/iomgr/socket_utils_posix.c \ |
| 3096 | src/core/lib/iomgr/socket_windows.c \ |
| 3097 | src/core/lib/iomgr/tcp_client_posix.c \ |
| 3098 | src/core/lib/iomgr/tcp_client_windows.c \ |
| 3099 | src/core/lib/iomgr/tcp_posix.c \ |
| 3100 | src/core/lib/iomgr/tcp_server_posix.c \ |
| 3101 | src/core/lib/iomgr/tcp_server_windows.c \ |
| 3102 | src/core/lib/iomgr/tcp_windows.c \ |
| 3103 | src/core/lib/iomgr/time_averaged_stats.c \ |
| 3104 | src/core/lib/iomgr/timer.c \ |
| 3105 | src/core/lib/iomgr/timer_heap.c \ |
| 3106 | src/core/lib/iomgr/udp_server.c \ |
| 3107 | src/core/lib/iomgr/unix_sockets_posix.c \ |
| 3108 | src/core/lib/iomgr/unix_sockets_posix_noop.c \ |
| 3109 | src/core/lib/iomgr/wakeup_fd_eventfd.c \ |
| 3110 | src/core/lib/iomgr/wakeup_fd_nospecial.c \ |
| 3111 | src/core/lib/iomgr/wakeup_fd_pipe.c \ |
| 3112 | src/core/lib/iomgr/wakeup_fd_posix.c \ |
| 3113 | src/core/lib/iomgr/workqueue_posix.c \ |
| 3114 | src/core/lib/iomgr/workqueue_windows.c \ |
| 3115 | src/core/lib/json/json.c \ |
| 3116 | src/core/lib/json/json_reader.c \ |
| 3117 | src/core/lib/json/json_string.c \ |
| 3118 | src/core/lib/json/json_writer.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3119 | src/core/lib/surface/alarm.c \ |
| 3120 | src/core/lib/surface/api_trace.c \ |
| 3121 | src/core/lib/surface/byte_buffer.c \ |
| 3122 | src/core/lib/surface/byte_buffer_reader.c \ |
| 3123 | src/core/lib/surface/call.c \ |
| 3124 | src/core/lib/surface/call_details.c \ |
| 3125 | src/core/lib/surface/call_log_batch.c \ |
| 3126 | src/core/lib/surface/channel.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3127 | src/core/lib/surface/channel_init.c \ |
| 3128 | src/core/lib/surface/channel_ping.c \ |
| 3129 | src/core/lib/surface/channel_stack_type.c \ |
| 3130 | src/core/lib/surface/completion_queue.c \ |
| 3131 | src/core/lib/surface/event_string.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3132 | src/core/lib/surface/lame_client.c \ |
| 3133 | src/core/lib/surface/metadata_array.c \ |
| 3134 | src/core/lib/surface/server.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3135 | src/core/lib/surface/validate_metadata.c \ |
| 3136 | src/core/lib/surface/version.c \ |
| 3137 | src/core/lib/transport/byte_stream.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3138 | src/core/lib/transport/connectivity_state.c \ |
| 3139 | src/core/lib/transport/metadata.c \ |
| 3140 | src/core/lib/transport/metadata_batch.c \ |
| 3141 | src/core/lib/transport/static_metadata.c \ |
| 3142 | src/core/lib/transport/transport.c \ |
| 3143 | src/core/lib/transport/transport_op_string.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3144 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \ |
Adam Michalik | bf10c82 | 2016-05-20 16:13:32 -0700 | [diff] [blame] | 3145 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \ |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 3146 | src/core/ext/transport/chttp2/transport/bin_decoder.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3147 | src/core/ext/transport/chttp2/transport/bin_encoder.c \ |
| 3148 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c \ |
| 3149 | src/core/ext/transport/chttp2/transport/chttp2_transport.c \ |
| 3150 | src/core/ext/transport/chttp2/transport/frame_data.c \ |
| 3151 | src/core/ext/transport/chttp2/transport/frame_goaway.c \ |
| 3152 | src/core/ext/transport/chttp2/transport/frame_ping.c \ |
| 3153 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c \ |
| 3154 | src/core/ext/transport/chttp2/transport/frame_settings.c \ |
| 3155 | src/core/ext/transport/chttp2/transport/frame_window_update.c \ |
| 3156 | src/core/ext/transport/chttp2/transport/hpack_encoder.c \ |
| 3157 | src/core/ext/transport/chttp2/transport/hpack_parser.c \ |
| 3158 | src/core/ext/transport/chttp2/transport/hpack_table.c \ |
| 3159 | src/core/ext/transport/chttp2/transport/huffsyms.c \ |
| 3160 | src/core/ext/transport/chttp2/transport/incoming_metadata.c \ |
| 3161 | src/core/ext/transport/chttp2/transport/parsing.c \ |
| 3162 | src/core/ext/transport/chttp2/transport/status_conversion.c \ |
| 3163 | src/core/ext/transport/chttp2/transport/stream_lists.c \ |
| 3164 | src/core/ext/transport/chttp2/transport/stream_map.c \ |
| 3165 | src/core/ext/transport/chttp2/transport/timeout_encoding.c \ |
| 3166 | src/core/ext/transport/chttp2/transport/varint.c \ |
| 3167 | src/core/ext/transport/chttp2/transport/writing.c \ |
| 3168 | src/core/ext/transport/chttp2/alpn/alpn.c \ |
| 3169 | src/core/ext/transport/chttp2/client/insecure/channel_create.c \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 3170 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3171 | src/core/ext/client_config/channel_connectivity.c \ |
| 3172 | src/core/ext/client_config/client_channel.c \ |
| 3173 | src/core/ext/client_config/client_channel_factory.c \ |
| 3174 | src/core/ext/client_config/client_config.c \ |
| 3175 | src/core/ext/client_config/client_config_plugin.c \ |
| 3176 | src/core/ext/client_config/connector.c \ |
| 3177 | src/core/ext/client_config/default_initial_connect_string.c \ |
| 3178 | src/core/ext/client_config/initial_connect_string.c \ |
| 3179 | src/core/ext/client_config/lb_policy.c \ |
| 3180 | src/core/ext/client_config/lb_policy_factory.c \ |
| 3181 | src/core/ext/client_config/lb_policy_registry.c \ |
David Garcia Quintas | 9885bff | 2016-04-07 17:31:29 -0700 | [diff] [blame] | 3182 | src/core/ext/client_config/parse_address.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3183 | src/core/ext/client_config/resolver.c \ |
| 3184 | src/core/ext/client_config/resolver_factory.c \ |
| 3185 | src/core/ext/client_config/resolver_registry.c \ |
| 3186 | src/core/ext/client_config/subchannel.c \ |
| 3187 | src/core/ext/client_config/subchannel_call_holder.c \ |
| 3188 | src/core/ext/client_config/subchannel_index.c \ |
| 3189 | src/core/ext/client_config/uri_parser.c \ |
| 3190 | src/core/ext/resolver/dns/native/dns_resolver.c \ |
| 3191 | src/core/ext/resolver/sockaddr/sockaddr_resolver.c \ |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 3192 | src/core/ext/load_reporting/load_reporting.c \ |
| 3193 | src/core/ext/load_reporting/load_reporting_filter.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3194 | src/core/ext/lb_policy/grpclb/load_balancer_api.c \ |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 3195 | 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] | 3196 | third_party/nanopb/pb_common.c \ |
| 3197 | third_party/nanopb/pb_decode.c \ |
| 3198 | third_party/nanopb/pb_encode.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3199 | src/core/ext/lb_policy/pick_first/pick_first.c \ |
| 3200 | src/core/ext/lb_policy/round_robin/round_robin.c \ |
| 3201 | src/core/ext/census/context.c \ |
Alistair Veitch | 30fe632 | 2016-05-23 10:11:28 -0700 | [diff] [blame] | 3202 | src/core/ext/census/gen/census.pb.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3203 | src/core/ext/census/grpc_context.c \ |
| 3204 | src/core/ext/census/grpc_filter.c \ |
| 3205 | src/core/ext/census/grpc_plugin.c \ |
| 3206 | src/core/ext/census/initialize.c \ |
| 3207 | src/core/ext/census/mlog.c \ |
| 3208 | src/core/ext/census/operation.c \ |
| 3209 | src/core/ext/census/placeholders.c \ |
| 3210 | src/core/ext/census/tracing.c \ |
| 3211 | src/core/plugin_registry/grpc_unsecure_plugin_registry.c \ |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3212 | |
| 3213 | PUBLIC_HEADERS_C += \ |
| 3214 | include/grpc/byte_buffer.h \ |
| 3215 | include/grpc/byte_buffer_reader.h \ |
David Garcia Quintas | 59f905d | 2015-06-08 16:31:19 -0700 | [diff] [blame] | 3216 | include/grpc/compression.h \ |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3217 | include/grpc/grpc.h \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 3218 | include/grpc/grpc_posix.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3219 | include/grpc/status.h \ |
Craig Tiller | ad09598 | 2016-02-09 12:45:04 -0800 | [diff] [blame] | 3220 | include/grpc/impl/codegen/byte_buffer.h \ |
David Garcia Quintas | 1b2db63 | 2016-04-27 15:06:54 -0700 | [diff] [blame] | 3221 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
Craig Tiller | ad09598 | 2016-02-09 12:45:04 -0800 | [diff] [blame] | 3222 | include/grpc/impl/codegen/compression_types.h \ |
| 3223 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3224 | include/grpc/impl/codegen/grpc_types.h \ |
| 3225 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3226 | include/grpc/impl/codegen/status.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3227 | include/grpc/impl/codegen/alloc.h \ |
| 3228 | include/grpc/impl/codegen/atm.h \ |
| 3229 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3230 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3231 | include/grpc/impl/codegen/atm_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3232 | include/grpc/impl/codegen/log.h \ |
| 3233 | include/grpc/impl/codegen/port_platform.h \ |
| 3234 | include/grpc/impl/codegen/slice.h \ |
| 3235 | include/grpc/impl/codegen/slice_buffer.h \ |
| 3236 | include/grpc/impl/codegen/sync.h \ |
| 3237 | include/grpc/impl/codegen/sync_generic.h \ |
| 3238 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3239 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3240 | include/grpc/impl/codegen/time.h \ |
| 3241 | include/grpc/census.h \ |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3242 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3243 | LIBGRPC_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_UNSECURE_SRC)))) |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3244 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3245 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3246 | $(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] | 3247 | $(E) "[AR] Creating $@" |
| 3248 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3249 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3250 | $(Q) $(AR) $(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] | 3251 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3252 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3253 | endif |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3254 | |
| 3255 | |
| 3256 | |
| 3257 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3258 | $(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] | 3259 | $(E) "[LD] Linking $@" |
| 3260 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3261 | $(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] | 3262 | else |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3263 | $(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] | 3264 | $(E) "[LD] Linking $@" |
| 3265 | $(Q) mkdir -p `dirname $@` |
| 3266 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3267 | $(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] | 3268 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 3269 | $(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) |
| 3270 | $(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] | 3271 | $(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] | 3272 | endif |
| 3273 | endif |
| 3274 | |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3275 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 3276 | -include $(LIBGRPC_UNSECURE_OBJS:.o=.dep) |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3277 | endif |
| 3278 | |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3279 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3280 | LIBRECONNECT_SERVER_SRC = \ |
| 3281 | test/core/util/reconnect_server.c \ |
| 3282 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3283 | PUBLIC_HEADERS_C += \ |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3284 | |
| 3285 | LIBRECONNECT_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBRECONNECT_SERVER_SRC)))) |
| 3286 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3287 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3288 | ifeq ($(NO_SECURE),true) |
| 3289 | |
| 3290 | # You can't build secure libraries if you don't have OpenSSL. |
| 3291 | |
| 3292 | $(LIBDIR)/$(CONFIG)/libreconnect_server.a: openssl_dep_error |
| 3293 | |
| 3294 | |
| 3295 | else |
| 3296 | |
| 3297 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3298 | $(LIBDIR)/$(CONFIG)/libreconnect_server.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBRECONNECT_SERVER_OBJS) |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3299 | $(E) "[AR] Creating $@" |
| 3300 | $(Q) mkdir -p `dirname $@` |
| 3301 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libreconnect_server.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3302 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBRECONNECT_SERVER_OBJS) |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3303 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3304 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libreconnect_server.a |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3305 | endif |
| 3306 | |
| 3307 | |
| 3308 | |
| 3309 | |
| 3310 | endif |
| 3311 | |
| 3312 | ifneq ($(NO_SECURE),true) |
| 3313 | ifneq ($(NO_DEPS),true) |
| 3314 | -include $(LIBRECONNECT_SERVER_OBJS:.o=.dep) |
| 3315 | endif |
| 3316 | endif |
| 3317 | |
| 3318 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3319 | LIBTEST_TCP_SERVER_SRC = \ |
| 3320 | test/core/util/test_tcp_server.c \ |
| 3321 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3322 | PUBLIC_HEADERS_C += \ |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3323 | |
| 3324 | LIBTEST_TCP_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBTEST_TCP_SERVER_SRC)))) |
| 3325 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3326 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3327 | ifeq ($(NO_SECURE),true) |
| 3328 | |
| 3329 | # You can't build secure libraries if you don't have OpenSSL. |
| 3330 | |
| 3331 | $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a: openssl_dep_error |
| 3332 | |
| 3333 | |
| 3334 | else |
| 3335 | |
| 3336 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3337 | $(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] | 3338 | $(E) "[AR] Creating $@" |
| 3339 | $(Q) mkdir -p `dirname $@` |
| 3340 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3341 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBTEST_TCP_SERVER_OBJS) |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3342 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3343 | $(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] | 3344 | endif |
| 3345 | |
| 3346 | |
| 3347 | |
| 3348 | |
| 3349 | endif |
| 3350 | |
| 3351 | ifneq ($(NO_SECURE),true) |
| 3352 | ifneq ($(NO_DEPS),true) |
| 3353 | -include $(LIBTEST_TCP_SERVER_OBJS:.o=.dep) |
| 3354 | endif |
| 3355 | endif |
| 3356 | |
| 3357 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3358 | LIBGRPC++_SRC = \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3359 | src/cpp/client/secure_credentials.cc \ |
| 3360 | src/cpp/common/auth_property_iterator.cc \ |
| 3361 | src/cpp/common/secure_auth_context.cc \ |
| 3362 | src/cpp/common/secure_channel_arguments.cc \ |
| 3363 | src/cpp/common/secure_create_auth_context.cc \ |
| 3364 | src/cpp/server/secure_server_credentials.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3365 | src/cpp/client/channel.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3366 | src/cpp/client/client_context.cc \ |
| 3367 | src/cpp/client/create_channel.cc \ |
yang-g | c317f07 | 2015-08-20 12:18:08 -0700 | [diff] [blame] | 3368 | src/cpp/client/create_channel_internal.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3369 | src/cpp/client/create_channel_posix.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3370 | src/cpp/client/credentials.cc \ |
Yang Gao | 75e2f6d | 2015-03-19 07:04:38 -0700 | [diff] [blame] | 3371 | src/cpp/client/generic_stub.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3372 | src/cpp/client/insecure_credentials.cc \ |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 3373 | src/cpp/common/channel_arguments.cc \ |
Craig Tiller | f834bdc | 2015-02-06 16:36:05 -0800 | [diff] [blame] | 3374 | src/cpp/common/completion_queue.cc \ |
Nicolas "Pixel" Noble | 4268318 | 2016-03-17 00:25:39 +0100 | [diff] [blame] | 3375 | src/cpp/common/core_codegen.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3376 | src/cpp/common/rpc_method.cc \ |
Yang Gao | 4999649 | 2015-03-12 16:40:19 -0700 | [diff] [blame] | 3377 | src/cpp/server/async_generic_service.cc \ |
Yang Gao | 6f4fb3b | 2015-06-03 12:56:19 -0700 | [diff] [blame] | 3378 | src/cpp/server/create_default_thread_pool.cc \ |
vjpai | b28456b | 2015-07-23 14:17:10 -0700 | [diff] [blame] | 3379 | src/cpp/server/dynamic_thread_pool.cc \ |
Craig Tiller | 42bc87c | 2015-02-23 08:50:19 -0800 | [diff] [blame] | 3380 | src/cpp/server/insecure_server_credentials.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3381 | src/cpp/server/server.cc \ |
| 3382 | src/cpp/server/server_builder.cc \ |
Craig Tiller | c416577 | 2015-02-11 10:51:04 -0800 | [diff] [blame] | 3383 | src/cpp/server/server_context.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3384 | src/cpp/server/server_credentials.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3385 | src/cpp/server/server_posix.cc \ |
Yang Gao | 1c40233 | 2015-03-05 16:39:25 -0800 | [diff] [blame] | 3386 | src/cpp/util/byte_buffer.cc \ |
Yang Gao | 61c4131 | 2015-03-10 12:42:18 -0700 | [diff] [blame] | 3387 | src/cpp/util/slice.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3388 | src/cpp/util/status.cc \ |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 3389 | src/cpp/util/string_ref.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3390 | src/cpp/util/time.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3391 | src/cpp/codegen/codegen_init.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3392 | |
| 3393 | PUBLIC_HEADERS_CXX += \ |
vjpai | f9f61cf | 2016-02-10 20:51:53 -0800 | [diff] [blame] | 3394 | include/grpc++/alarm.h \ |
yang-g | 8c2be9f | 2015-08-19 16:28:09 -0700 | [diff] [blame] | 3395 | include/grpc++/channel.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3396 | include/grpc++/client_context.h \ |
| 3397 | include/grpc++/completion_queue.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3398 | include/grpc++/create_channel.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3399 | include/grpc++/create_channel_posix.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3400 | include/grpc++/generic/async_generic_service.h \ |
| 3401 | include/grpc++/generic/generic_stub.h \ |
Craig Tiller | d136a5c | 2015-09-11 12:23:32 -0700 | [diff] [blame] | 3402 | include/grpc++/grpc++.h \ |
Craig Tiller | 20f4af2 | 2015-02-10 09:52:15 -0800 | [diff] [blame] | 3403 | include/grpc++/impl/call.h \ |
Craig Tiller | 80e00a8 | 2015-02-09 20:54:25 -0800 | [diff] [blame] | 3404 | include/grpc++/impl/client_unary_call.h \ |
David Garcia Quintas | a20a2ad | 2016-05-19 10:53:44 -0700 | [diff] [blame] | 3405 | include/grpc++/impl/codegen/core_codegen.h \ |
Yang Gao | 96de484 | 2015-04-24 13:13:12 -0700 | [diff] [blame] | 3406 | include/grpc++/impl/grpc_library.h \ |
yang-g | 77c6333 | 2016-01-14 16:09:04 -0800 | [diff] [blame] | 3407 | include/grpc++/impl/method_handler_impl.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3408 | include/grpc++/impl/rpc_method.h \ |
| 3409 | include/grpc++/impl/rpc_service_method.h \ |
Craig Tiller | 6ef7f31 | 2015-06-05 10:15:10 -0700 | [diff] [blame] | 3410 | include/grpc++/impl/serialization_traits.h \ |
yang-g | a23f17b | 2015-11-25 10:21:05 -0800 | [diff] [blame] | 3411 | include/grpc++/impl/server_builder_option.h \ |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 3412 | include/grpc++/impl/server_builder_plugin.h \ |
| 3413 | include/grpc++/impl/server_initializer.h \ |
Yang Gao | 1a98696 | 2015-02-19 12:40:46 -0800 | [diff] [blame] | 3414 | include/grpc++/impl/service_type.h \ |
Yang Gao | fa4549d | 2015-04-10 13:12:09 -0700 | [diff] [blame] | 3415 | include/grpc++/impl/sync.h \ |
| 3416 | include/grpc++/impl/sync_cxx11.h \ |
| 3417 | include/grpc++/impl/sync_no_cxx11.h \ |
| 3418 | include/grpc++/impl/thd.h \ |
| 3419 | include/grpc++/impl/thd_cxx11.h \ |
| 3420 | include/grpc++/impl/thd_no_cxx11.h \ |
Julien Boeuf | 0d47192 | 2015-08-30 22:18:50 -0700 | [diff] [blame] | 3421 | include/grpc++/security/auth_context.h \ |
| 3422 | include/grpc++/security/auth_metadata_processor.h \ |
| 3423 | include/grpc++/security/credentials.h \ |
| 3424 | include/grpc++/security/server_credentials.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3425 | include/grpc++/server.h \ |
| 3426 | include/grpc++/server_builder.h \ |
| 3427 | include/grpc++/server_context.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3428 | include/grpc++/server_posix.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 3429 | include/grpc++/support/async_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3430 | include/grpc++/support/async_unary_call.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3431 | include/grpc++/support/byte_buffer.h \ |
| 3432 | include/grpc++/support/channel_arguments.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3433 | include/grpc++/support/config.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3434 | include/grpc++/support/slice.h \ |
| 3435 | include/grpc++/support/status.h \ |
| 3436 | include/grpc++/support/status_code_enum.h \ |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 3437 | include/grpc++/support/string_ref.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3438 | include/grpc++/support/stub_options.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 3439 | include/grpc++/support/sync_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3440 | include/grpc++/support/time.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3441 | include/grpc++/impl/codegen/async_stream.h \ |
| 3442 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 3443 | include/grpc++/impl/codegen/call.h \ |
| 3444 | include/grpc++/impl/codegen/call_hook.h \ |
| 3445 | include/grpc++/impl/codegen/channel_interface.h \ |
| 3446 | include/grpc++/impl/codegen/client_context.h \ |
| 3447 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 3448 | include/grpc++/impl/codegen/completion_queue.h \ |
| 3449 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3450 | include/grpc++/impl/codegen/config.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3451 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 3452 | include/grpc++/impl/codegen/create_auth_context.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3453 | include/grpc++/impl/codegen/grpc_library.h \ |
| 3454 | include/grpc++/impl/codegen/method_handler_impl.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3455 | include/grpc++/impl/codegen/rpc_method.h \ |
| 3456 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 3457 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 3458 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 3459 | include/grpc++/impl/codegen/server_context.h \ |
| 3460 | include/grpc++/impl/codegen/server_interface.h \ |
| 3461 | include/grpc++/impl/codegen/service_type.h \ |
| 3462 | include/grpc++/impl/codegen/status.h \ |
| 3463 | include/grpc++/impl/codegen/status_code_enum.h \ |
| 3464 | include/grpc++/impl/codegen/string_ref.h \ |
| 3465 | include/grpc++/impl/codegen/stub_options.h \ |
| 3466 | include/grpc++/impl/codegen/sync.h \ |
| 3467 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 3468 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 3469 | include/grpc++/impl/codegen/sync_stream.h \ |
| 3470 | include/grpc++/impl/codegen/time.h \ |
| 3471 | include/grpc/impl/codegen/byte_buffer.h \ |
David Garcia Quintas | 1b2db63 | 2016-04-27 15:06:54 -0700 | [diff] [blame] | 3472 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3473 | include/grpc/impl/codegen/compression_types.h \ |
| 3474 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3475 | include/grpc/impl/codegen/grpc_types.h \ |
| 3476 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3477 | include/grpc/impl/codegen/status.h \ |
| 3478 | include/grpc/impl/codegen/alloc.h \ |
| 3479 | include/grpc/impl/codegen/atm.h \ |
| 3480 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3481 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3482 | include/grpc/impl/codegen/atm_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3483 | include/grpc/impl/codegen/log.h \ |
| 3484 | include/grpc/impl/codegen/port_platform.h \ |
| 3485 | include/grpc/impl/codegen/slice.h \ |
| 3486 | include/grpc/impl/codegen/slice_buffer.h \ |
| 3487 | include/grpc/impl/codegen/sync.h \ |
| 3488 | include/grpc/impl/codegen/sync_generic.h \ |
| 3489 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3490 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3491 | include/grpc/impl/codegen/time.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3492 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3493 | LIBGRPC++_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3494 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3495 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3496 | ifeq ($(NO_SECURE),true) |
| 3497 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 3498 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3499 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3500 | $(LIBDIR)/$(CONFIG)/libgrpc++.a: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3501 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3502 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3503 | |
| 3504 | else |
| 3505 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3506 | ifeq ($(NO_PROTOBUF),true) |
| 3507 | |
| 3508 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3509 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3510 | $(LIBDIR)/$(CONFIG)/libgrpc++.a: protobuf_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3511 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3512 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT): protobuf_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3513 | |
| 3514 | else |
| 3515 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3516 | $(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] | 3517 | $(E) "[AR] Creating $@" |
| 3518 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3519 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++.a |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3520 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBGRPC++_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3521 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3522 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3523 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3524 | |
| 3525 | |
| 3526 | |
| 3527 | ifeq ($(SYSTEM),MINGW32) |
Yuchen Zeng | f0ec5b6 | 2016-07-08 13:40:40 -0700 | [diff] [blame] | 3528 | $(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] | 3529 | $(E) "[LD] Linking $@" |
| 3530 | $(Q) mkdir -p `dirname $@` |
Yuchen Zeng | f0ec5b6 | 2016-07-08 13:40:40 -0700 | [diff] [blame] | 3531 | $(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] | 3532 | else |
Yuchen Zeng | f0ec5b6 | 2016-07-08 13:40:40 -0700 | [diff] [blame] | 3533 | $(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] | 3534 | $(E) "[LD] Linking $@" |
| 3535 | $(Q) mkdir -p `dirname $@` |
| 3536 | ifeq ($(SYSTEM),Darwin) |
Yuchen Zeng | f0ec5b6 | 2016-07-08 13:40:40 -0700 | [diff] [blame] | 3537 | $(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] | 3538 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 3539 | $(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 |
| 3540 | $(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] | 3541 | $(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] | 3542 | endif |
| 3543 | endif |
| 3544 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3545 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3546 | |
| 3547 | endif |
| 3548 | |
| 3549 | ifneq ($(NO_SECURE),true) |
| 3550 | ifneq ($(NO_DEPS),true) |
| 3551 | -include $(LIBGRPC++_OBJS:.o=.dep) |
| 3552 | endif |
| 3553 | endif |
| 3554 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3555 | |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3556 | LIBGRPC++_REFLECTION_SRC = \ |
Yuchen Zeng | 0601df3 | 2016-06-06 13:08:06 -0700 | [diff] [blame] | 3557 | src/cpp/ext/proto_server_reflection.cc \ |
| 3558 | src/cpp/ext/proto_server_reflection_plugin.cc \ |
| 3559 | src/cpp/ext/reflection.grpc.pb.cc \ |
| 3560 | src/cpp/ext/reflection.pb.cc \ |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3561 | |
| 3562 | PUBLIC_HEADERS_CXX += \ |
Yuchen Zeng | 0601df3 | 2016-06-06 13:08:06 -0700 | [diff] [blame] | 3563 | include/grpc++/ext/proto_server_reflection_plugin.h \ |
| 3564 | include/grpc++/ext/reflection.grpc.pb.h \ |
| 3565 | include/grpc++/ext/reflection.pb.h \ |
Yuchen Zeng | eb25a07 | 2016-06-08 10:59:48 -0700 | [diff] [blame] | 3566 | include/grpc++/impl/codegen/proto_utils.h \ |
| 3567 | include/grpc++/impl/codegen/async_stream.h \ |
| 3568 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 3569 | include/grpc++/impl/codegen/call.h \ |
| 3570 | include/grpc++/impl/codegen/call_hook.h \ |
| 3571 | include/grpc++/impl/codegen/channel_interface.h \ |
| 3572 | include/grpc++/impl/codegen/client_context.h \ |
| 3573 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 3574 | include/grpc++/impl/codegen/completion_queue.h \ |
| 3575 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
| 3576 | include/grpc++/impl/codegen/config.h \ |
| 3577 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
| 3578 | include/grpc++/impl/codegen/create_auth_context.h \ |
| 3579 | include/grpc++/impl/codegen/grpc_library.h \ |
| 3580 | include/grpc++/impl/codegen/method_handler_impl.h \ |
| 3581 | include/grpc++/impl/codegen/rpc_method.h \ |
| 3582 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 3583 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 3584 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 3585 | include/grpc++/impl/codegen/server_context.h \ |
| 3586 | include/grpc++/impl/codegen/server_interface.h \ |
| 3587 | include/grpc++/impl/codegen/service_type.h \ |
| 3588 | include/grpc++/impl/codegen/status.h \ |
| 3589 | include/grpc++/impl/codegen/status_code_enum.h \ |
| 3590 | include/grpc++/impl/codegen/string_ref.h \ |
| 3591 | include/grpc++/impl/codegen/stub_options.h \ |
| 3592 | include/grpc++/impl/codegen/sync.h \ |
| 3593 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 3594 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 3595 | include/grpc++/impl/codegen/sync_stream.h \ |
| 3596 | include/grpc++/impl/codegen/time.h \ |
| 3597 | include/grpc/impl/codegen/byte_buffer.h \ |
| 3598 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 3599 | include/grpc/impl/codegen/compression_types.h \ |
| 3600 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3601 | include/grpc/impl/codegen/grpc_types.h \ |
| 3602 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3603 | include/grpc/impl/codegen/status.h \ |
| 3604 | include/grpc/impl/codegen/alloc.h \ |
| 3605 | include/grpc/impl/codegen/atm.h \ |
| 3606 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3607 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
| 3608 | include/grpc/impl/codegen/atm_windows.h \ |
| 3609 | include/grpc/impl/codegen/log.h \ |
| 3610 | include/grpc/impl/codegen/port_platform.h \ |
| 3611 | include/grpc/impl/codegen/slice.h \ |
| 3612 | include/grpc/impl/codegen/slice_buffer.h \ |
| 3613 | include/grpc/impl/codegen/sync.h \ |
| 3614 | include/grpc/impl/codegen/sync_generic.h \ |
| 3615 | include/grpc/impl/codegen/sync_posix.h \ |
| 3616 | include/grpc/impl/codegen/sync_windows.h \ |
| 3617 | include/grpc/impl/codegen/time.h \ |
| 3618 | include/grpc++/impl/codegen/config_protobuf.h \ |
Yuchen Zeng | c84ed68 | 2016-05-04 16:30:11 -0700 | [diff] [blame] | 3619 | |
| 3620 | LIBGRPC++_REFLECTION_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_REFLECTION_SRC)))) |
| 3621 | |
| 3622 | |
| 3623 | ifeq ($(NO_SECURE),true) |
| 3624 | |
| 3625 | # You can't build secure libraries if you don't have OpenSSL. |
| 3626 | |
| 3627 | $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a: openssl_dep_error |
| 3628 | |
| 3629 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
| 3630 | |
| 3631 | else |
| 3632 | |
| 3633 | ifeq ($(NO_PROTOBUF),true) |
| 3634 | |
| 3635 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3636 | |
| 3637 | $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a: protobuf_dep_error |
| 3638 | |
| 3639 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT): protobuf_dep_error |
| 3640 | |
| 3641 | else |
| 3642 | |
| 3643 | $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBGRPC++_REFLECTION_OBJS) |
| 3644 | $(E) "[AR] Creating $@" |
| 3645 | $(Q) mkdir -p `dirname $@` |
| 3646 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a |
| 3647 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a $(LIBGRPC++_REFLECTION_OBJS) |
| 3648 | ifeq ($(SYSTEM),Darwin) |
| 3649 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++_reflection.a |
| 3650 | endif |
| 3651 | |
| 3652 | |
| 3653 | |
| 3654 | ifeq ($(SYSTEM),MINGW32) |
Yuchen Zeng | c6bf5f7 | 2016-06-07 14:41:01 -0700 | [diff] [blame] | 3655 | $(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] | 3656 | $(E) "[LD] Linking $@" |
| 3657 | $(Q) mkdir -p `dirname $@` |
Yuchen Zeng | c6bf5f7 | 2016-06-07 14:41:01 -0700 | [diff] [blame] | 3658 | $(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] | 3659 | else |
Yuchen Zeng | c6bf5f7 | 2016-06-07 14:41:01 -0700 | [diff] [blame] | 3660 | $(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] | 3661 | $(E) "[LD] Linking $@" |
| 3662 | $(Q) mkdir -p `dirname $@` |
| 3663 | ifeq ($(SYSTEM),Darwin) |
Yuchen Zeng | c6bf5f7 | 2016-06-07 14:41:01 -0700 | [diff] [blame] | 3664 | $(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] | 3665 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 3666 | $(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++ |
| 3667 | $(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] | 3668 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_reflection$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc++_reflection$(SHARED_VERSION).so |
| 3669 | endif |
| 3670 | endif |
| 3671 | |
| 3672 | endif |
| 3673 | |
| 3674 | endif |
| 3675 | |
| 3676 | ifneq ($(NO_SECURE),true) |
| 3677 | ifneq ($(NO_DEPS),true) |
| 3678 | -include $(LIBGRPC++_REFLECTION_OBJS:.o=.dep) |
| 3679 | endif |
| 3680 | endif |
| 3681 | |
| 3682 | |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3683 | LIBGRPC++_TEST_CONFIG_SRC = \ |
| 3684 | test/cpp/util/test_config.cc \ |
| 3685 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3686 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3687 | |
| 3688 | LIBGRPC++_TEST_CONFIG_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_CONFIG_SRC)))) |
| 3689 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3690 | |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3691 | ifeq ($(NO_SECURE),true) |
| 3692 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 3693 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3694 | |
| 3695 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a: openssl_dep_error |
| 3696 | |
| 3697 | |
| 3698 | else |
| 3699 | |
| 3700 | ifeq ($(NO_PROTOBUF),true) |
| 3701 | |
| 3702 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3703 | |
| 3704 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a: protobuf_dep_error |
| 3705 | |
| 3706 | |
| 3707 | else |
| 3708 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3709 | $(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] | 3710 | $(E) "[AR] Creating $@" |
| 3711 | $(Q) mkdir -p `dirname $@` |
| 3712 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3713 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LIBGRPC++_TEST_CONFIG_OBJS) |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3714 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3715 | $(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] | 3716 | endif |
| 3717 | |
| 3718 | |
| 3719 | |
| 3720 | |
| 3721 | endif |
| 3722 | |
| 3723 | endif |
| 3724 | |
| 3725 | ifneq ($(NO_SECURE),true) |
| 3726 | ifneq ($(NO_DEPS),true) |
| 3727 | -include $(LIBGRPC++_TEST_CONFIG_OBJS:.o=.dep) |
| 3728 | endif |
| 3729 | endif |
| 3730 | |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3731 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3732 | LIBGRPC++_TEST_UTIL_SRC = \ |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3733 | $(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] | 3734 | $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc \ |
| 3735 | $(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] | 3736 | test/cpp/end2end/test_service_impl.cc \ |
yang-g | 9f17314 | 2016-01-15 12:46:40 -0800 | [diff] [blame] | 3737 | test/cpp/util/byte_buffer_proto_helper.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3738 | test/cpp/util/create_test_channel.cc \ |
yang-g | e21908f | 2015-08-25 13:47:51 -0700 | [diff] [blame] | 3739 | test/cpp/util/string_ref_helper.cc \ |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 3740 | test/cpp/util/subprocess.cc \ |
yang-g | 7d2a3e1 | 2016-02-18 15:41:56 -0800 | [diff] [blame] | 3741 | test/cpp/util/test_credentials_provider.cc \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3742 | src/cpp/codegen/codegen_init.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3743 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3744 | PUBLIC_HEADERS_CXX += \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3745 | include/grpc++/impl/codegen/async_stream.h \ |
| 3746 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 3747 | include/grpc++/impl/codegen/call.h \ |
| 3748 | include/grpc++/impl/codegen/call_hook.h \ |
| 3749 | include/grpc++/impl/codegen/channel_interface.h \ |
| 3750 | include/grpc++/impl/codegen/client_context.h \ |
| 3751 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 3752 | include/grpc++/impl/codegen/completion_queue.h \ |
| 3753 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
| 3754 | include/grpc++/impl/codegen/config.h \ |
| 3755 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
| 3756 | include/grpc++/impl/codegen/create_auth_context.h \ |
| 3757 | include/grpc++/impl/codegen/grpc_library.h \ |
| 3758 | include/grpc++/impl/codegen/method_handler_impl.h \ |
| 3759 | include/grpc++/impl/codegen/rpc_method.h \ |
| 3760 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 3761 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 3762 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 3763 | include/grpc++/impl/codegen/server_context.h \ |
| 3764 | include/grpc++/impl/codegen/server_interface.h \ |
| 3765 | include/grpc++/impl/codegen/service_type.h \ |
| 3766 | include/grpc++/impl/codegen/status.h \ |
| 3767 | include/grpc++/impl/codegen/status_code_enum.h \ |
| 3768 | include/grpc++/impl/codegen/string_ref.h \ |
| 3769 | include/grpc++/impl/codegen/stub_options.h \ |
| 3770 | include/grpc++/impl/codegen/sync.h \ |
| 3771 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 3772 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 3773 | include/grpc++/impl/codegen/sync_stream.h \ |
| 3774 | include/grpc++/impl/codegen/time.h \ |
| 3775 | include/grpc/impl/codegen/byte_buffer.h \ |
| 3776 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 3777 | include/grpc/impl/codegen/compression_types.h \ |
| 3778 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3779 | include/grpc/impl/codegen/grpc_types.h \ |
| 3780 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3781 | include/grpc/impl/codegen/status.h \ |
| 3782 | include/grpc/impl/codegen/alloc.h \ |
| 3783 | include/grpc/impl/codegen/atm.h \ |
| 3784 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3785 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
yang-g | aaee544 | 2016-06-03 15:34:01 -0700 | [diff] [blame] | 3786 | include/grpc/impl/codegen/atm_windows.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3787 | include/grpc/impl/codegen/log.h \ |
| 3788 | include/grpc/impl/codegen/port_platform.h \ |
| 3789 | include/grpc/impl/codegen/slice.h \ |
| 3790 | include/grpc/impl/codegen/slice_buffer.h \ |
| 3791 | include/grpc/impl/codegen/sync.h \ |
| 3792 | include/grpc/impl/codegen/sync_generic.h \ |
| 3793 | include/grpc/impl/codegen/sync_posix.h \ |
yang-g | aaee544 | 2016-06-03 15:34:01 -0700 | [diff] [blame] | 3794 | include/grpc/impl/codegen/sync_windows.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3795 | include/grpc/impl/codegen/time.h \ |
| 3796 | include/grpc++/impl/codegen/proto_utils.h \ |
| 3797 | include/grpc++/impl/codegen/config_protobuf.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3798 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3799 | 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] | 3800 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3801 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3802 | ifeq ($(NO_SECURE),true) |
| 3803 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 3804 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3805 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3806 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3807 | |
| 3808 | |
| 3809 | else |
| 3810 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3811 | ifeq ($(NO_PROTOBUF),true) |
| 3812 | |
| 3813 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3814 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3815 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a: protobuf_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3816 | |
| 3817 | |
| 3818 | else |
| 3819 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3820 | $(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] | 3821 | $(E) "[AR] Creating $@" |
| 3822 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3823 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3824 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBGRPC++_TEST_UTIL_OBJS) |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3825 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3826 | $(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] | 3827 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3828 | |
| 3829 | |
| 3830 | |
| 3831 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3832 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3833 | |
| 3834 | endif |
| 3835 | |
| 3836 | ifneq ($(NO_SECURE),true) |
| 3837 | ifneq ($(NO_DEPS),true) |
| 3838 | -include $(LIBGRPC++_TEST_UTIL_OBJS:.o=.dep) |
| 3839 | endif |
| 3840 | endif |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3841 | $(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 |
| 3842 | $(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] | 3843 | $(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 |
| 3844 | $(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 |
| 3845 | $(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 |
| 3846 | $(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] | 3847 | $(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] | 3848 | |
| 3849 | |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3850 | LIBGRPC++_UNSECURE_SRC = \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3851 | src/cpp/common/insecure_create_auth_context.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3852 | src/cpp/client/channel.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3853 | src/cpp/client/client_context.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3854 | src/cpp/client/create_channel.cc \ |
yang-g | c317f07 | 2015-08-20 12:18:08 -0700 | [diff] [blame] | 3855 | src/cpp/client/create_channel_internal.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3856 | src/cpp/client/create_channel_posix.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3857 | src/cpp/client/credentials.cc \ |
Yang Gao | 75e2f6d | 2015-03-19 07:04:38 -0700 | [diff] [blame] | 3858 | src/cpp/client/generic_stub.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3859 | src/cpp/client/insecure_credentials.cc \ |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 3860 | src/cpp/common/channel_arguments.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3861 | src/cpp/common/completion_queue.cc \ |
Nicolas "Pixel" Noble | 4268318 | 2016-03-17 00:25:39 +0100 | [diff] [blame] | 3862 | src/cpp/common/core_codegen.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3863 | src/cpp/common/rpc_method.cc \ |
Yang Gao | 4999649 | 2015-03-12 16:40:19 -0700 | [diff] [blame] | 3864 | src/cpp/server/async_generic_service.cc \ |
Yang Gao | 6f4fb3b | 2015-06-03 12:56:19 -0700 | [diff] [blame] | 3865 | src/cpp/server/create_default_thread_pool.cc \ |
vjpai | b28456b | 2015-07-23 14:17:10 -0700 | [diff] [blame] | 3866 | src/cpp/server/dynamic_thread_pool.cc \ |
Craig Tiller | 42bc87c | 2015-02-23 08:50:19 -0800 | [diff] [blame] | 3867 | src/cpp/server/insecure_server_credentials.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3868 | src/cpp/server/server.cc \ |
| 3869 | src/cpp/server/server_builder.cc \ |
| 3870 | src/cpp/server/server_context.cc \ |
| 3871 | src/cpp/server/server_credentials.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3872 | src/cpp/server/server_posix.cc \ |
Yang Gao | fccea1f | 2015-03-10 13:17:39 -0700 | [diff] [blame] | 3873 | src/cpp/util/byte_buffer.cc \ |
| 3874 | src/cpp/util/slice.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3875 | src/cpp/util/status.cc \ |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 3876 | src/cpp/util/string_ref.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3877 | src/cpp/util/time.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3878 | src/cpp/codegen/codegen_init.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3879 | |
| 3880 | PUBLIC_HEADERS_CXX += \ |
vjpai | f9f61cf | 2016-02-10 20:51:53 -0800 | [diff] [blame] | 3881 | include/grpc++/alarm.h \ |
yang-g | 8c2be9f | 2015-08-19 16:28:09 -0700 | [diff] [blame] | 3882 | include/grpc++/channel.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3883 | include/grpc++/client_context.h \ |
| 3884 | include/grpc++/completion_queue.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3885 | include/grpc++/create_channel.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3886 | include/grpc++/create_channel_posix.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3887 | include/grpc++/generic/async_generic_service.h \ |
| 3888 | include/grpc++/generic/generic_stub.h \ |
Craig Tiller | d136a5c | 2015-09-11 12:23:32 -0700 | [diff] [blame] | 3889 | include/grpc++/grpc++.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3890 | include/grpc++/impl/call.h \ |
| 3891 | include/grpc++/impl/client_unary_call.h \ |
David Garcia Quintas | a20a2ad | 2016-05-19 10:53:44 -0700 | [diff] [blame] | 3892 | include/grpc++/impl/codegen/core_codegen.h \ |
Yang Gao | 96de484 | 2015-04-24 13:13:12 -0700 | [diff] [blame] | 3893 | include/grpc++/impl/grpc_library.h \ |
yang-g | 77c6333 | 2016-01-14 16:09:04 -0800 | [diff] [blame] | 3894 | include/grpc++/impl/method_handler_impl.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3895 | include/grpc++/impl/rpc_method.h \ |
| 3896 | include/grpc++/impl/rpc_service_method.h \ |
Craig Tiller | 6ef7f31 | 2015-06-05 10:15:10 -0700 | [diff] [blame] | 3897 | include/grpc++/impl/serialization_traits.h \ |
yang-g | a23f17b | 2015-11-25 10:21:05 -0800 | [diff] [blame] | 3898 | include/grpc++/impl/server_builder_option.h \ |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 3899 | include/grpc++/impl/server_builder_plugin.h \ |
| 3900 | include/grpc++/impl/server_initializer.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3901 | include/grpc++/impl/service_type.h \ |
Yang Gao | fa4549d | 2015-04-10 13:12:09 -0700 | [diff] [blame] | 3902 | include/grpc++/impl/sync.h \ |
| 3903 | include/grpc++/impl/sync_cxx11.h \ |
| 3904 | include/grpc++/impl/sync_no_cxx11.h \ |
| 3905 | include/grpc++/impl/thd.h \ |
| 3906 | include/grpc++/impl/thd_cxx11.h \ |
| 3907 | include/grpc++/impl/thd_no_cxx11.h \ |
Julien Boeuf | 0d47192 | 2015-08-30 22:18:50 -0700 | [diff] [blame] | 3908 | include/grpc++/security/auth_context.h \ |
| 3909 | include/grpc++/security/auth_metadata_processor.h \ |
| 3910 | include/grpc++/security/credentials.h \ |
| 3911 | include/grpc++/security/server_credentials.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3912 | include/grpc++/server.h \ |
| 3913 | include/grpc++/server_builder.h \ |
| 3914 | include/grpc++/server_context.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame] | 3915 | include/grpc++/server_posix.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 3916 | include/grpc++/support/async_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3917 | include/grpc++/support/async_unary_call.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3918 | include/grpc++/support/byte_buffer.h \ |
| 3919 | include/grpc++/support/channel_arguments.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3920 | include/grpc++/support/config.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3921 | include/grpc++/support/slice.h \ |
| 3922 | include/grpc++/support/status.h \ |
| 3923 | include/grpc++/support/status_code_enum.h \ |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 3924 | include/grpc++/support/string_ref.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3925 | include/grpc++/support/stub_options.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 3926 | include/grpc++/support/sync_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3927 | include/grpc++/support/time.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3928 | include/grpc++/impl/codegen/async_stream.h \ |
| 3929 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 3930 | include/grpc++/impl/codegen/call.h \ |
| 3931 | include/grpc++/impl/codegen/call_hook.h \ |
| 3932 | include/grpc++/impl/codegen/channel_interface.h \ |
| 3933 | include/grpc++/impl/codegen/client_context.h \ |
| 3934 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 3935 | include/grpc++/impl/codegen/completion_queue.h \ |
| 3936 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3937 | include/grpc++/impl/codegen/config.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3938 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 3939 | include/grpc++/impl/codegen/create_auth_context.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3940 | include/grpc++/impl/codegen/grpc_library.h \ |
| 3941 | include/grpc++/impl/codegen/method_handler_impl.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3942 | include/grpc++/impl/codegen/rpc_method.h \ |
| 3943 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 3944 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 3945 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 3946 | include/grpc++/impl/codegen/server_context.h \ |
| 3947 | include/grpc++/impl/codegen/server_interface.h \ |
| 3948 | include/grpc++/impl/codegen/service_type.h \ |
| 3949 | include/grpc++/impl/codegen/status.h \ |
| 3950 | include/grpc++/impl/codegen/status_code_enum.h \ |
| 3951 | include/grpc++/impl/codegen/string_ref.h \ |
| 3952 | include/grpc++/impl/codegen/stub_options.h \ |
| 3953 | include/grpc++/impl/codegen/sync.h \ |
| 3954 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 3955 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 3956 | include/grpc++/impl/codegen/sync_stream.h \ |
| 3957 | include/grpc++/impl/codegen/time.h \ |
| 3958 | include/grpc/impl/codegen/byte_buffer.h \ |
David Garcia Quintas | 1b2db63 | 2016-04-27 15:06:54 -0700 | [diff] [blame] | 3959 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3960 | include/grpc/impl/codegen/compression_types.h \ |
| 3961 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3962 | include/grpc/impl/codegen/grpc_types.h \ |
| 3963 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3964 | include/grpc/impl/codegen/status.h \ |
| 3965 | include/grpc/impl/codegen/alloc.h \ |
| 3966 | include/grpc/impl/codegen/atm.h \ |
| 3967 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3968 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3969 | include/grpc/impl/codegen/atm_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3970 | include/grpc/impl/codegen/log.h \ |
| 3971 | include/grpc/impl/codegen/port_platform.h \ |
| 3972 | include/grpc/impl/codegen/slice.h \ |
| 3973 | include/grpc/impl/codegen/slice_buffer.h \ |
| 3974 | include/grpc/impl/codegen/sync.h \ |
| 3975 | include/grpc/impl/codegen/sync_generic.h \ |
| 3976 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3977 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3978 | include/grpc/impl/codegen/time.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3979 | |
| 3980 | LIBGRPC++_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_UNSECURE_SRC)))) |
| 3981 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3982 | |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3983 | ifeq ($(NO_PROTOBUF),true) |
| 3984 | |
| 3985 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3986 | |
| 3987 | $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a: protobuf_dep_error |
| 3988 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3989 | $(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] | 3990 | |
| 3991 | else |
| 3992 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3993 | $(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] | 3994 | $(E) "[AR] Creating $@" |
| 3995 | $(Q) mkdir -p `dirname $@` |
| 3996 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3997 | $(Q) $(AR) $(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] | 3998 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3999 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4000 | endif |
| 4001 | |
| 4002 | |
| 4003 | |
| 4004 | ifeq ($(SYSTEM),MINGW32) |
Yuchen Zeng | f0ec5b6 | 2016-07-08 13:40:40 -0700 | [diff] [blame] | 4005 | $(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) $(LIBDIR)/$(CONFIG)/grpc.$(SHARED_EXT) |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4006 | $(E) "[LD] Linking $@" |
| 4007 | $(Q) mkdir -p `dirname $@` |
Yuchen Zeng | f0ec5b6 | 2016-07-08 13:40:40 -0700 | [diff] [blame] | 4008 | $(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 -lgrpc-imp |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4009 | else |
Yuchen Zeng | f0ec5b6 | 2016-07-08 13:40:40 -0700 | [diff] [blame] | 4010 | $(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) $(LIBDIR)/$(CONFIG)/libgrpc.$(SHARED_EXT) |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4011 | $(E) "[LD] Linking $@" |
| 4012 | $(Q) mkdir -p `dirname $@` |
| 4013 | ifeq ($(SYSTEM),Darwin) |
Yuchen Zeng | f0ec5b6 | 2016-07-08 13:40:40 -0700 | [diff] [blame] | 4014 | $(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 -lgrpc |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4015 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 4016 | $(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 -lgrpc |
| 4017 | $(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] | 4018 | $(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] | 4019 | endif |
| 4020 | endif |
| 4021 | |
| 4022 | endif |
| 4023 | |
| 4024 | ifneq ($(NO_DEPS),true) |
| 4025 | -include $(LIBGRPC++_UNSECURE_OBJS:.o=.dep) |
| 4026 | endif |
| 4027 | |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 4028 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 4029 | LIBGRPC_CLI_LIBS_SRC = \ |
| 4030 | test/cpp/util/cli_call.cc \ |
| 4031 | test/cpp/util/proto_file_parser.cc \ |
| 4032 | |
| 4033 | PUBLIC_HEADERS_CXX += \ |
| 4034 | |
| 4035 | LIBGRPC_CLI_LIBS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_CLI_LIBS_SRC)))) |
| 4036 | |
| 4037 | |
| 4038 | ifeq ($(NO_SECURE),true) |
| 4039 | |
| 4040 | # You can't build secure libraries if you don't have OpenSSL. |
| 4041 | |
| 4042 | $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a: openssl_dep_error |
| 4043 | |
| 4044 | |
| 4045 | else |
| 4046 | |
| 4047 | ifeq ($(NO_PROTOBUF),true) |
| 4048 | |
| 4049 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4050 | |
| 4051 | $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a: protobuf_dep_error |
| 4052 | |
| 4053 | |
| 4054 | else |
| 4055 | |
| 4056 | $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBGRPC_CLI_LIBS_OBJS) |
| 4057 | $(E) "[AR] Creating $@" |
| 4058 | $(Q) mkdir -p `dirname $@` |
| 4059 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a |
| 4060 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBGRPC_CLI_LIBS_OBJS) |
| 4061 | ifeq ($(SYSTEM),Darwin) |
| 4062 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a |
| 4063 | endif |
| 4064 | |
| 4065 | |
| 4066 | |
| 4067 | |
| 4068 | endif |
| 4069 | |
| 4070 | endif |
| 4071 | |
| 4072 | ifneq ($(NO_SECURE),true) |
| 4073 | ifneq ($(NO_DEPS),true) |
| 4074 | -include $(LIBGRPC_CLI_LIBS_OBJS:.o=.dep) |
| 4075 | endif |
| 4076 | endif |
| 4077 | |
| 4078 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4079 | LIBGRPC_PLUGIN_SUPPORT_SRC = \ |
| 4080 | src/compiler/cpp_generator.cc \ |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 4081 | src/compiler/csharp_generator.cc \ |
murgatroid99 | e264e39 | 2016-04-19 10:56:01 -0700 | [diff] [blame] | 4082 | src/compiler/node_generator.cc \ |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 4083 | src/compiler/objective_c_generator.cc \ |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4084 | src/compiler/python_generator.cc \ |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4085 | src/compiler/ruby_generator.cc \ |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4086 | |
David Garcia Quintas | ddcb53a | 2016-01-21 17:48:34 -0800 | [diff] [blame] | 4087 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 4088 | include/grpc++/impl/codegen/config_protobuf.h \ |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4089 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4090 | 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] | 4091 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4092 | |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4093 | ifeq ($(NO_PROTOBUF),true) |
| 4094 | |
| 4095 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4096 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4097 | $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: protobuf_dep_error |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4098 | |
| 4099 | |
| 4100 | else |
| 4101 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4102 | $(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] | 4103 | $(E) "[AR] Creating $@" |
| 4104 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4105 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4106 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(LIBGRPC_PLUGIN_SUPPORT_OBJS) |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4107 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4108 | $(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] | 4109 | endif |
| 4110 | |
| 4111 | |
| 4112 | |
| 4113 | |
| 4114 | endif |
| 4115 | |
| 4116 | ifneq ($(NO_DEPS),true) |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4117 | -include $(LIBGRPC_PLUGIN_SUPPORT_OBJS:.o=.dep) |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4118 | endif |
| 4119 | |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4120 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4121 | LIBINTEROP_CLIENT_HELPER_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4122 | $(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] | 4123 | test/cpp/interop/client_helper.cc \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4124 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4125 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4126 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4127 | 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] | 4128 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4129 | |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4130 | ifeq ($(NO_SECURE),true) |
| 4131 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4132 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4133 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4134 | $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a: openssl_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4135 | |
| 4136 | |
| 4137 | else |
| 4138 | |
| 4139 | ifeq ($(NO_PROTOBUF),true) |
| 4140 | |
| 4141 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4142 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4143 | $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a: protobuf_dep_error |
| 4144 | |
| 4145 | |
| 4146 | else |
| 4147 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4148 | $(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] | 4149 | $(E) "[AR] Creating $@" |
| 4150 | $(Q) mkdir -p `dirname $@` |
| 4151 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4152 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a $(LIBINTEROP_CLIENT_HELPER_OBJS) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4153 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4154 | $(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] | 4155 | endif |
| 4156 | |
| 4157 | |
| 4158 | |
| 4159 | |
| 4160 | endif |
| 4161 | |
| 4162 | endif |
| 4163 | |
| 4164 | ifneq ($(NO_SECURE),true) |
| 4165 | ifneq ($(NO_DEPS),true) |
| 4166 | -include $(LIBINTEROP_CLIENT_HELPER_OBJS:.o=.dep) |
| 4167 | endif |
| 4168 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4169 | $(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] | 4170 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4171 | |
| 4172 | LIBINTEROP_CLIENT_MAIN_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4173 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 4174 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 4175 | $(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] | 4176 | test/cpp/interop/client.cc \ |
| 4177 | test/cpp/interop/interop_client.cc \ |
| 4178 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4179 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4180 | |
| 4181 | LIBINTEROP_CLIENT_MAIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBINTEROP_CLIENT_MAIN_SRC)))) |
| 4182 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4183 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4184 | ifeq ($(NO_SECURE),true) |
| 4185 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4186 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4187 | |
| 4188 | $(LIBDIR)/$(CONFIG)/libinterop_client_main.a: openssl_dep_error |
| 4189 | |
| 4190 | |
| 4191 | else |
| 4192 | |
| 4193 | ifeq ($(NO_PROTOBUF),true) |
| 4194 | |
| 4195 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4196 | |
| 4197 | $(LIBDIR)/$(CONFIG)/libinterop_client_main.a: protobuf_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4198 | |
| 4199 | |
| 4200 | else |
| 4201 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4202 | $(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] | 4203 | $(E) "[AR] Creating $@" |
| 4204 | $(Q) mkdir -p `dirname $@` |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4205 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_client_main.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4206 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libinterop_client_main.a $(LIBINTEROP_CLIENT_MAIN_OBJS) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4207 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4208 | $(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] | 4209 | endif |
| 4210 | |
| 4211 | |
| 4212 | |
| 4213 | |
| 4214 | endif |
| 4215 | |
| 4216 | endif |
| 4217 | |
| 4218 | ifneq ($(NO_SECURE),true) |
| 4219 | ifneq ($(NO_DEPS),true) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4220 | -include $(LIBINTEROP_CLIENT_MAIN_OBJS:.o=.dep) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4221 | endif |
| 4222 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4223 | $(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 |
| 4224 | $(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] | 4225 | |
| 4226 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4227 | LIBINTEROP_SERVER_HELPER_SRC = \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4228 | test/cpp/interop/server_helper.cc \ |
| 4229 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4230 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4231 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4232 | 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] | 4233 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4234 | |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4235 | ifeq ($(NO_SECURE),true) |
| 4236 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4237 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4238 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4239 | $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a: openssl_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4240 | |
| 4241 | |
| 4242 | else |
| 4243 | |
| 4244 | ifeq ($(NO_PROTOBUF),true) |
| 4245 | |
| 4246 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4247 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4248 | $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a: protobuf_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4249 | |
| 4250 | |
| 4251 | else |
| 4252 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4253 | $(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] | 4254 | $(E) "[AR] Creating $@" |
| 4255 | $(Q) mkdir -p `dirname $@` |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4256 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4257 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a $(LIBINTEROP_SERVER_HELPER_OBJS) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4258 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4259 | $(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] | 4260 | endif |
| 4261 | |
| 4262 | |
| 4263 | |
| 4264 | |
| 4265 | endif |
| 4266 | |
| 4267 | endif |
| 4268 | |
| 4269 | ifneq ($(NO_SECURE),true) |
| 4270 | ifneq ($(NO_DEPS),true) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4271 | -include $(LIBINTEROP_SERVER_HELPER_OBJS:.o=.dep) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4272 | endif |
| 4273 | endif |
| 4274 | |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4275 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4276 | LIBINTEROP_SERVER_MAIN_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4277 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 4278 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 4279 | $(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] | 4280 | test/cpp/interop/interop_server.cc \ |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4281 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4282 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4283 | |
| 4284 | LIBINTEROP_SERVER_MAIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBINTEROP_SERVER_MAIN_SRC)))) |
| 4285 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4286 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4287 | ifeq ($(NO_SECURE),true) |
| 4288 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4289 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4290 | |
| 4291 | $(LIBDIR)/$(CONFIG)/libinterop_server_main.a: openssl_dep_error |
| 4292 | |
| 4293 | |
| 4294 | else |
| 4295 | |
| 4296 | ifeq ($(NO_PROTOBUF),true) |
| 4297 | |
| 4298 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4299 | |
| 4300 | $(LIBDIR)/$(CONFIG)/libinterop_server_main.a: protobuf_dep_error |
| 4301 | |
| 4302 | |
| 4303 | else |
| 4304 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4305 | $(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] | 4306 | $(E) "[AR] Creating $@" |
| 4307 | $(Q) mkdir -p `dirname $@` |
| 4308 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_server_main.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4309 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libinterop_server_main.a $(LIBINTEROP_SERVER_MAIN_OBJS) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4310 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4311 | $(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] | 4312 | endif |
| 4313 | |
| 4314 | |
| 4315 | |
| 4316 | |
| 4317 | endif |
| 4318 | |
| 4319 | endif |
| 4320 | |
| 4321 | ifneq ($(NO_SECURE),true) |
| 4322 | ifneq ($(NO_DEPS),true) |
| 4323 | -include $(LIBINTEROP_SERVER_MAIN_OBJS:.o=.dep) |
| 4324 | endif |
| 4325 | endif |
David Garcia Quintas | 74686ce | 2016-06-09 15:33:33 -0700 | [diff] [blame] | 4326 | $(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 |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4327 | |
| 4328 | |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4329 | LIBQPS_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4330 | $(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] | 4331 | $(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] | 4332 | $(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] | 4333 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc \ |
| 4334 | $(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] | 4335 | test/cpp/qps/client_async.cc \ |
| 4336 | test/cpp/qps/client_sync.cc \ |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4337 | test/cpp/qps/driver.cc \ |
vjpai | c803442 | 2016-01-19 15:32:42 -0800 | [diff] [blame] | 4338 | test/cpp/qps/limit_cores.cc \ |
David Klempner | e27d189 | 2016-05-19 13:50:16 -0700 | [diff] [blame] | 4339 | test/cpp/qps/parse_json.cc \ |
Craig Tiller | e9a6eb7 | 2015-04-09 15:51:41 -0700 | [diff] [blame] | 4340 | test/cpp/qps/qps_worker.cc \ |
Craig Tiller | f75fc12 | 2015-06-25 06:58:00 -0700 | [diff] [blame] | 4341 | test/cpp/qps/report.cc \ |
Craig Tiller | e9a6eb7 | 2015-04-09 15:51:41 -0700 | [diff] [blame] | 4342 | test/cpp/qps/server_async.cc \ |
| 4343 | test/cpp/qps/server_sync.cc \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 4344 | test/cpp/qps/usage_timer.cc \ |
Craig Tiller | f75fc12 | 2015-06-25 06:58:00 -0700 | [diff] [blame] | 4345 | test/cpp/util/benchmark_config.cc \ |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4346 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4347 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4348 | |
| 4349 | LIBQPS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBQPS_SRC)))) |
| 4350 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4351 | |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4352 | ifeq ($(NO_SECURE),true) |
| 4353 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4354 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4355 | |
| 4356 | $(LIBDIR)/$(CONFIG)/libqps.a: openssl_dep_error |
| 4357 | |
| 4358 | |
| 4359 | else |
| 4360 | |
| 4361 | ifeq ($(NO_PROTOBUF),true) |
| 4362 | |
| 4363 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4364 | |
| 4365 | $(LIBDIR)/$(CONFIG)/libqps.a: protobuf_dep_error |
| 4366 | |
| 4367 | |
| 4368 | else |
| 4369 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4370 | $(LIBDIR)/$(CONFIG)/libqps.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBQPS_OBJS) |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4371 | $(E) "[AR] Creating $@" |
| 4372 | $(Q) mkdir -p `dirname $@` |
| 4373 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libqps.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4374 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBQPS_OBJS) |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4375 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4376 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libqps.a |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4377 | endif |
| 4378 | |
| 4379 | |
| 4380 | |
| 4381 | |
| 4382 | endif |
| 4383 | |
| 4384 | endif |
| 4385 | |
| 4386 | ifneq ($(NO_SECURE),true) |
| 4387 | ifneq ($(NO_DEPS),true) |
| 4388 | -include $(LIBQPS_OBJS:.o=.dep) |
| 4389 | endif |
| 4390 | endif |
vjpai | d8364f7 | 2016-05-31 12:54:04 -0700 | [diff] [blame] | 4391 | $(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 |
| 4392 | $(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 |
| 4393 | $(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 |
| 4394 | $(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] | 4395 | $(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] | 4396 | $(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 |
| 4397 | $(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 |
| 4398 | $(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 |
| 4399 | $(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 |
| 4400 | $(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 |
| 4401 | $(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] | 4402 | |
| 4403 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4404 | LIBGRPC_CSHARP_EXT_SRC = \ |
| 4405 | src/csharp/ext/grpc_csharp_ext.c \ |
| 4406 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4407 | PUBLIC_HEADERS_C += \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4408 | |
| 4409 | LIBGRPC_CSHARP_EXT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_CSHARP_EXT_SRC)))) |
| 4410 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4411 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4412 | ifeq ($(NO_SECURE),true) |
| 4413 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4414 | # 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] | 4415 | |
| 4416 | $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a: openssl_dep_error |
| 4417 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 4418 | $(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] | 4419 | |
| 4420 | else |
| 4421 | |
| 4422 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4423 | $(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] | 4424 | $(E) "[AR] Creating $@" |
| 4425 | $(Q) mkdir -p `dirname $@` |
| 4426 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4427 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a $(LIBGRPC_CSHARP_EXT_OBJS) |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4428 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4429 | $(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] | 4430 | endif |
| 4431 | |
| 4432 | |
| 4433 | |
| 4434 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4435 | $(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] | 4436 | $(E) "[LD] Linking $@" |
| 4437 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4438 | $(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] | 4439 | else |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4440 | $(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] | 4441 | $(E) "[LD] Linking $@" |
| 4442 | $(Q) mkdir -p `dirname $@` |
| 4443 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 4444 | $(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] | 4445 | else |
Nicolas "Pixel" Noble | 8c72ae4 | 2016-07-12 09:18:18 +0200 | [diff] [blame] | 4446 | $(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) |
| 4447 | $(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] | 4448 | $(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] | 4449 | endif |
| 4450 | endif |
| 4451 | |
| 4452 | endif |
| 4453 | |
| 4454 | ifneq ($(NO_SECURE),true) |
| 4455 | ifneq ($(NO_DEPS),true) |
| 4456 | -include $(LIBGRPC_CSHARP_EXT_OBJS:.o=.dep) |
| 4457 | endif |
| 4458 | endif |
| 4459 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4460 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4461 | LIBBORINGSSL_SRC = \ |
| 4462 | src/boringssl/err_data.c \ |
| 4463 | third_party/boringssl/crypto/aes/aes.c \ |
| 4464 | third_party/boringssl/crypto/aes/mode_wrappers.c \ |
| 4465 | third_party/boringssl/crypto/asn1/a_bitstr.c \ |
| 4466 | third_party/boringssl/crypto/asn1/a_bool.c \ |
| 4467 | third_party/boringssl/crypto/asn1/a_bytes.c \ |
| 4468 | third_party/boringssl/crypto/asn1/a_d2i_fp.c \ |
| 4469 | third_party/boringssl/crypto/asn1/a_dup.c \ |
| 4470 | third_party/boringssl/crypto/asn1/a_enum.c \ |
| 4471 | third_party/boringssl/crypto/asn1/a_gentm.c \ |
| 4472 | third_party/boringssl/crypto/asn1/a_i2d_fp.c \ |
| 4473 | third_party/boringssl/crypto/asn1/a_int.c \ |
| 4474 | third_party/boringssl/crypto/asn1/a_mbstr.c \ |
| 4475 | third_party/boringssl/crypto/asn1/a_object.c \ |
| 4476 | third_party/boringssl/crypto/asn1/a_octet.c \ |
| 4477 | third_party/boringssl/crypto/asn1/a_print.c \ |
| 4478 | third_party/boringssl/crypto/asn1/a_strnid.c \ |
| 4479 | third_party/boringssl/crypto/asn1/a_time.c \ |
| 4480 | third_party/boringssl/crypto/asn1/a_type.c \ |
| 4481 | third_party/boringssl/crypto/asn1/a_utctm.c \ |
| 4482 | third_party/boringssl/crypto/asn1/a_utf8.c \ |
| 4483 | third_party/boringssl/crypto/asn1/asn1_lib.c \ |
| 4484 | third_party/boringssl/crypto/asn1/asn1_par.c \ |
| 4485 | third_party/boringssl/crypto/asn1/asn_pack.c \ |
| 4486 | third_party/boringssl/crypto/asn1/bio_asn1.c \ |
| 4487 | third_party/boringssl/crypto/asn1/bio_ndef.c \ |
| 4488 | third_party/boringssl/crypto/asn1/f_enum.c \ |
| 4489 | third_party/boringssl/crypto/asn1/f_int.c \ |
| 4490 | third_party/boringssl/crypto/asn1/f_string.c \ |
| 4491 | third_party/boringssl/crypto/asn1/t_bitst.c \ |
| 4492 | third_party/boringssl/crypto/asn1/t_pkey.c \ |
| 4493 | third_party/boringssl/crypto/asn1/tasn_dec.c \ |
| 4494 | third_party/boringssl/crypto/asn1/tasn_enc.c \ |
| 4495 | third_party/boringssl/crypto/asn1/tasn_fre.c \ |
| 4496 | third_party/boringssl/crypto/asn1/tasn_new.c \ |
| 4497 | third_party/boringssl/crypto/asn1/tasn_prn.c \ |
| 4498 | third_party/boringssl/crypto/asn1/tasn_typ.c \ |
| 4499 | third_party/boringssl/crypto/asn1/tasn_utl.c \ |
| 4500 | third_party/boringssl/crypto/asn1/x_bignum.c \ |
| 4501 | third_party/boringssl/crypto/asn1/x_long.c \ |
| 4502 | third_party/boringssl/crypto/base64/base64.c \ |
| 4503 | third_party/boringssl/crypto/bio/bio.c \ |
| 4504 | third_party/boringssl/crypto/bio/bio_mem.c \ |
| 4505 | third_party/boringssl/crypto/bio/buffer.c \ |
| 4506 | third_party/boringssl/crypto/bio/connect.c \ |
| 4507 | third_party/boringssl/crypto/bio/fd.c \ |
| 4508 | third_party/boringssl/crypto/bio/file.c \ |
| 4509 | third_party/boringssl/crypto/bio/hexdump.c \ |
| 4510 | third_party/boringssl/crypto/bio/pair.c \ |
| 4511 | third_party/boringssl/crypto/bio/printf.c \ |
| 4512 | third_party/boringssl/crypto/bio/socket.c \ |
| 4513 | third_party/boringssl/crypto/bio/socket_helper.c \ |
| 4514 | third_party/boringssl/crypto/bn/add.c \ |
| 4515 | third_party/boringssl/crypto/bn/asm/x86_64-gcc.c \ |
| 4516 | third_party/boringssl/crypto/bn/bn.c \ |
| 4517 | third_party/boringssl/crypto/bn/bn_asn1.c \ |
| 4518 | third_party/boringssl/crypto/bn/cmp.c \ |
| 4519 | third_party/boringssl/crypto/bn/convert.c \ |
| 4520 | third_party/boringssl/crypto/bn/ctx.c \ |
| 4521 | third_party/boringssl/crypto/bn/div.c \ |
| 4522 | third_party/boringssl/crypto/bn/exponentiation.c \ |
| 4523 | third_party/boringssl/crypto/bn/gcd.c \ |
| 4524 | third_party/boringssl/crypto/bn/generic.c \ |
| 4525 | third_party/boringssl/crypto/bn/kronecker.c \ |
| 4526 | third_party/boringssl/crypto/bn/montgomery.c \ |
| 4527 | third_party/boringssl/crypto/bn/mul.c \ |
| 4528 | third_party/boringssl/crypto/bn/prime.c \ |
| 4529 | third_party/boringssl/crypto/bn/random.c \ |
| 4530 | third_party/boringssl/crypto/bn/rsaz_exp.c \ |
| 4531 | third_party/boringssl/crypto/bn/shift.c \ |
| 4532 | third_party/boringssl/crypto/bn/sqrt.c \ |
| 4533 | third_party/boringssl/crypto/buf/buf.c \ |
Craig Tiller | 88b9e48 | 2016-04-21 15:09:56 -0700 | [diff] [blame] | 4534 | third_party/boringssl/crypto/bytestring/asn1_compat.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4535 | third_party/boringssl/crypto/bytestring/ber.c \ |
| 4536 | third_party/boringssl/crypto/bytestring/cbb.c \ |
| 4537 | third_party/boringssl/crypto/bytestring/cbs.c \ |
| 4538 | third_party/boringssl/crypto/chacha/chacha_generic.c \ |
| 4539 | third_party/boringssl/crypto/chacha/chacha_vec.c \ |
| 4540 | third_party/boringssl/crypto/cipher/aead.c \ |
| 4541 | third_party/boringssl/crypto/cipher/cipher.c \ |
| 4542 | third_party/boringssl/crypto/cipher/derive_key.c \ |
| 4543 | third_party/boringssl/crypto/cipher/e_aes.c \ |
| 4544 | third_party/boringssl/crypto/cipher/e_chacha20poly1305.c \ |
| 4545 | third_party/boringssl/crypto/cipher/e_des.c \ |
| 4546 | third_party/boringssl/crypto/cipher/e_null.c \ |
| 4547 | third_party/boringssl/crypto/cipher/e_rc2.c \ |
| 4548 | third_party/boringssl/crypto/cipher/e_rc4.c \ |
| 4549 | third_party/boringssl/crypto/cipher/e_ssl3.c \ |
| 4550 | third_party/boringssl/crypto/cipher/e_tls.c \ |
| 4551 | third_party/boringssl/crypto/cipher/tls_cbc.c \ |
| 4552 | third_party/boringssl/crypto/cmac/cmac.c \ |
| 4553 | third_party/boringssl/crypto/conf/conf.c \ |
| 4554 | third_party/boringssl/crypto/cpu-arm.c \ |
| 4555 | third_party/boringssl/crypto/cpu-intel.c \ |
| 4556 | third_party/boringssl/crypto/crypto.c \ |
| 4557 | third_party/boringssl/crypto/curve25519/curve25519.c \ |
Craig Tiller | 88b9e48 | 2016-04-21 15:09:56 -0700 | [diff] [blame] | 4558 | third_party/boringssl/crypto/curve25519/x25519-x86_64.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4559 | third_party/boringssl/crypto/des/des.c \ |
| 4560 | third_party/boringssl/crypto/dh/check.c \ |
| 4561 | third_party/boringssl/crypto/dh/dh.c \ |
| 4562 | third_party/boringssl/crypto/dh/dh_asn1.c \ |
| 4563 | third_party/boringssl/crypto/dh/params.c \ |
| 4564 | third_party/boringssl/crypto/digest/digest.c \ |
| 4565 | third_party/boringssl/crypto/digest/digests.c \ |
| 4566 | third_party/boringssl/crypto/directory_posix.c \ |
| 4567 | third_party/boringssl/crypto/directory_win.c \ |
| 4568 | third_party/boringssl/crypto/dsa/dsa.c \ |
| 4569 | third_party/boringssl/crypto/dsa/dsa_asn1.c \ |
| 4570 | third_party/boringssl/crypto/ec/ec.c \ |
| 4571 | third_party/boringssl/crypto/ec/ec_asn1.c \ |
| 4572 | third_party/boringssl/crypto/ec/ec_key.c \ |
| 4573 | third_party/boringssl/crypto/ec/ec_montgomery.c \ |
| 4574 | third_party/boringssl/crypto/ec/oct.c \ |
| 4575 | third_party/boringssl/crypto/ec/p224-64.c \ |
| 4576 | third_party/boringssl/crypto/ec/p256-64.c \ |
| 4577 | third_party/boringssl/crypto/ec/p256-x86_64.c \ |
| 4578 | third_party/boringssl/crypto/ec/simple.c \ |
| 4579 | third_party/boringssl/crypto/ec/util-64.c \ |
| 4580 | third_party/boringssl/crypto/ec/wnaf.c \ |
| 4581 | third_party/boringssl/crypto/ecdh/ecdh.c \ |
| 4582 | third_party/boringssl/crypto/ecdsa/ecdsa.c \ |
| 4583 | third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c \ |
| 4584 | third_party/boringssl/crypto/engine/engine.c \ |
| 4585 | third_party/boringssl/crypto/err/err.c \ |
| 4586 | third_party/boringssl/crypto/evp/algorithm.c \ |
| 4587 | third_party/boringssl/crypto/evp/digestsign.c \ |
| 4588 | third_party/boringssl/crypto/evp/evp.c \ |
| 4589 | third_party/boringssl/crypto/evp/evp_asn1.c \ |
| 4590 | third_party/boringssl/crypto/evp/evp_ctx.c \ |
| 4591 | third_party/boringssl/crypto/evp/p_dsa_asn1.c \ |
| 4592 | third_party/boringssl/crypto/evp/p_ec.c \ |
| 4593 | third_party/boringssl/crypto/evp/p_ec_asn1.c \ |
| 4594 | third_party/boringssl/crypto/evp/p_rsa.c \ |
| 4595 | third_party/boringssl/crypto/evp/p_rsa_asn1.c \ |
| 4596 | third_party/boringssl/crypto/evp/pbkdf.c \ |
| 4597 | third_party/boringssl/crypto/evp/sign.c \ |
| 4598 | third_party/boringssl/crypto/ex_data.c \ |
| 4599 | third_party/boringssl/crypto/hkdf/hkdf.c \ |
| 4600 | third_party/boringssl/crypto/hmac/hmac.c \ |
| 4601 | third_party/boringssl/crypto/lhash/lhash.c \ |
| 4602 | third_party/boringssl/crypto/md4/md4.c \ |
| 4603 | third_party/boringssl/crypto/md5/md5.c \ |
| 4604 | third_party/boringssl/crypto/mem.c \ |
| 4605 | third_party/boringssl/crypto/modes/cbc.c \ |
| 4606 | third_party/boringssl/crypto/modes/cfb.c \ |
| 4607 | third_party/boringssl/crypto/modes/ctr.c \ |
| 4608 | third_party/boringssl/crypto/modes/gcm.c \ |
| 4609 | third_party/boringssl/crypto/modes/ofb.c \ |
| 4610 | third_party/boringssl/crypto/obj/obj.c \ |
| 4611 | third_party/boringssl/crypto/obj/obj_xref.c \ |
| 4612 | third_party/boringssl/crypto/pem/pem_all.c \ |
| 4613 | third_party/boringssl/crypto/pem/pem_info.c \ |
| 4614 | third_party/boringssl/crypto/pem/pem_lib.c \ |
| 4615 | third_party/boringssl/crypto/pem/pem_oth.c \ |
| 4616 | third_party/boringssl/crypto/pem/pem_pk8.c \ |
| 4617 | third_party/boringssl/crypto/pem/pem_pkey.c \ |
| 4618 | third_party/boringssl/crypto/pem/pem_x509.c \ |
| 4619 | third_party/boringssl/crypto/pem/pem_xaux.c \ |
| 4620 | third_party/boringssl/crypto/pkcs8/p5_pbe.c \ |
| 4621 | third_party/boringssl/crypto/pkcs8/p5_pbev2.c \ |
| 4622 | third_party/boringssl/crypto/pkcs8/p8_pkey.c \ |
| 4623 | third_party/boringssl/crypto/pkcs8/pkcs8.c \ |
| 4624 | third_party/boringssl/crypto/poly1305/poly1305.c \ |
| 4625 | third_party/boringssl/crypto/poly1305/poly1305_arm.c \ |
| 4626 | third_party/boringssl/crypto/poly1305/poly1305_vec.c \ |
| 4627 | third_party/boringssl/crypto/rand/rand.c \ |
| 4628 | third_party/boringssl/crypto/rand/urandom.c \ |
| 4629 | third_party/boringssl/crypto/rand/windows.c \ |
| 4630 | third_party/boringssl/crypto/rc4/rc4.c \ |
| 4631 | third_party/boringssl/crypto/refcount_c11.c \ |
| 4632 | third_party/boringssl/crypto/refcount_lock.c \ |
| 4633 | third_party/boringssl/crypto/rsa/blinding.c \ |
| 4634 | third_party/boringssl/crypto/rsa/padding.c \ |
| 4635 | third_party/boringssl/crypto/rsa/rsa.c \ |
| 4636 | third_party/boringssl/crypto/rsa/rsa_asn1.c \ |
| 4637 | third_party/boringssl/crypto/rsa/rsa_impl.c \ |
| 4638 | third_party/boringssl/crypto/sha/sha1.c \ |
| 4639 | third_party/boringssl/crypto/sha/sha256.c \ |
| 4640 | third_party/boringssl/crypto/sha/sha512.c \ |
| 4641 | third_party/boringssl/crypto/stack/stack.c \ |
| 4642 | third_party/boringssl/crypto/thread.c \ |
| 4643 | third_party/boringssl/crypto/thread_none.c \ |
| 4644 | third_party/boringssl/crypto/thread_pthread.c \ |
| 4645 | third_party/boringssl/crypto/thread_win.c \ |
| 4646 | third_party/boringssl/crypto/time_support.c \ |
| 4647 | third_party/boringssl/crypto/x509/a_digest.c \ |
| 4648 | third_party/boringssl/crypto/x509/a_sign.c \ |
| 4649 | third_party/boringssl/crypto/x509/a_strex.c \ |
| 4650 | third_party/boringssl/crypto/x509/a_verify.c \ |
| 4651 | third_party/boringssl/crypto/x509/asn1_gen.c \ |
| 4652 | third_party/boringssl/crypto/x509/by_dir.c \ |
| 4653 | third_party/boringssl/crypto/x509/by_file.c \ |
| 4654 | third_party/boringssl/crypto/x509/i2d_pr.c \ |
| 4655 | third_party/boringssl/crypto/x509/pkcs7.c \ |
| 4656 | third_party/boringssl/crypto/x509/t_crl.c \ |
| 4657 | third_party/boringssl/crypto/x509/t_req.c \ |
| 4658 | third_party/boringssl/crypto/x509/t_x509.c \ |
| 4659 | third_party/boringssl/crypto/x509/t_x509a.c \ |
| 4660 | third_party/boringssl/crypto/x509/x509.c \ |
| 4661 | third_party/boringssl/crypto/x509/x509_att.c \ |
| 4662 | third_party/boringssl/crypto/x509/x509_cmp.c \ |
| 4663 | third_party/boringssl/crypto/x509/x509_d2.c \ |
| 4664 | third_party/boringssl/crypto/x509/x509_def.c \ |
| 4665 | third_party/boringssl/crypto/x509/x509_ext.c \ |
| 4666 | third_party/boringssl/crypto/x509/x509_lu.c \ |
| 4667 | third_party/boringssl/crypto/x509/x509_obj.c \ |
| 4668 | third_party/boringssl/crypto/x509/x509_r2x.c \ |
| 4669 | third_party/boringssl/crypto/x509/x509_req.c \ |
| 4670 | third_party/boringssl/crypto/x509/x509_set.c \ |
| 4671 | third_party/boringssl/crypto/x509/x509_trs.c \ |
| 4672 | third_party/boringssl/crypto/x509/x509_txt.c \ |
| 4673 | third_party/boringssl/crypto/x509/x509_v3.c \ |
| 4674 | third_party/boringssl/crypto/x509/x509_vfy.c \ |
| 4675 | third_party/boringssl/crypto/x509/x509_vpm.c \ |
| 4676 | third_party/boringssl/crypto/x509/x509cset.c \ |
| 4677 | third_party/boringssl/crypto/x509/x509name.c \ |
| 4678 | third_party/boringssl/crypto/x509/x509rset.c \ |
| 4679 | third_party/boringssl/crypto/x509/x509spki.c \ |
| 4680 | third_party/boringssl/crypto/x509/x509type.c \ |
| 4681 | third_party/boringssl/crypto/x509/x_algor.c \ |
| 4682 | third_party/boringssl/crypto/x509/x_all.c \ |
| 4683 | third_party/boringssl/crypto/x509/x_attrib.c \ |
| 4684 | third_party/boringssl/crypto/x509/x_crl.c \ |
| 4685 | third_party/boringssl/crypto/x509/x_exten.c \ |
| 4686 | third_party/boringssl/crypto/x509/x_info.c \ |
| 4687 | third_party/boringssl/crypto/x509/x_name.c \ |
| 4688 | third_party/boringssl/crypto/x509/x_pkey.c \ |
| 4689 | third_party/boringssl/crypto/x509/x_pubkey.c \ |
| 4690 | third_party/boringssl/crypto/x509/x_req.c \ |
| 4691 | third_party/boringssl/crypto/x509/x_sig.c \ |
| 4692 | third_party/boringssl/crypto/x509/x_spki.c \ |
| 4693 | third_party/boringssl/crypto/x509/x_val.c \ |
| 4694 | third_party/boringssl/crypto/x509/x_x509.c \ |
| 4695 | third_party/boringssl/crypto/x509/x_x509a.c \ |
| 4696 | third_party/boringssl/crypto/x509v3/pcy_cache.c \ |
| 4697 | third_party/boringssl/crypto/x509v3/pcy_data.c \ |
| 4698 | third_party/boringssl/crypto/x509v3/pcy_lib.c \ |
| 4699 | third_party/boringssl/crypto/x509v3/pcy_map.c \ |
| 4700 | third_party/boringssl/crypto/x509v3/pcy_node.c \ |
| 4701 | third_party/boringssl/crypto/x509v3/pcy_tree.c \ |
| 4702 | third_party/boringssl/crypto/x509v3/v3_akey.c \ |
| 4703 | third_party/boringssl/crypto/x509v3/v3_akeya.c \ |
| 4704 | third_party/boringssl/crypto/x509v3/v3_alt.c \ |
| 4705 | third_party/boringssl/crypto/x509v3/v3_bcons.c \ |
| 4706 | third_party/boringssl/crypto/x509v3/v3_bitst.c \ |
| 4707 | third_party/boringssl/crypto/x509v3/v3_conf.c \ |
| 4708 | third_party/boringssl/crypto/x509v3/v3_cpols.c \ |
| 4709 | third_party/boringssl/crypto/x509v3/v3_crld.c \ |
| 4710 | third_party/boringssl/crypto/x509v3/v3_enum.c \ |
| 4711 | third_party/boringssl/crypto/x509v3/v3_extku.c \ |
| 4712 | third_party/boringssl/crypto/x509v3/v3_genn.c \ |
| 4713 | third_party/boringssl/crypto/x509v3/v3_ia5.c \ |
| 4714 | third_party/boringssl/crypto/x509v3/v3_info.c \ |
| 4715 | third_party/boringssl/crypto/x509v3/v3_int.c \ |
| 4716 | third_party/boringssl/crypto/x509v3/v3_lib.c \ |
| 4717 | third_party/boringssl/crypto/x509v3/v3_ncons.c \ |
| 4718 | third_party/boringssl/crypto/x509v3/v3_pci.c \ |
| 4719 | third_party/boringssl/crypto/x509v3/v3_pcia.c \ |
| 4720 | third_party/boringssl/crypto/x509v3/v3_pcons.c \ |
| 4721 | third_party/boringssl/crypto/x509v3/v3_pku.c \ |
| 4722 | third_party/boringssl/crypto/x509v3/v3_pmaps.c \ |
| 4723 | third_party/boringssl/crypto/x509v3/v3_prn.c \ |
| 4724 | third_party/boringssl/crypto/x509v3/v3_purp.c \ |
| 4725 | third_party/boringssl/crypto/x509v3/v3_skey.c \ |
| 4726 | third_party/boringssl/crypto/x509v3/v3_sxnet.c \ |
| 4727 | third_party/boringssl/crypto/x509v3/v3_utl.c \ |
| 4728 | third_party/boringssl/ssl/custom_extensions.c \ |
| 4729 | third_party/boringssl/ssl/d1_both.c \ |
| 4730 | third_party/boringssl/ssl/d1_clnt.c \ |
| 4731 | third_party/boringssl/ssl/d1_lib.c \ |
| 4732 | third_party/boringssl/ssl/d1_meth.c \ |
| 4733 | third_party/boringssl/ssl/d1_pkt.c \ |
| 4734 | third_party/boringssl/ssl/d1_srtp.c \ |
| 4735 | third_party/boringssl/ssl/d1_srvr.c \ |
| 4736 | third_party/boringssl/ssl/dtls_record.c \ |
| 4737 | third_party/boringssl/ssl/pqueue/pqueue.c \ |
| 4738 | third_party/boringssl/ssl/s3_both.c \ |
| 4739 | third_party/boringssl/ssl/s3_clnt.c \ |
| 4740 | third_party/boringssl/ssl/s3_enc.c \ |
| 4741 | third_party/boringssl/ssl/s3_lib.c \ |
| 4742 | third_party/boringssl/ssl/s3_meth.c \ |
| 4743 | third_party/boringssl/ssl/s3_pkt.c \ |
| 4744 | third_party/boringssl/ssl/s3_srvr.c \ |
| 4745 | third_party/boringssl/ssl/ssl_aead_ctx.c \ |
| 4746 | third_party/boringssl/ssl/ssl_asn1.c \ |
| 4747 | third_party/boringssl/ssl/ssl_buffer.c \ |
| 4748 | third_party/boringssl/ssl/ssl_cert.c \ |
| 4749 | third_party/boringssl/ssl/ssl_cipher.c \ |
Craig Tiller | 88b9e48 | 2016-04-21 15:09:56 -0700 | [diff] [blame] | 4750 | third_party/boringssl/ssl/ssl_ecdh.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4751 | third_party/boringssl/ssl/ssl_file.c \ |
| 4752 | third_party/boringssl/ssl/ssl_lib.c \ |
| 4753 | third_party/boringssl/ssl/ssl_rsa.c \ |
| 4754 | third_party/boringssl/ssl/ssl_session.c \ |
| 4755 | third_party/boringssl/ssl/ssl_stat.c \ |
| 4756 | third_party/boringssl/ssl/t1_enc.c \ |
| 4757 | third_party/boringssl/ssl/t1_lib.c \ |
| 4758 | third_party/boringssl/ssl/tls_record.c \ |
| 4759 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4760 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4761 | |
| 4762 | LIBBORINGSSL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_SRC)))) |
| 4763 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4764 | $(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] | 4765 | $(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] | 4766 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4767 | $(LIBDIR)/$(CONFIG)/libboringssl.a: $(ZLIB_DEP) $(LIBBORINGSSL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4768 | $(E) "[AR] Creating $@" |
| 4769 | $(Q) mkdir -p `dirname $@` |
| 4770 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4771 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl.a $(LIBBORINGSSL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4772 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4773 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4774 | endif |
| 4775 | |
| 4776 | |
| 4777 | |
| 4778 | |
| 4779 | ifneq ($(NO_DEPS),true) |
| 4780 | -include $(LIBBORINGSSL_OBJS:.o=.dep) |
| 4781 | endif |
| 4782 | |
| 4783 | |
| 4784 | LIBBORINGSSL_TEST_UTIL_SRC = \ |
| 4785 | third_party/boringssl/crypto/test/file_test.cc \ |
| 4786 | third_party/boringssl/crypto/test/malloc.cc \ |
| 4787 | third_party/boringssl/crypto/test/test_util.cc \ |
| 4788 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4789 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4790 | |
| 4791 | LIBBORINGSSL_TEST_UTIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_TEST_UTIL_SRC)))) |
| 4792 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4793 | $(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] | 4794 | $(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] | 4795 | |
| 4796 | ifeq ($(NO_PROTOBUF),true) |
| 4797 | |
| 4798 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4799 | |
| 4800 | $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a: protobuf_dep_error |
| 4801 | |
| 4802 | |
| 4803 | else |
| 4804 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4805 | $(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] | 4806 | $(E) "[AR] Creating $@" |
| 4807 | $(Q) mkdir -p `dirname $@` |
| 4808 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4809 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBBORINGSSL_TEST_UTIL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4810 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4811 | $(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] | 4812 | endif |
| 4813 | |
| 4814 | |
| 4815 | |
| 4816 | |
| 4817 | endif |
| 4818 | |
| 4819 | ifneq ($(NO_DEPS),true) |
| 4820 | -include $(LIBBORINGSSL_TEST_UTIL_OBJS:.o=.dep) |
| 4821 | endif |
| 4822 | |
| 4823 | |
| 4824 | LIBBORINGSSL_AES_TEST_LIB_SRC = \ |
| 4825 | third_party/boringssl/crypto/aes/aes_test.cc \ |
| 4826 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4827 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4828 | |
| 4829 | LIBBORINGSSL_AES_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_AES_TEST_LIB_SRC)))) |
| 4830 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4831 | $(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] | 4832 | $(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] | 4833 | |
| 4834 | ifeq ($(NO_PROTOBUF),true) |
| 4835 | |
| 4836 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4837 | |
| 4838 | $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a: protobuf_dep_error |
| 4839 | |
| 4840 | |
| 4841 | else |
| 4842 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4843 | $(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] | 4844 | $(E) "[AR] Creating $@" |
| 4845 | $(Q) mkdir -p `dirname $@` |
| 4846 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4847 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a $(LIBBORINGSSL_AES_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4848 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4849 | $(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] | 4850 | endif |
| 4851 | |
| 4852 | |
| 4853 | |
| 4854 | |
| 4855 | endif |
| 4856 | |
| 4857 | ifneq ($(NO_DEPS),true) |
| 4858 | -include $(LIBBORINGSSL_AES_TEST_LIB_OBJS:.o=.dep) |
| 4859 | endif |
| 4860 | |
| 4861 | |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 4862 | LIBBORINGSSL_ASN1_TEST_LIB_SRC = \ |
| 4863 | third_party/boringssl/crypto/asn1/asn1_test.cc \ |
| 4864 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4865 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 4866 | |
| 4867 | LIBBORINGSSL_ASN1_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ASN1_TEST_LIB_SRC)))) |
| 4868 | |
| 4869 | $(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] | 4870 | $(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] | 4871 | |
| 4872 | ifeq ($(NO_PROTOBUF),true) |
| 4873 | |
| 4874 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4875 | |
| 4876 | $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a: protobuf_dep_error |
| 4877 | |
| 4878 | |
| 4879 | else |
| 4880 | |
| 4881 | $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS) |
| 4882 | $(E) "[AR] Creating $@" |
| 4883 | $(Q) mkdir -p `dirname $@` |
| 4884 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a |
| 4885 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS) |
| 4886 | ifeq ($(SYSTEM),Darwin) |
| 4887 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a |
| 4888 | endif |
| 4889 | |
| 4890 | |
| 4891 | |
| 4892 | |
| 4893 | endif |
| 4894 | |
| 4895 | ifneq ($(NO_DEPS),true) |
| 4896 | -include $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS:.o=.dep) |
| 4897 | endif |
| 4898 | |
| 4899 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4900 | LIBBORINGSSL_BASE64_TEST_LIB_SRC = \ |
| 4901 | third_party/boringssl/crypto/base64/base64_test.cc \ |
| 4902 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4903 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4904 | |
| 4905 | LIBBORINGSSL_BASE64_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BASE64_TEST_LIB_SRC)))) |
| 4906 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4907 | $(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] | 4908 | $(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] | 4909 | |
| 4910 | ifeq ($(NO_PROTOBUF),true) |
| 4911 | |
| 4912 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4913 | |
| 4914 | $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a: protobuf_dep_error |
| 4915 | |
| 4916 | |
| 4917 | else |
| 4918 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4919 | $(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] | 4920 | $(E) "[AR] Creating $@" |
| 4921 | $(Q) mkdir -p `dirname $@` |
| 4922 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4923 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a $(LIBBORINGSSL_BASE64_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4924 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4925 | $(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] | 4926 | endif |
| 4927 | |
| 4928 | |
| 4929 | |
| 4930 | |
| 4931 | endif |
| 4932 | |
| 4933 | ifneq ($(NO_DEPS),true) |
| 4934 | -include $(LIBBORINGSSL_BASE64_TEST_LIB_OBJS:.o=.dep) |
| 4935 | endif |
| 4936 | |
| 4937 | |
| 4938 | LIBBORINGSSL_BIO_TEST_LIB_SRC = \ |
| 4939 | third_party/boringssl/crypto/bio/bio_test.cc \ |
| 4940 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4941 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4942 | |
| 4943 | LIBBORINGSSL_BIO_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BIO_TEST_LIB_SRC)))) |
| 4944 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4945 | $(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] | 4946 | $(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] | 4947 | |
| 4948 | ifeq ($(NO_PROTOBUF),true) |
| 4949 | |
| 4950 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4951 | |
| 4952 | $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a: protobuf_dep_error |
| 4953 | |
| 4954 | |
| 4955 | else |
| 4956 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4957 | $(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] | 4958 | $(E) "[AR] Creating $@" |
| 4959 | $(Q) mkdir -p `dirname $@` |
| 4960 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4961 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a $(LIBBORINGSSL_BIO_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4962 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4963 | $(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] | 4964 | endif |
| 4965 | |
| 4966 | |
| 4967 | |
| 4968 | |
| 4969 | endif |
| 4970 | |
| 4971 | ifneq ($(NO_DEPS),true) |
| 4972 | -include $(LIBBORINGSSL_BIO_TEST_LIB_OBJS:.o=.dep) |
| 4973 | endif |
| 4974 | |
| 4975 | |
| 4976 | LIBBORINGSSL_BN_TEST_LIB_SRC = \ |
| 4977 | third_party/boringssl/crypto/bn/bn_test.cc \ |
| 4978 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4979 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4980 | |
| 4981 | LIBBORINGSSL_BN_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BN_TEST_LIB_SRC)))) |
| 4982 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4983 | $(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] | 4984 | $(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] | 4985 | |
| 4986 | ifeq ($(NO_PROTOBUF),true) |
| 4987 | |
| 4988 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4989 | |
| 4990 | $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a: protobuf_dep_error |
| 4991 | |
| 4992 | |
| 4993 | else |
| 4994 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4995 | $(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] | 4996 | $(E) "[AR] Creating $@" |
| 4997 | $(Q) mkdir -p `dirname $@` |
| 4998 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4999 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a $(LIBBORINGSSL_BN_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5000 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5001 | $(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] | 5002 | endif |
| 5003 | |
| 5004 | |
| 5005 | |
| 5006 | |
| 5007 | endif |
| 5008 | |
| 5009 | ifneq ($(NO_DEPS),true) |
| 5010 | -include $(LIBBORINGSSL_BN_TEST_LIB_OBJS:.o=.dep) |
| 5011 | endif |
| 5012 | |
| 5013 | |
| 5014 | LIBBORINGSSL_BYTESTRING_TEST_LIB_SRC = \ |
| 5015 | third_party/boringssl/crypto/bytestring/bytestring_test.cc \ |
| 5016 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5017 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5018 | |
| 5019 | LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BYTESTRING_TEST_LIB_SRC)))) |
| 5020 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5021 | $(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] | 5022 | $(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] | 5023 | |
| 5024 | ifeq ($(NO_PROTOBUF),true) |
| 5025 | |
| 5026 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5027 | |
| 5028 | $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a: protobuf_dep_error |
| 5029 | |
| 5030 | |
| 5031 | else |
| 5032 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5033 | $(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] | 5034 | $(E) "[AR] Creating $@" |
| 5035 | $(Q) mkdir -p `dirname $@` |
| 5036 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5037 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a $(LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5038 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5039 | $(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] | 5040 | endif |
| 5041 | |
| 5042 | |
| 5043 | |
| 5044 | |
| 5045 | endif |
| 5046 | |
| 5047 | ifneq ($(NO_DEPS),true) |
| 5048 | -include $(LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS:.o=.dep) |
| 5049 | endif |
| 5050 | |
| 5051 | |
| 5052 | LIBBORINGSSL_AEAD_TEST_LIB_SRC = \ |
| 5053 | third_party/boringssl/crypto/cipher/aead_test.cc \ |
| 5054 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5055 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5056 | |
| 5057 | LIBBORINGSSL_AEAD_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_AEAD_TEST_LIB_SRC)))) |
| 5058 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5059 | $(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] | 5060 | $(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] | 5061 | |
| 5062 | ifeq ($(NO_PROTOBUF),true) |
| 5063 | |
| 5064 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5065 | |
| 5066 | $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a: protobuf_dep_error |
| 5067 | |
| 5068 | |
| 5069 | else |
| 5070 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5071 | $(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] | 5072 | $(E) "[AR] Creating $@" |
| 5073 | $(Q) mkdir -p `dirname $@` |
| 5074 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5075 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a $(LIBBORINGSSL_AEAD_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5076 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5077 | $(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] | 5078 | endif |
| 5079 | |
| 5080 | |
| 5081 | |
| 5082 | |
| 5083 | endif |
| 5084 | |
| 5085 | ifneq ($(NO_DEPS),true) |
| 5086 | -include $(LIBBORINGSSL_AEAD_TEST_LIB_OBJS:.o=.dep) |
| 5087 | endif |
| 5088 | |
| 5089 | |
| 5090 | LIBBORINGSSL_CIPHER_TEST_LIB_SRC = \ |
| 5091 | third_party/boringssl/crypto/cipher/cipher_test.cc \ |
| 5092 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5093 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5094 | |
| 5095 | LIBBORINGSSL_CIPHER_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_CIPHER_TEST_LIB_SRC)))) |
| 5096 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5097 | $(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] | 5098 | $(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] | 5099 | |
| 5100 | ifeq ($(NO_PROTOBUF),true) |
| 5101 | |
| 5102 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5103 | |
| 5104 | $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a: protobuf_dep_error |
| 5105 | |
| 5106 | |
| 5107 | else |
| 5108 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5109 | $(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] | 5110 | $(E) "[AR] Creating $@" |
| 5111 | $(Q) mkdir -p `dirname $@` |
| 5112 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5113 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a $(LIBBORINGSSL_CIPHER_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5114 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5115 | $(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] | 5116 | endif |
| 5117 | |
| 5118 | |
| 5119 | |
| 5120 | |
| 5121 | endif |
| 5122 | |
| 5123 | ifneq ($(NO_DEPS),true) |
| 5124 | -include $(LIBBORINGSSL_CIPHER_TEST_LIB_OBJS:.o=.dep) |
| 5125 | endif |
| 5126 | |
| 5127 | |
| 5128 | LIBBORINGSSL_CMAC_TEST_LIB_SRC = \ |
| 5129 | third_party/boringssl/crypto/cmac/cmac_test.cc \ |
| 5130 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5131 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5132 | |
| 5133 | LIBBORINGSSL_CMAC_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_CMAC_TEST_LIB_SRC)))) |
| 5134 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5135 | $(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] | 5136 | $(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] | 5137 | |
| 5138 | ifeq ($(NO_PROTOBUF),true) |
| 5139 | |
| 5140 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5141 | |
| 5142 | $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a: protobuf_dep_error |
| 5143 | |
| 5144 | |
| 5145 | else |
| 5146 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5147 | $(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] | 5148 | $(E) "[AR] Creating $@" |
| 5149 | $(Q) mkdir -p `dirname $@` |
| 5150 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5151 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a $(LIBBORINGSSL_CMAC_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5152 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5153 | $(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] | 5154 | endif |
| 5155 | |
| 5156 | |
| 5157 | |
| 5158 | |
| 5159 | endif |
| 5160 | |
| 5161 | ifneq ($(NO_DEPS),true) |
| 5162 | -include $(LIBBORINGSSL_CMAC_TEST_LIB_OBJS:.o=.dep) |
| 5163 | endif |
| 5164 | |
| 5165 | |
| 5166 | LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_SRC = \ |
| 5167 | third_party/boringssl/crypto/constant_time_test.c \ |
| 5168 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5169 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5170 | |
| 5171 | LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_SRC)))) |
| 5172 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5173 | $(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] | 5174 | $(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] | 5175 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5176 | $(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] | 5177 | $(E) "[AR] Creating $@" |
| 5178 | $(Q) mkdir -p `dirname $@` |
| 5179 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_constant_time_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5180 | $(Q) $(AR) $(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] | 5181 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5182 | $(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] | 5183 | endif |
| 5184 | |
| 5185 | |
| 5186 | |
| 5187 | |
| 5188 | ifneq ($(NO_DEPS),true) |
| 5189 | -include $(LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_OBJS:.o=.dep) |
| 5190 | endif |
| 5191 | |
| 5192 | |
| 5193 | LIBBORINGSSL_ED25519_TEST_LIB_SRC = \ |
| 5194 | third_party/boringssl/crypto/curve25519/ed25519_test.cc \ |
| 5195 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5196 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5197 | |
| 5198 | LIBBORINGSSL_ED25519_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ED25519_TEST_LIB_SRC)))) |
| 5199 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5200 | $(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] | 5201 | $(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] | 5202 | |
| 5203 | ifeq ($(NO_PROTOBUF),true) |
| 5204 | |
| 5205 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5206 | |
| 5207 | $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a: protobuf_dep_error |
| 5208 | |
| 5209 | |
| 5210 | else |
| 5211 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5212 | $(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] | 5213 | $(E) "[AR] Creating $@" |
| 5214 | $(Q) mkdir -p `dirname $@` |
| 5215 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5216 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a $(LIBBORINGSSL_ED25519_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5217 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5218 | $(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] | 5219 | endif |
| 5220 | |
| 5221 | |
| 5222 | |
| 5223 | |
| 5224 | endif |
| 5225 | |
| 5226 | ifneq ($(NO_DEPS),true) |
| 5227 | -include $(LIBBORINGSSL_ED25519_TEST_LIB_OBJS:.o=.dep) |
| 5228 | endif |
| 5229 | |
| 5230 | |
| 5231 | LIBBORINGSSL_X25519_TEST_LIB_SRC = \ |
| 5232 | third_party/boringssl/crypto/curve25519/x25519_test.cc \ |
| 5233 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5234 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5235 | |
| 5236 | LIBBORINGSSL_X25519_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_X25519_TEST_LIB_SRC)))) |
| 5237 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5238 | $(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] | 5239 | $(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] | 5240 | |
| 5241 | ifeq ($(NO_PROTOBUF),true) |
| 5242 | |
| 5243 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5244 | |
| 5245 | $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a: protobuf_dep_error |
| 5246 | |
| 5247 | |
| 5248 | else |
| 5249 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5250 | $(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] | 5251 | $(E) "[AR] Creating $@" |
| 5252 | $(Q) mkdir -p `dirname $@` |
| 5253 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5254 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a $(LIBBORINGSSL_X25519_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5255 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5256 | $(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] | 5257 | endif |
| 5258 | |
| 5259 | |
| 5260 | |
| 5261 | |
| 5262 | endif |
| 5263 | |
| 5264 | ifneq ($(NO_DEPS),true) |
| 5265 | -include $(LIBBORINGSSL_X25519_TEST_LIB_OBJS:.o=.dep) |
| 5266 | endif |
| 5267 | |
| 5268 | |
| 5269 | LIBBORINGSSL_DH_TEST_LIB_SRC = \ |
| 5270 | third_party/boringssl/crypto/dh/dh_test.cc \ |
| 5271 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5272 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5273 | |
| 5274 | LIBBORINGSSL_DH_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_DH_TEST_LIB_SRC)))) |
| 5275 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5276 | $(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] | 5277 | $(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] | 5278 | |
| 5279 | ifeq ($(NO_PROTOBUF),true) |
| 5280 | |
| 5281 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5282 | |
| 5283 | $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a: protobuf_dep_error |
| 5284 | |
| 5285 | |
| 5286 | else |
| 5287 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5288 | $(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] | 5289 | $(E) "[AR] Creating $@" |
| 5290 | $(Q) mkdir -p `dirname $@` |
| 5291 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5292 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a $(LIBBORINGSSL_DH_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5293 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5294 | $(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] | 5295 | endif |
| 5296 | |
| 5297 | |
| 5298 | |
| 5299 | |
| 5300 | endif |
| 5301 | |
| 5302 | ifneq ($(NO_DEPS),true) |
| 5303 | -include $(LIBBORINGSSL_DH_TEST_LIB_OBJS:.o=.dep) |
| 5304 | endif |
| 5305 | |
| 5306 | |
| 5307 | LIBBORINGSSL_DIGEST_TEST_LIB_SRC = \ |
| 5308 | third_party/boringssl/crypto/digest/digest_test.cc \ |
| 5309 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5310 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5311 | |
| 5312 | LIBBORINGSSL_DIGEST_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_DIGEST_TEST_LIB_SRC)))) |
| 5313 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5314 | $(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] | 5315 | $(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] | 5316 | |
| 5317 | ifeq ($(NO_PROTOBUF),true) |
| 5318 | |
| 5319 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5320 | |
| 5321 | $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a: protobuf_dep_error |
| 5322 | |
| 5323 | |
| 5324 | else |
| 5325 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5326 | $(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] | 5327 | $(E) "[AR] Creating $@" |
| 5328 | $(Q) mkdir -p `dirname $@` |
| 5329 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5330 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a $(LIBBORINGSSL_DIGEST_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5331 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5332 | $(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] | 5333 | endif |
| 5334 | |
| 5335 | |
| 5336 | |
| 5337 | |
| 5338 | endif |
| 5339 | |
| 5340 | ifneq ($(NO_DEPS),true) |
| 5341 | -include $(LIBBORINGSSL_DIGEST_TEST_LIB_OBJS:.o=.dep) |
| 5342 | endif |
| 5343 | |
| 5344 | |
| 5345 | LIBBORINGSSL_DSA_TEST_LIB_SRC = \ |
| 5346 | third_party/boringssl/crypto/dsa/dsa_test.c \ |
| 5347 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5348 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5349 | |
| 5350 | LIBBORINGSSL_DSA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_DSA_TEST_LIB_SRC)))) |
| 5351 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5352 | $(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] | 5353 | $(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] | 5354 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5355 | $(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] | 5356 | $(E) "[AR] Creating $@" |
| 5357 | $(Q) mkdir -p `dirname $@` |
| 5358 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_dsa_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5359 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_dsa_test_lib.a $(LIBBORINGSSL_DSA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5360 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5361 | $(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] | 5362 | endif |
| 5363 | |
| 5364 | |
| 5365 | |
| 5366 | |
| 5367 | ifneq ($(NO_DEPS),true) |
| 5368 | -include $(LIBBORINGSSL_DSA_TEST_LIB_OBJS:.o=.dep) |
| 5369 | endif |
| 5370 | |
| 5371 | |
| 5372 | LIBBORINGSSL_EC_TEST_LIB_SRC = \ |
| 5373 | third_party/boringssl/crypto/ec/ec_test.cc \ |
| 5374 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5375 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5376 | |
| 5377 | LIBBORINGSSL_EC_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EC_TEST_LIB_SRC)))) |
| 5378 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5379 | $(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] | 5380 | $(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] | 5381 | |
| 5382 | ifeq ($(NO_PROTOBUF),true) |
| 5383 | |
| 5384 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5385 | |
| 5386 | $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a: protobuf_dep_error |
| 5387 | |
| 5388 | |
| 5389 | else |
| 5390 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5391 | $(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] | 5392 | $(E) "[AR] Creating $@" |
| 5393 | $(Q) mkdir -p `dirname $@` |
| 5394 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5395 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a $(LIBBORINGSSL_EC_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5396 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5397 | $(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] | 5398 | endif |
| 5399 | |
| 5400 | |
| 5401 | |
| 5402 | |
| 5403 | endif |
| 5404 | |
| 5405 | ifneq ($(NO_DEPS),true) |
| 5406 | -include $(LIBBORINGSSL_EC_TEST_LIB_OBJS:.o=.dep) |
| 5407 | endif |
| 5408 | |
| 5409 | |
| 5410 | LIBBORINGSSL_EXAMPLE_MUL_LIB_SRC = \ |
| 5411 | third_party/boringssl/crypto/ec/example_mul.c \ |
| 5412 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5413 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5414 | |
| 5415 | LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EXAMPLE_MUL_LIB_SRC)))) |
| 5416 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5417 | $(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] | 5418 | $(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] | 5419 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5420 | $(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] | 5421 | $(E) "[AR] Creating $@" |
| 5422 | $(Q) mkdir -p `dirname $@` |
| 5423 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_example_mul_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5424 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_example_mul_lib.a $(LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5425 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5426 | $(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] | 5427 | endif |
| 5428 | |
| 5429 | |
| 5430 | |
| 5431 | |
| 5432 | ifneq ($(NO_DEPS),true) |
| 5433 | -include $(LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS:.o=.dep) |
| 5434 | endif |
| 5435 | |
| 5436 | |
| 5437 | LIBBORINGSSL_ECDSA_TEST_LIB_SRC = \ |
| 5438 | third_party/boringssl/crypto/ecdsa/ecdsa_test.cc \ |
| 5439 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5440 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5441 | |
| 5442 | LIBBORINGSSL_ECDSA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ECDSA_TEST_LIB_SRC)))) |
| 5443 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5444 | $(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] | 5445 | $(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] | 5446 | |
| 5447 | ifeq ($(NO_PROTOBUF),true) |
| 5448 | |
| 5449 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5450 | |
| 5451 | $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a: protobuf_dep_error |
| 5452 | |
| 5453 | |
| 5454 | else |
| 5455 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5456 | $(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] | 5457 | $(E) "[AR] Creating $@" |
| 5458 | $(Q) mkdir -p `dirname $@` |
| 5459 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5460 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a $(LIBBORINGSSL_ECDSA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5461 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5462 | $(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] | 5463 | endif |
| 5464 | |
| 5465 | |
| 5466 | |
| 5467 | |
| 5468 | endif |
| 5469 | |
| 5470 | ifneq ($(NO_DEPS),true) |
| 5471 | -include $(LIBBORINGSSL_ECDSA_TEST_LIB_OBJS:.o=.dep) |
| 5472 | endif |
| 5473 | |
| 5474 | |
| 5475 | LIBBORINGSSL_ERR_TEST_LIB_SRC = \ |
| 5476 | third_party/boringssl/crypto/err/err_test.cc \ |
| 5477 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5478 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5479 | |
| 5480 | LIBBORINGSSL_ERR_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ERR_TEST_LIB_SRC)))) |
| 5481 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5482 | $(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] | 5483 | $(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] | 5484 | |
| 5485 | ifeq ($(NO_PROTOBUF),true) |
| 5486 | |
| 5487 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5488 | |
| 5489 | $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a: protobuf_dep_error |
| 5490 | |
| 5491 | |
| 5492 | else |
| 5493 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5494 | $(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] | 5495 | $(E) "[AR] Creating $@" |
| 5496 | $(Q) mkdir -p `dirname $@` |
| 5497 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5498 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a $(LIBBORINGSSL_ERR_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5499 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5500 | $(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] | 5501 | endif |
| 5502 | |
| 5503 | |
| 5504 | |
| 5505 | |
| 5506 | endif |
| 5507 | |
| 5508 | ifneq ($(NO_DEPS),true) |
| 5509 | -include $(LIBBORINGSSL_ERR_TEST_LIB_OBJS:.o=.dep) |
| 5510 | endif |
| 5511 | |
| 5512 | |
| 5513 | LIBBORINGSSL_EVP_EXTRA_TEST_LIB_SRC = \ |
| 5514 | third_party/boringssl/crypto/evp/evp_extra_test.cc \ |
| 5515 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5516 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5517 | |
| 5518 | LIBBORINGSSL_EVP_EXTRA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EVP_EXTRA_TEST_LIB_SRC)))) |
| 5519 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5520 | $(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] | 5521 | $(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] | 5522 | |
| 5523 | ifeq ($(NO_PROTOBUF),true) |
| 5524 | |
| 5525 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5526 | |
| 5527 | $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a: protobuf_dep_error |
| 5528 | |
| 5529 | |
| 5530 | else |
| 5531 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5532 | $(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] | 5533 | $(E) "[AR] Creating $@" |
| 5534 | $(Q) mkdir -p `dirname $@` |
| 5535 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5536 | $(Q) $(AR) $(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] | 5537 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5538 | $(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] | 5539 | endif |
| 5540 | |
| 5541 | |
| 5542 | |
| 5543 | |
| 5544 | endif |
| 5545 | |
| 5546 | ifneq ($(NO_DEPS),true) |
| 5547 | -include $(LIBBORINGSSL_EVP_EXTRA_TEST_LIB_OBJS:.o=.dep) |
| 5548 | endif |
| 5549 | |
| 5550 | |
| 5551 | LIBBORINGSSL_EVP_TEST_LIB_SRC = \ |
| 5552 | third_party/boringssl/crypto/evp/evp_test.cc \ |
| 5553 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5554 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5555 | |
| 5556 | LIBBORINGSSL_EVP_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EVP_TEST_LIB_SRC)))) |
| 5557 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5558 | $(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] | 5559 | $(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] | 5560 | |
| 5561 | ifeq ($(NO_PROTOBUF),true) |
| 5562 | |
| 5563 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5564 | |
| 5565 | $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a: protobuf_dep_error |
| 5566 | |
| 5567 | |
| 5568 | else |
| 5569 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5570 | $(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] | 5571 | $(E) "[AR] Creating $@" |
| 5572 | $(Q) mkdir -p `dirname $@` |
| 5573 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5574 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a $(LIBBORINGSSL_EVP_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5575 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5576 | $(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] | 5577 | endif |
| 5578 | |
| 5579 | |
| 5580 | |
| 5581 | |
| 5582 | endif |
| 5583 | |
| 5584 | ifneq ($(NO_DEPS),true) |
| 5585 | -include $(LIBBORINGSSL_EVP_TEST_LIB_OBJS:.o=.dep) |
| 5586 | endif |
| 5587 | |
| 5588 | |
| 5589 | LIBBORINGSSL_PBKDF_TEST_LIB_SRC = \ |
| 5590 | third_party/boringssl/crypto/evp/pbkdf_test.cc \ |
| 5591 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5592 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5593 | |
| 5594 | LIBBORINGSSL_PBKDF_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PBKDF_TEST_LIB_SRC)))) |
| 5595 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5596 | $(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] | 5597 | $(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] | 5598 | |
| 5599 | ifeq ($(NO_PROTOBUF),true) |
| 5600 | |
| 5601 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5602 | |
| 5603 | $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a: protobuf_dep_error |
| 5604 | |
| 5605 | |
| 5606 | else |
| 5607 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5608 | $(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] | 5609 | $(E) "[AR] Creating $@" |
| 5610 | $(Q) mkdir -p `dirname $@` |
| 5611 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5612 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a $(LIBBORINGSSL_PBKDF_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5613 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5614 | $(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] | 5615 | endif |
| 5616 | |
| 5617 | |
| 5618 | |
| 5619 | |
| 5620 | endif |
| 5621 | |
| 5622 | ifneq ($(NO_DEPS),true) |
| 5623 | -include $(LIBBORINGSSL_PBKDF_TEST_LIB_OBJS:.o=.dep) |
| 5624 | endif |
| 5625 | |
| 5626 | |
| 5627 | LIBBORINGSSL_HKDF_TEST_LIB_SRC = \ |
| 5628 | third_party/boringssl/crypto/hkdf/hkdf_test.c \ |
| 5629 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5630 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5631 | |
| 5632 | LIBBORINGSSL_HKDF_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_HKDF_TEST_LIB_SRC)))) |
| 5633 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5634 | $(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] | 5635 | $(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] | 5636 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5637 | $(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] | 5638 | $(E) "[AR] Creating $@" |
| 5639 | $(Q) mkdir -p `dirname $@` |
| 5640 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_hkdf_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5641 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_hkdf_test_lib.a $(LIBBORINGSSL_HKDF_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5642 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5643 | $(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] | 5644 | endif |
| 5645 | |
| 5646 | |
| 5647 | |
| 5648 | |
| 5649 | ifneq ($(NO_DEPS),true) |
| 5650 | -include $(LIBBORINGSSL_HKDF_TEST_LIB_OBJS:.o=.dep) |
| 5651 | endif |
| 5652 | |
| 5653 | |
| 5654 | LIBBORINGSSL_HMAC_TEST_LIB_SRC = \ |
| 5655 | third_party/boringssl/crypto/hmac/hmac_test.cc \ |
| 5656 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5657 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5658 | |
| 5659 | LIBBORINGSSL_HMAC_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_HMAC_TEST_LIB_SRC)))) |
| 5660 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5661 | $(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] | 5662 | $(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] | 5663 | |
| 5664 | ifeq ($(NO_PROTOBUF),true) |
| 5665 | |
| 5666 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5667 | |
| 5668 | $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a: protobuf_dep_error |
| 5669 | |
| 5670 | |
| 5671 | else |
| 5672 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5673 | $(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] | 5674 | $(E) "[AR] Creating $@" |
| 5675 | $(Q) mkdir -p `dirname $@` |
| 5676 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5677 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a $(LIBBORINGSSL_HMAC_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5678 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5679 | $(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] | 5680 | endif |
| 5681 | |
| 5682 | |
| 5683 | |
| 5684 | |
| 5685 | endif |
| 5686 | |
| 5687 | ifneq ($(NO_DEPS),true) |
| 5688 | -include $(LIBBORINGSSL_HMAC_TEST_LIB_OBJS:.o=.dep) |
| 5689 | endif |
| 5690 | |
| 5691 | |
| 5692 | LIBBORINGSSL_LHASH_TEST_LIB_SRC = \ |
| 5693 | third_party/boringssl/crypto/lhash/lhash_test.c \ |
| 5694 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5695 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5696 | |
| 5697 | LIBBORINGSSL_LHASH_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_LHASH_TEST_LIB_SRC)))) |
| 5698 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5699 | $(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] | 5700 | $(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] | 5701 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5702 | $(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] | 5703 | $(E) "[AR] Creating $@" |
| 5704 | $(Q) mkdir -p `dirname $@` |
| 5705 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_lhash_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5706 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_lhash_test_lib.a $(LIBBORINGSSL_LHASH_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5707 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5708 | $(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] | 5709 | endif |
| 5710 | |
| 5711 | |
| 5712 | |
| 5713 | |
| 5714 | ifneq ($(NO_DEPS),true) |
| 5715 | -include $(LIBBORINGSSL_LHASH_TEST_LIB_OBJS:.o=.dep) |
| 5716 | endif |
| 5717 | |
| 5718 | |
| 5719 | LIBBORINGSSL_GCM_TEST_LIB_SRC = \ |
| 5720 | third_party/boringssl/crypto/modes/gcm_test.c \ |
| 5721 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5722 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5723 | |
| 5724 | LIBBORINGSSL_GCM_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_GCM_TEST_LIB_SRC)))) |
| 5725 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5726 | $(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] | 5727 | $(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] | 5728 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5729 | $(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] | 5730 | $(E) "[AR] Creating $@" |
| 5731 | $(Q) mkdir -p `dirname $@` |
| 5732 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_gcm_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5733 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_gcm_test_lib.a $(LIBBORINGSSL_GCM_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5734 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5735 | $(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] | 5736 | endif |
| 5737 | |
| 5738 | |
| 5739 | |
| 5740 | |
| 5741 | ifneq ($(NO_DEPS),true) |
| 5742 | -include $(LIBBORINGSSL_GCM_TEST_LIB_OBJS:.o=.dep) |
| 5743 | endif |
| 5744 | |
| 5745 | |
| 5746 | LIBBORINGSSL_PKCS12_TEST_LIB_SRC = \ |
| 5747 | third_party/boringssl/crypto/pkcs8/pkcs12_test.cc \ |
| 5748 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5749 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5750 | |
| 5751 | LIBBORINGSSL_PKCS12_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PKCS12_TEST_LIB_SRC)))) |
| 5752 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5753 | $(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] | 5754 | $(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] | 5755 | |
| 5756 | ifeq ($(NO_PROTOBUF),true) |
| 5757 | |
| 5758 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5759 | |
| 5760 | $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a: protobuf_dep_error |
| 5761 | |
| 5762 | |
| 5763 | else |
| 5764 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5765 | $(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] | 5766 | $(E) "[AR] Creating $@" |
| 5767 | $(Q) mkdir -p `dirname $@` |
| 5768 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5769 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a $(LIBBORINGSSL_PKCS12_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5770 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5771 | $(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] | 5772 | endif |
| 5773 | |
| 5774 | |
| 5775 | |
| 5776 | |
| 5777 | endif |
| 5778 | |
| 5779 | ifneq ($(NO_DEPS),true) |
| 5780 | -include $(LIBBORINGSSL_PKCS12_TEST_LIB_OBJS:.o=.dep) |
| 5781 | endif |
| 5782 | |
| 5783 | |
| 5784 | LIBBORINGSSL_PKCS8_TEST_LIB_SRC = \ |
| 5785 | third_party/boringssl/crypto/pkcs8/pkcs8_test.cc \ |
| 5786 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5787 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5788 | |
| 5789 | LIBBORINGSSL_PKCS8_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PKCS8_TEST_LIB_SRC)))) |
| 5790 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5791 | $(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] | 5792 | $(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] | 5793 | |
| 5794 | ifeq ($(NO_PROTOBUF),true) |
| 5795 | |
| 5796 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5797 | |
| 5798 | $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a: protobuf_dep_error |
| 5799 | |
| 5800 | |
| 5801 | else |
| 5802 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5803 | $(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] | 5804 | $(E) "[AR] Creating $@" |
| 5805 | $(Q) mkdir -p `dirname $@` |
| 5806 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5807 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a $(LIBBORINGSSL_PKCS8_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5808 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5809 | $(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] | 5810 | endif |
| 5811 | |
| 5812 | |
| 5813 | |
| 5814 | |
| 5815 | endif |
| 5816 | |
| 5817 | ifneq ($(NO_DEPS),true) |
| 5818 | -include $(LIBBORINGSSL_PKCS8_TEST_LIB_OBJS:.o=.dep) |
| 5819 | endif |
| 5820 | |
| 5821 | |
| 5822 | LIBBORINGSSL_POLY1305_TEST_LIB_SRC = \ |
| 5823 | third_party/boringssl/crypto/poly1305/poly1305_test.cc \ |
| 5824 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5825 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5826 | |
| 5827 | LIBBORINGSSL_POLY1305_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_POLY1305_TEST_LIB_SRC)))) |
| 5828 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5829 | $(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] | 5830 | $(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] | 5831 | |
| 5832 | ifeq ($(NO_PROTOBUF),true) |
| 5833 | |
| 5834 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5835 | |
| 5836 | $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a: protobuf_dep_error |
| 5837 | |
| 5838 | |
| 5839 | else |
| 5840 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5841 | $(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] | 5842 | $(E) "[AR] Creating $@" |
| 5843 | $(Q) mkdir -p `dirname $@` |
| 5844 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5845 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a $(LIBBORINGSSL_POLY1305_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5846 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5847 | $(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] | 5848 | endif |
| 5849 | |
| 5850 | |
| 5851 | |
| 5852 | |
| 5853 | endif |
| 5854 | |
| 5855 | ifneq ($(NO_DEPS),true) |
| 5856 | -include $(LIBBORINGSSL_POLY1305_TEST_LIB_OBJS:.o=.dep) |
| 5857 | endif |
| 5858 | |
| 5859 | |
| 5860 | LIBBORINGSSL_REFCOUNT_TEST_LIB_SRC = \ |
| 5861 | third_party/boringssl/crypto/refcount_test.c \ |
| 5862 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5863 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5864 | |
| 5865 | LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_REFCOUNT_TEST_LIB_SRC)))) |
| 5866 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5867 | $(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] | 5868 | $(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] | 5869 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5870 | $(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] | 5871 | $(E) "[AR] Creating $@" |
| 5872 | $(Q) mkdir -p `dirname $@` |
| 5873 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_refcount_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5874 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_refcount_test_lib.a $(LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5875 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5876 | $(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] | 5877 | endif |
| 5878 | |
| 5879 | |
| 5880 | |
| 5881 | |
| 5882 | ifneq ($(NO_DEPS),true) |
| 5883 | -include $(LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS:.o=.dep) |
| 5884 | endif |
| 5885 | |
| 5886 | |
| 5887 | LIBBORINGSSL_RSA_TEST_LIB_SRC = \ |
| 5888 | third_party/boringssl/crypto/rsa/rsa_test.cc \ |
| 5889 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5890 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5891 | |
| 5892 | LIBBORINGSSL_RSA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_RSA_TEST_LIB_SRC)))) |
| 5893 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5894 | $(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] | 5895 | $(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] | 5896 | |
| 5897 | ifeq ($(NO_PROTOBUF),true) |
| 5898 | |
| 5899 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5900 | |
| 5901 | $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a: protobuf_dep_error |
| 5902 | |
| 5903 | |
| 5904 | else |
| 5905 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5906 | $(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] | 5907 | $(E) "[AR] Creating $@" |
| 5908 | $(Q) mkdir -p `dirname $@` |
| 5909 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5910 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a $(LIBBORINGSSL_RSA_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5911 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5912 | $(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] | 5913 | endif |
| 5914 | |
| 5915 | |
| 5916 | |
| 5917 | |
| 5918 | endif |
| 5919 | |
| 5920 | ifneq ($(NO_DEPS),true) |
| 5921 | -include $(LIBBORINGSSL_RSA_TEST_LIB_OBJS:.o=.dep) |
| 5922 | endif |
| 5923 | |
| 5924 | |
| 5925 | LIBBORINGSSL_THREAD_TEST_LIB_SRC = \ |
| 5926 | third_party/boringssl/crypto/thread_test.c \ |
| 5927 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5928 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5929 | |
| 5930 | LIBBORINGSSL_THREAD_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_THREAD_TEST_LIB_SRC)))) |
| 5931 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5932 | $(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] | 5933 | $(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] | 5934 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5935 | $(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] | 5936 | $(E) "[AR] Creating $@" |
| 5937 | $(Q) mkdir -p `dirname $@` |
| 5938 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_thread_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5939 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_thread_test_lib.a $(LIBBORINGSSL_THREAD_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5940 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5941 | $(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] | 5942 | endif |
| 5943 | |
| 5944 | |
| 5945 | |
| 5946 | |
| 5947 | ifneq ($(NO_DEPS),true) |
| 5948 | -include $(LIBBORINGSSL_THREAD_TEST_LIB_OBJS:.o=.dep) |
| 5949 | endif |
| 5950 | |
| 5951 | |
| 5952 | LIBBORINGSSL_PKCS7_TEST_LIB_SRC = \ |
| 5953 | third_party/boringssl/crypto/x509/pkcs7_test.c \ |
| 5954 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5955 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5956 | |
| 5957 | LIBBORINGSSL_PKCS7_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PKCS7_TEST_LIB_SRC)))) |
| 5958 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5959 | $(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] | 5960 | $(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] | 5961 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5962 | $(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] | 5963 | $(E) "[AR] Creating $@" |
| 5964 | $(Q) mkdir -p `dirname $@` |
| 5965 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pkcs7_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5966 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_pkcs7_test_lib.a $(LIBBORINGSSL_PKCS7_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5967 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5968 | $(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] | 5969 | endif |
| 5970 | |
| 5971 | |
| 5972 | |
| 5973 | |
| 5974 | ifneq ($(NO_DEPS),true) |
| 5975 | -include $(LIBBORINGSSL_PKCS7_TEST_LIB_OBJS:.o=.dep) |
| 5976 | endif |
| 5977 | |
| 5978 | |
Craig Tiller | 88b9e48 | 2016-04-21 15:09:56 -0700 | [diff] [blame] | 5979 | LIBBORINGSSL_X509_TEST_LIB_SRC = \ |
| 5980 | third_party/boringssl/crypto/x509/x509_test.cc \ |
| 5981 | |
| 5982 | PUBLIC_HEADERS_CXX += \ |
| 5983 | |
| 5984 | LIBBORINGSSL_X509_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_X509_TEST_LIB_SRC)))) |
| 5985 | |
| 5986 | $(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] | 5987 | $(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) |
Craig Tiller | 88b9e48 | 2016-04-21 15:09:56 -0700 | [diff] [blame] | 5988 | |
| 5989 | ifeq ($(NO_PROTOBUF),true) |
| 5990 | |
| 5991 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5992 | |
| 5993 | $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a: protobuf_dep_error |
| 5994 | |
| 5995 | |
| 5996 | else |
| 5997 | |
| 5998 | $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_X509_TEST_LIB_OBJS) |
| 5999 | $(E) "[AR] Creating $@" |
| 6000 | $(Q) mkdir -p `dirname $@` |
| 6001 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a |
| 6002 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a $(LIBBORINGSSL_X509_TEST_LIB_OBJS) |
| 6003 | ifeq ($(SYSTEM),Darwin) |
| 6004 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a |
| 6005 | endif |
| 6006 | |
| 6007 | |
| 6008 | |
| 6009 | |
| 6010 | endif |
| 6011 | |
| 6012 | ifneq ($(NO_DEPS),true) |
| 6013 | -include $(LIBBORINGSSL_X509_TEST_LIB_OBJS:.o=.dep) |
| 6014 | endif |
| 6015 | |
| 6016 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6017 | LIBBORINGSSL_TAB_TEST_LIB_SRC = \ |
| 6018 | third_party/boringssl/crypto/x509v3/tab_test.c \ |
| 6019 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6020 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6021 | |
| 6022 | LIBBORINGSSL_TAB_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_TAB_TEST_LIB_SRC)))) |
| 6023 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6024 | $(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] | 6025 | $(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] | 6026 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6027 | $(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] | 6028 | $(E) "[AR] Creating $@" |
| 6029 | $(Q) mkdir -p `dirname $@` |
| 6030 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_tab_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6031 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_tab_test_lib.a $(LIBBORINGSSL_TAB_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6032 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6033 | $(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] | 6034 | endif |
| 6035 | |
| 6036 | |
| 6037 | |
| 6038 | |
| 6039 | ifneq ($(NO_DEPS),true) |
| 6040 | -include $(LIBBORINGSSL_TAB_TEST_LIB_OBJS:.o=.dep) |
| 6041 | endif |
| 6042 | |
| 6043 | |
| 6044 | LIBBORINGSSL_V3NAME_TEST_LIB_SRC = \ |
| 6045 | third_party/boringssl/crypto/x509v3/v3name_test.c \ |
| 6046 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6047 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6048 | |
| 6049 | LIBBORINGSSL_V3NAME_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_V3NAME_TEST_LIB_SRC)))) |
| 6050 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6051 | $(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] | 6052 | $(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] | 6053 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6054 | $(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] | 6055 | $(E) "[AR] Creating $@" |
| 6056 | $(Q) mkdir -p `dirname $@` |
| 6057 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_v3name_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6058 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_v3name_test_lib.a $(LIBBORINGSSL_V3NAME_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6059 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6060 | $(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] | 6061 | endif |
| 6062 | |
| 6063 | |
| 6064 | |
| 6065 | |
| 6066 | ifneq ($(NO_DEPS),true) |
| 6067 | -include $(LIBBORINGSSL_V3NAME_TEST_LIB_OBJS:.o=.dep) |
| 6068 | endif |
| 6069 | |
| 6070 | |
| 6071 | LIBBORINGSSL_PQUEUE_TEST_LIB_SRC = \ |
| 6072 | third_party/boringssl/ssl/pqueue/pqueue_test.c \ |
| 6073 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6074 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6075 | |
| 6076 | LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PQUEUE_TEST_LIB_SRC)))) |
| 6077 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6078 | $(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] | 6079 | $(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] | 6080 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6081 | $(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] | 6082 | $(E) "[AR] Creating $@" |
| 6083 | $(Q) mkdir -p `dirname $@` |
| 6084 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pqueue_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6085 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_pqueue_test_lib.a $(LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6086 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6087 | $(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] | 6088 | endif |
| 6089 | |
| 6090 | |
| 6091 | |
| 6092 | |
| 6093 | ifneq ($(NO_DEPS),true) |
| 6094 | -include $(LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS:.o=.dep) |
| 6095 | endif |
| 6096 | |
| 6097 | |
| 6098 | LIBBORINGSSL_SSL_TEST_LIB_SRC = \ |
| 6099 | third_party/boringssl/ssl/ssl_test.cc \ |
| 6100 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6101 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6102 | |
| 6103 | LIBBORINGSSL_SSL_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_SSL_TEST_LIB_SRC)))) |
| 6104 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6105 | $(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] | 6106 | $(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] | 6107 | |
| 6108 | ifeq ($(NO_PROTOBUF),true) |
| 6109 | |
| 6110 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 6111 | |
| 6112 | $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a: protobuf_dep_error |
| 6113 | |
| 6114 | |
| 6115 | else |
| 6116 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6117 | $(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] | 6118 | $(E) "[AR] Creating $@" |
| 6119 | $(Q) mkdir -p `dirname $@` |
| 6120 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6121 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a $(LIBBORINGSSL_SSL_TEST_LIB_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6122 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6123 | $(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] | 6124 | endif |
| 6125 | |
| 6126 | |
| 6127 | |
| 6128 | |
| 6129 | endif |
| 6130 | |
| 6131 | ifneq ($(NO_DEPS),true) |
| 6132 | -include $(LIBBORINGSSL_SSL_TEST_LIB_OBJS:.o=.dep) |
| 6133 | endif |
| 6134 | |
| 6135 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6136 | LIBZ_SRC = \ |
| 6137 | third_party/zlib/adler32.c \ |
| 6138 | third_party/zlib/compress.c \ |
| 6139 | third_party/zlib/crc32.c \ |
| 6140 | third_party/zlib/deflate.c \ |
| 6141 | third_party/zlib/gzclose.c \ |
| 6142 | third_party/zlib/gzlib.c \ |
| 6143 | third_party/zlib/gzread.c \ |
| 6144 | third_party/zlib/gzwrite.c \ |
| 6145 | third_party/zlib/infback.c \ |
| 6146 | third_party/zlib/inffast.c \ |
| 6147 | third_party/zlib/inflate.c \ |
| 6148 | third_party/zlib/inftrees.c \ |
| 6149 | third_party/zlib/trees.c \ |
| 6150 | third_party/zlib/uncompr.c \ |
| 6151 | third_party/zlib/zutil.c \ |
| 6152 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6153 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6154 | |
| 6155 | LIBZ_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBZ_SRC)))) |
| 6156 | |
Nicolas "Pixel" Noble | 545c6c1 | 2016-01-28 06:01:46 +0100 | [diff] [blame] | 6157 | $(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] | 6158 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6159 | $(LIBDIR)/$(CONFIG)/libz.a: $(LIBZ_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6160 | $(E) "[AR] Creating $@" |
| 6161 | $(Q) mkdir -p `dirname $@` |
| 6162 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libz.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6163 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libz.a $(LIBZ_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6164 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6165 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libz.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6166 | endif |
| 6167 | |
| 6168 | |
| 6169 | |
| 6170 | |
| 6171 | ifneq ($(NO_DEPS),true) |
| 6172 | -include $(LIBZ_OBJS:.o=.dep) |
| 6173 | endif |
| 6174 | |
| 6175 | |
| 6176 | LIBBAD_CLIENT_TEST_SRC = \ |
| 6177 | test/core/bad_client/bad_client.c \ |
| 6178 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6179 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6180 | |
| 6181 | LIBBAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBAD_CLIENT_TEST_SRC)))) |
| 6182 | |
| 6183 | |
| 6184 | ifeq ($(NO_SECURE),true) |
| 6185 | |
| 6186 | # You can't build secure libraries if you don't have OpenSSL. |
| 6187 | |
| 6188 | $(LIBDIR)/$(CONFIG)/libbad_client_test.a: openssl_dep_error |
| 6189 | |
| 6190 | |
| 6191 | else |
| 6192 | |
| 6193 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6194 | $(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] | 6195 | $(E) "[AR] Creating $@" |
| 6196 | $(Q) mkdir -p `dirname $@` |
| 6197 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libbad_client_test.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6198 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBBAD_CLIENT_TEST_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6199 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6200 | $(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] | 6201 | endif |
| 6202 | |
| 6203 | |
| 6204 | |
| 6205 | |
| 6206 | endif |
| 6207 | |
| 6208 | ifneq ($(NO_SECURE),true) |
| 6209 | ifneq ($(NO_DEPS),true) |
| 6210 | -include $(LIBBAD_CLIENT_TEST_OBJS:.o=.dep) |
| 6211 | endif |
| 6212 | endif |
| 6213 | |
| 6214 | |
| 6215 | LIBBAD_SSL_TEST_SERVER_SRC = \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6216 | test/core/bad_ssl/server_common.c \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6217 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6218 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6219 | |
| 6220 | LIBBAD_SSL_TEST_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBAD_SSL_TEST_SERVER_SRC)))) |
| 6221 | |
| 6222 | |
| 6223 | ifeq ($(NO_SECURE),true) |
| 6224 | |
| 6225 | # You can't build secure libraries if you don't have OpenSSL. |
| 6226 | |
| 6227 | $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a: openssl_dep_error |
| 6228 | |
| 6229 | |
| 6230 | else |
| 6231 | |
| 6232 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6233 | $(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] | 6234 | $(E) "[AR] Creating $@" |
| 6235 | $(Q) mkdir -p `dirname $@` |
| 6236 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6237 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a $(LIBBAD_SSL_TEST_SERVER_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6238 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6239 | $(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] | 6240 | endif |
| 6241 | |
| 6242 | |
| 6243 | |
| 6244 | |
| 6245 | endif |
| 6246 | |
| 6247 | ifneq ($(NO_SECURE),true) |
| 6248 | ifneq ($(NO_DEPS),true) |
| 6249 | -include $(LIBBAD_SSL_TEST_SERVER_OBJS:.o=.dep) |
| 6250 | endif |
| 6251 | endif |
| 6252 | |
| 6253 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6254 | LIBEND2END_TESTS_SRC = \ |
| 6255 | test/core/end2end/end2end_tests.c \ |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 6256 | test/core/end2end/tests/bad_hostname.c \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6257 | test/core/end2end/tests/binary_metadata.c \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6258 | test/core/end2end/tests/call_creds.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6259 | test/core/end2end/tests/cancel_after_accept.c \ |
| 6260 | test/core/end2end/tests/cancel_after_client_done.c \ |
| 6261 | test/core/end2end/tests/cancel_after_invoke.c \ |
| 6262 | test/core/end2end/tests/cancel_before_invoke.c \ |
| 6263 | test/core/end2end/tests/cancel_in_a_vacuum.c \ |
| 6264 | test/core/end2end/tests/cancel_with_status.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6265 | test/core/end2end/tests/compressed_payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6266 | test/core/end2end/tests/connectivity.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6267 | test/core/end2end/tests/default_host.c \ |
| 6268 | test/core/end2end/tests/disappearing_server.c \ |
| 6269 | test/core/end2end/tests/empty_batch.c \ |
Craig Tiller | a446ee2 | 2016-04-04 13:09:30 -0700 | [diff] [blame] | 6270 | test/core/end2end/tests/filter_causes_close.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6271 | test/core/end2end/tests/graceful_server_shutdown.c \ |
| 6272 | test/core/end2end/tests/high_initial_seqno.c \ |
| 6273 | test/core/end2end/tests/hpack_size.c \ |
Craig Tiller | 7885ea5 | 2016-03-10 06:53:29 -0800 | [diff] [blame] | 6274 | test/core/end2end/tests/idempotent_request.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6275 | test/core/end2end/tests/invoke_large_request.c \ |
| 6276 | test/core/end2end/tests/large_metadata.c \ |
| 6277 | test/core/end2end/tests/max_concurrent_streams.c \ |
| 6278 | test/core/end2end/tests/max_message_length.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6279 | test/core/end2end/tests/negative_deadline.c \ |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 6280 | test/core/end2end/tests/network_status_change.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6281 | test/core/end2end/tests/no_op.c \ |
| 6282 | test/core/end2end/tests/payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6283 | test/core/end2end/tests/ping.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6284 | test/core/end2end/tests/ping_pong_streaming.c \ |
| 6285 | test/core/end2end/tests/registered_call.c \ |
| 6286 | test/core/end2end/tests/request_with_flags.c \ |
| 6287 | test/core/end2end/tests/request_with_payload.c \ |
| 6288 | test/core/end2end/tests/server_finishes_request.c \ |
| 6289 | test/core/end2end/tests/shutdown_finishes_calls.c \ |
| 6290 | test/core/end2end/tests/shutdown_finishes_tags.c \ |
| 6291 | test/core/end2end/tests/simple_delayed_request.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6292 | test/core/end2end/tests/simple_metadata.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6293 | test/core/end2end/tests/simple_request.c \ |
Craig Tiller | fa1f74e | 2016-06-20 11:11:44 -0700 | [diff] [blame] | 6294 | test/core/end2end/tests/streaming_error_response.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6295 | test/core/end2end/tests/trailing_metadata.c \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6296 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6297 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6298 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6299 | LIBEND2END_TESTS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TESTS_SRC)))) |
| 6300 | |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6301 | |
| 6302 | ifeq ($(NO_SECURE),true) |
| 6303 | |
| 6304 | # You can't build secure libraries if you don't have OpenSSL. |
| 6305 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6306 | $(LIBDIR)/$(CONFIG)/libend2end_tests.a: openssl_dep_error |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6307 | |
| 6308 | |
| 6309 | else |
| 6310 | |
| 6311 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6312 | $(LIBDIR)/$(CONFIG)/libend2end_tests.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_TESTS_OBJS) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6313 | $(E) "[AR] Creating $@" |
| 6314 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6315 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libend2end_tests.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6316 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBEND2END_TESTS_OBJS) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [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)/libend2end_tests.a |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6319 | endif |
| 6320 | |
| 6321 | |
| 6322 | |
| 6323 | |
| 6324 | endif |
| 6325 | |
| 6326 | ifneq ($(NO_SECURE),true) |
| 6327 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6328 | -include $(LIBEND2END_TESTS_OBJS:.o=.dep) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6329 | endif |
| 6330 | endif |
| 6331 | |
| 6332 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6333 | LIBEND2END_NOSEC_TESTS_SRC = \ |
| 6334 | test/core/end2end/end2end_nosec_tests.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6335 | test/core/end2end/tests/bad_hostname.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6336 | test/core/end2end/tests/binary_metadata.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6337 | test/core/end2end/tests/cancel_after_accept.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6338 | test/core/end2end/tests/cancel_after_client_done.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6339 | test/core/end2end/tests/cancel_after_invoke.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6340 | test/core/end2end/tests/cancel_before_invoke.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6341 | test/core/end2end/tests/cancel_in_a_vacuum.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6342 | test/core/end2end/tests/cancel_with_status.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6343 | test/core/end2end/tests/compressed_payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6344 | test/core/end2end/tests/connectivity.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6345 | test/core/end2end/tests/default_host.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6346 | test/core/end2end/tests/disappearing_server.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6347 | test/core/end2end/tests/empty_batch.c \ |
Craig Tiller | a446ee2 | 2016-04-04 13:09:30 -0700 | [diff] [blame] | 6348 | test/core/end2end/tests/filter_causes_close.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6349 | test/core/end2end/tests/graceful_server_shutdown.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6350 | test/core/end2end/tests/high_initial_seqno.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6351 | test/core/end2end/tests/hpack_size.c \ |
Craig Tiller | 7885ea5 | 2016-03-10 06:53:29 -0800 | [diff] [blame] | 6352 | test/core/end2end/tests/idempotent_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6353 | test/core/end2end/tests/invoke_large_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6354 | test/core/end2end/tests/large_metadata.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6355 | test/core/end2end/tests/max_concurrent_streams.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6356 | test/core/end2end/tests/max_message_length.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6357 | test/core/end2end/tests/negative_deadline.c \ |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 6358 | test/core/end2end/tests/network_status_change.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6359 | test/core/end2end/tests/no_op.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6360 | test/core/end2end/tests/payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6361 | test/core/end2end/tests/ping.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6362 | test/core/end2end/tests/ping_pong_streaming.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6363 | test/core/end2end/tests/registered_call.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6364 | test/core/end2end/tests/request_with_flags.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6365 | test/core/end2end/tests/request_with_payload.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6366 | test/core/end2end/tests/server_finishes_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6367 | test/core/end2end/tests/shutdown_finishes_calls.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6368 | test/core/end2end/tests/shutdown_finishes_tags.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6369 | test/core/end2end/tests/simple_delayed_request.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6370 | test/core/end2end/tests/simple_metadata.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6371 | test/core/end2end/tests/simple_request.c \ |
Craig Tiller | fa1f74e | 2016-06-20 11:11:44 -0700 | [diff] [blame] | 6372 | test/core/end2end/tests/streaming_error_response.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6373 | test/core/end2end/tests/trailing_metadata.c \ |
| 6374 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6375 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6376 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6377 | 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] | 6378 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6379 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6380 | $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a: $(ZLIB_DEP) $(LIBEND2END_NOSEC_TESTS_OBJS) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6381 | $(E) "[AR] Creating $@" |
| 6382 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6383 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6384 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBEND2END_NOSEC_TESTS_OBJS) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6385 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6386 | $(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] | 6387 | endif |
| 6388 | |
| 6389 | |
| 6390 | |
| 6391 | |
| 6392 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6393 | -include $(LIBEND2END_NOSEC_TESTS_OBJS:.o=.dep) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6394 | endif |
| 6395 | |
| 6396 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 6397 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 6398 | # All of the test targets, and protoc plugins |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 6399 | |
| 6400 | |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 6401 | ALARM_TEST_SRC = \ |
| 6402 | test/core/surface/alarm_test.c \ |
| 6403 | |
| 6404 | ALARM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_TEST_SRC)))) |
| 6405 | ifeq ($(NO_SECURE),true) |
| 6406 | |
| 6407 | # You can't build secure targets if you don't have OpenSSL. |
| 6408 | |
| 6409 | $(BINDIR)/$(CONFIG)/alarm_test: openssl_dep_error |
| 6410 | |
| 6411 | else |
| 6412 | |
| 6413 | |
| 6414 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 6415 | $(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] | 6416 | $(E) "[LD] Linking $@" |
| 6417 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 6418 | $(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] | 6419 | |
| 6420 | endif |
| 6421 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 6422 | $(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] | 6423 | |
| 6424 | deps_alarm_test: $(ALARM_TEST_OBJS:.o=.dep) |
| 6425 | |
| 6426 | ifneq ($(NO_SECURE),true) |
| 6427 | ifneq ($(NO_DEPS),true) |
| 6428 | -include $(ALARM_TEST_OBJS:.o=.dep) |
| 6429 | endif |
| 6430 | endif |
| 6431 | |
| 6432 | |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 6433 | ALGORITHM_TEST_SRC = \ |
| 6434 | test/core/compression/algorithm_test.c \ |
| 6435 | |
| 6436 | ALGORITHM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALGORITHM_TEST_SRC)))) |
| 6437 | ifeq ($(NO_SECURE),true) |
| 6438 | |
| 6439 | # You can't build secure targets if you don't have OpenSSL. |
| 6440 | |
| 6441 | $(BINDIR)/$(CONFIG)/algorithm_test: openssl_dep_error |
| 6442 | |
| 6443 | else |
| 6444 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6445 | |
| 6446 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6447 | $(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] | 6448 | $(E) "[LD] Linking $@" |
| 6449 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6450 | $(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] | 6451 | |
| 6452 | endif |
| 6453 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6454 | $(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] | 6455 | |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 6456 | deps_algorithm_test: $(ALGORITHM_TEST_OBJS:.o=.dep) |
| 6457 | |
| 6458 | ifneq ($(NO_SECURE),true) |
| 6459 | ifneq ($(NO_DEPS),true) |
| 6460 | -include $(ALGORITHM_TEST_OBJS:.o=.dep) |
| 6461 | endif |
| 6462 | endif |
| 6463 | |
| 6464 | |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 6465 | ALLOC_TEST_SRC = \ |
| 6466 | test/core/support/alloc_test.c \ |
| 6467 | |
| 6468 | ALLOC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALLOC_TEST_SRC)))) |
| 6469 | ifeq ($(NO_SECURE),true) |
| 6470 | |
| 6471 | # You can't build secure targets if you don't have OpenSSL. |
| 6472 | |
| 6473 | $(BINDIR)/$(CONFIG)/alloc_test: openssl_dep_error |
| 6474 | |
| 6475 | else |
| 6476 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6477 | |
| 6478 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6479 | $(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] | 6480 | $(E) "[LD] Linking $@" |
| 6481 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6482 | $(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] | 6483 | |
| 6484 | endif |
| 6485 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6486 | $(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] | 6487 | |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 6488 | deps_alloc_test: $(ALLOC_TEST_OBJS:.o=.dep) |
| 6489 | |
| 6490 | ifneq ($(NO_SECURE),true) |
| 6491 | ifneq ($(NO_DEPS),true) |
| 6492 | -include $(ALLOC_TEST_OBJS:.o=.dep) |
| 6493 | endif |
| 6494 | endif |
| 6495 | |
| 6496 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6497 | ALPN_TEST_SRC = \ |
| 6498 | test/core/transport/chttp2/alpn_test.c \ |
| 6499 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6500 | ALPN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALPN_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6501 | ifeq ($(NO_SECURE),true) |
| 6502 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6503 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6504 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6505 | $(BINDIR)/$(CONFIG)/alpn_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6506 | |
| 6507 | else |
| 6508 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6509 | |
| 6510 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6511 | $(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] | 6512 | $(E) "[LD] Linking $@" |
| 6513 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6514 | $(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] | 6515 | |
| 6516 | endif |
| 6517 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6518 | $(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] | 6519 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6520 | deps_alpn_test: $(ALPN_TEST_OBJS:.o=.dep) |
| 6521 | |
| 6522 | ifneq ($(NO_SECURE),true) |
| 6523 | ifneq ($(NO_DEPS),true) |
| 6524 | -include $(ALPN_TEST_OBJS:.o=.dep) |
| 6525 | endif |
| 6526 | endif |
| 6527 | |
| 6528 | |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 6529 | API_FUZZER_SRC = \ |
| 6530 | test/core/end2end/fuzzers/api_fuzzer.c \ |
| 6531 | |
| 6532 | API_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(API_FUZZER_SRC)))) |
| 6533 | ifeq ($(NO_SECURE),true) |
| 6534 | |
| 6535 | # You can't build secure targets if you don't have OpenSSL. |
| 6536 | |
| 6537 | $(BINDIR)/$(CONFIG)/api_fuzzer: openssl_dep_error |
| 6538 | |
| 6539 | else |
| 6540 | |
| 6541 | |
| 6542 | |
| 6543 | $(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 |
| 6544 | $(E) "[LD] Linking $@" |
| 6545 | $(Q) mkdir -p `dirname $@` |
| 6546 | $(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 |
| 6547 | |
| 6548 | endif |
| 6549 | |
| 6550 | $(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 |
| 6551 | |
| 6552 | deps_api_fuzzer: $(API_FUZZER_OBJS:.o=.dep) |
| 6553 | |
| 6554 | ifneq ($(NO_SECURE),true) |
| 6555 | ifneq ($(NO_DEPS),true) |
| 6556 | -include $(API_FUZZER_OBJS:.o=.dep) |
| 6557 | endif |
| 6558 | endif |
| 6559 | |
| 6560 | |
Yuchen Zeng | 955a364 | 2016-06-17 13:48:03 -0700 | [diff] [blame] | 6561 | BAD_SERVER_RESPONSE_TEST_SRC = \ |
| 6562 | test/core/end2end/bad_server_response_test.c \ |
| 6563 | |
| 6564 | BAD_SERVER_RESPONSE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SERVER_RESPONSE_TEST_SRC)))) |
| 6565 | ifeq ($(NO_SECURE),true) |
| 6566 | |
| 6567 | # You can't build secure targets if you don't have OpenSSL. |
| 6568 | |
| 6569 | $(BINDIR)/$(CONFIG)/bad_server_response_test: openssl_dep_error |
| 6570 | |
| 6571 | else |
| 6572 | |
| 6573 | |
| 6574 | |
| 6575 | $(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 |
| 6576 | $(E) "[LD] Linking $@" |
| 6577 | $(Q) mkdir -p `dirname $@` |
| 6578 | $(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 |
| 6579 | |
| 6580 | endif |
| 6581 | |
| 6582 | $(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 |
| 6583 | |
| 6584 | deps_bad_server_response_test: $(BAD_SERVER_RESPONSE_TEST_OBJS:.o=.dep) |
| 6585 | |
| 6586 | ifneq ($(NO_SECURE),true) |
| 6587 | ifneq ($(NO_DEPS),true) |
| 6588 | -include $(BAD_SERVER_RESPONSE_TEST_OBJS:.o=.dep) |
| 6589 | endif |
| 6590 | endif |
| 6591 | |
| 6592 | |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 6593 | BIN_DECODER_TEST_SRC = \ |
| 6594 | test/core/transport/chttp2/bin_decoder_test.c \ |
| 6595 | |
| 6596 | BIN_DECODER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BIN_DECODER_TEST_SRC)))) |
| 6597 | ifeq ($(NO_SECURE),true) |
| 6598 | |
| 6599 | # You can't build secure targets if you don't have OpenSSL. |
| 6600 | |
| 6601 | $(BINDIR)/$(CONFIG)/bin_decoder_test: openssl_dep_error |
| 6602 | |
| 6603 | else |
| 6604 | |
| 6605 | |
| 6606 | |
| 6607 | $(BINDIR)/$(CONFIG)/bin_decoder_test: $(BIN_DECODER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
| 6608 | $(E) "[LD] Linking $@" |
| 6609 | $(Q) mkdir -p `dirname $@` |
| 6610 | $(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 |
| 6611 | |
| 6612 | endif |
| 6613 | |
| 6614 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/bin_decoder_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a |
| 6615 | |
| 6616 | deps_bin_decoder_test: $(BIN_DECODER_TEST_OBJS:.o=.dep) |
| 6617 | |
| 6618 | ifneq ($(NO_SECURE),true) |
| 6619 | ifneq ($(NO_DEPS),true) |
| 6620 | -include $(BIN_DECODER_TEST_OBJS:.o=.dep) |
| 6621 | endif |
| 6622 | endif |
| 6623 | |
| 6624 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6625 | BIN_ENCODER_TEST_SRC = \ |
| 6626 | test/core/transport/chttp2/bin_encoder_test.c \ |
| 6627 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6628 | 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] | 6629 | ifeq ($(NO_SECURE),true) |
| 6630 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6631 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6632 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6633 | $(BINDIR)/$(CONFIG)/bin_encoder_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6634 | |
| 6635 | else |
| 6636 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6637 | |
| 6638 | |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 6639 | $(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] | 6640 | $(E) "[LD] Linking $@" |
| 6641 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 6642 | $(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] | 6643 | |
| 6644 | endif |
| 6645 | |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 6646 | $(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] | 6647 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6648 | deps_bin_encoder_test: $(BIN_ENCODER_TEST_OBJS:.o=.dep) |
| 6649 | |
| 6650 | ifneq ($(NO_SECURE),true) |
| 6651 | ifneq ($(NO_DEPS),true) |
| 6652 | -include $(BIN_ENCODER_TEST_OBJS:.o=.dep) |
| 6653 | endif |
| 6654 | endif |
| 6655 | |
| 6656 | |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 6657 | CENSUS_CONTEXT_TEST_SRC = \ |
| 6658 | test/core/census/context_test.c \ |
| 6659 | |
| 6660 | CENSUS_CONTEXT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_CONTEXT_TEST_SRC)))) |
| 6661 | ifeq ($(NO_SECURE),true) |
| 6662 | |
| 6663 | # You can't build secure targets if you don't have OpenSSL. |
| 6664 | |
| 6665 | $(BINDIR)/$(CONFIG)/census_context_test: openssl_dep_error |
| 6666 | |
| 6667 | else |
| 6668 | |
| 6669 | |
| 6670 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6671 | $(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] | 6672 | $(E) "[LD] Linking $@" |
| 6673 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6674 | $(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] | 6675 | |
| 6676 | endif |
| 6677 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6678 | $(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] | 6679 | |
| 6680 | deps_census_context_test: $(CENSUS_CONTEXT_TEST_OBJS:.o=.dep) |
| 6681 | |
| 6682 | ifneq ($(NO_SECURE),true) |
| 6683 | ifneq ($(NO_DEPS),true) |
| 6684 | -include $(CENSUS_CONTEXT_TEST_OBJS:.o=.dep) |
| 6685 | endif |
| 6686 | endif |
| 6687 | |
| 6688 | |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 6689 | CHANNEL_CREATE_TEST_SRC = \ |
| 6690 | test/core/surface/channel_create_test.c \ |
| 6691 | |
| 6692 | CHANNEL_CREATE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNEL_CREATE_TEST_SRC)))) |
| 6693 | ifeq ($(NO_SECURE),true) |
| 6694 | |
| 6695 | # You can't build secure targets if you don't have OpenSSL. |
| 6696 | |
| 6697 | $(BINDIR)/$(CONFIG)/channel_create_test: openssl_dep_error |
| 6698 | |
| 6699 | else |
| 6700 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6701 | |
| 6702 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6703 | $(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] | 6704 | $(E) "[LD] Linking $@" |
| 6705 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6706 | $(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] | 6707 | |
| 6708 | endif |
| 6709 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6710 | $(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] | 6711 | |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 6712 | deps_channel_create_test: $(CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 6713 | |
| 6714 | ifneq ($(NO_SECURE),true) |
| 6715 | ifneq ($(NO_DEPS),true) |
| 6716 | -include $(CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 6717 | endif |
| 6718 | endif |
| 6719 | |
| 6720 | |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 6721 | CHTTP2_HPACK_ENCODER_TEST_SRC = \ |
| 6722 | test/core/transport/chttp2/hpack_encoder_test.c \ |
| 6723 | |
| 6724 | CHTTP2_HPACK_ENCODER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_HPACK_ENCODER_TEST_SRC)))) |
| 6725 | ifeq ($(NO_SECURE),true) |
| 6726 | |
| 6727 | # You can't build secure targets if you don't have OpenSSL. |
| 6728 | |
| 6729 | $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test: openssl_dep_error |
| 6730 | |
| 6731 | else |
| 6732 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6733 | |
| 6734 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6735 | $(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] | 6736 | $(E) "[LD] Linking $@" |
| 6737 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6738 | $(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] | 6739 | |
| 6740 | endif |
| 6741 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6742 | $(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] | 6743 | |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 6744 | deps_chttp2_hpack_encoder_test: $(CHTTP2_HPACK_ENCODER_TEST_OBJS:.o=.dep) |
| 6745 | |
| 6746 | ifneq ($(NO_SECURE),true) |
| 6747 | ifneq ($(NO_DEPS),true) |
| 6748 | -include $(CHTTP2_HPACK_ENCODER_TEST_OBJS:.o=.dep) |
| 6749 | endif |
| 6750 | endif |
| 6751 | |
| 6752 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6753 | CHTTP2_STATUS_CONVERSION_TEST_SRC = \ |
| 6754 | test/core/transport/chttp2/status_conversion_test.c \ |
| 6755 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6756 | 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] | 6757 | ifeq ($(NO_SECURE),true) |
| 6758 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6759 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6760 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6761 | $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6762 | |
| 6763 | else |
| 6764 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6765 | |
| 6766 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6767 | $(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] | 6768 | $(E) "[LD] Linking $@" |
| 6769 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6770 | $(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] | 6771 | |
| 6772 | endif |
| 6773 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6774 | $(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] | 6775 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6776 | deps_chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep) |
| 6777 | |
| 6778 | ifneq ($(NO_SECURE),true) |
| 6779 | ifneq ($(NO_DEPS),true) |
| 6780 | -include $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep) |
| 6781 | endif |
| 6782 | endif |
| 6783 | |
| 6784 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6785 | CHTTP2_STREAM_MAP_TEST_SRC = \ |
| 6786 | test/core/transport/chttp2/stream_map_test.c \ |
| 6787 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6788 | 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] | 6789 | ifeq ($(NO_SECURE),true) |
| 6790 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6791 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6792 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6793 | $(BINDIR)/$(CONFIG)/chttp2_stream_map_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6794 | |
| 6795 | else |
| 6796 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6797 | |
| 6798 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6799 | $(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] | 6800 | $(E) "[LD] Linking $@" |
| 6801 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6802 | $(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] | 6803 | |
| 6804 | endif |
| 6805 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6806 | $(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] | 6807 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6808 | deps_chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep) |
| 6809 | |
| 6810 | ifneq ($(NO_SECURE),true) |
| 6811 | ifneq ($(NO_DEPS),true) |
| 6812 | -include $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep) |
| 6813 | endif |
| 6814 | endif |
| 6815 | |
| 6816 | |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 6817 | CHTTP2_VARINT_TEST_SRC = \ |
| 6818 | test/core/transport/chttp2/varint_test.c \ |
| 6819 | |
| 6820 | CHTTP2_VARINT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_VARINT_TEST_SRC)))) |
| 6821 | ifeq ($(NO_SECURE),true) |
| 6822 | |
| 6823 | # You can't build secure targets if you don't have OpenSSL. |
| 6824 | |
| 6825 | $(BINDIR)/$(CONFIG)/chttp2_varint_test: openssl_dep_error |
| 6826 | |
| 6827 | else |
| 6828 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6829 | |
| 6830 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6831 | $(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] | 6832 | $(E) "[LD] Linking $@" |
| 6833 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6834 | $(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] | 6835 | |
| 6836 | endif |
| 6837 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6838 | $(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] | 6839 | |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 6840 | deps_chttp2_varint_test: $(CHTTP2_VARINT_TEST_OBJS:.o=.dep) |
| 6841 | |
| 6842 | ifneq ($(NO_SECURE),true) |
| 6843 | ifneq ($(NO_DEPS),true) |
| 6844 | -include $(CHTTP2_VARINT_TEST_OBJS:.o=.dep) |
| 6845 | endif |
| 6846 | endif |
| 6847 | |
| 6848 | |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 6849 | CLIENT_FUZZER_SRC = \ |
| 6850 | test/core/end2end/fuzzers/client_fuzzer.c \ |
| 6851 | |
| 6852 | CLIENT_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLIENT_FUZZER_SRC)))) |
| 6853 | ifeq ($(NO_SECURE),true) |
| 6854 | |
| 6855 | # You can't build secure targets if you don't have OpenSSL. |
| 6856 | |
| 6857 | $(BINDIR)/$(CONFIG)/client_fuzzer: openssl_dep_error |
| 6858 | |
| 6859 | else |
| 6860 | |
| 6861 | |
| 6862 | |
| 6863 | $(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 |
| 6864 | $(E) "[LD] Linking $@" |
| 6865 | $(Q) mkdir -p `dirname $@` |
| 6866 | $(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 |
| 6867 | |
| 6868 | endif |
| 6869 | |
| 6870 | $(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 |
| 6871 | |
| 6872 | deps_client_fuzzer: $(CLIENT_FUZZER_OBJS:.o=.dep) |
| 6873 | |
| 6874 | ifneq ($(NO_SECURE),true) |
| 6875 | ifneq ($(NO_DEPS),true) |
| 6876 | -include $(CLIENT_FUZZER_OBJS:.o=.dep) |
| 6877 | endif |
| 6878 | endif |
| 6879 | |
| 6880 | |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 6881 | COMPRESSION_TEST_SRC = \ |
| 6882 | test/core/compression/compression_test.c \ |
| 6883 | |
| 6884 | COMPRESSION_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(COMPRESSION_TEST_SRC)))) |
| 6885 | ifeq ($(NO_SECURE),true) |
| 6886 | |
| 6887 | # You can't build secure targets if you don't have OpenSSL. |
| 6888 | |
| 6889 | $(BINDIR)/$(CONFIG)/compression_test: openssl_dep_error |
| 6890 | |
| 6891 | else |
| 6892 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6893 | |
| 6894 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6895 | $(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] | 6896 | $(E) "[LD] Linking $@" |
| 6897 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6898 | $(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] | 6899 | |
| 6900 | endif |
| 6901 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6902 | $(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] | 6903 | |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 6904 | deps_compression_test: $(COMPRESSION_TEST_OBJS:.o=.dep) |
| 6905 | |
| 6906 | ifneq ($(NO_SECURE),true) |
| 6907 | ifneq ($(NO_DEPS),true) |
| 6908 | -include $(COMPRESSION_TEST_OBJS:.o=.dep) |
| 6909 | endif |
| 6910 | endif |
| 6911 | |
| 6912 | |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 6913 | CONCURRENT_CONNECTIVITY_TEST_SRC = \ |
| 6914 | test/core/surface/concurrent_connectivity_test.c \ |
| 6915 | |
| 6916 | CONCURRENT_CONNECTIVITY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CONCURRENT_CONNECTIVITY_TEST_SRC)))) |
| 6917 | ifeq ($(NO_SECURE),true) |
| 6918 | |
| 6919 | # You can't build secure targets if you don't have OpenSSL. |
| 6920 | |
| 6921 | $(BINDIR)/$(CONFIG)/concurrent_connectivity_test: openssl_dep_error |
| 6922 | |
| 6923 | else |
| 6924 | |
| 6925 | |
| 6926 | |
| 6927 | $(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 |
| 6928 | $(E) "[LD] Linking $@" |
| 6929 | $(Q) mkdir -p `dirname $@` |
| 6930 | $(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 |
| 6931 | |
| 6932 | endif |
| 6933 | |
| 6934 | $(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 |
| 6935 | |
| 6936 | deps_concurrent_connectivity_test: $(CONCURRENT_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 6937 | |
| 6938 | ifneq ($(NO_SECURE),true) |
| 6939 | ifneq ($(NO_DEPS),true) |
| 6940 | -include $(CONCURRENT_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 6941 | endif |
| 6942 | endif |
| 6943 | |
| 6944 | |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 6945 | DNS_RESOLVER_CONNECTIVITY_TEST_SRC = \ |
| 6946 | test/core/client_config/resolvers/dns_resolver_connectivity_test.c \ |
| 6947 | |
| 6948 | DNS_RESOLVER_CONNECTIVITY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DNS_RESOLVER_CONNECTIVITY_TEST_SRC)))) |
| 6949 | ifeq ($(NO_SECURE),true) |
| 6950 | |
| 6951 | # You can't build secure targets if you don't have OpenSSL. |
| 6952 | |
| 6953 | $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test: openssl_dep_error |
| 6954 | |
| 6955 | else |
| 6956 | |
| 6957 | |
| 6958 | |
| 6959 | $(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 |
| 6960 | $(E) "[LD] Linking $@" |
| 6961 | $(Q) mkdir -p `dirname $@` |
| 6962 | $(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 |
| 6963 | |
| 6964 | endif |
| 6965 | |
| 6966 | $(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 |
| 6967 | |
| 6968 | deps_dns_resolver_connectivity_test: $(DNS_RESOLVER_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 6969 | |
| 6970 | ifneq ($(NO_SECURE),true) |
| 6971 | ifneq ($(NO_DEPS),true) |
| 6972 | -include $(DNS_RESOLVER_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 6973 | endif |
| 6974 | endif |
| 6975 | |
| 6976 | |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 6977 | DNS_RESOLVER_TEST_SRC = \ |
| 6978 | test/core/client_config/resolvers/dns_resolver_test.c \ |
| 6979 | |
| 6980 | DNS_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DNS_RESOLVER_TEST_SRC)))) |
| 6981 | ifeq ($(NO_SECURE),true) |
| 6982 | |
| 6983 | # You can't build secure targets if you don't have OpenSSL. |
| 6984 | |
| 6985 | $(BINDIR)/$(CONFIG)/dns_resolver_test: openssl_dep_error |
| 6986 | |
| 6987 | else |
| 6988 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6989 | |
| 6990 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6991 | $(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] | 6992 | $(E) "[LD] Linking $@" |
| 6993 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6994 | $(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] | 6995 | |
| 6996 | endif |
| 6997 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6998 | $(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] | 6999 | |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 7000 | deps_dns_resolver_test: $(DNS_RESOLVER_TEST_OBJS:.o=.dep) |
| 7001 | |
| 7002 | ifneq ($(NO_SECURE),true) |
| 7003 | ifneq ($(NO_DEPS),true) |
| 7004 | -include $(DNS_RESOLVER_TEST_OBJS:.o=.dep) |
| 7005 | endif |
| 7006 | endif |
| 7007 | |
| 7008 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7009 | DUALSTACK_SOCKET_TEST_SRC = \ |
| 7010 | test/core/end2end/dualstack_socket_test.c \ |
| 7011 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7012 | 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] | 7013 | ifeq ($(NO_SECURE),true) |
| 7014 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7015 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7016 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7017 | $(BINDIR)/$(CONFIG)/dualstack_socket_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7018 | |
| 7019 | else |
| 7020 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7021 | |
| 7022 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7023 | $(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] | 7024 | $(E) "[LD] Linking $@" |
| 7025 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7026 | $(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] | 7027 | |
| 7028 | endif |
| 7029 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7030 | $(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] | 7031 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7032 | deps_dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep) |
| 7033 | |
| 7034 | ifneq ($(NO_SECURE),true) |
| 7035 | ifneq ($(NO_DEPS),true) |
| 7036 | -include $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep) |
| 7037 | endif |
| 7038 | endif |
| 7039 | |
| 7040 | |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 7041 | ENDPOINT_PAIR_TEST_SRC = \ |
| 7042 | test/core/iomgr/endpoint_pair_test.c \ |
| 7043 | |
| 7044 | ENDPOINT_PAIR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ENDPOINT_PAIR_TEST_SRC)))) |
| 7045 | ifeq ($(NO_SECURE),true) |
| 7046 | |
| 7047 | # You can't build secure targets if you don't have OpenSSL. |
| 7048 | |
| 7049 | $(BINDIR)/$(CONFIG)/endpoint_pair_test: openssl_dep_error |
| 7050 | |
| 7051 | else |
| 7052 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7053 | |
| 7054 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7055 | $(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] | 7056 | $(E) "[LD] Linking $@" |
| 7057 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7058 | $(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] | 7059 | |
| 7060 | endif |
| 7061 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7062 | $(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] | 7063 | |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 7064 | deps_endpoint_pair_test: $(ENDPOINT_PAIR_TEST_OBJS:.o=.dep) |
| 7065 | |
| 7066 | ifneq ($(NO_SECURE),true) |
| 7067 | ifneq ($(NO_DEPS),true) |
| 7068 | -include $(ENDPOINT_PAIR_TEST_OBJS:.o=.dep) |
| 7069 | endif |
| 7070 | endif |
| 7071 | |
| 7072 | |
Sree Kuchibhotla | 2e12db9 | 2016-06-16 16:53:59 -0700 | [diff] [blame] | 7073 | EV_EPOLL_LINUX_TEST_SRC = \ |
| 7074 | test/core/iomgr/ev_epoll_linux_test.c \ |
| 7075 | |
| 7076 | EV_EPOLL_LINUX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(EV_EPOLL_LINUX_TEST_SRC)))) |
| 7077 | ifeq ($(NO_SECURE),true) |
| 7078 | |
| 7079 | # You can't build secure targets if you don't have OpenSSL. |
| 7080 | |
| 7081 | $(BINDIR)/$(CONFIG)/ev_epoll_linux_test: openssl_dep_error |
| 7082 | |
| 7083 | else |
| 7084 | |
| 7085 | |
| 7086 | |
| 7087 | $(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 |
| 7088 | $(E) "[LD] Linking $@" |
| 7089 | $(Q) mkdir -p `dirname $@` |
| 7090 | $(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 |
| 7091 | |
| 7092 | endif |
| 7093 | |
| 7094 | $(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 |
| 7095 | |
| 7096 | deps_ev_epoll_linux_test: $(EV_EPOLL_LINUX_TEST_OBJS:.o=.dep) |
| 7097 | |
| 7098 | ifneq ($(NO_SECURE),true) |
| 7099 | ifneq ($(NO_DEPS),true) |
| 7100 | -include $(EV_EPOLL_LINUX_TEST_OBJS:.o=.dep) |
| 7101 | endif |
| 7102 | endif |
| 7103 | |
| 7104 | |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 7105 | FD_CONSERVATION_POSIX_TEST_SRC = \ |
| 7106 | test/core/iomgr/fd_conservation_posix_test.c \ |
| 7107 | |
| 7108 | FD_CONSERVATION_POSIX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FD_CONSERVATION_POSIX_TEST_SRC)))) |
| 7109 | ifeq ($(NO_SECURE),true) |
| 7110 | |
Craig Tiller | 8ebc34d | 2015-07-08 07:46:04 -0700 | [diff] [blame] | 7111 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 7112 | |
| 7113 | $(BINDIR)/$(CONFIG)/fd_conservation_posix_test: openssl_dep_error |
| 7114 | |
| 7115 | else |
| 7116 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7117 | |
| 7118 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7119 | $(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] | 7120 | $(E) "[LD] Linking $@" |
| 7121 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7122 | $(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] | 7123 | |
| 7124 | endif |
| 7125 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7126 | $(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] | 7127 | |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 7128 | deps_fd_conservation_posix_test: $(FD_CONSERVATION_POSIX_TEST_OBJS:.o=.dep) |
| 7129 | |
| 7130 | ifneq ($(NO_SECURE),true) |
| 7131 | ifneq ($(NO_DEPS),true) |
| 7132 | -include $(FD_CONSERVATION_POSIX_TEST_OBJS:.o=.dep) |
| 7133 | endif |
| 7134 | endif |
| 7135 | |
| 7136 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7137 | FD_POSIX_TEST_SRC = \ |
| 7138 | test/core/iomgr/fd_posix_test.c \ |
| 7139 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7140 | 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] | 7141 | ifeq ($(NO_SECURE),true) |
| 7142 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7143 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7144 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7145 | $(BINDIR)/$(CONFIG)/fd_posix_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7146 | |
| 7147 | else |
| 7148 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7149 | |
| 7150 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7151 | $(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] | 7152 | $(E) "[LD] Linking $@" |
| 7153 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7154 | $(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] | 7155 | |
| 7156 | endif |
| 7157 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7158 | $(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] | 7159 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7160 | deps_fd_posix_test: $(FD_POSIX_TEST_OBJS:.o=.dep) |
| 7161 | |
| 7162 | ifneq ($(NO_SECURE),true) |
| 7163 | ifneq ($(NO_DEPS),true) |
| 7164 | -include $(FD_POSIX_TEST_OBJS:.o=.dep) |
| 7165 | endif |
| 7166 | endif |
| 7167 | |
| 7168 | |
| 7169 | FLING_CLIENT_SRC = \ |
| 7170 | test/core/fling/client.c \ |
| 7171 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7172 | FLING_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_CLIENT_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7173 | ifeq ($(NO_SECURE),true) |
| 7174 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7175 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7176 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7177 | $(BINDIR)/$(CONFIG)/fling_client: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7178 | |
| 7179 | else |
| 7180 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7181 | |
| 7182 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7183 | $(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] | 7184 | $(E) "[LD] Linking $@" |
| 7185 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7186 | $(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] | 7187 | |
| 7188 | endif |
| 7189 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7190 | $(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] | 7191 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7192 | deps_fling_client: $(FLING_CLIENT_OBJS:.o=.dep) |
| 7193 | |
| 7194 | ifneq ($(NO_SECURE),true) |
| 7195 | ifneq ($(NO_DEPS),true) |
| 7196 | -include $(FLING_CLIENT_OBJS:.o=.dep) |
| 7197 | endif |
| 7198 | endif |
| 7199 | |
| 7200 | |
| 7201 | FLING_SERVER_SRC = \ |
| 7202 | test/core/fling/server.c \ |
| 7203 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7204 | FLING_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_SERVER_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7205 | ifeq ($(NO_SECURE),true) |
| 7206 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7207 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7208 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7209 | $(BINDIR)/$(CONFIG)/fling_server: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7210 | |
| 7211 | else |
| 7212 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7213 | |
| 7214 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7215 | $(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] | 7216 | $(E) "[LD] Linking $@" |
| 7217 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7218 | $(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] | 7219 | |
| 7220 | endif |
| 7221 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7222 | $(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] | 7223 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7224 | deps_fling_server: $(FLING_SERVER_OBJS:.o=.dep) |
| 7225 | |
| 7226 | ifneq ($(NO_SECURE),true) |
| 7227 | ifneq ($(NO_DEPS),true) |
| 7228 | -include $(FLING_SERVER_OBJS:.o=.dep) |
| 7229 | endif |
| 7230 | endif |
| 7231 | |
| 7232 | |
| 7233 | FLING_STREAM_TEST_SRC = \ |
| 7234 | test/core/fling/fling_stream_test.c \ |
| 7235 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7236 | 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] | 7237 | ifeq ($(NO_SECURE),true) |
| 7238 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7239 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7240 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7241 | $(BINDIR)/$(CONFIG)/fling_stream_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7242 | |
| 7243 | else |
| 7244 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7245 | |
| 7246 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7247 | $(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] | 7248 | $(E) "[LD] Linking $@" |
| 7249 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7250 | $(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] | 7251 | |
| 7252 | endif |
| 7253 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7254 | $(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] | 7255 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7256 | deps_fling_stream_test: $(FLING_STREAM_TEST_OBJS:.o=.dep) |
| 7257 | |
| 7258 | ifneq ($(NO_SECURE),true) |
| 7259 | ifneq ($(NO_DEPS),true) |
| 7260 | -include $(FLING_STREAM_TEST_OBJS:.o=.dep) |
| 7261 | endif |
| 7262 | endif |
| 7263 | |
| 7264 | |
| 7265 | FLING_TEST_SRC = \ |
| 7266 | test/core/fling/fling_test.c \ |
| 7267 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7268 | FLING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7269 | ifeq ($(NO_SECURE),true) |
| 7270 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7271 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7272 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7273 | $(BINDIR)/$(CONFIG)/fling_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7274 | |
| 7275 | else |
| 7276 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7277 | |
| 7278 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7279 | $(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] | 7280 | $(E) "[LD] Linking $@" |
| 7281 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7282 | $(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] | 7283 | |
| 7284 | endif |
| 7285 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7286 | $(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] | 7287 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7288 | deps_fling_test: $(FLING_TEST_OBJS:.o=.dep) |
| 7289 | |
| 7290 | ifneq ($(NO_SECURE),true) |
| 7291 | ifneq ($(NO_DEPS),true) |
| 7292 | -include $(FLING_TEST_OBJS:.o=.dep) |
| 7293 | endif |
| 7294 | endif |
| 7295 | |
| 7296 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7297 | GEN_HPACK_TABLES_SRC = \ |
Craig Tiller | 31489e3 | 2015-06-23 14:27:34 -0700 | [diff] [blame] | 7298 | tools/codegen/core/gen_hpack_tables.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7299 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7300 | 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] | 7301 | ifeq ($(NO_SECURE),true) |
| 7302 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7303 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7304 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7305 | $(BINDIR)/$(CONFIG)/gen_hpack_tables: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7306 | |
| 7307 | else |
| 7308 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7309 | |
| 7310 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7311 | $(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] | 7312 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7313 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7314 | $(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] | 7315 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7316 | endif |
| 7317 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7318 | $(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] | 7319 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7320 | deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7321 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7322 | ifneq ($(NO_SECURE),true) |
| 7323 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7324 | -include $(GEN_HPACK_TABLES_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7325 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7326 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7327 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7328 | |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 7329 | GEN_LEGAL_METADATA_CHARACTERS_SRC = \ |
| 7330 | tools/codegen/core/gen_legal_metadata_characters.c \ |
| 7331 | |
| 7332 | GEN_LEGAL_METADATA_CHARACTERS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_LEGAL_METADATA_CHARACTERS_SRC)))) |
| 7333 | ifeq ($(NO_SECURE),true) |
| 7334 | |
| 7335 | # You can't build secure targets if you don't have OpenSSL. |
| 7336 | |
| 7337 | $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters: openssl_dep_error |
| 7338 | |
| 7339 | else |
| 7340 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7341 | |
| 7342 | |
Craig Tiller | 11a28c7 | 2015-08-24 07:54:34 -0700 | [diff] [blame] | 7343 | $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters: $(GEN_LEGAL_METADATA_CHARACTERS_OBJS) |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 7344 | $(E) "[LD] Linking $@" |
| 7345 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 11a28c7 | 2015-08-24 07:54:34 -0700 | [diff] [blame] | 7346 | $(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] | 7347 | |
| 7348 | endif |
| 7349 | |
Craig Tiller | 11a28c7 | 2015-08-24 07:54:34 -0700 | [diff] [blame] | 7350 | $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_legal_metadata_characters.o: |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7351 | |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 7352 | deps_gen_legal_metadata_characters: $(GEN_LEGAL_METADATA_CHARACTERS_OBJS:.o=.dep) |
| 7353 | |
| 7354 | ifneq ($(NO_SECURE),true) |
| 7355 | ifneq ($(NO_DEPS),true) |
| 7356 | -include $(GEN_LEGAL_METADATA_CHARACTERS_OBJS:.o=.dep) |
| 7357 | endif |
| 7358 | endif |
| 7359 | |
| 7360 | |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 7361 | GOAWAY_SERVER_TEST_SRC = \ |
| 7362 | test/core/end2end/goaway_server_test.c \ |
| 7363 | |
| 7364 | GOAWAY_SERVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GOAWAY_SERVER_TEST_SRC)))) |
| 7365 | ifeq ($(NO_SECURE),true) |
| 7366 | |
| 7367 | # You can't build secure targets if you don't have OpenSSL. |
| 7368 | |
| 7369 | $(BINDIR)/$(CONFIG)/goaway_server_test: openssl_dep_error |
| 7370 | |
| 7371 | else |
| 7372 | |
| 7373 | |
| 7374 | |
| 7375 | $(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 |
| 7376 | $(E) "[LD] Linking $@" |
| 7377 | $(Q) mkdir -p `dirname $@` |
| 7378 | $(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 |
| 7379 | |
| 7380 | endif |
| 7381 | |
| 7382 | $(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 |
| 7383 | |
| 7384 | deps_goaway_server_test: $(GOAWAY_SERVER_TEST_OBJS:.o=.dep) |
| 7385 | |
| 7386 | ifneq ($(NO_SECURE),true) |
| 7387 | ifneq ($(NO_DEPS),true) |
| 7388 | -include $(GOAWAY_SERVER_TEST_OBJS:.o=.dep) |
| 7389 | endif |
| 7390 | endif |
| 7391 | |
| 7392 | |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 7393 | GPR_AVL_TEST_SRC = \ |
| 7394 | test/core/support/avl_test.c \ |
| 7395 | |
| 7396 | GPR_AVL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_AVL_TEST_SRC)))) |
| 7397 | ifeq ($(NO_SECURE),true) |
| 7398 | |
| 7399 | # You can't build secure targets if you don't have OpenSSL. |
| 7400 | |
| 7401 | $(BINDIR)/$(CONFIG)/gpr_avl_test: openssl_dep_error |
| 7402 | |
| 7403 | else |
| 7404 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7405 | |
| 7406 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7407 | $(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] | 7408 | $(E) "[LD] Linking $@" |
| 7409 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7410 | $(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] | 7411 | |
| 7412 | endif |
| 7413 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7414 | $(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] | 7415 | |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 7416 | deps_gpr_avl_test: $(GPR_AVL_TEST_OBJS:.o=.dep) |
| 7417 | |
| 7418 | ifneq ($(NO_SECURE),true) |
| 7419 | ifneq ($(NO_DEPS),true) |
| 7420 | -include $(GPR_AVL_TEST_OBJS:.o=.dep) |
| 7421 | endif |
| 7422 | endif |
| 7423 | |
| 7424 | |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 7425 | GPR_BACKOFF_TEST_SRC = \ |
| 7426 | test/core/support/backoff_test.c \ |
| 7427 | |
| 7428 | GPR_BACKOFF_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_BACKOFF_TEST_SRC)))) |
| 7429 | ifeq ($(NO_SECURE),true) |
| 7430 | |
| 7431 | # You can't build secure targets if you don't have OpenSSL. |
| 7432 | |
| 7433 | $(BINDIR)/$(CONFIG)/gpr_backoff_test: openssl_dep_error |
| 7434 | |
| 7435 | else |
| 7436 | |
| 7437 | |
| 7438 | |
| 7439 | $(BINDIR)/$(CONFIG)/gpr_backoff_test: $(GPR_BACKOFF_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7440 | $(E) "[LD] Linking $@" |
| 7441 | $(Q) mkdir -p `dirname $@` |
| 7442 | $(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 |
| 7443 | |
| 7444 | endif |
| 7445 | |
| 7446 | $(OBJDIR)/$(CONFIG)/test/core/support/backoff_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7447 | |
| 7448 | deps_gpr_backoff_test: $(GPR_BACKOFF_TEST_OBJS:.o=.dep) |
| 7449 | |
| 7450 | ifneq ($(NO_SECURE),true) |
| 7451 | ifneq ($(NO_DEPS),true) |
| 7452 | -include $(GPR_BACKOFF_TEST_OBJS:.o=.dep) |
| 7453 | endif |
| 7454 | endif |
| 7455 | |
| 7456 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7457 | GPR_CMDLINE_TEST_SRC = \ |
| 7458 | test/core/support/cmdline_test.c \ |
| 7459 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7460 | 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] | 7461 | ifeq ($(NO_SECURE),true) |
| 7462 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7463 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7464 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7465 | $(BINDIR)/$(CONFIG)/gpr_cmdline_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7466 | |
| 7467 | else |
| 7468 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7469 | |
| 7470 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7471 | $(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] | 7472 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7473 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7474 | $(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] | 7475 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7476 | endif |
| 7477 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7478 | $(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] | 7479 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7480 | deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7481 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7482 | ifneq ($(NO_SECURE),true) |
| 7483 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7484 | -include $(GPR_CMDLINE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7485 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7486 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7487 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7488 | |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 7489 | GPR_CPU_TEST_SRC = \ |
| 7490 | test/core/support/cpu_test.c \ |
| 7491 | |
| 7492 | GPR_CPU_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CPU_TEST_SRC)))) |
| 7493 | ifeq ($(NO_SECURE),true) |
| 7494 | |
| 7495 | # You can't build secure targets if you don't have OpenSSL. |
| 7496 | |
| 7497 | $(BINDIR)/$(CONFIG)/gpr_cpu_test: openssl_dep_error |
| 7498 | |
| 7499 | else |
| 7500 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7501 | |
| 7502 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7503 | $(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] | 7504 | $(E) "[LD] Linking $@" |
| 7505 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7506 | $(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] | 7507 | |
| 7508 | endif |
| 7509 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7510 | $(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] | 7511 | |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 7512 | deps_gpr_cpu_test: $(GPR_CPU_TEST_OBJS:.o=.dep) |
| 7513 | |
| 7514 | ifneq ($(NO_SECURE),true) |
| 7515 | ifneq ($(NO_DEPS),true) |
| 7516 | -include $(GPR_CPU_TEST_OBJS:.o=.dep) |
| 7517 | endif |
| 7518 | endif |
| 7519 | |
| 7520 | |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 7521 | GPR_ENV_TEST_SRC = \ |
| 7522 | test/core/support/env_test.c \ |
| 7523 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7524 | 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] | 7525 | ifeq ($(NO_SECURE),true) |
| 7526 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7527 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 7528 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7529 | $(BINDIR)/$(CONFIG)/gpr_env_test: openssl_dep_error |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 7530 | |
| 7531 | else |
| 7532 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7533 | |
| 7534 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7535 | $(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] | 7536 | $(E) "[LD] Linking $@" |
| 7537 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7538 | $(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] | 7539 | |
| 7540 | endif |
| 7541 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7542 | $(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] | 7543 | |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 7544 | deps_gpr_env_test: $(GPR_ENV_TEST_OBJS:.o=.dep) |
| 7545 | |
| 7546 | ifneq ($(NO_SECURE),true) |
| 7547 | ifneq ($(NO_DEPS),true) |
| 7548 | -include $(GPR_ENV_TEST_OBJS:.o=.dep) |
| 7549 | endif |
| 7550 | endif |
| 7551 | |
| 7552 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7553 | GPR_HISTOGRAM_TEST_SRC = \ |
| 7554 | test/core/support/histogram_test.c \ |
| 7555 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7556 | 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] | 7557 | ifeq ($(NO_SECURE),true) |
| 7558 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7559 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7560 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7561 | $(BINDIR)/$(CONFIG)/gpr_histogram_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7562 | |
| 7563 | else |
| 7564 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7565 | |
| 7566 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7567 | $(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] | 7568 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7569 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7570 | $(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] | 7571 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7572 | endif |
| 7573 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7574 | $(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] | 7575 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7576 | deps_gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7577 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7578 | ifneq ($(NO_SECURE),true) |
| 7579 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7580 | -include $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7581 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7582 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7583 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7584 | |
| 7585 | GPR_HOST_PORT_TEST_SRC = \ |
| 7586 | test/core/support/host_port_test.c \ |
| 7587 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7588 | 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] | 7589 | ifeq ($(NO_SECURE),true) |
| 7590 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7591 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7592 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7593 | $(BINDIR)/$(CONFIG)/gpr_host_port_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7594 | |
| 7595 | else |
| 7596 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7597 | |
| 7598 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7599 | $(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] | 7600 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7601 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7602 | $(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] | 7603 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7604 | endif |
| 7605 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7606 | $(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] | 7607 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7608 | deps_gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7609 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7610 | ifneq ($(NO_SECURE),true) |
| 7611 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7612 | -include $(GPR_HOST_PORT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7613 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7614 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7615 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7616 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7617 | GPR_LOG_TEST_SRC = \ |
| 7618 | test/core/support/log_test.c \ |
| 7619 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7620 | 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] | 7621 | ifeq ($(NO_SECURE),true) |
| 7622 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7623 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7624 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7625 | $(BINDIR)/$(CONFIG)/gpr_log_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7626 | |
| 7627 | else |
| 7628 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7629 | |
| 7630 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7631 | $(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] | 7632 | $(E) "[LD] Linking $@" |
| 7633 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7634 | $(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] | 7635 | |
| 7636 | endif |
| 7637 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7638 | $(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] | 7639 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7640 | deps_gpr_log_test: $(GPR_LOG_TEST_OBJS:.o=.dep) |
| 7641 | |
| 7642 | ifneq ($(NO_SECURE),true) |
| 7643 | ifneq ($(NO_DEPS),true) |
| 7644 | -include $(GPR_LOG_TEST_OBJS:.o=.dep) |
| 7645 | endif |
| 7646 | endif |
| 7647 | |
| 7648 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7649 | GPR_SLICE_BUFFER_TEST_SRC = \ |
| 7650 | test/core/support/slice_buffer_test.c \ |
| 7651 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7652 | 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] | 7653 | ifeq ($(NO_SECURE),true) |
| 7654 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7655 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7656 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7657 | $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7658 | |
| 7659 | else |
| 7660 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7661 | |
| 7662 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7663 | $(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] | 7664 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7665 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7666 | $(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] | 7667 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7668 | endif |
| 7669 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7670 | $(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] | 7671 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7672 | deps_gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7673 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7674 | ifneq ($(NO_SECURE),true) |
| 7675 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7676 | -include $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7677 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7678 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7679 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7680 | |
| 7681 | GPR_SLICE_TEST_SRC = \ |
| 7682 | test/core/support/slice_test.c \ |
| 7683 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7684 | 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] | 7685 | ifeq ($(NO_SECURE),true) |
| 7686 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7687 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7688 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7689 | $(BINDIR)/$(CONFIG)/gpr_slice_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7690 | |
| 7691 | else |
| 7692 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7693 | |
| 7694 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7695 | $(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] | 7696 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7697 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7698 | $(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] | 7699 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7700 | endif |
| 7701 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7702 | $(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] | 7703 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7704 | deps_gpr_slice_test: $(GPR_SLICE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7705 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7706 | ifneq ($(NO_SECURE),true) |
| 7707 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7708 | -include $(GPR_SLICE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7709 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7710 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7711 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7712 | |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 7713 | GPR_STACK_LOCKFREE_TEST_SRC = \ |
| 7714 | test/core/support/stack_lockfree_test.c \ |
| 7715 | |
| 7716 | GPR_STACK_LOCKFREE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STACK_LOCKFREE_TEST_SRC)))) |
| 7717 | ifeq ($(NO_SECURE),true) |
| 7718 | |
| 7719 | # You can't build secure targets if you don't have OpenSSL. |
| 7720 | |
| 7721 | $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test: openssl_dep_error |
| 7722 | |
| 7723 | else |
| 7724 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7725 | |
| 7726 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7727 | $(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] | 7728 | $(E) "[LD] Linking $@" |
| 7729 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7730 | $(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] | 7731 | |
| 7732 | endif |
| 7733 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7734 | $(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] | 7735 | |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 7736 | deps_gpr_stack_lockfree_test: $(GPR_STACK_LOCKFREE_TEST_OBJS:.o=.dep) |
| 7737 | |
| 7738 | ifneq ($(NO_SECURE),true) |
| 7739 | ifneq ($(NO_DEPS),true) |
| 7740 | -include $(GPR_STACK_LOCKFREE_TEST_OBJS:.o=.dep) |
| 7741 | endif |
| 7742 | endif |
| 7743 | |
| 7744 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7745 | GPR_STRING_TEST_SRC = \ |
| 7746 | test/core/support/string_test.c \ |
| 7747 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7748 | 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] | 7749 | ifeq ($(NO_SECURE),true) |
| 7750 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7751 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7752 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7753 | $(BINDIR)/$(CONFIG)/gpr_string_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7754 | |
| 7755 | else |
| 7756 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7757 | |
| 7758 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7759 | $(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] | 7760 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7761 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7762 | $(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] | 7763 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7764 | endif |
| 7765 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7766 | $(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] | 7767 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7768 | deps_gpr_string_test: $(GPR_STRING_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7769 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7770 | ifneq ($(NO_SECURE),true) |
| 7771 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7772 | -include $(GPR_STRING_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7773 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7774 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7775 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7776 | |
| 7777 | GPR_SYNC_TEST_SRC = \ |
| 7778 | test/core/support/sync_test.c \ |
| 7779 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7780 | 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] | 7781 | ifeq ($(NO_SECURE),true) |
| 7782 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7783 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7784 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7785 | $(BINDIR)/$(CONFIG)/gpr_sync_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7786 | |
| 7787 | else |
| 7788 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7789 | |
| 7790 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7791 | $(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] | 7792 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7793 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7794 | $(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] | 7795 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7796 | endif |
| 7797 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7798 | $(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] | 7799 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7800 | deps_gpr_sync_test: $(GPR_SYNC_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7801 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7802 | ifneq ($(NO_SECURE),true) |
| 7803 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7804 | -include $(GPR_SYNC_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7805 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7806 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7807 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7808 | |
| 7809 | GPR_THD_TEST_SRC = \ |
| 7810 | test/core/support/thd_test.c \ |
| 7811 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7812 | 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] | 7813 | ifeq ($(NO_SECURE),true) |
| 7814 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7815 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7816 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7817 | $(BINDIR)/$(CONFIG)/gpr_thd_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7818 | |
| 7819 | else |
| 7820 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7821 | |
| 7822 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7823 | $(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] | 7824 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7825 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7826 | $(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] | 7827 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7828 | endif |
| 7829 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7830 | $(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] | 7831 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7832 | deps_gpr_thd_test: $(GPR_THD_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7833 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7834 | ifneq ($(NO_SECURE),true) |
| 7835 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7836 | -include $(GPR_THD_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7837 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7838 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7839 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7840 | |
| 7841 | GPR_TIME_TEST_SRC = \ |
| 7842 | test/core/support/time_test.c \ |
| 7843 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7844 | 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] | 7845 | ifeq ($(NO_SECURE),true) |
| 7846 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7847 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7848 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7849 | $(BINDIR)/$(CONFIG)/gpr_time_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7850 | |
| 7851 | else |
| 7852 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7853 | |
| 7854 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7855 | $(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] | 7856 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7857 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7858 | $(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] | 7859 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7860 | endif |
| 7861 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7862 | $(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] | 7863 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7864 | deps_gpr_time_test: $(GPR_TIME_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7865 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7866 | ifneq ($(NO_SECURE),true) |
| 7867 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7868 | -include $(GPR_TIME_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7869 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7870 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7871 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7872 | |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 7873 | GPR_TLS_TEST_SRC = \ |
| 7874 | test/core/support/tls_test.c \ |
| 7875 | |
| 7876 | 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] | 7877 | ifeq ($(NO_SECURE),true) |
| 7878 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7879 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 7880 | |
| 7881 | $(BINDIR)/$(CONFIG)/gpr_tls_test: openssl_dep_error |
| 7882 | |
| 7883 | else |
| 7884 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7885 | |
| 7886 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7887 | $(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] | 7888 | $(E) "[LD] Linking $@" |
| 7889 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7890 | $(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] | 7891 | |
| 7892 | endif |
| 7893 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7894 | $(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] | 7895 | |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 7896 | deps_gpr_tls_test: $(GPR_TLS_TEST_OBJS:.o=.dep) |
| 7897 | |
| 7898 | ifneq ($(NO_SECURE),true) |
| 7899 | ifneq ($(NO_DEPS),true) |
| 7900 | -include $(GPR_TLS_TEST_OBJS:.o=.dep) |
| 7901 | endif |
| 7902 | endif |
| 7903 | |
| 7904 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7905 | GPR_USEFUL_TEST_SRC = \ |
| 7906 | test/core/support/useful_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7907 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7908 | 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] | 7909 | ifeq ($(NO_SECURE),true) |
| 7910 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7911 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7912 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7913 | $(BINDIR)/$(CONFIG)/gpr_useful_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7914 | |
| 7915 | else |
| 7916 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7917 | |
| 7918 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7919 | $(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] | 7920 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7921 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7922 | $(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] | 7923 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7924 | endif |
| 7925 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7926 | $(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] | 7927 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7928 | deps_gpr_useful_test: $(GPR_USEFUL_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7929 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7930 | ifneq ($(NO_SECURE),true) |
| 7931 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7932 | -include $(GPR_USEFUL_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7933 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7934 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7935 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7936 | |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 7937 | GRPC_AUTH_CONTEXT_TEST_SRC = \ |
| 7938 | test/core/security/auth_context_test.c \ |
| 7939 | |
| 7940 | GRPC_AUTH_CONTEXT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_AUTH_CONTEXT_TEST_SRC)))) |
| 7941 | ifeq ($(NO_SECURE),true) |
| 7942 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7943 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 7944 | |
| 7945 | $(BINDIR)/$(CONFIG)/grpc_auth_context_test: openssl_dep_error |
| 7946 | |
| 7947 | else |
| 7948 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7949 | |
| 7950 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7951 | $(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] | 7952 | $(E) "[LD] Linking $@" |
| 7953 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7954 | $(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] | 7955 | |
| 7956 | endif |
| 7957 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7958 | $(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] | 7959 | |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 7960 | deps_grpc_auth_context_test: $(GRPC_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 7961 | |
| 7962 | ifneq ($(NO_SECURE),true) |
| 7963 | ifneq ($(NO_DEPS),true) |
| 7964 | -include $(GRPC_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 7965 | endif |
| 7966 | endif |
| 7967 | |
| 7968 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7969 | GRPC_B64_TEST_SRC = \ |
| 7970 | test/core/security/b64_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7971 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7972 | 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] | 7973 | ifeq ($(NO_SECURE),true) |
| 7974 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7975 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7976 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7977 | $(BINDIR)/$(CONFIG)/grpc_b64_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7978 | |
| 7979 | else |
| 7980 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7981 | |
| 7982 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7983 | $(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] | 7984 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7985 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7986 | $(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] | 7987 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7988 | endif |
| 7989 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7990 | $(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] | 7991 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7992 | deps_grpc_b64_test: $(GRPC_B64_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7993 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7994 | ifneq ($(NO_SECURE),true) |
| 7995 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7996 | -include $(GRPC_B64_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7997 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7998 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7999 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8000 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8001 | GRPC_BYTE_BUFFER_READER_TEST_SRC = \ |
| 8002 | test/core/surface/byte_buffer_reader_test.c \ |
nnoble | 0c475f0 | 2014-12-05 15:37:39 -0800 | [diff] [blame] | 8003 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8004 | 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] | 8005 | ifeq ($(NO_SECURE),true) |
| 8006 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8007 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8008 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8009 | $(BINDIR)/$(CONFIG)/grpc_byte_buffer_reader_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8010 | |
| 8011 | else |
| 8012 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8013 | |
| 8014 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8015 | $(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] | 8016 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8017 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8018 | $(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] | 8019 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8020 | endif |
| 8021 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8022 | $(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] | 8023 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8024 | 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] | 8025 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8026 | ifneq ($(NO_SECURE),true) |
| 8027 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8028 | -include $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8029 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8030 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8031 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8032 | |
David Garcia Quintas | a4c4f02 | 2015-08-21 00:05:42 -0700 | [diff] [blame] | 8033 | GRPC_CHANNEL_ARGS_TEST_SRC = \ |
| 8034 | test/core/channel/channel_args_test.c \ |
| 8035 | |
| 8036 | GRPC_CHANNEL_ARGS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CHANNEL_ARGS_TEST_SRC)))) |
| 8037 | ifeq ($(NO_SECURE),true) |
| 8038 | |
| 8039 | # You can't build secure targets if you don't have OpenSSL. |
| 8040 | |
| 8041 | $(BINDIR)/$(CONFIG)/grpc_channel_args_test: openssl_dep_error |
| 8042 | |
| 8043 | else |
| 8044 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8045 | |
| 8046 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8047 | $(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] | 8048 | $(E) "[LD] Linking $@" |
| 8049 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8050 | $(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] | 8051 | |
| 8052 | endif |
| 8053 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8054 | $(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] | 8055 | |
David Garcia Quintas | a4c4f02 | 2015-08-21 00:05:42 -0700 | [diff] [blame] | 8056 | deps_grpc_channel_args_test: $(GRPC_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 8057 | |
| 8058 | ifneq ($(NO_SECURE),true) |
| 8059 | ifneq ($(NO_DEPS),true) |
| 8060 | -include $(GRPC_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 8061 | endif |
| 8062 | endif |
| 8063 | |
| 8064 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8065 | GRPC_CHANNEL_STACK_TEST_SRC = \ |
| 8066 | test/core/channel/channel_stack_test.c \ |
| 8067 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8068 | 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] | 8069 | ifeq ($(NO_SECURE),true) |
| 8070 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8071 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8072 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8073 | $(BINDIR)/$(CONFIG)/grpc_channel_stack_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8074 | |
| 8075 | else |
| 8076 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8077 | |
| 8078 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8079 | $(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] | 8080 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8081 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8082 | $(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] | 8083 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8084 | endif |
| 8085 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8086 | $(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] | 8087 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8088 | deps_grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8089 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8090 | ifneq ($(NO_SECURE),true) |
| 8091 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8092 | -include $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8093 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8094 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8095 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8096 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8097 | GRPC_COMPLETION_QUEUE_TEST_SRC = \ |
| 8098 | test/core/surface/completion_queue_test.c \ |
| 8099 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8100 | 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] | 8101 | ifeq ($(NO_SECURE),true) |
| 8102 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8103 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8104 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8105 | $(BINDIR)/$(CONFIG)/grpc_completion_queue_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8106 | |
| 8107 | else |
| 8108 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8109 | |
| 8110 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8111 | $(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] | 8112 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8113 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8114 | $(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] | 8115 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8116 | endif |
| 8117 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8118 | $(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] | 8119 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8120 | deps_grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8121 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8122 | ifneq ($(NO_SECURE),true) |
| 8123 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8124 | -include $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8125 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8126 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8127 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8128 | |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8129 | GRPC_CREATE_JWT_SRC = \ |
| 8130 | test/core/security/create_jwt.c \ |
| 8131 | |
| 8132 | 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] | 8133 | ifeq ($(NO_SECURE),true) |
| 8134 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8135 | # 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] | 8136 | |
| 8137 | $(BINDIR)/$(CONFIG)/grpc_create_jwt: openssl_dep_error |
| 8138 | |
| 8139 | else |
| 8140 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8141 | |
| 8142 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8143 | $(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] | 8144 | $(E) "[LD] Linking $@" |
| 8145 | $(Q) mkdir -p `dirname $@` |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8146 | $(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] | 8147 | |
| 8148 | endif |
| 8149 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8150 | $(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] | 8151 | |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8152 | deps_grpc_create_jwt: $(GRPC_CREATE_JWT_OBJS:.o=.dep) |
| 8153 | |
| 8154 | ifneq ($(NO_SECURE),true) |
| 8155 | ifneq ($(NO_DEPS),true) |
| 8156 | -include $(GRPC_CREATE_JWT_OBJS:.o=.dep) |
| 8157 | endif |
| 8158 | endif |
| 8159 | |
| 8160 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8161 | GRPC_CREDENTIALS_TEST_SRC = \ |
| 8162 | test/core/security/credentials_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8163 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8164 | 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] | 8165 | ifeq ($(NO_SECURE),true) |
| 8166 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8167 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8168 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8169 | $(BINDIR)/$(CONFIG)/grpc_credentials_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8170 | |
| 8171 | else |
| 8172 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8173 | |
| 8174 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8175 | $(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] | 8176 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8177 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8178 | $(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] | 8179 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8180 | endif |
| 8181 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8182 | $(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] | 8183 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8184 | deps_grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8185 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8186 | ifneq ($(NO_SECURE),true) |
| 8187 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8188 | -include $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8189 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8190 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8191 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8192 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8193 | GRPC_FETCH_OAUTH2_SRC = \ |
| 8194 | test/core/security/fetch_oauth2.c \ |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8195 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8196 | 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] | 8197 | ifeq ($(NO_SECURE),true) |
| 8198 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8199 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8200 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8201 | $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2: openssl_dep_error |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8202 | |
| 8203 | else |
| 8204 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8205 | |
| 8206 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8207 | $(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] | 8208 | $(E) "[LD] Linking $@" |
| 8209 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8210 | $(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] | 8211 | |
| 8212 | endif |
| 8213 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8214 | $(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] | 8215 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8216 | deps_grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8217 | |
| 8218 | ifneq ($(NO_SECURE),true) |
| 8219 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8220 | -include $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8221 | endif |
| 8222 | endif |
| 8223 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8224 | |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 8225 | GRPC_INVALID_CHANNEL_ARGS_TEST_SRC = \ |
| 8226 | test/core/surface/invalid_channel_args_test.c \ |
| 8227 | |
| 8228 | GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_INVALID_CHANNEL_ARGS_TEST_SRC)))) |
| 8229 | ifeq ($(NO_SECURE),true) |
| 8230 | |
| 8231 | # You can't build secure targets if you don't have OpenSSL. |
| 8232 | |
| 8233 | $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test: openssl_dep_error |
| 8234 | |
| 8235 | else |
| 8236 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8237 | |
| 8238 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8239 | $(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] | 8240 | $(E) "[LD] Linking $@" |
| 8241 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8242 | $(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] | 8243 | |
| 8244 | endif |
| 8245 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8246 | $(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] | 8247 | |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 8248 | deps_grpc_invalid_channel_args_test: $(GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 8249 | |
| 8250 | ifneq ($(NO_SECURE),true) |
| 8251 | ifneq ($(NO_DEPS),true) |
| 8252 | -include $(GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 8253 | endif |
| 8254 | endif |
| 8255 | |
| 8256 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8257 | GRPC_JSON_TOKEN_TEST_SRC = \ |
| 8258 | test/core/security/json_token_test.c \ |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8259 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8260 | 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] | 8261 | ifeq ($(NO_SECURE),true) |
| 8262 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8263 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8264 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8265 | $(BINDIR)/$(CONFIG)/grpc_json_token_test: openssl_dep_error |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8266 | |
| 8267 | else |
| 8268 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8269 | |
| 8270 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8271 | $(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] | 8272 | $(E) "[LD] Linking $@" |
| 8273 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8274 | $(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] | 8275 | |
| 8276 | endif |
| 8277 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8278 | $(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] | 8279 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8280 | deps_grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8281 | |
| 8282 | ifneq ($(NO_SECURE),true) |
| 8283 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8284 | -include $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8285 | endif |
| 8286 | endif |
| 8287 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8288 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8289 | GRPC_JWT_VERIFIER_TEST_SRC = \ |
| 8290 | test/core/security/jwt_verifier_test.c \ |
| 8291 | |
| 8292 | GRPC_JWT_VERIFIER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_JWT_VERIFIER_TEST_SRC)))) |
| 8293 | ifeq ($(NO_SECURE),true) |
| 8294 | |
Julien Boeuf | ea94e46 | 2015-07-08 16:24:31 -0700 | [diff] [blame] | 8295 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8296 | |
| 8297 | $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test: openssl_dep_error |
| 8298 | |
| 8299 | else |
| 8300 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8301 | |
| 8302 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8303 | $(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] | 8304 | $(E) "[LD] Linking $@" |
| 8305 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8306 | $(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] | 8307 | |
| 8308 | endif |
| 8309 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8310 | $(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] | 8311 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8312 | deps_grpc_jwt_verifier_test: $(GRPC_JWT_VERIFIER_TEST_OBJS:.o=.dep) |
| 8313 | |
| 8314 | ifneq ($(NO_SECURE),true) |
| 8315 | ifneq ($(NO_DEPS),true) |
| 8316 | -include $(GRPC_JWT_VERIFIER_TEST_OBJS:.o=.dep) |
| 8317 | endif |
| 8318 | endif |
| 8319 | |
| 8320 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8321 | GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_SRC = \ |
| 8322 | test/core/security/print_google_default_creds_token.c \ |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8323 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8324 | 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] | 8325 | ifeq ($(NO_SECURE),true) |
| 8326 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8327 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8328 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8329 | $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token: openssl_dep_error |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8330 | |
| 8331 | else |
| 8332 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8333 | |
| 8334 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8335 | $(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] | 8336 | $(E) "[LD] Linking $@" |
| 8337 | $(Q) mkdir -p `dirname $@` |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8338 | $(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] | 8339 | |
| 8340 | endif |
| 8341 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8342 | $(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] | 8343 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8344 | 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] | 8345 | |
| 8346 | ifneq ($(NO_SECURE),true) |
| 8347 | ifneq ($(NO_DEPS),true) |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8348 | -include $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS:.o=.dep) |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8349 | endif |
| 8350 | endif |
| 8351 | |
| 8352 | |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8353 | GRPC_SECURITY_CONNECTOR_TEST_SRC = \ |
| 8354 | test/core/security/security_connector_test.c \ |
| 8355 | |
| 8356 | GRPC_SECURITY_CONNECTOR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_SECURITY_CONNECTOR_TEST_SRC)))) |
| 8357 | ifeq ($(NO_SECURE),true) |
| 8358 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8359 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8360 | |
| 8361 | $(BINDIR)/$(CONFIG)/grpc_security_connector_test: openssl_dep_error |
| 8362 | |
| 8363 | else |
| 8364 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8365 | |
| 8366 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8367 | $(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] | 8368 | $(E) "[LD] Linking $@" |
| 8369 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8370 | $(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] | 8371 | |
| 8372 | endif |
| 8373 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8374 | $(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] | 8375 | |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8376 | deps_grpc_security_connector_test: $(GRPC_SECURITY_CONNECTOR_TEST_OBJS:.o=.dep) |
| 8377 | |
| 8378 | ifneq ($(NO_SECURE),true) |
| 8379 | ifneq ($(NO_DEPS),true) |
| 8380 | -include $(GRPC_SECURITY_CONNECTOR_TEST_OBJS:.o=.dep) |
| 8381 | endif |
| 8382 | endif |
| 8383 | |
| 8384 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8385 | GRPC_VERIFY_JWT_SRC = \ |
| 8386 | test/core/security/verify_jwt.c \ |
| 8387 | |
| 8388 | GRPC_VERIFY_JWT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_VERIFY_JWT_SRC)))) |
| 8389 | ifeq ($(NO_SECURE),true) |
| 8390 | |
Julien Boeuf | ea94e46 | 2015-07-08 16:24:31 -0700 | [diff] [blame] | 8391 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8392 | |
| 8393 | $(BINDIR)/$(CONFIG)/grpc_verify_jwt: openssl_dep_error |
| 8394 | |
| 8395 | else |
| 8396 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8397 | |
| 8398 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8399 | $(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] | 8400 | $(E) "[LD] Linking $@" |
| 8401 | $(Q) mkdir -p `dirname $@` |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8402 | $(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] | 8403 | |
| 8404 | endif |
| 8405 | |
Tamas Berghammer | c82324f | 2016-06-22 13:23:27 +0100 | [diff] [blame] | 8406 | $(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] | 8407 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8408 | deps_grpc_verify_jwt: $(GRPC_VERIFY_JWT_OBJS:.o=.dep) |
| 8409 | |
| 8410 | ifneq ($(NO_SECURE),true) |
| 8411 | ifneq ($(NO_DEPS),true) |
| 8412 | -include $(GRPC_VERIFY_JWT_OBJS:.o=.dep) |
| 8413 | endif |
| 8414 | endif |
| 8415 | |
| 8416 | |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 8417 | HPACK_PARSER_FUZZER_TEST_SRC = \ |
| 8418 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c \ |
| 8419 | |
| 8420 | HPACK_PARSER_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_FUZZER_TEST_SRC)))) |
| 8421 | ifeq ($(NO_SECURE),true) |
| 8422 | |
| 8423 | # You can't build secure targets if you don't have OpenSSL. |
| 8424 | |
| 8425 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test: openssl_dep_error |
| 8426 | |
| 8427 | else |
| 8428 | |
| 8429 | |
| 8430 | |
| 8431 | $(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 |
| 8432 | $(E) "[LD] Linking $@" |
| 8433 | $(Q) mkdir -p `dirname $@` |
| 8434 | $(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 |
| 8435 | |
| 8436 | endif |
| 8437 | |
| 8438 | $(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 |
| 8439 | |
| 8440 | deps_hpack_parser_fuzzer_test: $(HPACK_PARSER_FUZZER_TEST_OBJS:.o=.dep) |
| 8441 | |
| 8442 | ifneq ($(NO_SECURE),true) |
| 8443 | ifneq ($(NO_DEPS),true) |
| 8444 | -include $(HPACK_PARSER_FUZZER_TEST_OBJS:.o=.dep) |
| 8445 | endif |
| 8446 | endif |
| 8447 | |
| 8448 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8449 | HPACK_PARSER_TEST_SRC = \ |
| 8450 | test/core/transport/chttp2/hpack_parser_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8451 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8452 | 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] | 8453 | ifeq ($(NO_SECURE),true) |
| 8454 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8455 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8456 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8457 | $(BINDIR)/$(CONFIG)/hpack_parser_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8458 | |
| 8459 | else |
| 8460 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8461 | |
| 8462 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8463 | $(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] | 8464 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8465 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8466 | $(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] | 8467 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8468 | endif |
| 8469 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8470 | $(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] | 8471 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8472 | deps_hpack_parser_test: $(HPACK_PARSER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8473 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8474 | ifneq ($(NO_SECURE),true) |
| 8475 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8476 | -include $(HPACK_PARSER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8477 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8478 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8479 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8480 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8481 | HPACK_TABLE_TEST_SRC = \ |
| 8482 | test/core/transport/chttp2/hpack_table_test.c \ |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 8483 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8484 | 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] | 8485 | ifeq ($(NO_SECURE),true) |
| 8486 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8487 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8488 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8489 | $(BINDIR)/$(CONFIG)/hpack_table_test: openssl_dep_error |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 8490 | |
| 8491 | else |
| 8492 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8493 | |
| 8494 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8495 | $(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] | 8496 | $(E) "[LD] Linking $@" |
| 8497 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8498 | $(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] | 8499 | |
| 8500 | endif |
| 8501 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8502 | $(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] | 8503 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8504 | deps_hpack_table_test: $(HPACK_TABLE_TEST_OBJS:.o=.dep) |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 8505 | |
| 8506 | ifneq ($(NO_SECURE),true) |
| 8507 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8508 | -include $(HPACK_TABLE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8509 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8510 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8511 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8512 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8513 | HTTP_PARSER_TEST_SRC = \ |
| 8514 | test/core/http/parser_test.c \ |
| 8515 | |
| 8516 | HTTP_PARSER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_PARSER_TEST_SRC)))) |
| 8517 | ifeq ($(NO_SECURE),true) |
| 8518 | |
| 8519 | # You can't build secure targets if you don't have OpenSSL. |
| 8520 | |
| 8521 | $(BINDIR)/$(CONFIG)/http_parser_test: openssl_dep_error |
| 8522 | |
| 8523 | else |
| 8524 | |
| 8525 | |
| 8526 | |
| 8527 | $(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 |
| 8528 | $(E) "[LD] Linking $@" |
| 8529 | $(Q) mkdir -p `dirname $@` |
| 8530 | $(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 |
| 8531 | |
| 8532 | endif |
| 8533 | |
| 8534 | $(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 |
| 8535 | |
| 8536 | deps_http_parser_test: $(HTTP_PARSER_TEST_OBJS:.o=.dep) |
| 8537 | |
| 8538 | ifneq ($(NO_SECURE),true) |
| 8539 | ifneq ($(NO_DEPS),true) |
| 8540 | -include $(HTTP_PARSER_TEST_OBJS:.o=.dep) |
| 8541 | endif |
| 8542 | endif |
| 8543 | |
| 8544 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 8545 | HTTP_REQUEST_FUZZER_TEST_SRC = \ |
| 8546 | test/core/http/request_fuzzer.c \ |
| 8547 | |
| 8548 | HTTP_REQUEST_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_REQUEST_FUZZER_TEST_SRC)))) |
| 8549 | ifeq ($(NO_SECURE),true) |
| 8550 | |
| 8551 | # You can't build secure targets if you don't have OpenSSL. |
| 8552 | |
| 8553 | $(BINDIR)/$(CONFIG)/http_request_fuzzer_test: openssl_dep_error |
| 8554 | |
| 8555 | else |
| 8556 | |
| 8557 | |
| 8558 | |
| 8559 | $(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 |
| 8560 | $(E) "[LD] Linking $@" |
| 8561 | $(Q) mkdir -p `dirname $@` |
| 8562 | $(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 |
| 8563 | |
| 8564 | endif |
| 8565 | |
| 8566 | $(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 |
| 8567 | |
| 8568 | deps_http_request_fuzzer_test: $(HTTP_REQUEST_FUZZER_TEST_OBJS:.o=.dep) |
| 8569 | |
| 8570 | ifneq ($(NO_SECURE),true) |
| 8571 | ifneq ($(NO_DEPS),true) |
| 8572 | -include $(HTTP_REQUEST_FUZZER_TEST_OBJS:.o=.dep) |
| 8573 | endif |
| 8574 | endif |
| 8575 | |
| 8576 | |
| 8577 | HTTP_RESPONSE_FUZZER_TEST_SRC = \ |
| 8578 | test/core/http/response_fuzzer.c \ |
| 8579 | |
| 8580 | HTTP_RESPONSE_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_RESPONSE_FUZZER_TEST_SRC)))) |
| 8581 | ifeq ($(NO_SECURE),true) |
| 8582 | |
| 8583 | # You can't build secure targets if you don't have OpenSSL. |
| 8584 | |
| 8585 | $(BINDIR)/$(CONFIG)/http_response_fuzzer_test: openssl_dep_error |
| 8586 | |
| 8587 | else |
| 8588 | |
| 8589 | |
| 8590 | |
| 8591 | $(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 |
| 8592 | $(E) "[LD] Linking $@" |
| 8593 | $(Q) mkdir -p `dirname $@` |
| 8594 | $(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 |
| 8595 | |
| 8596 | endif |
| 8597 | |
| 8598 | $(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 |
| 8599 | |
| 8600 | deps_http_response_fuzzer_test: $(HTTP_RESPONSE_FUZZER_TEST_OBJS:.o=.dep) |
| 8601 | |
| 8602 | ifneq ($(NO_SECURE),true) |
| 8603 | ifneq ($(NO_DEPS),true) |
| 8604 | -include $(HTTP_RESPONSE_FUZZER_TEST_OBJS:.o=.dep) |
| 8605 | endif |
| 8606 | endif |
| 8607 | |
| 8608 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8609 | HTTPCLI_FORMAT_REQUEST_TEST_SRC = \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8610 | test/core/http/format_request_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8611 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8612 | 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] | 8613 | ifeq ($(NO_SECURE),true) |
| 8614 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8615 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8616 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8617 | $(BINDIR)/$(CONFIG)/httpcli_format_request_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8618 | |
| 8619 | else |
| 8620 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8621 | |
| 8622 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8623 | $(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] | 8624 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8625 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8626 | $(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] | 8627 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8628 | endif |
| 8629 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8630 | $(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] | 8631 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8632 | deps_httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8633 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8634 | ifneq ($(NO_SECURE),true) |
| 8635 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8636 | -include $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8637 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8638 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8639 | |
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 | HTTPCLI_TEST_SRC = \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8642 | test/core/http/httpcli_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8643 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8644 | HTTPCLI_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8645 | ifeq ($(NO_SECURE),true) |
| 8646 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8647 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8648 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8649 | $(BINDIR)/$(CONFIG)/httpcli_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8650 | |
| 8651 | else |
| 8652 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8653 | |
| 8654 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8655 | $(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] | 8656 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8657 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8658 | $(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] | 8659 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8660 | endif |
| 8661 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8662 | $(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] | 8663 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8664 | deps_httpcli_test: $(HTTPCLI_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8665 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8666 | ifneq ($(NO_SECURE),true) |
| 8667 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8668 | -include $(HTTPCLI_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8669 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8670 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8671 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8672 | |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 8673 | HTTPSCLI_TEST_SRC = \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8674 | test/core/http/httpscli_test.c \ |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 8675 | |
| 8676 | HTTPSCLI_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPSCLI_TEST_SRC)))) |
| 8677 | ifeq ($(NO_SECURE),true) |
| 8678 | |
| 8679 | # You can't build secure targets if you don't have OpenSSL. |
| 8680 | |
| 8681 | $(BINDIR)/$(CONFIG)/httpscli_test: openssl_dep_error |
| 8682 | |
| 8683 | else |
| 8684 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8685 | |
| 8686 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8687 | $(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] | 8688 | $(E) "[LD] Linking $@" |
| 8689 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8690 | $(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] | 8691 | |
| 8692 | endif |
| 8693 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8694 | $(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] | 8695 | |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 8696 | deps_httpscli_test: $(HTTPSCLI_TEST_OBJS:.o=.dep) |
| 8697 | |
| 8698 | ifneq ($(NO_SECURE),true) |
| 8699 | ifneq ($(NO_DEPS),true) |
| 8700 | -include $(HTTPSCLI_TEST_OBJS:.o=.dep) |
| 8701 | endif |
| 8702 | endif |
| 8703 | |
| 8704 | |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 8705 | INIT_TEST_SRC = \ |
| 8706 | test/core/surface/init_test.c \ |
| 8707 | |
| 8708 | INIT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INIT_TEST_SRC)))) |
| 8709 | ifeq ($(NO_SECURE),true) |
| 8710 | |
| 8711 | # You can't build secure targets if you don't have OpenSSL. |
| 8712 | |
| 8713 | $(BINDIR)/$(CONFIG)/init_test: openssl_dep_error |
| 8714 | |
| 8715 | else |
| 8716 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8717 | |
| 8718 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8719 | $(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] | 8720 | $(E) "[LD] Linking $@" |
| 8721 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8722 | $(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] | 8723 | |
| 8724 | endif |
| 8725 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8726 | $(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] | 8727 | |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 8728 | deps_init_test: $(INIT_TEST_OBJS:.o=.dep) |
| 8729 | |
| 8730 | ifneq ($(NO_SECURE),true) |
| 8731 | ifneq ($(NO_DEPS),true) |
| 8732 | -include $(INIT_TEST_OBJS:.o=.dep) |
| 8733 | endif |
| 8734 | endif |
| 8735 | |
| 8736 | |
Craig Tiller | 5cb7962 | 2016-03-15 14:46:54 -0700 | [diff] [blame] | 8737 | INTERNAL_API_CANARY_IOMGR_TEST_SRC = \ |
| 8738 | test/core/internal_api_canaries/iomgr.c \ |
| 8739 | |
| 8740 | INTERNAL_API_CANARY_IOMGR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTERNAL_API_CANARY_IOMGR_TEST_SRC)))) |
| 8741 | ifeq ($(NO_SECURE),true) |
| 8742 | |
| 8743 | # You can't build secure targets if you don't have OpenSSL. |
| 8744 | |
| 8745 | $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test: openssl_dep_error |
| 8746 | |
| 8747 | else |
| 8748 | |
| 8749 | |
| 8750 | |
| 8751 | $(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 |
| 8752 | $(E) "[LD] Linking $@" |
| 8753 | $(Q) mkdir -p `dirname $@` |
| 8754 | $(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 |
| 8755 | |
| 8756 | endif |
| 8757 | |
| 8758 | $(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 |
| 8759 | |
| 8760 | deps_internal_api_canary_iomgr_test: $(INTERNAL_API_CANARY_IOMGR_TEST_OBJS:.o=.dep) |
| 8761 | |
| 8762 | ifneq ($(NO_SECURE),true) |
| 8763 | ifneq ($(NO_DEPS),true) |
| 8764 | -include $(INTERNAL_API_CANARY_IOMGR_TEST_OBJS:.o=.dep) |
| 8765 | endif |
| 8766 | endif |
| 8767 | |
| 8768 | |
| 8769 | INTERNAL_API_CANARY_SUPPORT_TEST_SRC = \ |
| 8770 | test/core/internal_api_canaries/iomgr.c \ |
| 8771 | |
| 8772 | INTERNAL_API_CANARY_SUPPORT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTERNAL_API_CANARY_SUPPORT_TEST_SRC)))) |
| 8773 | ifeq ($(NO_SECURE),true) |
| 8774 | |
| 8775 | # You can't build secure targets if you don't have OpenSSL. |
| 8776 | |
| 8777 | $(BINDIR)/$(CONFIG)/internal_api_canary_support_test: openssl_dep_error |
| 8778 | |
| 8779 | else |
| 8780 | |
| 8781 | |
| 8782 | |
| 8783 | $(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 |
| 8784 | $(E) "[LD] Linking $@" |
| 8785 | $(Q) mkdir -p `dirname $@` |
| 8786 | $(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 |
| 8787 | |
| 8788 | endif |
| 8789 | |
| 8790 | $(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 |
| 8791 | |
| 8792 | deps_internal_api_canary_support_test: $(INTERNAL_API_CANARY_SUPPORT_TEST_OBJS:.o=.dep) |
| 8793 | |
| 8794 | ifneq ($(NO_SECURE),true) |
| 8795 | ifneq ($(NO_DEPS),true) |
| 8796 | -include $(INTERNAL_API_CANARY_SUPPORT_TEST_OBJS:.o=.dep) |
| 8797 | endif |
| 8798 | endif |
| 8799 | |
| 8800 | |
| 8801 | INTERNAL_API_CANARY_TRANSPORT_TEST_SRC = \ |
| 8802 | test/core/internal_api_canaries/iomgr.c \ |
| 8803 | |
| 8804 | INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTERNAL_API_CANARY_TRANSPORT_TEST_SRC)))) |
| 8805 | ifeq ($(NO_SECURE),true) |
| 8806 | |
| 8807 | # You can't build secure targets if you don't have OpenSSL. |
| 8808 | |
| 8809 | $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test: openssl_dep_error |
| 8810 | |
| 8811 | else |
| 8812 | |
| 8813 | |
| 8814 | |
| 8815 | $(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 |
| 8816 | $(E) "[LD] Linking $@" |
| 8817 | $(Q) mkdir -p `dirname $@` |
| 8818 | $(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 |
| 8819 | |
| 8820 | endif |
| 8821 | |
| 8822 | $(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 |
| 8823 | |
| 8824 | deps_internal_api_canary_transport_test: $(INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS:.o=.dep) |
| 8825 | |
| 8826 | ifneq ($(NO_SECURE),true) |
| 8827 | ifneq ($(NO_DEPS),true) |
| 8828 | -include $(INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS:.o=.dep) |
| 8829 | endif |
| 8830 | endif |
| 8831 | |
| 8832 | |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 8833 | INVALID_CALL_ARGUMENT_TEST_SRC = \ |
| 8834 | test/core/end2end/invalid_call_argument_test.c \ |
| 8835 | |
| 8836 | INVALID_CALL_ARGUMENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INVALID_CALL_ARGUMENT_TEST_SRC)))) |
| 8837 | ifeq ($(NO_SECURE),true) |
| 8838 | |
| 8839 | # You can't build secure targets if you don't have OpenSSL. |
| 8840 | |
| 8841 | $(BINDIR)/$(CONFIG)/invalid_call_argument_test: openssl_dep_error |
| 8842 | |
| 8843 | else |
| 8844 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8845 | |
| 8846 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8847 | $(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] | 8848 | $(E) "[LD] Linking $@" |
| 8849 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8850 | $(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] | 8851 | |
| 8852 | endif |
| 8853 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8854 | $(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] | 8855 | |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 8856 | deps_invalid_call_argument_test: $(INVALID_CALL_ARGUMENT_TEST_OBJS:.o=.dep) |
| 8857 | |
| 8858 | ifneq ($(NO_SECURE),true) |
| 8859 | ifneq ($(NO_DEPS),true) |
| 8860 | -include $(INVALID_CALL_ARGUMENT_TEST_OBJS:.o=.dep) |
| 8861 | endif |
| 8862 | endif |
| 8863 | |
| 8864 | |
Craig Tiller | 32173c5 | 2016-03-17 14:12:45 -0700 | [diff] [blame] | 8865 | JSON_FUZZER_TEST_SRC = \ |
| 8866 | test/core/json/fuzzer.c \ |
| 8867 | |
| 8868 | JSON_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_FUZZER_TEST_SRC)))) |
| 8869 | ifeq ($(NO_SECURE),true) |
| 8870 | |
| 8871 | # You can't build secure targets if you don't have OpenSSL. |
| 8872 | |
| 8873 | $(BINDIR)/$(CONFIG)/json_fuzzer_test: openssl_dep_error |
| 8874 | |
| 8875 | else |
| 8876 | |
| 8877 | |
| 8878 | |
| 8879 | $(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 |
| 8880 | $(E) "[LD] Linking $@" |
| 8881 | $(Q) mkdir -p `dirname $@` |
| 8882 | $(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 |
| 8883 | |
| 8884 | endif |
| 8885 | |
| 8886 | $(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 |
| 8887 | |
| 8888 | deps_json_fuzzer_test: $(JSON_FUZZER_TEST_OBJS:.o=.dep) |
| 8889 | |
| 8890 | ifneq ($(NO_SECURE),true) |
| 8891 | ifneq ($(NO_DEPS),true) |
| 8892 | -include $(JSON_FUZZER_TEST_OBJS:.o=.dep) |
| 8893 | endif |
| 8894 | endif |
| 8895 | |
| 8896 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8897 | JSON_REWRITE_SRC = \ |
| 8898 | test/core/json/json_rewrite.c \ |
| 8899 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8900 | JSON_REWRITE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_REWRITE_SRC)))) |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8901 | ifeq ($(NO_SECURE),true) |
| 8902 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8903 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8904 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8905 | $(BINDIR)/$(CONFIG)/json_rewrite: openssl_dep_error |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8906 | |
| 8907 | else |
| 8908 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8909 | |
| 8910 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8911 | $(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] | 8912 | $(E) "[LD] Linking $@" |
| 8913 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8914 | $(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] | 8915 | |
| 8916 | endif |
| 8917 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8918 | $(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] | 8919 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8920 | deps_json_rewrite: $(JSON_REWRITE_OBJS:.o=.dep) |
| 8921 | |
| 8922 | ifneq ($(NO_SECURE),true) |
| 8923 | ifneq ($(NO_DEPS),true) |
| 8924 | -include $(JSON_REWRITE_OBJS:.o=.dep) |
| 8925 | endif |
| 8926 | endif |
| 8927 | |
| 8928 | |
| 8929 | JSON_REWRITE_TEST_SRC = \ |
| 8930 | test/core/json/json_rewrite_test.c \ |
| 8931 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8932 | 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] | 8933 | ifeq ($(NO_SECURE),true) |
| 8934 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8935 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8936 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8937 | $(BINDIR)/$(CONFIG)/json_rewrite_test: openssl_dep_error |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8938 | |
| 8939 | else |
| 8940 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8941 | |
| 8942 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8943 | $(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] | 8944 | $(E) "[LD] Linking $@" |
| 8945 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8946 | $(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] | 8947 | |
| 8948 | endif |
| 8949 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8950 | $(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] | 8951 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8952 | deps_json_rewrite_test: $(JSON_REWRITE_TEST_OBJS:.o=.dep) |
| 8953 | |
| 8954 | ifneq ($(NO_SECURE),true) |
| 8955 | ifneq ($(NO_DEPS),true) |
| 8956 | -include $(JSON_REWRITE_TEST_OBJS:.o=.dep) |
| 8957 | endif |
| 8958 | endif |
| 8959 | |
| 8960 | |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 8961 | JSON_STREAM_ERROR_TEST_SRC = \ |
| 8962 | test/core/json/json_stream_error_test.c \ |
| 8963 | |
| 8964 | JSON_STREAM_ERROR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_STREAM_ERROR_TEST_SRC)))) |
| 8965 | ifeq ($(NO_SECURE),true) |
| 8966 | |
| 8967 | # You can't build secure targets if you don't have OpenSSL. |
| 8968 | |
| 8969 | $(BINDIR)/$(CONFIG)/json_stream_error_test: openssl_dep_error |
| 8970 | |
| 8971 | else |
| 8972 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8973 | |
| 8974 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8975 | $(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] | 8976 | $(E) "[LD] Linking $@" |
| 8977 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8978 | $(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] | 8979 | |
| 8980 | endif |
| 8981 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8982 | $(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] | 8983 | |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 8984 | deps_json_stream_error_test: $(JSON_STREAM_ERROR_TEST_OBJS:.o=.dep) |
| 8985 | |
| 8986 | ifneq ($(NO_SECURE),true) |
| 8987 | ifneq ($(NO_DEPS),true) |
| 8988 | -include $(JSON_STREAM_ERROR_TEST_OBJS:.o=.dep) |
| 8989 | endif |
| 8990 | endif |
| 8991 | |
| 8992 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8993 | JSON_TEST_SRC = \ |
| 8994 | test/core/json/json_test.c \ |
| 8995 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8996 | JSON_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_TEST_SRC)))) |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8997 | ifeq ($(NO_SECURE),true) |
| 8998 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8999 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9000 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9001 | $(BINDIR)/$(CONFIG)/json_test: openssl_dep_error |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9002 | |
| 9003 | else |
| 9004 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9005 | |
| 9006 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9007 | $(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] | 9008 | $(E) "[LD] Linking $@" |
| 9009 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9010 | $(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] | 9011 | |
| 9012 | endif |
| 9013 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9014 | $(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] | 9015 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 9016 | deps_json_test: $(JSON_TEST_OBJS:.o=.dep) |
| 9017 | |
| 9018 | ifneq ($(NO_SECURE),true) |
| 9019 | ifneq ($(NO_DEPS),true) |
| 9020 | -include $(JSON_TEST_OBJS:.o=.dep) |
| 9021 | endif |
| 9022 | endif |
| 9023 | |
| 9024 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9025 | LAME_CLIENT_TEST_SRC = \ |
| 9026 | test/core/surface/lame_client_test.c \ |
| 9027 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9028 | 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] | 9029 | ifeq ($(NO_SECURE),true) |
| 9030 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9031 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9032 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9033 | $(BINDIR)/$(CONFIG)/lame_client_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9034 | |
| 9035 | else |
| 9036 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9037 | |
| 9038 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9039 | $(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] | 9040 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 9041 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9042 | $(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] | 9043 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9044 | endif |
| 9045 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9046 | $(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] | 9047 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 9048 | deps_lame_client_test: $(LAME_CLIENT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9049 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9050 | ifneq ($(NO_SECURE),true) |
| 9051 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 9052 | -include $(LAME_CLIENT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9053 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9054 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9055 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9056 | |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 9057 | LB_POLICIES_TEST_SRC = \ |
| 9058 | test/core/client_config/lb_policies_test.c \ |
| 9059 | |
| 9060 | LB_POLICIES_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LB_POLICIES_TEST_SRC)))) |
| 9061 | ifeq ($(NO_SECURE),true) |
| 9062 | |
| 9063 | # You can't build secure targets if you don't have OpenSSL. |
| 9064 | |
| 9065 | $(BINDIR)/$(CONFIG)/lb_policies_test: openssl_dep_error |
| 9066 | |
| 9067 | else |
| 9068 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9069 | |
| 9070 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9071 | $(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] | 9072 | $(E) "[LD] Linking $@" |
| 9073 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9074 | $(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] | 9075 | |
| 9076 | endif |
| 9077 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9078 | $(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] | 9079 | |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 9080 | deps_lb_policies_test: $(LB_POLICIES_TEST_OBJS:.o=.dep) |
| 9081 | |
| 9082 | ifneq ($(NO_SECURE),true) |
| 9083 | ifneq ($(NO_DEPS),true) |
| 9084 | -include $(LB_POLICIES_TEST_OBJS:.o=.dep) |
| 9085 | endif |
| 9086 | endif |
| 9087 | |
| 9088 | |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 9089 | LOAD_FILE_TEST_SRC = \ |
| 9090 | test/core/iomgr/load_file_test.c \ |
| 9091 | |
| 9092 | LOAD_FILE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LOAD_FILE_TEST_SRC)))) |
| 9093 | ifeq ($(NO_SECURE),true) |
| 9094 | |
| 9095 | # You can't build secure targets if you don't have OpenSSL. |
| 9096 | |
| 9097 | $(BINDIR)/$(CONFIG)/load_file_test: openssl_dep_error |
| 9098 | |
| 9099 | else |
| 9100 | |
| 9101 | |
| 9102 | |
| 9103 | $(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 |
| 9104 | $(E) "[LD] Linking $@" |
| 9105 | $(Q) mkdir -p `dirname $@` |
| 9106 | $(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 |
| 9107 | |
| 9108 | endif |
| 9109 | |
| 9110 | $(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 |
| 9111 | |
| 9112 | deps_load_file_test: $(LOAD_FILE_TEST_OBJS:.o=.dep) |
| 9113 | |
| 9114 | ifneq ($(NO_SECURE),true) |
| 9115 | ifneq ($(NO_DEPS),true) |
| 9116 | -include $(LOAD_FILE_TEST_OBJS:.o=.dep) |
| 9117 | endif |
| 9118 | endif |
| 9119 | |
| 9120 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9121 | LOW_LEVEL_PING_PONG_BENCHMARK_SRC = \ |
| 9122 | test/core/network_benchmarks/low_level_ping_pong.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9123 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9124 | 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] | 9125 | ifeq ($(NO_SECURE),true) |
| 9126 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9127 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9128 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9129 | $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9130 | |
| 9131 | else |
| 9132 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9133 | |
| 9134 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9135 | $(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] | 9136 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 9137 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9138 | $(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] | 9139 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9140 | endif |
| 9141 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9142 | $(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] | 9143 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9144 | 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] | 9145 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9146 | ifneq ($(NO_SECURE),true) |
| 9147 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9148 | -include $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9149 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9150 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9151 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9152 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9153 | MESSAGE_COMPRESS_TEST_SRC = \ |
| 9154 | test/core/compression/message_compress_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9155 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9156 | 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] | 9157 | ifeq ($(NO_SECURE),true) |
| 9158 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9159 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9160 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9161 | $(BINDIR)/$(CONFIG)/message_compress_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9162 | |
| 9163 | else |
| 9164 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9165 | |
| 9166 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9167 | $(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] | 9168 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 9169 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9170 | $(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] | 9171 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9172 | endif |
| 9173 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9174 | $(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] | 9175 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9176 | deps_message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9177 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9178 | ifneq ($(NO_SECURE),true) |
| 9179 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9180 | -include $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9181 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9182 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9183 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 9184 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 9185 | MLOG_TEST_SRC = \ |
| 9186 | test/core/census/mlog_test.c \ |
| 9187 | |
| 9188 | MLOG_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MLOG_TEST_SRC)))) |
| 9189 | ifeq ($(NO_SECURE),true) |
| 9190 | |
| 9191 | # You can't build secure targets if you don't have OpenSSL. |
| 9192 | |
| 9193 | $(BINDIR)/$(CONFIG)/mlog_test: openssl_dep_error |
| 9194 | |
| 9195 | else |
| 9196 | |
| 9197 | |
| 9198 | |
| 9199 | $(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 |
| 9200 | $(E) "[LD] Linking $@" |
| 9201 | $(Q) mkdir -p `dirname $@` |
| 9202 | $(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 |
| 9203 | |
| 9204 | endif |
| 9205 | |
| 9206 | $(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 |
| 9207 | |
| 9208 | deps_mlog_test: $(MLOG_TEST_OBJS:.o=.dep) |
| 9209 | |
| 9210 | ifneq ($(NO_SECURE),true) |
| 9211 | ifneq ($(NO_DEPS),true) |
| 9212 | -include $(MLOG_TEST_OBJS:.o=.dep) |
| 9213 | endif |
| 9214 | endif |
| 9215 | |
| 9216 | |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9217 | MULTIPLE_SERVER_QUEUES_TEST_SRC = \ |
| 9218 | test/core/end2end/multiple_server_queues_test.c \ |
| 9219 | |
| 9220 | MULTIPLE_SERVER_QUEUES_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MULTIPLE_SERVER_QUEUES_TEST_SRC)))) |
| 9221 | ifeq ($(NO_SECURE),true) |
| 9222 | |
Craig Tiller | 8ebc34d | 2015-07-08 07:46:04 -0700 | [diff] [blame] | 9223 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9224 | |
| 9225 | $(BINDIR)/$(CONFIG)/multiple_server_queues_test: openssl_dep_error |
| 9226 | |
| 9227 | else |
| 9228 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9229 | |
| 9230 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9231 | $(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] | 9232 | $(E) "[LD] Linking $@" |
| 9233 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9234 | $(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] | 9235 | |
| 9236 | endif |
| 9237 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9238 | $(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] | 9239 | |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9240 | deps_multiple_server_queues_test: $(MULTIPLE_SERVER_QUEUES_TEST_OBJS:.o=.dep) |
| 9241 | |
| 9242 | ifneq ($(NO_SECURE),true) |
| 9243 | ifneq ($(NO_DEPS),true) |
| 9244 | -include $(MULTIPLE_SERVER_QUEUES_TEST_OBJS:.o=.dep) |
| 9245 | endif |
| 9246 | endif |
| 9247 | |
| 9248 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9249 | MURMUR_HASH_TEST_SRC = \ |
| 9250 | test/core/support/murmur_hash_test.c \ |
| 9251 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9252 | 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] | 9253 | ifeq ($(NO_SECURE),true) |
| 9254 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9255 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9256 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9257 | $(BINDIR)/$(CONFIG)/murmur_hash_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9258 | |
| 9259 | else |
| 9260 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9261 | |
| 9262 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9263 | $(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] | 9264 | $(E) "[LD] Linking $@" |
| 9265 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9266 | $(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] | 9267 | |
| 9268 | endif |
| 9269 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9270 | $(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] | 9271 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9272 | deps_murmur_hash_test: $(MURMUR_HASH_TEST_OBJS:.o=.dep) |
| 9273 | |
| 9274 | ifneq ($(NO_SECURE),true) |
| 9275 | ifneq ($(NO_DEPS),true) |
| 9276 | -include $(MURMUR_HASH_TEST_OBJS:.o=.dep) |
| 9277 | endif |
| 9278 | endif |
| 9279 | |
| 9280 | |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 9281 | NANOPB_FUZZER_RESPONSE_TEST_SRC = \ |
| 9282 | test/core/nanopb/fuzzer_response.c \ |
| 9283 | |
| 9284 | NANOPB_FUZZER_RESPONSE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_RESPONSE_TEST_SRC)))) |
| 9285 | ifeq ($(NO_SECURE),true) |
| 9286 | |
| 9287 | # You can't build secure targets if you don't have OpenSSL. |
| 9288 | |
| 9289 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test: openssl_dep_error |
| 9290 | |
| 9291 | else |
| 9292 | |
| 9293 | |
| 9294 | |
| 9295 | $(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 |
| 9296 | $(E) "[LD] Linking $@" |
| 9297 | $(Q) mkdir -p `dirname $@` |
| 9298 | $(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 |
| 9299 | |
| 9300 | endif |
| 9301 | |
| 9302 | $(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 |
| 9303 | |
| 9304 | deps_nanopb_fuzzer_response_test: $(NANOPB_FUZZER_RESPONSE_TEST_OBJS:.o=.dep) |
| 9305 | |
| 9306 | ifneq ($(NO_SECURE),true) |
| 9307 | ifneq ($(NO_DEPS),true) |
| 9308 | -include $(NANOPB_FUZZER_RESPONSE_TEST_OBJS:.o=.dep) |
| 9309 | endif |
| 9310 | endif |
| 9311 | |
| 9312 | |
| 9313 | NANOPB_FUZZER_SERVERLIST_TEST_SRC = \ |
| 9314 | test/core/nanopb/fuzzer_serverlist.c \ |
| 9315 | |
| 9316 | NANOPB_FUZZER_SERVERLIST_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_SERVERLIST_TEST_SRC)))) |
| 9317 | ifeq ($(NO_SECURE),true) |
| 9318 | |
| 9319 | # You can't build secure targets if you don't have OpenSSL. |
| 9320 | |
| 9321 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test: openssl_dep_error |
| 9322 | |
| 9323 | else |
| 9324 | |
| 9325 | |
| 9326 | |
| 9327 | $(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 |
| 9328 | $(E) "[LD] Linking $@" |
| 9329 | $(Q) mkdir -p `dirname $@` |
| 9330 | $(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 |
| 9331 | |
| 9332 | endif |
| 9333 | |
| 9334 | $(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 |
| 9335 | |
| 9336 | deps_nanopb_fuzzer_serverlist_test: $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS:.o=.dep) |
| 9337 | |
| 9338 | ifneq ($(NO_SECURE),true) |
| 9339 | ifneq ($(NO_DEPS),true) |
| 9340 | -include $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS:.o=.dep) |
| 9341 | endif |
| 9342 | endif |
| 9343 | |
| 9344 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9345 | NO_SERVER_TEST_SRC = \ |
| 9346 | test/core/end2end/no_server_test.c \ |
| 9347 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9348 | 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] | 9349 | ifeq ($(NO_SECURE),true) |
| 9350 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9351 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9352 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9353 | $(BINDIR)/$(CONFIG)/no_server_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9354 | |
| 9355 | else |
| 9356 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9357 | |
| 9358 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9359 | $(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] | 9360 | $(E) "[LD] Linking $@" |
| 9361 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9362 | $(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] | 9363 | |
| 9364 | endif |
| 9365 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9366 | $(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] | 9367 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9368 | deps_no_server_test: $(NO_SERVER_TEST_OBJS:.o=.dep) |
| 9369 | |
| 9370 | ifneq ($(NO_SECURE),true) |
| 9371 | ifneq ($(NO_DEPS),true) |
| 9372 | -include $(NO_SERVER_TEST_OBJS:.o=.dep) |
| 9373 | endif |
| 9374 | endif |
| 9375 | |
| 9376 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9377 | RESOLVE_ADDRESS_TEST_SRC = \ |
| 9378 | test/core/iomgr/resolve_address_test.c \ |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9379 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9380 | 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] | 9381 | ifeq ($(NO_SECURE),true) |
| 9382 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9383 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9384 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9385 | $(BINDIR)/$(CONFIG)/resolve_address_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9386 | |
| 9387 | else |
| 9388 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9389 | |
| 9390 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9391 | $(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] | 9392 | $(E) "[LD] Linking $@" |
| 9393 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9394 | $(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] | 9395 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9396 | endif |
| 9397 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9398 | $(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] | 9399 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9400 | deps_resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9401 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9402 | ifneq ($(NO_SECURE),true) |
| 9403 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9404 | -include $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9405 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9406 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9407 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9408 | |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 9409 | SECURE_CHANNEL_CREATE_TEST_SRC = \ |
| 9410 | test/core/surface/secure_channel_create_test.c \ |
| 9411 | |
| 9412 | SECURE_CHANNEL_CREATE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_CHANNEL_CREATE_TEST_SRC)))) |
| 9413 | ifeq ($(NO_SECURE),true) |
| 9414 | |
| 9415 | # You can't build secure targets if you don't have OpenSSL. |
| 9416 | |
| 9417 | $(BINDIR)/$(CONFIG)/secure_channel_create_test: openssl_dep_error |
| 9418 | |
| 9419 | else |
| 9420 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9421 | |
| 9422 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9423 | $(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] | 9424 | $(E) "[LD] Linking $@" |
| 9425 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9426 | $(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] | 9427 | |
| 9428 | endif |
| 9429 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9430 | $(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] | 9431 | |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 9432 | deps_secure_channel_create_test: $(SECURE_CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 9433 | |
| 9434 | ifneq ($(NO_SECURE),true) |
| 9435 | ifneq ($(NO_DEPS),true) |
| 9436 | -include $(SECURE_CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 9437 | endif |
| 9438 | endif |
| 9439 | |
| 9440 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9441 | SECURE_ENDPOINT_TEST_SRC = \ |
| 9442 | test/core/security/secure_endpoint_test.c \ |
| 9443 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9444 | 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] | 9445 | ifeq ($(NO_SECURE),true) |
| 9446 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9447 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9448 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9449 | $(BINDIR)/$(CONFIG)/secure_endpoint_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9450 | |
| 9451 | else |
| 9452 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9453 | |
| 9454 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9455 | $(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] | 9456 | $(E) "[LD] Linking $@" |
| 9457 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9458 | $(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] | 9459 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9460 | endif |
| 9461 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9462 | $(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] | 9463 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9464 | deps_secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9465 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9466 | ifneq ($(NO_SECURE),true) |
| 9467 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9468 | -include $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9469 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9470 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9471 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9472 | |
Craig Tiller | dbaf05e | 2016-06-12 22:16:56 -0700 | [diff] [blame] | 9473 | SEQUENTIAL_CONNECTIVITY_TEST_SRC = \ |
| 9474 | test/core/surface/sequential_connectivity_test.c \ |
| 9475 | |
| 9476 | SEQUENTIAL_CONNECTIVITY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SEQUENTIAL_CONNECTIVITY_TEST_SRC)))) |
| 9477 | ifeq ($(NO_SECURE),true) |
| 9478 | |
| 9479 | # You can't build secure targets if you don't have OpenSSL. |
| 9480 | |
| 9481 | $(BINDIR)/$(CONFIG)/sequential_connectivity_test: openssl_dep_error |
| 9482 | |
| 9483 | else |
| 9484 | |
| 9485 | |
| 9486 | |
| 9487 | $(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 |
| 9488 | $(E) "[LD] Linking $@" |
| 9489 | $(Q) mkdir -p `dirname $@` |
| 9490 | $(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 |
| 9491 | |
| 9492 | endif |
| 9493 | |
| 9494 | $(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 |
| 9495 | |
| 9496 | deps_sequential_connectivity_test: $(SEQUENTIAL_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 9497 | |
| 9498 | ifneq ($(NO_SECURE),true) |
| 9499 | ifneq ($(NO_DEPS),true) |
| 9500 | -include $(SEQUENTIAL_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 9501 | endif |
| 9502 | endif |
| 9503 | |
| 9504 | |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 9505 | SERVER_CHTTP2_TEST_SRC = \ |
| 9506 | test/core/surface/server_chttp2_test.c \ |
| 9507 | |
| 9508 | SERVER_CHTTP2_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_CHTTP2_TEST_SRC)))) |
| 9509 | ifeq ($(NO_SECURE),true) |
| 9510 | |
| 9511 | # You can't build secure targets if you don't have OpenSSL. |
| 9512 | |
| 9513 | $(BINDIR)/$(CONFIG)/server_chttp2_test: openssl_dep_error |
| 9514 | |
| 9515 | else |
| 9516 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9517 | |
| 9518 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9519 | $(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] | 9520 | $(E) "[LD] Linking $@" |
| 9521 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9522 | $(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] | 9523 | |
| 9524 | endif |
| 9525 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9526 | $(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] | 9527 | |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 9528 | deps_server_chttp2_test: $(SERVER_CHTTP2_TEST_OBJS:.o=.dep) |
| 9529 | |
| 9530 | ifneq ($(NO_SECURE),true) |
| 9531 | ifneq ($(NO_DEPS),true) |
| 9532 | -include $(SERVER_CHTTP2_TEST_OBJS:.o=.dep) |
| 9533 | endif |
| 9534 | endif |
| 9535 | |
| 9536 | |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 9537 | SERVER_FUZZER_SRC = \ |
| 9538 | test/core/end2end/fuzzers/server_fuzzer.c \ |
| 9539 | |
| 9540 | SERVER_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_FUZZER_SRC)))) |
| 9541 | ifeq ($(NO_SECURE),true) |
| 9542 | |
| 9543 | # You can't build secure targets if you don't have OpenSSL. |
| 9544 | |
| 9545 | $(BINDIR)/$(CONFIG)/server_fuzzer: openssl_dep_error |
| 9546 | |
| 9547 | else |
| 9548 | |
| 9549 | |
| 9550 | |
| 9551 | $(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 |
| 9552 | $(E) "[LD] Linking $@" |
| 9553 | $(Q) mkdir -p `dirname $@` |
| 9554 | $(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 |
| 9555 | |
| 9556 | endif |
| 9557 | |
| 9558 | $(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 |
| 9559 | |
| 9560 | deps_server_fuzzer: $(SERVER_FUZZER_OBJS:.o=.dep) |
| 9561 | |
| 9562 | ifneq ($(NO_SECURE),true) |
| 9563 | ifneq ($(NO_DEPS),true) |
| 9564 | -include $(SERVER_FUZZER_OBJS:.o=.dep) |
| 9565 | endif |
| 9566 | endif |
| 9567 | |
| 9568 | |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 9569 | SERVER_TEST_SRC = \ |
| 9570 | test/core/surface/server_test.c \ |
| 9571 | |
| 9572 | SERVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_TEST_SRC)))) |
| 9573 | ifeq ($(NO_SECURE),true) |
| 9574 | |
| 9575 | # You can't build secure targets if you don't have OpenSSL. |
| 9576 | |
| 9577 | $(BINDIR)/$(CONFIG)/server_test: openssl_dep_error |
| 9578 | |
| 9579 | else |
| 9580 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9581 | |
| 9582 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9583 | $(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] | 9584 | $(E) "[LD] Linking $@" |
| 9585 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9586 | $(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] | 9587 | |
| 9588 | endif |
| 9589 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9590 | $(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] | 9591 | |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 9592 | deps_server_test: $(SERVER_TEST_OBJS:.o=.dep) |
| 9593 | |
| 9594 | ifneq ($(NO_SECURE),true) |
| 9595 | ifneq ($(NO_DEPS),true) |
| 9596 | -include $(SERVER_TEST_OBJS:.o=.dep) |
| 9597 | endif |
| 9598 | endif |
| 9599 | |
| 9600 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 9601 | SET_INITIAL_CONNECT_STRING_TEST_SRC = \ |
| 9602 | test/core/client_config/set_initial_connect_string_test.c \ |
| 9603 | |
| 9604 | SET_INITIAL_CONNECT_STRING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SET_INITIAL_CONNECT_STRING_TEST_SRC)))) |
| 9605 | ifeq ($(NO_SECURE),true) |
| 9606 | |
| 9607 | # You can't build secure targets if you don't have OpenSSL. |
| 9608 | |
| 9609 | $(BINDIR)/$(CONFIG)/set_initial_connect_string_test: openssl_dep_error |
| 9610 | |
| 9611 | else |
| 9612 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9613 | |
| 9614 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9615 | $(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] | 9616 | $(E) "[LD] Linking $@" |
| 9617 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9618 | $(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] | 9619 | |
| 9620 | endif |
| 9621 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9622 | $(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] | 9623 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 9624 | deps_set_initial_connect_string_test: $(SET_INITIAL_CONNECT_STRING_TEST_OBJS:.o=.dep) |
| 9625 | |
| 9626 | ifneq ($(NO_SECURE),true) |
| 9627 | ifneq ($(NO_DEPS),true) |
| 9628 | -include $(SET_INITIAL_CONNECT_STRING_TEST_OBJS:.o=.dep) |
| 9629 | endif |
| 9630 | endif |
| 9631 | |
| 9632 | |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 9633 | SOCKADDR_RESOLVER_TEST_SRC = \ |
| 9634 | test/core/client_config/resolvers/sockaddr_resolver_test.c \ |
| 9635 | |
| 9636 | SOCKADDR_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKADDR_RESOLVER_TEST_SRC)))) |
| 9637 | ifeq ($(NO_SECURE),true) |
| 9638 | |
| 9639 | # You can't build secure targets if you don't have OpenSSL. |
| 9640 | |
| 9641 | $(BINDIR)/$(CONFIG)/sockaddr_resolver_test: openssl_dep_error |
| 9642 | |
| 9643 | else |
| 9644 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9645 | |
| 9646 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9647 | $(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] | 9648 | $(E) "[LD] Linking $@" |
| 9649 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9650 | $(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] | 9651 | |
| 9652 | endif |
| 9653 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9654 | $(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] | 9655 | |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 9656 | deps_sockaddr_resolver_test: $(SOCKADDR_RESOLVER_TEST_OBJS:.o=.dep) |
| 9657 | |
| 9658 | ifneq ($(NO_SECURE),true) |
| 9659 | ifneq ($(NO_DEPS),true) |
| 9660 | -include $(SOCKADDR_RESOLVER_TEST_OBJS:.o=.dep) |
| 9661 | endif |
| 9662 | endif |
| 9663 | |
| 9664 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9665 | SOCKADDR_UTILS_TEST_SRC = \ |
| 9666 | test/core/iomgr/sockaddr_utils_test.c \ |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9667 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9668 | 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] | 9669 | ifeq ($(NO_SECURE),true) |
| 9670 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9671 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9672 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9673 | $(BINDIR)/$(CONFIG)/sockaddr_utils_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9674 | |
| 9675 | else |
| 9676 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9677 | |
| 9678 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9679 | $(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] | 9680 | $(E) "[LD] Linking $@" |
| 9681 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9682 | $(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] | 9683 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9684 | endif |
| 9685 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9686 | $(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] | 9687 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9688 | deps_sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9689 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9690 | ifneq ($(NO_SECURE),true) |
| 9691 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9692 | -include $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9693 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9694 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9695 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9696 | |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 9697 | SOCKET_UTILS_TEST_SRC = \ |
| 9698 | test/core/iomgr/socket_utils_test.c \ |
| 9699 | |
| 9700 | SOCKET_UTILS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKET_UTILS_TEST_SRC)))) |
| 9701 | ifeq ($(NO_SECURE),true) |
| 9702 | |
| 9703 | # You can't build secure targets if you don't have OpenSSL. |
| 9704 | |
| 9705 | $(BINDIR)/$(CONFIG)/socket_utils_test: openssl_dep_error |
| 9706 | |
| 9707 | else |
| 9708 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9709 | |
| 9710 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9711 | $(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] | 9712 | $(E) "[LD] Linking $@" |
| 9713 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9714 | $(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] | 9715 | |
| 9716 | endif |
| 9717 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9718 | $(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] | 9719 | |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 9720 | deps_socket_utils_test: $(SOCKET_UTILS_TEST_OBJS:.o=.dep) |
| 9721 | |
| 9722 | ifneq ($(NO_SECURE),true) |
| 9723 | ifneq ($(NO_DEPS),true) |
| 9724 | -include $(SOCKET_UTILS_TEST_OBJS:.o=.dep) |
| 9725 | endif |
| 9726 | endif |
| 9727 | |
| 9728 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9729 | TCP_CLIENT_POSIX_TEST_SRC = \ |
| 9730 | test/core/iomgr/tcp_client_posix_test.c \ |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9731 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9732 | 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] | 9733 | ifeq ($(NO_SECURE),true) |
| 9734 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9735 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9736 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9737 | $(BINDIR)/$(CONFIG)/tcp_client_posix_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9738 | |
| 9739 | else |
| 9740 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9741 | |
| 9742 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9743 | $(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] | 9744 | $(E) "[LD] Linking $@" |
| 9745 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9746 | $(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] | 9747 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9748 | endif |
| 9749 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9750 | $(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] | 9751 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9752 | deps_tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9753 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9754 | ifneq ($(NO_SECURE),true) |
| 9755 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9756 | -include $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9757 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9758 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9759 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9760 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9761 | TCP_POSIX_TEST_SRC = \ |
| 9762 | test/core/iomgr/tcp_posix_test.c \ |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9763 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9764 | 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] | 9765 | ifeq ($(NO_SECURE),true) |
| 9766 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9767 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9768 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9769 | $(BINDIR)/$(CONFIG)/tcp_posix_test: openssl_dep_error |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9770 | |
| 9771 | else |
| 9772 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9773 | |
| 9774 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9775 | $(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] | 9776 | $(E) "[LD] Linking $@" |
| 9777 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9778 | $(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] | 9779 | |
| 9780 | endif |
| 9781 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9782 | $(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] | 9783 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9784 | deps_tcp_posix_test: $(TCP_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9785 | |
| 9786 | ifneq ($(NO_SECURE),true) |
| 9787 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9788 | -include $(TCP_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9789 | endif |
| 9790 | endif |
| 9791 | |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9792 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9793 | TCP_SERVER_POSIX_TEST_SRC = \ |
| 9794 | test/core/iomgr/tcp_server_posix_test.c \ |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9795 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9796 | 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] | 9797 | ifeq ($(NO_SECURE),true) |
| 9798 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9799 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9800 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9801 | $(BINDIR)/$(CONFIG)/tcp_server_posix_test: openssl_dep_error |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9802 | |
| 9803 | else |
| 9804 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9805 | |
| 9806 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9807 | $(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] | 9808 | $(E) "[LD] Linking $@" |
| 9809 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9810 | $(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] | 9811 | |
| 9812 | endif |
| 9813 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9814 | $(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] | 9815 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9816 | deps_tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9817 | |
| 9818 | ifneq ($(NO_SECURE),true) |
| 9819 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9820 | -include $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep) |
| 9821 | endif |
| 9822 | endif |
| 9823 | |
| 9824 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9825 | TIME_AVERAGED_STATS_TEST_SRC = \ |
| 9826 | test/core/iomgr/time_averaged_stats_test.c \ |
| 9827 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9828 | 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] | 9829 | ifeq ($(NO_SECURE),true) |
| 9830 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9831 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9832 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9833 | $(BINDIR)/$(CONFIG)/time_averaged_stats_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9834 | |
| 9835 | else |
| 9836 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9837 | |
| 9838 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9839 | $(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] | 9840 | $(E) "[LD] Linking $@" |
| 9841 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9842 | $(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] | 9843 | |
| 9844 | endif |
| 9845 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9846 | $(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] | 9847 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9848 | deps_time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep) |
| 9849 | |
| 9850 | ifneq ($(NO_SECURE),true) |
| 9851 | ifneq ($(NO_DEPS),true) |
| 9852 | -include $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9853 | endif |
| 9854 | endif |
| 9855 | |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9856 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9857 | TIMEOUT_ENCODING_TEST_SRC = \ |
| 9858 | test/core/transport/chttp2/timeout_encoding_test.c \ |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 9859 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9860 | 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] | 9861 | ifeq ($(NO_SECURE),true) |
| 9862 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9863 | # You can't build secure targets if you don't have OpenSSL. |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 9864 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9865 | $(BINDIR)/$(CONFIG)/timeout_encoding_test: openssl_dep_error |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 9866 | |
| 9867 | else |
| 9868 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9869 | |
| 9870 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9871 | $(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] | 9872 | $(E) "[LD] Linking $@" |
| 9873 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9874 | $(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] | 9875 | |
| 9876 | endif |
| 9877 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9878 | $(OBJDIR)/$(CONFIG)/test/core/transport/chttp2/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] | 9879 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9880 | deps_timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep) |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 9881 | |
| 9882 | ifneq ($(NO_SECURE),true) |
| 9883 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9884 | -include $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep) |
| 9885 | endif |
| 9886 | endif |
| 9887 | |
| 9888 | |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 9889 | TIMER_HEAP_TEST_SRC = \ |
| 9890 | test/core/iomgr/timer_heap_test.c \ |
| 9891 | |
| 9892 | TIMER_HEAP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMER_HEAP_TEST_SRC)))) |
| 9893 | ifeq ($(NO_SECURE),true) |
| 9894 | |
| 9895 | # You can't build secure targets if you don't have OpenSSL. |
| 9896 | |
| 9897 | $(BINDIR)/$(CONFIG)/timer_heap_test: openssl_dep_error |
| 9898 | |
| 9899 | else |
| 9900 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9901 | |
| 9902 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9903 | $(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] | 9904 | $(E) "[LD] Linking $@" |
| 9905 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9906 | $(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] | 9907 | |
| 9908 | endif |
| 9909 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9910 | $(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] | 9911 | |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 9912 | deps_timer_heap_test: $(TIMER_HEAP_TEST_OBJS:.o=.dep) |
| 9913 | |
| 9914 | ifneq ($(NO_SECURE),true) |
| 9915 | ifneq ($(NO_DEPS),true) |
| 9916 | -include $(TIMER_HEAP_TEST_OBJS:.o=.dep) |
| 9917 | endif |
| 9918 | endif |
| 9919 | |
| 9920 | |
| 9921 | TIMER_LIST_TEST_SRC = \ |
| 9922 | test/core/iomgr/timer_list_test.c \ |
| 9923 | |
| 9924 | TIMER_LIST_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMER_LIST_TEST_SRC)))) |
| 9925 | ifeq ($(NO_SECURE),true) |
| 9926 | |
| 9927 | # You can't build secure targets if you don't have OpenSSL. |
| 9928 | |
| 9929 | $(BINDIR)/$(CONFIG)/timer_list_test: openssl_dep_error |
| 9930 | |
| 9931 | else |
| 9932 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9933 | |
| 9934 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9935 | $(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] | 9936 | $(E) "[LD] Linking $@" |
| 9937 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9938 | $(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] | 9939 | |
| 9940 | endif |
| 9941 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9942 | $(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] | 9943 | |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 9944 | deps_timer_list_test: $(TIMER_LIST_TEST_OBJS:.o=.dep) |
| 9945 | |
| 9946 | ifneq ($(NO_SECURE),true) |
| 9947 | ifneq ($(NO_DEPS),true) |
| 9948 | -include $(TIMER_LIST_TEST_OBJS:.o=.dep) |
| 9949 | endif |
| 9950 | endif |
| 9951 | |
| 9952 | |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 9953 | TRANSPORT_CONNECTIVITY_STATE_TEST_SRC = \ |
| 9954 | test/core/transport/connectivity_state_test.c \ |
| 9955 | |
| 9956 | TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_CONNECTIVITY_STATE_TEST_SRC)))) |
| 9957 | ifeq ($(NO_SECURE),true) |
| 9958 | |
| 9959 | # You can't build secure targets if you don't have OpenSSL. |
| 9960 | |
| 9961 | $(BINDIR)/$(CONFIG)/transport_connectivity_state_test: openssl_dep_error |
| 9962 | |
| 9963 | else |
| 9964 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9965 | |
| 9966 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9967 | $(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] | 9968 | $(E) "[LD] Linking $@" |
| 9969 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9970 | $(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] | 9971 | |
| 9972 | endif |
| 9973 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9974 | $(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] | 9975 | |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 9976 | deps_transport_connectivity_state_test: $(TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS:.o=.dep) |
| 9977 | |
| 9978 | ifneq ($(NO_SECURE),true) |
| 9979 | ifneq ($(NO_DEPS),true) |
| 9980 | -include $(TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS:.o=.dep) |
| 9981 | endif |
| 9982 | endif |
| 9983 | |
| 9984 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9985 | TRANSPORT_METADATA_TEST_SRC = \ |
| 9986 | test/core/transport/metadata_test.c \ |
| 9987 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9988 | 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] | 9989 | ifeq ($(NO_SECURE),true) |
| 9990 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9991 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9992 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9993 | $(BINDIR)/$(CONFIG)/transport_metadata_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9994 | |
| 9995 | else |
| 9996 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9997 | |
| 9998 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9999 | $(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] | 10000 | $(E) "[LD] Linking $@" |
| 10001 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10002 | $(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] | 10003 | |
| 10004 | endif |
| 10005 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10006 | $(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] | 10007 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 10008 | deps_transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep) |
| 10009 | |
| 10010 | ifneq ($(NO_SECURE),true) |
| 10011 | ifneq ($(NO_DEPS),true) |
| 10012 | -include $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep) |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 10013 | endif |
| 10014 | endif |
| 10015 | |
| 10016 | |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 10017 | TRANSPORT_SECURITY_TEST_SRC = \ |
| 10018 | test/core/tsi/transport_security_test.c \ |
| 10019 | |
| 10020 | 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] | 10021 | ifeq ($(NO_SECURE),true) |
| 10022 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10023 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 10024 | |
| 10025 | $(BINDIR)/$(CONFIG)/transport_security_test: openssl_dep_error |
| 10026 | |
| 10027 | else |
| 10028 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10029 | |
| 10030 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10031 | $(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] | 10032 | $(E) "[LD] Linking $@" |
| 10033 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10034 | $(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] | 10035 | |
| 10036 | endif |
| 10037 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10038 | $(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] | 10039 | |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 10040 | deps_transport_security_test: $(TRANSPORT_SECURITY_TEST_OBJS:.o=.dep) |
| 10041 | |
| 10042 | ifneq ($(NO_SECURE),true) |
| 10043 | ifneq ($(NO_DEPS),true) |
| 10044 | -include $(TRANSPORT_SECURITY_TEST_OBJS:.o=.dep) |
| 10045 | endif |
| 10046 | endif |
| 10047 | |
| 10048 | |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 10049 | UDP_SERVER_TEST_SRC = \ |
| 10050 | test/core/iomgr/udp_server_test.c \ |
| 10051 | |
| 10052 | UDP_SERVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(UDP_SERVER_TEST_SRC)))) |
| 10053 | ifeq ($(NO_SECURE),true) |
| 10054 | |
| 10055 | # You can't build secure targets if you don't have OpenSSL. |
| 10056 | |
| 10057 | $(BINDIR)/$(CONFIG)/udp_server_test: openssl_dep_error |
| 10058 | |
| 10059 | else |
| 10060 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10061 | |
| 10062 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10063 | $(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] | 10064 | $(E) "[LD] Linking $@" |
| 10065 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10066 | $(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] | 10067 | |
| 10068 | endif |
| 10069 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10070 | $(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] | 10071 | |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 10072 | deps_udp_server_test: $(UDP_SERVER_TEST_OBJS:.o=.dep) |
| 10073 | |
| 10074 | ifneq ($(NO_SECURE),true) |
| 10075 | ifneq ($(NO_DEPS),true) |
| 10076 | -include $(UDP_SERVER_TEST_OBJS:.o=.dep) |
| 10077 | endif |
| 10078 | endif |
| 10079 | |
| 10080 | |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 10081 | URI_FUZZER_TEST_SRC = \ |
| 10082 | test/core/client_config/uri_fuzzer_test.c \ |
| 10083 | |
| 10084 | URI_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(URI_FUZZER_TEST_SRC)))) |
| 10085 | ifeq ($(NO_SECURE),true) |
| 10086 | |
| 10087 | # You can't build secure targets if you don't have OpenSSL. |
| 10088 | |
| 10089 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test: openssl_dep_error |
| 10090 | |
| 10091 | else |
| 10092 | |
| 10093 | |
| 10094 | |
| 10095 | $(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 |
| 10096 | $(E) "[LD] Linking $@" |
| 10097 | $(Q) mkdir -p `dirname $@` |
| 10098 | $(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 |
| 10099 | |
| 10100 | endif |
| 10101 | |
| 10102 | $(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 |
| 10103 | |
| 10104 | deps_uri_fuzzer_test: $(URI_FUZZER_TEST_OBJS:.o=.dep) |
| 10105 | |
| 10106 | ifneq ($(NO_SECURE),true) |
| 10107 | ifneq ($(NO_DEPS),true) |
| 10108 | -include $(URI_FUZZER_TEST_OBJS:.o=.dep) |
| 10109 | endif |
| 10110 | endif |
| 10111 | |
| 10112 | |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 10113 | URI_PARSER_TEST_SRC = \ |
| 10114 | test/core/client_config/uri_parser_test.c \ |
| 10115 | |
| 10116 | URI_PARSER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(URI_PARSER_TEST_SRC)))) |
| 10117 | ifeq ($(NO_SECURE),true) |
| 10118 | |
Craig Tiller | 8ebc34d | 2015-07-08 07:46:04 -0700 | [diff] [blame] | 10119 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 10120 | |
| 10121 | $(BINDIR)/$(CONFIG)/uri_parser_test: openssl_dep_error |
| 10122 | |
| 10123 | else |
| 10124 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10125 | |
| 10126 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10127 | $(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] | 10128 | $(E) "[LD] Linking $@" |
| 10129 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10130 | $(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] | 10131 | |
| 10132 | endif |
| 10133 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10134 | $(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] | 10135 | |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 10136 | deps_uri_parser_test: $(URI_PARSER_TEST_OBJS:.o=.dep) |
| 10137 | |
| 10138 | ifneq ($(NO_SECURE),true) |
| 10139 | ifneq ($(NO_DEPS),true) |
| 10140 | -include $(URI_PARSER_TEST_OBJS:.o=.dep) |
| 10141 | endif |
| 10142 | endif |
| 10143 | |
| 10144 | |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 10145 | ALARM_CPP_TEST_SRC = \ |
| 10146 | test/cpp/common/alarm_cpp_test.cc \ |
| 10147 | |
| 10148 | ALARM_CPP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_CPP_TEST_SRC)))) |
| 10149 | ifeq ($(NO_SECURE),true) |
| 10150 | |
| 10151 | # You can't build secure targets if you don't have OpenSSL. |
| 10152 | |
| 10153 | $(BINDIR)/$(CONFIG)/alarm_cpp_test: openssl_dep_error |
| 10154 | |
| 10155 | else |
| 10156 | |
| 10157 | |
| 10158 | |
| 10159 | |
| 10160 | ifeq ($(NO_PROTOBUF),true) |
| 10161 | |
| 10162 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10163 | |
| 10164 | $(BINDIR)/$(CONFIG)/alarm_cpp_test: protobuf_dep_error |
| 10165 | |
| 10166 | else |
| 10167 | |
Vijay Pai | 29e1d95 | 2016-02-11 00:26:18 -0800 | [diff] [blame] | 10168 | $(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] | 10169 | $(E) "[LD] Linking $@" |
| 10170 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | 29e1d95 | 2016-02-11 00:26:18 -0800 | [diff] [blame] | 10171 | $(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] | 10172 | |
| 10173 | endif |
| 10174 | |
| 10175 | endif |
| 10176 | |
Vijay Pai | 29e1d95 | 2016-02-11 00:26:18 -0800 | [diff] [blame] | 10177 | $(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] | 10178 | |
| 10179 | deps_alarm_cpp_test: $(ALARM_CPP_TEST_OBJS:.o=.dep) |
| 10180 | |
| 10181 | ifneq ($(NO_SECURE),true) |
| 10182 | ifneq ($(NO_DEPS),true) |
| 10183 | -include $(ALARM_CPP_TEST_OBJS:.o=.dep) |
| 10184 | endif |
| 10185 | endif |
| 10186 | |
| 10187 | |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10188 | ASYNC_END2END_TEST_SRC = \ |
| 10189 | test/cpp/end2end/async_end2end_test.cc \ |
| 10190 | |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 10191 | 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] | 10192 | ifeq ($(NO_SECURE),true) |
| 10193 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10194 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10195 | |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 10196 | $(BINDIR)/$(CONFIG)/async_end2end_test: openssl_dep_error |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10197 | |
| 10198 | else |
| 10199 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10200 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10201 | |
| 10202 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10203 | ifeq ($(NO_PROTOBUF),true) |
| 10204 | |
| 10205 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10206 | |
| 10207 | $(BINDIR)/$(CONFIG)/async_end2end_test: protobuf_dep_error |
| 10208 | |
| 10209 | else |
| 10210 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10211 | $(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] | 10212 | $(E) "[LD] Linking $@" |
| 10213 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10214 | $(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] | 10215 | |
| 10216 | endif |
| 10217 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10218 | endif |
| 10219 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10220 | $(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] | 10221 | |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10222 | deps_async_end2end_test: $(ASYNC_END2END_TEST_OBJS:.o=.dep) |
| 10223 | |
| 10224 | ifneq ($(NO_SECURE),true) |
| 10225 | ifneq ($(NO_DEPS),true) |
| 10226 | -include $(ASYNC_END2END_TEST_OBJS:.o=.dep) |
| 10227 | endif |
| 10228 | endif |
| 10229 | |
| 10230 | |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10231 | AUTH_PROPERTY_ITERATOR_TEST_SRC = \ |
| 10232 | test/cpp/common/auth_property_iterator_test.cc \ |
| 10233 | |
| 10234 | AUTH_PROPERTY_ITERATOR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(AUTH_PROPERTY_ITERATOR_TEST_SRC)))) |
| 10235 | ifeq ($(NO_SECURE),true) |
| 10236 | |
| 10237 | # You can't build secure targets if you don't have OpenSSL. |
| 10238 | |
| 10239 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test: openssl_dep_error |
| 10240 | |
| 10241 | else |
| 10242 | |
| 10243 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10244 | |
| 10245 | |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10246 | ifeq ($(NO_PROTOBUF),true) |
| 10247 | |
| 10248 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10249 | |
| 10250 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test: protobuf_dep_error |
| 10251 | |
| 10252 | else |
| 10253 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10254 | $(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] | 10255 | $(E) "[LD] Linking $@" |
| 10256 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10257 | $(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] | 10258 | |
| 10259 | endif |
| 10260 | |
| 10261 | endif |
| 10262 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10263 | $(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] | 10264 | |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10265 | deps_auth_property_iterator_test: $(AUTH_PROPERTY_ITERATOR_TEST_OBJS:.o=.dep) |
| 10266 | |
| 10267 | ifneq ($(NO_SECURE),true) |
| 10268 | ifneq ($(NO_DEPS),true) |
| 10269 | -include $(AUTH_PROPERTY_ITERATOR_TEST_OBJS:.o=.dep) |
| 10270 | endif |
| 10271 | endif |
| 10272 | |
| 10273 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10274 | CHANNEL_ARGUMENTS_TEST_SRC = \ |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 10275 | test/cpp/common/channel_arguments_test.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10276 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10277 | 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] | 10278 | ifeq ($(NO_SECURE),true) |
| 10279 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10280 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10281 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10282 | $(BINDIR)/$(CONFIG)/channel_arguments_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10283 | |
| 10284 | else |
| 10285 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10286 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10287 | |
| 10288 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10289 | ifeq ($(NO_PROTOBUF),true) |
| 10290 | |
| 10291 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10292 | |
| 10293 | $(BINDIR)/$(CONFIG)/channel_arguments_test: protobuf_dep_error |
| 10294 | |
| 10295 | else |
| 10296 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10297 | $(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] | 10298 | $(E) "[LD] Linking $@" |
| 10299 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10300 | $(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] | 10301 | |
| 10302 | endif |
| 10303 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10304 | endif |
| 10305 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10306 | $(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] | 10307 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10308 | deps_channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep) |
| 10309 | |
| 10310 | ifneq ($(NO_SECURE),true) |
| 10311 | ifneq ($(NO_DEPS),true) |
| 10312 | -include $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep) |
| 10313 | endif |
| 10314 | endif |
| 10315 | |
| 10316 | |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 10317 | CLI_CALL_TEST_SRC = \ |
| 10318 | test/cpp/util/cli_call_test.cc \ |
| 10319 | |
| 10320 | 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] | 10321 | ifeq ($(NO_SECURE),true) |
| 10322 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10323 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 10324 | |
| 10325 | $(BINDIR)/$(CONFIG)/cli_call_test: openssl_dep_error |
| 10326 | |
| 10327 | else |
| 10328 | |
| 10329 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10330 | |
| 10331 | |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 10332 | ifeq ($(NO_PROTOBUF),true) |
| 10333 | |
| 10334 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10335 | |
| 10336 | $(BINDIR)/$(CONFIG)/cli_call_test: protobuf_dep_error |
| 10337 | |
| 10338 | else |
| 10339 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10340 | $(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] | 10341 | $(E) "[LD] Linking $@" |
| 10342 | $(Q) mkdir -p `dirname $@` |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10343 | $(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] | 10344 | |
| 10345 | endif |
| 10346 | |
| 10347 | endif |
| 10348 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10349 | $(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] | 10350 | |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 10351 | deps_cli_call_test: $(CLI_CALL_TEST_OBJS:.o=.dep) |
| 10352 | |
| 10353 | ifneq ($(NO_SECURE),true) |
| 10354 | ifneq ($(NO_DEPS),true) |
| 10355 | -include $(CLI_CALL_TEST_OBJS:.o=.dep) |
| 10356 | endif |
| 10357 | endif |
| 10358 | |
| 10359 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10360 | CLIENT_CRASH_TEST_SRC = \ |
| 10361 | test/cpp/end2end/client_crash_test.cc \ |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10362 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10363 | 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] | 10364 | ifeq ($(NO_SECURE),true) |
| 10365 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10366 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10367 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10368 | $(BINDIR)/$(CONFIG)/client_crash_test: openssl_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10369 | |
| 10370 | else |
| 10371 | |
| 10372 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10373 | |
| 10374 | |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10375 | ifeq ($(NO_PROTOBUF),true) |
| 10376 | |
| 10377 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10378 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10379 | $(BINDIR)/$(CONFIG)/client_crash_test: protobuf_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10380 | |
| 10381 | else |
| 10382 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10383 | $(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] | 10384 | $(E) "[LD] Linking $@" |
| 10385 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10386 | $(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] | 10387 | |
| 10388 | endif |
| 10389 | |
| 10390 | endif |
| 10391 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10392 | $(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] | 10393 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10394 | deps_client_crash_test: $(CLIENT_CRASH_TEST_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10395 | |
| 10396 | ifneq ($(NO_SECURE),true) |
| 10397 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10398 | -include $(CLIENT_CRASH_TEST_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10399 | endif |
| 10400 | endif |
| 10401 | |
| 10402 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10403 | CLIENT_CRASH_TEST_SERVER_SRC = \ |
| 10404 | test/cpp/end2end/client_crash_test_server.cc \ |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10405 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10406 | 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] | 10407 | ifeq ($(NO_SECURE),true) |
| 10408 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10409 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10410 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10411 | $(BINDIR)/$(CONFIG)/client_crash_test_server: openssl_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10412 | |
| 10413 | else |
| 10414 | |
| 10415 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10416 | |
| 10417 | |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10418 | ifeq ($(NO_PROTOBUF),true) |
| 10419 | |
| 10420 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10421 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10422 | $(BINDIR)/$(CONFIG)/client_crash_test_server: protobuf_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10423 | |
| 10424 | else |
| 10425 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10426 | $(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] | 10427 | $(E) "[LD] Linking $@" |
| 10428 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10429 | $(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] | 10430 | |
| 10431 | endif |
| 10432 | |
| 10433 | endif |
| 10434 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10435 | $(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] | 10436 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10437 | deps_client_crash_test_server: $(CLIENT_CRASH_TEST_SERVER_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10438 | |
| 10439 | ifneq ($(NO_SECURE),true) |
| 10440 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10441 | -include $(CLIENT_CRASH_TEST_SERVER_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10442 | endif |
| 10443 | endif |
| 10444 | |
| 10445 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10446 | CODEGEN_TEST_FULL_SRC = \ |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10447 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc \ |
| 10448 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 10449 | $(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] | 10450 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc \ |
| 10451 | $(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] | 10452 | test/cpp/codegen/codegen_test_full.cc \ |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10453 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10454 | 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] | 10455 | ifeq ($(NO_SECURE),true) |
| 10456 | |
| 10457 | # You can't build secure targets if you don't have OpenSSL. |
| 10458 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10459 | $(BINDIR)/$(CONFIG)/codegen_test_full: openssl_dep_error |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10460 | |
| 10461 | else |
| 10462 | |
| 10463 | |
| 10464 | |
| 10465 | |
| 10466 | ifeq ($(NO_PROTOBUF),true) |
| 10467 | |
| 10468 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10469 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10470 | $(BINDIR)/$(CONFIG)/codegen_test_full: protobuf_dep_error |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10471 | |
| 10472 | else |
| 10473 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10474 | $(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] | 10475 | $(E) "[LD] Linking $@" |
| 10476 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10477 | $(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 |
| 10478 | |
| 10479 | endif |
| 10480 | |
| 10481 | endif |
| 10482 | |
| 10483 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/control.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10484 | |
| 10485 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10486 | |
| 10487 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/payloads.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10488 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10489 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/services.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10490 | |
| 10491 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/stats.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10492 | |
| 10493 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/codegen_test_full.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10494 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10495 | deps_codegen_test_full: $(CODEGEN_TEST_FULL_OBJS:.o=.dep) |
| 10496 | |
| 10497 | ifneq ($(NO_SECURE),true) |
| 10498 | ifneq ($(NO_DEPS),true) |
| 10499 | -include $(CODEGEN_TEST_FULL_OBJS:.o=.dep) |
| 10500 | endif |
| 10501 | endif |
vjpai | d8364f7 | 2016-05-31 12:54:04 -0700 | [diff] [blame] | 10502 | $(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] | 10503 | |
| 10504 | |
| 10505 | CODEGEN_TEST_MINIMAL_SRC = \ |
| 10506 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc \ |
| 10507 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 10508 | $(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] | 10509 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc \ |
| 10510 | $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc \ |
| 10511 | test/cpp/codegen/codegen_test_minimal.cc \ |
| 10512 | src/cpp/codegen/codegen_init.cc \ |
| 10513 | |
| 10514 | CODEGEN_TEST_MINIMAL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CODEGEN_TEST_MINIMAL_SRC)))) |
| 10515 | ifeq ($(NO_SECURE),true) |
| 10516 | |
| 10517 | # You can't build secure targets if you don't have OpenSSL. |
| 10518 | |
| 10519 | $(BINDIR)/$(CONFIG)/codegen_test_minimal: openssl_dep_error |
| 10520 | |
| 10521 | else |
| 10522 | |
| 10523 | |
| 10524 | |
| 10525 | |
| 10526 | ifeq ($(NO_PROTOBUF),true) |
| 10527 | |
| 10528 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10529 | |
| 10530 | $(BINDIR)/$(CONFIG)/codegen_test_minimal: protobuf_dep_error |
| 10531 | |
| 10532 | else |
| 10533 | |
| 10534 | $(BINDIR)/$(CONFIG)/codegen_test_minimal: $(PROTOBUF_DEP) $(CODEGEN_TEST_MINIMAL_OBJS) |
| 10535 | $(E) "[LD] Linking $@" |
| 10536 | $(Q) mkdir -p `dirname $@` |
| 10537 | $(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] | 10538 | |
| 10539 | endif |
| 10540 | |
| 10541 | endif |
| 10542 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 10543 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/control.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10544 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 10545 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10546 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 10547 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/payloads.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10548 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 10549 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/services.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10550 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 10551 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/stats.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10552 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10553 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/codegen_test_minimal.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10554 | |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 10555 | $(OBJDIR)/$(CONFIG)/src/cpp/codegen/codegen_init.o: |
| 10556 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10557 | deps_codegen_test_minimal: $(CODEGEN_TEST_MINIMAL_OBJS:.o=.dep) |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10558 | |
| 10559 | ifneq ($(NO_SECURE),true) |
| 10560 | ifneq ($(NO_DEPS),true) |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10561 | -include $(CODEGEN_TEST_MINIMAL_OBJS:.o=.dep) |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10562 | endif |
| 10563 | endif |
vjpai | d8364f7 | 2016-05-31 12:54:04 -0700 | [diff] [blame] | 10564 | $(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 |
| 10565 | $(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] | 10566 | |
| 10567 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10568 | CREDENTIALS_TEST_SRC = \ |
| 10569 | test/cpp/client/credentials_test.cc \ |
| 10570 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10571 | CREDENTIALS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CREDENTIALS_TEST_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10572 | ifeq ($(NO_SECURE),true) |
| 10573 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10574 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10575 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10576 | $(BINDIR)/$(CONFIG)/credentials_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10577 | |
| 10578 | else |
| 10579 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10580 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10581 | |
| 10582 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10583 | ifeq ($(NO_PROTOBUF),true) |
| 10584 | |
| 10585 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10586 | |
| 10587 | $(BINDIR)/$(CONFIG)/credentials_test: protobuf_dep_error |
| 10588 | |
| 10589 | else |
| 10590 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10591 | $(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] | 10592 | $(E) "[LD] Linking $@" |
| 10593 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10594 | $(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] | 10595 | |
| 10596 | endif |
| 10597 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10598 | endif |
| 10599 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10600 | $(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] | 10601 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10602 | deps_credentials_test: $(CREDENTIALS_TEST_OBJS:.o=.dep) |
| 10603 | |
| 10604 | ifneq ($(NO_SECURE),true) |
| 10605 | ifneq ($(NO_DEPS),true) |
| 10606 | -include $(CREDENTIALS_TEST_OBJS:.o=.dep) |
| 10607 | endif |
| 10608 | endif |
| 10609 | |
| 10610 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10611 | CXX_BYTE_BUFFER_TEST_SRC = \ |
| 10612 | test/cpp/util/byte_buffer_test.cc \ |
| 10613 | |
| 10614 | CXX_BYTE_BUFFER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CXX_BYTE_BUFFER_TEST_SRC)))) |
| 10615 | ifeq ($(NO_SECURE),true) |
| 10616 | |
Nicolas "Pixel" Noble | be2d3a3 | 2015-06-30 19:48:47 +0200 | [diff] [blame] | 10617 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10618 | |
| 10619 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test: openssl_dep_error |
| 10620 | |
| 10621 | else |
| 10622 | |
| 10623 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10624 | |
| 10625 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10626 | ifeq ($(NO_PROTOBUF),true) |
| 10627 | |
| 10628 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10629 | |
| 10630 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test: protobuf_dep_error |
| 10631 | |
| 10632 | else |
| 10633 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10634 | $(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] | 10635 | $(E) "[LD] Linking $@" |
| 10636 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10637 | $(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] | 10638 | |
| 10639 | endif |
| 10640 | |
| 10641 | endif |
| 10642 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10643 | $(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] | 10644 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10645 | deps_cxx_byte_buffer_test: $(CXX_BYTE_BUFFER_TEST_OBJS:.o=.dep) |
| 10646 | |
| 10647 | ifneq ($(NO_SECURE),true) |
| 10648 | ifneq ($(NO_DEPS),true) |
| 10649 | -include $(CXX_BYTE_BUFFER_TEST_OBJS:.o=.dep) |
| 10650 | endif |
| 10651 | endif |
| 10652 | |
| 10653 | |
| 10654 | CXX_SLICE_TEST_SRC = \ |
| 10655 | test/cpp/util/slice_test.cc \ |
| 10656 | |
| 10657 | CXX_SLICE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CXX_SLICE_TEST_SRC)))) |
| 10658 | ifeq ($(NO_SECURE),true) |
| 10659 | |
Nicolas "Pixel" Noble | be2d3a3 | 2015-06-30 19:48:47 +0200 | [diff] [blame] | 10660 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10661 | |
| 10662 | $(BINDIR)/$(CONFIG)/cxx_slice_test: openssl_dep_error |
| 10663 | |
| 10664 | else |
| 10665 | |
| 10666 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10667 | |
| 10668 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10669 | ifeq ($(NO_PROTOBUF),true) |
| 10670 | |
| 10671 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10672 | |
| 10673 | $(BINDIR)/$(CONFIG)/cxx_slice_test: protobuf_dep_error |
| 10674 | |
| 10675 | else |
| 10676 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10677 | $(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] | 10678 | $(E) "[LD] Linking $@" |
| 10679 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10680 | $(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] | 10681 | |
| 10682 | endif |
| 10683 | |
| 10684 | endif |
| 10685 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10686 | $(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] | 10687 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10688 | deps_cxx_slice_test: $(CXX_SLICE_TEST_OBJS:.o=.dep) |
| 10689 | |
| 10690 | ifneq ($(NO_SECURE),true) |
| 10691 | ifneq ($(NO_DEPS),true) |
| 10692 | -include $(CXX_SLICE_TEST_OBJS:.o=.dep) |
| 10693 | endif |
| 10694 | endif |
| 10695 | |
| 10696 | |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 10697 | CXX_STRING_REF_TEST_SRC = \ |
| 10698 | test/cpp/util/string_ref_test.cc \ |
| 10699 | |
| 10700 | CXX_STRING_REF_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CXX_STRING_REF_TEST_SRC)))) |
| 10701 | ifeq ($(NO_SECURE),true) |
| 10702 | |
| 10703 | # You can't build secure targets if you don't have OpenSSL. |
| 10704 | |
| 10705 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test: openssl_dep_error |
| 10706 | |
| 10707 | else |
| 10708 | |
| 10709 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10710 | |
| 10711 | |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 10712 | ifeq ($(NO_PROTOBUF),true) |
| 10713 | |
| 10714 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10715 | |
| 10716 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test: protobuf_dep_error |
| 10717 | |
| 10718 | else |
| 10719 | |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 10720 | $(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] | 10721 | $(E) "[LD] Linking $@" |
| 10722 | $(Q) mkdir -p `dirname $@` |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 10723 | $(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] | 10724 | |
| 10725 | endif |
| 10726 | |
| 10727 | endif |
| 10728 | |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 10729 | $(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] | 10730 | |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 10731 | deps_cxx_string_ref_test: $(CXX_STRING_REF_TEST_OBJS:.o=.dep) |
| 10732 | |
| 10733 | ifneq ($(NO_SECURE),true) |
| 10734 | ifneq ($(NO_DEPS),true) |
| 10735 | -include $(CXX_STRING_REF_TEST_OBJS:.o=.dep) |
| 10736 | endif |
| 10737 | endif |
| 10738 | |
| 10739 | |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 10740 | CXX_TIME_TEST_SRC = \ |
| 10741 | test/cpp/util/time_test.cc \ |
| 10742 | |
| 10743 | 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] | 10744 | ifeq ($(NO_SECURE),true) |
| 10745 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10746 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 10747 | |
| 10748 | $(BINDIR)/$(CONFIG)/cxx_time_test: openssl_dep_error |
| 10749 | |
| 10750 | else |
| 10751 | |
| 10752 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10753 | |
| 10754 | |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 10755 | ifeq ($(NO_PROTOBUF),true) |
| 10756 | |
| 10757 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10758 | |
| 10759 | $(BINDIR)/$(CONFIG)/cxx_time_test: protobuf_dep_error |
| 10760 | |
| 10761 | else |
| 10762 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10763 | $(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] | 10764 | $(E) "[LD] Linking $@" |
| 10765 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10766 | $(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] | 10767 | |
| 10768 | endif |
| 10769 | |
| 10770 | endif |
| 10771 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10772 | $(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] | 10773 | |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 10774 | deps_cxx_time_test: $(CXX_TIME_TEST_OBJS:.o=.dep) |
| 10775 | |
| 10776 | ifneq ($(NO_SECURE),true) |
| 10777 | ifneq ($(NO_DEPS),true) |
| 10778 | -include $(CXX_TIME_TEST_OBJS:.o=.dep) |
| 10779 | endif |
| 10780 | endif |
| 10781 | |
| 10782 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10783 | END2END_TEST_SRC = \ |
| 10784 | test/cpp/end2end/end2end_test.cc \ |
| 10785 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10786 | END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(END2END_TEST_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10787 | ifeq ($(NO_SECURE),true) |
| 10788 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10789 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10790 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10791 | $(BINDIR)/$(CONFIG)/end2end_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10792 | |
| 10793 | else |
| 10794 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10795 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10796 | |
| 10797 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10798 | ifeq ($(NO_PROTOBUF),true) |
| 10799 | |
| 10800 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10801 | |
| 10802 | $(BINDIR)/$(CONFIG)/end2end_test: protobuf_dep_error |
| 10803 | |
| 10804 | else |
| 10805 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10806 | $(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] | 10807 | $(E) "[LD] Linking $@" |
| 10808 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10809 | $(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] | 10810 | |
| 10811 | endif |
| 10812 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10813 | endif |
| 10814 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10815 | $(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] | 10816 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10817 | deps_end2end_test: $(END2END_TEST_OBJS:.o=.dep) |
| 10818 | |
| 10819 | ifneq ($(NO_SECURE),true) |
| 10820 | ifneq ($(NO_DEPS),true) |
| 10821 | -include $(END2END_TEST_OBJS:.o=.dep) |
| 10822 | endif |
| 10823 | endif |
| 10824 | |
| 10825 | |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 10826 | GENERIC_END2END_TEST_SRC = \ |
| 10827 | test/cpp/end2end/generic_end2end_test.cc \ |
| 10828 | |
| 10829 | 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] | 10830 | ifeq ($(NO_SECURE),true) |
| 10831 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10832 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 10833 | |
| 10834 | $(BINDIR)/$(CONFIG)/generic_end2end_test: openssl_dep_error |
| 10835 | |
| 10836 | else |
| 10837 | |
| 10838 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10839 | |
| 10840 | |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 10841 | ifeq ($(NO_PROTOBUF),true) |
| 10842 | |
| 10843 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10844 | |
| 10845 | $(BINDIR)/$(CONFIG)/generic_end2end_test: protobuf_dep_error |
| 10846 | |
| 10847 | else |
| 10848 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10849 | $(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] | 10850 | $(E) "[LD] Linking $@" |
| 10851 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10852 | $(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] | 10853 | |
| 10854 | endif |
| 10855 | |
| 10856 | endif |
| 10857 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10858 | $(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] | 10859 | |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 10860 | deps_generic_end2end_test: $(GENERIC_END2END_TEST_OBJS:.o=.dep) |
| 10861 | |
| 10862 | ifneq ($(NO_SECURE),true) |
| 10863 | ifneq ($(NO_DEPS),true) |
| 10864 | -include $(GENERIC_END2END_TEST_OBJS:.o=.dep) |
| 10865 | endif |
| 10866 | endif |
| 10867 | |
| 10868 | |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 10869 | GOLDEN_FILE_TEST_SRC = \ |
| 10870 | $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc \ |
| 10871 | test/cpp/codegen/golden_file_test.cc \ |
| 10872 | |
| 10873 | GOLDEN_FILE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GOLDEN_FILE_TEST_SRC)))) |
| 10874 | ifeq ($(NO_SECURE),true) |
| 10875 | |
| 10876 | # You can't build secure targets if you don't have OpenSSL. |
| 10877 | |
| 10878 | $(BINDIR)/$(CONFIG)/golden_file_test: openssl_dep_error |
| 10879 | |
| 10880 | else |
| 10881 | |
| 10882 | |
| 10883 | |
| 10884 | |
| 10885 | ifeq ($(NO_PROTOBUF),true) |
| 10886 | |
| 10887 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10888 | |
| 10889 | $(BINDIR)/$(CONFIG)/golden_file_test: protobuf_dep_error |
| 10890 | |
| 10891 | else |
| 10892 | |
| 10893 | $(BINDIR)/$(CONFIG)/golden_file_test: $(PROTOBUF_DEP) $(GOLDEN_FILE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10894 | $(E) "[LD] Linking $@" |
| 10895 | $(Q) mkdir -p `dirname $@` |
| 10896 | $(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 |
| 10897 | |
| 10898 | endif |
| 10899 | |
| 10900 | endif |
| 10901 | |
| 10902 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/compiler_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10903 | |
| 10904 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/golden_file_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10905 | |
| 10906 | deps_golden_file_test: $(GOLDEN_FILE_TEST_OBJS:.o=.dep) |
| 10907 | |
| 10908 | ifneq ($(NO_SECURE),true) |
| 10909 | ifneq ($(NO_DEPS),true) |
| 10910 | -include $(GOLDEN_FILE_TEST_OBJS:.o=.dep) |
| 10911 | endif |
| 10912 | endif |
| 10913 | $(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 |
| 10914 | |
| 10915 | |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10916 | GRPC_CLI_SRC = \ |
| 10917 | test/cpp/util/grpc_cli.cc \ |
| 10918 | |
| 10919 | GRPC_CLI_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CLI_SRC)))) |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10920 | ifeq ($(NO_SECURE),true) |
| 10921 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10922 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10923 | |
| 10924 | $(BINDIR)/$(CONFIG)/grpc_cli: openssl_dep_error |
| 10925 | |
| 10926 | else |
| 10927 | |
| 10928 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10929 | |
| 10930 | |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10931 | ifeq ($(NO_PROTOBUF),true) |
| 10932 | |
| 10933 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10934 | |
| 10935 | $(BINDIR)/$(CONFIG)/grpc_cli: protobuf_dep_error |
| 10936 | |
| 10937 | else |
| 10938 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10939 | $(BINDIR)/$(CONFIG)/grpc_cli: $(PROTOBUF_DEP) $(GRPC_CLI_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 $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10940 | $(E) "[LD] Linking $@" |
| 10941 | $(Q) mkdir -p `dirname $@` |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10942 | $(Q) $(LDXX) $(LDFLAGS) $(GRPC_CLI_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 $(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] | 10943 | |
| 10944 | endif |
| 10945 | |
| 10946 | endif |
| 10947 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10948 | $(OBJDIR)/$(CONFIG)/test/cpp/util/grpc_cli.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 $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 10949 | |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10950 | deps_grpc_cli: $(GRPC_CLI_OBJS:.o=.dep) |
| 10951 | |
| 10952 | ifneq ($(NO_SECURE),true) |
| 10953 | ifneq ($(NO_DEPS),true) |
| 10954 | -include $(GRPC_CLI_OBJS:.o=.dep) |
| 10955 | endif |
| 10956 | endif |
| 10957 | |
| 10958 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10959 | GRPC_CPP_PLUGIN_SRC = \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10960 | src/compiler/cpp_plugin.cc \ |
| 10961 | |
| 10962 | GRPC_CPP_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CPP_PLUGIN_SRC)))) |
| 10963 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10964 | |
| 10965 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10966 | ifeq ($(NO_PROTOBUF),true) |
| 10967 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10968 | # 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] | 10969 | |
| 10970 | $(BINDIR)/$(CONFIG)/grpc_cpp_plugin: protobuf_dep_error |
| 10971 | |
| 10972 | else |
| 10973 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10974 | $(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] | 10975 | $(E) "[HOSTLD] Linking $@" |
| 10976 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10977 | $(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] | 10978 | |
| 10979 | endif |
| 10980 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10981 | $(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] | 10982 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10983 | deps_grpc_cpp_plugin: $(GRPC_CPP_PLUGIN_OBJS:.o=.dep) |
| 10984 | |
| 10985 | ifneq ($(NO_DEPS),true) |
| 10986 | -include $(GRPC_CPP_PLUGIN_OBJS:.o=.dep) |
| 10987 | endif |
| 10988 | |
| 10989 | |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 10990 | GRPC_CSHARP_PLUGIN_SRC = \ |
| 10991 | src/compiler/csharp_plugin.cc \ |
| 10992 | |
| 10993 | GRPC_CSHARP_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CSHARP_PLUGIN_SRC)))) |
| 10994 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10995 | |
| 10996 | |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 10997 | ifeq ($(NO_PROTOBUF),true) |
| 10998 | |
| 10999 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11000 | |
| 11001 | $(BINDIR)/$(CONFIG)/grpc_csharp_plugin: protobuf_dep_error |
| 11002 | |
| 11003 | else |
| 11004 | |
| 11005 | $(BINDIR)/$(CONFIG)/grpc_csharp_plugin: $(PROTOBUF_DEP) $(GRPC_CSHARP_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 11006 | $(E) "[HOSTLD] Linking $@" |
| 11007 | $(Q) mkdir -p `dirname $@` |
| 11008 | $(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 |
| 11009 | |
| 11010 | endif |
| 11011 | |
| 11012 | $(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] | 11013 | |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 11014 | deps_grpc_csharp_plugin: $(GRPC_CSHARP_PLUGIN_OBJS:.o=.dep) |
| 11015 | |
| 11016 | ifneq ($(NO_DEPS),true) |
| 11017 | -include $(GRPC_CSHARP_PLUGIN_OBJS:.o=.dep) |
| 11018 | endif |
| 11019 | |
| 11020 | |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 11021 | GRPC_NODE_PLUGIN_SRC = \ |
| 11022 | src/compiler/node_plugin.cc \ |
| 11023 | |
| 11024 | GRPC_NODE_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_NODE_PLUGIN_SRC)))) |
| 11025 | |
| 11026 | |
| 11027 | |
| 11028 | ifeq ($(NO_PROTOBUF),true) |
| 11029 | |
| 11030 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11031 | |
| 11032 | $(BINDIR)/$(CONFIG)/grpc_node_plugin: protobuf_dep_error |
| 11033 | |
| 11034 | else |
| 11035 | |
| 11036 | $(BINDIR)/$(CONFIG)/grpc_node_plugin: $(PROTOBUF_DEP) $(GRPC_NODE_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 11037 | $(E) "[HOSTLD] Linking $@" |
| 11038 | $(Q) mkdir -p `dirname $@` |
| 11039 | $(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 |
| 11040 | |
| 11041 | endif |
| 11042 | |
| 11043 | $(OBJDIR)/$(CONFIG)/src/compiler/node_plugin.o: $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 11044 | |
| 11045 | deps_grpc_node_plugin: $(GRPC_NODE_PLUGIN_OBJS:.o=.dep) |
| 11046 | |
| 11047 | ifneq ($(NO_DEPS),true) |
| 11048 | -include $(GRPC_NODE_PLUGIN_OBJS:.o=.dep) |
| 11049 | endif |
| 11050 | |
| 11051 | |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 11052 | GRPC_OBJECTIVE_C_PLUGIN_SRC = \ |
| 11053 | src/compiler/objective_c_plugin.cc \ |
| 11054 | |
| 11055 | GRPC_OBJECTIVE_C_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_OBJECTIVE_C_PLUGIN_SRC)))) |
| 11056 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11057 | |
| 11058 | |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 11059 | ifeq ($(NO_PROTOBUF),true) |
| 11060 | |
| 11061 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11062 | |
| 11063 | $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin: protobuf_dep_error |
| 11064 | |
| 11065 | else |
| 11066 | |
| 11067 | $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin: $(PROTOBUF_DEP) $(GRPC_OBJECTIVE_C_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 11068 | $(E) "[HOSTLD] Linking $@" |
| 11069 | $(Q) mkdir -p `dirname $@` |
| 11070 | $(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 |
| 11071 | |
| 11072 | endif |
| 11073 | |
| 11074 | $(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] | 11075 | |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 11076 | deps_grpc_objective_c_plugin: $(GRPC_OBJECTIVE_C_PLUGIN_OBJS:.o=.dep) |
| 11077 | |
| 11078 | ifneq ($(NO_DEPS),true) |
| 11079 | -include $(GRPC_OBJECTIVE_C_PLUGIN_OBJS:.o=.dep) |
| 11080 | endif |
| 11081 | |
| 11082 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11083 | GRPC_PYTHON_PLUGIN_SRC = \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11084 | src/compiler/python_plugin.cc \ |
| 11085 | |
| 11086 | GRPC_PYTHON_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_PYTHON_PLUGIN_SRC)))) |
| 11087 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11088 | |
| 11089 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11090 | ifeq ($(NO_PROTOBUF),true) |
| 11091 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11092 | # 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] | 11093 | |
| 11094 | $(BINDIR)/$(CONFIG)/grpc_python_plugin: protobuf_dep_error |
| 11095 | |
| 11096 | else |
| 11097 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11098 | $(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] | 11099 | $(E) "[HOSTLD] Linking $@" |
| 11100 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11101 | $(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] | 11102 | |
| 11103 | endif |
| 11104 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11105 | $(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] | 11106 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11107 | deps_grpc_python_plugin: $(GRPC_PYTHON_PLUGIN_OBJS:.o=.dep) |
| 11108 | |
| 11109 | ifneq ($(NO_DEPS),true) |
| 11110 | -include $(GRPC_PYTHON_PLUGIN_OBJS:.o=.dep) |
| 11111 | endif |
| 11112 | |
| 11113 | |
| 11114 | GRPC_RUBY_PLUGIN_SRC = \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11115 | src/compiler/ruby_plugin.cc \ |
| 11116 | |
| 11117 | GRPC_RUBY_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_RUBY_PLUGIN_SRC)))) |
| 11118 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11119 | |
| 11120 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11121 | ifeq ($(NO_PROTOBUF),true) |
| 11122 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11123 | # 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] | 11124 | |
| 11125 | $(BINDIR)/$(CONFIG)/grpc_ruby_plugin: protobuf_dep_error |
| 11126 | |
| 11127 | else |
| 11128 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11129 | $(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] | 11130 | $(E) "[HOSTLD] Linking $@" |
| 11131 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11132 | $(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] | 11133 | |
| 11134 | endif |
| 11135 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 11136 | $(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] | 11137 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 11138 | deps_grpc_ruby_plugin: $(GRPC_RUBY_PLUGIN_OBJS:.o=.dep) |
| 11139 | |
| 11140 | ifneq ($(NO_DEPS),true) |
| 11141 | -include $(GRPC_RUBY_PLUGIN_OBJS:.o=.dep) |
| 11142 | endif |
| 11143 | |
| 11144 | |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 11145 | GRPCLB_API_TEST_SRC = \ |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 11146 | $(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] | 11147 | test/cpp/grpclb/grpclb_api_test.cc \ |
| 11148 | |
| 11149 | GRPCLB_API_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPCLB_API_TEST_SRC)))) |
| 11150 | ifeq ($(NO_SECURE),true) |
| 11151 | |
| 11152 | # You can't build secure targets if you don't have OpenSSL. |
| 11153 | |
| 11154 | $(BINDIR)/$(CONFIG)/grpclb_api_test: openssl_dep_error |
| 11155 | |
| 11156 | else |
| 11157 | |
| 11158 | |
| 11159 | |
| 11160 | |
| 11161 | ifeq ($(NO_PROTOBUF),true) |
| 11162 | |
| 11163 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11164 | |
| 11165 | $(BINDIR)/$(CONFIG)/grpclb_api_test: protobuf_dep_error |
| 11166 | |
| 11167 | else |
| 11168 | |
| 11169 | $(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 |
| 11170 | $(E) "[LD] Linking $@" |
| 11171 | $(Q) mkdir -p `dirname $@` |
| 11172 | $(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 |
| 11173 | |
| 11174 | endif |
| 11175 | |
| 11176 | endif |
| 11177 | |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 11178 | $(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] | 11179 | |
| 11180 | $(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 |
| 11181 | |
| 11182 | deps_grpclb_api_test: $(GRPCLB_API_TEST_OBJS:.o=.dep) |
| 11183 | |
| 11184 | ifneq ($(NO_SECURE),true) |
| 11185 | ifneq ($(NO_DEPS),true) |
| 11186 | -include $(GRPCLB_API_TEST_OBJS:.o=.dep) |
| 11187 | endif |
| 11188 | endif |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 11189 | $(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] | 11190 | |
| 11191 | |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 11192 | HYBRID_END2END_TEST_SRC = \ |
| 11193 | test/cpp/end2end/hybrid_end2end_test.cc \ |
| 11194 | |
| 11195 | HYBRID_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HYBRID_END2END_TEST_SRC)))) |
| 11196 | ifeq ($(NO_SECURE),true) |
| 11197 | |
| 11198 | # You can't build secure targets if you don't have OpenSSL. |
| 11199 | |
| 11200 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test: openssl_dep_error |
| 11201 | |
| 11202 | else |
| 11203 | |
| 11204 | |
| 11205 | |
| 11206 | |
| 11207 | ifeq ($(NO_PROTOBUF),true) |
| 11208 | |
| 11209 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11210 | |
| 11211 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test: protobuf_dep_error |
| 11212 | |
| 11213 | else |
| 11214 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11215 | $(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] | 11216 | $(E) "[LD] Linking $@" |
| 11217 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11218 | $(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] | 11219 | |
| 11220 | endif |
| 11221 | |
| 11222 | endif |
| 11223 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11224 | $(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] | 11225 | |
| 11226 | deps_hybrid_end2end_test: $(HYBRID_END2END_TEST_OBJS:.o=.dep) |
| 11227 | |
| 11228 | ifneq ($(NO_SECURE),true) |
| 11229 | ifneq ($(NO_DEPS),true) |
| 11230 | -include $(HYBRID_END2END_TEST_OBJS:.o=.dep) |
| 11231 | endif |
| 11232 | endif |
| 11233 | |
| 11234 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11235 | ifeq ($(NO_SECURE),true) |
| 11236 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11237 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11238 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 11239 | $(BINDIR)/$(CONFIG)/interop_client: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11240 | |
| 11241 | else |
| 11242 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11243 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11244 | |
| 11245 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11246 | ifeq ($(NO_PROTOBUF),true) |
| 11247 | |
| 11248 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11249 | |
| 11250 | $(BINDIR)/$(CONFIG)/interop_client: protobuf_dep_error |
| 11251 | |
| 11252 | else |
| 11253 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11254 | $(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] | 11255 | $(E) "[LD] Linking $@" |
| 11256 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11257 | $(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] | 11258 | |
| 11259 | endif |
| 11260 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11261 | endif |
| 11262 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11263 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11264 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11265 | |
| 11266 | ifeq ($(NO_SECURE),true) |
| 11267 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11268 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11269 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 11270 | $(BINDIR)/$(CONFIG)/interop_server: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11271 | |
| 11272 | else |
| 11273 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11274 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11275 | |
| 11276 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11277 | ifeq ($(NO_PROTOBUF),true) |
| 11278 | |
| 11279 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11280 | |
| 11281 | $(BINDIR)/$(CONFIG)/interop_server: protobuf_dep_error |
| 11282 | |
| 11283 | else |
| 11284 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11285 | $(BINDIR)/$(CONFIG)/interop_server: $(LIBDIR)/$(CONFIG)/libinterop_server_main.a $(LIBDIR)/$(CONFIG)/libinterop_server_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] | 11286 | $(E) "[LD] Linking $@" |
| 11287 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11288 | $(Q) $(LDXX) $(LDFLAGS) $(LIBDIR)/$(CONFIG)/libinterop_server_main.a $(LIBDIR)/$(CONFIG)/libinterop_server_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_server |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11289 | |
| 11290 | endif |
| 11291 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11292 | endif |
| 11293 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11294 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11295 | |
| 11296 | |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 11297 | INTEROP_TEST_SRC = \ |
| 11298 | test/cpp/interop/interop_test.cc \ |
| 11299 | |
| 11300 | INTEROP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_TEST_SRC)))) |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 11301 | ifeq ($(NO_SECURE),true) |
| 11302 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11303 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 11304 | |
| 11305 | $(BINDIR)/$(CONFIG)/interop_test: openssl_dep_error |
| 11306 | |
| 11307 | else |
| 11308 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11309 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11310 | |
| 11311 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11312 | ifeq ($(NO_PROTOBUF),true) |
| 11313 | |
| 11314 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11315 | |
| 11316 | $(BINDIR)/$(CONFIG)/interop_test: protobuf_dep_error |
| 11317 | |
| 11318 | else |
| 11319 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11320 | $(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 |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 11321 | $(E) "[LD] Linking $@" |
| 11322 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11323 | $(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 $(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] | 11324 | |
| 11325 | endif |
| 11326 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11327 | endif |
| 11328 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11329 | $(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 |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 11330 | |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 11331 | deps_interop_test: $(INTEROP_TEST_OBJS:.o=.dep) |
| 11332 | |
| 11333 | ifneq ($(NO_SECURE),true) |
| 11334 | ifneq ($(NO_DEPS),true) |
| 11335 | -include $(INTEROP_TEST_OBJS:.o=.dep) |
| 11336 | endif |
| 11337 | endif |
| 11338 | |
| 11339 | |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 11340 | JSON_RUN_LOCALHOST_SRC = \ |
| 11341 | test/cpp/qps/json_run_localhost.cc \ |
| 11342 | |
| 11343 | JSON_RUN_LOCALHOST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_RUN_LOCALHOST_SRC)))) |
| 11344 | ifeq ($(NO_SECURE),true) |
| 11345 | |
| 11346 | # You can't build secure targets if you don't have OpenSSL. |
| 11347 | |
| 11348 | $(BINDIR)/$(CONFIG)/json_run_localhost: openssl_dep_error |
| 11349 | |
| 11350 | else |
| 11351 | |
| 11352 | |
| 11353 | |
| 11354 | |
| 11355 | ifeq ($(NO_PROTOBUF),true) |
| 11356 | |
| 11357 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11358 | |
| 11359 | $(BINDIR)/$(CONFIG)/json_run_localhost: protobuf_dep_error |
| 11360 | |
| 11361 | else |
| 11362 | |
| 11363 | $(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 |
| 11364 | $(E) "[LD] Linking $@" |
| 11365 | $(Q) mkdir -p `dirname $@` |
| 11366 | $(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 |
| 11367 | |
| 11368 | endif |
| 11369 | |
| 11370 | endif |
| 11371 | |
| 11372 | $(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 |
| 11373 | |
| 11374 | deps_json_run_localhost: $(JSON_RUN_LOCALHOST_OBJS:.o=.dep) |
| 11375 | |
| 11376 | ifneq ($(NO_SECURE),true) |
| 11377 | ifneq ($(NO_DEPS),true) |
| 11378 | -include $(JSON_RUN_LOCALHOST_OBJS:.o=.dep) |
| 11379 | endif |
| 11380 | endif |
| 11381 | |
| 11382 | |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 11383 | METRICS_CLIENT_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11384 | $(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] | 11385 | test/cpp/interop/metrics_client.cc \ |
| 11386 | |
| 11387 | METRICS_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(METRICS_CLIENT_SRC)))) |
| 11388 | ifeq ($(NO_SECURE),true) |
| 11389 | |
| 11390 | # You can't build secure targets if you don't have OpenSSL. |
| 11391 | |
| 11392 | $(BINDIR)/$(CONFIG)/metrics_client: openssl_dep_error |
| 11393 | |
| 11394 | else |
| 11395 | |
| 11396 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11397 | |
| 11398 | |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 11399 | ifeq ($(NO_PROTOBUF),true) |
| 11400 | |
| 11401 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11402 | |
| 11403 | $(BINDIR)/$(CONFIG)/metrics_client: protobuf_dep_error |
| 11404 | |
| 11405 | else |
| 11406 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11407 | $(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] | 11408 | $(E) "[LD] Linking $@" |
| 11409 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11410 | $(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] | 11411 | |
| 11412 | endif |
| 11413 | |
| 11414 | endif |
| 11415 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11416 | $(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] | 11417 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11418 | $(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] | 11419 | |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 11420 | deps_metrics_client: $(METRICS_CLIENT_OBJS:.o=.dep) |
| 11421 | |
| 11422 | ifneq ($(NO_SECURE),true) |
| 11423 | ifneq ($(NO_DEPS),true) |
| 11424 | -include $(METRICS_CLIENT_OBJS:.o=.dep) |
| 11425 | endif |
| 11426 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11427 | $(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] | 11428 | |
| 11429 | |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 11430 | MOCK_TEST_SRC = \ |
| 11431 | test/cpp/end2end/mock_test.cc \ |
| 11432 | |
| 11433 | MOCK_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MOCK_TEST_SRC)))) |
| 11434 | ifeq ($(NO_SECURE),true) |
| 11435 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11436 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 11437 | |
| 11438 | $(BINDIR)/$(CONFIG)/mock_test: openssl_dep_error |
| 11439 | |
| 11440 | else |
| 11441 | |
| 11442 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11443 | |
| 11444 | |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 11445 | ifeq ($(NO_PROTOBUF),true) |
| 11446 | |
| 11447 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11448 | |
| 11449 | $(BINDIR)/$(CONFIG)/mock_test: protobuf_dep_error |
| 11450 | |
| 11451 | else |
| 11452 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11453 | $(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] | 11454 | $(E) "[LD] Linking $@" |
| 11455 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11456 | $(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] | 11457 | |
| 11458 | endif |
| 11459 | |
| 11460 | endif |
| 11461 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11462 | $(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] | 11463 | |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 11464 | deps_mock_test: $(MOCK_TEST_OBJS:.o=.dep) |
| 11465 | |
| 11466 | ifneq ($(NO_SECURE),true) |
| 11467 | ifneq ($(NO_DEPS),true) |
| 11468 | -include $(MOCK_TEST_OBJS:.o=.dep) |
| 11469 | endif |
| 11470 | endif |
| 11471 | |
| 11472 | |
Yuchen Zeng | 91c51a7 | 2016-05-20 14:46:49 -0700 | [diff] [blame] | 11473 | PROTO_SERVER_REFLECTION_TEST_SRC = \ |
| 11474 | test/cpp/end2end/proto_server_reflection_test.cc \ |
| 11475 | test/cpp/util/proto_reflection_descriptor_database.cc \ |
| 11476 | |
| 11477 | PROTO_SERVER_REFLECTION_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(PROTO_SERVER_REFLECTION_TEST_SRC)))) |
| 11478 | ifeq ($(NO_SECURE),true) |
| 11479 | |
| 11480 | # You can't build secure targets if you don't have OpenSSL. |
| 11481 | |
| 11482 | $(BINDIR)/$(CONFIG)/proto_server_reflection_test: openssl_dep_error |
| 11483 | |
| 11484 | else |
| 11485 | |
| 11486 | |
| 11487 | |
| 11488 | |
| 11489 | ifeq ($(NO_PROTOBUF),true) |
| 11490 | |
| 11491 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11492 | |
| 11493 | $(BINDIR)/$(CONFIG)/proto_server_reflection_test: protobuf_dep_error |
| 11494 | |
| 11495 | else |
| 11496 | |
| 11497 | $(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 |
| 11498 | $(E) "[LD] Linking $@" |
| 11499 | $(Q) mkdir -p `dirname $@` |
| 11500 | $(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 |
| 11501 | |
| 11502 | endif |
| 11503 | |
| 11504 | endif |
| 11505 | |
| 11506 | $(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 |
| 11507 | |
| 11508 | $(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 |
| 11509 | |
| 11510 | deps_proto_server_reflection_test: $(PROTO_SERVER_REFLECTION_TEST_OBJS:.o=.dep) |
| 11511 | |
| 11512 | ifneq ($(NO_SECURE),true) |
| 11513 | ifneq ($(NO_DEPS),true) |
| 11514 | -include $(PROTO_SERVER_REFLECTION_TEST_OBJS:.o=.dep) |
| 11515 | endif |
| 11516 | endif |
| 11517 | |
| 11518 | |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 11519 | QPS_INTERARRIVAL_TEST_SRC = \ |
| 11520 | test/cpp/qps/qps_interarrival_test.cc \ |
| 11521 | |
| 11522 | QPS_INTERARRIVAL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_INTERARRIVAL_TEST_SRC)))) |
| 11523 | ifeq ($(NO_SECURE),true) |
| 11524 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11525 | # You can't build secure targets if you don't have OpenSSL. |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 11526 | |
| 11527 | $(BINDIR)/$(CONFIG)/qps_interarrival_test: openssl_dep_error |
| 11528 | |
| 11529 | else |
| 11530 | |
| 11531 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11532 | |
| 11533 | |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 11534 | ifeq ($(NO_PROTOBUF),true) |
| 11535 | |
| 11536 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11537 | |
| 11538 | $(BINDIR)/$(CONFIG)/qps_interarrival_test: protobuf_dep_error |
| 11539 | |
| 11540 | else |
| 11541 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11542 | $(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] | 11543 | $(E) "[LD] Linking $@" |
| 11544 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11545 | $(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] | 11546 | |
| 11547 | endif |
| 11548 | |
| 11549 | endif |
| 11550 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11551 | $(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] | 11552 | |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 11553 | deps_qps_interarrival_test: $(QPS_INTERARRIVAL_TEST_OBJS:.o=.dep) |
| 11554 | |
| 11555 | ifneq ($(NO_SECURE),true) |
| 11556 | ifneq ($(NO_DEPS),true) |
| 11557 | -include $(QPS_INTERARRIVAL_TEST_OBJS:.o=.dep) |
| 11558 | endif |
| 11559 | endif |
| 11560 | |
| 11561 | |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 11562 | QPS_JSON_DRIVER_SRC = \ |
| 11563 | test/cpp/qps/qps_json_driver.cc \ |
| 11564 | |
| 11565 | QPS_JSON_DRIVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_JSON_DRIVER_SRC)))) |
| 11566 | ifeq ($(NO_SECURE),true) |
| 11567 | |
| 11568 | # You can't build secure targets if you don't have OpenSSL. |
| 11569 | |
| 11570 | $(BINDIR)/$(CONFIG)/qps_json_driver: openssl_dep_error |
| 11571 | |
| 11572 | else |
| 11573 | |
| 11574 | |
| 11575 | |
| 11576 | |
| 11577 | ifeq ($(NO_PROTOBUF),true) |
| 11578 | |
| 11579 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11580 | |
| 11581 | $(BINDIR)/$(CONFIG)/qps_json_driver: protobuf_dep_error |
| 11582 | |
| 11583 | else |
| 11584 | |
| 11585 | $(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 |
| 11586 | $(E) "[LD] Linking $@" |
| 11587 | $(Q) mkdir -p `dirname $@` |
| 11588 | $(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 |
| 11589 | |
| 11590 | endif |
| 11591 | |
| 11592 | endif |
| 11593 | |
| 11594 | $(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 |
| 11595 | |
| 11596 | deps_qps_json_driver: $(QPS_JSON_DRIVER_OBJS:.o=.dep) |
| 11597 | |
| 11598 | ifneq ($(NO_SECURE),true) |
| 11599 | ifneq ($(NO_DEPS),true) |
| 11600 | -include $(QPS_JSON_DRIVER_OBJS:.o=.dep) |
| 11601 | endif |
| 11602 | endif |
| 11603 | |
| 11604 | |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 11605 | QPS_OPENLOOP_TEST_SRC = \ |
| 11606 | test/cpp/qps/qps_openloop_test.cc \ |
| 11607 | |
| 11608 | QPS_OPENLOOP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_OPENLOOP_TEST_SRC)))) |
| 11609 | ifeq ($(NO_SECURE),true) |
| 11610 | |
| 11611 | # You can't build secure targets if you don't have OpenSSL. |
| 11612 | |
| 11613 | $(BINDIR)/$(CONFIG)/qps_openloop_test: openssl_dep_error |
| 11614 | |
| 11615 | else |
| 11616 | |
| 11617 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11618 | |
| 11619 | |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 11620 | ifeq ($(NO_PROTOBUF),true) |
| 11621 | |
| 11622 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11623 | |
| 11624 | $(BINDIR)/$(CONFIG)/qps_openloop_test: protobuf_dep_error |
| 11625 | |
| 11626 | else |
| 11627 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11628 | $(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] | 11629 | $(E) "[LD] Linking $@" |
| 11630 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11631 | $(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] | 11632 | |
| 11633 | endif |
| 11634 | |
| 11635 | endif |
| 11636 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11637 | $(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] | 11638 | |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 11639 | deps_qps_openloop_test: $(QPS_OPENLOOP_TEST_OBJS:.o=.dep) |
| 11640 | |
| 11641 | ifneq ($(NO_SECURE),true) |
| 11642 | ifneq ($(NO_DEPS),true) |
| 11643 | -include $(QPS_OPENLOOP_TEST_OBJS:.o=.dep) |
| 11644 | endif |
| 11645 | endif |
| 11646 | |
| 11647 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11648 | QPS_WORKER_SRC = \ |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11649 | test/cpp/qps/worker.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11650 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11651 | QPS_WORKER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_WORKER_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11652 | ifeq ($(NO_SECURE),true) |
| 11653 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11654 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11655 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11656 | $(BINDIR)/$(CONFIG)/qps_worker: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11657 | |
| 11658 | else |
| 11659 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11660 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11661 | |
| 11662 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11663 | ifeq ($(NO_PROTOBUF),true) |
| 11664 | |
| 11665 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11666 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11667 | $(BINDIR)/$(CONFIG)/qps_worker: protobuf_dep_error |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11668 | |
| 11669 | else |
| 11670 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11671 | $(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] | 11672 | $(E) "[LD] Linking $@" |
| 11673 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11674 | $(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] | 11675 | |
| 11676 | endif |
| 11677 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11678 | endif |
| 11679 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11680 | $(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] | 11681 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11682 | deps_qps_worker: $(QPS_WORKER_OBJS:.o=.dep) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11683 | |
| 11684 | ifneq ($(NO_SECURE),true) |
| 11685 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11686 | -include $(QPS_WORKER_OBJS:.o=.dep) |
vjpai | 95a34ef | 2015-02-26 16:42:24 -0800 | [diff] [blame] | 11687 | endif |
| 11688 | endif |
| 11689 | |
| 11690 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 11691 | RECONNECT_INTEROP_CLIENT_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11692 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 11693 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 11694 | $(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] | 11695 | test/cpp/interop/reconnect_interop_client.cc \ |
| 11696 | |
| 11697 | RECONNECT_INTEROP_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RECONNECT_INTEROP_CLIENT_SRC)))) |
| 11698 | ifeq ($(NO_SECURE),true) |
| 11699 | |
| 11700 | # You can't build secure targets if you don't have OpenSSL. |
| 11701 | |
| 11702 | $(BINDIR)/$(CONFIG)/reconnect_interop_client: openssl_dep_error |
| 11703 | |
| 11704 | else |
| 11705 | |
| 11706 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11707 | |
| 11708 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 11709 | ifeq ($(NO_PROTOBUF),true) |
| 11710 | |
| 11711 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11712 | |
| 11713 | $(BINDIR)/$(CONFIG)/reconnect_interop_client: protobuf_dep_error |
| 11714 | |
| 11715 | else |
| 11716 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11717 | $(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] | 11718 | $(E) "[LD] Linking $@" |
| 11719 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11720 | $(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] | 11721 | |
| 11722 | endif |
| 11723 | |
| 11724 | endif |
| 11725 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11726 | $(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] | 11727 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11728 | $(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] | 11729 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11730 | $(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] | 11731 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11732 | $(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] | 11733 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 11734 | deps_reconnect_interop_client: $(RECONNECT_INTEROP_CLIENT_OBJS:.o=.dep) |
| 11735 | |
| 11736 | ifneq ($(NO_SECURE),true) |
| 11737 | ifneq ($(NO_DEPS),true) |
| 11738 | -include $(RECONNECT_INTEROP_CLIENT_OBJS:.o=.dep) |
| 11739 | endif |
| 11740 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11741 | $(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] | 11742 | |
| 11743 | |
| 11744 | RECONNECT_INTEROP_SERVER_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11745 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 11746 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 11747 | $(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] | 11748 | test/cpp/interop/reconnect_interop_server.cc \ |
| 11749 | |
| 11750 | RECONNECT_INTEROP_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RECONNECT_INTEROP_SERVER_SRC)))) |
| 11751 | ifeq ($(NO_SECURE),true) |
| 11752 | |
| 11753 | # You can't build secure targets if you don't have OpenSSL. |
| 11754 | |
| 11755 | $(BINDIR)/$(CONFIG)/reconnect_interop_server: openssl_dep_error |
| 11756 | |
| 11757 | else |
| 11758 | |
| 11759 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11760 | |
| 11761 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 11762 | ifeq ($(NO_PROTOBUF),true) |
| 11763 | |
| 11764 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11765 | |
| 11766 | $(BINDIR)/$(CONFIG)/reconnect_interop_server: protobuf_dep_error |
| 11767 | |
| 11768 | else |
| 11769 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11770 | $(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] | 11771 | $(E) "[LD] Linking $@" |
| 11772 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11773 | $(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] | 11774 | |
| 11775 | endif |
| 11776 | |
| 11777 | endif |
| 11778 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11779 | $(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] | 11780 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11781 | $(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] | 11782 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11783 | $(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] | 11784 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11785 | $(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] | 11786 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 11787 | deps_reconnect_interop_server: $(RECONNECT_INTEROP_SERVER_OBJS:.o=.dep) |
| 11788 | |
| 11789 | ifneq ($(NO_SECURE),true) |
| 11790 | ifneq ($(NO_DEPS),true) |
| 11791 | -include $(RECONNECT_INTEROP_SERVER_OBJS:.o=.dep) |
| 11792 | endif |
| 11793 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11794 | $(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] | 11795 | |
| 11796 | |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 11797 | SECURE_AUTH_CONTEXT_TEST_SRC = \ |
| 11798 | test/cpp/common/secure_auth_context_test.cc \ |
| 11799 | |
| 11800 | SECURE_AUTH_CONTEXT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_AUTH_CONTEXT_TEST_SRC)))) |
| 11801 | ifeq ($(NO_SECURE),true) |
| 11802 | |
yang-g | 96a643a | 2015-07-09 13:11:53 -0700 | [diff] [blame] | 11803 | # You can't build secure targets if you don't have OpenSSL. |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 11804 | |
| 11805 | $(BINDIR)/$(CONFIG)/secure_auth_context_test: openssl_dep_error |
| 11806 | |
| 11807 | else |
| 11808 | |
| 11809 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11810 | |
| 11811 | |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 11812 | ifeq ($(NO_PROTOBUF),true) |
| 11813 | |
| 11814 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11815 | |
| 11816 | $(BINDIR)/$(CONFIG)/secure_auth_context_test: protobuf_dep_error |
| 11817 | |
| 11818 | else |
| 11819 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11820 | $(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] | 11821 | $(E) "[LD] Linking $@" |
| 11822 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11823 | $(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] | 11824 | |
| 11825 | endif |
| 11826 | |
| 11827 | endif |
| 11828 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11829 | $(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] | 11830 | |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 11831 | deps_secure_auth_context_test: $(SECURE_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 11832 | |
| 11833 | ifneq ($(NO_SECURE),true) |
| 11834 | ifneq ($(NO_DEPS),true) |
| 11835 | -include $(SECURE_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 11836 | endif |
| 11837 | endif |
| 11838 | |
| 11839 | |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 11840 | SECURE_SYNC_UNARY_PING_PONG_TEST_SRC = \ |
| 11841 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc \ |
| 11842 | |
| 11843 | SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_SYNC_UNARY_PING_PONG_TEST_SRC)))) |
| 11844 | ifeq ($(NO_SECURE),true) |
| 11845 | |
| 11846 | # You can't build secure targets if you don't have OpenSSL. |
| 11847 | |
| 11848 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test: openssl_dep_error |
| 11849 | |
| 11850 | else |
| 11851 | |
| 11852 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11853 | |
| 11854 | |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 11855 | ifeq ($(NO_PROTOBUF),true) |
| 11856 | |
| 11857 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11858 | |
| 11859 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test: protobuf_dep_error |
| 11860 | |
| 11861 | else |
| 11862 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11863 | $(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] | 11864 | $(E) "[LD] Linking $@" |
| 11865 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11866 | $(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] | 11867 | |
| 11868 | endif |
| 11869 | |
| 11870 | endif |
| 11871 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11872 | $(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] | 11873 | |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 11874 | deps_secure_sync_unary_ping_pong_test: $(SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS:.o=.dep) |
| 11875 | |
| 11876 | ifneq ($(NO_SECURE),true) |
| 11877 | ifneq ($(NO_DEPS),true) |
| 11878 | -include $(SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS:.o=.dep) |
| 11879 | endif |
| 11880 | endif |
| 11881 | |
| 11882 | |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 11883 | SERVER_BUILDER_PLUGIN_TEST_SRC = \ |
| 11884 | test/cpp/end2end/server_builder_plugin_test.cc \ |
| 11885 | |
| 11886 | SERVER_BUILDER_PLUGIN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_BUILDER_PLUGIN_TEST_SRC)))) |
| 11887 | ifeq ($(NO_SECURE),true) |
| 11888 | |
| 11889 | # You can't build secure targets if you don't have OpenSSL. |
| 11890 | |
| 11891 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test: openssl_dep_error |
| 11892 | |
| 11893 | else |
| 11894 | |
| 11895 | |
| 11896 | |
| 11897 | |
| 11898 | ifeq ($(NO_PROTOBUF),true) |
| 11899 | |
| 11900 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11901 | |
| 11902 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test: protobuf_dep_error |
| 11903 | |
| 11904 | else |
| 11905 | |
| 11906 | $(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 |
| 11907 | $(E) "[LD] Linking $@" |
| 11908 | $(Q) mkdir -p `dirname $@` |
| 11909 | $(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 |
| 11910 | |
| 11911 | endif |
| 11912 | |
| 11913 | endif |
| 11914 | |
| 11915 | $(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 |
| 11916 | |
| 11917 | deps_server_builder_plugin_test: $(SERVER_BUILDER_PLUGIN_TEST_OBJS:.o=.dep) |
| 11918 | |
| 11919 | ifneq ($(NO_SECURE),true) |
| 11920 | ifneq ($(NO_DEPS),true) |
| 11921 | -include $(SERVER_BUILDER_PLUGIN_TEST_OBJS:.o=.dep) |
| 11922 | endif |
| 11923 | endif |
| 11924 | |
| 11925 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11926 | SERVER_CRASH_TEST_SRC = \ |
| 11927 | test/cpp/end2end/server_crash_test.cc \ |
| 11928 | |
| 11929 | SERVER_CRASH_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_CRASH_TEST_SRC)))) |
| 11930 | ifeq ($(NO_SECURE),true) |
| 11931 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11932 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11933 | |
| 11934 | $(BINDIR)/$(CONFIG)/server_crash_test: openssl_dep_error |
| 11935 | |
| 11936 | else |
| 11937 | |
| 11938 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11939 | |
| 11940 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11941 | ifeq ($(NO_PROTOBUF),true) |
| 11942 | |
| 11943 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11944 | |
| 11945 | $(BINDIR)/$(CONFIG)/server_crash_test: protobuf_dep_error |
| 11946 | |
| 11947 | else |
| 11948 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11949 | $(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] | 11950 | $(E) "[LD] Linking $@" |
| 11951 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11952 | $(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] | 11953 | |
| 11954 | endif |
| 11955 | |
| 11956 | endif |
| 11957 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11958 | $(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] | 11959 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11960 | deps_server_crash_test: $(SERVER_CRASH_TEST_OBJS:.o=.dep) |
| 11961 | |
| 11962 | ifneq ($(NO_SECURE),true) |
| 11963 | ifneq ($(NO_DEPS),true) |
| 11964 | -include $(SERVER_CRASH_TEST_OBJS:.o=.dep) |
| 11965 | endif |
| 11966 | endif |
| 11967 | |
| 11968 | |
| 11969 | SERVER_CRASH_TEST_CLIENT_SRC = \ |
| 11970 | test/cpp/end2end/server_crash_test_client.cc \ |
| 11971 | |
| 11972 | SERVER_CRASH_TEST_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_CRASH_TEST_CLIENT_SRC)))) |
| 11973 | ifeq ($(NO_SECURE),true) |
| 11974 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11975 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11976 | |
| 11977 | $(BINDIR)/$(CONFIG)/server_crash_test_client: openssl_dep_error |
| 11978 | |
| 11979 | else |
| 11980 | |
| 11981 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11982 | |
| 11983 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11984 | ifeq ($(NO_PROTOBUF),true) |
| 11985 | |
| 11986 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11987 | |
| 11988 | $(BINDIR)/$(CONFIG)/server_crash_test_client: protobuf_dep_error |
| 11989 | |
| 11990 | else |
| 11991 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11992 | $(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] | 11993 | $(E) "[LD] Linking $@" |
| 11994 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11995 | $(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] | 11996 | |
| 11997 | endif |
| 11998 | |
| 11999 | endif |
| 12000 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12001 | $(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] | 12002 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 12003 | deps_server_crash_test_client: $(SERVER_CRASH_TEST_CLIENT_OBJS:.o=.dep) |
| 12004 | |
| 12005 | ifneq ($(NO_SECURE),true) |
| 12006 | ifneq ($(NO_DEPS),true) |
| 12007 | -include $(SERVER_CRASH_TEST_CLIENT_OBJS:.o=.dep) |
| 12008 | endif |
| 12009 | endif |
| 12010 | |
| 12011 | |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 12012 | SHUTDOWN_TEST_SRC = \ |
| 12013 | test/cpp/end2end/shutdown_test.cc \ |
| 12014 | |
| 12015 | SHUTDOWN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SHUTDOWN_TEST_SRC)))) |
| 12016 | ifeq ($(NO_SECURE),true) |
| 12017 | |
| 12018 | # You can't build secure targets if you don't have OpenSSL. |
| 12019 | |
| 12020 | $(BINDIR)/$(CONFIG)/shutdown_test: openssl_dep_error |
| 12021 | |
| 12022 | else |
| 12023 | |
| 12024 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12025 | |
| 12026 | |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 12027 | ifeq ($(NO_PROTOBUF),true) |
| 12028 | |
| 12029 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12030 | |
| 12031 | $(BINDIR)/$(CONFIG)/shutdown_test: protobuf_dep_error |
| 12032 | |
| 12033 | else |
| 12034 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12035 | $(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] | 12036 | $(E) "[LD] Linking $@" |
| 12037 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12038 | $(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] | 12039 | |
| 12040 | endif |
| 12041 | |
| 12042 | endif |
| 12043 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12044 | $(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] | 12045 | |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 12046 | deps_shutdown_test: $(SHUTDOWN_TEST_OBJS:.o=.dep) |
| 12047 | |
| 12048 | ifneq ($(NO_SECURE),true) |
| 12049 | ifneq ($(NO_DEPS),true) |
| 12050 | -include $(SHUTDOWN_TEST_OBJS:.o=.dep) |
| 12051 | endif |
| 12052 | endif |
| 12053 | |
| 12054 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12055 | STATUS_TEST_SRC = \ |
| 12056 | test/cpp/util/status_test.cc \ |
| 12057 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 12058 | STATUS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(STATUS_TEST_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12059 | ifeq ($(NO_SECURE),true) |
| 12060 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12061 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12062 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 12063 | $(BINDIR)/$(CONFIG)/status_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12064 | |
| 12065 | else |
| 12066 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12067 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12068 | |
| 12069 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12070 | ifeq ($(NO_PROTOBUF),true) |
| 12071 | |
| 12072 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12073 | |
| 12074 | $(BINDIR)/$(CONFIG)/status_test: protobuf_dep_error |
| 12075 | |
| 12076 | else |
| 12077 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12078 | $(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] | 12079 | $(E) "[LD] Linking $@" |
| 12080 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12081 | $(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] | 12082 | |
| 12083 | endif |
| 12084 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 12085 | endif |
| 12086 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12087 | $(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] | 12088 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 12089 | deps_status_test: $(STATUS_TEST_OBJS:.o=.dep) |
| 12090 | |
| 12091 | ifneq ($(NO_SECURE),true) |
| 12092 | ifneq ($(NO_DEPS),true) |
| 12093 | -include $(STATUS_TEST_OBJS:.o=.dep) |
| 12094 | endif |
| 12095 | endif |
| 12096 | |
| 12097 | |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 12098 | STREAMING_THROUGHPUT_TEST_SRC = \ |
| 12099 | test/cpp/end2end/streaming_throughput_test.cc \ |
| 12100 | |
| 12101 | STREAMING_THROUGHPUT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(STREAMING_THROUGHPUT_TEST_SRC)))) |
| 12102 | ifeq ($(NO_SECURE),true) |
| 12103 | |
| 12104 | # You can't build secure targets if you don't have OpenSSL. |
| 12105 | |
| 12106 | $(BINDIR)/$(CONFIG)/streaming_throughput_test: openssl_dep_error |
| 12107 | |
| 12108 | else |
| 12109 | |
| 12110 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12111 | |
| 12112 | |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 12113 | ifeq ($(NO_PROTOBUF),true) |
| 12114 | |
| 12115 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12116 | |
| 12117 | $(BINDIR)/$(CONFIG)/streaming_throughput_test: protobuf_dep_error |
| 12118 | |
| 12119 | else |
| 12120 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12121 | $(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] | 12122 | $(E) "[LD] Linking $@" |
| 12123 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12124 | $(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] | 12125 | |
| 12126 | endif |
| 12127 | |
| 12128 | endif |
| 12129 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12130 | $(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] | 12131 | |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 12132 | deps_streaming_throughput_test: $(STREAMING_THROUGHPUT_TEST_OBJS:.o=.dep) |
| 12133 | |
| 12134 | ifneq ($(NO_SECURE),true) |
| 12135 | ifneq ($(NO_DEPS),true) |
| 12136 | -include $(STREAMING_THROUGHPUT_TEST_OBJS:.o=.dep) |
| 12137 | endif |
| 12138 | endif |
| 12139 | |
| 12140 | |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 12141 | STRESS_TEST_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 12142 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 12143 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 12144 | $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc \ |
| 12145 | $(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] | 12146 | test/cpp/interop/interop_client.cc \ |
| 12147 | test/cpp/interop/stress_interop_client.cc \ |
| 12148 | test/cpp/interop/stress_test.cc \ |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 12149 | test/cpp/util/metrics_server.cc \ |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 12150 | |
| 12151 | STRESS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(STRESS_TEST_SRC)))) |
| 12152 | ifeq ($(NO_SECURE),true) |
| 12153 | |
| 12154 | # You can't build secure targets if you don't have OpenSSL. |
| 12155 | |
| 12156 | $(BINDIR)/$(CONFIG)/stress_test: openssl_dep_error |
| 12157 | |
| 12158 | else |
| 12159 | |
| 12160 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12161 | |
| 12162 | |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 12163 | ifeq ($(NO_PROTOBUF),true) |
| 12164 | |
| 12165 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12166 | |
| 12167 | $(BINDIR)/$(CONFIG)/stress_test: protobuf_dep_error |
| 12168 | |
| 12169 | else |
| 12170 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12171 | $(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] | 12172 | $(E) "[LD] Linking $@" |
| 12173 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12174 | $(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] | 12175 | |
| 12176 | endif |
| 12177 | |
| 12178 | endif |
| 12179 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12180 | $(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] | 12181 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12182 | $(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] | 12183 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12184 | $(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] | 12185 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12186 | $(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] | 12187 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12188 | $(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] | 12189 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12190 | $(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] | 12191 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12192 | $(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] | 12193 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12194 | $(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] | 12195 | |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 12196 | deps_stress_test: $(STRESS_TEST_OBJS:.o=.dep) |
| 12197 | |
| 12198 | ifneq ($(NO_SECURE),true) |
| 12199 | ifneq ($(NO_DEPS),true) |
| 12200 | -include $(STRESS_TEST_OBJS:.o=.dep) |
| 12201 | endif |
| 12202 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 12203 | $(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 |
| 12204 | $(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 |
| 12205 | $(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 |
| 12206 | $(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] | 12207 | |
| 12208 | |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 12209 | THREAD_STRESS_TEST_SRC = \ |
| 12210 | test/cpp/end2end/thread_stress_test.cc \ |
| 12211 | |
| 12212 | THREAD_STRESS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(THREAD_STRESS_TEST_SRC)))) |
| 12213 | ifeq ($(NO_SECURE),true) |
| 12214 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12215 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 12216 | |
| 12217 | $(BINDIR)/$(CONFIG)/thread_stress_test: openssl_dep_error |
| 12218 | |
| 12219 | else |
| 12220 | |
| 12221 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12222 | |
| 12223 | |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 12224 | ifeq ($(NO_PROTOBUF),true) |
| 12225 | |
| 12226 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12227 | |
| 12228 | $(BINDIR)/$(CONFIG)/thread_stress_test: protobuf_dep_error |
| 12229 | |
| 12230 | else |
| 12231 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12232 | $(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] | 12233 | $(E) "[LD] Linking $@" |
| 12234 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12235 | $(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] | 12236 | |
| 12237 | endif |
| 12238 | |
| 12239 | endif |
| 12240 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12241 | $(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] | 12242 | |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 12243 | deps_thread_stress_test: $(THREAD_STRESS_TEST_OBJS:.o=.dep) |
| 12244 | |
| 12245 | ifneq ($(NO_SECURE),true) |
| 12246 | ifneq ($(NO_DEPS),true) |
| 12247 | -include $(THREAD_STRESS_TEST_OBJS:.o=.dep) |
| 12248 | endif |
| 12249 | endif |
| 12250 | |
| 12251 | |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12252 | PUBLIC_HEADERS_MUST_BE_C89_SRC = \ |
| 12253 | test/core/surface/public_headers_must_be_c89.c \ |
| 12254 | |
| 12255 | PUBLIC_HEADERS_MUST_BE_C89_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(PUBLIC_HEADERS_MUST_BE_C89_SRC)))) |
| 12256 | ifeq ($(NO_SECURE),true) |
| 12257 | |
| 12258 | # You can't build secure targets if you don't have OpenSSL. |
| 12259 | |
| 12260 | $(BINDIR)/$(CONFIG)/public_headers_must_be_c89: openssl_dep_error |
| 12261 | |
| 12262 | else |
| 12263 | |
| 12264 | |
| 12265 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12266 | $(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] | 12267 | $(E) "[LD] Linking $@" |
| 12268 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12269 | $(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] | 12270 | |
| 12271 | endif |
| 12272 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12273 | $(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] | 12274 | $(OBJDIR)/$(CONFIG)/test/core/surface/public_headers_must_be_c89.o : test/core/surface/public_headers_must_be_c89.c |
| 12275 | $(E) "[C] Compiling $<" |
| 12276 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 12277 | $(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] | 12278 | |
| 12279 | deps_public_headers_must_be_c89: $(PUBLIC_HEADERS_MUST_BE_C89_OBJS:.o=.dep) |
| 12280 | |
| 12281 | ifneq ($(NO_SECURE),true) |
| 12282 | ifneq ($(NO_DEPS),true) |
| 12283 | -include $(PUBLIC_HEADERS_MUST_BE_C89_OBJS:.o=.dep) |
| 12284 | endif |
| 12285 | endif |
| 12286 | |
| 12287 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 12288 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12289 | # boringssl needs an override to ensure that it does not include |
| 12290 | # system openssl headers regardless of other configuration |
| 12291 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12292 | $(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] | 12293 | $(BORINGSSL_AES_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12294 | $(BORINGSSL_AES_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 12295 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12296 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12297 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12298 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12299 | # 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] | 12300 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12301 | $(BINDIR)/$(CONFIG)/boringssl_aes_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12302 | |
| 12303 | else |
| 12304 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12305 | $(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] | 12306 | $(E) "[LD] Linking $@" |
| 12307 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12308 | $(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] | 12309 | |
| 12310 | endif |
| 12311 | |
| 12312 | |
| 12313 | |
| 12314 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12315 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12316 | # boringssl needs an override to ensure that it does not include |
| 12317 | # system openssl headers regardless of other configuration |
| 12318 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12319 | $(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] | 12320 | $(BORINGSSL_ASN1_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12321 | $(BORINGSSL_ASN1_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
| 12322 | |
| 12323 | |
| 12324 | ifeq ($(NO_PROTOBUF),true) |
| 12325 | |
| 12326 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12327 | |
| 12328 | $(BINDIR)/$(CONFIG)/boringssl_asn1_test: protobuf_dep_error |
| 12329 | |
| 12330 | else |
| 12331 | |
| 12332 | $(BINDIR)/$(CONFIG)/boringssl_asn1_test: $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
| 12333 | $(E) "[LD] Linking $@" |
| 12334 | $(Q) mkdir -p `dirname $@` |
| 12335 | $(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 |
| 12336 | |
| 12337 | endif |
| 12338 | |
| 12339 | |
| 12340 | |
| 12341 | |
| 12342 | |
| 12343 | # boringssl needs an override to ensure that it does not include |
| 12344 | # system openssl headers regardless of other configuration |
| 12345 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12346 | $(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] | 12347 | $(BORINGSSL_BASE64_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12348 | $(BORINGSSL_BASE64_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12349 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12350 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12351 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12352 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12353 | # 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] | 12354 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12355 | $(BINDIR)/$(CONFIG)/boringssl_base64_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12356 | |
| 12357 | else |
| 12358 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12359 | $(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] | 12360 | $(E) "[LD] Linking $@" |
| 12361 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12362 | $(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] | 12363 | |
| 12364 | endif |
| 12365 | |
| 12366 | |
| 12367 | |
| 12368 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12369 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12370 | # boringssl needs an override to ensure that it does not include |
| 12371 | # system openssl headers regardless of other configuration |
| 12372 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12373 | $(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] | 12374 | $(BORINGSSL_BIO_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12375 | $(BORINGSSL_BIO_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12376 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12377 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12378 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12379 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12380 | # 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] | 12381 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12382 | $(BINDIR)/$(CONFIG)/boringssl_bio_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12383 | |
| 12384 | else |
| 12385 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12386 | $(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] | 12387 | $(E) "[LD] Linking $@" |
| 12388 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12389 | $(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] | 12390 | |
| 12391 | endif |
| 12392 | |
| 12393 | |
| 12394 | |
| 12395 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12396 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12397 | # boringssl needs an override to ensure that it does not include |
| 12398 | # system openssl headers regardless of other configuration |
| 12399 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12400 | $(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] | 12401 | $(BORINGSSL_BN_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12402 | $(BORINGSSL_BN_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12403 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12404 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12405 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12406 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12407 | # 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] | 12408 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12409 | $(BINDIR)/$(CONFIG)/boringssl_bn_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12410 | |
| 12411 | else |
| 12412 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12413 | $(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] | 12414 | $(E) "[LD] Linking $@" |
| 12415 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12416 | $(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] | 12417 | |
| 12418 | endif |
| 12419 | |
| 12420 | |
| 12421 | |
| 12422 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12423 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12424 | # boringssl needs an override to ensure that it does not include |
| 12425 | # system openssl headers regardless of other configuration |
| 12426 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12427 | $(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] | 12428 | $(BORINGSSL_BYTESTRING_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12429 | $(BORINGSSL_BYTESTRING_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12430 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12431 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12432 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12433 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12434 | # 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] | 12435 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12436 | $(BINDIR)/$(CONFIG)/boringssl_bytestring_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12437 | |
| 12438 | else |
| 12439 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12440 | $(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] | 12441 | $(E) "[LD] Linking $@" |
| 12442 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12443 | $(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] | 12444 | |
| 12445 | endif |
| 12446 | |
| 12447 | |
| 12448 | |
| 12449 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12450 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12451 | # boringssl needs an override to ensure that it does not include |
| 12452 | # system openssl headers regardless of other configuration |
| 12453 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12454 | $(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] | 12455 | $(BORINGSSL_AEAD_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12456 | $(BORINGSSL_AEAD_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12457 | |
Craig Tiller | aae3b8c | 2015-12-10 14:43:04 -0800 | [diff] [blame] | 12458 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12459 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | aae3b8c | 2015-12-10 14:43:04 -0800 | [diff] [blame] | 12460 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12461 | # 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] | 12462 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12463 | $(BINDIR)/$(CONFIG)/boringssl_aead_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12464 | |
| 12465 | else |
| 12466 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12467 | $(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] | 12468 | $(E) "[LD] Linking $@" |
| 12469 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12470 | $(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] | 12471 | |
| 12472 | endif |
| 12473 | |
| 12474 | |
| 12475 | |
| 12476 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12477 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12478 | # boringssl needs an override to ensure that it does not include |
| 12479 | # system openssl headers regardless of other configuration |
| 12480 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12481 | $(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] | 12482 | $(BORINGSSL_CIPHER_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12483 | $(BORINGSSL_CIPHER_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12484 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12485 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12486 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12487 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12488 | # 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] | 12489 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12490 | $(BINDIR)/$(CONFIG)/boringssl_cipher_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12491 | |
| 12492 | else |
| 12493 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12494 | $(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] | 12495 | $(E) "[LD] Linking $@" |
| 12496 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12497 | $(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] | 12498 | |
| 12499 | endif |
| 12500 | |
| 12501 | |
| 12502 | |
| 12503 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12504 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12505 | # boringssl needs an override to ensure that it does not include |
| 12506 | # system openssl headers regardless of other configuration |
| 12507 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12508 | $(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] | 12509 | $(BORINGSSL_CMAC_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12510 | $(BORINGSSL_CMAC_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12511 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12512 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12513 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12514 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12515 | # 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] | 12516 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12517 | $(BINDIR)/$(CONFIG)/boringssl_cmac_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12518 | |
| 12519 | else |
| 12520 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12521 | $(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] | 12522 | $(E) "[LD] Linking $@" |
| 12523 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12524 | $(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] | 12525 | |
| 12526 | endif |
| 12527 | |
| 12528 | |
| 12529 | |
| 12530 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12531 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12532 | # boringssl needs an override to ensure that it does not include |
| 12533 | # system openssl headers regardless of other configuration |
| 12534 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12535 | $(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] | 12536 | $(BORINGSSL_CONSTANT_TIME_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12537 | $(BORINGSSL_CONSTANT_TIME_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12538 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12539 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12540 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12541 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12542 | # 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] | 12543 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12544 | $(BINDIR)/$(CONFIG)/boringssl_constant_time_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12545 | |
| 12546 | else |
| 12547 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12548 | $(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] | 12549 | $(E) "[LD] Linking $@" |
| 12550 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12551 | $(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] | 12552 | |
| 12553 | endif |
| 12554 | |
| 12555 | |
| 12556 | |
| 12557 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12558 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12559 | # boringssl needs an override to ensure that it does not include |
| 12560 | # system openssl headers regardless of other configuration |
| 12561 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12562 | $(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] | 12563 | $(BORINGSSL_ED25519_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12564 | $(BORINGSSL_ED25519_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12565 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12566 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12567 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12568 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12569 | # 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] | 12570 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12571 | $(BINDIR)/$(CONFIG)/boringssl_ed25519_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12572 | |
| 12573 | else |
| 12574 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12575 | $(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] | 12576 | $(E) "[LD] Linking $@" |
| 12577 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12578 | $(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] | 12579 | |
| 12580 | endif |
| 12581 | |
| 12582 | |
| 12583 | |
| 12584 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12585 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12586 | # boringssl needs an override to ensure that it does not include |
| 12587 | # system openssl headers regardless of other configuration |
| 12588 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12589 | $(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] | 12590 | $(BORINGSSL_X25519_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12591 | $(BORINGSSL_X25519_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12592 | |
| 12593 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12594 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12595 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12596 | # 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] | 12597 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12598 | $(BINDIR)/$(CONFIG)/boringssl_x25519_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12599 | |
| 12600 | else |
| 12601 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12602 | $(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] | 12603 | $(E) "[LD] Linking $@" |
| 12604 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12605 | $(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] | 12606 | |
| 12607 | endif |
| 12608 | |
| 12609 | |
| 12610 | |
| 12611 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12612 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12613 | # boringssl needs an override to ensure that it does not include |
| 12614 | # system openssl headers regardless of other configuration |
| 12615 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12616 | $(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] | 12617 | $(BORINGSSL_DH_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12618 | $(BORINGSSL_DH_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12619 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12620 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12621 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12622 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12623 | # 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] | 12624 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12625 | $(BINDIR)/$(CONFIG)/boringssl_dh_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12626 | |
| 12627 | else |
| 12628 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12629 | $(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] | 12630 | $(E) "[LD] Linking $@" |
| 12631 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12632 | $(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] | 12633 | |
| 12634 | endif |
| 12635 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12636 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12637 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12638 | |
| 12639 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12640 | # boringssl needs an override to ensure that it does not include |
| 12641 | # system openssl headers regardless of other configuration |
| 12642 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12643 | $(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] | 12644 | $(BORINGSSL_DIGEST_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12645 | $(BORINGSSL_DIGEST_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12646 | |
| 12647 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12648 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12649 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12650 | # 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] | 12651 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12652 | $(BINDIR)/$(CONFIG)/boringssl_digest_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12653 | |
| 12654 | else |
| 12655 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12656 | $(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] | 12657 | $(E) "[LD] Linking $@" |
| 12658 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12659 | $(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] | 12660 | |
| 12661 | endif |
| 12662 | |
| 12663 | |
| 12664 | |
| 12665 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12666 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12667 | # boringssl needs an override to ensure that it does not include |
| 12668 | # system openssl headers regardless of other configuration |
| 12669 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12670 | $(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] | 12671 | $(BORINGSSL_DSA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12672 | $(BORINGSSL_DSA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12673 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12674 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12675 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12676 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12677 | # 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] | 12678 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12679 | $(BINDIR)/$(CONFIG)/boringssl_dsa_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12680 | |
| 12681 | else |
| 12682 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12683 | $(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] | 12684 | $(E) "[LD] Linking $@" |
| 12685 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12686 | $(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] | 12687 | |
| 12688 | endif |
| 12689 | |
| 12690 | |
| 12691 | |
| 12692 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12693 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12694 | # boringssl needs an override to ensure that it does not include |
| 12695 | # system openssl headers regardless of other configuration |
| 12696 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12697 | $(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] | 12698 | $(BORINGSSL_EC_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12699 | $(BORINGSSL_EC_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12700 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12701 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12702 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12703 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12704 | # 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] | 12705 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12706 | $(BINDIR)/$(CONFIG)/boringssl_ec_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12707 | |
| 12708 | else |
| 12709 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12710 | $(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] | 12711 | $(E) "[LD] Linking $@" |
| 12712 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12713 | $(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] | 12714 | |
| 12715 | endif |
| 12716 | |
| 12717 | |
| 12718 | |
| 12719 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12720 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12721 | # boringssl needs an override to ensure that it does not include |
| 12722 | # system openssl headers regardless of other configuration |
| 12723 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12724 | $(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] | 12725 | $(BORINGSSL_EXAMPLE_MUL_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12726 | $(BORINGSSL_EXAMPLE_MUL_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12727 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12728 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12729 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12730 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12731 | # 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] | 12732 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12733 | $(BINDIR)/$(CONFIG)/boringssl_example_mul: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12734 | |
| 12735 | else |
| 12736 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12737 | $(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] | 12738 | $(E) "[LD] Linking $@" |
| 12739 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12740 | $(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] | 12741 | |
| 12742 | endif |
| 12743 | |
| 12744 | |
| 12745 | |
| 12746 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12747 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12748 | # boringssl needs an override to ensure that it does not include |
| 12749 | # system openssl headers regardless of other configuration |
| 12750 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12751 | $(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] | 12752 | $(BORINGSSL_ECDSA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12753 | $(BORINGSSL_ECDSA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12754 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12755 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12756 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12757 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12758 | # 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] | 12759 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12760 | $(BINDIR)/$(CONFIG)/boringssl_ecdsa_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12761 | |
| 12762 | else |
| 12763 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12764 | $(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] | 12765 | $(E) "[LD] Linking $@" |
| 12766 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12767 | $(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] | 12768 | |
| 12769 | endif |
| 12770 | |
| 12771 | |
| 12772 | |
| 12773 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12774 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12775 | # boringssl needs an override to ensure that it does not include |
| 12776 | # system openssl headers regardless of other configuration |
| 12777 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12778 | $(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] | 12779 | $(BORINGSSL_ERR_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12780 | $(BORINGSSL_ERR_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12781 | |
| 12782 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12783 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12784 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12785 | # 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] | 12786 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12787 | $(BINDIR)/$(CONFIG)/boringssl_err_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12788 | |
| 12789 | else |
| 12790 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12791 | $(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] | 12792 | $(E) "[LD] Linking $@" |
| 12793 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12794 | $(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] | 12795 | |
| 12796 | endif |
| 12797 | |
| 12798 | |
| 12799 | |
| 12800 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12801 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12802 | # boringssl needs an override to ensure that it does not include |
| 12803 | # system openssl headers regardless of other configuration |
| 12804 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12805 | $(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] | 12806 | $(BORINGSSL_EVP_EXTRA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12807 | $(BORINGSSL_EVP_EXTRA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12808 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 12809 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12810 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12811 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12812 | # 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] | 12813 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12814 | $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12815 | |
| 12816 | else |
| 12817 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12818 | $(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] | 12819 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 12820 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12821 | $(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] | 12822 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12823 | endif |
| 12824 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 12825 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12826 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12827 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12828 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12829 | # boringssl needs an override to ensure that it does not include |
| 12830 | # system openssl headers regardless of other configuration |
| 12831 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12832 | $(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] | 12833 | $(BORINGSSL_EVP_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12834 | $(BORINGSSL_EVP_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12835 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12836 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12837 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12838 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12839 | # 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] | 12840 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12841 | $(BINDIR)/$(CONFIG)/boringssl_evp_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12842 | |
| 12843 | else |
| 12844 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12845 | $(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] | 12846 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 12847 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12848 | $(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] | 12849 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12850 | endif |
| 12851 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 12852 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12853 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12854 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12855 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12856 | # boringssl needs an override to ensure that it does not include |
| 12857 | # system openssl headers regardless of other configuration |
| 12858 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12859 | $(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] | 12860 | $(BORINGSSL_PBKDF_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12861 | $(BORINGSSL_PBKDF_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12862 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12863 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12864 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12865 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12866 | # 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] | 12867 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12868 | $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12869 | |
| 12870 | else |
| 12871 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12872 | $(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] | 12873 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 12874 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12875 | $(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] | 12876 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12877 | endif |
| 12878 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 12879 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12880 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 12881 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 12882 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12883 | # boringssl needs an override to ensure that it does not include |
| 12884 | # system openssl headers regardless of other configuration |
| 12885 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12886 | $(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] | 12887 | $(BORINGSSL_HKDF_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12888 | $(BORINGSSL_HKDF_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12889 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 12890 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12891 | ifeq ($(NO_PROTOBUF),true) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 12892 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12893 | # 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] | 12894 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12895 | $(BINDIR)/$(CONFIG)/boringssl_hkdf_test: protobuf_dep_error |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 12896 | |
| 12897 | else |
| 12898 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12899 | $(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] | 12900 | $(E) "[LD] Linking $@" |
| 12901 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12902 | $(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] | 12903 | |
| 12904 | endif |
| 12905 | |
| 12906 | |
| 12907 | |
| 12908 | |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 12909 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12910 | # boringssl needs an override to ensure that it does not include |
| 12911 | # system openssl headers regardless of other configuration |
| 12912 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12913 | $(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] | 12914 | $(BORINGSSL_HMAC_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12915 | $(BORINGSSL_HMAC_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 12916 | |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 12917 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12918 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 12919 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12920 | # 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] | 12921 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12922 | $(BINDIR)/$(CONFIG)/boringssl_hmac_test: protobuf_dep_error |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 12923 | |
| 12924 | else |
| 12925 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12926 | $(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] | 12927 | $(E) "[LD] Linking $@" |
| 12928 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12929 | $(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] | 12930 | |
| 12931 | endif |
| 12932 | |
| 12933 | |
| 12934 | |
| 12935 | |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 12936 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12937 | # boringssl needs an override to ensure that it does not include |
| 12938 | # system openssl headers regardless of other configuration |
| 12939 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12940 | $(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] | 12941 | $(BORINGSSL_LHASH_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12942 | $(BORINGSSL_LHASH_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 12943 | |
ctiller | c6d61c4 | 2014-12-15 14:52:08 -0800 | [diff] [blame] | 12944 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12945 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12946 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12947 | # 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] | 12948 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12949 | $(BINDIR)/$(CONFIG)/boringssl_lhash_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12950 | |
| 12951 | else |
| 12952 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12953 | $(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] | 12954 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 12955 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12956 | $(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] | 12957 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12958 | endif |
| 12959 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 12960 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12961 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12962 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12963 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12964 | # boringssl needs an override to ensure that it does not include |
| 12965 | # system openssl headers regardless of other configuration |
| 12966 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12967 | $(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] | 12968 | $(BORINGSSL_GCM_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12969 | $(BORINGSSL_GCM_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12970 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12971 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12972 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12973 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12974 | # 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] | 12975 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12976 | $(BINDIR)/$(CONFIG)/boringssl_gcm_test: protobuf_dep_error |
murgatroid99 | a8c21e8 | 2015-02-12 13:55:53 -0800 | [diff] [blame] | 12977 | |
| 12978 | else |
| 12979 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12980 | $(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] | 12981 | $(E) "[LD] Linking $@" |
| 12982 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12983 | $(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] | 12984 | |
| 12985 | endif |
| 12986 | |
| 12987 | |
murgatroid99 | a8c21e8 | 2015-02-12 13:55:53 -0800 | [diff] [blame] | 12988 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 12989 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 12990 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12991 | # boringssl needs an override to ensure that it does not include |
| 12992 | # system openssl headers regardless of other configuration |
| 12993 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12994 | $(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] | 12995 | $(BORINGSSL_PKCS12_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12996 | $(BORINGSSL_PKCS12_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 12997 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 12998 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12999 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13000 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13001 | # 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] | 13002 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13003 | $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13004 | |
| 13005 | else |
| 13006 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13007 | $(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] | 13008 | $(E) "[LD] Linking $@" |
| 13009 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13010 | $(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] | 13011 | |
| 13012 | endif |
| 13013 | |
| 13014 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13015 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13016 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13017 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13018 | # boringssl needs an override to ensure that it does not include |
| 13019 | # system openssl headers regardless of other configuration |
| 13020 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13021 | $(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] | 13022 | $(BORINGSSL_PKCS8_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13023 | $(BORINGSSL_PKCS8_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13024 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13025 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13026 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13027 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13028 | # 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] | 13029 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13030 | $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test: protobuf_dep_error |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13031 | |
| 13032 | else |
| 13033 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13034 | $(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] | 13035 | $(E) "[LD] Linking $@" |
| 13036 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13037 | $(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] | 13038 | |
| 13039 | endif |
| 13040 | |
| 13041 | |
| 13042 | |
| 13043 | |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13044 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13045 | # boringssl needs an override to ensure that it does not include |
| 13046 | # system openssl headers regardless of other configuration |
| 13047 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13048 | $(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] | 13049 | $(BORINGSSL_POLY1305_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13050 | $(BORINGSSL_POLY1305_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13051 | |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [diff] [blame] | 13052 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13053 | ifeq ($(NO_PROTOBUF),true) |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [diff] [blame] | 13054 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13055 | # 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] | 13056 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13057 | $(BINDIR)/$(CONFIG)/boringssl_poly1305_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13058 | |
| 13059 | else |
| 13060 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13061 | $(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] | 13062 | $(E) "[LD] Linking $@" |
| 13063 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13064 | $(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] | 13065 | |
| 13066 | endif |
| 13067 | |
| 13068 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13069 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13070 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13071 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13072 | # boringssl needs an override to ensure that it does not include |
| 13073 | # system openssl headers regardless of other configuration |
| 13074 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13075 | $(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] | 13076 | $(BORINGSSL_REFCOUNT_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13077 | $(BORINGSSL_REFCOUNT_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13078 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13079 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13080 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13081 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13082 | # 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] | 13083 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13084 | $(BINDIR)/$(CONFIG)/boringssl_refcount_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13085 | |
| 13086 | else |
| 13087 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13088 | $(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] | 13089 | $(E) "[LD] Linking $@" |
| 13090 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13091 | $(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] | 13092 | |
| 13093 | endif |
| 13094 | |
| 13095 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13096 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13097 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13098 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13099 | # boringssl needs an override to ensure that it does not include |
| 13100 | # system openssl headers regardless of other configuration |
| 13101 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13102 | $(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] | 13103 | $(BORINGSSL_RSA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13104 | $(BORINGSSL_RSA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13105 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13106 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13107 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13108 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13109 | # 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] | 13110 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13111 | $(BINDIR)/$(CONFIG)/boringssl_rsa_test: protobuf_dep_error |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 13112 | |
| 13113 | else |
| 13114 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13115 | $(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] | 13116 | $(E) "[LD] Linking $@" |
| 13117 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13118 | $(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] | 13119 | |
| 13120 | endif |
| 13121 | |
| 13122 | |
| 13123 | |
| 13124 | |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 13125 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13126 | # boringssl needs an override to ensure that it does not include |
| 13127 | # system openssl headers regardless of other configuration |
| 13128 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13129 | $(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] | 13130 | $(BORINGSSL_THREAD_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13131 | $(BORINGSSL_THREAD_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13132 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13133 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13134 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13135 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13136 | # 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] | 13137 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13138 | $(BINDIR)/$(CONFIG)/boringssl_thread_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13139 | |
| 13140 | else |
| 13141 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13142 | $(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] | 13143 | $(E) "[LD] Linking $@" |
| 13144 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13145 | $(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] | 13146 | |
| 13147 | endif |
| 13148 | |
| 13149 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13150 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13151 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13152 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13153 | # boringssl needs an override to ensure that it does not include |
| 13154 | # system openssl headers regardless of other configuration |
| 13155 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13156 | $(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] | 13157 | $(BORINGSSL_PKCS7_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13158 | $(BORINGSSL_PKCS7_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13159 | |
Craig Tiller | 93ec371 | 2015-05-05 09:41:03 -0700 | [diff] [blame] | 13160 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13161 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 93ec371 | 2015-05-05 09:41:03 -0700 | [diff] [blame] | 13162 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13163 | # 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] | 13164 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13165 | $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test: protobuf_dep_error |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 13166 | |
| 13167 | else |
| 13168 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13169 | $(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] | 13170 | $(E) "[LD] Linking $@" |
| 13171 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13172 | $(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] | 13173 | |
| 13174 | endif |
| 13175 | |
| 13176 | |
| 13177 | |
| 13178 | |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 13179 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13180 | # boringssl needs an override to ensure that it does not include |
| 13181 | # system openssl headers regardless of other configuration |
| 13182 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13183 | $(BORINGSSL_X509_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
Craig Tiller | 88b9e48 | 2016-04-21 15:09:56 -0700 | [diff] [blame] | 13184 | $(BORINGSSL_X509_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13185 | $(BORINGSSL_X509_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
| 13186 | |
| 13187 | |
| 13188 | ifeq ($(NO_PROTOBUF),true) |
| 13189 | |
| 13190 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 13191 | |
| 13192 | $(BINDIR)/$(CONFIG)/boringssl_x509_test: protobuf_dep_error |
| 13193 | |
| 13194 | else |
| 13195 | |
| 13196 | $(BINDIR)/$(CONFIG)/boringssl_x509_test: $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
| 13197 | $(E) "[LD] Linking $@" |
| 13198 | $(Q) mkdir -p `dirname $@` |
| 13199 | $(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 |
| 13200 | |
| 13201 | endif |
| 13202 | |
| 13203 | |
| 13204 | |
| 13205 | |
| 13206 | |
| 13207 | # boringssl needs an override to ensure that it does not include |
| 13208 | # system openssl headers regardless of other configuration |
| 13209 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13210 | $(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] | 13211 | $(BORINGSSL_TAB_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13212 | $(BORINGSSL_TAB_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 13213 | |
| 13214 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13215 | ifeq ($(NO_PROTOBUF),true) |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 13216 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13217 | # 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] | 13218 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13219 | $(BINDIR)/$(CONFIG)/boringssl_tab_test: protobuf_dep_error |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 13220 | |
| 13221 | else |
| 13222 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13223 | $(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] | 13224 | $(E) "[LD] Linking $@" |
| 13225 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13226 | $(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] | 13227 | |
| 13228 | endif |
| 13229 | |
| 13230 | |
| 13231 | |
| 13232 | |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 13233 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13234 | # boringssl needs an override to ensure that it does not include |
| 13235 | # system openssl headers regardless of other configuration |
| 13236 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13237 | $(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] | 13238 | $(BORINGSSL_V3NAME_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13239 | $(BORINGSSL_V3NAME_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 13240 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13241 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13242 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13243 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13244 | # 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] | 13245 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13246 | $(BINDIR)/$(CONFIG)/boringssl_v3name_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13247 | |
| 13248 | else |
| 13249 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13250 | $(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] | 13251 | $(E) "[LD] Linking $@" |
| 13252 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13253 | $(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] | 13254 | |
| 13255 | endif |
| 13256 | |
| 13257 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13258 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13259 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13260 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13261 | # boringssl needs an override to ensure that it does not include |
| 13262 | # system openssl headers regardless of other configuration |
| 13263 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13264 | $(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] | 13265 | $(BORINGSSL_PQUEUE_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13266 | $(BORINGSSL_PQUEUE_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13267 | |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 13268 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13269 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 13270 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13271 | # 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] | 13272 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13273 | $(BINDIR)/$(CONFIG)/boringssl_pqueue_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13274 | |
| 13275 | else |
| 13276 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13277 | $(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] | 13278 | $(E) "[LD] Linking $@" |
| 13279 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13280 | $(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] | 13281 | |
| 13282 | endif |
| 13283 | |
| 13284 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13285 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13286 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13287 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13288 | # boringssl needs an override to ensure that it does not include |
| 13289 | # system openssl headers regardless of other configuration |
| 13290 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 13291 | $(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] | 13292 | $(BORINGSSL_SSL_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13293 | $(BORINGSSL_SSL_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13294 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13295 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13296 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13297 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13298 | # 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] | 13299 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13300 | $(BINDIR)/$(CONFIG)/boringssl_ssl_test: protobuf_dep_error |
Craig Tiller | 434a36b | 2015-05-04 09:49:22 -0700 | [diff] [blame] | 13301 | |
| 13302 | else |
| 13303 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13304 | $(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] | 13305 | $(E) "[LD] Linking $@" |
| 13306 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13307 | $(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] | 13308 | |
| 13309 | endif |
| 13310 | |
| 13311 | |
| 13312 | |
| 13313 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 13314 | BADREQ_BAD_CLIENT_TEST_SRC = \ |
| 13315 | test/core/bad_client/tests/badreq.c \ |
| 13316 | |
| 13317 | BADREQ_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BADREQ_BAD_CLIENT_TEST_SRC)))) |
| 13318 | |
| 13319 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13320 | $(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] | 13321 | $(E) "[LD] Linking $@" |
| 13322 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13323 | $(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] | 13324 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13325 | $(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] | 13326 | |
| 13327 | deps_badreq_bad_client_test: $(BADREQ_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13328 | |
| 13329 | ifneq ($(NO_DEPS),true) |
| 13330 | -include $(BADREQ_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13331 | endif |
| 13332 | |
| 13333 | |
| 13334 | CONNECTION_PREFIX_BAD_CLIENT_TEST_SRC = \ |
| 13335 | test/core/bad_client/tests/connection_prefix.c \ |
| 13336 | |
| 13337 | CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CONNECTION_PREFIX_BAD_CLIENT_TEST_SRC)))) |
| 13338 | |
| 13339 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13340 | $(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] | 13341 | $(E) "[LD] Linking $@" |
| 13342 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13343 | $(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] | 13344 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13345 | $(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] | 13346 | |
| 13347 | deps_connection_prefix_bad_client_test: $(CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13348 | |
| 13349 | ifneq ($(NO_DEPS),true) |
| 13350 | -include $(CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13351 | endif |
| 13352 | |
| 13353 | |
Craig Tiller | 307a720 | 2016-04-02 07:40:39 -0700 | [diff] [blame] | 13354 | HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_SRC = \ |
| 13355 | test/core/bad_client/tests/head_of_line_blocking.c \ |
| 13356 | |
| 13357 | HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_SRC)))) |
| 13358 | |
| 13359 | |
| 13360 | $(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 |
| 13361 | $(E) "[LD] Linking $@" |
| 13362 | $(Q) mkdir -p `dirname $@` |
| 13363 | $(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 |
| 13364 | |
| 13365 | $(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 |
| 13366 | |
| 13367 | deps_head_of_line_blocking_bad_client_test: $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13368 | |
| 13369 | ifneq ($(NO_DEPS),true) |
| 13370 | -include $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13371 | endif |
| 13372 | |
| 13373 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 13374 | HEADERS_BAD_CLIENT_TEST_SRC = \ |
| 13375 | test/core/bad_client/tests/headers.c \ |
| 13376 | |
| 13377 | HEADERS_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HEADERS_BAD_CLIENT_TEST_SRC)))) |
| 13378 | |
| 13379 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13380 | $(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] | 13381 | $(E) "[LD] Linking $@" |
| 13382 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13383 | $(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] | 13384 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13385 | $(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] | 13386 | |
| 13387 | deps_headers_bad_client_test: $(HEADERS_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13388 | |
| 13389 | ifneq ($(NO_DEPS),true) |
| 13390 | -include $(HEADERS_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13391 | endif |
| 13392 | |
| 13393 | |
| 13394 | INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_SRC = \ |
| 13395 | test/core/bad_client/tests/initial_settings_frame.c \ |
| 13396 | |
| 13397 | INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_SRC)))) |
| 13398 | |
| 13399 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13400 | $(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] | 13401 | $(E) "[LD] Linking $@" |
| 13402 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13403 | $(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] | 13404 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13405 | $(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] | 13406 | |
| 13407 | deps_initial_settings_frame_bad_client_test: $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13408 | |
| 13409 | ifneq ($(NO_DEPS),true) |
| 13410 | -include $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13411 | endif |
| 13412 | |
| 13413 | |
Mark D. Roth | 8a1d805 | 2016-05-03 10:44:56 -0700 | [diff] [blame] | 13414 | LARGE_METADATA_BAD_CLIENT_TEST_SRC = \ |
| 13415 | test/core/bad_client/tests/large_metadata.c \ |
| 13416 | |
| 13417 | LARGE_METADATA_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LARGE_METADATA_BAD_CLIENT_TEST_SRC)))) |
| 13418 | |
| 13419 | |
| 13420 | $(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 |
| 13421 | $(E) "[LD] Linking $@" |
| 13422 | $(Q) mkdir -p `dirname $@` |
| 13423 | $(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 |
| 13424 | |
| 13425 | $(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 |
| 13426 | |
| 13427 | deps_large_metadata_bad_client_test: $(LARGE_METADATA_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13428 | |
| 13429 | ifneq ($(NO_DEPS),true) |
| 13430 | -include $(LARGE_METADATA_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13431 | endif |
| 13432 | |
| 13433 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 13434 | SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_SRC = \ |
| 13435 | test/core/bad_client/tests/server_registered_method.c \ |
| 13436 | |
| 13437 | SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_SRC)))) |
| 13438 | |
| 13439 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13440 | $(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] | 13441 | $(E) "[LD] Linking $@" |
| 13442 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13443 | $(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] | 13444 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13445 | $(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] | 13446 | |
| 13447 | deps_server_registered_method_bad_client_test: $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13448 | |
| 13449 | ifneq ($(NO_DEPS),true) |
| 13450 | -include $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13451 | endif |
| 13452 | |
| 13453 | |
| 13454 | SIMPLE_REQUEST_BAD_CLIENT_TEST_SRC = \ |
| 13455 | test/core/bad_client/tests/simple_request.c \ |
| 13456 | |
| 13457 | SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SIMPLE_REQUEST_BAD_CLIENT_TEST_SRC)))) |
| 13458 | |
| 13459 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13460 | $(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] | 13461 | $(E) "[LD] Linking $@" |
| 13462 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13463 | $(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] | 13464 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13465 | $(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] | 13466 | |
| 13467 | deps_simple_request_bad_client_test: $(SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13468 | |
| 13469 | ifneq ($(NO_DEPS),true) |
| 13470 | -include $(SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13471 | endif |
| 13472 | |
| 13473 | |
| 13474 | UNKNOWN_FRAME_BAD_CLIENT_TEST_SRC = \ |
| 13475 | test/core/bad_client/tests/unknown_frame.c \ |
| 13476 | |
| 13477 | UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(UNKNOWN_FRAME_BAD_CLIENT_TEST_SRC)))) |
| 13478 | |
| 13479 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13480 | $(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] | 13481 | $(E) "[LD] Linking $@" |
| 13482 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13483 | $(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] | 13484 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13485 | $(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] | 13486 | |
| 13487 | deps_unknown_frame_bad_client_test: $(UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13488 | |
| 13489 | ifneq ($(NO_DEPS),true) |
| 13490 | -include $(UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13491 | endif |
| 13492 | |
| 13493 | |
| 13494 | WINDOW_OVERFLOW_BAD_CLIENT_TEST_SRC = \ |
| 13495 | test/core/bad_client/tests/window_overflow.c \ |
| 13496 | |
| 13497 | WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_SRC)))) |
| 13498 | |
| 13499 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13500 | $(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] | 13501 | $(E) "[LD] Linking $@" |
| 13502 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13503 | $(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] | 13504 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13505 | $(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] | 13506 | |
| 13507 | deps_window_overflow_bad_client_test: $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13508 | |
| 13509 | ifneq ($(NO_DEPS),true) |
| 13510 | -include $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13511 | endif |
| 13512 | |
| 13513 | |
| 13514 | BAD_SSL_ALPN_SERVER_SRC = \ |
| 13515 | test/core/bad_ssl/servers/alpn.c \ |
| 13516 | |
| 13517 | BAD_SSL_ALPN_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SSL_ALPN_SERVER_SRC)))) |
| 13518 | ifeq ($(NO_SECURE),true) |
| 13519 | |
| 13520 | # You can't build secure targets if you don't have OpenSSL. |
| 13521 | |
| 13522 | $(BINDIR)/$(CONFIG)/bad_ssl_alpn_server: openssl_dep_error |
| 13523 | |
| 13524 | else |
| 13525 | |
| 13526 | |
| 13527 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13528 | $(BINDIR)/$(CONFIG)/bad_ssl_alpn_server: $(BAD_SSL_ALPN_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] | 13529 | $(E) "[LD] Linking $@" |
| 13530 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13531 | $(Q) $(LD) $(LDFLAGS) $(BAD_SSL_ALPN_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_alpn_server |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 13532 | |
| 13533 | endif |
| 13534 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13535 | $(OBJDIR)/$(CONFIG)/test/core/bad_ssl/servers/alpn.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] | 13536 | |
| 13537 | deps_bad_ssl_alpn_server: $(BAD_SSL_ALPN_SERVER_OBJS:.o=.dep) |
| 13538 | |
| 13539 | ifneq ($(NO_SECURE),true) |
| 13540 | ifneq ($(NO_DEPS),true) |
| 13541 | -include $(BAD_SSL_ALPN_SERVER_OBJS:.o=.dep) |
| 13542 | endif |
| 13543 | endif |
| 13544 | |
| 13545 | |
| 13546 | BAD_SSL_CERT_SERVER_SRC = \ |
| 13547 | test/core/bad_ssl/servers/cert.c \ |
| 13548 | |
| 13549 | BAD_SSL_CERT_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SSL_CERT_SERVER_SRC)))) |
| 13550 | ifeq ($(NO_SECURE),true) |
| 13551 | |
| 13552 | # You can't build secure targets if you don't have OpenSSL. |
| 13553 | |
| 13554 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_server: openssl_dep_error |
| 13555 | |
| 13556 | else |
| 13557 | |
| 13558 | |
| 13559 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13560 | $(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] | 13561 | $(E) "[LD] Linking $@" |
| 13562 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13563 | $(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] | 13564 | |
| 13565 | endif |
| 13566 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13567 | $(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] | 13568 | |
| 13569 | deps_bad_ssl_cert_server: $(BAD_SSL_CERT_SERVER_OBJS:.o=.dep) |
| 13570 | |
| 13571 | ifneq ($(NO_SECURE),true) |
| 13572 | ifneq ($(NO_DEPS),true) |
| 13573 | -include $(BAD_SSL_CERT_SERVER_OBJS:.o=.dep) |
| 13574 | endif |
| 13575 | endif |
| 13576 | |
| 13577 | |
| 13578 | BAD_SSL_ALPN_TEST_SRC = \ |
| 13579 | test/core/bad_ssl/bad_ssl_test.c \ |
| 13580 | |
| 13581 | BAD_SSL_ALPN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SSL_ALPN_TEST_SRC)))) |
| 13582 | ifeq ($(NO_SECURE),true) |
| 13583 | |
| 13584 | # You can't build secure targets if you don't have OpenSSL. |
| 13585 | |
| 13586 | $(BINDIR)/$(CONFIG)/bad_ssl_alpn_test: openssl_dep_error |
| 13587 | |
| 13588 | else |
| 13589 | |
| 13590 | |
| 13591 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13592 | $(BINDIR)/$(CONFIG)/bad_ssl_alpn_test: $(BAD_SSL_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 | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 13593 | $(E) "[LD] Linking $@" |
| 13594 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13595 | $(Q) $(LD) $(LDFLAGS) $(BAD_SSL_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)/bad_ssl_alpn_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 13596 | |
| 13597 | endif |
| 13598 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13599 | $(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] | 13600 | |
| 13601 | deps_bad_ssl_alpn_test: $(BAD_SSL_ALPN_TEST_OBJS:.o=.dep) |
| 13602 | |
| 13603 | ifneq ($(NO_SECURE),true) |
| 13604 | ifneq ($(NO_DEPS),true) |
| 13605 | -include $(BAD_SSL_ALPN_TEST_OBJS:.o=.dep) |
| 13606 | endif |
| 13607 | endif |
| 13608 | |
| 13609 | |
| 13610 | BAD_SSL_CERT_TEST_SRC = \ |
| 13611 | test/core/bad_ssl/bad_ssl_test.c \ |
| 13612 | |
| 13613 | BAD_SSL_CERT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SSL_CERT_TEST_SRC)))) |
| 13614 | ifeq ($(NO_SECURE),true) |
| 13615 | |
| 13616 | # You can't build secure targets if you don't have OpenSSL. |
| 13617 | |
| 13618 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_test: openssl_dep_error |
| 13619 | |
| 13620 | else |
| 13621 | |
| 13622 | |
| 13623 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13624 | $(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] | 13625 | $(E) "[LD] Linking $@" |
| 13626 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13627 | $(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] | 13628 | |
| 13629 | endif |
| 13630 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13631 | $(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] | 13632 | |
| 13633 | deps_bad_ssl_cert_test: $(BAD_SSL_CERT_TEST_OBJS:.o=.dep) |
| 13634 | |
| 13635 | ifneq ($(NO_SECURE),true) |
| 13636 | ifneq ($(NO_DEPS),true) |
| 13637 | -include $(BAD_SSL_CERT_TEST_OBJS:.o=.dep) |
| 13638 | endif |
| 13639 | endif |
| 13640 | |
| 13641 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13642 | H2_CENSUS_TEST_SRC = \ |
| 13643 | test/core/end2end/fixtures/h2_census.c \ |
| 13644 | |
| 13645 | 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] | 13646 | ifeq ($(NO_SECURE),true) |
| 13647 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13648 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 434a36b | 2015-05-04 09:49:22 -0700 | [diff] [blame] | 13649 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13650 | $(BINDIR)/$(CONFIG)/h2_census_test: openssl_dep_error |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 13651 | |
| 13652 | else |
| 13653 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 13654 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 13655 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13656 | $(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] | 13657 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 13658 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13659 | $(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] | 13660 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13661 | endif |
| 13662 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13663 | $(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] | 13664 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13665 | deps_h2_census_test: $(H2_CENSUS_TEST_OBJS:.o=.dep) |
| 13666 | |
| 13667 | ifneq ($(NO_SECURE),true) |
| 13668 | ifneq ($(NO_DEPS),true) |
| 13669 | -include $(H2_CENSUS_TEST_OBJS:.o=.dep) |
| 13670 | endif |
| 13671 | endif |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 13672 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13673 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13674 | H2_COMPRESS_TEST_SRC = \ |
| 13675 | test/core/end2end/fixtures/h2_compress.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13676 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13677 | 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] | 13678 | ifeq ($(NO_SECURE),true) |
| 13679 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13680 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13681 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13682 | $(BINDIR)/$(CONFIG)/h2_compress_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13683 | |
| 13684 | else |
| 13685 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13686 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13687 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13688 | $(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] | 13689 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 13690 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13691 | $(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] | 13692 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13693 | endif |
| 13694 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13695 | $(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] | 13696 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13697 | deps_h2_compress_test: $(H2_COMPRESS_TEST_OBJS:.o=.dep) |
| 13698 | |
| 13699 | ifneq ($(NO_SECURE),true) |
| 13700 | ifneq ($(NO_DEPS),true) |
| 13701 | -include $(H2_COMPRESS_TEST_OBJS:.o=.dep) |
| 13702 | endif |
| 13703 | endif |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 13704 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13705 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13706 | H2_FAKESEC_TEST_SRC = \ |
| 13707 | test/core/end2end/fixtures/h2_fakesec.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13708 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13709 | 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] | 13710 | ifeq ($(NO_SECURE),true) |
| 13711 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13712 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13713 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13714 | $(BINDIR)/$(CONFIG)/h2_fakesec_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13715 | |
| 13716 | else |
| 13717 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13718 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13719 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13720 | $(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] | 13721 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 13722 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13723 | $(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] | 13724 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13725 | endif |
| 13726 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13727 | $(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] | 13728 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13729 | deps_h2_fakesec_test: $(H2_FAKESEC_TEST_OBJS:.o=.dep) |
| 13730 | |
| 13731 | ifneq ($(NO_SECURE),true) |
| 13732 | ifneq ($(NO_DEPS),true) |
| 13733 | -include $(H2_FAKESEC_TEST_OBJS:.o=.dep) |
| 13734 | endif |
| 13735 | endif |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 13736 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13737 | |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 13738 | H2_FD_TEST_SRC = \ |
| 13739 | test/core/end2end/fixtures/h2_fd.c \ |
| 13740 | |
| 13741 | H2_FD_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FD_TEST_SRC)))) |
| 13742 | ifeq ($(NO_SECURE),true) |
| 13743 | |
| 13744 | # You can't build secure targets if you don't have OpenSSL. |
| 13745 | |
| 13746 | $(BINDIR)/$(CONFIG)/h2_fd_test: openssl_dep_error |
| 13747 | |
| 13748 | else |
| 13749 | |
| 13750 | |
| 13751 | |
| 13752 | $(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 |
| 13753 | $(E) "[LD] Linking $@" |
| 13754 | $(Q) mkdir -p `dirname $@` |
| 13755 | $(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 |
| 13756 | |
| 13757 | endif |
| 13758 | |
| 13759 | $(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 |
| 13760 | |
| 13761 | deps_h2_fd_test: $(H2_FD_TEST_OBJS:.o=.dep) |
| 13762 | |
| 13763 | ifneq ($(NO_SECURE),true) |
| 13764 | ifneq ($(NO_DEPS),true) |
| 13765 | -include $(H2_FD_TEST_OBJS:.o=.dep) |
| 13766 | endif |
| 13767 | endif |
| 13768 | |
| 13769 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13770 | H2_FULL_TEST_SRC = \ |
| 13771 | test/core/end2end/fixtures/h2_full.c \ |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13772 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13773 | 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] | 13774 | ifeq ($(NO_SECURE),true) |
| 13775 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13776 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13777 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13778 | $(BINDIR)/$(CONFIG)/h2_full_test: openssl_dep_error |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13779 | |
| 13780 | else |
| 13781 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13782 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13783 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13784 | $(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] | 13785 | $(E) "[LD] Linking $@" |
| 13786 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13787 | $(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] | 13788 | |
| 13789 | endif |
| 13790 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13791 | $(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] | 13792 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13793 | deps_h2_full_test: $(H2_FULL_TEST_OBJS:.o=.dep) |
| 13794 | |
| 13795 | ifneq ($(NO_SECURE),true) |
| 13796 | ifneq ($(NO_DEPS),true) |
| 13797 | -include $(H2_FULL_TEST_OBJS:.o=.dep) |
| 13798 | endif |
| 13799 | endif |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 13800 | |
| 13801 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13802 | H2_FULL+PIPE_TEST_SRC = \ |
| 13803 | test/core/end2end/fixtures/h2_full+pipe.c \ |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 13804 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13805 | 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] | 13806 | ifeq ($(NO_SECURE),true) |
| 13807 | |
| 13808 | # You can't build secure targets if you don't have OpenSSL. |
| 13809 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13810 | $(BINDIR)/$(CONFIG)/h2_full+pipe_test: openssl_dep_error |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 13811 | |
| 13812 | else |
| 13813 | |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 13814 | |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 13815 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13816 | $(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] | 13817 | $(E) "[LD] Linking $@" |
| 13818 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13819 | $(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] | 13820 | |
| 13821 | endif |
| 13822 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13823 | $(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] | 13824 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13825 | deps_h2_full+pipe_test: $(H2_FULL+PIPE_TEST_OBJS:.o=.dep) |
| 13826 | |
| 13827 | ifneq ($(NO_SECURE),true) |
| 13828 | ifneq ($(NO_DEPS),true) |
| 13829 | -include $(H2_FULL+PIPE_TEST_OBJS:.o=.dep) |
| 13830 | endif |
| 13831 | endif |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 13832 | |
| 13833 | |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 13834 | H2_FULL+TRACE_TEST_SRC = \ |
| 13835 | test/core/end2end/fixtures/h2_full+trace.c \ |
| 13836 | |
| 13837 | H2_FULL+TRACE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FULL+TRACE_TEST_SRC)))) |
| 13838 | ifeq ($(NO_SECURE),true) |
| 13839 | |
| 13840 | # You can't build secure targets if you don't have OpenSSL. |
| 13841 | |
| 13842 | $(BINDIR)/$(CONFIG)/h2_full+trace_test: openssl_dep_error |
| 13843 | |
| 13844 | else |
| 13845 | |
| 13846 | |
| 13847 | |
Craig Tiller | 6a59cf2 | 2016-03-17 10:55:30 -0700 | [diff] [blame] | 13848 | $(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] | 13849 | $(E) "[LD] Linking $@" |
| 13850 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 6a59cf2 | 2016-03-17 10:55:30 -0700 | [diff] [blame] | 13851 | $(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] | 13852 | |
| 13853 | endif |
| 13854 | |
Craig Tiller | 6a59cf2 | 2016-03-17 10:55:30 -0700 | [diff] [blame] | 13855 | $(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] | 13856 | |
| 13857 | deps_h2_full+trace_test: $(H2_FULL+TRACE_TEST_OBJS:.o=.dep) |
| 13858 | |
| 13859 | ifneq ($(NO_SECURE),true) |
| 13860 | ifneq ($(NO_DEPS),true) |
| 13861 | -include $(H2_FULL+TRACE_TEST_OBJS:.o=.dep) |
| 13862 | endif |
| 13863 | endif |
| 13864 | |
| 13865 | |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 13866 | H2_LOADREPORTING_TEST_SRC = \ |
| 13867 | test/core/end2end/fixtures/h2_loadreporting.c \ |
| 13868 | |
| 13869 | H2_LOADREPORTING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_LOADREPORTING_TEST_SRC)))) |
| 13870 | ifeq ($(NO_SECURE),true) |
| 13871 | |
| 13872 | # You can't build secure targets if you don't have OpenSSL. |
| 13873 | |
| 13874 | $(BINDIR)/$(CONFIG)/h2_loadreporting_test: openssl_dep_error |
| 13875 | |
| 13876 | else |
| 13877 | |
| 13878 | |
| 13879 | |
| 13880 | $(BINDIR)/$(CONFIG)/h2_loadreporting_test: $(H2_LOADREPORTING_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 |
| 13881 | $(E) "[LD] Linking $@" |
| 13882 | $(Q) mkdir -p `dirname $@` |
| 13883 | $(Q) $(LD) $(LDFLAGS) $(H2_LOADREPORTING_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_loadreporting_test |
| 13884 | |
| 13885 | endif |
| 13886 | |
| 13887 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_loadreporting.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 |
| 13888 | |
| 13889 | deps_h2_loadreporting_test: $(H2_LOADREPORTING_TEST_OBJS:.o=.dep) |
| 13890 | |
| 13891 | ifneq ($(NO_SECURE),true) |
| 13892 | ifneq ($(NO_DEPS),true) |
| 13893 | -include $(H2_LOADREPORTING_TEST_OBJS:.o=.dep) |
| 13894 | endif |
| 13895 | endif |
| 13896 | |
| 13897 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13898 | H2_OAUTH2_TEST_SRC = \ |
| 13899 | test/core/end2end/fixtures/h2_oauth2.c \ |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13900 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13901 | 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] | 13902 | ifeq ($(NO_SECURE),true) |
| 13903 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13904 | # You can't build secure targets if you don't have OpenSSL. |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 13905 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13906 | $(BINDIR)/$(CONFIG)/h2_oauth2_test: openssl_dep_error |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13907 | |
| 13908 | else |
| 13909 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13910 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13911 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13912 | $(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] | 13913 | $(E) "[LD] Linking $@" |
| 13914 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13915 | $(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] | 13916 | |
| 13917 | endif |
| 13918 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13919 | $(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] | 13920 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13921 | deps_h2_oauth2_test: $(H2_OAUTH2_TEST_OBJS:.o=.dep) |
| 13922 | |
| 13923 | ifneq ($(NO_SECURE),true) |
| 13924 | ifneq ($(NO_DEPS),true) |
| 13925 | -include $(H2_OAUTH2_TEST_OBJS:.o=.dep) |
| 13926 | endif |
| 13927 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13928 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13929 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13930 | H2_PROXY_TEST_SRC = \ |
| 13931 | test/core/end2end/fixtures/h2_proxy.c \ |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13932 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13933 | 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] | 13934 | ifeq ($(NO_SECURE),true) |
| 13935 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13936 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13937 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13938 | $(BINDIR)/$(CONFIG)/h2_proxy_test: openssl_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13939 | |
| 13940 | else |
| 13941 | |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13942 | |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13943 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13944 | $(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] | 13945 | $(E) "[LD] Linking $@" |
| 13946 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13947 | $(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] | 13948 | |
| 13949 | endif |
| 13950 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13951 | $(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] | 13952 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13953 | deps_h2_proxy_test: $(H2_PROXY_TEST_OBJS:.o=.dep) |
| 13954 | |
| 13955 | ifneq ($(NO_SECURE),true) |
| 13956 | ifneq ($(NO_DEPS),true) |
| 13957 | -include $(H2_PROXY_TEST_OBJS:.o=.dep) |
| 13958 | endif |
| 13959 | endif |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13960 | |
| 13961 | |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 13962 | H2_SOCKPAIR_TEST_SRC = \ |
| 13963 | test/core/end2end/fixtures/h2_sockpair.c \ |
| 13964 | |
| 13965 | H2_SOCKPAIR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_TEST_SRC)))) |
| 13966 | ifeq ($(NO_SECURE),true) |
| 13967 | |
| 13968 | # You can't build secure targets if you don't have OpenSSL. |
| 13969 | |
| 13970 | $(BINDIR)/$(CONFIG)/h2_sockpair_test: openssl_dep_error |
| 13971 | |
| 13972 | else |
| 13973 | |
| 13974 | |
| 13975 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13976 | $(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] | 13977 | $(E) "[LD] Linking $@" |
| 13978 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13979 | $(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] | 13980 | |
| 13981 | endif |
| 13982 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13983 | $(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] | 13984 | |
| 13985 | deps_h2_sockpair_test: $(H2_SOCKPAIR_TEST_OBJS:.o=.dep) |
| 13986 | |
| 13987 | ifneq ($(NO_SECURE),true) |
| 13988 | ifneq ($(NO_DEPS),true) |
| 13989 | -include $(H2_SOCKPAIR_TEST_OBJS:.o=.dep) |
| 13990 | endif |
| 13991 | endif |
| 13992 | |
| 13993 | |
| 13994 | H2_SOCKPAIR+TRACE_TEST_SRC = \ |
| 13995 | test/core/end2end/fixtures/h2_sockpair+trace.c \ |
| 13996 | |
| 13997 | H2_SOCKPAIR+TRACE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR+TRACE_TEST_SRC)))) |
| 13998 | ifeq ($(NO_SECURE),true) |
| 13999 | |
| 14000 | # You can't build secure targets if you don't have OpenSSL. |
| 14001 | |
| 14002 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test: openssl_dep_error |
| 14003 | |
| 14004 | else |
| 14005 | |
| 14006 | |
| 14007 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14008 | $(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] | 14009 | $(E) "[LD] Linking $@" |
| 14010 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14011 | $(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] | 14012 | |
| 14013 | endif |
| 14014 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14015 | $(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] | 14016 | |
| 14017 | deps_h2_sockpair+trace_test: $(H2_SOCKPAIR+TRACE_TEST_OBJS:.o=.dep) |
| 14018 | |
| 14019 | ifneq ($(NO_SECURE),true) |
| 14020 | ifneq ($(NO_DEPS),true) |
| 14021 | -include $(H2_SOCKPAIR+TRACE_TEST_OBJS:.o=.dep) |
| 14022 | endif |
| 14023 | endif |
| 14024 | |
| 14025 | |
| 14026 | H2_SOCKPAIR_1BYTE_TEST_SRC = \ |
| 14027 | test/core/end2end/fixtures/h2_sockpair_1byte.c \ |
| 14028 | |
| 14029 | H2_SOCKPAIR_1BYTE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_1BYTE_TEST_SRC)))) |
| 14030 | ifeq ($(NO_SECURE),true) |
| 14031 | |
| 14032 | # You can't build secure targets if you don't have OpenSSL. |
| 14033 | |
| 14034 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test: openssl_dep_error |
| 14035 | |
| 14036 | else |
| 14037 | |
| 14038 | |
| 14039 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14040 | $(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] | 14041 | $(E) "[LD] Linking $@" |
| 14042 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14043 | $(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] | 14044 | |
| 14045 | endif |
| 14046 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14047 | $(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] | 14048 | |
| 14049 | deps_h2_sockpair_1byte_test: $(H2_SOCKPAIR_1BYTE_TEST_OBJS:.o=.dep) |
| 14050 | |
| 14051 | ifneq ($(NO_SECURE),true) |
| 14052 | ifneq ($(NO_DEPS),true) |
| 14053 | -include $(H2_SOCKPAIR_1BYTE_TEST_OBJS:.o=.dep) |
| 14054 | endif |
| 14055 | endif |
| 14056 | |
| 14057 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14058 | H2_SSL_TEST_SRC = \ |
| 14059 | test/core/end2end/fixtures/h2_ssl.c \ |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 14060 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14061 | 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] | 14062 | ifeq ($(NO_SECURE),true) |
| 14063 | |
| 14064 | # You can't build secure targets if you don't have OpenSSL. |
| 14065 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14066 | $(BINDIR)/$(CONFIG)/h2_ssl_test: openssl_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14067 | |
| 14068 | else |
| 14069 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14070 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14071 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14072 | $(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] | 14073 | $(E) "[LD] Linking $@" |
| 14074 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14075 | $(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] | 14076 | |
| 14077 | endif |
| 14078 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14079 | $(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] | 14080 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14081 | deps_h2_ssl_test: $(H2_SSL_TEST_OBJS:.o=.dep) |
| 14082 | |
| 14083 | ifneq ($(NO_SECURE),true) |
| 14084 | ifneq ($(NO_DEPS),true) |
| 14085 | -include $(H2_SSL_TEST_OBJS:.o=.dep) |
| 14086 | endif |
| 14087 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14088 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14089 | |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 14090 | H2_SSL_CERT_TEST_SRC = \ |
| 14091 | test/core/end2end/fixtures/h2_ssl_cert.c \ |
| 14092 | |
| 14093 | H2_SSL_CERT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SSL_CERT_TEST_SRC)))) |
| 14094 | ifeq ($(NO_SECURE),true) |
| 14095 | |
| 14096 | # You can't build secure targets if you don't have OpenSSL. |
| 14097 | |
| 14098 | $(BINDIR)/$(CONFIG)/h2_ssl_cert_test: openssl_dep_error |
| 14099 | |
| 14100 | else |
| 14101 | |
| 14102 | |
| 14103 | |
| 14104 | $(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 |
| 14105 | $(E) "[LD] Linking $@" |
| 14106 | $(Q) mkdir -p `dirname $@` |
| 14107 | $(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 |
| 14108 | |
| 14109 | endif |
| 14110 | |
| 14111 | $(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 |
| 14112 | |
| 14113 | deps_h2_ssl_cert_test: $(H2_SSL_CERT_TEST_OBJS:.o=.dep) |
| 14114 | |
| 14115 | ifneq ($(NO_SECURE),true) |
| 14116 | ifneq ($(NO_DEPS),true) |
| 14117 | -include $(H2_SSL_CERT_TEST_OBJS:.o=.dep) |
| 14118 | endif |
| 14119 | endif |
| 14120 | |
| 14121 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14122 | H2_SSL_PROXY_TEST_SRC = \ |
| 14123 | test/core/end2end/fixtures/h2_ssl_proxy.c \ |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 14124 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14125 | 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] | 14126 | ifeq ($(NO_SECURE),true) |
| 14127 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 14128 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 14129 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14130 | $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test: openssl_dep_error |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 14131 | |
| 14132 | else |
| 14133 | |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 14134 | |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 14135 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14136 | $(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] | 14137 | $(E) "[LD] Linking $@" |
| 14138 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14139 | $(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] | 14140 | |
| 14141 | endif |
| 14142 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14143 | $(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] | 14144 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14145 | deps_h2_ssl_proxy_test: $(H2_SSL_PROXY_TEST_OBJS:.o=.dep) |
| 14146 | |
| 14147 | ifneq ($(NO_SECURE),true) |
| 14148 | ifneq ($(NO_DEPS),true) |
| 14149 | -include $(H2_SSL_PROXY_TEST_OBJS:.o=.dep) |
| 14150 | endif |
| 14151 | endif |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 14152 | |
| 14153 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14154 | H2_UDS_TEST_SRC = \ |
| 14155 | test/core/end2end/fixtures/h2_uds.c \ |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14156 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14157 | 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] | 14158 | ifeq ($(NO_SECURE),true) |
| 14159 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 14160 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14161 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14162 | $(BINDIR)/$(CONFIG)/h2_uds_test: openssl_dep_error |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 14163 | |
| 14164 | else |
| 14165 | |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 14166 | |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 14167 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14168 | $(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] | 14169 | $(E) "[LD] Linking $@" |
| 14170 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14171 | $(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] | 14172 | |
| 14173 | endif |
| 14174 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14175 | $(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] | 14176 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14177 | deps_h2_uds_test: $(H2_UDS_TEST_OBJS:.o=.dep) |
| 14178 | |
| 14179 | ifneq ($(NO_SECURE),true) |
| 14180 | ifneq ($(NO_DEPS),true) |
| 14181 | -include $(H2_UDS_TEST_OBJS:.o=.dep) |
| 14182 | endif |
| 14183 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14184 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14185 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14186 | H2_CENSUS_NOSEC_TEST_SRC = \ |
| 14187 | test/core/end2end/fixtures/h2_census.c \ |
| 14188 | |
| 14189 | 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] | 14190 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14191 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14192 | $(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] | 14193 | $(E) "[LD] Linking $@" |
| 14194 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14195 | $(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] | 14196 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14197 | $(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] | 14198 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14199 | deps_h2_census_nosec_test: $(H2_CENSUS_NOSEC_TEST_OBJS:.o=.dep) |
| 14200 | |
| 14201 | ifneq ($(NO_DEPS),true) |
| 14202 | -include $(H2_CENSUS_NOSEC_TEST_OBJS:.o=.dep) |
| 14203 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14204 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14205 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14206 | H2_COMPRESS_NOSEC_TEST_SRC = \ |
| 14207 | test/core/end2end/fixtures/h2_compress.c \ |
| 14208 | |
| 14209 | 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] | 14210 | |
| 14211 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14212 | $(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] | 14213 | $(E) "[LD] Linking $@" |
| 14214 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14215 | $(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] | 14216 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14217 | $(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] | 14218 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14219 | deps_h2_compress_nosec_test: $(H2_COMPRESS_NOSEC_TEST_OBJS:.o=.dep) |
| 14220 | |
| 14221 | ifneq ($(NO_DEPS),true) |
| 14222 | -include $(H2_COMPRESS_NOSEC_TEST_OBJS:.o=.dep) |
| 14223 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14224 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14225 | |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 14226 | H2_FD_NOSEC_TEST_SRC = \ |
| 14227 | test/core/end2end/fixtures/h2_fd.c \ |
| 14228 | |
| 14229 | H2_FD_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FD_NOSEC_TEST_SRC)))) |
| 14230 | |
| 14231 | |
| 14232 | $(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 |
| 14233 | $(E) "[LD] Linking $@" |
| 14234 | $(Q) mkdir -p `dirname $@` |
| 14235 | $(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 |
| 14236 | |
| 14237 | $(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 |
| 14238 | |
| 14239 | deps_h2_fd_nosec_test: $(H2_FD_NOSEC_TEST_OBJS:.o=.dep) |
| 14240 | |
| 14241 | ifneq ($(NO_DEPS),true) |
| 14242 | -include $(H2_FD_NOSEC_TEST_OBJS:.o=.dep) |
| 14243 | endif |
| 14244 | |
| 14245 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14246 | H2_FULL_NOSEC_TEST_SRC = \ |
| 14247 | test/core/end2end/fixtures/h2_full.c \ |
| 14248 | |
| 14249 | 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] | 14250 | |
| 14251 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14252 | $(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] | 14253 | $(E) "[LD] Linking $@" |
| 14254 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14255 | $(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] | 14256 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14257 | $(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] | 14258 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14259 | deps_h2_full_nosec_test: $(H2_FULL_NOSEC_TEST_OBJS:.o=.dep) |
| 14260 | |
| 14261 | ifneq ($(NO_DEPS),true) |
| 14262 | -include $(H2_FULL_NOSEC_TEST_OBJS:.o=.dep) |
| 14263 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14264 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14265 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14266 | H2_FULL+PIPE_NOSEC_TEST_SRC = \ |
| 14267 | test/core/end2end/fixtures/h2_full+pipe.c \ |
| 14268 | |
| 14269 | 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] | 14270 | |
| 14271 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14272 | $(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] | 14273 | $(E) "[LD] Linking $@" |
| 14274 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14275 | $(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] | 14276 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14277 | $(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] | 14278 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14279 | deps_h2_full+pipe_nosec_test: $(H2_FULL+PIPE_NOSEC_TEST_OBJS:.o=.dep) |
| 14280 | |
| 14281 | ifneq ($(NO_DEPS),true) |
| 14282 | -include $(H2_FULL+PIPE_NOSEC_TEST_OBJS:.o=.dep) |
| 14283 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14284 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14285 | |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 14286 | H2_FULL+TRACE_NOSEC_TEST_SRC = \ |
| 14287 | test/core/end2end/fixtures/h2_full+trace.c \ |
| 14288 | |
| 14289 | H2_FULL+TRACE_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FULL+TRACE_NOSEC_TEST_SRC)))) |
| 14290 | |
| 14291 | |
| 14292 | $(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 |
| 14293 | $(E) "[LD] Linking $@" |
| 14294 | $(Q) mkdir -p `dirname $@` |
| 14295 | $(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 |
| 14296 | |
| 14297 | $(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 |
| 14298 | |
| 14299 | deps_h2_full+trace_nosec_test: $(H2_FULL+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 14300 | |
| 14301 | ifneq ($(NO_DEPS),true) |
| 14302 | -include $(H2_FULL+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 14303 | endif |
| 14304 | |
| 14305 | |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 14306 | H2_LOADREPORTING_NOSEC_TEST_SRC = \ |
| 14307 | test/core/end2end/fixtures/h2_loadreporting.c \ |
| 14308 | |
| 14309 | H2_LOADREPORTING_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_LOADREPORTING_NOSEC_TEST_SRC)))) |
| 14310 | |
| 14311 | |
| 14312 | $(BINDIR)/$(CONFIG)/h2_loadreporting_nosec_test: $(H2_LOADREPORTING_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 |
| 14313 | $(E) "[LD] Linking $@" |
| 14314 | $(Q) mkdir -p `dirname $@` |
| 14315 | $(Q) $(LD) $(LDFLAGS) $(H2_LOADREPORTING_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_loadreporting_nosec_test |
| 14316 | |
| 14317 | $(OBJDIR)/$(CONFIG)/test/core/end2end/fixtures/h2_loadreporting.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 |
| 14318 | |
| 14319 | deps_h2_loadreporting_nosec_test: $(H2_LOADREPORTING_NOSEC_TEST_OBJS:.o=.dep) |
| 14320 | |
| 14321 | ifneq ($(NO_DEPS),true) |
| 14322 | -include $(H2_LOADREPORTING_NOSEC_TEST_OBJS:.o=.dep) |
| 14323 | endif |
| 14324 | |
| 14325 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14326 | H2_PROXY_NOSEC_TEST_SRC = \ |
| 14327 | test/core/end2end/fixtures/h2_proxy.c \ |
| 14328 | |
| 14329 | 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] | 14330 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14331 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14332 | $(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] | 14333 | $(E) "[LD] Linking $@" |
| 14334 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14335 | $(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] | 14336 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14337 | $(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] | 14338 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14339 | deps_h2_proxy_nosec_test: $(H2_PROXY_NOSEC_TEST_OBJS:.o=.dep) |
| 14340 | |
| 14341 | ifneq ($(NO_DEPS),true) |
| 14342 | -include $(H2_PROXY_NOSEC_TEST_OBJS:.o=.dep) |
| 14343 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14344 | |
| 14345 | |
Craig Tiller | de67626 | 2016-02-19 12:28:34 -0800 | [diff] [blame] | 14346 | H2_SOCKPAIR_NOSEC_TEST_SRC = \ |
| 14347 | test/core/end2end/fixtures/h2_sockpair.c \ |
| 14348 | |
| 14349 | H2_SOCKPAIR_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_NOSEC_TEST_SRC)))) |
| 14350 | |
| 14351 | |
| 14352 | $(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 |
| 14353 | $(E) "[LD] Linking $@" |
| 14354 | $(Q) mkdir -p `dirname $@` |
| 14355 | $(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 |
| 14356 | |
| 14357 | $(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 |
| 14358 | |
| 14359 | deps_h2_sockpair_nosec_test: $(H2_SOCKPAIR_NOSEC_TEST_OBJS:.o=.dep) |
| 14360 | |
| 14361 | ifneq ($(NO_DEPS),true) |
| 14362 | -include $(H2_SOCKPAIR_NOSEC_TEST_OBJS:.o=.dep) |
| 14363 | endif |
| 14364 | |
| 14365 | |
| 14366 | H2_SOCKPAIR+TRACE_NOSEC_TEST_SRC = \ |
| 14367 | test/core/end2end/fixtures/h2_sockpair+trace.c \ |
| 14368 | |
| 14369 | H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR+TRACE_NOSEC_TEST_SRC)))) |
| 14370 | |
| 14371 | |
| 14372 | $(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 |
| 14373 | $(E) "[LD] Linking $@" |
| 14374 | $(Q) mkdir -p `dirname $@` |
| 14375 | $(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 |
| 14376 | |
| 14377 | $(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 |
| 14378 | |
| 14379 | deps_h2_sockpair+trace_nosec_test: $(H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 14380 | |
| 14381 | ifneq ($(NO_DEPS),true) |
| 14382 | -include $(H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 14383 | endif |
| 14384 | |
| 14385 | |
| 14386 | H2_SOCKPAIR_1BYTE_NOSEC_TEST_SRC = \ |
| 14387 | test/core/end2end/fixtures/h2_sockpair_1byte.c \ |
| 14388 | |
| 14389 | H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_SRC)))) |
| 14390 | |
| 14391 | |
| 14392 | $(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 |
| 14393 | $(E) "[LD] Linking $@" |
| 14394 | $(Q) mkdir -p `dirname $@` |
| 14395 | $(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 |
| 14396 | |
| 14397 | $(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 |
| 14398 | |
| 14399 | deps_h2_sockpair_1byte_nosec_test: $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS:.o=.dep) |
| 14400 | |
| 14401 | ifneq ($(NO_DEPS),true) |
| 14402 | -include $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS:.o=.dep) |
| 14403 | endif |
| 14404 | |
| 14405 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14406 | H2_UDS_NOSEC_TEST_SRC = \ |
| 14407 | test/core/end2end/fixtures/h2_uds.c \ |
| 14408 | |
| 14409 | 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] | 14410 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14411 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14412 | $(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] | 14413 | $(E) "[LD] Linking $@" |
| 14414 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14415 | $(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] | 14416 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14417 | $(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] | 14418 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14419 | deps_h2_uds_nosec_test: $(H2_UDS_NOSEC_TEST_OBJS:.o=.dep) |
| 14420 | |
| 14421 | ifneq ($(NO_DEPS),true) |
| 14422 | -include $(H2_UDS_NOSEC_TEST_OBJS:.o=.dep) |
| 14423 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14424 | |
| 14425 | |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 14426 | API_FUZZER_ONE_ENTRY_SRC = \ |
| 14427 | test/core/end2end/fuzzers/api_fuzzer.c \ |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 14428 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 14429 | |
| 14430 | API_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(API_FUZZER_ONE_ENTRY_SRC)))) |
| 14431 | ifeq ($(NO_SECURE),true) |
| 14432 | |
| 14433 | # You can't build secure targets if you don't have OpenSSL. |
| 14434 | |
| 14435 | $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry: openssl_dep_error |
| 14436 | |
| 14437 | else |
| 14438 | |
| 14439 | |
| 14440 | |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 14441 | $(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] | 14442 | $(E) "[LD] Linking $@" |
| 14443 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 14444 | $(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] | 14445 | |
| 14446 | endif |
| 14447 | |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 14448 | $(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 |
| 14449 | |
| 14450 | $(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] | 14451 | |
| 14452 | deps_api_fuzzer_one_entry: $(API_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14453 | |
| 14454 | ifneq ($(NO_SECURE),true) |
| 14455 | ifneq ($(NO_DEPS),true) |
| 14456 | -include $(API_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14457 | endif |
| 14458 | endif |
| 14459 | |
| 14460 | |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 14461 | CLIENT_FUZZER_ONE_ENTRY_SRC = \ |
| 14462 | test/core/end2end/fuzzers/client_fuzzer.c \ |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 14463 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 14464 | |
| 14465 | CLIENT_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLIENT_FUZZER_ONE_ENTRY_SRC)))) |
| 14466 | ifeq ($(NO_SECURE),true) |
| 14467 | |
| 14468 | # You can't build secure targets if you don't have OpenSSL. |
| 14469 | |
| 14470 | $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry: openssl_dep_error |
| 14471 | |
| 14472 | else |
| 14473 | |
| 14474 | |
| 14475 | |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 14476 | $(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] | 14477 | $(E) "[LD] Linking $@" |
| 14478 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 14479 | $(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] | 14480 | |
| 14481 | endif |
| 14482 | |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 14483 | $(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 |
| 14484 | |
| 14485 | $(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] | 14486 | |
| 14487 | deps_client_fuzzer_one_entry: $(CLIENT_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14488 | |
| 14489 | ifneq ($(NO_SECURE),true) |
| 14490 | ifneq ($(NO_DEPS),true) |
| 14491 | -include $(CLIENT_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14492 | endif |
| 14493 | endif |
| 14494 | |
| 14495 | |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14496 | HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 14497 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14498 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14499 | |
| 14500 | HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 14501 | ifeq ($(NO_SECURE),true) |
| 14502 | |
| 14503 | # You can't build secure targets if you don't have OpenSSL. |
| 14504 | |
| 14505 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry: openssl_dep_error |
| 14506 | |
| 14507 | else |
| 14508 | |
| 14509 | |
| 14510 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14511 | $(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] | 14512 | $(E) "[LD] Linking $@" |
| 14513 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14514 | $(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] | 14515 | |
| 14516 | endif |
| 14517 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14518 | $(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 |
| 14519 | |
| 14520 | $(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] | 14521 | |
| 14522 | deps_hpack_parser_fuzzer_test_one_entry: $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14523 | |
| 14524 | ifneq ($(NO_SECURE),true) |
| 14525 | ifneq ($(NO_DEPS),true) |
| 14526 | -include $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14527 | endif |
| 14528 | endif |
| 14529 | |
| 14530 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 14531 | HTTP_REQUEST_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 14532 | test/core/http/request_fuzzer.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14533 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14534 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 14535 | 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] | 14536 | ifeq ($(NO_SECURE),true) |
| 14537 | |
| 14538 | # You can't build secure targets if you don't have OpenSSL. |
| 14539 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 14540 | $(BINDIR)/$(CONFIG)/http_request_fuzzer_test_one_entry: openssl_dep_error |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14541 | |
| 14542 | else |
| 14543 | |
| 14544 | |
| 14545 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 14546 | $(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] | 14547 | $(E) "[LD] Linking $@" |
| 14548 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 14549 | $(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] | 14550 | |
| 14551 | endif |
| 14552 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 14553 | $(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] | 14554 | |
| 14555 | $(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] | 14556 | |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 14557 | 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] | 14558 | |
| 14559 | ifneq ($(NO_SECURE),true) |
| 14560 | ifneq ($(NO_DEPS),true) |
Craig Tiller | f707d62 | 2016-05-06 14:26:12 -0700 | [diff] [blame] | 14561 | -include $(HTTP_REQUEST_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14562 | endif |
| 14563 | endif |
| 14564 | |
| 14565 | |
| 14566 | HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 14567 | test/core/http/response_fuzzer.c \ |
| 14568 | test/core/util/one_corpus_entry_fuzzer.c \ |
| 14569 | |
| 14570 | HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 14571 | ifeq ($(NO_SECURE),true) |
| 14572 | |
| 14573 | # You can't build secure targets if you don't have OpenSSL. |
| 14574 | |
| 14575 | $(BINDIR)/$(CONFIG)/http_response_fuzzer_test_one_entry: openssl_dep_error |
| 14576 | |
| 14577 | else |
| 14578 | |
| 14579 | |
| 14580 | |
| 14581 | $(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 |
| 14582 | $(E) "[LD] Linking $@" |
| 14583 | $(Q) mkdir -p `dirname $@` |
| 14584 | $(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 |
| 14585 | |
| 14586 | endif |
| 14587 | |
| 14588 | $(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 |
| 14589 | |
| 14590 | $(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 |
| 14591 | |
| 14592 | deps_http_response_fuzzer_test_one_entry: $(HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14593 | |
| 14594 | ifneq ($(NO_SECURE),true) |
| 14595 | ifneq ($(NO_DEPS),true) |
| 14596 | -include $(HTTP_RESPONSE_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14597 | endif |
| 14598 | endif |
| 14599 | |
| 14600 | |
| 14601 | JSON_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 14602 | test/core/json/fuzzer.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14603 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14604 | |
| 14605 | JSON_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 14606 | ifeq ($(NO_SECURE),true) |
| 14607 | |
| 14608 | # You can't build secure targets if you don't have OpenSSL. |
| 14609 | |
| 14610 | $(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry: openssl_dep_error |
| 14611 | |
| 14612 | else |
| 14613 | |
| 14614 | |
| 14615 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14616 | $(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] | 14617 | $(E) "[LD] Linking $@" |
| 14618 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14619 | $(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] | 14620 | |
| 14621 | endif |
| 14622 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14623 | $(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 |
| 14624 | |
| 14625 | $(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] | 14626 | |
| 14627 | deps_json_fuzzer_test_one_entry: $(JSON_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14628 | |
| 14629 | ifneq ($(NO_SECURE),true) |
| 14630 | ifneq ($(NO_DEPS),true) |
| 14631 | -include $(JSON_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14632 | endif |
| 14633 | endif |
| 14634 | |
| 14635 | |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 14636 | NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_SRC = \ |
| 14637 | test/core/nanopb/fuzzer_response.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14638 | test/core/util/one_corpus_entry_fuzzer.c \ |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 14639 | |
| 14640 | NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_SRC)))) |
| 14641 | ifeq ($(NO_SECURE),true) |
| 14642 | |
| 14643 | # You can't build secure targets if you don't have OpenSSL. |
| 14644 | |
| 14645 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry: openssl_dep_error |
| 14646 | |
| 14647 | else |
| 14648 | |
| 14649 | |
| 14650 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14651 | $(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] | 14652 | $(E) "[LD] Linking $@" |
| 14653 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14654 | $(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] | 14655 | |
| 14656 | endif |
| 14657 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14658 | $(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 |
| 14659 | |
| 14660 | $(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] | 14661 | |
| 14662 | deps_nanopb_fuzzer_response_test_one_entry: $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14663 | |
| 14664 | ifneq ($(NO_SECURE),true) |
| 14665 | ifneq ($(NO_DEPS),true) |
| 14666 | -include $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14667 | endif |
| 14668 | endif |
| 14669 | |
| 14670 | |
| 14671 | NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_SRC = \ |
| 14672 | test/core/nanopb/fuzzer_serverlist.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14673 | test/core/util/one_corpus_entry_fuzzer.c \ |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 14674 | |
| 14675 | NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_SRC)))) |
| 14676 | ifeq ($(NO_SECURE),true) |
| 14677 | |
| 14678 | # You can't build secure targets if you don't have OpenSSL. |
| 14679 | |
| 14680 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry: openssl_dep_error |
| 14681 | |
| 14682 | else |
| 14683 | |
| 14684 | |
| 14685 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14686 | $(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] | 14687 | $(E) "[LD] Linking $@" |
| 14688 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14689 | $(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] | 14690 | |
| 14691 | endif |
| 14692 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14693 | $(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 |
| 14694 | |
| 14695 | $(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] | 14696 | |
| 14697 | deps_nanopb_fuzzer_serverlist_test_one_entry: $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14698 | |
| 14699 | ifneq ($(NO_SECURE),true) |
| 14700 | ifneq ($(NO_DEPS),true) |
| 14701 | -include $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14702 | endif |
| 14703 | endif |
| 14704 | |
| 14705 | |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 14706 | SERVER_FUZZER_ONE_ENTRY_SRC = \ |
| 14707 | test/core/end2end/fuzzers/server_fuzzer.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14708 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 14709 | |
| 14710 | SERVER_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_FUZZER_ONE_ENTRY_SRC)))) |
| 14711 | ifeq ($(NO_SECURE),true) |
| 14712 | |
| 14713 | # You can't build secure targets if you don't have OpenSSL. |
| 14714 | |
| 14715 | $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry: openssl_dep_error |
| 14716 | |
| 14717 | else |
| 14718 | |
| 14719 | |
| 14720 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14721 | $(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] | 14722 | $(E) "[LD] Linking $@" |
| 14723 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14724 | $(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] | 14725 | |
| 14726 | endif |
| 14727 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14728 | $(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 |
| 14729 | |
| 14730 | $(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] | 14731 | |
| 14732 | deps_server_fuzzer_one_entry: $(SERVER_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14733 | |
| 14734 | ifneq ($(NO_SECURE),true) |
| 14735 | ifneq ($(NO_DEPS),true) |
| 14736 | -include $(SERVER_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14737 | endif |
| 14738 | endif |
| 14739 | |
| 14740 | |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14741 | URI_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 14742 | test/core/client_config/uri_fuzzer_test.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14743 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14744 | |
| 14745 | URI_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(URI_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 14746 | ifeq ($(NO_SECURE),true) |
| 14747 | |
| 14748 | # You can't build secure targets if you don't have OpenSSL. |
| 14749 | |
| 14750 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry: openssl_dep_error |
| 14751 | |
| 14752 | else |
| 14753 | |
| 14754 | |
| 14755 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14756 | $(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] | 14757 | $(E) "[LD] Linking $@" |
| 14758 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14759 | $(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] | 14760 | |
| 14761 | endif |
| 14762 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14763 | $(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 |
| 14764 | |
| 14765 | $(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] | 14766 | |
| 14767 | deps_uri_fuzzer_test_one_entry: $(URI_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14768 | |
| 14769 | ifneq ($(NO_SECURE),true) |
| 14770 | ifneq ($(NO_DEPS),true) |
| 14771 | -include $(URI_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14772 | endif |
| 14773 | endif |
| 14774 | |
| 14775 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14776 | |
| 14777 | |
| 14778 | |
nnoble | 0c475f0 | 2014-12-05 15:37:39 -0800 | [diff] [blame] | 14779 | |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 14780 | ifneq ($(OPENSSL_DEP),) |
| 14781 | # This is to ensure the embedded OpenSSL is built beforehand, properly |
| 14782 | # installing headers to their final destination on the drive. We need this |
| 14783 | # otherwise parallel compilation will fail if a source is compiled first. |
Craig Tiller | c7762a8 | 2016-03-28 10:13:08 -0700 | [diff] [blame] | 14784 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c: $(OPENSSL_DEP) |
| 14785 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c: $(OPENSSL_DEP) |
makdharma | c2ec95b | 2016-05-11 16:26:15 -0700 | [diff] [blame] | 14786 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c: $(OPENSSL_DEP) |
| 14787 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c: $(OPENSSL_DEP) |
| 14788 | src/core/ext/transport/cronet/transport/cronet_transport.c: $(OPENSSL_DEP) |
Yuchen Zeng | f0ec5b6 | 2016-07-08 13:40:40 -0700 | [diff] [blame] | 14789 | src/core/lib/http/httpcli_security_connector.c: $(OPENSSL_DEP) |
| 14790 | src/core/lib/security/context/security_context.c: $(OPENSSL_DEP) |
| 14791 | src/core/lib/security/credentials/composite/composite_credentials.c: $(OPENSSL_DEP) |
| 14792 | src/core/lib/security/credentials/credentials.c: $(OPENSSL_DEP) |
| 14793 | src/core/lib/security/credentials/credentials_metadata.c: $(OPENSSL_DEP) |
| 14794 | src/core/lib/security/credentials/fake/fake_credentials.c: $(OPENSSL_DEP) |
| 14795 | src/core/lib/security/credentials/google_default/credentials_posix.c: $(OPENSSL_DEP) |
| 14796 | src/core/lib/security/credentials/google_default/credentials_windows.c: $(OPENSSL_DEP) |
| 14797 | src/core/lib/security/credentials/google_default/google_default_credentials.c: $(OPENSSL_DEP) |
| 14798 | src/core/lib/security/credentials/iam/iam_credentials.c: $(OPENSSL_DEP) |
| 14799 | src/core/lib/security/credentials/jwt/json_token.c: $(OPENSSL_DEP) |
| 14800 | src/core/lib/security/credentials/jwt/jwt_credentials.c: $(OPENSSL_DEP) |
| 14801 | src/core/lib/security/credentials/jwt/jwt_verifier.c: $(OPENSSL_DEP) |
| 14802 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c: $(OPENSSL_DEP) |
| 14803 | src/core/lib/security/credentials/plugin/plugin_credentials.c: $(OPENSSL_DEP) |
| 14804 | src/core/lib/security/credentials/ssl/ssl_credentials.c: $(OPENSSL_DEP) |
| 14805 | src/core/lib/security/transport/client_auth_filter.c: $(OPENSSL_DEP) |
| 14806 | src/core/lib/security/transport/handshake.c: $(OPENSSL_DEP) |
| 14807 | src/core/lib/security/transport/secure_endpoint.c: $(OPENSSL_DEP) |
| 14808 | src/core/lib/security/transport/security_connector.c: $(OPENSSL_DEP) |
| 14809 | src/core/lib/security/transport/server_auth_filter.c: $(OPENSSL_DEP) |
| 14810 | src/core/lib/security/transport/tsi_error.c: $(OPENSSL_DEP) |
| 14811 | src/core/lib/security/util/b64.c: $(OPENSSL_DEP) |
| 14812 | src/core/lib/security/util/json_util.c: $(OPENSSL_DEP) |
| 14813 | src/core/lib/surface/init_secure.c: $(OPENSSL_DEP) |
| 14814 | src/core/lib/tsi/fake_transport_security.c: $(OPENSSL_DEP) |
| 14815 | src/core/lib/tsi/ssl_transport_security.c: $(OPENSSL_DEP) |
| 14816 | src/core/lib/tsi/transport_security.c: $(OPENSSL_DEP) |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 14817 | src/core/plugin_registry/grpc_cronet_plugin_registry.c: $(OPENSSL_DEP) |
Craig Tiller | fb43385 | 2016-03-29 08:51:07 -0700 | [diff] [blame] | 14818 | src/core/plugin_registry/grpc_plugin_registry.c: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14819 | src/cpp/client/secure_credentials.cc: $(OPENSSL_DEP) |
| 14820 | src/cpp/common/auth_property_iterator.cc: $(OPENSSL_DEP) |
| 14821 | src/cpp/common/secure_auth_context.cc: $(OPENSSL_DEP) |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 14822 | src/cpp/common/secure_channel_arguments.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14823 | src/cpp/common/secure_create_auth_context.cc: $(OPENSSL_DEP) |
Yuchen Zeng | 0601df3 | 2016-06-06 13:08:06 -0700 | [diff] [blame] | 14824 | src/cpp/ext/proto_server_reflection.cc: $(OPENSSL_DEP) |
| 14825 | src/cpp/ext/proto_server_reflection_plugin.cc: $(OPENSSL_DEP) |
| 14826 | src/cpp/ext/reflection.grpc.pb.cc: $(OPENSSL_DEP) |
| 14827 | src/cpp/ext/reflection.pb.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14828 | src/cpp/server/secure_server_credentials.cc: $(OPENSSL_DEP) |
| 14829 | src/csharp/ext/grpc_csharp_ext.c: $(OPENSSL_DEP) |
| 14830 | test/core/bad_client/bad_client.c: $(OPENSSL_DEP) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 14831 | test/core/bad_ssl/server_common.c: $(OPENSSL_DEP) |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 14832 | test/core/end2end/data/client_certs.c: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14833 | test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP) |
| 14834 | test/core/end2end/data/server1_key.c: $(OPENSSL_DEP) |
| 14835 | test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14836 | test/core/end2end/end2end_tests.c: $(OPENSSL_DEP) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 14837 | test/core/end2end/tests/call_creds.c: $(OPENSSL_DEP) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 14838 | test/core/security/oauth2_utils.c: $(OPENSSL_DEP) |
yang-g | 62ff690 | 2015-08-05 09:27:17 -0700 | [diff] [blame] | 14839 | test/core/util/reconnect_server.c: $(OPENSSL_DEP) |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 14840 | test/core/util/test_tcp_server.c: $(OPENSSL_DEP) |
yang-g | d6f7d99 | 2016-01-14 16:04:20 -0800 | [diff] [blame] | 14841 | test/cpp/end2end/test_service_impl.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14842 | test/cpp/interop/client.cc: $(OPENSSL_DEP) |
| 14843 | test/cpp/interop/client_helper.cc: $(OPENSSL_DEP) |
| 14844 | test/cpp/interop/interop_client.cc: $(OPENSSL_DEP) |
David Garcia Quintas | 74686ce | 2016-06-09 15:33:33 -0700 | [diff] [blame] | 14845 | test/cpp/interop/interop_server.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14846 | test/cpp/interop/server_helper.cc: $(OPENSSL_DEP) |
| 14847 | test/cpp/qps/client_async.cc: $(OPENSSL_DEP) |
| 14848 | test/cpp/qps/client_sync.cc: $(OPENSSL_DEP) |
| 14849 | test/cpp/qps/driver.cc: $(OPENSSL_DEP) |
vjpai | c803442 | 2016-01-19 15:32:42 -0800 | [diff] [blame] | 14850 | test/cpp/qps/limit_cores.cc: $(OPENSSL_DEP) |
David Klempner | e27d189 | 2016-05-19 13:50:16 -0700 | [diff] [blame] | 14851 | test/cpp/qps/parse_json.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14852 | test/cpp/qps/qps_worker.cc: $(OPENSSL_DEP) |
| 14853 | test/cpp/qps/report.cc: $(OPENSSL_DEP) |
| 14854 | test/cpp/qps/server_async.cc: $(OPENSSL_DEP) |
| 14855 | test/cpp/qps/server_sync.cc: $(OPENSSL_DEP) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 14856 | test/cpp/qps/usage_timer.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14857 | test/cpp/util/benchmark_config.cc: $(OPENSSL_DEP) |
yang-g | 9f17314 | 2016-01-15 12:46:40 -0800 | [diff] [blame] | 14858 | test/cpp/util/byte_buffer_proto_helper.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14859 | test/cpp/util/cli_call.cc: $(OPENSSL_DEP) |
| 14860 | test/cpp/util/create_test_channel.cc: $(OPENSSL_DEP) |
yang-g | df012d0 | 2016-05-18 15:44:06 -0700 | [diff] [blame] | 14861 | test/cpp/util/proto_file_parser.cc: $(OPENSSL_DEP) |
yang-g | e21908f | 2015-08-25 13:47:51 -0700 | [diff] [blame] | 14862 | test/cpp/util/string_ref_helper.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14863 | test/cpp/util/subprocess.cc: $(OPENSSL_DEP) |
| 14864 | test/cpp/util/test_config.cc: $(OPENSSL_DEP) |
yang-g | 7d2a3e1 | 2016-02-18 15:41:56 -0800 | [diff] [blame] | 14865 | test/cpp/util/test_credentials_provider.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 14866 | endif |
| 14867 | |
Craig Tiller | f0afe50 | 2015-01-15 09:04:49 -0800 | [diff] [blame] | 14868 | .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] | 14869 | |
| 14870 | .PHONY: printvars |
| 14871 | printvars: |
| 14872 | @$(foreach V,$(sort $(.VARIABLES)), $(if $(filter-out environment% default automatic, $(origin $V)),$(warning $V=$($V) ($(value $V))))) |