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 |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 203 | DEFINES_tsan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=5 |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 204 | |
| 205 | VALID_CONFIG_stapprof = 1 |
| 206 | CC_stapprof = $(DEFAULT_CC) |
| 207 | CXX_stapprof = $(DEFAULT_CXX) |
| 208 | LD_stapprof = $(DEFAULT_CC) |
Craig Tiller | aff3d50 | 2016-01-20 15:59:31 -0800 | [diff] [blame] | 209 | LDXX_stapprof = $(DEFAULT_CXX) |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 210 | CPPFLAGS_stapprof = -O2 -DGRPC_STAP_PROFILER |
| 211 | DEFINES_stapprof = NDEBUG |
Craig Tiller | 96bd5f6 | 2015-02-13 09:04:13 -0800 | [diff] [blame] | 212 | |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 213 | VALID_CONFIG_mutrace = 1 |
| 214 | CC_mutrace = $(DEFAULT_CC) |
| 215 | CXX_mutrace = $(DEFAULT_CXX) |
| 216 | LD_mutrace = $(DEFAULT_CC) |
| 217 | LDXX_mutrace = $(DEFAULT_CXX) |
Craig Tiller | c3b88b0 | 2016-05-16 11:21:17 -0700 | [diff] [blame] | 218 | CPPFLAGS_mutrace = -O3 -fno-omit-frame-pointer |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 219 | LDFLAGS_mutrace = -rdynamic |
Craig Tiller | c3b88b0 | 2016-05-16 11:21:17 -0700 | [diff] [blame] | 220 | DEFINES_mutrace = NDEBUG |
Craig Tiller | 934baa3 | 2015-01-12 18:19:45 -0800 | [diff] [blame] | 221 | |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 222 | VALID_CONFIG_memcheck = 1 |
| 223 | CC_memcheck = $(DEFAULT_CC) |
| 224 | CXX_memcheck = $(DEFAULT_CXX) |
| 225 | LD_memcheck = $(DEFAULT_CC) |
Craig Tiller | aff3d50 | 2016-01-20 15:59:31 -0800 | [diff] [blame] | 226 | LDXX_memcheck = $(DEFAULT_CXX) |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 227 | CPPFLAGS_memcheck = -O0 |
| 228 | LDFLAGS_memcheck = -rdynamic |
| 229 | DEFINES_memcheck = _DEBUG DEBUG |
| 230 | DEFINES_memcheck += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=10 |
| 231 | |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 232 | VALID_CONFIG_etsan = 1 |
| 233 | REQUIRE_CUSTOM_LIBRARIES_etsan = 1 |
| 234 | CC_etsan = clang |
| 235 | CXX_etsan = clang++ |
| 236 | LD_etsan = clang |
| 237 | LDXX_etsan = clang++ |
Craig Tiller | 5bda4d4 | 2016-03-17 17:27:11 -0700 | [diff] [blame] | 238 | CPPFLAGS_etsan = -O0 -fsanitize=thread -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS |
| 239 | LDFLAGS_etsan = -fsanitize=thread |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 240 | DEFINES_etsan = _DEBUG DEBUG GRPC_EXECUTION_CONTEXT_SANITIZER |
| 241 | DEFINES_etsan += GRPC_TEST_SLOWDOWN_BUILD_FACTOR=5 |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 242 | |
Craig Tiller | 3af3f74 | 2016-02-28 21:53:13 -0800 | [diff] [blame] | 243 | VALID_CONFIG_gcov = 1 |
| 244 | CC_gcov = gcc |
| 245 | CXX_gcov = g++ |
| 246 | LD_gcov = gcc |
| 247 | LDXX_gcov = g++ |
| 248 | CPPFLAGS_gcov = -O0 -fprofile-arcs -ftest-coverage -Wno-return-type |
| 249 | LDFLAGS_gcov = -fprofile-arcs -ftest-coverage -rdynamic |
| 250 | DEFINES_gcov = _DEBUG DEBUG GPR_GCOV |
Craig Tiller | a0f8517 | 2016-01-20 15:56:06 -0800 | [diff] [blame] | 251 | |
| 252 | |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 253 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 254 | # General settings. |
| 255 | # You may want to change these depending on your system. |
| 256 | |
| 257 | prefix ?= /usr/local |
| 258 | |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 259 | PROTOC ?= protoc |
| 260 | DTRACE ?= dtrace |
yangg | 102e4fe | 2015-01-06 16:02:50 -0800 | [diff] [blame] | 261 | CONFIG ?= opt |
Nicolas "Pixel" Noble | fba36bc | 2016-01-27 03:24:03 +0100 | [diff] [blame] | 262 | # Doing X ?= Y is the same as: |
| 263 | # ifeq ($(origin X), undefined) |
| 264 | # X = Y |
| 265 | # endif |
| 266 | # but some variables, such as CC, CXX, LD or AR, have defaults. |
| 267 | # So instead of using ?= on them, we need to check their origin. |
| 268 | # See: |
| 269 | # https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html |
| 270 | # https://www.gnu.org/software/make/manual/html_node/Flavors.html#index-_003f_003d |
| 271 | # https://www.gnu.org/software/make/manual/html_node/Origin-Function.html |
| 272 | ifeq ($(origin CC), default) |
ctiller | 8cfebb9 | 2015-01-06 15:02:12 -0800 | [diff] [blame] | 273 | CC = $(CC_$(CONFIG)) |
Nicolas "Pixel" Noble | fba36bc | 2016-01-27 03:24:03 +0100 | [diff] [blame] | 274 | endif |
| 275 | ifeq ($(origin CXX), default) |
ctiller | 8cfebb9 | 2015-01-06 15:02:12 -0800 | [diff] [blame] | 276 | CXX = $(CXX_$(CONFIG)) |
Nicolas "Pixel" Noble | fba36bc | 2016-01-27 03:24:03 +0100 | [diff] [blame] | 277 | endif |
| 278 | ifeq ($(origin LD), default) |
ctiller | 8cfebb9 | 2015-01-06 15:02:12 -0800 | [diff] [blame] | 279 | LD = $(LD_$(CONFIG)) |
Nicolas "Pixel" Noble | fba36bc | 2016-01-27 03:24:03 +0100 | [diff] [blame] | 280 | endif |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 281 | LDXX ?= $(LDXX_$(CONFIG)) |
Nicolas "Pixel" Noble | d7631a4 | 2015-02-27 07:52:39 +0100 | [diff] [blame] | 282 | ifeq ($(SYSTEM),Linux) |
Nicolas "Pixel" Noble | 6e72dae | 2016-02-03 04:23:08 +0100 | [diff] [blame] | 283 | ifeq ($(origin AR), default) |
| 284 | AR = ar rcs |
| 285 | endif |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 286 | STRIP ?= strip --strip-unneeded |
Nicolas "Pixel" Noble | d7631a4 | 2015-02-27 07:52:39 +0100 | [diff] [blame] | 287 | else |
| 288 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | 6e72dae | 2016-02-03 04:23:08 +0100 | [diff] [blame] | 289 | ifeq ($(origin AR), default) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 290 | AR = libtool -no_warning_for_no_symbols -o |
Nicolas "Pixel" Noble | 6e72dae | 2016-02-03 04:23:08 +0100 | [diff] [blame] | 291 | endif |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 292 | STRIP ?= strip -x |
Nicolas "Pixel" Noble | d7631a4 | 2015-02-27 07:52:39 +0100 | [diff] [blame] | 293 | else |
Nicolas "Pixel" Noble | 6e72dae | 2016-02-03 04:23:08 +0100 | [diff] [blame] | 294 | ifeq ($(origin AR), default) |
| 295 | AR = ar rcs |
| 296 | endif |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 297 | STRIP ?= strip |
Nicolas "Pixel" Noble | d7631a4 | 2015-02-27 07:52:39 +0100 | [diff] [blame] | 298 | endif |
| 299 | endif |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 300 | INSTALL ?= install |
| 301 | RM ?= rm -f |
| 302 | PKG_CONFIG ?= pkg-config |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 303 | |
yangg | 102e4fe | 2015-01-06 16:02:50 -0800 | [diff] [blame] | 304 | ifndef VALID_CONFIG_$(CONFIG) |
| 305 | $(error Invalid CONFIG value '$(CONFIG)') |
| 306 | endif |
| 307 | |
Nicolas "Pixel" Noble | e758ed1 | 2015-03-11 22:51:39 +0100 | [diff] [blame] | 308 | ifeq ($(SYSTEM),Linux) |
| 309 | TMPOUT = /dev/null |
| 310 | else |
| 311 | TMPOUT = `mktemp /tmp/test-out-XXXXXX` |
| 312 | endif |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 313 | |
Craig Tiller | cf133f4 | 2015-02-26 14:05:56 -0800 | [diff] [blame] | 314 | # Detect if we can use C++11 |
Nicolas "Pixel" Noble | e758ed1 | 2015-03-11 22:51:39 +0100 | [diff] [blame] | 315 | 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] | 316 | HAS_CXX11 = $(shell $(CXX11_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 317 | |
Craig Tiller | 804b855 | 2016-02-23 16:50:24 -0800 | [diff] [blame] | 318 | CHECK_SHADOW_WORKS_CMD = $(CC) -std=c99 -Werror -Wshadow -o $(TMPOUT) -c test/build/shadow.c |
| 319 | HAS_WORKING_SHADOW = $(shell $(CHECK_SHADOW_WORKS_CMD) 2> /dev/null && echo true || echo false) |
| 320 | ifeq ($(HAS_WORKING_SHADOW),true) |
| 321 | W_SHADOW=-Wshadow |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 322 | NO_W_SHADOW=-Wno-shadow |
Craig Tiller | 804b855 | 2016-02-23 16:50:24 -0800 | [diff] [blame] | 323 | endif |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 324 | CHECK_EXTRA_SEMI_WORKS_CMD = $(CC) -std=c99 -Werror -Wextra-semi -o $(TMPOUT) -c test/build/extra-semi.c |
| 325 | HAS_WORKING_EXTRA_SEMI = $(shell $(CHECK_EXTRA_SEMI_WORKS_CMD) 2> /dev/null && echo true || echo false) |
| 326 | ifeq ($(HAS_WORKING_EXTRA_SEMI),true) |
| 327 | W_EXTRA_SEMI=-Wextra-semi |
| 328 | NO_W_EXTRA_SEMI=-Wno-extra-semi |
| 329 | endif |
| 330 | 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 |
| 331 | HAS_WORKING_NO_SHIFT_NEGATIVE_VALUE = $(shell $(CHECK_NO_SHIFT_NEGATIVE_VALUE_WORKS_CMD) 2> /dev/null && echo true || echo false) |
| 332 | ifeq ($(HAS_WORKING_NO_SHIFT_NEGATIVE_VALUE),true) |
Craig Tiller | f9ceb1d | 2016-01-25 10:55:20 -0800 | [diff] [blame] | 333 | W_NO_SHIFT_NEGATIVE_VALUE=-Wno-shift-negative-value |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 334 | NO_W_NO_SHIFT_NEGATIVE_VALUE=-Wshift-negative-value |
Craig Tiller | f9ceb1d | 2016-01-25 10:55:20 -0800 | [diff] [blame] | 335 | endif |
| 336 | |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 337 | # The HOST compiler settings are used to compile the protoc plugins. |
| 338 | # In most cases, you won't have to change anything, but if you are |
| 339 | # cross-compiling, you can override these variables from GNU make's |
| 340 | # command line: make CC=cross-gcc HOST_CC=gcc |
| 341 | |
Nicolas "Pixel" Noble | 1a8eb85 | 2016-01-26 22:33:19 +0100 | [diff] [blame] | 342 | HOST_CC ?= $(CC) |
| 343 | HOST_CXX ?= $(CXX) |
| 344 | HOST_LD ?= $(LD) |
| 345 | HOST_LDXX ?= $(LDXX) |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 346 | |
Craig Tiller | 86fa1c5 | 2015-02-27 09:57:58 -0800 | [diff] [blame] | 347 | ifdef EXTRA_DEFINES |
Craig Tiller | c6e387b | 2015-02-27 10:15:10 -0800 | [diff] [blame] | 348 | DEFINES += $(EXTRA_DEFINES) |
Craig Tiller | 86fa1c5 | 2015-02-27 09:57:58 -0800 | [diff] [blame] | 349 | endif |
| 350 | |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 351 | CFLAGS += -std=c99 -Wsign-conversion -Wconversion $(W_SHADOW) $(W_EXTRA_SEMI) |
Craig Tiller | cf133f4 | 2015-02-26 14:05:56 -0800 | [diff] [blame] | 352 | ifeq ($(HAS_CXX11),true) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 353 | CXXFLAGS += -std=c++11 |
Craig Tiller | cf133f4 | 2015-02-26 14:05:56 -0800 | [diff] [blame] | 354 | else |
| 355 | CXXFLAGS += -std=c++0x |
Craig Tiller | cf133f4 | 2015-02-26 14:05:56 -0800 | [diff] [blame] | 356 | endif |
Nicolas "Pixel" Noble | 51b1aee | 2016-01-28 01:14:58 +0100 | [diff] [blame] | 357 | CPPFLAGS += -g -Wall -Wextra -Werror -Wno-long-long -Wno-unused-parameter |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 358 | LDFLAGS += -g |
| 359 | |
Nicolas "Pixel" Noble | 482d761 | 2015-07-16 23:43:30 +0200 | [diff] [blame] | 360 | CPPFLAGS += $(CPPFLAGS_$(CONFIG)) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 361 | CFLAGS += $(CFLAGS_$(CONFIG)) |
| 362 | CXXFLAGS += $(CXXFLAGS_$(CONFIG)) |
Nicolas "Pixel" Noble | 482d761 | 2015-07-16 23:43:30 +0200 | [diff] [blame] | 363 | DEFINES += $(DEFINES_$(CONFIG)) INSTALL_PREFIX=\"$(prefix)\" |
| 364 | LDFLAGS += $(LDFLAGS_$(CONFIG)) |
| 365 | |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 366 | ifneq ($(SYSTEM),MINGW32) |
| 367 | PIC_CPPFLAGS = -fPIC |
| 368 | CPPFLAGS += -fPIC |
| 369 | LDFLAGS += -fPIC |
| 370 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 371 | |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 372 | INCLUDES = . include $(GENDIR) |
Nicolas "Pixel" Noble | 3adab74 | 2015-06-02 00:33:06 +0200 | [diff] [blame] | 373 | LDFLAGS += -Llibs/$(CONFIG) |
| 374 | |
Craig Tiller | 96b4955 | 2015-01-21 16:29:01 -0800 | [diff] [blame] | 375 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | ce89883 | 2015-08-05 07:22:18 -0700 | [diff] [blame] | 376 | ifneq ($(wildcard /usr/local/ssl/include),) |
| 377 | INCLUDES += /usr/local/ssl/include |
| 378 | endif |
| 379 | ifneq ($(wildcard /opt/local/include),) |
| 380 | INCLUDES += /opt/local/include |
| 381 | endif |
| 382 | ifneq ($(wildcard /usr/local/include),) |
| 383 | INCLUDES += /usr/local/include |
| 384 | endif |
| 385 | LIBS = m z |
| 386 | ifneq ($(wildcard /usr/local/ssl/lib),) |
| 387 | LDFLAGS += -L/usr/local/ssl/lib |
| 388 | endif |
| 389 | ifneq ($(wildcard /opt/local/lib),) |
| 390 | LDFLAGS += -L/opt/local/lib |
| 391 | endif |
| 392 | ifneq ($(wildcard /usr/local/lib),) |
| 393 | LDFLAGS += -L/usr/local/lib |
| 394 | endif |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 395 | endif |
| 396 | |
| 397 | ifeq ($(SYSTEM),Linux) |
Craig Tiller | 1b1e238 | 2016-02-03 07:33:56 -0800 | [diff] [blame] | 398 | LIBS = dl rt m pthread |
Craig Tiller | 96b4955 | 2015-01-21 16:29:01 -0800 | [diff] [blame] | 399 | LDFLAGS += -pthread |
| 400 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 401 | |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 402 | ifeq ($(SYSTEM),MINGW32) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 403 | LIBS = m pthread ws2_32 |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 404 | LDFLAGS += -pthread |
| 405 | endif |
| 406 | |
Craig Tiller | 16f6dac | 2015-08-24 17:00:04 -0700 | [diff] [blame] | 407 | 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] | 408 | GTEST_LIB += -lgflags |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 409 | ifeq ($(V),1) |
| 410 | E = @: |
| 411 | Q = |
| 412 | else |
| 413 | E = @echo |
| 414 | Q = @ |
| 415 | endif |
| 416 | |
Nicolas "Pixel" Noble | 16caa50 | 2016-05-06 03:02:51 +0200 | [diff] [blame] | 417 | VERSION = 0.15.0-dev |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 418 | |
| 419 | CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES)) |
| 420 | CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS) |
| 421 | |
| 422 | LDFLAGS += $(ARCH_FLAGS) |
| 423 | LDLIBS += $(addprefix -l, $(LIBS)) |
| 424 | LDLIBSXX += $(addprefix -l, $(LIBSXX)) |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 425 | |
| 426 | HOST_CPPFLAGS = $(CPPFLAGS) |
| 427 | HOST_CFLAGS = $(CFLAGS) |
| 428 | HOST_CXXFLAGS = $(CXXFLAGS) |
| 429 | HOST_LDFLAGS = $(LDFLAGS) |
| 430 | HOST_LDLIBS = $(LDLIBS) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 431 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 432 | # These are automatically computed variables. |
| 433 | # There shouldn't be any need to change anything from now on. |
| 434 | |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 435 | -include cache.mk |
| 436 | |
| 437 | CACHE_MK = |
| 438 | |
| 439 | HAS_PKG_CONFIG ?= $(shell command -v $(PKG_CONFIG) >/dev/null 2>&1 && echo true || echo false) |
| 440 | |
| 441 | ifeq ($(HAS_PKG_CONFIG), true) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 442 | CACHE_MK += HAS_PKG_CONFIG = true, |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 443 | endif |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 444 | |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 445 | 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] | 446 | |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 447 | ifeq ($(SYSTEM),MINGW32) |
| 448 | SHARED_EXT = dll |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 449 | SHARED_PREFIX = |
| 450 | SHARED_VERSION = -0 |
| 451 | else ifeq ($(SYSTEM),Darwin) |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 452 | SHARED_EXT = dylib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 453 | SHARED_PREFIX = lib |
| 454 | SHARED_VERSION = |
| 455 | else |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 456 | SHARED_EXT = so.$(VERSION) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 457 | SHARED_PREFIX = lib |
| 458 | SHARED_VERSION = |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 459 | endif |
| 460 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 461 | ifeq ($(wildcard .git),) |
| 462 | IS_GIT_FOLDER = false |
| 463 | else |
| 464 | IS_GIT_FOLDER = true |
| 465 | endif |
| 466 | |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 467 | ifeq ($(HAS_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 468 | OPENSSL_ALPN_CHECK_CMD = $(PKG_CONFIG) --atleast-version=1.0.2 openssl |
murgatroid99 | 71020da | 2015-07-08 13:04:05 -0700 | [diff] [blame] | 469 | OPENSSL_NPN_CHECK_CMD = $(PKG_CONFIG) --atleast-version=1.0.1 openssl |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 470 | ZLIB_CHECK_CMD = $(PKG_CONFIG) --exists zlib |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 471 | PROTOBUF_CHECK_CMD = $(PKG_CONFIG) --atleast-version=3.0.0-alpha-3 protobuf |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 472 | else # HAS_PKG_CONFIG |
| 473 | |
Nicolas Noble | f868118 | 2015-03-18 14:25:44 -0700 | [diff] [blame] | 474 | ifeq ($(SYSTEM),MINGW32) |
| 475 | OPENSSL_LIBS = ssl32 eay32 |
| 476 | else |
| 477 | OPENSSL_LIBS = ssl crypto |
| 478 | endif |
| 479 | |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 480 | OPENSSL_ALPN_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/openssl-alpn.c $(addprefix -l, $(OPENSSL_LIBS)) $(LDFLAGS) |
| 481 | 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] | 482 | 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] | 483 | ZLIB_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/zlib.c -lz $(LDFLAGS) |
| 484 | 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] | 485 | |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 486 | endif # HAS_PKG_CONFIG |
| 487 | |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 488 | 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] | 489 | |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 490 | PROTOC_CHECK_CMD = which protoc > /dev/null |
| 491 | PROTOC_CHECK_VERSION_CMD = protoc --version | grep -q libprotoc.3 |
| 492 | DTRACE_CHECK_CMD = which dtrace > /dev/null |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 493 | SYSTEMTAP_HEADERS_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/systemtap.c $(LDFLAGS) |
| 494 | ZOOKEEPER_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/zookeeper.c $(LDFLAGS) -lzookeeper_mt |
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 | |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 562 | HAS_ZOOKEEPER = $(shell $(ZOOKEEPER_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 563 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 564 | # Note that for testing purposes, one can do: |
| 565 | # make HAS_EMBEDDED_OPENSSL_ALPN=false |
| 566 | # 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] | 567 | ifneq ($(wildcard third_party/openssl-1.0.2f/libssl.a),) |
| 568 | HAS_EMBEDDED_OPENSSL_ALPN = third_party/openssl-1.0.2f |
| 569 | else ifeq ($(wildcard third_party/boringssl/include/openssl/ssl.h),) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 570 | HAS_EMBEDDED_OPENSSL_ALPN = false |
| 571 | else |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 572 | CAN_COMPILE_EMBEDDED_OPENSSL ?= $(shell $(BORINGSSL_COMPILE_CHECK_CMD) 2> /dev/null && echo true || echo false) |
| 573 | HAS_EMBEDDED_OPENSSL_ALPN = $(CAN_COMPILE_EMBEDDED_OPENSSL) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 574 | endif |
| 575 | |
| 576 | ifeq ($(wildcard third_party/zlib/zlib.h),) |
| 577 | HAS_EMBEDDED_ZLIB = false |
| 578 | else |
| 579 | HAS_EMBEDDED_ZLIB = true |
| 580 | endif |
| 581 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 582 | ifeq ($(wildcard third_party/protobuf/src/google/protobuf/descriptor.pb.h),) |
| 583 | HAS_EMBEDDED_PROTOBUF = false |
| 584 | ifneq ($(HAS_VALID_PROTOC),true) |
| 585 | NO_PROTOC = true |
| 586 | endif |
| 587 | else |
| 588 | HAS_EMBEDDED_PROTOBUF = true |
| 589 | endif |
| 590 | |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 591 | PC_REQUIRES_GRPC = |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 592 | PC_LIBS_GRPC = |
| 593 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 594 | ifeq ($(HAS_SYSTEM_ZLIB),false) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 595 | ifeq ($(HAS_EMBEDDED_ZLIB), true) |
| 596 | EMBED_ZLIB ?= true |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 597 | else |
| 598 | DEP_MISSING += zlib |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 599 | EMBED_ZLIB ?= broken |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 600 | endif |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 601 | else |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 602 | EMBED_ZLIB ?= false |
| 603 | endif |
| 604 | |
| 605 | ifeq ($(EMBED_ZLIB),true) |
| 606 | ZLIB_DEP = $(LIBDIR)/$(CONFIG)/libz.a |
| 607 | ZLIB_MERGE_LIBS = $(LIBDIR)/$(CONFIG)/libz.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 608 | ZLIB_MERGE_OBJS = $(LIBZ_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 609 | CPPFLAGS += -Ithird_party/zlib |
| 610 | LDFLAGS += -L$(LIBDIR)/$(CONFIG)/zlib |
| 611 | else |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 612 | ifeq ($(HAS_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 613 | CPPFLAGS += $(shell $(PKG_CONFIG) --cflags zlib) |
| 614 | LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L zlib) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 615 | LIBS += $(patsubst -l%,%,$(shell $(PKG_CONFIG) --libs-only-l zlib)) |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 616 | PC_REQUIRES_GRPC += zlib |
| 617 | else |
| 618 | PC_LIBS_GRPC += -lz |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 619 | LIBS += z |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 620 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 621 | endif |
| 622 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 623 | OPENSSL_PKG_CONFIG = false |
| 624 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 625 | PC_REQUIRES_SECURE = |
| 626 | PC_LIBS_SECURE = |
| 627 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 628 | ifeq ($(HAS_SYSTEM_OPENSSL_ALPN),true) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 629 | EMBED_OPENSSL ?= false |
| 630 | NO_SECURE ?= false |
| 631 | else # HAS_SYSTEM_OPENSSL_ALPN=false |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 632 | ifneq ($(HAS_EMBEDDED_OPENSSL_ALPN),false) |
| 633 | EMBED_OPENSSL ?= $(HAS_EMBEDDED_OPENSSL_ALPN) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 634 | NO_SECURE ?= false |
| 635 | else # HAS_EMBEDDED_OPENSSL_ALPN=false |
| 636 | ifeq ($(HAS_SYSTEM_OPENSSL_NPN),true) |
| 637 | EMBED_OPENSSL ?= false |
| 638 | NO_SECURE ?= false |
| 639 | else |
| 640 | NO_SECURE ?= true |
| 641 | endif # HAS_SYSTEM_OPENSSL_NPN=true |
| 642 | endif # HAS_EMBEDDED_OPENSSL_ALPN |
| 643 | endif # HAS_SYSTEM_OPENSSL_ALPN |
| 644 | |
| 645 | OPENSSL_DEP := |
| 646 | OPENSSL_MERGE_LIBS := |
| 647 | ifeq ($(NO_SECURE),false) |
| 648 | ifeq ($(EMBED_OPENSSL),true) |
| 649 | OPENSSL_DEP += $(LIBDIR)/$(CONFIG)/libboringssl.a |
| 650 | OPENSSL_MERGE_LIBS += $(LIBDIR)/$(CONFIG)/libboringssl.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 651 | OPENSSL_MERGE_OBJS += $(LIBBORINGSSL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 652 | # need to prefix these to ensure overriding system libraries |
| 653 | CPPFLAGS := -Ithird_party/boringssl/include $(CPPFLAGS) |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 654 | else ifneq ($(EMBED_OPENSSL),false) |
| 655 | OPENSSL_DEP += $(EMBED_OPENSSL)/libssl.a $(EMBED_OPENSSL)/libcrypto.a |
| 656 | OPENSSL_MERGE_LIBS += $(EMBED_OPENSSL)/libssl.a $(EMBED_OPENSSL)/libcrypto.a |
| 657 | OPENSSL_MERGE_OBJS += $(wildcard $(EMBED_OPENSSL)/grpc_obj/*.o) |
| 658 | # need to prefix these to ensure overriding system libraries |
| 659 | CPPFLAGS := -I$(EMBED_OPENSSL)/include $(CPPFLAGS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 660 | else # EMBED_OPENSSL=false |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 661 | ifeq ($(HAS_PKG_CONFIG),true) |
| 662 | OPENSSL_PKG_CONFIG = true |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 663 | PC_REQUIRES_SECURE = openssl |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 664 | CPPFLAGS := $(shell $(PKG_CONFIG) --cflags openssl) $(CPPFLAGS) |
| 665 | LDFLAGS_OPENSSL_PKG_CONFIG = $(shell $(PKG_CONFIG) --libs-only-L openssl) |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 666 | ifeq ($(SYSTEM),Linux) |
| 667 | ifneq ($(LDFLAGS_OPENSSL_PKG_CONFIG),) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 668 | 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] | 669 | endif # LDFLAGS_OPENSSL_PKG_CONFIG='' |
| 670 | endif # System=Linux |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 671 | LDFLAGS := $(LDFLAGS_OPENSSL_PKG_CONFIG) $(LDFLAGS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 672 | else # HAS_PKG_CONFIG=false |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 673 | LIBS_SECURE = $(OPENSSL_LIBS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 674 | endif # HAS_PKG_CONFIG |
| 675 | ifeq ($(HAS_SYSTEM_OPENSSL_NPN),true) |
| 676 | CPPFLAGS += -DTSI_OPENSSL_ALPN_SUPPORT=0 |
| 677 | LIBS_SECURE = $(OPENSSL_LIBS) |
| 678 | endif # HAS_SYSTEM_OPENSSL_NPN |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 679 | PC_LIBS_SECURE = $(addprefix -l, $(LIBS_SECURE)) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 680 | endif # EMBED_OPENSSL |
| 681 | endif # NO_SECURE |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 682 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 683 | ifeq ($(OPENSSL_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 684 | LDLIBS_SECURE += $(shell $(PKG_CONFIG) --libs-only-l openssl) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 685 | else |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 686 | LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE)) |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 687 | endif |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 688 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 689 | # grpc .pc file |
| 690 | PC_NAME = gRPC |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 691 | PC_DESCRIPTION = high performance general RPC framework |
| 692 | PC_CFLAGS = |
| 693 | PC_REQUIRES_PRIVATE = $(PC_REQUIRES_GRPC) $(PC_REQUIRES_SECURE) |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 694 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPC) $(PC_LIBS_SECURE) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 695 | PC_LIB = -lgrpc |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 696 | GRPC_PC_FILE := $(PC_TEMPLATE) |
| 697 | |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 698 | # grpc_unsecure .pc file |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 699 | PC_NAME = gRPC unsecure |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 700 | PC_DESCRIPTION = high performance general RPC framework without SSL |
| 701 | PC_CFLAGS = |
| 702 | PC_REQUIRES_PRIVATE = $(PC_REQUIRES_GRPC) |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 703 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPC) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 704 | PC_LIB = -lgrpc |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 705 | GRPC_UNSECURE_PC_FILE := $(PC_TEMPLATE) |
| 706 | |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 707 | # grpc_zookeeper .pc file |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 708 | PC_NAME = gRPC zookeeper |
| 709 | PC_DESCRIPTION = gRPC's zookeeper plugin |
| 710 | PC_CFLAGS = |
| 711 | PC_REQUIRES_PRIVATE = |
| 712 | PC_LIBS_PRIVATE = -lzookeeper_mt |
| 713 | GRPC_ZOOKEEPER_PC_FILE := $(PC_TEMPLATE) |
| 714 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 715 | PROTOBUF_PKG_CONFIG = false |
| 716 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 717 | PC_REQUIRES_GRPCXX = |
| 718 | PC_LIBS_GRPCXX = |
| 719 | |
Craig Tiller | 16f6dac | 2015-08-24 17:00:04 -0700 | [diff] [blame] | 720 | CPPFLAGS := -Ithird_party/googletest/include $(CPPFLAGS) |
| 721 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 722 | ifeq ($(HAS_SYSTEM_PROTOBUF),true) |
| 723 | ifeq ($(HAS_PKG_CONFIG),true) |
| 724 | PROTOBUF_PKG_CONFIG = true |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 725 | PC_REQUIRES_GRPCXX = protobuf |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 726 | CPPFLAGS := $(shell $(PKG_CONFIG) --cflags protobuf) $(CPPFLAGS) |
| 727 | LDFLAGS_PROTOBUF_PKG_CONFIG = $(shell $(PKG_CONFIG) --libs-only-L protobuf) |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 728 | ifeq ($(SYSTEM),Linux) |
| 729 | ifneq ($(LDFLAGS_PROTOBUF_PKG_CONFIG),) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 730 | 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] | 731 | endif |
| 732 | endif |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 733 | else |
| 734 | PC_LIBS_GRPCXX = -lprotobuf |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 735 | endif |
| 736 | else |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 737 | ifeq ($(HAS_EMBEDDED_PROTOBUF),true) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 738 | PROTOBUF_DEP = $(LIBDIR)/$(CONFIG)/protobuf/libprotobuf.a |
Craig Tiller | 9ec95fa | 2015-02-20 20:36:21 -0800 | [diff] [blame] | 739 | CPPFLAGS := -Ithird_party/protobuf/src $(CPPFLAGS) |
| 740 | LDFLAGS := -L$(LIBDIR)/$(CONFIG)/protobuf $(LDFLAGS) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 741 | PROTOC = $(BINDIR)/$(CONFIG)/protobuf/protoc |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 742 | else |
| 743 | NO_PROTOBUF = true |
| 744 | endif |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 745 | endif |
| 746 | |
| 747 | LIBS_PROTOBUF = protobuf |
| 748 | LIBS_PROTOC = protoc protobuf |
| 749 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 750 | HOST_LDLIBS_PROTOC += $(addprefix -l, $(LIBS_PROTOC)) |
| 751 | |
murgatroid99 | da7a994 | 2015-06-29 14:57:37 -0700 | [diff] [blame] | 752 | ifeq ($(PROTOBUF_PKG_CONFIG),true) |
murgatroid99 | 66d6edb | 2015-07-06 11:37:51 -0700 | [diff] [blame] | 753 | LDLIBS_PROTOBUF += $(shell $(PKG_CONFIG) --libs-only-l protobuf) |
murgatroid99 | 24e2f4a | 2015-06-29 11:12:01 -0700 | [diff] [blame] | 754 | else |
| 755 | LDLIBS_PROTOBUF += $(addprefix -l, $(LIBS_PROTOBUF)) |
| 756 | endif |
| 757 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 758 | # grpc++ .pc file |
| 759 | PC_NAME = gRPC++ |
| 760 | PC_DESCRIPTION = C++ wrapper for gRPC |
| 761 | PC_CFLAGS = |
| 762 | PC_REQUIRES_PRIVATE = grpc $(PC_REQUIRES_GRPCXX) |
| 763 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPCXX) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 764 | PC_LIB = -lgrpc++ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 765 | GRPCXX_PC_FILE := $(PC_TEMPLATE) |
| 766 | |
| 767 | # grpc++_unsecure .pc file |
| 768 | PC_NAME = gRPC++ unsecure |
| 769 | PC_DESCRIPTION = C++ wrapper for gRPC without SSL |
| 770 | PC_CFLAGS = |
| 771 | PC_REQUIRES_PRIVATE = grpc_unsecure $(PC_REQUIRES_GRPCXX) |
| 772 | PC_LIBS_PRIVATE = $(PC_LIBS_GRPCXX) |
murgatroid99 | 4fed212 | 2015-07-06 11:26:30 -0700 | [diff] [blame] | 773 | PC_LIB = -lgrpc++ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 774 | GRPCXX_UNSECURE_PC_FILE := $(PC_TEMPLATE) |
| 775 | |
Craig Tiller | 12c8209 | 2015-01-15 08:45:56 -0800 | [diff] [blame] | 776 | ifeq ($(MAKECMDGOALS),clean) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 777 | NO_DEPS = true |
| 778 | endif |
| 779 | |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 780 | INSTALL_OK = false |
| 781 | ifeq ($(HAS_VALID_PROTOC),true) |
| 782 | ifeq ($(HAS_SYSTEM_PROTOBUF_VERIFY),true) |
| 783 | INSTALL_OK = true |
| 784 | endif |
| 785 | endif |
| 786 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 787 | .SECONDARY = %.pb.h %.pb.cc |
| 788 | |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 789 | 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] | 790 | ifeq ($(DEP_MISSING),) |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 791 | all: static shared plugins |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 792 | dep_error: |
| 793 | @echo "You shouldn't see this message - all of your dependencies are correct." |
| 794 | else |
| 795 | all: dep_error git_update stop |
| 796 | |
| 797 | dep_error: |
| 798 | @echo |
| 799 | @echo "DEPENDENCY ERROR" |
| 800 | @echo |
| 801 | @echo "You are missing system dependencies that are essential to build grpc," |
| 802 | @echo "and the third_party directory doesn't have them:" |
| 803 | @echo |
| 804 | @echo " $(DEP_MISSING)" |
| 805 | @echo |
| 806 | @echo "Installing the development packages for your system will solve" |
| 807 | @echo "this issue. Please consult INSTALL to get more information." |
| 808 | @echo |
| 809 | @echo "If you need information about why these tests failed, run:" |
| 810 | @echo |
| 811 | @echo " make run_dep_checks" |
| 812 | @echo |
| 813 | endif |
| 814 | |
| 815 | git_update: |
| 816 | ifeq ($(IS_GIT_FOLDER),true) |
| 817 | @echo "Additionally, since you are in a git clone, you can download the" |
| 818 | @echo "missing dependencies in third_party by running the following command:" |
| 819 | @echo |
ctiller | 64f2910 | 2014-12-15 10:40:59 -0800 | [diff] [blame] | 820 | @echo " git submodule update --init" |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 821 | @echo |
| 822 | endif |
| 823 | |
| 824 | openssl_dep_error: openssl_dep_message git_update stop |
| 825 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 826 | protobuf_dep_error: protobuf_dep_message git_update stop |
| 827 | |
| 828 | protoc_dep_error: protoc_dep_message git_update stop |
| 829 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 830 | openssl_dep_message: |
| 831 | @echo |
| 832 | @echo "DEPENDENCY ERROR" |
| 833 | @echo |
Craig Tiller | b79c1e1 | 2016-02-23 10:00:58 -0800 | [diff] [blame] | 834 | @echo "The target you are trying to run requires an OpenSSL implementation." |
| 835 | @echo "Your system doesn't have one, and either the third_party directory" |
| 836 | @echo "doesn't have it, or your compiler can't build BoringSSL." |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 837 | @echo |
| 838 | @echo "Please consult INSTALL to get more information." |
| 839 | @echo |
| 840 | @echo "If you need information about why these tests failed, run:" |
| 841 | @echo |
| 842 | @echo " make run_dep_checks" |
| 843 | @echo |
| 844 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 845 | protobuf_dep_message: |
| 846 | @echo |
| 847 | @echo "DEPENDENCY ERROR" |
| 848 | @echo |
| 849 | @echo "The target you are trying to run requires protobuf 3.0.0+" |
| 850 | @echo "Your system doesn't have it, and neither does the third_party directory." |
| 851 | @echo |
| 852 | @echo "Please consult INSTALL to get more information." |
| 853 | @echo |
| 854 | @echo "If you need information about why these tests failed, run:" |
| 855 | @echo |
| 856 | @echo " make run_dep_checks" |
| 857 | @echo |
| 858 | |
| 859 | protoc_dep_message: |
| 860 | @echo |
| 861 | @echo "DEPENDENCY ERROR" |
| 862 | @echo |
| 863 | @echo "The target you are trying to run requires protobuf-compiler 3.0.0+" |
| 864 | @echo "Your system doesn't have it, and neither does the third_party directory." |
| 865 | @echo |
| 866 | @echo "Please consult INSTALL to get more information." |
| 867 | @echo |
| 868 | @echo "If you need information about why these tests failed, run:" |
| 869 | @echo |
| 870 | @echo " make run_dep_checks" |
| 871 | @echo |
| 872 | |
David Garcia Quintas | 8954e90 | 2015-04-29 09:46:33 -0700 | [diff] [blame] | 873 | systemtap_dep_error: |
| 874 | @echo |
| 875 | @echo "DEPENDENCY ERROR" |
| 876 | @echo |
| 877 | @echo "Under the '$(CONFIG)' configutation, the target you are trying " |
| 878 | @echo "to build requires systemtap 2.7+ (on Linux) or dtrace (on other " |
| 879 | @echo "platforms such as Solaris and *BSD). " |
| 880 | @echo |
| 881 | @echo "Please consult INSTALL to get more information." |
| 882 | @echo |
| 883 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 884 | stop: |
| 885 | @false |
| 886 | |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 887 | alarm_test: $(BINDIR)/$(CONFIG)/alarm_test |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 888 | algorithm_test: $(BINDIR)/$(CONFIG)/algorithm_test |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 889 | alloc_test: $(BINDIR)/$(CONFIG)/alloc_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 890 | alpn_test: $(BINDIR)/$(CONFIG)/alpn_test |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 891 | api_fuzzer: $(BINDIR)/$(CONFIG)/api_fuzzer |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 892 | bin_encoder_test: $(BINDIR)/$(CONFIG)/bin_encoder_test |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 893 | census_context_test: $(BINDIR)/$(CONFIG)/census_context_test |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 894 | channel_create_test: $(BINDIR)/$(CONFIG)/channel_create_test |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 895 | chttp2_hpack_encoder_test: $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 896 | chttp2_status_conversion_test: $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 897 | chttp2_stream_map_test: $(BINDIR)/$(CONFIG)/chttp2_stream_map_test |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 898 | chttp2_varint_test: $(BINDIR)/$(CONFIG)/chttp2_varint_test |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 899 | client_fuzzer: $(BINDIR)/$(CONFIG)/client_fuzzer |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 900 | compression_test: $(BINDIR)/$(CONFIG)/compression_test |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 901 | concurrent_connectivity_test: $(BINDIR)/$(CONFIG)/concurrent_connectivity_test |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 902 | dns_resolver_connectivity_test: $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 903 | dns_resolver_test: $(BINDIR)/$(CONFIG)/dns_resolver_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 904 | dualstack_socket_test: $(BINDIR)/$(CONFIG)/dualstack_socket_test |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 905 | endpoint_pair_test: $(BINDIR)/$(CONFIG)/endpoint_pair_test |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 906 | fd_conservation_posix_test: $(BINDIR)/$(CONFIG)/fd_conservation_posix_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 907 | fd_posix_test: $(BINDIR)/$(CONFIG)/fd_posix_test |
| 908 | fling_client: $(BINDIR)/$(CONFIG)/fling_client |
| 909 | fling_server: $(BINDIR)/$(CONFIG)/fling_server |
| 910 | fling_stream_test: $(BINDIR)/$(CONFIG)/fling_stream_test |
| 911 | fling_test: $(BINDIR)/$(CONFIG)/fling_test |
| 912 | gen_hpack_tables: $(BINDIR)/$(CONFIG)/gen_hpack_tables |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 913 | gen_legal_metadata_characters: $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 914 | goaway_server_test: $(BINDIR)/$(CONFIG)/goaway_server_test |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 915 | gpr_avl_test: $(BINDIR)/$(CONFIG)/gpr_avl_test |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 916 | gpr_backoff_test: $(BINDIR)/$(CONFIG)/gpr_backoff_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 917 | gpr_cmdline_test: $(BINDIR)/$(CONFIG)/gpr_cmdline_test |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 918 | gpr_cpu_test: $(BINDIR)/$(CONFIG)/gpr_cpu_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 919 | gpr_env_test: $(BINDIR)/$(CONFIG)/gpr_env_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 920 | gpr_histogram_test: $(BINDIR)/$(CONFIG)/gpr_histogram_test |
| 921 | gpr_host_port_test: $(BINDIR)/$(CONFIG)/gpr_host_port_test |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 922 | gpr_load_file_test: $(BINDIR)/$(CONFIG)/gpr_load_file_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 923 | gpr_log_test: $(BINDIR)/$(CONFIG)/gpr_log_test |
| 924 | gpr_slice_buffer_test: $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test |
| 925 | gpr_slice_test: $(BINDIR)/$(CONFIG)/gpr_slice_test |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 926 | gpr_stack_lockfree_test: $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 927 | gpr_string_test: $(BINDIR)/$(CONFIG)/gpr_string_test |
| 928 | gpr_sync_test: $(BINDIR)/$(CONFIG)/gpr_sync_test |
| 929 | gpr_thd_test: $(BINDIR)/$(CONFIG)/gpr_thd_test |
| 930 | gpr_time_test: $(BINDIR)/$(CONFIG)/gpr_time_test |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 931 | gpr_tls_test: $(BINDIR)/$(CONFIG)/gpr_tls_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 932 | gpr_useful_test: $(BINDIR)/$(CONFIG)/gpr_useful_test |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 933 | grpc_auth_context_test: $(BINDIR)/$(CONFIG)/grpc_auth_context_test |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 934 | grpc_b64_test: $(BINDIR)/$(CONFIG)/grpc_b64_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 935 | 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] | 936 | grpc_channel_args_test: $(BINDIR)/$(CONFIG)/grpc_channel_args_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 937 | grpc_channel_stack_test: $(BINDIR)/$(CONFIG)/grpc_channel_stack_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 938 | grpc_completion_queue_test: $(BINDIR)/$(CONFIG)/grpc_completion_queue_test |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 939 | grpc_create_jwt: $(BINDIR)/$(CONFIG)/grpc_create_jwt |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 940 | grpc_credentials_test: $(BINDIR)/$(CONFIG)/grpc_credentials_test |
| 941 | grpc_fetch_oauth2: $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2 |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 942 | grpc_invalid_channel_args_test: $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 943 | grpc_json_token_test: $(BINDIR)/$(CONFIG)/grpc_json_token_test |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 944 | grpc_jwt_verifier_test: $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 945 | 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] | 946 | grpc_security_connector_test: $(BINDIR)/$(CONFIG)/grpc_security_connector_test |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 947 | grpc_verify_jwt: $(BINDIR)/$(CONFIG)/grpc_verify_jwt |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 948 | hpack_parser_fuzzer_test: $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 949 | hpack_parser_test: $(BINDIR)/$(CONFIG)/hpack_parser_test |
| 950 | hpack_table_test: $(BINDIR)/$(CONFIG)/hpack_table_test |
Craig Tiller | 2123974 | 2016-03-23 16:33:28 -0700 | [diff] [blame] | 951 | http_fuzzer_test: $(BINDIR)/$(CONFIG)/http_fuzzer_test |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 952 | http_parser_test: $(BINDIR)/$(CONFIG)/http_parser_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 953 | httpcli_format_request_test: $(BINDIR)/$(CONFIG)/httpcli_format_request_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 954 | httpcli_test: $(BINDIR)/$(CONFIG)/httpcli_test |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 955 | httpscli_test: $(BINDIR)/$(CONFIG)/httpscli_test |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 956 | init_test: $(BINDIR)/$(CONFIG)/init_test |
Craig Tiller | 5cb7962 | 2016-03-15 14:46:54 -0700 | [diff] [blame] | 957 | internal_api_canary_iomgr_test: $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test |
| 958 | internal_api_canary_support_test: $(BINDIR)/$(CONFIG)/internal_api_canary_support_test |
| 959 | internal_api_canary_transport_test: $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 960 | invalid_call_argument_test: $(BINDIR)/$(CONFIG)/invalid_call_argument_test |
Craig Tiller | 32173c5 | 2016-03-17 14:12:45 -0700 | [diff] [blame] | 961 | json_fuzzer_test: $(BINDIR)/$(CONFIG)/json_fuzzer_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 962 | json_rewrite: $(BINDIR)/$(CONFIG)/json_rewrite |
| 963 | json_rewrite_test: $(BINDIR)/$(CONFIG)/json_rewrite_test |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 964 | json_stream_error_test: $(BINDIR)/$(CONFIG)/json_stream_error_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 965 | json_test: $(BINDIR)/$(CONFIG)/json_test |
| 966 | lame_client_test: $(BINDIR)/$(CONFIG)/lame_client_test |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 967 | lb_policies_test: $(BINDIR)/$(CONFIG)/lb_policies_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 968 | low_level_ping_pong_benchmark: $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark |
| 969 | message_compress_test: $(BINDIR)/$(CONFIG)/message_compress_test |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 970 | mlog_test: $(BINDIR)/$(CONFIG)/mlog_test |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 971 | multiple_server_queues_test: $(BINDIR)/$(CONFIG)/multiple_server_queues_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 972 | murmur_hash_test: $(BINDIR)/$(CONFIG)/murmur_hash_test |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 973 | nanopb_fuzzer_response_test: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test |
| 974 | nanopb_fuzzer_serverlist_test: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 975 | no_server_test: $(BINDIR)/$(CONFIG)/no_server_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 976 | resolve_address_test: $(BINDIR)/$(CONFIG)/resolve_address_test |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 977 | secure_channel_create_test: $(BINDIR)/$(CONFIG)/secure_channel_create_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 978 | secure_endpoint_test: $(BINDIR)/$(CONFIG)/secure_endpoint_test |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 979 | server_chttp2_test: $(BINDIR)/$(CONFIG)/server_chttp2_test |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 980 | server_fuzzer: $(BINDIR)/$(CONFIG)/server_fuzzer |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 981 | server_test: $(BINDIR)/$(CONFIG)/server_test |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 982 | set_initial_connect_string_test: $(BINDIR)/$(CONFIG)/set_initial_connect_string_test |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 983 | sockaddr_resolver_test: $(BINDIR)/$(CONFIG)/sockaddr_resolver_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 984 | sockaddr_utils_test: $(BINDIR)/$(CONFIG)/sockaddr_utils_test |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 985 | socket_utils_test: $(BINDIR)/$(CONFIG)/socket_utils_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 986 | tcp_client_posix_test: $(BINDIR)/$(CONFIG)/tcp_client_posix_test |
| 987 | tcp_posix_test: $(BINDIR)/$(CONFIG)/tcp_posix_test |
| 988 | tcp_server_posix_test: $(BINDIR)/$(CONFIG)/tcp_server_posix_test |
| 989 | time_averaged_stats_test: $(BINDIR)/$(CONFIG)/time_averaged_stats_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 990 | timeout_encoding_test: $(BINDIR)/$(CONFIG)/timeout_encoding_test |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 991 | timer_heap_test: $(BINDIR)/$(CONFIG)/timer_heap_test |
| 992 | timer_list_test: $(BINDIR)/$(CONFIG)/timer_list_test |
Vijay Pai | c914c4a | 2015-04-13 07:00:07 -0700 | [diff] [blame] | 993 | timers_test: $(BINDIR)/$(CONFIG)/timers_test |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 994 | transport_connectivity_state_test: $(BINDIR)/$(CONFIG)/transport_connectivity_state_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 995 | transport_metadata_test: $(BINDIR)/$(CONFIG)/transport_metadata_test |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 996 | transport_security_test: $(BINDIR)/$(CONFIG)/transport_security_test |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 997 | udp_server_test: $(BINDIR)/$(CONFIG)/udp_server_test |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 998 | uri_fuzzer_test: $(BINDIR)/$(CONFIG)/uri_fuzzer_test |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 999 | uri_parser_test: $(BINDIR)/$(CONFIG)/uri_parser_test |
Craig Tiller | 73b6606 | 2015-09-09 09:34:46 -0700 | [diff] [blame] | 1000 | workqueue_test: $(BINDIR)/$(CONFIG)/workqueue_test |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 1001 | alarm_cpp_test: $(BINDIR)/$(CONFIG)/alarm_cpp_test |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 1002 | async_end2end_test: $(BINDIR)/$(CONFIG)/async_end2end_test |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 1003 | auth_property_iterator_test: $(BINDIR)/$(CONFIG)/auth_property_iterator_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1004 | channel_arguments_test: $(BINDIR)/$(CONFIG)/channel_arguments_test |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 1005 | cli_call_test: $(BINDIR)/$(CONFIG)/cli_call_test |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 1006 | client_crash_test: $(BINDIR)/$(CONFIG)/client_crash_test |
| 1007 | client_crash_test_server: $(BINDIR)/$(CONFIG)/client_crash_test_server |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 1008 | codegen_test_full: $(BINDIR)/$(CONFIG)/codegen_test_full |
| 1009 | codegen_test_minimal: $(BINDIR)/$(CONFIG)/codegen_test_minimal |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1010 | credentials_test: $(BINDIR)/$(CONFIG)/credentials_test |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 1011 | cxx_byte_buffer_test: $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test |
| 1012 | cxx_slice_test: $(BINDIR)/$(CONFIG)/cxx_slice_test |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 1013 | cxx_string_ref_test: $(BINDIR)/$(CONFIG)/cxx_string_ref_test |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 1014 | cxx_time_test: $(BINDIR)/$(CONFIG)/cxx_time_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1015 | end2end_test: $(BINDIR)/$(CONFIG)/end2end_test |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 1016 | generic_end2end_test: $(BINDIR)/$(CONFIG)/generic_end2end_test |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1017 | golden_file_test: $(BINDIR)/$(CONFIG)/golden_file_test |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 1018 | grpc_cli: $(BINDIR)/$(CONFIG)/grpc_cli |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 1019 | grpc_cpp_plugin: $(BINDIR)/$(CONFIG)/grpc_cpp_plugin |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 1020 | grpc_csharp_plugin: $(BINDIR)/$(CONFIG)/grpc_csharp_plugin |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 1021 | grpc_node_plugin: $(BINDIR)/$(CONFIG)/grpc_node_plugin |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 1022 | grpc_objective_c_plugin: $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 1023 | grpc_python_plugin: $(BINDIR)/$(CONFIG)/grpc_python_plugin |
| 1024 | grpc_ruby_plugin: $(BINDIR)/$(CONFIG)/grpc_ruby_plugin |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1025 | grpclb_api_test: $(BINDIR)/$(CONFIG)/grpclb_api_test |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 1026 | hybrid_end2end_test: $(BINDIR)/$(CONFIG)/hybrid_end2end_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1027 | interop_client: $(BINDIR)/$(CONFIG)/interop_client |
| 1028 | interop_server: $(BINDIR)/$(CONFIG)/interop_server |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 1029 | interop_test: $(BINDIR)/$(CONFIG)/interop_test |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1030 | json_run_localhost: $(BINDIR)/$(CONFIG)/json_run_localhost |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 1031 | metrics_client: $(BINDIR)/$(CONFIG)/metrics_client |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 1032 | mock_test: $(BINDIR)/$(CONFIG)/mock_test |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 1033 | qps_interarrival_test: $(BINDIR)/$(CONFIG)/qps_interarrival_test |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1034 | qps_json_driver: $(BINDIR)/$(CONFIG)/qps_json_driver |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 1035 | qps_openloop_test: $(BINDIR)/$(CONFIG)/qps_openloop_test |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 1036 | qps_worker: $(BINDIR)/$(CONFIG)/qps_worker |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 1037 | reconnect_interop_client: $(BINDIR)/$(CONFIG)/reconnect_interop_client |
| 1038 | reconnect_interop_server: $(BINDIR)/$(CONFIG)/reconnect_interop_server |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 1039 | secure_auth_context_test: $(BINDIR)/$(CONFIG)/secure_auth_context_test |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 1040 | 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] | 1041 | server_builder_plugin_test: $(BINDIR)/$(CONFIG)/server_builder_plugin_test |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 1042 | server_crash_test: $(BINDIR)/$(CONFIG)/server_crash_test |
| 1043 | server_crash_test_client: $(BINDIR)/$(CONFIG)/server_crash_test_client |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 1044 | shutdown_test: $(BINDIR)/$(CONFIG)/shutdown_test |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1045 | status_test: $(BINDIR)/$(CONFIG)/status_test |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 1046 | streaming_throughput_test: $(BINDIR)/$(CONFIG)/streaming_throughput_test |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 1047 | stress_test: $(BINDIR)/$(CONFIG)/stress_test |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 1048 | thread_stress_test: $(BINDIR)/$(CONFIG)/thread_stress_test |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1049 | zookeeper_test: $(BINDIR)/$(CONFIG)/zookeeper_test |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 1050 | public_headers_must_be_c89: $(BINDIR)/$(CONFIG)/public_headers_must_be_c89 |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1051 | boringssl_aes_test: $(BINDIR)/$(CONFIG)/boringssl_aes_test |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 1052 | boringssl_asn1_test: $(BINDIR)/$(CONFIG)/boringssl_asn1_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1053 | boringssl_base64_test: $(BINDIR)/$(CONFIG)/boringssl_base64_test |
| 1054 | boringssl_bio_test: $(BINDIR)/$(CONFIG)/boringssl_bio_test |
| 1055 | boringssl_bn_test: $(BINDIR)/$(CONFIG)/boringssl_bn_test |
| 1056 | boringssl_bytestring_test: $(BINDIR)/$(CONFIG)/boringssl_bytestring_test |
| 1057 | boringssl_aead_test: $(BINDIR)/$(CONFIG)/boringssl_aead_test |
| 1058 | boringssl_cipher_test: $(BINDIR)/$(CONFIG)/boringssl_cipher_test |
| 1059 | boringssl_cmac_test: $(BINDIR)/$(CONFIG)/boringssl_cmac_test |
| 1060 | boringssl_constant_time_test: $(BINDIR)/$(CONFIG)/boringssl_constant_time_test |
| 1061 | boringssl_ed25519_test: $(BINDIR)/$(CONFIG)/boringssl_ed25519_test |
| 1062 | boringssl_x25519_test: $(BINDIR)/$(CONFIG)/boringssl_x25519_test |
| 1063 | boringssl_dh_test: $(BINDIR)/$(CONFIG)/boringssl_dh_test |
| 1064 | boringssl_digest_test: $(BINDIR)/$(CONFIG)/boringssl_digest_test |
| 1065 | boringssl_dsa_test: $(BINDIR)/$(CONFIG)/boringssl_dsa_test |
| 1066 | boringssl_ec_test: $(BINDIR)/$(CONFIG)/boringssl_ec_test |
| 1067 | boringssl_example_mul: $(BINDIR)/$(CONFIG)/boringssl_example_mul |
| 1068 | boringssl_ecdsa_test: $(BINDIR)/$(CONFIG)/boringssl_ecdsa_test |
| 1069 | boringssl_err_test: $(BINDIR)/$(CONFIG)/boringssl_err_test |
| 1070 | boringssl_evp_extra_test: $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test |
| 1071 | boringssl_evp_test: $(BINDIR)/$(CONFIG)/boringssl_evp_test |
| 1072 | boringssl_pbkdf_test: $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test |
| 1073 | boringssl_hkdf_test: $(BINDIR)/$(CONFIG)/boringssl_hkdf_test |
| 1074 | boringssl_hmac_test: $(BINDIR)/$(CONFIG)/boringssl_hmac_test |
| 1075 | boringssl_lhash_test: $(BINDIR)/$(CONFIG)/boringssl_lhash_test |
| 1076 | boringssl_gcm_test: $(BINDIR)/$(CONFIG)/boringssl_gcm_test |
| 1077 | boringssl_pkcs12_test: $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test |
| 1078 | boringssl_pkcs8_test: $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test |
| 1079 | boringssl_poly1305_test: $(BINDIR)/$(CONFIG)/boringssl_poly1305_test |
| 1080 | boringssl_refcount_test: $(BINDIR)/$(CONFIG)/boringssl_refcount_test |
| 1081 | boringssl_rsa_test: $(BINDIR)/$(CONFIG)/boringssl_rsa_test |
| 1082 | boringssl_thread_test: $(BINDIR)/$(CONFIG)/boringssl_thread_test |
| 1083 | boringssl_pkcs7_test: $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 1084 | boringssl_x509_test: $(BINDIR)/$(CONFIG)/boringssl_x509_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1085 | boringssl_tab_test: $(BINDIR)/$(CONFIG)/boringssl_tab_test |
| 1086 | boringssl_v3name_test: $(BINDIR)/$(CONFIG)/boringssl_v3name_test |
| 1087 | boringssl_pqueue_test: $(BINDIR)/$(CONFIG)/boringssl_pqueue_test |
| 1088 | boringssl_ssl_test: $(BINDIR)/$(CONFIG)/boringssl_ssl_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1089 | badreq_bad_client_test: $(BINDIR)/$(CONFIG)/badreq_bad_client_test |
| 1090 | connection_prefix_bad_client_test: $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test |
Craig Tiller | 307a720 | 2016-04-02 07:40:39 -0700 | [diff] [blame] | 1091 | 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] | 1092 | headers_bad_client_test: $(BINDIR)/$(CONFIG)/headers_bad_client_test |
| 1093 | 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] | 1094 | large_metadata_bad_client_test: $(BINDIR)/$(CONFIG)/large_metadata_bad_client_test |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1095 | server_registered_method_bad_client_test: $(BINDIR)/$(CONFIG)/server_registered_method_bad_client_test |
| 1096 | simple_request_bad_client_test: $(BINDIR)/$(CONFIG)/simple_request_bad_client_test |
| 1097 | unknown_frame_bad_client_test: $(BINDIR)/$(CONFIG)/unknown_frame_bad_client_test |
| 1098 | window_overflow_bad_client_test: $(BINDIR)/$(CONFIG)/window_overflow_bad_client_test |
| 1099 | bad_ssl_alpn_server: $(BINDIR)/$(CONFIG)/bad_ssl_alpn_server |
| 1100 | bad_ssl_cert_server: $(BINDIR)/$(CONFIG)/bad_ssl_cert_server |
| 1101 | bad_ssl_alpn_test: $(BINDIR)/$(CONFIG)/bad_ssl_alpn_test |
| 1102 | bad_ssl_cert_test: $(BINDIR)/$(CONFIG)/bad_ssl_cert_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1103 | h2_census_test: $(BINDIR)/$(CONFIG)/h2_census_test |
| 1104 | h2_compress_test: $(BINDIR)/$(CONFIG)/h2_compress_test |
| 1105 | h2_fakesec_test: $(BINDIR)/$(CONFIG)/h2_fakesec_test |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1106 | h2_fd_test: $(BINDIR)/$(CONFIG)/h2_fd_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1107 | h2_full_test: $(BINDIR)/$(CONFIG)/h2_full_test |
| 1108 | h2_full+pipe_test: $(BINDIR)/$(CONFIG)/h2_full+pipe_test |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1109 | h2_full+trace_test: $(BINDIR)/$(CONFIG)/h2_full+trace_test |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 1110 | h2_loadreporting_test: $(BINDIR)/$(CONFIG)/h2_loadreporting_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1111 | h2_oauth2_test: $(BINDIR)/$(CONFIG)/h2_oauth2_test |
| 1112 | h2_proxy_test: $(BINDIR)/$(CONFIG)/h2_proxy_test |
| 1113 | h2_sockpair_test: $(BINDIR)/$(CONFIG)/h2_sockpair_test |
| 1114 | h2_sockpair+trace_test: $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test |
| 1115 | h2_sockpair_1byte_test: $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test |
| 1116 | h2_ssl_test: $(BINDIR)/$(CONFIG)/h2_ssl_test |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 1117 | h2_ssl_cert_test: $(BINDIR)/$(CONFIG)/h2_ssl_cert_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1118 | h2_ssl_proxy_test: $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1119 | h2_uds_test: $(BINDIR)/$(CONFIG)/h2_uds_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1120 | h2_census_nosec_test: $(BINDIR)/$(CONFIG)/h2_census_nosec_test |
| 1121 | h2_compress_nosec_test: $(BINDIR)/$(CONFIG)/h2_compress_nosec_test |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1122 | h2_fd_nosec_test: $(BINDIR)/$(CONFIG)/h2_fd_nosec_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1123 | h2_full_nosec_test: $(BINDIR)/$(CONFIG)/h2_full_nosec_test |
| 1124 | h2_full+pipe_nosec_test: $(BINDIR)/$(CONFIG)/h2_full+pipe_nosec_test |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1125 | 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] | 1126 | h2_loadreporting_nosec_test: $(BINDIR)/$(CONFIG)/h2_loadreporting_nosec_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1127 | h2_proxy_nosec_test: $(BINDIR)/$(CONFIG)/h2_proxy_nosec_test |
| 1128 | h2_sockpair_nosec_test: $(BINDIR)/$(CONFIG)/h2_sockpair_nosec_test |
| 1129 | h2_sockpair+trace_nosec_test: $(BINDIR)/$(CONFIG)/h2_sockpair+trace_nosec_test |
| 1130 | h2_sockpair_1byte_nosec_test: $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_nosec_test |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1131 | h2_uds_nosec_test: $(BINDIR)/$(CONFIG)/h2_uds_nosec_test |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 1132 | api_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 1133 | client_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1134 | hpack_parser_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry |
| 1135 | http_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/http_fuzzer_test_one_entry |
| 1136 | 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] | 1137 | nanopb_fuzzer_response_test_one_entry: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry |
| 1138 | 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] | 1139 | server_fuzzer_one_entry: $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1140 | uri_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry |
ctiller | 09cb6d5 | 2014-12-19 17:38:22 -0800 | [diff] [blame] | 1141 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1142 | run_dep_checks: |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1143 | $(OPENSSL_ALPN_CHECK_CMD) || true |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 1144 | $(OPENSSL_NPN_CHECK_CMD) || true |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1145 | $(ZLIB_CHECK_CMD) || true |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1146 | $(PERFTOOLS_CHECK_CMD) || true |
| 1147 | $(PROTOBUF_CHECK_CMD) || true |
David Garcia Quintas | f5fcafd | 2015-04-24 16:12:54 -0700 | [diff] [blame] | 1148 | $(PROTOC_CHECK_VERSION_CMD) || true |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 1149 | $(ZOOKEEPER_CHECK_CMD) || true |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 1150 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1151 | third_party/protobuf/configure: |
| 1152 | $(E) "[AUTOGEN] Preparing protobuf" |
| 1153 | $(Q)(cd third_party/protobuf ; autoreconf -f -i -Wall,no-obsolete) |
| 1154 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1155 | $(LIBDIR)/$(CONFIG)/protobuf/libprotobuf.a: third_party/protobuf/configure |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1156 | $(E) "[MAKE] Building protobuf" |
Nicolas "Pixel" Noble | 482d761 | 2015-07-16 23:43:30 +0200 | [diff] [blame] | 1157 | $(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] | 1158 | $(Q)$(MAKE) -C third_party/protobuf clean |
| 1159 | $(Q)$(MAKE) -C third_party/protobuf |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1160 | $(Q)mkdir -p $(LIBDIR)/$(CONFIG)/protobuf |
| 1161 | $(Q)mkdir -p $(BINDIR)/$(CONFIG)/protobuf |
| 1162 | $(Q)cp third_party/protobuf/src/.libs/libprotoc.a $(LIBDIR)/$(CONFIG)/protobuf |
| 1163 | $(Q)cp third_party/protobuf/src/.libs/libprotobuf.a $(LIBDIR)/$(CONFIG)/protobuf |
| 1164 | $(Q)cp third_party/protobuf/src/protoc $(BINDIR)/$(CONFIG)/protobuf |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1165 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1166 | static: static_c static_cxx |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1167 | |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 1168 | static_c: pc_c pc_c_unsecure cache.mk pc_c_zookeeper $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a static_zookeeper_libs |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 1169 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1170 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 1171 | static_cxx: pc_cxx pc_cxx_unsecure cache.mk $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1172 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1173 | shared: shared_c shared_cxx |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1174 | |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 1175 | shared_c: pc_c pc_c_unsecure cache.mk pc_c_zookeeper $(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) shared_zookeeper_libs |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1176 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 1177 | shared_cxx: pc_cxx pc_cxx_unsecure cache.mk $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(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] | 1178 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1179 | shared_csharp: shared_c $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 1180 | ifeq ($(HAS_ZOOKEEPER),true) |
| 1181 | static_zookeeper_libs: $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.a |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1182 | shared_zookeeper_libs: $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 1183 | else |
| 1184 | |
| 1185 | static_zookeeper_libs: |
| 1186 | |
| 1187 | shared_zookeeper_libs: |
| 1188 | |
| 1189 | endif |
| 1190 | |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 1191 | grpc_csharp_ext: shared_csharp |
| 1192 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 1193 | plugins: $(PROTOC_PLUGINS) |
| 1194 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1195 | privatelibs: privatelibs_c privatelibs_cxx |
| 1196 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 1197 | 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] | 1198 | pc_c: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc |
| 1199 | |
| 1200 | pc_c_unsecure: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc |
| 1201 | |
Hongwei Wang | a3780a8 | 2015-07-17 15:27:18 -0700 | [diff] [blame] | 1202 | ifeq ($(HAS_ZOOKEEPER),true) |
| 1203 | pc_c_zookeeper: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_zookeeper.pc |
| 1204 | else |
| 1205 | pc_c_zookeeper: |
| 1206 | endif |
| 1207 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1208 | pc_cxx: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc |
| 1209 | |
| 1210 | pc_cxx_unsecure: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1211 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 1212 | 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 |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1213 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1214 | ifeq ($(HAS_ZOOKEEPER),true) |
| 1215 | privatelibs_zookeeper: |
| 1216 | else |
| 1217 | privatelibs_zookeeper: |
| 1218 | endif |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1219 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1220 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1221 | buildtests: buildtests_c buildtests_cxx buildtests_zookeeper |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1222 | |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1223 | buildtests_c: privatelibs_c \ |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 1224 | $(BINDIR)/$(CONFIG)/alarm_test \ |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 1225 | $(BINDIR)/$(CONFIG)/algorithm_test \ |
Craig Tiller | b897337 | 2015-12-09 15:34:27 -0800 | [diff] [blame] | 1226 | $(BINDIR)/$(CONFIG)/alloc_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1227 | $(BINDIR)/$(CONFIG)/alpn_test \ |
| 1228 | $(BINDIR)/$(CONFIG)/bin_encoder_test \ |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 1229 | $(BINDIR)/$(CONFIG)/census_context_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1230 | $(BINDIR)/$(CONFIG)/channel_create_test \ |
| 1231 | $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test \ |
| 1232 | $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test \ |
| 1233 | $(BINDIR)/$(CONFIG)/chttp2_stream_map_test \ |
| 1234 | $(BINDIR)/$(CONFIG)/chttp2_varint_test \ |
| 1235 | $(BINDIR)/$(CONFIG)/compression_test \ |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 1236 | $(BINDIR)/$(CONFIG)/concurrent_connectivity_test \ |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 1237 | $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test \ |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 1238 | $(BINDIR)/$(CONFIG)/dns_resolver_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1239 | $(BINDIR)/$(CONFIG)/dualstack_socket_test \ |
| 1240 | $(BINDIR)/$(CONFIG)/endpoint_pair_test \ |
| 1241 | $(BINDIR)/$(CONFIG)/fd_conservation_posix_test \ |
| 1242 | $(BINDIR)/$(CONFIG)/fd_posix_test \ |
| 1243 | $(BINDIR)/$(CONFIG)/fling_client \ |
| 1244 | $(BINDIR)/$(CONFIG)/fling_server \ |
| 1245 | $(BINDIR)/$(CONFIG)/fling_stream_test \ |
| 1246 | $(BINDIR)/$(CONFIG)/fling_test \ |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 1247 | $(BINDIR)/$(CONFIG)/goaway_server_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1248 | $(BINDIR)/$(CONFIG)/gpr_avl_test \ |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 1249 | $(BINDIR)/$(CONFIG)/gpr_backoff_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1250 | $(BINDIR)/$(CONFIG)/gpr_cmdline_test \ |
| 1251 | $(BINDIR)/$(CONFIG)/gpr_cpu_test \ |
| 1252 | $(BINDIR)/$(CONFIG)/gpr_env_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1253 | $(BINDIR)/$(CONFIG)/gpr_histogram_test \ |
| 1254 | $(BINDIR)/$(CONFIG)/gpr_host_port_test \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 1255 | $(BINDIR)/$(CONFIG)/gpr_load_file_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1256 | $(BINDIR)/$(CONFIG)/gpr_log_test \ |
| 1257 | $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test \ |
| 1258 | $(BINDIR)/$(CONFIG)/gpr_slice_test \ |
| 1259 | $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test \ |
| 1260 | $(BINDIR)/$(CONFIG)/gpr_string_test \ |
| 1261 | $(BINDIR)/$(CONFIG)/gpr_sync_test \ |
| 1262 | $(BINDIR)/$(CONFIG)/gpr_thd_test \ |
| 1263 | $(BINDIR)/$(CONFIG)/gpr_time_test \ |
| 1264 | $(BINDIR)/$(CONFIG)/gpr_tls_test \ |
| 1265 | $(BINDIR)/$(CONFIG)/gpr_useful_test \ |
| 1266 | $(BINDIR)/$(CONFIG)/grpc_auth_context_test \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 1267 | $(BINDIR)/$(CONFIG)/grpc_b64_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1268 | $(BINDIR)/$(CONFIG)/grpc_byte_buffer_reader_test \ |
| 1269 | $(BINDIR)/$(CONFIG)/grpc_channel_args_test \ |
| 1270 | $(BINDIR)/$(CONFIG)/grpc_channel_stack_test \ |
| 1271 | $(BINDIR)/$(CONFIG)/grpc_completion_queue_test \ |
| 1272 | $(BINDIR)/$(CONFIG)/grpc_credentials_test \ |
| 1273 | $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test \ |
| 1274 | $(BINDIR)/$(CONFIG)/grpc_json_token_test \ |
| 1275 | $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test \ |
| 1276 | $(BINDIR)/$(CONFIG)/grpc_security_connector_test \ |
| 1277 | $(BINDIR)/$(CONFIG)/hpack_parser_test \ |
| 1278 | $(BINDIR)/$(CONFIG)/hpack_table_test \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 1279 | $(BINDIR)/$(CONFIG)/http_parser_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1280 | $(BINDIR)/$(CONFIG)/httpcli_format_request_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1281 | $(BINDIR)/$(CONFIG)/httpcli_test \ |
Craig Tiller | 42c6c53 | 2015-12-10 08:31:10 -0800 | [diff] [blame] | 1282 | $(BINDIR)/$(CONFIG)/httpscli_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1283 | $(BINDIR)/$(CONFIG)/init_test \ |
Craig Tiller | 5cb7962 | 2016-03-15 14:46:54 -0700 | [diff] [blame] | 1284 | $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test \ |
| 1285 | $(BINDIR)/$(CONFIG)/internal_api_canary_support_test \ |
| 1286 | $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1287 | $(BINDIR)/$(CONFIG)/invalid_call_argument_test \ |
| 1288 | $(BINDIR)/$(CONFIG)/json_rewrite \ |
| 1289 | $(BINDIR)/$(CONFIG)/json_rewrite_test \ |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 1290 | $(BINDIR)/$(CONFIG)/json_stream_error_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1291 | $(BINDIR)/$(CONFIG)/json_test \ |
| 1292 | $(BINDIR)/$(CONFIG)/lame_client_test \ |
| 1293 | $(BINDIR)/$(CONFIG)/lb_policies_test \ |
| 1294 | $(BINDIR)/$(CONFIG)/message_compress_test \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 1295 | $(BINDIR)/$(CONFIG)/mlog_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1296 | $(BINDIR)/$(CONFIG)/multiple_server_queues_test \ |
| 1297 | $(BINDIR)/$(CONFIG)/murmur_hash_test \ |
| 1298 | $(BINDIR)/$(CONFIG)/no_server_test \ |
| 1299 | $(BINDIR)/$(CONFIG)/resolve_address_test \ |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 1300 | $(BINDIR)/$(CONFIG)/secure_channel_create_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1301 | $(BINDIR)/$(CONFIG)/secure_endpoint_test \ |
yang-g | 59d9f71 | 2015-12-10 09:50:57 -0800 | [diff] [blame] | 1302 | $(BINDIR)/$(CONFIG)/server_chttp2_test \ |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 1303 | $(BINDIR)/$(CONFIG)/server_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1304 | $(BINDIR)/$(CONFIG)/set_initial_connect_string_test \ |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 1305 | $(BINDIR)/$(CONFIG)/sockaddr_resolver_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1306 | $(BINDIR)/$(CONFIG)/sockaddr_utils_test \ |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 1307 | $(BINDIR)/$(CONFIG)/socket_utils_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1308 | $(BINDIR)/$(CONFIG)/tcp_client_posix_test \ |
| 1309 | $(BINDIR)/$(CONFIG)/tcp_posix_test \ |
| 1310 | $(BINDIR)/$(CONFIG)/tcp_server_posix_test \ |
| 1311 | $(BINDIR)/$(CONFIG)/time_averaged_stats_test \ |
| 1312 | $(BINDIR)/$(CONFIG)/timeout_encoding_test \ |
| 1313 | $(BINDIR)/$(CONFIG)/timer_heap_test \ |
| 1314 | $(BINDIR)/$(CONFIG)/timer_list_test \ |
| 1315 | $(BINDIR)/$(CONFIG)/timers_test \ |
| 1316 | $(BINDIR)/$(CONFIG)/transport_connectivity_state_test \ |
| 1317 | $(BINDIR)/$(CONFIG)/transport_metadata_test \ |
| 1318 | $(BINDIR)/$(CONFIG)/transport_security_test \ |
| 1319 | $(BINDIR)/$(CONFIG)/udp_server_test \ |
| 1320 | $(BINDIR)/$(CONFIG)/uri_parser_test \ |
| 1321 | $(BINDIR)/$(CONFIG)/workqueue_test \ |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 1322 | $(BINDIR)/$(CONFIG)/public_headers_must_be_c89 \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1323 | $(BINDIR)/$(CONFIG)/badreq_bad_client_test \ |
| 1324 | $(BINDIR)/$(CONFIG)/connection_prefix_bad_client_test \ |
Craig Tiller | 307a720 | 2016-04-02 07:40:39 -0700 | [diff] [blame] | 1325 | $(BINDIR)/$(CONFIG)/head_of_line_blocking_bad_client_test \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1326 | $(BINDIR)/$(CONFIG)/headers_bad_client_test \ |
| 1327 | $(BINDIR)/$(CONFIG)/initial_settings_frame_bad_client_test \ |
Mark D. Roth | 8a1d805 | 2016-05-03 10:44:56 -0700 | [diff] [blame] | 1328 | $(BINDIR)/$(CONFIG)/large_metadata_bad_client_test \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 1329 | $(BINDIR)/$(CONFIG)/server_registered_method_bad_client_test \ |
| 1330 | $(BINDIR)/$(CONFIG)/simple_request_bad_client_test \ |
| 1331 | $(BINDIR)/$(CONFIG)/unknown_frame_bad_client_test \ |
| 1332 | $(BINDIR)/$(CONFIG)/window_overflow_bad_client_test \ |
| 1333 | $(BINDIR)/$(CONFIG)/bad_ssl_alpn_server \ |
| 1334 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_server \ |
| 1335 | $(BINDIR)/$(CONFIG)/bad_ssl_alpn_test \ |
| 1336 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1337 | $(BINDIR)/$(CONFIG)/h2_census_test \ |
| 1338 | $(BINDIR)/$(CONFIG)/h2_compress_test \ |
| 1339 | $(BINDIR)/$(CONFIG)/h2_fakesec_test \ |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1340 | $(BINDIR)/$(CONFIG)/h2_fd_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1341 | $(BINDIR)/$(CONFIG)/h2_full_test \ |
| 1342 | $(BINDIR)/$(CONFIG)/h2_full+pipe_test \ |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1343 | $(BINDIR)/$(CONFIG)/h2_full+trace_test \ |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 1344 | $(BINDIR)/$(CONFIG)/h2_loadreporting_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1345 | $(BINDIR)/$(CONFIG)/h2_oauth2_test \ |
| 1346 | $(BINDIR)/$(CONFIG)/h2_proxy_test \ |
| 1347 | $(BINDIR)/$(CONFIG)/h2_sockpair_test \ |
| 1348 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test \ |
| 1349 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test \ |
| 1350 | $(BINDIR)/$(CONFIG)/h2_ssl_test \ |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 1351 | $(BINDIR)/$(CONFIG)/h2_ssl_cert_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1352 | $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1353 | $(BINDIR)/$(CONFIG)/h2_uds_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1354 | $(BINDIR)/$(CONFIG)/h2_census_nosec_test \ |
| 1355 | $(BINDIR)/$(CONFIG)/h2_compress_nosec_test \ |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 1356 | $(BINDIR)/$(CONFIG)/h2_fd_nosec_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1357 | $(BINDIR)/$(CONFIG)/h2_full_nosec_test \ |
| 1358 | $(BINDIR)/$(CONFIG)/h2_full+pipe_nosec_test \ |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 1359 | $(BINDIR)/$(CONFIG)/h2_full+trace_nosec_test \ |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 1360 | $(BINDIR)/$(CONFIG)/h2_loadreporting_nosec_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1361 | $(BINDIR)/$(CONFIG)/h2_proxy_nosec_test \ |
| 1362 | $(BINDIR)/$(CONFIG)/h2_sockpair_nosec_test \ |
| 1363 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_nosec_test \ |
| 1364 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_nosec_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1365 | $(BINDIR)/$(CONFIG)/h2_uds_nosec_test \ |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 1366 | $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry \ |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 1367 | $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1368 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry \ |
| 1369 | $(BINDIR)/$(CONFIG)/http_fuzzer_test_one_entry \ |
| 1370 | $(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry \ |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 1371 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry \ |
| 1372 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry \ |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 1373 | $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 1374 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry \ |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1375 | |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1376 | |
| 1377 | buildtests_cxx: buildtests_zookeeper privatelibs_cxx \ |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 1378 | $(BINDIR)/$(CONFIG)/alarm_cpp_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1379 | $(BINDIR)/$(CONFIG)/async_end2end_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1380 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test \ |
| 1381 | $(BINDIR)/$(CONFIG)/channel_arguments_test \ |
| 1382 | $(BINDIR)/$(CONFIG)/cli_call_test \ |
| 1383 | $(BINDIR)/$(CONFIG)/client_crash_test \ |
| 1384 | $(BINDIR)/$(CONFIG)/client_crash_test_server \ |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 1385 | $(BINDIR)/$(CONFIG)/codegen_test_full \ |
| 1386 | $(BINDIR)/$(CONFIG)/codegen_test_minimal \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1387 | $(BINDIR)/$(CONFIG)/credentials_test \ |
| 1388 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test \ |
| 1389 | $(BINDIR)/$(CONFIG)/cxx_slice_test \ |
| 1390 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test \ |
| 1391 | $(BINDIR)/$(CONFIG)/cxx_time_test \ |
| 1392 | $(BINDIR)/$(CONFIG)/end2end_test \ |
| 1393 | $(BINDIR)/$(CONFIG)/generic_end2end_test \ |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1394 | $(BINDIR)/$(CONFIG)/golden_file_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1395 | $(BINDIR)/$(CONFIG)/grpc_cli \ |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 1396 | $(BINDIR)/$(CONFIG)/grpclb_api_test \ |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 1397 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1398 | $(BINDIR)/$(CONFIG)/interop_client \ |
| 1399 | $(BINDIR)/$(CONFIG)/interop_server \ |
| 1400 | $(BINDIR)/$(CONFIG)/interop_test \ |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1401 | $(BINDIR)/$(CONFIG)/json_run_localhost \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1402 | $(BINDIR)/$(CONFIG)/metrics_client \ |
| 1403 | $(BINDIR)/$(CONFIG)/mock_test \ |
| 1404 | $(BINDIR)/$(CONFIG)/qps_interarrival_test \ |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1405 | $(BINDIR)/$(CONFIG)/qps_json_driver \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1406 | $(BINDIR)/$(CONFIG)/qps_openloop_test \ |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 1407 | $(BINDIR)/$(CONFIG)/qps_worker \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1408 | $(BINDIR)/$(CONFIG)/reconnect_interop_client \ |
| 1409 | $(BINDIR)/$(CONFIG)/reconnect_interop_server \ |
| 1410 | $(BINDIR)/$(CONFIG)/secure_auth_context_test \ |
| 1411 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test \ |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 1412 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1413 | $(BINDIR)/$(CONFIG)/server_crash_test \ |
| 1414 | $(BINDIR)/$(CONFIG)/server_crash_test_client \ |
| 1415 | $(BINDIR)/$(CONFIG)/shutdown_test \ |
| 1416 | $(BINDIR)/$(CONFIG)/status_test \ |
| 1417 | $(BINDIR)/$(CONFIG)/streaming_throughput_test \ |
| 1418 | $(BINDIR)/$(CONFIG)/stress_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1419 | $(BINDIR)/$(CONFIG)/thread_stress_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1420 | $(BINDIR)/$(CONFIG)/boringssl_aes_test \ |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 1421 | $(BINDIR)/$(CONFIG)/boringssl_asn1_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1422 | $(BINDIR)/$(CONFIG)/boringssl_base64_test \ |
| 1423 | $(BINDIR)/$(CONFIG)/boringssl_bio_test \ |
| 1424 | $(BINDIR)/$(CONFIG)/boringssl_bn_test \ |
| 1425 | $(BINDIR)/$(CONFIG)/boringssl_bytestring_test \ |
| 1426 | $(BINDIR)/$(CONFIG)/boringssl_aead_test \ |
| 1427 | $(BINDIR)/$(CONFIG)/boringssl_cipher_test \ |
| 1428 | $(BINDIR)/$(CONFIG)/boringssl_cmac_test \ |
| 1429 | $(BINDIR)/$(CONFIG)/boringssl_constant_time_test \ |
| 1430 | $(BINDIR)/$(CONFIG)/boringssl_ed25519_test \ |
| 1431 | $(BINDIR)/$(CONFIG)/boringssl_x25519_test \ |
| 1432 | $(BINDIR)/$(CONFIG)/boringssl_dh_test \ |
| 1433 | $(BINDIR)/$(CONFIG)/boringssl_digest_test \ |
| 1434 | $(BINDIR)/$(CONFIG)/boringssl_dsa_test \ |
| 1435 | $(BINDIR)/$(CONFIG)/boringssl_ec_test \ |
| 1436 | $(BINDIR)/$(CONFIG)/boringssl_example_mul \ |
| 1437 | $(BINDIR)/$(CONFIG)/boringssl_ecdsa_test \ |
| 1438 | $(BINDIR)/$(CONFIG)/boringssl_err_test \ |
| 1439 | $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test \ |
| 1440 | $(BINDIR)/$(CONFIG)/boringssl_evp_test \ |
| 1441 | $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test \ |
| 1442 | $(BINDIR)/$(CONFIG)/boringssl_hkdf_test \ |
| 1443 | $(BINDIR)/$(CONFIG)/boringssl_hmac_test \ |
| 1444 | $(BINDIR)/$(CONFIG)/boringssl_lhash_test \ |
| 1445 | $(BINDIR)/$(CONFIG)/boringssl_gcm_test \ |
| 1446 | $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test \ |
| 1447 | $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test \ |
| 1448 | $(BINDIR)/$(CONFIG)/boringssl_poly1305_test \ |
| 1449 | $(BINDIR)/$(CONFIG)/boringssl_refcount_test \ |
| 1450 | $(BINDIR)/$(CONFIG)/boringssl_rsa_test \ |
| 1451 | $(BINDIR)/$(CONFIG)/boringssl_thread_test \ |
| 1452 | $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test \ |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 1453 | $(BINDIR)/$(CONFIG)/boringssl_x509_test \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 1454 | $(BINDIR)/$(CONFIG)/boringssl_tab_test \ |
| 1455 | $(BINDIR)/$(CONFIG)/boringssl_v3name_test \ |
| 1456 | $(BINDIR)/$(CONFIG)/boringssl_pqueue_test \ |
| 1457 | $(BINDIR)/$(CONFIG)/boringssl_ssl_test \ |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1458 | |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1459 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1460 | ifeq ($(HAS_ZOOKEEPER),true) |
Craig Tiller | 3824b6e | 2015-12-09 11:19:59 -0800 | [diff] [blame] | 1461 | buildtests_zookeeper: privatelibs_zookeeper \ |
| 1462 | $(BINDIR)/$(CONFIG)/zookeeper_test \ |
| 1463 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1464 | else |
| 1465 | buildtests_zookeeper: |
| 1466 | endif |
nnoble | 29e1d29 | 2014-12-01 10:27:40 -0800 | [diff] [blame] | 1467 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1468 | |
| 1469 | test: test_c test_cxx test_zookeeper |
| 1470 | |
| 1471 | flaky_test: flaky_test_c flaky_test_cxx flaky_test_zookeeper |
Nicolas "Pixel" Noble | 4251d56 | 2015-05-22 19:43:39 +0200 | [diff] [blame] | 1472 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1473 | test_c: buildtests_c |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 1474 | $(E) "[RUN] Testing alarm_test" |
| 1475 | $(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] | 1476 | $(E) "[RUN] Testing algorithm_test" |
| 1477 | $(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] | 1478 | $(E) "[RUN] Testing alloc_test" |
| 1479 | $(Q) $(BINDIR)/$(CONFIG)/alloc_test || ( echo test alloc_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1480 | $(E) "[RUN] Testing alpn_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1481 | $(Q) $(BINDIR)/$(CONFIG)/alpn_test || ( echo test alpn_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1482 | $(E) "[RUN] Testing bin_encoder_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1483 | $(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] | 1484 | $(E) "[RUN] Testing census_context_test" |
| 1485 | $(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] | 1486 | $(E) "[RUN] Testing channel_create_test" |
| 1487 | $(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] | 1488 | $(E) "[RUN] Testing chttp2_hpack_encoder_test" |
| 1489 | $(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] | 1490 | $(E) "[RUN] Testing chttp2_status_conversion_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1491 | $(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] | 1492 | $(E) "[RUN] Testing chttp2_stream_map_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1493 | $(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] | 1494 | $(E) "[RUN] Testing chttp2_varint_test" |
| 1495 | $(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] | 1496 | $(E) "[RUN] Testing compression_test" |
| 1497 | $(Q) $(BINDIR)/$(CONFIG)/compression_test || ( echo test compression_test failed ; exit 1 ) |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 1498 | $(E) "[RUN] Testing concurrent_connectivity_test" |
| 1499 | $(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] | 1500 | $(E) "[RUN] Testing dns_resolver_connectivity_test" |
| 1501 | $(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] | 1502 | $(E) "[RUN] Testing dns_resolver_test" |
| 1503 | $(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] | 1504 | $(E) "[RUN] Testing dualstack_socket_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1505 | $(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] | 1506 | $(E) "[RUN] Testing endpoint_pair_test" |
| 1507 | $(Q) $(BINDIR)/$(CONFIG)/endpoint_pair_test || ( echo test endpoint_pair_test failed ; exit 1 ) |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 1508 | $(E) "[RUN] Testing fd_conservation_posix_test" |
| 1509 | $(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] | 1510 | $(E) "[RUN] Testing fd_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1511 | $(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] | 1512 | $(E) "[RUN] Testing fling_stream_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1513 | $(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] | 1514 | $(E) "[RUN] Testing fling_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1515 | $(Q) $(BINDIR)/$(CONFIG)/fling_test || ( echo test fling_test failed ; exit 1 ) |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 1516 | $(E) "[RUN] Testing goaway_server_test" |
| 1517 | $(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] | 1518 | $(E) "[RUN] Testing gpr_avl_test" |
| 1519 | $(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] | 1520 | $(E) "[RUN] Testing gpr_backoff_test" |
| 1521 | $(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] | 1522 | $(E) "[RUN] Testing gpr_cmdline_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1523 | $(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] | 1524 | $(E) "[RUN] Testing gpr_cpu_test" |
| 1525 | $(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] | 1526 | $(E) "[RUN] Testing gpr_env_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1527 | $(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] | 1528 | $(E) "[RUN] Testing gpr_histogram_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1529 | $(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] | 1530 | $(E) "[RUN] Testing gpr_host_port_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1531 | $(Q) $(BINDIR)/$(CONFIG)/gpr_host_port_test || ( echo test gpr_host_port_test failed ; exit 1 ) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 1532 | $(E) "[RUN] Testing gpr_load_file_test" |
| 1533 | $(Q) $(BINDIR)/$(CONFIG)/gpr_load_file_test || ( echo test gpr_load_file_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1534 | $(E) "[RUN] Testing gpr_log_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1535 | $(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] | 1536 | $(E) "[RUN] Testing gpr_slice_buffer_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1537 | $(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] | 1538 | $(E) "[RUN] Testing gpr_slice_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1539 | $(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] | 1540 | $(E) "[RUN] Testing gpr_stack_lockfree_test" |
| 1541 | $(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] | 1542 | $(E) "[RUN] Testing gpr_string_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1543 | $(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] | 1544 | $(E) "[RUN] Testing gpr_sync_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1545 | $(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] | 1546 | $(E) "[RUN] Testing gpr_thd_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1547 | $(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] | 1548 | $(E) "[RUN] Testing gpr_time_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1549 | $(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] | 1550 | $(E) "[RUN] Testing gpr_tls_test" |
| 1551 | $(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] | 1552 | $(E) "[RUN] Testing gpr_useful_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1553 | $(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] | 1554 | $(E) "[RUN] Testing grpc_auth_context_test" |
| 1555 | $(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] | 1556 | $(E) "[RUN] Testing grpc_b64_test" |
| 1557 | $(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] | 1558 | $(E) "[RUN] Testing grpc_byte_buffer_reader_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1559 | $(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] | 1560 | $(E) "[RUN] Testing grpc_channel_args_test" |
| 1561 | $(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] | 1562 | $(E) "[RUN] Testing grpc_channel_stack_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1563 | $(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] | 1564 | $(E) "[RUN] Testing grpc_completion_queue_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1565 | $(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] | 1566 | $(E) "[RUN] Testing grpc_credentials_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1567 | $(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] | 1568 | $(E) "[RUN] Testing grpc_invalid_channel_args_test" |
| 1569 | $(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] | 1570 | $(E) "[RUN] Testing grpc_json_token_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1571 | $(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] | 1572 | $(E) "[RUN] Testing grpc_jwt_verifier_test" |
| 1573 | $(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] | 1574 | $(E) "[RUN] Testing grpc_security_connector_test" |
| 1575 | $(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] | 1576 | $(E) "[RUN] Testing hpack_parser_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1577 | $(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] | 1578 | $(E) "[RUN] Testing hpack_table_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1579 | $(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] | 1580 | $(E) "[RUN] Testing http_parser_test" |
| 1581 | $(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] | 1582 | $(E) "[RUN] Testing httpcli_format_request_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1583 | $(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] | 1584 | $(E) "[RUN] Testing httpcli_test" |
| 1585 | $(Q) $(BINDIR)/$(CONFIG)/httpcli_test || ( echo test httpcli_test failed ; exit 1 ) |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 1586 | $(E) "[RUN] Testing httpscli_test" |
| 1587 | $(Q) $(BINDIR)/$(CONFIG)/httpscli_test || ( echo test httpscli_test failed ; exit 1 ) |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 1588 | $(E) "[RUN] Testing init_test" |
| 1589 | $(Q) $(BINDIR)/$(CONFIG)/init_test || ( echo test init_test failed ; exit 1 ) |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 1590 | $(E) "[RUN] Testing invalid_call_argument_test" |
| 1591 | $(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] | 1592 | $(E) "[RUN] Testing json_rewrite_test" |
| 1593 | $(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] | 1594 | $(E) "[RUN] Testing json_stream_error_test" |
| 1595 | $(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] | 1596 | $(E) "[RUN] Testing json_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1597 | $(Q) $(BINDIR)/$(CONFIG)/json_test || ( echo test json_test failed ; exit 1 ) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1598 | $(E) "[RUN] Testing lame_client_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1599 | $(Q) $(BINDIR)/$(CONFIG)/lame_client_test || ( echo test lame_client_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1600 | $(E) "[RUN] Testing message_compress_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1601 | $(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] | 1602 | $(E) "[RUN] Testing multiple_server_queues_test" |
| 1603 | $(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] | 1604 | $(E) "[RUN] Testing murmur_hash_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1605 | $(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] | 1606 | $(E) "[RUN] Testing no_server_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1607 | $(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] | 1608 | $(E) "[RUN] Testing resolve_address_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1609 | $(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] | 1610 | $(E) "[RUN] Testing secure_channel_create_test" |
| 1611 | $(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] | 1612 | $(E) "[RUN] Testing secure_endpoint_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1613 | $(Q) $(BINDIR)/$(CONFIG)/secure_endpoint_test || ( echo test secure_endpoint_test failed ; exit 1 ) |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 1614 | $(E) "[RUN] Testing server_chttp2_test" |
| 1615 | $(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] | 1616 | $(E) "[RUN] Testing server_test" |
| 1617 | $(Q) $(BINDIR)/$(CONFIG)/server_test || ( echo test server_test failed ; exit 1 ) |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 1618 | $(E) "[RUN] Testing set_initial_connect_string_test" |
| 1619 | $(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] | 1620 | $(E) "[RUN] Testing sockaddr_resolver_test" |
| 1621 | $(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] | 1622 | $(E) "[RUN] Testing sockaddr_utils_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1623 | $(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] | 1624 | $(E) "[RUN] Testing socket_utils_test" |
| 1625 | $(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] | 1626 | $(E) "[RUN] Testing tcp_client_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1627 | $(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] | 1628 | $(E) "[RUN] Testing tcp_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1629 | $(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] | 1630 | $(E) "[RUN] Testing tcp_server_posix_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1631 | $(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] | 1632 | $(E) "[RUN] Testing time_averaged_stats_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1633 | $(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] | 1634 | $(E) "[RUN] Testing timeout_encoding_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1635 | $(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] | 1636 | $(E) "[RUN] Testing timer_heap_test" |
| 1637 | $(Q) $(BINDIR)/$(CONFIG)/timer_heap_test || ( echo test timer_heap_test failed ; exit 1 ) |
| 1638 | $(E) "[RUN] Testing timer_list_test" |
| 1639 | $(Q) $(BINDIR)/$(CONFIG)/timer_list_test || ( echo test timer_list_test failed ; exit 1 ) |
Vijay Pai | c914c4a | 2015-04-13 07:00:07 -0700 | [diff] [blame] | 1640 | $(E) "[RUN] Testing timers_test" |
| 1641 | $(Q) $(BINDIR)/$(CONFIG)/timers_test || ( echo test timers_test failed ; exit 1 ) |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 1642 | $(E) "[RUN] Testing transport_connectivity_state_test" |
| 1643 | $(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] | 1644 | $(E) "[RUN] Testing transport_metadata_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1645 | $(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] | 1646 | $(E) "[RUN] Testing transport_security_test" |
| 1647 | $(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] | 1648 | $(E) "[RUN] Testing udp_server_test" |
| 1649 | $(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] | 1650 | $(E) "[RUN] Testing uri_parser_test" |
| 1651 | $(Q) $(BINDIR)/$(CONFIG)/uri_parser_test || ( echo test uri_parser_test failed ; exit 1 ) |
Craig Tiller | 73b6606 | 2015-09-09 09:34:46 -0700 | [diff] [blame] | 1652 | $(E) "[RUN] Testing workqueue_test" |
| 1653 | $(Q) $(BINDIR)/$(CONFIG)/workqueue_test || ( echo test workqueue_test failed ; exit 1 ) |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 1654 | $(E) "[RUN] Testing public_headers_must_be_c89" |
| 1655 | $(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] | 1656 | $(E) "[RUN] Testing badreq_bad_client_test" |
| 1657 | $(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] | 1658 | $(E) "[RUN] Testing connection_prefix_bad_client_test" |
| 1659 | $(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] | 1660 | $(E) "[RUN] Testing head_of_line_blocking_bad_client_test" |
| 1661 | $(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] | 1662 | $(E) "[RUN] Testing headers_bad_client_test" |
| 1663 | $(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] | 1664 | $(E) "[RUN] Testing initial_settings_frame_bad_client_test" |
| 1665 | $(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] | 1666 | $(E) "[RUN] Testing large_metadata_bad_client_test" |
| 1667 | $(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] | 1668 | $(E) "[RUN] Testing server_registered_method_bad_client_test" |
| 1669 | $(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] | 1670 | $(E) "[RUN] Testing simple_request_bad_client_test" |
| 1671 | $(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] | 1672 | $(E) "[RUN] Testing unknown_frame_bad_client_test" |
| 1673 | $(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] | 1674 | $(E) "[RUN] Testing window_overflow_bad_client_test" |
| 1675 | $(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] | 1676 | $(E) "[RUN] Testing bad_ssl_alpn_test" |
| 1677 | $(Q) $(BINDIR)/$(CONFIG)/bad_ssl_alpn_test || ( echo test bad_ssl_alpn_test failed ; exit 1 ) |
| 1678 | $(E) "[RUN] Testing bad_ssl_cert_test" |
| 1679 | $(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] | 1680 | |
| 1681 | |
Nicolas "Pixel" Noble | 4251d56 | 2015-05-22 19:43:39 +0200 | [diff] [blame] | 1682 | flaky_test_c: buildtests_c |
Craig Tiller | de7edf8 | 2016-03-20 09:12:16 -0700 | [diff] [blame] | 1683 | $(E) "[RUN] Testing lb_policies_test" |
| 1684 | $(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] | 1685 | $(E) "[RUN] Testing mlog_test" |
| 1686 | $(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] | 1687 | |
| 1688 | |
Hongwei Wang | 5c9bbfb | 2015-08-04 14:11:42 -0700 | [diff] [blame] | 1689 | test_cxx: test_zookeeper buildtests_cxx |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 1690 | $(E) "[RUN] Testing alarm_cpp_test" |
| 1691 | $(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] | 1692 | $(E) "[RUN] Testing async_end2end_test" |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 1693 | $(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] | 1694 | $(E) "[RUN] Testing auth_property_iterator_test" |
| 1695 | $(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] | 1696 | $(E) "[RUN] Testing channel_arguments_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1697 | $(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] | 1698 | $(E) "[RUN] Testing cli_call_test" |
| 1699 | $(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] | 1700 | $(E) "[RUN] Testing client_crash_test" |
| 1701 | $(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] | 1702 | $(E) "[RUN] Testing codegen_test_full" |
| 1703 | $(Q) $(BINDIR)/$(CONFIG)/codegen_test_full || ( echo test codegen_test_full failed ; exit 1 ) |
| 1704 | $(E) "[RUN] Testing codegen_test_minimal" |
| 1705 | $(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] | 1706 | $(E) "[RUN] Testing credentials_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1707 | $(Q) $(BINDIR)/$(CONFIG)/credentials_test || ( echo test credentials_test failed ; exit 1 ) |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 1708 | $(E) "[RUN] Testing cxx_byte_buffer_test" |
| 1709 | $(Q) $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test || ( echo test cxx_byte_buffer_test failed ; exit 1 ) |
| 1710 | $(E) "[RUN] Testing cxx_slice_test" |
| 1711 | $(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] | 1712 | $(E) "[RUN] Testing cxx_string_ref_test" |
| 1713 | $(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] | 1714 | $(E) "[RUN] Testing cxx_time_test" |
| 1715 | $(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] | 1716 | $(E) "[RUN] Testing end2end_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1717 | $(Q) $(BINDIR)/$(CONFIG)/end2end_test || ( echo test end2end_test failed ; exit 1 ) |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 1718 | $(E) "[RUN] Testing generic_end2end_test" |
| 1719 | $(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] | 1720 | $(E) "[RUN] Testing golden_file_test" |
| 1721 | $(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] | 1722 | $(E) "[RUN] Testing grpclb_api_test" |
| 1723 | $(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] | 1724 | $(E) "[RUN] Testing hybrid_end2end_test" |
| 1725 | $(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] | 1726 | $(E) "[RUN] Testing interop_test" |
| 1727 | $(Q) $(BINDIR)/$(CONFIG)/interop_test || ( echo test interop_test failed ; exit 1 ) |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 1728 | $(E) "[RUN] Testing mock_test" |
| 1729 | $(Q) $(BINDIR)/$(CONFIG)/mock_test || ( echo test mock_test failed ; exit 1 ) |
Vijay Pai | 1132c6b | 2016-02-11 06:05:24 -0800 | [diff] [blame] | 1730 | $(E) "[RUN] Testing qps_openloop_test" |
| 1731 | $(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] | 1732 | $(E) "[RUN] Testing secure_auth_context_test" |
| 1733 | $(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] | 1734 | $(E) "[RUN] Testing secure_sync_unary_ping_pong_test" |
| 1735 | $(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] | 1736 | $(E) "[RUN] Testing server_builder_plugin_test" |
| 1737 | $(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] | 1738 | $(E) "[RUN] Testing server_crash_test" |
| 1739 | $(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] | 1740 | $(E) "[RUN] Testing shutdown_test" |
| 1741 | $(Q) $(BINDIR)/$(CONFIG)/shutdown_test || ( echo test shutdown_test failed ; exit 1 ) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 1742 | $(E) "[RUN] Testing status_test" |
Craig Tiller | da224d6 | 2015-02-15 11:01:58 -0800 | [diff] [blame] | 1743 | $(Q) $(BINDIR)/$(CONFIG)/status_test || ( echo test status_test failed ; exit 1 ) |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 1744 | $(E) "[RUN] Testing streaming_throughput_test" |
| 1745 | $(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] | 1746 | $(E) "[RUN] Testing thread_stress_test" |
| 1747 | $(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] | 1748 | |
| 1749 | |
Nicolas "Pixel" Noble | 4251d56 | 2015-05-22 19:43:39 +0200 | [diff] [blame] | 1750 | flaky_test_cxx: buildtests_cxx |
| 1751 | |
| 1752 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1753 | ifeq ($(HAS_ZOOKEEPER),true) |
| 1754 | test_zookeeper: buildtests_zookeeper |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 1755 | |
| 1756 | |
| 1757 | flaky_test_zookeeper: buildtests_zookeeper |
| 1758 | |
| 1759 | else |
| 1760 | test_zookeeper: |
| 1761 | flaky_test_zookeeper: |
| 1762 | endif |
| 1763 | |
| 1764 | |
Nicolas "Pixel" Noble | 051a28f | 2015-03-17 22:54:54 +0100 | [diff] [blame] | 1765 | test_python: static_c |
| 1766 | $(E) "[RUN] Testing python code" |
| 1767 | $(Q) tools/run_tests/run_tests.py -lpython -c$(CONFIG) |
| 1768 | |
| 1769 | |
Craig Tiller | 7552f0f | 2015-06-19 17:46:20 -0700 | [diff] [blame] | 1770 | tools: tools_c tools_cxx |
| 1771 | |
| 1772 | |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 1773 | tools_c: privatelibs_c $(BINDIR)/$(CONFIG)/gen_hpack_tables $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters $(BINDIR)/$(CONFIG)/grpc_create_jwt $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2 $(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] | 1774 | |
| 1775 | tools_cxx: privatelibs_cxx |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1776 | |
vjpai | 29089c7 | 2016-04-20 12:38:16 -0700 | [diff] [blame] | 1777 | buildbenchmarks: privatelibs $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1778 | |
| 1779 | benchmarks: buildbenchmarks |
| 1780 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1781 | strip: strip-static strip-shared |
| 1782 | |
nnoble | 20e2e3f | 2014-12-16 15:37:57 -0800 | [diff] [blame] | 1783 | strip-static: strip-static_c strip-static_cxx |
| 1784 | |
| 1785 | strip-shared: strip-shared_c strip-shared_cxx |
| 1786 | |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 1787 | |
| 1788 | # TODO(nnoble): the strip target is stripping in-place, instead |
| 1789 | # of copying files in a temporary folder. |
| 1790 | # This prevents proper debugging after running make install. |
| 1791 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1792 | strip-static_c: static_c |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1793 | ifeq ($(CONFIG),opt) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 1794 | $(E) "[STRIP] Stripping libgpr.a" |
| 1795 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1796 | $(E) "[STRIP] Stripping libgrpc.a" |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1797 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc.a |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 1798 | $(E) "[STRIP] Stripping libgrpc_cronet.a" |
| 1799 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 1800 | $(E) "[STRIP] Stripping libgrpc_unsecure.a" |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 1801 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a |
Nicolas "Pixel" Noble | 4ef9b86 | 2015-08-14 19:35:24 +0200 | [diff] [blame] | 1802 | ifeq ($(HAS_ZOOKEEPER),true) |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 1803 | $(E) "[STRIP] Stripping libgrpc_zookeeper.a" |
| 1804 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.a |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1805 | endif |
ctiller | cab52e7 | 2015-01-06 13:10:23 -0800 | [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 |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 1812 | $(E) "[STRIP] Stripping libgrpc++_unsecure.a" |
| 1813 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1814 | endif |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1815 | |
| 1816 | strip-shared_c: shared_c |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1817 | ifeq ($(CONFIG),opt) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 1818 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT)" |
| 1819 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1820 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT)" |
| 1821 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 1822 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT)" |
| 1823 | $(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] | 1824 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
| 1825 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 1826 | ifeq ($(HAS_ZOOKEEPER),true) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1827 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT)" |
| 1828 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1829 | endif |
ctiller | cab52e7 | 2015-01-06 13:10:23 -0800 | [diff] [blame] | 1830 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 1831 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 1832 | strip-shared_cxx: shared_cxx |
Nicolas "Pixel" Noble | 3a2551c | 2015-01-29 21:33:32 +0100 | [diff] [blame] | 1833 | ifeq ($(CONFIG),opt) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 1834 | $(E) "[STRIP] Stripping $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT)" |
| 1835 | $(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) |
| 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 | |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 1860 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_zookeeper.pc: |
| 1861 | $(E) "[MAKE] Generating $@" |
| 1862 | $(Q) mkdir -p $(@D) |
murgatroid99 | e7cb77b | 2016-05-24 10:14:45 -0700 | [diff] [blame] | 1863 | $(Q) echo "$(GRPC_ZOOKEEPER_PC_FILE)" | tr , '\n' >$@ |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 1864 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1865 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.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_PC_FILE)" | tr , '\n' >$@ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1869 | |
| 1870 | $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc: |
| 1871 | $(E) "[MAKE] Generating $@" |
| 1872 | $(Q) mkdir -p $(@D) |
Nicolas "Pixel" Noble | 367e30f | 2015-07-15 22:36:31 +0200 | [diff] [blame] | 1873 | $(Q) echo "$(GRPCXX_UNSECURE_PC_FILE)" | tr , '\n' >$@ |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 1874 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1875 | ifeq ($(NO_PROTOC),true) |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 1876 | $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc: protoc_dep_error |
| 1877 | $(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] | 1878 | else |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 1879 | $(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] | 1880 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1881 | $(Q) mkdir -p `dirname $@` |
| 1882 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 1883 | |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 1884 | $(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] | 1885 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1886 | $(Q) mkdir -p `dirname $@` |
| 1887 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
| 1888 | endif |
| 1889 | |
| 1890 | ifeq ($(NO_PROTOC),true) |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 1891 | $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: protoc_dep_error |
| 1892 | $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc: protoc_dep_error |
| 1893 | else |
| 1894 | $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: src/proto/grpc/testing/compiler_test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
| 1895 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1896 | $(Q) mkdir -p `dirname $@` |
| 1897 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 1898 | |
| 1899 | $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc: src/proto/grpc/testing/compiler_test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
| 1900 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1901 | $(Q) mkdir -p `dirname $@` |
| 1902 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
| 1903 | endif |
| 1904 | |
| 1905 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1906 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc: protoc_dep_error |
| 1907 | $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc: protoc_dep_error |
Siddharth Rakesh | cc5857b | 2015-06-18 16:45:55 -0700 | [diff] [blame] | 1908 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1909 | $(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] | 1910 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1911 | $(Q) mkdir -p `dirname $@` |
| 1912 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 1913 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1914 | $(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] | 1915 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1916 | $(Q) mkdir -p `dirname $@` |
| 1917 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
| 1918 | endif |
| 1919 | |
| 1920 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1921 | $(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc: protoc_dep_error |
| 1922 | $(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] | 1923 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1924 | $(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] | 1925 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1926 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 1927 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 1928 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1929 | $(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] | 1930 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1931 | $(Q) mkdir -p `dirname $@` |
| 1932 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1933 | endif |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 1934 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1935 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1936 | $(GENDIR)/src/proto/grpc/testing/echo.pb.cc: protoc_dep_error |
| 1937 | $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc: protoc_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1938 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1939 | $(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] | 1940 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1941 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 1942 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 1943 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1944 | $(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] | 1945 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1946 | $(Q) mkdir -p `dirname $@` |
| 1947 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1948 | endif |
yangg | 1456d15 | 2015-01-08 15:39:58 -0800 | [diff] [blame] | 1949 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1950 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1951 | $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc: protoc_dep_error |
| 1952 | $(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] | 1953 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1954 | $(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] | 1955 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1956 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 0caebbf | 2015-04-09 23:08:51 +0200 | [diff] [blame] | 1957 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 1958 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1959 | $(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] | 1960 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1961 | $(Q) mkdir -p `dirname $@` |
| 1962 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 1963 | endif |
yangg | 1456d15 | 2015-01-08 15:39:58 -0800 | [diff] [blame] | 1964 | |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 1965 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1966 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc: protoc_dep_error |
| 1967 | $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc: protoc_dep_error |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 1968 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1969 | $(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] | 1970 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1971 | $(Q) mkdir -p `dirname $@` |
| 1972 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 1973 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1974 | $(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] | 1975 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1976 | $(Q) mkdir -p `dirname $@` |
| 1977 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
| 1978 | endif |
| 1979 | |
| 1980 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1981 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc: protoc_dep_error |
| 1982 | $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc: protoc_dep_error |
vjpai | 780a7f2 | 2015-11-04 00:19:09 -0800 | [diff] [blame] | 1983 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1984 | $(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] | 1985 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 1986 | $(Q) mkdir -p `dirname $@` |
| 1987 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 1988 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1989 | $(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] | 1990 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 1991 | $(Q) mkdir -p `dirname $@` |
| 1992 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
| 1993 | endif |
| 1994 | |
| 1995 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1996 | $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc: protoc_dep_error |
| 1997 | $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc: protoc_dep_error |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 1998 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 1999 | $(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] | 2000 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2001 | $(Q) mkdir -p `dirname $@` |
| 2002 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 2003 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2004 | $(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] | 2005 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2006 | $(Q) mkdir -p `dirname $@` |
| 2007 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
| 2008 | endif |
| 2009 | |
| 2010 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2011 | $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc: protoc_dep_error |
| 2012 | $(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc: protoc_dep_error |
vjpai | aa39192 | 2015-11-02 14:46:04 -0800 | [diff] [blame] | 2013 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2014 | $(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] | 2015 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2016 | $(Q) mkdir -p `dirname $@` |
| 2017 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 2018 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2019 | $(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] | 2020 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2021 | $(Q) mkdir -p `dirname $@` |
| 2022 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
| 2023 | endif |
| 2024 | |
| 2025 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2026 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc: protoc_dep_error |
| 2027 | $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc: protoc_dep_error |
Abhishek Kumar | 60572d4 | 2015-04-16 20:45:25 -0700 | [diff] [blame] | 2028 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2029 | $(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] | 2030 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2031 | $(Q) mkdir -p `dirname $@` |
| 2032 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 2033 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2034 | $(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] | 2035 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2036 | $(Q) mkdir -p `dirname $@` |
| 2037 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
| 2038 | endif |
| 2039 | |
| 2040 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2041 | $(GENDIR)/src/proto/grpc/testing/stats.pb.cc: protoc_dep_error |
| 2042 | $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc: protoc_dep_error |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 2043 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2044 | $(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] | 2045 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2046 | $(Q) mkdir -p `dirname $@` |
| 2047 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 2048 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2049 | $(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] | 2050 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2051 | $(Q) mkdir -p `dirname $@` |
| 2052 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
| 2053 | endif |
| 2054 | |
| 2055 | ifeq ($(NO_PROTOC),true) |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2056 | $(GENDIR)/src/proto/grpc/testing/test.pb.cc: protoc_dep_error |
| 2057 | $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc: protoc_dep_error |
Abhishek Kumar | 1b3e3cd | 2015-04-16 20:10:29 -0700 | [diff] [blame] | 2058 | else |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2059 | $(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] | 2060 | $(E) "[PROTOC] Generating protobuf CC file from $<" |
| 2061 | $(Q) mkdir -p `dirname $@` |
| 2062 | $(Q) $(PROTOC) --cpp_out=$(GENDIR) $< |
| 2063 | |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 2064 | $(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] | 2065 | $(E) "[GRPC] Generating gRPC's protobuf service CC file from $<" |
| 2066 | $(Q) mkdir -p `dirname $@` |
| 2067 | $(Q) $(PROTOC) --grpc_out=$(GENDIR) --plugin=protoc-gen-grpc=$(BINDIR)/$(CONFIG)/grpc_cpp_plugin $< |
| 2068 | endif |
| 2069 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2070 | |
David Garcia Quintas | bbc0b77 | 2015-04-29 14:10:05 -0700 | [diff] [blame] | 2071 | ifeq ($(CONFIG),stapprof) |
| 2072 | 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] | 2073 | ifeq ($(HAS_SYSTEMTAP),true) |
| 2074 | $(GENDIR)/src/core/profiling/stap_probes.h: src/core/profiling/stap_probes.d |
| 2075 | $(E) "[DTRACE] Compiling $<" |
| 2076 | $(Q) mkdir -p `dirname $@` |
| 2077 | $(Q) $(DTRACE) -C -h -s $< -o $@ |
David Garcia Quintas | 8954e90 | 2015-04-29 09:46:33 -0700 | [diff] [blame] | 2078 | else |
| 2079 | $(GENDIR)/src/core/profiling/stap_probes.h: systemtap_dep_error stop |
| 2080 | endif |
David Garcia Quintas | a9eb302 | 2015-04-27 19:17:20 -0700 | [diff] [blame] | 2081 | endif |
| 2082 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2083 | $(OBJDIR)/$(CONFIG)/%.o : %.c |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2084 | $(E) "[C] Compiling $<" |
| 2085 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 2086 | $(Q) $(CC) $(CPPFLAGS) $(CFLAGS) -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)/%.o : $(GENDIR)/%.pb.cc |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2089 | $(E) "[CXX] Compiling $<" |
| 2090 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 2091 | $(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2092 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2093 | $(OBJDIR)/$(CONFIG)/src/compiler/%.o : src/compiler/%.cc |
nnoble | 72309c6 | 2014-12-12 11:42:26 -0800 | [diff] [blame] | 2094 | $(E) "[HOSTCXX] Compiling $<" |
| 2095 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 12c8209 | 2015-01-15 08:45:56 -0800 | [diff] [blame] | 2096 | $(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] | 2097 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2098 | $(OBJDIR)/$(CONFIG)/%.o : %.cc |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2099 | $(E) "[CXX] Compiling $<" |
| 2100 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 2101 | $(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $< |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2102 | |
Nicolas "Pixel" Noble | 161ea23 | 2015-02-22 05:48:53 +0100 | [diff] [blame] | 2103 | install: install_c install_cxx install-plugins install-certs verify-install |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2104 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2105 | install_c: install-headers_c install-static_c install-shared_c |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2106 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2107 | install_cxx: install-headers_cxx install-static_cxx install-shared_cxx |
| 2108 | |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2109 | install_csharp: install-shared_csharp install_c |
| 2110 | |
| 2111 | install_grpc_csharp_ext: install_csharp |
| 2112 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2113 | install-headers: install-headers_c install-headers_cxx |
| 2114 | |
| 2115 | install-headers_c: |
| 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_C), $(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_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1 |
| 2119 | |
| 2120 | install-headers_cxx: |
| 2121 | $(E) "[INSTALL] Installing public C++ headers" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2122 | $(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] | 2123 | $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1 |
| 2124 | |
| 2125 | install-static: install-static_c install-static_cxx |
| 2126 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2127 | install-static_c: static_c strip-static_c install-pkg-config_c |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2128 | $(E) "[INSTALL] Installing libgpr.a" |
| 2129 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2130 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgpr.a $(prefix)/lib/libgpr.a |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2131 | $(E) "[INSTALL] Installing libgrpc.a" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2132 | $(Q) $(INSTALL) -d $(prefix)/lib |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2133 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc.a $(prefix)/lib/libgrpc.a |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2134 | $(E) "[INSTALL] Installing libgrpc_cronet.a" |
| 2135 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2136 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a $(prefix)/lib/libgrpc_cronet.a |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 2137 | $(E) "[INSTALL] Installing libgrpc_unsecure.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_unsecure.a $(prefix)/lib/libgrpc_unsecure.a |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 2140 | ifeq ($(HAS_ZOOKEEPER),true) |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 2141 | $(E) "[INSTALL] Installing libgrpc_zookeeper.a" |
| 2142 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2143 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.a $(prefix)/lib/libgrpc_zookeeper.a |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 2144 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2145 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2146 | install-static_cxx: static_cxx strip-static_cxx install-pkg-config_cxx |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2147 | $(E) "[INSTALL] Installing libgrpc++.a" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2148 | $(Q) $(INSTALL) -d $(prefix)/lib |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2149 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(prefix)/lib/libgrpc++.a |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 2150 | $(E) "[INSTALL] Installing libgrpc++_unsecure.a" |
| 2151 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2152 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a $(prefix)/lib/libgrpc++_unsecure.a |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2153 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2154 | |
| 2155 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2156 | install-shared_c: shared_c strip-shared_c install-pkg-config_c |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2157 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT)" |
| 2158 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2159 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) |
| 2160 | ifeq ($(SYSTEM),MINGW32) |
| 2161 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgpr-imp.a $(prefix)/lib/libgpr-imp.a |
| 2162 | else ifneq ($(SYSTEM),Darwin) |
| 2163 | $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgpr.so.0 |
| 2164 | $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgpr.so |
| 2165 | endif |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2166 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2167 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2168 | $(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] | 2169 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2170 | $(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] | 2171 | else ifneq ($(SYSTEM),Darwin) |
| 2172 | $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc.so.0 |
| 2173 | $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc.so |
| 2174 | endif |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2175 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT)" |
| 2176 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2177 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) |
| 2178 | ifeq ($(SYSTEM),MINGW32) |
| 2179 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_cronet-imp.a $(prefix)/lib/libgrpc_cronet-imp.a |
| 2180 | else ifneq ($(SYSTEM),Darwin) |
| 2181 | $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_cronet.so.0 |
| 2182 | $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_cronet.so |
| 2183 | endif |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2184 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2185 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2186 | $(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] | 2187 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2188 | $(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] | 2189 | else ifneq ($(SYSTEM),Darwin) |
| 2190 | $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_unsecure.so.0 |
| 2191 | $(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] | 2192 | endif |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 2193 | ifeq ($(HAS_ZOOKEEPER),true) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2194 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT)" |
| 2195 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2196 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 2197 | ifeq ($(SYSTEM),MINGW32) |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 2198 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper-imp.a $(prefix)/lib/libgrpc_zookeeper-imp.a |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2199 | else ifneq ($(SYSTEM),Darwin) |
| 2200 | $(Q) ln -sf $(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_zookeeper.so.0 |
| 2201 | $(Q) ln -sf $(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_zookeeper.so |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 2202 | endif |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 2203 | endif |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2204 | ifneq ($(SYSTEM),MINGW32) |
| 2205 | ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | cc2b42a | 2015-02-20 00:42:21 +0100 | [diff] [blame] | 2206 | $(Q) ldconfig || true |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2207 | endif |
| 2208 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2209 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2210 | |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2211 | 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] | 2212 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++$(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++$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) |
| 2215 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2216 | $(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] | 2217 | else ifneq ($(SYSTEM),Darwin) |
| 2218 | $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++.so.0 |
| 2219 | $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++.so |
| 2220 | endif |
| 2221 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT)" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2222 | $(Q) $(INSTALL) -d $(prefix)/lib |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2223 | $(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] | 2224 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 2225 | $(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] | 2226 | else ifneq ($(SYSTEM),Darwin) |
| 2227 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc++_unsecure.so.0 |
| 2228 | $(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] | 2229 | endif |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 2230 | ifeq ($(HAS_ZOOKEEPER),true) |
| 2231 | endif |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2232 | ifneq ($(SYSTEM),MINGW32) |
| 2233 | ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | cc2b42a | 2015-02-20 00:42:21 +0100 | [diff] [blame] | 2234 | $(Q) ldconfig || true |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2235 | endif |
| 2236 | endif |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2237 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2238 | |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2239 | install-shared_csharp: shared_csharp strip-shared_csharp |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2240 | $(E) "[INSTALL] Installing $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT)" |
| 2241 | $(Q) $(INSTALL) -d $(prefix)/lib |
| 2242 | $(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] | 2243 | ifeq ($(SYSTEM),MINGW32) |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2244 | $(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] | 2245 | else ifneq ($(SYSTEM),Darwin) |
| 2246 | $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/libgrpc_csharp_ext.so.0 |
| 2247 | $(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] | 2248 | endif |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 2249 | ifeq ($(HAS_ZOOKEEPER),true) |
| 2250 | endif |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2251 | ifneq ($(SYSTEM),MINGW32) |
| 2252 | ifneq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | cc2b42a | 2015-02-20 00:42:21 +0100 | [diff] [blame] | 2253 | $(Q) ldconfig || true |
Jan Tattermusch | 2ec0b3e | 2015-02-18 15:03:12 -0800 | [diff] [blame] | 2254 | endif |
| 2255 | endif |
| 2256 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2257 | |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2258 | install-plugins: $(PROTOC_PLUGINS) |
| 2259 | ifeq ($(SYSTEM),MINGW32) |
| 2260 | $(Q) false |
| 2261 | else |
| 2262 | $(E) "[INSTALL] Installing grpc protoc plugins" |
Nicolas "Pixel" Noble | 932d5d3 | 2015-02-21 02:15:34 +0100 | [diff] [blame] | 2263 | $(Q) $(INSTALL) -d $(prefix)/bin |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2264 | $(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] | 2265 | $(Q) $(INSTALL) -d $(prefix)/bin |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 2266 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_csharp_plugin $(prefix)/bin/grpc_csharp_plugin |
| 2267 | $(Q) $(INSTALL) -d $(prefix)/bin |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 2268 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_node_plugin $(prefix)/bin/grpc_node_plugin |
| 2269 | $(Q) $(INSTALL) -d $(prefix)/bin |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 2270 | $(Q) $(INSTALL) $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin $(prefix)/bin/grpc_objective_c_plugin |
| 2271 | $(Q) $(INSTALL) -d $(prefix)/bin |
Masood Malekghassemi | f8e297a | 2015-02-19 15:39:32 -0800 | [diff] [blame] | 2272 | $(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] | 2273 | $(Q) $(INSTALL) -d $(prefix)/bin |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 2274 | $(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] | 2275 | endif |
| 2276 | |
yang-g | 2908d63 | 2016-02-04 09:46:51 -0800 | [diff] [blame] | 2277 | install-pkg-config_c: pc_c pc_c_unsecure pc_c_zookeeper |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2278 | $(E) "[INSTALL] Installing C pkg-config files" |
| 2279 | $(Q) $(INSTALL) -d $(prefix)/lib/pkgconfig |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2280 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc $(prefix)/lib/pkgconfig/grpc.pc |
| 2281 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc $(prefix)/lib/pkgconfig/grpc_unsecure.pc |
Hongwei Wang | a3780a8 | 2015-07-17 15:27:18 -0700 | [diff] [blame] | 2282 | ifeq ($(HAS_ZOOKEEPER),true) |
Hongwei Wang | a8cc439 | 2015-07-16 17:37:47 -0700 | [diff] [blame] | 2283 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_zookeeper.pc $(prefix)/lib/pkgconfig/grpc_zookeeper.pc |
Hongwei Wang | a3780a8 | 2015-07-17 15:27:18 -0700 | [diff] [blame] | 2284 | endif |
murgatroid99 | 8faab23 | 2015-06-30 17:24:21 -0700 | [diff] [blame] | 2285 | |
| 2286 | install-pkg-config_cxx: pc_cxx pc_cxx_unsecure |
| 2287 | $(E) "[INSTALL] Installing C++ pkg-config files" |
| 2288 | $(Q) $(INSTALL) -d $(prefix)/lib/pkgconfig |
| 2289 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc $(prefix)/lib/pkgconfig/grpc++.pc |
| 2290 | $(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc $(prefix)/lib/pkgconfig/grpc++_unsecure.pc |
| 2291 | |
Nicolas "Pixel" Noble | 161ea23 | 2015-02-22 05:48:53 +0100 | [diff] [blame] | 2292 | install-certs: etc/roots.pem |
| 2293 | $(E) "[INSTALL] Installing root certificates" |
| 2294 | $(Q) $(INSTALL) -d $(prefix)/share/grpc |
| 2295 | $(Q) $(INSTALL) etc/roots.pem $(prefix)/share/grpc/roots.pem |
| 2296 | |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 2297 | verify-install: |
Nicolas "Pixel" Noble | 2c23a72 | 2015-02-24 20:17:45 +0100 | [diff] [blame] | 2298 | ifeq ($(INSTALL_OK),true) |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 2299 | @echo "Your system looks ready to go." |
| 2300 | @echo |
| 2301 | else |
murgatroid99 | 7356326 | 2016-05-24 13:53:24 -0700 | [diff] [blame] | 2302 | @echo "Warning: it looks like protoc 3.0.0+ isn't installed on your system," |
| 2303 | @echo "which means that you won't be able to compile .proto files for use" |
| 2304 | @echo "with gRPC." |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 2305 | @echo |
murgatroid99 | 7356326 | 2016-05-24 13:53:24 -0700 | [diff] [blame] | 2306 | @echo "If you are just using pre-compiled protocol buffers, or you otherwise" |
| 2307 | @echo "have no need to compile .proto files, you can ignore this." |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 2308 | @echo |
murgatroid99 | 7356326 | 2016-05-24 13:53:24 -0700 | [diff] [blame] | 2309 | @echo "If you do need protobuf for some reason, you can download and install" |
| 2310 | @echo "it from:" |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 2311 | @echo |
| 2312 | @echo " https://github.com/google/protobuf/releases" |
| 2313 | @echo |
murgatroid99 | 7356326 | 2016-05-24 13:53:24 -0700 | [diff] [blame] | 2314 | @echo "Once you've done so, you can re-run this check by doing:" |
Nicolas "Pixel" Noble | 98ab998 | 2015-02-21 04:22:16 +0100 | [diff] [blame] | 2315 | @echo |
| 2316 | @echo " make verify-install" |
| 2317 | endif |
| 2318 | |
Craig Tiller | 3759e6f | 2015-01-15 08:13:11 -0800 | [diff] [blame] | 2319 | clean: |
Nicolas "Pixel" Noble | 522d712 | 2015-02-19 01:28:02 +0100 | [diff] [blame] | 2320 | $(E) "[CLEAN] Cleaning build directories." |
murgatroid99 | aa52157 | 2015-07-10 14:49:12 -0700 | [diff] [blame] | 2321 | $(Q) $(RM) -rf $(OBJDIR) $(LIBDIR) $(BINDIR) $(GENDIR) cache.mk |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2322 | |
| 2323 | |
| 2324 | # The various libraries |
| 2325 | |
| 2326 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2327 | LIBGPR_SRC = \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2328 | src/core/lib/profiling/basic_timers.c \ |
| 2329 | src/core/lib/profiling/stap_timers.c \ |
| 2330 | src/core/lib/support/alloc.c \ |
| 2331 | src/core/lib/support/avl.c \ |
| 2332 | src/core/lib/support/backoff.c \ |
| 2333 | src/core/lib/support/cmdline.c \ |
| 2334 | src/core/lib/support/cpu_iphone.c \ |
| 2335 | src/core/lib/support/cpu_linux.c \ |
| 2336 | src/core/lib/support/cpu_posix.c \ |
| 2337 | src/core/lib/support/cpu_windows.c \ |
| 2338 | src/core/lib/support/env_linux.c \ |
| 2339 | src/core/lib/support/env_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2340 | src/core/lib/support/env_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2341 | src/core/lib/support/histogram.c \ |
| 2342 | src/core/lib/support/host_port.c \ |
| 2343 | src/core/lib/support/load_file.c \ |
| 2344 | src/core/lib/support/log.c \ |
| 2345 | src/core/lib/support/log_android.c \ |
| 2346 | src/core/lib/support/log_linux.c \ |
| 2347 | src/core/lib/support/log_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2348 | src/core/lib/support/log_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2349 | src/core/lib/support/murmur_hash.c \ |
| 2350 | src/core/lib/support/slice.c \ |
| 2351 | src/core/lib/support/slice_buffer.c \ |
| 2352 | src/core/lib/support/stack_lockfree.c \ |
| 2353 | src/core/lib/support/string.c \ |
| 2354 | src/core/lib/support/string_posix.c \ |
Yuchen Zeng | 4594bd9 | 2016-05-31 14:06:01 -0700 | [diff] [blame] | 2355 | src/core/lib/support/string_util_windows.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2356 | src/core/lib/support/string_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2357 | src/core/lib/support/subprocess_posix.c \ |
| 2358 | src/core/lib/support/subprocess_windows.c \ |
| 2359 | src/core/lib/support/sync.c \ |
| 2360 | src/core/lib/support/sync_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2361 | src/core/lib/support/sync_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2362 | src/core/lib/support/thd.c \ |
| 2363 | src/core/lib/support/thd_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2364 | src/core/lib/support/thd_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2365 | src/core/lib/support/time.c \ |
| 2366 | src/core/lib/support/time_posix.c \ |
| 2367 | src/core/lib/support/time_precise.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2368 | src/core/lib/support/time_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2369 | src/core/lib/support/tls_pthread.c \ |
Nicolas "Pixel" Noble | c4b18a5 | 2016-04-15 04:53:54 +0200 | [diff] [blame] | 2370 | src/core/lib/support/tmpfile_msys.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2371 | src/core/lib/support/tmpfile_posix.c \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2372 | src/core/lib/support/tmpfile_windows.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2373 | src/core/lib/support/wrap_memcpy.c \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2374 | |
| 2375 | PUBLIC_HEADERS_C += \ |
| 2376 | include/grpc/support/alloc.h \ |
| 2377 | include/grpc/support/atm.h \ |
| 2378 | include/grpc/support/atm_gcc_atomic.h \ |
| 2379 | include/grpc/support/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2380 | include/grpc/support/atm_windows.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2381 | include/grpc/support/avl.h \ |
| 2382 | include/grpc/support/cmdline.h \ |
| 2383 | include/grpc/support/cpu.h \ |
| 2384 | include/grpc/support/histogram.h \ |
| 2385 | include/grpc/support/host_port.h \ |
| 2386 | include/grpc/support/log.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2387 | include/grpc/support/log_windows.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2388 | include/grpc/support/port_platform.h \ |
| 2389 | include/grpc/support/slice.h \ |
| 2390 | include/grpc/support/slice_buffer.h \ |
| 2391 | include/grpc/support/string_util.h \ |
| 2392 | include/grpc/support/subprocess.h \ |
| 2393 | include/grpc/support/sync.h \ |
| 2394 | include/grpc/support/sync_generic.h \ |
| 2395 | include/grpc/support/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2396 | include/grpc/support/sync_windows.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2397 | include/grpc/support/thd.h \ |
| 2398 | include/grpc/support/time.h \ |
| 2399 | include/grpc/support/tls.h \ |
| 2400 | include/grpc/support/tls_gcc.h \ |
| 2401 | include/grpc/support/tls_msvc.h \ |
| 2402 | include/grpc/support/tls_pthread.h \ |
| 2403 | include/grpc/support/useful.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2404 | include/grpc/impl/codegen/alloc.h \ |
| 2405 | include/grpc/impl/codegen/atm.h \ |
| 2406 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 2407 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2408 | include/grpc/impl/codegen/atm_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2409 | include/grpc/impl/codegen/log.h \ |
| 2410 | include/grpc/impl/codegen/port_platform.h \ |
| 2411 | include/grpc/impl/codegen/slice.h \ |
| 2412 | include/grpc/impl/codegen/slice_buffer.h \ |
| 2413 | include/grpc/impl/codegen/sync.h \ |
| 2414 | include/grpc/impl/codegen/sync_generic.h \ |
| 2415 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2416 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2417 | include/grpc/impl/codegen/time.h \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2418 | |
| 2419 | LIBGPR_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_SRC)))) |
| 2420 | |
| 2421 | |
| 2422 | $(LIBDIR)/$(CONFIG)/libgpr.a: $(ZLIB_DEP) $(LIBGPR_OBJS) |
| 2423 | $(E) "[AR] Creating $@" |
| 2424 | $(Q) mkdir -p `dirname $@` |
| 2425 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgpr.a |
| 2426 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBGPR_OBJS) |
| 2427 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 2428 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2429 | endif |
| 2430 | |
| 2431 | |
| 2432 | |
| 2433 | ifeq ($(SYSTEM),MINGW32) |
| 2434 | $(LIBDIR)/$(CONFIG)/gpr$(SHARED_VERSION).$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP) |
| 2435 | $(E) "[LD] Linking $@" |
| 2436 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2437 | $(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] | 2438 | else |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2439 | $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).$(SHARED_EXT): $(LIBGPR_OBJS) $(ZLIB_DEP) |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2440 | $(E) "[LD] Linking $@" |
| 2441 | $(Q) mkdir -p `dirname $@` |
| 2442 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2443 | $(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] | 2444 | else |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2445 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgpr.so.0 -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] | 2446 | $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).so.0 |
| 2447 | $(Q) ln -sf $(SHARED_PREFIX)gpr$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).so |
| 2448 | endif |
| 2449 | endif |
| 2450 | |
| 2451 | ifneq ($(NO_DEPS),true) |
| 2452 | -include $(LIBGPR_OBJS:.o=.dep) |
| 2453 | endif |
| 2454 | |
| 2455 | |
| 2456 | LIBGPR_TEST_UTIL_SRC = \ |
| 2457 | test/core/util/test_config.c \ |
| 2458 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 2459 | PUBLIC_HEADERS_C += \ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 2460 | |
| 2461 | LIBGPR_TEST_UTIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGPR_TEST_UTIL_SRC)))) |
| 2462 | |
| 2463 | |
| 2464 | $(LIBDIR)/$(CONFIG)/libgpr_test_util.a: $(ZLIB_DEP) $(LIBGPR_TEST_UTIL_OBJS) |
| 2465 | $(E) "[AR] Creating $@" |
| 2466 | $(Q) mkdir -p `dirname $@` |
| 2467 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgpr_test_util.a |
| 2468 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBGPR_TEST_UTIL_OBJS) |
| 2469 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 2470 | $(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] | 2471 | endif |
| 2472 | |
| 2473 | |
| 2474 | |
| 2475 | |
| 2476 | ifneq ($(NO_DEPS),true) |
| 2477 | -include $(LIBGPR_TEST_UTIL_OBJS:.o=.dep) |
| 2478 | endif |
| 2479 | |
| 2480 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2481 | LIBGRPC_SRC = \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 2482 | src/core/lib/surface/init.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2483 | src/core/lib/channel/channel_args.c \ |
| 2484 | src/core/lib/channel/channel_stack.c \ |
| 2485 | src/core/lib/channel/channel_stack_builder.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2486 | src/core/lib/channel/compress_filter.c \ |
| 2487 | src/core/lib/channel/connected_channel.c \ |
| 2488 | src/core/lib/channel/http_client_filter.c \ |
| 2489 | src/core/lib/channel/http_server_filter.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2490 | src/core/lib/compression/compression_algorithm.c \ |
| 2491 | src/core/lib/compression/message_compress.c \ |
| 2492 | src/core/lib/debug/trace.c \ |
| 2493 | src/core/lib/http/format_request.c \ |
| 2494 | src/core/lib/http/httpcli.c \ |
| 2495 | src/core/lib/http/parser.c \ |
| 2496 | src/core/lib/iomgr/closure.c \ |
| 2497 | src/core/lib/iomgr/endpoint.c \ |
| 2498 | src/core/lib/iomgr/endpoint_pair_posix.c \ |
| 2499 | src/core/lib/iomgr/endpoint_pair_windows.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 2500 | src/core/lib/iomgr/ev_poll_and_epoll_posix.c \ |
Craig Tiller | d9a60bb | 2016-03-28 23:13:19 -0700 | [diff] [blame] | 2501 | src/core/lib/iomgr/ev_poll_posix.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 2502 | src/core/lib/iomgr/ev_posix.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2503 | src/core/lib/iomgr/exec_ctx.c \ |
| 2504 | src/core/lib/iomgr/executor.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2505 | src/core/lib/iomgr/iocp_windows.c \ |
| 2506 | src/core/lib/iomgr/iomgr.c \ |
| 2507 | src/core/lib/iomgr/iomgr_posix.c \ |
| 2508 | src/core/lib/iomgr/iomgr_windows.c \ |
David Garcia Quintas | 2a50dfe | 2016-05-31 15:09:12 -0700 | [diff] [blame] | 2509 | src/core/lib/iomgr/polling_entity.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2510 | src/core/lib/iomgr/pollset_set_windows.c \ |
| 2511 | src/core/lib/iomgr/pollset_windows.c \ |
| 2512 | src/core/lib/iomgr/resolve_address_posix.c \ |
| 2513 | src/core/lib/iomgr/resolve_address_windows.c \ |
| 2514 | src/core/lib/iomgr/sockaddr_utils.c \ |
| 2515 | src/core/lib/iomgr/socket_utils_common_posix.c \ |
| 2516 | src/core/lib/iomgr/socket_utils_linux.c \ |
| 2517 | src/core/lib/iomgr/socket_utils_posix.c \ |
| 2518 | src/core/lib/iomgr/socket_windows.c \ |
| 2519 | src/core/lib/iomgr/tcp_client_posix.c \ |
| 2520 | src/core/lib/iomgr/tcp_client_windows.c \ |
| 2521 | src/core/lib/iomgr/tcp_posix.c \ |
| 2522 | src/core/lib/iomgr/tcp_server_posix.c \ |
| 2523 | src/core/lib/iomgr/tcp_server_windows.c \ |
| 2524 | src/core/lib/iomgr/tcp_windows.c \ |
| 2525 | src/core/lib/iomgr/time_averaged_stats.c \ |
| 2526 | src/core/lib/iomgr/timer.c \ |
| 2527 | src/core/lib/iomgr/timer_heap.c \ |
| 2528 | src/core/lib/iomgr/udp_server.c \ |
| 2529 | src/core/lib/iomgr/unix_sockets_posix.c \ |
| 2530 | src/core/lib/iomgr/unix_sockets_posix_noop.c \ |
| 2531 | src/core/lib/iomgr/wakeup_fd_eventfd.c \ |
| 2532 | src/core/lib/iomgr/wakeup_fd_nospecial.c \ |
| 2533 | src/core/lib/iomgr/wakeup_fd_pipe.c \ |
| 2534 | src/core/lib/iomgr/wakeup_fd_posix.c \ |
| 2535 | src/core/lib/iomgr/workqueue_posix.c \ |
| 2536 | src/core/lib/iomgr/workqueue_windows.c \ |
| 2537 | src/core/lib/json/json.c \ |
| 2538 | src/core/lib/json/json_reader.c \ |
| 2539 | src/core/lib/json/json_string.c \ |
| 2540 | src/core/lib/json/json_writer.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2541 | src/core/lib/surface/alarm.c \ |
| 2542 | src/core/lib/surface/api_trace.c \ |
| 2543 | src/core/lib/surface/byte_buffer.c \ |
| 2544 | src/core/lib/surface/byte_buffer_reader.c \ |
| 2545 | src/core/lib/surface/call.c \ |
| 2546 | src/core/lib/surface/call_details.c \ |
| 2547 | src/core/lib/surface/call_log_batch.c \ |
| 2548 | src/core/lib/surface/channel.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2549 | src/core/lib/surface/channel_init.c \ |
| 2550 | src/core/lib/surface/channel_ping.c \ |
| 2551 | src/core/lib/surface/channel_stack_type.c \ |
| 2552 | src/core/lib/surface/completion_queue.c \ |
| 2553 | src/core/lib/surface/event_string.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2554 | src/core/lib/surface/lame_client.c \ |
| 2555 | src/core/lib/surface/metadata_array.c \ |
| 2556 | src/core/lib/surface/server.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2557 | src/core/lib/surface/validate_metadata.c \ |
| 2558 | src/core/lib/surface/version.c \ |
| 2559 | src/core/lib/transport/byte_stream.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2560 | src/core/lib/transport/connectivity_state.c \ |
| 2561 | src/core/lib/transport/metadata.c \ |
| 2562 | src/core/lib/transport/metadata_batch.c \ |
| 2563 | src/core/lib/transport/static_metadata.c \ |
| 2564 | src/core/lib/transport/transport.c \ |
| 2565 | src/core/lib/transport/transport_op_string.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2566 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c \ |
| 2567 | src/core/ext/transport/chttp2/transport/bin_encoder.c \ |
| 2568 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c \ |
| 2569 | src/core/ext/transport/chttp2/transport/chttp2_transport.c \ |
| 2570 | src/core/ext/transport/chttp2/transport/frame_data.c \ |
| 2571 | src/core/ext/transport/chttp2/transport/frame_goaway.c \ |
| 2572 | src/core/ext/transport/chttp2/transport/frame_ping.c \ |
| 2573 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c \ |
| 2574 | src/core/ext/transport/chttp2/transport/frame_settings.c \ |
| 2575 | src/core/ext/transport/chttp2/transport/frame_window_update.c \ |
| 2576 | src/core/ext/transport/chttp2/transport/hpack_encoder.c \ |
| 2577 | src/core/ext/transport/chttp2/transport/hpack_parser.c \ |
| 2578 | src/core/ext/transport/chttp2/transport/hpack_table.c \ |
| 2579 | src/core/ext/transport/chttp2/transport/huffsyms.c \ |
| 2580 | src/core/ext/transport/chttp2/transport/incoming_metadata.c \ |
| 2581 | src/core/ext/transport/chttp2/transport/parsing.c \ |
| 2582 | src/core/ext/transport/chttp2/transport/status_conversion.c \ |
| 2583 | src/core/ext/transport/chttp2/transport/stream_lists.c \ |
| 2584 | src/core/ext/transport/chttp2/transport/stream_map.c \ |
| 2585 | src/core/ext/transport/chttp2/transport/timeout_encoding.c \ |
| 2586 | src/core/ext/transport/chttp2/transport/varint.c \ |
| 2587 | src/core/ext/transport/chttp2/transport/writing.c \ |
| 2588 | src/core/ext/transport/chttp2/alpn/alpn.c \ |
| 2589 | src/core/lib/http/httpcli_security_connector.c \ |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 2590 | src/core/lib/security/context/security_context.c \ |
| 2591 | src/core/lib/security/credentials/composite/composite_credentials.c \ |
| 2592 | src/core/lib/security/credentials/credentials.c \ |
| 2593 | src/core/lib/security/credentials/credentials_metadata.c \ |
| 2594 | src/core/lib/security/credentials/fake/fake_credentials.c \ |
| 2595 | src/core/lib/security/credentials/google_default/credentials_posix.c \ |
Yuchen Zeng | 4594bd9 | 2016-05-31 14:06:01 -0700 | [diff] [blame] | 2596 | src/core/lib/security/credentials/google_default/credentials_windows.c \ |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 2597 | src/core/lib/security/credentials/google_default/google_default_credentials.c \ |
| 2598 | src/core/lib/security/credentials/iam/iam_credentials.c \ |
| 2599 | src/core/lib/security/credentials/jwt/json_token.c \ |
| 2600 | src/core/lib/security/credentials/jwt/jwt_credentials.c \ |
| 2601 | src/core/lib/security/credentials/jwt/jwt_verifier.c \ |
| 2602 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c \ |
| 2603 | src/core/lib/security/credentials/plugin/plugin_credentials.c \ |
| 2604 | src/core/lib/security/credentials/ssl/ssl_credentials.c \ |
| 2605 | src/core/lib/security/transport/client_auth_filter.c \ |
| 2606 | src/core/lib/security/transport/handshake.c \ |
| 2607 | src/core/lib/security/transport/secure_endpoint.c \ |
| 2608 | src/core/lib/security/transport/security_connector.c \ |
| 2609 | src/core/lib/security/transport/server_auth_filter.c \ |
| 2610 | src/core/lib/security/util/b64.c \ |
| 2611 | src/core/lib/security/util/json_util.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2612 | src/core/lib/surface/init_secure.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 2613 | src/core/lib/tsi/fake_transport_security.c \ |
| 2614 | src/core/lib/tsi/ssl_transport_security.c \ |
| 2615 | src/core/lib/tsi/transport_security.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2616 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c \ |
| 2617 | src/core/ext/client_config/channel_connectivity.c \ |
| 2618 | src/core/ext/client_config/client_channel.c \ |
| 2619 | src/core/ext/client_config/client_channel_factory.c \ |
| 2620 | src/core/ext/client_config/client_config.c \ |
| 2621 | src/core/ext/client_config/client_config_plugin.c \ |
| 2622 | src/core/ext/client_config/connector.c \ |
| 2623 | src/core/ext/client_config/default_initial_connect_string.c \ |
| 2624 | src/core/ext/client_config/initial_connect_string.c \ |
| 2625 | src/core/ext/client_config/lb_policy.c \ |
| 2626 | src/core/ext/client_config/lb_policy_factory.c \ |
| 2627 | src/core/ext/client_config/lb_policy_registry.c \ |
David Garcia Quintas | 9885bff | 2016-04-07 17:31:29 -0700 | [diff] [blame] | 2628 | src/core/ext/client_config/parse_address.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2629 | src/core/ext/client_config/resolver.c \ |
| 2630 | src/core/ext/client_config/resolver_factory.c \ |
| 2631 | src/core/ext/client_config/resolver_registry.c \ |
| 2632 | src/core/ext/client_config/subchannel.c \ |
| 2633 | src/core/ext/client_config/subchannel_call_holder.c \ |
| 2634 | src/core/ext/client_config/subchannel_index.c \ |
| 2635 | src/core/ext/client_config/uri_parser.c \ |
| 2636 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \ |
Adam Michalik | bf10c82 | 2016-05-20 16:13:32 -0700 | [diff] [blame] | 2637 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2638 | src/core/ext/transport/chttp2/client/insecure/channel_create.c \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 2639 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2640 | src/core/ext/lb_policy/grpclb/load_balancer_api.c \ |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 2641 | 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] | 2642 | third_party/nanopb/pb_common.c \ |
| 2643 | third_party/nanopb/pb_decode.c \ |
| 2644 | third_party/nanopb/pb_encode.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2645 | src/core/ext/lb_policy/pick_first/pick_first.c \ |
| 2646 | src/core/ext/lb_policy/round_robin/round_robin.c \ |
| 2647 | src/core/ext/resolver/dns/native/dns_resolver.c \ |
| 2648 | src/core/ext/resolver/sockaddr/sockaddr_resolver.c \ |
David Garcia Quintas | b41363e | 2016-04-29 00:41:21 -0700 | [diff] [blame] | 2649 | src/core/ext/load_reporting/load_reporting.c \ |
| 2650 | src/core/ext/load_reporting/load_reporting_filter.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2651 | src/core/ext/census/context.c \ |
Alistair Veitch | 30fe632 | 2016-05-23 10:11:28 -0700 | [diff] [blame] | 2652 | src/core/ext/census/gen/census.pb.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2653 | src/core/ext/census/grpc_context.c \ |
| 2654 | src/core/ext/census/grpc_filter.c \ |
| 2655 | src/core/ext/census/grpc_plugin.c \ |
| 2656 | src/core/ext/census/initialize.c \ |
| 2657 | src/core/ext/census/mlog.c \ |
| 2658 | src/core/ext/census/operation.c \ |
| 2659 | src/core/ext/census/placeholders.c \ |
| 2660 | src/core/ext/census/tracing.c \ |
| 2661 | src/core/plugin_registry/grpc_plugin_registry.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2662 | |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2663 | PUBLIC_HEADERS_C += \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2664 | include/grpc/byte_buffer.h \ |
| 2665 | include/grpc/byte_buffer_reader.h \ |
David Garcia Quintas | 59f905d | 2015-06-08 16:31:19 -0700 | [diff] [blame] | 2666 | include/grpc/compression.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2667 | include/grpc/grpc.h \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 2668 | include/grpc/grpc_posix.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2669 | include/grpc/status.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2670 | include/grpc/impl/codegen/byte_buffer.h \ |
David Garcia Quintas | 1b2db63 | 2016-04-27 15:06:54 -0700 | [diff] [blame] | 2671 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2672 | include/grpc/impl/codegen/compression_types.h \ |
| 2673 | include/grpc/impl/codegen/connectivity_state.h \ |
| 2674 | include/grpc/impl/codegen/grpc_types.h \ |
| 2675 | include/grpc/impl/codegen/propagation_bits.h \ |
| 2676 | include/grpc/impl/codegen/status.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2677 | include/grpc/impl/codegen/alloc.h \ |
| 2678 | include/grpc/impl/codegen/atm.h \ |
| 2679 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 2680 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2681 | include/grpc/impl/codegen/atm_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2682 | include/grpc/impl/codegen/log.h \ |
| 2683 | include/grpc/impl/codegen/port_platform.h \ |
| 2684 | include/grpc/impl/codegen/slice.h \ |
| 2685 | include/grpc/impl/codegen/slice_buffer.h \ |
| 2686 | include/grpc/impl/codegen/sync.h \ |
| 2687 | include/grpc/impl/codegen/sync_generic.h \ |
| 2688 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 2689 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2690 | include/grpc/impl/codegen/time.h \ |
| 2691 | include/grpc/grpc_security.h \ |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 2692 | include/grpc/grpc_security_constants.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2693 | include/grpc/census.h \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2694 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2695 | LIBGRPC_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_SRC)))) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2696 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 2697 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2698 | ifeq ($(NO_SECURE),true) |
| 2699 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 2700 | # You can't build secure libraries if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 2701 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2702 | $(LIBDIR)/$(CONFIG)/libgrpc.a: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2703 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2704 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2705 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2706 | else |
| 2707 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 2708 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 2709 | $(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] | 2710 | $(E) "[AR] Creating $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2711 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 2712 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc.a |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 2713 | $(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] | 2714 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 2715 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 2716 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2717 | |
nnoble | 5b7f32a | 2014-12-22 08:12:44 -0800 | [diff] [blame] | 2718 | |
| 2719 | |
| 2720 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2721 | $(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] | 2722 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 2723 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2724 | $(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] | 2725 | else |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 2726 | $(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] | 2727 | $(E) "[LD] Linking $@" |
| 2728 | $(Q) mkdir -p `dirname $@` |
| 2729 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2730 | $(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] | 2731 | else |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 2732 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.0 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 2733 | $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION).so.0 |
| 2734 | $(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] | 2735 | endif |
| 2736 | endif |
| 2737 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2738 | endif |
| 2739 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2740 | ifneq ($(NO_SECURE),true) |
| 2741 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 2742 | -include $(LIBGRPC_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2743 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 2744 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2745 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 2746 | |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2747 | LIBGRPC_CRONET_SRC = \ |
| 2748 | src/core/lib/surface/init.c \ |
| 2749 | src/core/lib/channel/channel_args.c \ |
| 2750 | src/core/lib/channel/channel_stack.c \ |
| 2751 | src/core/lib/channel/channel_stack_builder.c \ |
| 2752 | src/core/lib/channel/compress_filter.c \ |
| 2753 | src/core/lib/channel/connected_channel.c \ |
| 2754 | src/core/lib/channel/http_client_filter.c \ |
| 2755 | src/core/lib/channel/http_server_filter.c \ |
| 2756 | src/core/lib/compression/compression_algorithm.c \ |
| 2757 | src/core/lib/compression/message_compress.c \ |
| 2758 | src/core/lib/debug/trace.c \ |
| 2759 | src/core/lib/http/format_request.c \ |
| 2760 | src/core/lib/http/httpcli.c \ |
| 2761 | src/core/lib/http/parser.c \ |
| 2762 | src/core/lib/iomgr/closure.c \ |
| 2763 | src/core/lib/iomgr/endpoint.c \ |
| 2764 | src/core/lib/iomgr/endpoint_pair_posix.c \ |
| 2765 | src/core/lib/iomgr/endpoint_pair_windows.c \ |
| 2766 | src/core/lib/iomgr/ev_poll_and_epoll_posix.c \ |
| 2767 | src/core/lib/iomgr/ev_poll_posix.c \ |
| 2768 | src/core/lib/iomgr/ev_posix.c \ |
| 2769 | src/core/lib/iomgr/exec_ctx.c \ |
| 2770 | src/core/lib/iomgr/executor.c \ |
| 2771 | src/core/lib/iomgr/iocp_windows.c \ |
| 2772 | src/core/lib/iomgr/iomgr.c \ |
| 2773 | src/core/lib/iomgr/iomgr_posix.c \ |
| 2774 | src/core/lib/iomgr/iomgr_windows.c \ |
David Garcia Quintas | 4461da7 | 2016-06-06 16:45:01 -0700 | [diff] [blame] | 2775 | src/core/lib/iomgr/polling_entity.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2776 | src/core/lib/iomgr/pollset_set_windows.c \ |
| 2777 | src/core/lib/iomgr/pollset_windows.c \ |
| 2778 | src/core/lib/iomgr/resolve_address_posix.c \ |
| 2779 | src/core/lib/iomgr/resolve_address_windows.c \ |
| 2780 | src/core/lib/iomgr/sockaddr_utils.c \ |
| 2781 | src/core/lib/iomgr/socket_utils_common_posix.c \ |
| 2782 | src/core/lib/iomgr/socket_utils_linux.c \ |
| 2783 | src/core/lib/iomgr/socket_utils_posix.c \ |
| 2784 | src/core/lib/iomgr/socket_windows.c \ |
| 2785 | src/core/lib/iomgr/tcp_client_posix.c \ |
| 2786 | src/core/lib/iomgr/tcp_client_windows.c \ |
| 2787 | src/core/lib/iomgr/tcp_posix.c \ |
| 2788 | src/core/lib/iomgr/tcp_server_posix.c \ |
| 2789 | src/core/lib/iomgr/tcp_server_windows.c \ |
| 2790 | src/core/lib/iomgr/tcp_windows.c \ |
| 2791 | src/core/lib/iomgr/time_averaged_stats.c \ |
| 2792 | src/core/lib/iomgr/timer.c \ |
| 2793 | src/core/lib/iomgr/timer_heap.c \ |
| 2794 | src/core/lib/iomgr/udp_server.c \ |
| 2795 | src/core/lib/iomgr/unix_sockets_posix.c \ |
| 2796 | src/core/lib/iomgr/unix_sockets_posix_noop.c \ |
| 2797 | src/core/lib/iomgr/wakeup_fd_eventfd.c \ |
| 2798 | src/core/lib/iomgr/wakeup_fd_nospecial.c \ |
| 2799 | src/core/lib/iomgr/wakeup_fd_pipe.c \ |
| 2800 | src/core/lib/iomgr/wakeup_fd_posix.c \ |
| 2801 | src/core/lib/iomgr/workqueue_posix.c \ |
| 2802 | src/core/lib/iomgr/workqueue_windows.c \ |
| 2803 | src/core/lib/json/json.c \ |
| 2804 | src/core/lib/json/json_reader.c \ |
| 2805 | src/core/lib/json/json_string.c \ |
| 2806 | src/core/lib/json/json_writer.c \ |
| 2807 | src/core/lib/surface/alarm.c \ |
| 2808 | src/core/lib/surface/api_trace.c \ |
| 2809 | src/core/lib/surface/byte_buffer.c \ |
| 2810 | src/core/lib/surface/byte_buffer_reader.c \ |
| 2811 | src/core/lib/surface/call.c \ |
| 2812 | src/core/lib/surface/call_details.c \ |
| 2813 | src/core/lib/surface/call_log_batch.c \ |
| 2814 | src/core/lib/surface/channel.c \ |
| 2815 | src/core/lib/surface/channel_init.c \ |
| 2816 | src/core/lib/surface/channel_ping.c \ |
| 2817 | src/core/lib/surface/channel_stack_type.c \ |
| 2818 | src/core/lib/surface/completion_queue.c \ |
| 2819 | src/core/lib/surface/event_string.c \ |
| 2820 | src/core/lib/surface/lame_client.c \ |
| 2821 | src/core/lib/surface/metadata_array.c \ |
| 2822 | src/core/lib/surface/server.c \ |
| 2823 | src/core/lib/surface/validate_metadata.c \ |
| 2824 | src/core/lib/surface/version.c \ |
| 2825 | src/core/lib/transport/byte_stream.c \ |
| 2826 | src/core/lib/transport/connectivity_state.c \ |
| 2827 | src/core/lib/transport/metadata.c \ |
| 2828 | src/core/lib/transport/metadata_batch.c \ |
| 2829 | src/core/lib/transport/static_metadata.c \ |
| 2830 | src/core/lib/transport/transport.c \ |
| 2831 | src/core/lib/transport/transport_op_string.c \ |
| 2832 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c \ |
| 2833 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c \ |
| 2834 | src/core/ext/transport/cronet/transport/cronet_transport.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2835 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c \ |
| 2836 | src/core/ext/transport/chttp2/transport/bin_encoder.c \ |
| 2837 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c \ |
| 2838 | src/core/ext/transport/chttp2/transport/chttp2_transport.c \ |
| 2839 | src/core/ext/transport/chttp2/transport/frame_data.c \ |
| 2840 | src/core/ext/transport/chttp2/transport/frame_goaway.c \ |
| 2841 | src/core/ext/transport/chttp2/transport/frame_ping.c \ |
| 2842 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c \ |
| 2843 | src/core/ext/transport/chttp2/transport/frame_settings.c \ |
| 2844 | src/core/ext/transport/chttp2/transport/frame_window_update.c \ |
| 2845 | src/core/ext/transport/chttp2/transport/hpack_encoder.c \ |
| 2846 | src/core/ext/transport/chttp2/transport/hpack_parser.c \ |
| 2847 | src/core/ext/transport/chttp2/transport/hpack_table.c \ |
| 2848 | src/core/ext/transport/chttp2/transport/huffsyms.c \ |
| 2849 | src/core/ext/transport/chttp2/transport/incoming_metadata.c \ |
| 2850 | src/core/ext/transport/chttp2/transport/parsing.c \ |
| 2851 | src/core/ext/transport/chttp2/transport/status_conversion.c \ |
| 2852 | src/core/ext/transport/chttp2/transport/stream_lists.c \ |
| 2853 | src/core/ext/transport/chttp2/transport/stream_map.c \ |
| 2854 | src/core/ext/transport/chttp2/transport/timeout_encoding.c \ |
| 2855 | src/core/ext/transport/chttp2/transport/varint.c \ |
| 2856 | src/core/ext/transport/chttp2/transport/writing.c \ |
| 2857 | src/core/ext/transport/chttp2/alpn/alpn.c \ |
| 2858 | src/core/ext/client_config/channel_connectivity.c \ |
| 2859 | src/core/ext/client_config/client_channel.c \ |
| 2860 | src/core/ext/client_config/client_channel_factory.c \ |
| 2861 | src/core/ext/client_config/client_config.c \ |
| 2862 | src/core/ext/client_config/client_config_plugin.c \ |
| 2863 | src/core/ext/client_config/connector.c \ |
| 2864 | src/core/ext/client_config/default_initial_connect_string.c \ |
| 2865 | src/core/ext/client_config/initial_connect_string.c \ |
| 2866 | src/core/ext/client_config/lb_policy.c \ |
| 2867 | src/core/ext/client_config/lb_policy_factory.c \ |
| 2868 | src/core/ext/client_config/lb_policy_registry.c \ |
| 2869 | src/core/ext/client_config/parse_address.c \ |
| 2870 | src/core/ext/client_config/resolver.c \ |
| 2871 | src/core/ext/client_config/resolver_factory.c \ |
| 2872 | src/core/ext/client_config/resolver_registry.c \ |
| 2873 | src/core/ext/client_config/subchannel.c \ |
| 2874 | src/core/ext/client_config/subchannel_call_holder.c \ |
| 2875 | src/core/ext/client_config/subchannel_index.c \ |
| 2876 | src/core/ext/client_config/uri_parser.c \ |
| 2877 | src/core/lib/http/httpcli_security_connector.c \ |
| 2878 | src/core/lib/security/context/security_context.c \ |
| 2879 | src/core/lib/security/credentials/composite/composite_credentials.c \ |
| 2880 | src/core/lib/security/credentials/credentials.c \ |
| 2881 | src/core/lib/security/credentials/credentials_metadata.c \ |
| 2882 | src/core/lib/security/credentials/fake/fake_credentials.c \ |
| 2883 | src/core/lib/security/credentials/google_default/credentials_posix.c \ |
Jan Tattermusch | 2f7f856 | 2016-06-06 13:34:56 -0700 | [diff] [blame] | 2884 | src/core/lib/security/credentials/google_default/credentials_windows.c \ |
Makarand Dharmapurikar | eaf5426 | 2016-06-01 18:32:42 -0700 | [diff] [blame] | 2885 | src/core/lib/security/credentials/google_default/google_default_credentials.c \ |
| 2886 | src/core/lib/security/credentials/iam/iam_credentials.c \ |
| 2887 | src/core/lib/security/credentials/jwt/json_token.c \ |
| 2888 | src/core/lib/security/credentials/jwt/jwt_credentials.c \ |
| 2889 | src/core/lib/security/credentials/jwt/jwt_verifier.c \ |
| 2890 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c \ |
| 2891 | src/core/lib/security/credentials/plugin/plugin_credentials.c \ |
| 2892 | src/core/lib/security/credentials/ssl/ssl_credentials.c \ |
| 2893 | src/core/lib/security/transport/client_auth_filter.c \ |
| 2894 | src/core/lib/security/transport/handshake.c \ |
| 2895 | src/core/lib/security/transport/secure_endpoint.c \ |
| 2896 | src/core/lib/security/transport/security_connector.c \ |
| 2897 | src/core/lib/security/transport/server_auth_filter.c \ |
| 2898 | src/core/lib/security/util/b64.c \ |
| 2899 | src/core/lib/security/util/json_util.c \ |
| 2900 | src/core/lib/surface/init_secure.c \ |
| 2901 | src/core/lib/tsi/fake_transport_security.c \ |
| 2902 | src/core/lib/tsi/ssl_transport_security.c \ |
| 2903 | src/core/lib/tsi/transport_security.c \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2904 | src/core/plugin_registry/grpc_cronet_plugin_registry.c \ |
| 2905 | |
| 2906 | PUBLIC_HEADERS_C += \ |
| 2907 | include/grpc/byte_buffer.h \ |
| 2908 | include/grpc/byte_buffer_reader.h \ |
| 2909 | include/grpc/compression.h \ |
| 2910 | include/grpc/grpc.h \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 2911 | include/grpc/grpc_posix.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2912 | include/grpc/status.h \ |
| 2913 | include/grpc/impl/codegen/byte_buffer.h \ |
| 2914 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 2915 | include/grpc/impl/codegen/compression_types.h \ |
| 2916 | include/grpc/impl/codegen/connectivity_state.h \ |
| 2917 | include/grpc/impl/codegen/grpc_types.h \ |
| 2918 | include/grpc/impl/codegen/propagation_bits.h \ |
| 2919 | include/grpc/impl/codegen/status.h \ |
| 2920 | include/grpc/impl/codegen/alloc.h \ |
| 2921 | include/grpc/impl/codegen/atm.h \ |
| 2922 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 2923 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Jan Tattermusch | 2f7f856 | 2016-06-06 13:34:56 -0700 | [diff] [blame] | 2924 | include/grpc/impl/codegen/atm_windows.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2925 | include/grpc/impl/codegen/log.h \ |
| 2926 | include/grpc/impl/codegen/port_platform.h \ |
| 2927 | include/grpc/impl/codegen/slice.h \ |
| 2928 | include/grpc/impl/codegen/slice_buffer.h \ |
| 2929 | include/grpc/impl/codegen/sync.h \ |
| 2930 | include/grpc/impl/codegen/sync_generic.h \ |
| 2931 | include/grpc/impl/codegen/sync_posix.h \ |
Jan Tattermusch | 2f7f856 | 2016-06-06 13:34:56 -0700 | [diff] [blame] | 2932 | include/grpc/impl/codegen/sync_windows.h \ |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 2933 | include/grpc/impl/codegen/time.h \ |
| 2934 | include/grpc/grpc_cronet.h \ |
| 2935 | include/grpc/grpc_security.h \ |
| 2936 | include/grpc/grpc_security_constants.h \ |
| 2937 | |
| 2938 | LIBGRPC_CRONET_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_CRONET_SRC)))) |
| 2939 | |
| 2940 | |
| 2941 | ifeq ($(NO_SECURE),true) |
| 2942 | |
| 2943 | # You can't build secure libraries if you don't have OpenSSL. |
| 2944 | |
| 2945 | $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a: openssl_dep_error |
| 2946 | |
| 2947 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
| 2948 | |
| 2949 | else |
| 2950 | |
| 2951 | |
| 2952 | $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBGRPC_CRONET_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) $(OPENSSL_MERGE_OBJS) |
| 2953 | $(E) "[AR] Creating $@" |
| 2954 | $(Q) mkdir -p `dirname $@` |
| 2955 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a |
| 2956 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a $(LIBGRPC_CRONET_OBJS) $(LIBGPR_OBJS) $(ZLIB_MERGE_OBJS) $(OPENSSL_MERGE_OBJS) |
| 2957 | ifeq ($(SYSTEM),Darwin) |
| 2958 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_cronet.a |
| 2959 | endif |
| 2960 | |
| 2961 | |
| 2962 | |
| 2963 | ifeq ($(SYSTEM),MINGW32) |
| 2964 | $(LIBDIR)/$(CONFIG)/grpc_cronet$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_CRONET_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_DEP) |
| 2965 | $(E) "[LD] Linking $@" |
| 2966 | $(Q) mkdir -p `dirname $@` |
| 2967 | $(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) |
| 2968 | else |
| 2969 | $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_CRONET_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_DEP) |
| 2970 | $(E) "[LD] Linking $@" |
| 2971 | $(Q) mkdir -p `dirname $@` |
| 2972 | ifeq ($(SYSTEM),Darwin) |
| 2973 | $(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) |
| 2974 | else |
| 2975 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_cronet.so.0 -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) |
| 2976 | $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION).so.0 |
| 2977 | $(Q) ln -sf $(SHARED_PREFIX)grpc_cronet$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_cronet$(SHARED_VERSION).so |
| 2978 | endif |
| 2979 | endif |
| 2980 | |
| 2981 | endif |
| 2982 | |
| 2983 | ifneq ($(NO_SECURE),true) |
| 2984 | ifneq ($(NO_DEPS),true) |
| 2985 | -include $(LIBGRPC_CRONET_OBJS:.o=.dep) |
| 2986 | endif |
| 2987 | endif |
| 2988 | |
| 2989 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2990 | LIBGRPC_TEST_UTIL_SRC = \ |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 2991 | test/core/end2end/data/client_certs.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2992 | test/core/end2end/data/server1_cert.c \ |
| 2993 | test/core/end2end/data/server1_key.c \ |
| 2994 | test/core/end2end/data/test_root_cert.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 2995 | test/core/security/oauth2_utils.c \ |
| 2996 | test/core/end2end/cq_verifier.c \ |
Craig Tiller | 17effab | 2015-08-04 08:19:36 -0700 | [diff] [blame] | 2997 | test/core/end2end/fixtures/proxy.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2998 | test/core/iomgr/endpoint_tests.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 2999 | test/core/util/grpc_profiler.c \ |
Nicolas "Pixel" Noble | 85a46dd | 2016-04-12 01:50:51 +0200 | [diff] [blame] | 3000 | test/core/util/memory_counters.c \ |
Craig Tiller | 2d8d13a | 2016-04-03 13:04:41 -0700 | [diff] [blame] | 3001 | test/core/util/mock_endpoint.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3002 | test/core/util/parse_hexstring.c \ |
Craig Tiller | 62c7a5a | 2016-04-13 22:25:03 -0700 | [diff] [blame] | 3003 | test/core/util/passthru_endpoint.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3004 | test/core/util/port_posix.c \ |
Craig Tiller | 19d7d80 | 2016-03-17 08:47:05 -0700 | [diff] [blame] | 3005 | test/core/util/port_server_client.c \ |
Craig Tiller | 34cf2f3 | 2015-04-08 16:10:00 -0700 | [diff] [blame] | 3006 | test/core/util/port_windows.c \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3007 | test/core/util/slice_splitter.c \ |
| 3008 | |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3009 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3010 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3011 | 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] | 3012 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3013 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3014 | ifeq ($(NO_SECURE),true) |
| 3015 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 3016 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3017 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3018 | $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3019 | |
| 3020 | |
| 3021 | else |
| 3022 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3023 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3024 | $(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] | 3025 | $(E) "[AR] Creating $@" |
| 3026 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3027 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3028 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBGRPC_TEST_UTIL_OBJS) |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3029 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3030 | $(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] | 3031 | endif |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3032 | |
| 3033 | |
| 3034 | |
| 3035 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3036 | endif |
| 3037 | |
| 3038 | ifneq ($(NO_SECURE),true) |
| 3039 | ifneq ($(NO_DEPS),true) |
| 3040 | -include $(LIBGRPC_TEST_UTIL_OBJS:.o=.dep) |
| 3041 | endif |
| 3042 | endif |
| 3043 | |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3044 | |
| 3045 | LIBGRPC_TEST_UTIL_UNSECURE_SRC = \ |
| 3046 | test/core/end2end/cq_verifier.c \ |
Craig Tiller | 17effab | 2015-08-04 08:19:36 -0700 | [diff] [blame] | 3047 | test/core/end2end/fixtures/proxy.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3048 | test/core/iomgr/endpoint_tests.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3049 | test/core/util/grpc_profiler.c \ |
Nicolas "Pixel" Noble | 85a46dd | 2016-04-12 01:50:51 +0200 | [diff] [blame] | 3050 | test/core/util/memory_counters.c \ |
Craig Tiller | 2d8d13a | 2016-04-03 13:04:41 -0700 | [diff] [blame] | 3051 | test/core/util/mock_endpoint.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3052 | test/core/util/parse_hexstring.c \ |
Craig Tiller | 62c7a5a | 2016-04-13 22:25:03 -0700 | [diff] [blame] | 3053 | test/core/util/passthru_endpoint.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3054 | test/core/util/port_posix.c \ |
Craig Tiller | 19d7d80 | 2016-03-17 08:47:05 -0700 | [diff] [blame] | 3055 | test/core/util/port_server_client.c \ |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 3056 | test/core/util/port_windows.c \ |
| 3057 | test/core/util/slice_splitter.c \ |
| 3058 | |
| 3059 | PUBLIC_HEADERS_C += \ |
| 3060 | |
| 3061 | LIBGRPC_TEST_UTIL_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_TEST_UTIL_UNSECURE_SRC)))) |
| 3062 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3063 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3064 | $(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] | 3065 | $(E) "[AR] Creating $@" |
| 3066 | $(Q) mkdir -p `dirname $@` |
| 3067 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_test_util_unsecure.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3068 | $(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] | 3069 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3070 | $(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] | 3071 | endif |
| 3072 | |
| 3073 | |
| 3074 | |
| 3075 | |
| 3076 | ifneq ($(NO_DEPS),true) |
| 3077 | -include $(LIBGRPC_TEST_UTIL_UNSECURE_OBJS:.o=.dep) |
| 3078 | endif |
| 3079 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 3080 | |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3081 | LIBGRPC_UNSECURE_SRC = \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 3082 | src/core/lib/surface/init.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3083 | src/core/lib/surface/init_unsecure.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3084 | src/core/lib/channel/channel_args.c \ |
| 3085 | src/core/lib/channel/channel_stack.c \ |
| 3086 | src/core/lib/channel/channel_stack_builder.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3087 | src/core/lib/channel/compress_filter.c \ |
| 3088 | src/core/lib/channel/connected_channel.c \ |
| 3089 | src/core/lib/channel/http_client_filter.c \ |
| 3090 | src/core/lib/channel/http_server_filter.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3091 | src/core/lib/compression/compression_algorithm.c \ |
| 3092 | src/core/lib/compression/message_compress.c \ |
| 3093 | src/core/lib/debug/trace.c \ |
| 3094 | src/core/lib/http/format_request.c \ |
| 3095 | src/core/lib/http/httpcli.c \ |
| 3096 | src/core/lib/http/parser.c \ |
| 3097 | src/core/lib/iomgr/closure.c \ |
| 3098 | src/core/lib/iomgr/endpoint.c \ |
| 3099 | src/core/lib/iomgr/endpoint_pair_posix.c \ |
| 3100 | src/core/lib/iomgr/endpoint_pair_windows.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 3101 | src/core/lib/iomgr/ev_poll_and_epoll_posix.c \ |
Craig Tiller | d9a60bb | 2016-03-28 23:13:19 -0700 | [diff] [blame] | 3102 | src/core/lib/iomgr/ev_poll_posix.c \ |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 3103 | src/core/lib/iomgr/ev_posix.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3104 | src/core/lib/iomgr/exec_ctx.c \ |
| 3105 | src/core/lib/iomgr/executor.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3106 | src/core/lib/iomgr/iocp_windows.c \ |
| 3107 | src/core/lib/iomgr/iomgr.c \ |
| 3108 | src/core/lib/iomgr/iomgr_posix.c \ |
| 3109 | src/core/lib/iomgr/iomgr_windows.c \ |
David Garcia Quintas | 2a50dfe | 2016-05-31 15:09:12 -0700 | [diff] [blame] | 3110 | src/core/lib/iomgr/polling_entity.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3111 | src/core/lib/iomgr/pollset_set_windows.c \ |
| 3112 | src/core/lib/iomgr/pollset_windows.c \ |
| 3113 | src/core/lib/iomgr/resolve_address_posix.c \ |
| 3114 | src/core/lib/iomgr/resolve_address_windows.c \ |
| 3115 | src/core/lib/iomgr/sockaddr_utils.c \ |
| 3116 | src/core/lib/iomgr/socket_utils_common_posix.c \ |
| 3117 | src/core/lib/iomgr/socket_utils_linux.c \ |
| 3118 | src/core/lib/iomgr/socket_utils_posix.c \ |
| 3119 | src/core/lib/iomgr/socket_windows.c \ |
| 3120 | src/core/lib/iomgr/tcp_client_posix.c \ |
| 3121 | src/core/lib/iomgr/tcp_client_windows.c \ |
| 3122 | src/core/lib/iomgr/tcp_posix.c \ |
| 3123 | src/core/lib/iomgr/tcp_server_posix.c \ |
| 3124 | src/core/lib/iomgr/tcp_server_windows.c \ |
| 3125 | src/core/lib/iomgr/tcp_windows.c \ |
| 3126 | src/core/lib/iomgr/time_averaged_stats.c \ |
| 3127 | src/core/lib/iomgr/timer.c \ |
| 3128 | src/core/lib/iomgr/timer_heap.c \ |
| 3129 | src/core/lib/iomgr/udp_server.c \ |
| 3130 | src/core/lib/iomgr/unix_sockets_posix.c \ |
| 3131 | src/core/lib/iomgr/unix_sockets_posix_noop.c \ |
| 3132 | src/core/lib/iomgr/wakeup_fd_eventfd.c \ |
| 3133 | src/core/lib/iomgr/wakeup_fd_nospecial.c \ |
| 3134 | src/core/lib/iomgr/wakeup_fd_pipe.c \ |
| 3135 | src/core/lib/iomgr/wakeup_fd_posix.c \ |
| 3136 | src/core/lib/iomgr/workqueue_posix.c \ |
| 3137 | src/core/lib/iomgr/workqueue_windows.c \ |
| 3138 | src/core/lib/json/json.c \ |
| 3139 | src/core/lib/json/json_reader.c \ |
| 3140 | src/core/lib/json/json_string.c \ |
| 3141 | src/core/lib/json/json_writer.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3142 | src/core/lib/surface/alarm.c \ |
| 3143 | src/core/lib/surface/api_trace.c \ |
| 3144 | src/core/lib/surface/byte_buffer.c \ |
| 3145 | src/core/lib/surface/byte_buffer_reader.c \ |
| 3146 | src/core/lib/surface/call.c \ |
| 3147 | src/core/lib/surface/call_details.c \ |
| 3148 | src/core/lib/surface/call_log_batch.c \ |
| 3149 | src/core/lib/surface/channel.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3150 | src/core/lib/surface/channel_init.c \ |
| 3151 | src/core/lib/surface/channel_ping.c \ |
| 3152 | src/core/lib/surface/channel_stack_type.c \ |
| 3153 | src/core/lib/surface/completion_queue.c \ |
| 3154 | src/core/lib/surface/event_string.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3155 | src/core/lib/surface/lame_client.c \ |
| 3156 | src/core/lib/surface/metadata_array.c \ |
| 3157 | src/core/lib/surface/server.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3158 | src/core/lib/surface/validate_metadata.c \ |
| 3159 | src/core/lib/surface/version.c \ |
| 3160 | src/core/lib/transport/byte_stream.c \ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 3161 | src/core/lib/transport/connectivity_state.c \ |
| 3162 | src/core/lib/transport/metadata.c \ |
| 3163 | src/core/lib/transport/metadata_batch.c \ |
| 3164 | src/core/lib/transport/static_metadata.c \ |
| 3165 | src/core/lib/transport/transport.c \ |
| 3166 | src/core/lib/transport/transport_op_string.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3167 | src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \ |
Adam Michalik | bf10c82 | 2016-05-20 16:13:32 -0700 | [diff] [blame] | 3168 | src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3169 | src/core/ext/transport/chttp2/transport/bin_encoder.c \ |
| 3170 | src/core/ext/transport/chttp2/transport/chttp2_plugin.c \ |
| 3171 | src/core/ext/transport/chttp2/transport/chttp2_transport.c \ |
| 3172 | src/core/ext/transport/chttp2/transport/frame_data.c \ |
| 3173 | src/core/ext/transport/chttp2/transport/frame_goaway.c \ |
| 3174 | src/core/ext/transport/chttp2/transport/frame_ping.c \ |
| 3175 | src/core/ext/transport/chttp2/transport/frame_rst_stream.c \ |
| 3176 | src/core/ext/transport/chttp2/transport/frame_settings.c \ |
| 3177 | src/core/ext/transport/chttp2/transport/frame_window_update.c \ |
| 3178 | src/core/ext/transport/chttp2/transport/hpack_encoder.c \ |
| 3179 | src/core/ext/transport/chttp2/transport/hpack_parser.c \ |
| 3180 | src/core/ext/transport/chttp2/transport/hpack_table.c \ |
| 3181 | src/core/ext/transport/chttp2/transport/huffsyms.c \ |
| 3182 | src/core/ext/transport/chttp2/transport/incoming_metadata.c \ |
| 3183 | src/core/ext/transport/chttp2/transport/parsing.c \ |
| 3184 | src/core/ext/transport/chttp2/transport/status_conversion.c \ |
| 3185 | src/core/ext/transport/chttp2/transport/stream_lists.c \ |
| 3186 | src/core/ext/transport/chttp2/transport/stream_map.c \ |
| 3187 | src/core/ext/transport/chttp2/transport/timeout_encoding.c \ |
| 3188 | src/core/ext/transport/chttp2/transport/varint.c \ |
| 3189 | src/core/ext/transport/chttp2/transport/writing.c \ |
| 3190 | src/core/ext/transport/chttp2/alpn/alpn.c \ |
| 3191 | src/core/ext/transport/chttp2/client/insecure/channel_create.c \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 3192 | src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3193 | src/core/ext/client_config/channel_connectivity.c \ |
| 3194 | src/core/ext/client_config/client_channel.c \ |
| 3195 | src/core/ext/client_config/client_channel_factory.c \ |
| 3196 | src/core/ext/client_config/client_config.c \ |
| 3197 | src/core/ext/client_config/client_config_plugin.c \ |
| 3198 | src/core/ext/client_config/connector.c \ |
| 3199 | src/core/ext/client_config/default_initial_connect_string.c \ |
| 3200 | src/core/ext/client_config/initial_connect_string.c \ |
| 3201 | src/core/ext/client_config/lb_policy.c \ |
| 3202 | src/core/ext/client_config/lb_policy_factory.c \ |
| 3203 | src/core/ext/client_config/lb_policy_registry.c \ |
David Garcia Quintas | 9885bff | 2016-04-07 17:31:29 -0700 | [diff] [blame] | 3204 | src/core/ext/client_config/parse_address.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3205 | src/core/ext/client_config/resolver.c \ |
| 3206 | src/core/ext/client_config/resolver_factory.c \ |
| 3207 | src/core/ext/client_config/resolver_registry.c \ |
| 3208 | src/core/ext/client_config/subchannel.c \ |
| 3209 | src/core/ext/client_config/subchannel_call_holder.c \ |
| 3210 | src/core/ext/client_config/subchannel_index.c \ |
| 3211 | src/core/ext/client_config/uri_parser.c \ |
| 3212 | src/core/ext/resolver/dns/native/dns_resolver.c \ |
| 3213 | src/core/ext/resolver/sockaddr/sockaddr_resolver.c \ |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 3214 | src/core/ext/load_reporting/load_reporting.c \ |
| 3215 | src/core/ext/load_reporting/load_reporting_filter.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3216 | src/core/ext/lb_policy/grpclb/load_balancer_api.c \ |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 3217 | 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] | 3218 | third_party/nanopb/pb_common.c \ |
| 3219 | third_party/nanopb/pb_decode.c \ |
| 3220 | third_party/nanopb/pb_encode.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3221 | src/core/ext/lb_policy/pick_first/pick_first.c \ |
| 3222 | src/core/ext/lb_policy/round_robin/round_robin.c \ |
| 3223 | src/core/ext/census/context.c \ |
Alistair Veitch | 30fe632 | 2016-05-23 10:11:28 -0700 | [diff] [blame] | 3224 | src/core/ext/census/gen/census.pb.c \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3225 | src/core/ext/census/grpc_context.c \ |
| 3226 | src/core/ext/census/grpc_filter.c \ |
| 3227 | src/core/ext/census/grpc_plugin.c \ |
| 3228 | src/core/ext/census/initialize.c \ |
| 3229 | src/core/ext/census/mlog.c \ |
| 3230 | src/core/ext/census/operation.c \ |
| 3231 | src/core/ext/census/placeholders.c \ |
| 3232 | src/core/ext/census/tracing.c \ |
| 3233 | src/core/plugin_registry/grpc_unsecure_plugin_registry.c \ |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3234 | |
| 3235 | PUBLIC_HEADERS_C += \ |
| 3236 | include/grpc/byte_buffer.h \ |
| 3237 | include/grpc/byte_buffer_reader.h \ |
David Garcia Quintas | 59f905d | 2015-06-08 16:31:19 -0700 | [diff] [blame] | 3238 | include/grpc/compression.h \ |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3239 | include/grpc/grpc.h \ |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 3240 | include/grpc/grpc_posix.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3241 | include/grpc/status.h \ |
Craig Tiller | ad09598 | 2016-02-09 12:45:04 -0800 | [diff] [blame] | 3242 | include/grpc/impl/codegen/byte_buffer.h \ |
David Garcia Quintas | 1b2db63 | 2016-04-27 15:06:54 -0700 | [diff] [blame] | 3243 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
Craig Tiller | ad09598 | 2016-02-09 12:45:04 -0800 | [diff] [blame] | 3244 | include/grpc/impl/codegen/compression_types.h \ |
| 3245 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3246 | include/grpc/impl/codegen/grpc_types.h \ |
| 3247 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3248 | include/grpc/impl/codegen/status.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3249 | include/grpc/impl/codegen/alloc.h \ |
| 3250 | include/grpc/impl/codegen/atm.h \ |
| 3251 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3252 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3253 | include/grpc/impl/codegen/atm_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3254 | include/grpc/impl/codegen/log.h \ |
| 3255 | include/grpc/impl/codegen/port_platform.h \ |
| 3256 | include/grpc/impl/codegen/slice.h \ |
| 3257 | include/grpc/impl/codegen/slice_buffer.h \ |
| 3258 | include/grpc/impl/codegen/sync.h \ |
| 3259 | include/grpc/impl/codegen/sync_generic.h \ |
| 3260 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3261 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3262 | include/grpc/impl/codegen/time.h \ |
| 3263 | include/grpc/census.h \ |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3264 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3265 | LIBGRPC_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_UNSECURE_SRC)))) |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3266 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3267 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3268 | $(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] | 3269 | $(E) "[AR] Creating $@" |
| 3270 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3271 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3272 | $(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] | 3273 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3274 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_unsecure.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3275 | endif |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3276 | |
| 3277 | |
| 3278 | |
| 3279 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3280 | $(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] | 3281 | $(E) "[LD] Linking $@" |
| 3282 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3283 | $(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] | 3284 | else |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3285 | $(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] | 3286 | $(E) "[LD] Linking $@" |
| 3287 | $(Q) mkdir -p `dirname $@` |
| 3288 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3289 | $(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] | 3290 | else |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3291 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.0 -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_UNSECURE_OBJS) $(LDLIBS) $(LIBDIR)/$(CONFIG)/libgpr.a $(ZLIB_MERGE_LIBS) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3292 | $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION).so.0 |
| 3293 | $(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] | 3294 | endif |
| 3295 | endif |
| 3296 | |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3297 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 3298 | -include $(LIBGRPC_UNSECURE_OBJS:.o=.dep) |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3299 | endif |
| 3300 | |
nnoble | c87b1c5 | 2015-01-05 17:15:18 -0800 | [diff] [blame] | 3301 | |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3302 | LIBGRPC_ZOOKEEPER_SRC = \ |
Craig Tiller | b11b34a | 2016-04-01 12:30:06 -0700 | [diff] [blame] | 3303 | src/core/ext/resolver/zookeeper/zookeeper_resolver.c \ |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3304 | |
Hongwei Wang | a3780a8 | 2015-07-17 15:27:18 -0700 | [diff] [blame] | 3305 | PUBLIC_HEADERS_C += \ |
| 3306 | include/grpc/grpc_zookeeper.h \ |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3307 | |
| 3308 | LIBGRPC_ZOOKEEPER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_ZOOKEEPER_SRC)))) |
| 3309 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3310 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3311 | $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.a: $(ZLIB_DEP) $(LIBGRPC_ZOOKEEPER_OBJS) |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3312 | $(E) "[AR] Creating $@" |
| 3313 | $(Q) mkdir -p `dirname $@` |
| 3314 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3315 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.a $(LIBGRPC_ZOOKEEPER_OBJS) |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3316 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3317 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.a |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3318 | endif |
| 3319 | |
| 3320 | |
| 3321 | |
| 3322 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3323 | $(LIBDIR)/$(CONFIG)/grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_ZOOKEEPER_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/gpr.$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/grpc.$(SHARED_EXT) |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3324 | $(E) "[LD] Linking $@" |
| 3325 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3326 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared grpc_zookeeper.def -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_zookeeper$(SHARED_VERSION).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_zookeeper$(SHARED_VERSION)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_ZOOKEEPER_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) -lgpr-imp -lgrpc-imp |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3327 | else |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3328 | $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT): $(LIBGRPC_ZOOKEEPER_OBJS) $(ZLIB_DEP) $(LIBDIR)/$(CONFIG)/libgpr.$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc.$(SHARED_EXT) |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3329 | $(E) "[LD] Linking $@" |
| 3330 | $(Q) mkdir -p `dirname $@` |
| 3331 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3332 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_ZOOKEEPER_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) -lgpr -lgrpc -lzookeeper_mt |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3333 | else |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 3334 | $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_zookeeper.so.0 -o $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC_ZOOKEEPER_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) -lgpr -lgrpc -lzookeeper_mt |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3335 | $(Q) ln -sf $(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper$(SHARED_VERSION).so.0 |
| 3336 | $(Q) ln -sf $(SHARED_PREFIX)grpc_zookeeper$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper$(SHARED_VERSION).so |
Hongwei Wang | da8858f | 2015-07-16 16:18:19 -0700 | [diff] [blame] | 3337 | endif |
| 3338 | endif |
| 3339 | |
| 3340 | ifneq ($(NO_DEPS),true) |
| 3341 | -include $(LIBGRPC_ZOOKEEPER_OBJS:.o=.dep) |
| 3342 | endif |
| 3343 | |
| 3344 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3345 | LIBRECONNECT_SERVER_SRC = \ |
| 3346 | test/core/util/reconnect_server.c \ |
| 3347 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3348 | PUBLIC_HEADERS_C += \ |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3349 | |
| 3350 | LIBRECONNECT_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBRECONNECT_SERVER_SRC)))) |
| 3351 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3352 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3353 | ifeq ($(NO_SECURE),true) |
| 3354 | |
| 3355 | # You can't build secure libraries if you don't have OpenSSL. |
| 3356 | |
| 3357 | $(LIBDIR)/$(CONFIG)/libreconnect_server.a: openssl_dep_error |
| 3358 | |
| 3359 | |
| 3360 | else |
| 3361 | |
| 3362 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3363 | $(LIBDIR)/$(CONFIG)/libreconnect_server.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBRECONNECT_SERVER_OBJS) |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3364 | $(E) "[AR] Creating $@" |
| 3365 | $(Q) mkdir -p `dirname $@` |
| 3366 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libreconnect_server.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3367 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libreconnect_server.a $(LIBRECONNECT_SERVER_OBJS) |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3368 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3369 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libreconnect_server.a |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 3370 | endif |
| 3371 | |
| 3372 | |
| 3373 | |
| 3374 | |
| 3375 | endif |
| 3376 | |
| 3377 | ifneq ($(NO_SECURE),true) |
| 3378 | ifneq ($(NO_DEPS),true) |
| 3379 | -include $(LIBRECONNECT_SERVER_OBJS:.o=.dep) |
| 3380 | endif |
| 3381 | endif |
| 3382 | |
| 3383 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3384 | LIBTEST_TCP_SERVER_SRC = \ |
| 3385 | test/core/util/test_tcp_server.c \ |
| 3386 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3387 | PUBLIC_HEADERS_C += \ |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3388 | |
| 3389 | LIBTEST_TCP_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBTEST_TCP_SERVER_SRC)))) |
| 3390 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3391 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3392 | ifeq ($(NO_SECURE),true) |
| 3393 | |
| 3394 | # You can't build secure libraries if you don't have OpenSSL. |
| 3395 | |
| 3396 | $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a: openssl_dep_error |
| 3397 | |
| 3398 | |
| 3399 | else |
| 3400 | |
| 3401 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3402 | $(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] | 3403 | $(E) "[AR] Creating $@" |
| 3404 | $(Q) mkdir -p `dirname $@` |
| 3405 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3406 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libtest_tcp_server.a $(LIBTEST_TCP_SERVER_OBJS) |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 3407 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3408 | $(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] | 3409 | endif |
| 3410 | |
| 3411 | |
| 3412 | |
| 3413 | |
| 3414 | endif |
| 3415 | |
| 3416 | ifneq ($(NO_SECURE),true) |
| 3417 | ifneq ($(NO_DEPS),true) |
| 3418 | -include $(LIBTEST_TCP_SERVER_OBJS:.o=.dep) |
| 3419 | endif |
| 3420 | endif |
| 3421 | |
| 3422 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3423 | LIBGRPC++_SRC = \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3424 | src/cpp/client/secure_credentials.cc \ |
| 3425 | src/cpp/common/auth_property_iterator.cc \ |
| 3426 | src/cpp/common/secure_auth_context.cc \ |
| 3427 | src/cpp/common/secure_channel_arguments.cc \ |
| 3428 | src/cpp/common/secure_create_auth_context.cc \ |
| 3429 | src/cpp/server/secure_server_credentials.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3430 | src/cpp/client/channel.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3431 | src/cpp/client/client_context.cc \ |
| 3432 | src/cpp/client/create_channel.cc \ |
yang-g | c317f07 | 2015-08-20 12:18:08 -0700 | [diff] [blame] | 3433 | src/cpp/client/create_channel_internal.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame^] | 3434 | src/cpp/client/create_channel_posix.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3435 | src/cpp/client/credentials.cc \ |
Yang Gao | 75e2f6d | 2015-03-19 07:04:38 -0700 | [diff] [blame] | 3436 | src/cpp/client/generic_stub.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3437 | src/cpp/client/insecure_credentials.cc \ |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 3438 | src/cpp/common/channel_arguments.cc \ |
Craig Tiller | f834bdc | 2015-02-06 16:36:05 -0800 | [diff] [blame] | 3439 | src/cpp/common/completion_queue.cc \ |
Nicolas "Pixel" Noble | 4268318 | 2016-03-17 00:25:39 +0100 | [diff] [blame] | 3440 | src/cpp/common/core_codegen.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3441 | src/cpp/common/rpc_method.cc \ |
Yang Gao | 4999649 | 2015-03-12 16:40:19 -0700 | [diff] [blame] | 3442 | src/cpp/server/async_generic_service.cc \ |
Yang Gao | 6f4fb3b | 2015-06-03 12:56:19 -0700 | [diff] [blame] | 3443 | src/cpp/server/create_default_thread_pool.cc \ |
vjpai | b28456b | 2015-07-23 14:17:10 -0700 | [diff] [blame] | 3444 | src/cpp/server/dynamic_thread_pool.cc \ |
Craig Tiller | 42bc87c | 2015-02-23 08:50:19 -0800 | [diff] [blame] | 3445 | src/cpp/server/insecure_server_credentials.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3446 | src/cpp/server/server.cc \ |
| 3447 | src/cpp/server/server_builder.cc \ |
Craig Tiller | c416577 | 2015-02-11 10:51:04 -0800 | [diff] [blame] | 3448 | src/cpp/server/server_context.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3449 | src/cpp/server/server_credentials.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame^] | 3450 | src/cpp/server/server_posix.cc \ |
Yang Gao | 1c40233 | 2015-03-05 16:39:25 -0800 | [diff] [blame] | 3451 | src/cpp/util/byte_buffer.cc \ |
Yang Gao | 61c4131 | 2015-03-10 12:42:18 -0700 | [diff] [blame] | 3452 | src/cpp/util/slice.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3453 | src/cpp/util/status.cc \ |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 3454 | src/cpp/util/string_ref.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3455 | src/cpp/util/time.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3456 | src/cpp/codegen/codegen_init.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3457 | |
| 3458 | PUBLIC_HEADERS_CXX += \ |
vjpai | f9f61cf | 2016-02-10 20:51:53 -0800 | [diff] [blame] | 3459 | include/grpc++/alarm.h \ |
yang-g | 8c2be9f | 2015-08-19 16:28:09 -0700 | [diff] [blame] | 3460 | include/grpc++/channel.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3461 | include/grpc++/client_context.h \ |
| 3462 | include/grpc++/completion_queue.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3463 | include/grpc++/create_channel.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame^] | 3464 | include/grpc++/create_channel_posix.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3465 | include/grpc++/generic/async_generic_service.h \ |
| 3466 | include/grpc++/generic/generic_stub.h \ |
Craig Tiller | d136a5c | 2015-09-11 12:23:32 -0700 | [diff] [blame] | 3467 | include/grpc++/grpc++.h \ |
Craig Tiller | 20f4af2 | 2015-02-10 09:52:15 -0800 | [diff] [blame] | 3468 | include/grpc++/impl/call.h \ |
Craig Tiller | 80e00a8 | 2015-02-09 20:54:25 -0800 | [diff] [blame] | 3469 | include/grpc++/impl/client_unary_call.h \ |
Yang Gao | 96de484 | 2015-04-24 13:13:12 -0700 | [diff] [blame] | 3470 | include/grpc++/impl/grpc_library.h \ |
yang-g | 77c6333 | 2016-01-14 16:09:04 -0800 | [diff] [blame] | 3471 | include/grpc++/impl/method_handler_impl.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3472 | include/grpc++/impl/rpc_method.h \ |
| 3473 | include/grpc++/impl/rpc_service_method.h \ |
Craig Tiller | 6ef7f31 | 2015-06-05 10:15:10 -0700 | [diff] [blame] | 3474 | include/grpc++/impl/serialization_traits.h \ |
yang-g | a23f17b | 2015-11-25 10:21:05 -0800 | [diff] [blame] | 3475 | include/grpc++/impl/server_builder_option.h \ |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 3476 | include/grpc++/impl/server_builder_plugin.h \ |
| 3477 | include/grpc++/impl/server_initializer.h \ |
Yang Gao | 1a98696 | 2015-02-19 12:40:46 -0800 | [diff] [blame] | 3478 | include/grpc++/impl/service_type.h \ |
Yang Gao | fa4549d | 2015-04-10 13:12:09 -0700 | [diff] [blame] | 3479 | include/grpc++/impl/sync.h \ |
| 3480 | include/grpc++/impl/sync_cxx11.h \ |
| 3481 | include/grpc++/impl/sync_no_cxx11.h \ |
| 3482 | include/grpc++/impl/thd.h \ |
| 3483 | include/grpc++/impl/thd_cxx11.h \ |
| 3484 | include/grpc++/impl/thd_no_cxx11.h \ |
Julien Boeuf | 0d47192 | 2015-08-30 22:18:50 -0700 | [diff] [blame] | 3485 | include/grpc++/security/auth_context.h \ |
| 3486 | include/grpc++/security/auth_metadata_processor.h \ |
| 3487 | include/grpc++/security/credentials.h \ |
| 3488 | include/grpc++/security/server_credentials.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3489 | include/grpc++/server.h \ |
| 3490 | include/grpc++/server_builder.h \ |
| 3491 | include/grpc++/server_context.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame^] | 3492 | include/grpc++/server_posix.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 3493 | include/grpc++/support/async_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3494 | include/grpc++/support/async_unary_call.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3495 | include/grpc++/support/byte_buffer.h \ |
| 3496 | include/grpc++/support/channel_arguments.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3497 | include/grpc++/support/config.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3498 | include/grpc++/support/slice.h \ |
| 3499 | include/grpc++/support/status.h \ |
| 3500 | include/grpc++/support/status_code_enum.h \ |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 3501 | include/grpc++/support/string_ref.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3502 | include/grpc++/support/stub_options.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 3503 | include/grpc++/support/sync_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3504 | include/grpc++/support/time.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3505 | include/grpc++/impl/codegen/async_stream.h \ |
| 3506 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 3507 | include/grpc++/impl/codegen/call.h \ |
| 3508 | include/grpc++/impl/codegen/call_hook.h \ |
| 3509 | include/grpc++/impl/codegen/channel_interface.h \ |
| 3510 | include/grpc++/impl/codegen/client_context.h \ |
| 3511 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 3512 | include/grpc++/impl/codegen/completion_queue.h \ |
| 3513 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3514 | include/grpc++/impl/codegen/config.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3515 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 3516 | include/grpc++/impl/codegen/create_auth_context.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3517 | include/grpc++/impl/codegen/grpc_library.h \ |
| 3518 | include/grpc++/impl/codegen/method_handler_impl.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3519 | include/grpc++/impl/codegen/rpc_method.h \ |
| 3520 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 3521 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 3522 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 3523 | include/grpc++/impl/codegen/server_context.h \ |
| 3524 | include/grpc++/impl/codegen/server_interface.h \ |
| 3525 | include/grpc++/impl/codegen/service_type.h \ |
| 3526 | include/grpc++/impl/codegen/status.h \ |
| 3527 | include/grpc++/impl/codegen/status_code_enum.h \ |
| 3528 | include/grpc++/impl/codegen/string_ref.h \ |
| 3529 | include/grpc++/impl/codegen/stub_options.h \ |
| 3530 | include/grpc++/impl/codegen/sync.h \ |
| 3531 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 3532 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 3533 | include/grpc++/impl/codegen/sync_stream.h \ |
| 3534 | include/grpc++/impl/codegen/time.h \ |
| 3535 | include/grpc/impl/codegen/byte_buffer.h \ |
David Garcia Quintas | 1b2db63 | 2016-04-27 15:06:54 -0700 | [diff] [blame] | 3536 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3537 | include/grpc/impl/codegen/compression_types.h \ |
| 3538 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3539 | include/grpc/impl/codegen/grpc_types.h \ |
| 3540 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3541 | include/grpc/impl/codegen/status.h \ |
| 3542 | include/grpc/impl/codegen/alloc.h \ |
| 3543 | include/grpc/impl/codegen/atm.h \ |
| 3544 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3545 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3546 | include/grpc/impl/codegen/atm_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3547 | include/grpc/impl/codegen/log.h \ |
| 3548 | include/grpc/impl/codegen/port_platform.h \ |
| 3549 | include/grpc/impl/codegen/slice.h \ |
| 3550 | include/grpc/impl/codegen/slice_buffer.h \ |
| 3551 | include/grpc/impl/codegen/sync.h \ |
| 3552 | include/grpc/impl/codegen/sync_generic.h \ |
| 3553 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3554 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3555 | include/grpc/impl/codegen/time.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3556 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3557 | LIBGRPC++_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3558 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3559 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3560 | ifeq ($(NO_SECURE),true) |
| 3561 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 3562 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3563 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3564 | $(LIBDIR)/$(CONFIG)/libgrpc++.a: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3565 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3566 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT): openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3567 | |
| 3568 | else |
| 3569 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3570 | ifeq ($(NO_PROTOBUF),true) |
| 3571 | |
| 3572 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3573 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3574 | $(LIBDIR)/$(CONFIG)/libgrpc++.a: protobuf_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3575 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3576 | $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT): protobuf_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3577 | |
| 3578 | else |
| 3579 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3580 | $(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] | 3581 | $(E) "[AR] Creating $@" |
| 3582 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3583 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++.a |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3584 | $(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] | 3585 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3586 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++.a |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3587 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3588 | |
| 3589 | |
| 3590 | |
| 3591 | ifeq ($(SYSTEM),MINGW32) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3592 | $(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] | 3593 | $(E) "[LD] Linking $@" |
| 3594 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3595 | $(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] | 3596 | else |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3597 | $(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] | 3598 | $(E) "[LD] Linking $@" |
| 3599 | $(Q) mkdir -p `dirname $@` |
| 3600 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3601 | $(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] | 3602 | else |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3603 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc++.so.0 -o $(LIBDIR)/$(CONFIG)/libgrpc++$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgrpc |
| 3604 | $(Q) ln -sf $(SHARED_PREFIX)grpc++$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc++$(SHARED_VERSION).so.0 |
| 3605 | $(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] | 3606 | endif |
| 3607 | endif |
| 3608 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3609 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3610 | |
| 3611 | endif |
| 3612 | |
| 3613 | ifneq ($(NO_SECURE),true) |
| 3614 | ifneq ($(NO_DEPS),true) |
| 3615 | -include $(LIBGRPC++_OBJS:.o=.dep) |
| 3616 | endif |
| 3617 | endif |
| 3618 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3619 | |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3620 | LIBGRPC++_TEST_CONFIG_SRC = \ |
| 3621 | test/cpp/util/test_config.cc \ |
| 3622 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3623 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3624 | |
| 3625 | LIBGRPC++_TEST_CONFIG_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_TEST_CONFIG_SRC)))) |
| 3626 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3627 | |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3628 | ifeq ($(NO_SECURE),true) |
| 3629 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 3630 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3631 | |
| 3632 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a: openssl_dep_error |
| 3633 | |
| 3634 | |
| 3635 | else |
| 3636 | |
| 3637 | ifeq ($(NO_PROTOBUF),true) |
| 3638 | |
| 3639 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3640 | |
| 3641 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a: protobuf_dep_error |
| 3642 | |
| 3643 | |
| 3644 | else |
| 3645 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3646 | $(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] | 3647 | $(E) "[AR] Creating $@" |
| 3648 | $(Q) mkdir -p `dirname $@` |
| 3649 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3650 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc++_test_config.a $(LIBGRPC++_TEST_CONFIG_OBJS) |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3651 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3652 | $(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] | 3653 | endif |
| 3654 | |
| 3655 | |
| 3656 | |
| 3657 | |
| 3658 | endif |
| 3659 | |
| 3660 | endif |
| 3661 | |
| 3662 | ifneq ($(NO_SECURE),true) |
| 3663 | ifneq ($(NO_DEPS),true) |
| 3664 | -include $(LIBGRPC++_TEST_CONFIG_OBJS:.o=.dep) |
| 3665 | endif |
| 3666 | endif |
| 3667 | |
Yang Gao | 103837e | 2015-04-15 15:23:54 -0700 | [diff] [blame] | 3668 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3669 | LIBGRPC++_TEST_UTIL_SRC = \ |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3670 | $(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] | 3671 | $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc \ |
| 3672 | $(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] | 3673 | test/cpp/end2end/test_service_impl.cc \ |
yang-g | 9f17314 | 2016-01-15 12:46:40 -0800 | [diff] [blame] | 3674 | test/cpp/util/byte_buffer_proto_helper.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3675 | test/cpp/util/create_test_channel.cc \ |
yang-g | e21908f | 2015-08-25 13:47:51 -0700 | [diff] [blame] | 3676 | test/cpp/util/string_ref_helper.cc \ |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 3677 | test/cpp/util/subprocess.cc \ |
yang-g | 7d2a3e1 | 2016-02-18 15:41:56 -0800 | [diff] [blame] | 3678 | test/cpp/util/test_credentials_provider.cc \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3679 | src/cpp/codegen/codegen_init.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3680 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 3681 | PUBLIC_HEADERS_CXX += \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3682 | include/grpc++/impl/codegen/async_stream.h \ |
| 3683 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 3684 | include/grpc++/impl/codegen/call.h \ |
| 3685 | include/grpc++/impl/codegen/call_hook.h \ |
| 3686 | include/grpc++/impl/codegen/channel_interface.h \ |
| 3687 | include/grpc++/impl/codegen/client_context.h \ |
| 3688 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 3689 | include/grpc++/impl/codegen/completion_queue.h \ |
| 3690 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
| 3691 | include/grpc++/impl/codegen/config.h \ |
| 3692 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
| 3693 | include/grpc++/impl/codegen/create_auth_context.h \ |
| 3694 | include/grpc++/impl/codegen/grpc_library.h \ |
| 3695 | include/grpc++/impl/codegen/method_handler_impl.h \ |
| 3696 | include/grpc++/impl/codegen/rpc_method.h \ |
| 3697 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 3698 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 3699 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 3700 | include/grpc++/impl/codegen/server_context.h \ |
| 3701 | include/grpc++/impl/codegen/server_interface.h \ |
| 3702 | include/grpc++/impl/codegen/service_type.h \ |
| 3703 | include/grpc++/impl/codegen/status.h \ |
| 3704 | include/grpc++/impl/codegen/status_code_enum.h \ |
| 3705 | include/grpc++/impl/codegen/string_ref.h \ |
| 3706 | include/grpc++/impl/codegen/stub_options.h \ |
| 3707 | include/grpc++/impl/codegen/sync.h \ |
| 3708 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 3709 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 3710 | include/grpc++/impl/codegen/sync_stream.h \ |
| 3711 | include/grpc++/impl/codegen/time.h \ |
| 3712 | include/grpc/impl/codegen/byte_buffer.h \ |
| 3713 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
| 3714 | include/grpc/impl/codegen/compression_types.h \ |
| 3715 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3716 | include/grpc/impl/codegen/grpc_types.h \ |
| 3717 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3718 | include/grpc/impl/codegen/status.h \ |
| 3719 | include/grpc/impl/codegen/alloc.h \ |
| 3720 | include/grpc/impl/codegen/atm.h \ |
| 3721 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3722 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
yang-g | aaee544 | 2016-06-03 15:34:01 -0700 | [diff] [blame] | 3723 | include/grpc/impl/codegen/atm_windows.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3724 | include/grpc/impl/codegen/log.h \ |
| 3725 | include/grpc/impl/codegen/port_platform.h \ |
| 3726 | include/grpc/impl/codegen/slice.h \ |
| 3727 | include/grpc/impl/codegen/slice_buffer.h \ |
| 3728 | include/grpc/impl/codegen/sync.h \ |
| 3729 | include/grpc/impl/codegen/sync_generic.h \ |
| 3730 | include/grpc/impl/codegen/sync_posix.h \ |
yang-g | aaee544 | 2016-06-03 15:34:01 -0700 | [diff] [blame] | 3731 | include/grpc/impl/codegen/sync_windows.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3732 | include/grpc/impl/codegen/time.h \ |
| 3733 | include/grpc++/impl/codegen/proto_utils.h \ |
| 3734 | include/grpc++/impl/codegen/config_protobuf.h \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3735 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3736 | 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] | 3737 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3738 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3739 | ifeq ($(NO_SECURE),true) |
| 3740 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 3741 | # You can't build secure libraries if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3742 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3743 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3744 | |
| 3745 | |
| 3746 | else |
| 3747 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3748 | ifeq ($(NO_PROTOBUF),true) |
| 3749 | |
| 3750 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3751 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3752 | $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a: protobuf_dep_error |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3753 | |
| 3754 | |
| 3755 | else |
| 3756 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3757 | $(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] | 3758 | $(E) "[AR] Creating $@" |
| 3759 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 3760 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 3761 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBGRPC++_TEST_UTIL_OBJS) |
Craig Tiller | b4ee3b5 | 2015-01-21 16:22:50 -0800 | [diff] [blame] | 3762 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3763 | $(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] | 3764 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3765 | |
| 3766 | |
| 3767 | |
| 3768 | |
Nicolas Noble | 5383062 | 2015-02-12 16:56:38 -0800 | [diff] [blame] | 3769 | endif |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 3770 | |
| 3771 | endif |
| 3772 | |
| 3773 | ifneq ($(NO_SECURE),true) |
| 3774 | ifneq ($(NO_DEPS),true) |
| 3775 | -include $(LIBGRPC++_TEST_UTIL_OBJS:.o=.dep) |
| 3776 | endif |
| 3777 | endif |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3778 | $(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 |
| 3779 | $(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] | 3780 | $(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 |
| 3781 | $(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 |
| 3782 | $(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 |
| 3783 | $(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] | 3784 | $(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] | 3785 | |
| 3786 | |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3787 | LIBGRPC++_UNSECURE_SRC = \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3788 | src/cpp/common/insecure_create_auth_context.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3789 | src/cpp/client/channel.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3790 | src/cpp/client/client_context.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3791 | src/cpp/client/create_channel.cc \ |
yang-g | c317f07 | 2015-08-20 12:18:08 -0700 | [diff] [blame] | 3792 | src/cpp/client/create_channel_internal.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame^] | 3793 | src/cpp/client/create_channel_posix.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3794 | src/cpp/client/credentials.cc \ |
Yang Gao | 75e2f6d | 2015-03-19 07:04:38 -0700 | [diff] [blame] | 3795 | src/cpp/client/generic_stub.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3796 | src/cpp/client/insecure_credentials.cc \ |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 3797 | src/cpp/common/channel_arguments.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3798 | src/cpp/common/completion_queue.cc \ |
Nicolas "Pixel" Noble | 4268318 | 2016-03-17 00:25:39 +0100 | [diff] [blame] | 3799 | src/cpp/common/core_codegen.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3800 | src/cpp/common/rpc_method.cc \ |
Yang Gao | 4999649 | 2015-03-12 16:40:19 -0700 | [diff] [blame] | 3801 | src/cpp/server/async_generic_service.cc \ |
Yang Gao | 6f4fb3b | 2015-06-03 12:56:19 -0700 | [diff] [blame] | 3802 | src/cpp/server/create_default_thread_pool.cc \ |
vjpai | b28456b | 2015-07-23 14:17:10 -0700 | [diff] [blame] | 3803 | src/cpp/server/dynamic_thread_pool.cc \ |
Craig Tiller | 42bc87c | 2015-02-23 08:50:19 -0800 | [diff] [blame] | 3804 | src/cpp/server/insecure_server_credentials.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3805 | src/cpp/server/server.cc \ |
| 3806 | src/cpp/server/server_builder.cc \ |
| 3807 | src/cpp/server/server_context.cc \ |
| 3808 | src/cpp/server/server_credentials.cc \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame^] | 3809 | src/cpp/server/server_posix.cc \ |
Yang Gao | fccea1f | 2015-03-10 13:17:39 -0700 | [diff] [blame] | 3810 | src/cpp/util/byte_buffer.cc \ |
| 3811 | src/cpp/util/slice.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3812 | src/cpp/util/status.cc \ |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 3813 | src/cpp/util/string_ref.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3814 | src/cpp/util/time.cc \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3815 | src/cpp/codegen/codegen_init.cc \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3816 | |
| 3817 | PUBLIC_HEADERS_CXX += \ |
vjpai | f9f61cf | 2016-02-10 20:51:53 -0800 | [diff] [blame] | 3818 | include/grpc++/alarm.h \ |
yang-g | 8c2be9f | 2015-08-19 16:28:09 -0700 | [diff] [blame] | 3819 | include/grpc++/channel.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3820 | include/grpc++/client_context.h \ |
| 3821 | include/grpc++/completion_queue.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3822 | include/grpc++/create_channel.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame^] | 3823 | include/grpc++/create_channel_posix.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3824 | include/grpc++/generic/async_generic_service.h \ |
| 3825 | include/grpc++/generic/generic_stub.h \ |
Craig Tiller | d136a5c | 2015-09-11 12:23:32 -0700 | [diff] [blame] | 3826 | include/grpc++/grpc++.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3827 | include/grpc++/impl/call.h \ |
| 3828 | include/grpc++/impl/client_unary_call.h \ |
Yang Gao | 96de484 | 2015-04-24 13:13:12 -0700 | [diff] [blame] | 3829 | include/grpc++/impl/grpc_library.h \ |
yang-g | 77c6333 | 2016-01-14 16:09:04 -0800 | [diff] [blame] | 3830 | include/grpc++/impl/method_handler_impl.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3831 | include/grpc++/impl/rpc_method.h \ |
| 3832 | include/grpc++/impl/rpc_service_method.h \ |
Craig Tiller | 6ef7f31 | 2015-06-05 10:15:10 -0700 | [diff] [blame] | 3833 | include/grpc++/impl/serialization_traits.h \ |
yang-g | a23f17b | 2015-11-25 10:21:05 -0800 | [diff] [blame] | 3834 | include/grpc++/impl/server_builder_option.h \ |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 3835 | include/grpc++/impl/server_builder_plugin.h \ |
| 3836 | include/grpc++/impl/server_initializer.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3837 | include/grpc++/impl/service_type.h \ |
Yang Gao | fa4549d | 2015-04-10 13:12:09 -0700 | [diff] [blame] | 3838 | include/grpc++/impl/sync.h \ |
| 3839 | include/grpc++/impl/sync_cxx11.h \ |
| 3840 | include/grpc++/impl/sync_no_cxx11.h \ |
| 3841 | include/grpc++/impl/thd.h \ |
| 3842 | include/grpc++/impl/thd_cxx11.h \ |
| 3843 | include/grpc++/impl/thd_no_cxx11.h \ |
Julien Boeuf | 0d47192 | 2015-08-30 22:18:50 -0700 | [diff] [blame] | 3844 | include/grpc++/security/auth_context.h \ |
| 3845 | include/grpc++/security/auth_metadata_processor.h \ |
| 3846 | include/grpc++/security/credentials.h \ |
| 3847 | include/grpc++/security/server_credentials.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3848 | include/grpc++/server.h \ |
| 3849 | include/grpc++/server_builder.h \ |
| 3850 | include/grpc++/server_context.h \ |
Adam Michalik | b97e2d1 | 2016-06-02 12:12:55 -0700 | [diff] [blame^] | 3851 | include/grpc++/server_posix.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 3852 | include/grpc++/support/async_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3853 | include/grpc++/support/async_unary_call.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3854 | include/grpc++/support/byte_buffer.h \ |
| 3855 | include/grpc++/support/channel_arguments.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3856 | include/grpc++/support/config.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3857 | include/grpc++/support/slice.h \ |
| 3858 | include/grpc++/support/status.h \ |
| 3859 | include/grpc++/support/status_code_enum.h \ |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 3860 | include/grpc++/support/string_ref.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3861 | include/grpc++/support/stub_options.h \ |
yang-g | 9fb35a5 | 2015-08-21 15:49:35 -0700 | [diff] [blame] | 3862 | include/grpc++/support/sync_stream.h \ |
yang-g | 9e2f90c | 2015-08-21 15:35:03 -0700 | [diff] [blame] | 3863 | include/grpc++/support/time.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3864 | include/grpc++/impl/codegen/async_stream.h \ |
| 3865 | include/grpc++/impl/codegen/async_unary_call.h \ |
| 3866 | include/grpc++/impl/codegen/call.h \ |
| 3867 | include/grpc++/impl/codegen/call_hook.h \ |
| 3868 | include/grpc++/impl/codegen/channel_interface.h \ |
| 3869 | include/grpc++/impl/codegen/client_context.h \ |
| 3870 | include/grpc++/impl/codegen/client_unary_call.h \ |
| 3871 | include/grpc++/impl/codegen/completion_queue.h \ |
| 3872 | include/grpc++/impl/codegen/completion_queue_tag.h \ |
yang-g | 17487f9 | 2016-06-03 15:21:15 -0700 | [diff] [blame] | 3873 | include/grpc++/impl/codegen/config.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3874 | include/grpc++/impl/codegen/core_codegen_interface.h \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 3875 | include/grpc++/impl/codegen/create_auth_context.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3876 | include/grpc++/impl/codegen/grpc_library.h \ |
| 3877 | include/grpc++/impl/codegen/method_handler_impl.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3878 | include/grpc++/impl/codegen/rpc_method.h \ |
| 3879 | include/grpc++/impl/codegen/rpc_service_method.h \ |
| 3880 | include/grpc++/impl/codegen/security/auth_context.h \ |
| 3881 | include/grpc++/impl/codegen/serialization_traits.h \ |
| 3882 | include/grpc++/impl/codegen/server_context.h \ |
| 3883 | include/grpc++/impl/codegen/server_interface.h \ |
| 3884 | include/grpc++/impl/codegen/service_type.h \ |
| 3885 | include/grpc++/impl/codegen/status.h \ |
| 3886 | include/grpc++/impl/codegen/status_code_enum.h \ |
| 3887 | include/grpc++/impl/codegen/string_ref.h \ |
| 3888 | include/grpc++/impl/codegen/stub_options.h \ |
| 3889 | include/grpc++/impl/codegen/sync.h \ |
| 3890 | include/grpc++/impl/codegen/sync_cxx11.h \ |
| 3891 | include/grpc++/impl/codegen/sync_no_cxx11.h \ |
| 3892 | include/grpc++/impl/codegen/sync_stream.h \ |
| 3893 | include/grpc++/impl/codegen/time.h \ |
| 3894 | include/grpc/impl/codegen/byte_buffer.h \ |
David Garcia Quintas | 1b2db63 | 2016-04-27 15:06:54 -0700 | [diff] [blame] | 3895 | include/grpc/impl/codegen/byte_buffer_reader.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3896 | include/grpc/impl/codegen/compression_types.h \ |
| 3897 | include/grpc/impl/codegen/connectivity_state.h \ |
| 3898 | include/grpc/impl/codegen/grpc_types.h \ |
| 3899 | include/grpc/impl/codegen/propagation_bits.h \ |
| 3900 | include/grpc/impl/codegen/status.h \ |
| 3901 | include/grpc/impl/codegen/alloc.h \ |
| 3902 | include/grpc/impl/codegen/atm.h \ |
| 3903 | include/grpc/impl/codegen/atm_gcc_atomic.h \ |
| 3904 | include/grpc/impl/codegen/atm_gcc_sync.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3905 | include/grpc/impl/codegen/atm_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3906 | include/grpc/impl/codegen/log.h \ |
| 3907 | include/grpc/impl/codegen/port_platform.h \ |
| 3908 | include/grpc/impl/codegen/slice.h \ |
| 3909 | include/grpc/impl/codegen/slice_buffer.h \ |
| 3910 | include/grpc/impl/codegen/sync.h \ |
| 3911 | include/grpc/impl/codegen/sync_generic.h \ |
| 3912 | include/grpc/impl/codegen/sync_posix.h \ |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 3913 | include/grpc/impl/codegen/sync_windows.h \ |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3914 | include/grpc/impl/codegen/time.h \ |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3915 | |
| 3916 | LIBGRPC++_UNSECURE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC++_UNSECURE_SRC)))) |
| 3917 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 3918 | |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3919 | ifeq ($(NO_PROTOBUF),true) |
| 3920 | |
| 3921 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 3922 | |
| 3923 | $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a: protobuf_dep_error |
| 3924 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3925 | $(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] | 3926 | |
| 3927 | else |
| 3928 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3929 | $(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] | 3930 | $(E) "[AR] Creating $@" |
| 3931 | $(Q) mkdir -p `dirname $@` |
| 3932 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 3933 | $(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] | 3934 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 3935 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure.a |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3936 | endif |
| 3937 | |
| 3938 | |
| 3939 | |
| 3940 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3941 | $(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] | 3942 | $(E) "[LD] Linking $@" |
| 3943 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3944 | $(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] | 3945 | else |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3946 | $(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] | 3947 | $(E) "[LD] Linking $@" |
| 3948 | $(Q) mkdir -p `dirname $@` |
| 3949 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3950 | $(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] | 3951 | else |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 3952 | $(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc++_unsecure.so.0 -o $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBGRPC++_UNSECURE_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS) $(LDLIBSXX) $(LDLIBS_PROTOBUF) -lgpr -lgrpc_unsecure -lgrpc |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 3953 | $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc++_unsecure$(SHARED_VERSION).so.0 |
| 3954 | $(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] | 3955 | endif |
| 3956 | endif |
| 3957 | |
| 3958 | endif |
| 3959 | |
| 3960 | ifneq ($(NO_DEPS),true) |
| 3961 | -include $(LIBGRPC++_UNSECURE_OBJS:.o=.dep) |
| 3962 | endif |
| 3963 | |
Craig Tiller | 47c83fd | 2015-02-21 22:45:35 -0800 | [diff] [blame] | 3964 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 3965 | LIBGRPC_CLI_LIBS_SRC = \ |
| 3966 | test/cpp/util/cli_call.cc \ |
| 3967 | test/cpp/util/proto_file_parser.cc \ |
| 3968 | |
| 3969 | PUBLIC_HEADERS_CXX += \ |
| 3970 | |
| 3971 | LIBGRPC_CLI_LIBS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_CLI_LIBS_SRC)))) |
| 3972 | |
| 3973 | |
| 3974 | ifeq ($(NO_SECURE),true) |
| 3975 | |
| 3976 | # You can't build secure libraries if you don't have OpenSSL. |
| 3977 | |
| 3978 | $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a: openssl_dep_error |
| 3979 | |
| 3980 | |
| 3981 | else |
| 3982 | |
| 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_cli_libs.a: protobuf_dep_error |
| 3988 | |
| 3989 | |
| 3990 | else |
| 3991 | |
| 3992 | $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBGRPC_CLI_LIBS_OBJS) |
| 3993 | $(E) "[AR] Creating $@" |
| 3994 | $(Q) mkdir -p `dirname $@` |
| 3995 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a |
| 3996 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a $(LIBGRPC_CLI_LIBS_OBJS) |
| 3997 | ifeq ($(SYSTEM),Darwin) |
| 3998 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_cli_libs.a |
| 3999 | endif |
| 4000 | |
| 4001 | |
| 4002 | |
| 4003 | |
| 4004 | endif |
| 4005 | |
| 4006 | endif |
| 4007 | |
| 4008 | ifneq ($(NO_SECURE),true) |
| 4009 | ifneq ($(NO_DEPS),true) |
| 4010 | -include $(LIBGRPC_CLI_LIBS_OBJS:.o=.dep) |
| 4011 | endif |
| 4012 | endif |
| 4013 | |
| 4014 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4015 | LIBGRPC_PLUGIN_SUPPORT_SRC = \ |
| 4016 | src/compiler/cpp_generator.cc \ |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 4017 | src/compiler/csharp_generator.cc \ |
murgatroid99 | e264e39 | 2016-04-19 10:56:01 -0700 | [diff] [blame] | 4018 | src/compiler/node_generator.cc \ |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 4019 | src/compiler/objective_c_generator.cc \ |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4020 | src/compiler/python_generator.cc \ |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4021 | src/compiler/ruby_generator.cc \ |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4022 | |
David Garcia Quintas | ddcb53a | 2016-01-21 17:48:34 -0800 | [diff] [blame] | 4023 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 4024 | include/grpc++/impl/codegen/config_protobuf.h \ |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4025 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4026 | 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] | 4027 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4028 | |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4029 | ifeq ($(NO_PROTOBUF),true) |
| 4030 | |
| 4031 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4032 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4033 | $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: protobuf_dep_error |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4034 | |
| 4035 | |
| 4036 | else |
| 4037 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4038 | $(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] | 4039 | $(E) "[AR] Creating $@" |
| 4040 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4041 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4042 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(LIBGRPC_PLUGIN_SUPPORT_OBJS) |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4043 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4044 | $(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] | 4045 | endif |
| 4046 | |
| 4047 | |
| 4048 | |
| 4049 | |
| 4050 | endif |
| 4051 | |
| 4052 | ifneq ($(NO_DEPS),true) |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 4053 | -include $(LIBGRPC_PLUGIN_SUPPORT_OBJS:.o=.dep) |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4054 | endif |
| 4055 | |
Masood Malekghassemi | 3bb5215 | 2015-03-17 21:52:52 -0700 | [diff] [blame] | 4056 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4057 | LIBINTEROP_CLIENT_HELPER_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4058 | $(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] | 4059 | test/cpp/interop/client_helper.cc \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4060 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4061 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4062 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4063 | 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] | 4064 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4065 | |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4066 | ifeq ($(NO_SECURE),true) |
| 4067 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4068 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4069 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4070 | $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a: openssl_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4071 | |
| 4072 | |
| 4073 | else |
| 4074 | |
| 4075 | ifeq ($(NO_PROTOBUF),true) |
| 4076 | |
| 4077 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4078 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4079 | $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a: protobuf_dep_error |
| 4080 | |
| 4081 | |
| 4082 | else |
| 4083 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4084 | $(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] | 4085 | $(E) "[AR] Creating $@" |
| 4086 | $(Q) mkdir -p `dirname $@` |
| 4087 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4088 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libinterop_client_helper.a $(LIBINTEROP_CLIENT_HELPER_OBJS) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4089 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4090 | $(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] | 4091 | endif |
| 4092 | |
| 4093 | |
| 4094 | |
| 4095 | |
| 4096 | endif |
| 4097 | |
| 4098 | endif |
| 4099 | |
| 4100 | ifneq ($(NO_SECURE),true) |
| 4101 | ifneq ($(NO_DEPS),true) |
| 4102 | -include $(LIBINTEROP_CLIENT_HELPER_OBJS:.o=.dep) |
| 4103 | endif |
| 4104 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4105 | $(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] | 4106 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4107 | |
| 4108 | LIBINTEROP_CLIENT_MAIN_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4109 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 4110 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 4111 | $(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] | 4112 | test/cpp/interop/client.cc \ |
| 4113 | test/cpp/interop/interop_client.cc \ |
| 4114 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4115 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4116 | |
| 4117 | LIBINTEROP_CLIENT_MAIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBINTEROP_CLIENT_MAIN_SRC)))) |
| 4118 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4119 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4120 | ifeq ($(NO_SECURE),true) |
| 4121 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4122 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4123 | |
| 4124 | $(LIBDIR)/$(CONFIG)/libinterop_client_main.a: openssl_dep_error |
| 4125 | |
| 4126 | |
| 4127 | else |
| 4128 | |
| 4129 | ifeq ($(NO_PROTOBUF),true) |
| 4130 | |
| 4131 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4132 | |
| 4133 | $(LIBDIR)/$(CONFIG)/libinterop_client_main.a: protobuf_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4134 | |
| 4135 | |
| 4136 | else |
| 4137 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4138 | $(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] | 4139 | $(E) "[AR] Creating $@" |
| 4140 | $(Q) mkdir -p `dirname $@` |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4141 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_client_main.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4142 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libinterop_client_main.a $(LIBINTEROP_CLIENT_MAIN_OBJS) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4143 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4144 | $(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] | 4145 | endif |
| 4146 | |
| 4147 | |
| 4148 | |
| 4149 | |
| 4150 | endif |
| 4151 | |
| 4152 | endif |
| 4153 | |
| 4154 | ifneq ($(NO_SECURE),true) |
| 4155 | ifneq ($(NO_DEPS),true) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4156 | -include $(LIBINTEROP_CLIENT_MAIN_OBJS:.o=.dep) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4157 | endif |
| 4158 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4159 | $(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 |
| 4160 | $(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] | 4161 | |
| 4162 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4163 | LIBINTEROP_SERVER_HELPER_SRC = \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4164 | test/cpp/interop/server_helper.cc \ |
| 4165 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4166 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4167 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4168 | 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] | 4169 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4170 | |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4171 | ifeq ($(NO_SECURE),true) |
| 4172 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4173 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4174 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4175 | $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a: openssl_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4176 | |
| 4177 | |
| 4178 | else |
| 4179 | |
| 4180 | ifeq ($(NO_PROTOBUF),true) |
| 4181 | |
| 4182 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4183 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4184 | $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a: protobuf_dep_error |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4185 | |
| 4186 | |
| 4187 | else |
| 4188 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4189 | $(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] | 4190 | $(E) "[AR] Creating $@" |
| 4191 | $(Q) mkdir -p `dirname $@` |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4192 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4193 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libinterop_server_helper.a $(LIBINTEROP_SERVER_HELPER_OBJS) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4194 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4195 | $(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] | 4196 | endif |
| 4197 | |
| 4198 | |
| 4199 | |
| 4200 | |
| 4201 | endif |
| 4202 | |
| 4203 | endif |
| 4204 | |
| 4205 | ifneq ($(NO_SECURE),true) |
| 4206 | ifneq ($(NO_DEPS),true) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4207 | -include $(LIBINTEROP_SERVER_HELPER_OBJS:.o=.dep) |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4208 | endif |
| 4209 | endif |
| 4210 | |
Yang Gao | a400207 | 2015-04-09 23:25:21 -0700 | [diff] [blame] | 4211 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4212 | LIBINTEROP_SERVER_MAIN_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4213 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 4214 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 4215 | $(GENDIR)/src/proto/grpc/testing/test.pb.cc $(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 4216 | test/cpp/interop/server_main.cc \ |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4217 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4218 | PUBLIC_HEADERS_CXX += \ |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4219 | |
| 4220 | LIBINTEROP_SERVER_MAIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBINTEROP_SERVER_MAIN_SRC)))) |
| 4221 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4222 | |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4223 | ifeq ($(NO_SECURE),true) |
| 4224 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4225 | # You can't build secure libraries if you don't have OpenSSL. |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4226 | |
| 4227 | $(LIBDIR)/$(CONFIG)/libinterop_server_main.a: openssl_dep_error |
| 4228 | |
| 4229 | |
| 4230 | else |
| 4231 | |
| 4232 | ifeq ($(NO_PROTOBUF),true) |
| 4233 | |
| 4234 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4235 | |
| 4236 | $(LIBDIR)/$(CONFIG)/libinterop_server_main.a: protobuf_dep_error |
| 4237 | |
| 4238 | |
| 4239 | else |
| 4240 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4241 | $(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] | 4242 | $(E) "[AR] Creating $@" |
| 4243 | $(Q) mkdir -p `dirname $@` |
| 4244 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libinterop_server_main.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4245 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libinterop_server_main.a $(LIBINTEROP_SERVER_MAIN_OBJS) |
Yang Gao | b0b518e | 2015-04-13 14:53:25 -0700 | [diff] [blame] | 4246 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4247 | $(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] | 4248 | endif |
| 4249 | |
| 4250 | |
| 4251 | |
| 4252 | |
| 4253 | endif |
| 4254 | |
| 4255 | endif |
| 4256 | |
| 4257 | ifneq ($(NO_SECURE),true) |
| 4258 | ifneq ($(NO_DEPS),true) |
| 4259 | -include $(LIBINTEROP_SERVER_MAIN_OBJS:.o=.dep) |
| 4260 | endif |
| 4261 | endif |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 4262 | $(OBJDIR)/$(CONFIG)/test/cpp/interop/server_main.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] | 4263 | |
| 4264 | |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4265 | LIBQPS_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 4266 | $(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] | 4267 | $(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] | 4268 | $(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] | 4269 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc \ |
| 4270 | $(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] | 4271 | test/cpp/qps/client_async.cc \ |
| 4272 | test/cpp/qps/client_sync.cc \ |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4273 | test/cpp/qps/driver.cc \ |
vjpai | c803442 | 2016-01-19 15:32:42 -0800 | [diff] [blame] | 4274 | test/cpp/qps/limit_cores.cc \ |
Craig Tiller | e9a6eb7 | 2015-04-09 15:51:41 -0700 | [diff] [blame] | 4275 | test/cpp/qps/qps_worker.cc \ |
Craig Tiller | f75fc12 | 2015-06-25 06:58:00 -0700 | [diff] [blame] | 4276 | test/cpp/qps/report.cc \ |
Craig Tiller | e9a6eb7 | 2015-04-09 15:51:41 -0700 | [diff] [blame] | 4277 | test/cpp/qps/server_async.cc \ |
| 4278 | test/cpp/qps/server_sync.cc \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 4279 | test/cpp/qps/usage_timer.cc \ |
Craig Tiller | f75fc12 | 2015-06-25 06:58:00 -0700 | [diff] [blame] | 4280 | test/cpp/util/benchmark_config.cc \ |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4281 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4282 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4283 | |
| 4284 | LIBQPS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBQPS_SRC)))) |
| 4285 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4286 | |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [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. |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4290 | |
| 4291 | $(LIBDIR)/$(CONFIG)/libqps.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)/libqps.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)/libqps.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(PROTOBUF_DEP) $(LIBQPS_OBJS) |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [diff] [blame] | 4306 | $(E) "[AR] Creating $@" |
| 4307 | $(Q) mkdir -p `dirname $@` |
| 4308 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libqps.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4309 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libqps.a $(LIBQPS_OBJS) |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [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)/libqps.a |
Craig Tiller | e486019 | 2015-02-23 17:10:41 -0800 | [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 $(LIBQPS_OBJS:.o=.dep) |
| 4324 | endif |
| 4325 | endif |
vjpai | d8364f7 | 2016-05-31 12:54:04 -0700 | [diff] [blame] | 4326 | $(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 |
| 4327 | $(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 |
| 4328 | $(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 |
| 4329 | $(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 |
| 4330 | $(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 |
| 4331 | $(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 |
| 4332 | $(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 |
| 4333 | $(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 |
| 4334 | $(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 |
| 4335 | $(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] | 4336 | |
| 4337 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4338 | LIBGRPC_CSHARP_EXT_SRC = \ |
| 4339 | src/csharp/ext/grpc_csharp_ext.c \ |
| 4340 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4341 | PUBLIC_HEADERS_C += \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4342 | |
| 4343 | LIBGRPC_CSHARP_EXT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBGRPC_CSHARP_EXT_SRC)))) |
| 4344 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4345 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4346 | ifeq ($(NO_SECURE),true) |
| 4347 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 4348 | # 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] | 4349 | |
| 4350 | $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a: openssl_dep_error |
| 4351 | |
Nicolas "Pixel" Noble | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 4352 | $(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] | 4353 | |
| 4354 | else |
| 4355 | |
| 4356 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4357 | $(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] | 4358 | $(E) "[AR] Creating $@" |
| 4359 | $(Q) mkdir -p `dirname $@` |
| 4360 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4361 | $(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] | 4362 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4363 | $(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] | 4364 | endif |
| 4365 | |
| 4366 | |
| 4367 | |
| 4368 | ifeq ($(SYSTEM),MINGW32) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 4369 | $(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] | 4370 | $(E) "[LD] Linking $@" |
| 4371 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 4372 | $(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] | 4373 | else |
Craig Tiller | 08946be | 2016-02-09 12:33:43 -0800 | [diff] [blame] | 4374 | $(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] | 4375 | $(E) "[LD] Linking $@" |
| 4376 | $(Q) mkdir -p `dirname $@` |
| 4377 | ifeq ($(SYSTEM),Darwin) |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 4378 | $(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] | 4379 | else |
Craig Tiller | 4a67be4 | 2016-02-09 12:40:32 -0800 | [diff] [blame] | 4380 | $(Q) $(LD) $(LDFLAGS) $(if $(subst Linux,,$(SYSTEM)),,-Wl$(comma)-wrap$(comma)memcpy) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_csharp_ext.so.0 -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 | c4e57e3 | 2016-01-30 21:05:35 +0100 | [diff] [blame] | 4381 | $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION).$(SHARED_EXT) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION).so.0 |
| 4382 | $(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] | 4383 | endif |
| 4384 | endif |
| 4385 | |
| 4386 | endif |
| 4387 | |
| 4388 | ifneq ($(NO_SECURE),true) |
| 4389 | ifneq ($(NO_DEPS),true) |
| 4390 | -include $(LIBGRPC_CSHARP_EXT_OBJS:.o=.dep) |
| 4391 | endif |
| 4392 | endif |
| 4393 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 4394 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4395 | LIBBORINGSSL_SRC = \ |
| 4396 | src/boringssl/err_data.c \ |
| 4397 | third_party/boringssl/crypto/aes/aes.c \ |
| 4398 | third_party/boringssl/crypto/aes/mode_wrappers.c \ |
| 4399 | third_party/boringssl/crypto/asn1/a_bitstr.c \ |
| 4400 | third_party/boringssl/crypto/asn1/a_bool.c \ |
| 4401 | third_party/boringssl/crypto/asn1/a_bytes.c \ |
| 4402 | third_party/boringssl/crypto/asn1/a_d2i_fp.c \ |
| 4403 | third_party/boringssl/crypto/asn1/a_dup.c \ |
| 4404 | third_party/boringssl/crypto/asn1/a_enum.c \ |
| 4405 | third_party/boringssl/crypto/asn1/a_gentm.c \ |
| 4406 | third_party/boringssl/crypto/asn1/a_i2d_fp.c \ |
| 4407 | third_party/boringssl/crypto/asn1/a_int.c \ |
| 4408 | third_party/boringssl/crypto/asn1/a_mbstr.c \ |
| 4409 | third_party/boringssl/crypto/asn1/a_object.c \ |
| 4410 | third_party/boringssl/crypto/asn1/a_octet.c \ |
| 4411 | third_party/boringssl/crypto/asn1/a_print.c \ |
| 4412 | third_party/boringssl/crypto/asn1/a_strnid.c \ |
| 4413 | third_party/boringssl/crypto/asn1/a_time.c \ |
| 4414 | third_party/boringssl/crypto/asn1/a_type.c \ |
| 4415 | third_party/boringssl/crypto/asn1/a_utctm.c \ |
| 4416 | third_party/boringssl/crypto/asn1/a_utf8.c \ |
| 4417 | third_party/boringssl/crypto/asn1/asn1_lib.c \ |
| 4418 | third_party/boringssl/crypto/asn1/asn1_par.c \ |
| 4419 | third_party/boringssl/crypto/asn1/asn_pack.c \ |
| 4420 | third_party/boringssl/crypto/asn1/bio_asn1.c \ |
| 4421 | third_party/boringssl/crypto/asn1/bio_ndef.c \ |
| 4422 | third_party/boringssl/crypto/asn1/f_enum.c \ |
| 4423 | third_party/boringssl/crypto/asn1/f_int.c \ |
| 4424 | third_party/boringssl/crypto/asn1/f_string.c \ |
| 4425 | third_party/boringssl/crypto/asn1/t_bitst.c \ |
| 4426 | third_party/boringssl/crypto/asn1/t_pkey.c \ |
| 4427 | third_party/boringssl/crypto/asn1/tasn_dec.c \ |
| 4428 | third_party/boringssl/crypto/asn1/tasn_enc.c \ |
| 4429 | third_party/boringssl/crypto/asn1/tasn_fre.c \ |
| 4430 | third_party/boringssl/crypto/asn1/tasn_new.c \ |
| 4431 | third_party/boringssl/crypto/asn1/tasn_prn.c \ |
| 4432 | third_party/boringssl/crypto/asn1/tasn_typ.c \ |
| 4433 | third_party/boringssl/crypto/asn1/tasn_utl.c \ |
| 4434 | third_party/boringssl/crypto/asn1/x_bignum.c \ |
| 4435 | third_party/boringssl/crypto/asn1/x_long.c \ |
| 4436 | third_party/boringssl/crypto/base64/base64.c \ |
| 4437 | third_party/boringssl/crypto/bio/bio.c \ |
| 4438 | third_party/boringssl/crypto/bio/bio_mem.c \ |
| 4439 | third_party/boringssl/crypto/bio/buffer.c \ |
| 4440 | third_party/boringssl/crypto/bio/connect.c \ |
| 4441 | third_party/boringssl/crypto/bio/fd.c \ |
| 4442 | third_party/boringssl/crypto/bio/file.c \ |
| 4443 | third_party/boringssl/crypto/bio/hexdump.c \ |
| 4444 | third_party/boringssl/crypto/bio/pair.c \ |
| 4445 | third_party/boringssl/crypto/bio/printf.c \ |
| 4446 | third_party/boringssl/crypto/bio/socket.c \ |
| 4447 | third_party/boringssl/crypto/bio/socket_helper.c \ |
| 4448 | third_party/boringssl/crypto/bn/add.c \ |
| 4449 | third_party/boringssl/crypto/bn/asm/x86_64-gcc.c \ |
| 4450 | third_party/boringssl/crypto/bn/bn.c \ |
| 4451 | third_party/boringssl/crypto/bn/bn_asn1.c \ |
| 4452 | third_party/boringssl/crypto/bn/cmp.c \ |
| 4453 | third_party/boringssl/crypto/bn/convert.c \ |
| 4454 | third_party/boringssl/crypto/bn/ctx.c \ |
| 4455 | third_party/boringssl/crypto/bn/div.c \ |
| 4456 | third_party/boringssl/crypto/bn/exponentiation.c \ |
| 4457 | third_party/boringssl/crypto/bn/gcd.c \ |
| 4458 | third_party/boringssl/crypto/bn/generic.c \ |
| 4459 | third_party/boringssl/crypto/bn/kronecker.c \ |
| 4460 | third_party/boringssl/crypto/bn/montgomery.c \ |
| 4461 | third_party/boringssl/crypto/bn/mul.c \ |
| 4462 | third_party/boringssl/crypto/bn/prime.c \ |
| 4463 | third_party/boringssl/crypto/bn/random.c \ |
| 4464 | third_party/boringssl/crypto/bn/rsaz_exp.c \ |
| 4465 | third_party/boringssl/crypto/bn/shift.c \ |
| 4466 | third_party/boringssl/crypto/bn/sqrt.c \ |
| 4467 | third_party/boringssl/crypto/buf/buf.c \ |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 4468 | third_party/boringssl/crypto/bytestring/asn1_compat.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4469 | third_party/boringssl/crypto/bytestring/ber.c \ |
| 4470 | third_party/boringssl/crypto/bytestring/cbb.c \ |
| 4471 | third_party/boringssl/crypto/bytestring/cbs.c \ |
| 4472 | third_party/boringssl/crypto/chacha/chacha_generic.c \ |
| 4473 | third_party/boringssl/crypto/chacha/chacha_vec.c \ |
| 4474 | third_party/boringssl/crypto/cipher/aead.c \ |
| 4475 | third_party/boringssl/crypto/cipher/cipher.c \ |
| 4476 | third_party/boringssl/crypto/cipher/derive_key.c \ |
| 4477 | third_party/boringssl/crypto/cipher/e_aes.c \ |
| 4478 | third_party/boringssl/crypto/cipher/e_chacha20poly1305.c \ |
| 4479 | third_party/boringssl/crypto/cipher/e_des.c \ |
| 4480 | third_party/boringssl/crypto/cipher/e_null.c \ |
| 4481 | third_party/boringssl/crypto/cipher/e_rc2.c \ |
| 4482 | third_party/boringssl/crypto/cipher/e_rc4.c \ |
| 4483 | third_party/boringssl/crypto/cipher/e_ssl3.c \ |
| 4484 | third_party/boringssl/crypto/cipher/e_tls.c \ |
| 4485 | third_party/boringssl/crypto/cipher/tls_cbc.c \ |
| 4486 | third_party/boringssl/crypto/cmac/cmac.c \ |
| 4487 | third_party/boringssl/crypto/conf/conf.c \ |
| 4488 | third_party/boringssl/crypto/cpu-arm.c \ |
| 4489 | third_party/boringssl/crypto/cpu-intel.c \ |
| 4490 | third_party/boringssl/crypto/crypto.c \ |
| 4491 | third_party/boringssl/crypto/curve25519/curve25519.c \ |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 4492 | third_party/boringssl/crypto/curve25519/x25519-x86_64.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4493 | third_party/boringssl/crypto/des/des.c \ |
| 4494 | third_party/boringssl/crypto/dh/check.c \ |
| 4495 | third_party/boringssl/crypto/dh/dh.c \ |
| 4496 | third_party/boringssl/crypto/dh/dh_asn1.c \ |
| 4497 | third_party/boringssl/crypto/dh/params.c \ |
| 4498 | third_party/boringssl/crypto/digest/digest.c \ |
| 4499 | third_party/boringssl/crypto/digest/digests.c \ |
| 4500 | third_party/boringssl/crypto/directory_posix.c \ |
| 4501 | third_party/boringssl/crypto/directory_win.c \ |
| 4502 | third_party/boringssl/crypto/dsa/dsa.c \ |
| 4503 | third_party/boringssl/crypto/dsa/dsa_asn1.c \ |
| 4504 | third_party/boringssl/crypto/ec/ec.c \ |
| 4505 | third_party/boringssl/crypto/ec/ec_asn1.c \ |
| 4506 | third_party/boringssl/crypto/ec/ec_key.c \ |
| 4507 | third_party/boringssl/crypto/ec/ec_montgomery.c \ |
| 4508 | third_party/boringssl/crypto/ec/oct.c \ |
| 4509 | third_party/boringssl/crypto/ec/p224-64.c \ |
| 4510 | third_party/boringssl/crypto/ec/p256-64.c \ |
| 4511 | third_party/boringssl/crypto/ec/p256-x86_64.c \ |
| 4512 | third_party/boringssl/crypto/ec/simple.c \ |
| 4513 | third_party/boringssl/crypto/ec/util-64.c \ |
| 4514 | third_party/boringssl/crypto/ec/wnaf.c \ |
| 4515 | third_party/boringssl/crypto/ecdh/ecdh.c \ |
| 4516 | third_party/boringssl/crypto/ecdsa/ecdsa.c \ |
| 4517 | third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c \ |
| 4518 | third_party/boringssl/crypto/engine/engine.c \ |
| 4519 | third_party/boringssl/crypto/err/err.c \ |
| 4520 | third_party/boringssl/crypto/evp/algorithm.c \ |
| 4521 | third_party/boringssl/crypto/evp/digestsign.c \ |
| 4522 | third_party/boringssl/crypto/evp/evp.c \ |
| 4523 | third_party/boringssl/crypto/evp/evp_asn1.c \ |
| 4524 | third_party/boringssl/crypto/evp/evp_ctx.c \ |
| 4525 | third_party/boringssl/crypto/evp/p_dsa_asn1.c \ |
| 4526 | third_party/boringssl/crypto/evp/p_ec.c \ |
| 4527 | third_party/boringssl/crypto/evp/p_ec_asn1.c \ |
| 4528 | third_party/boringssl/crypto/evp/p_rsa.c \ |
| 4529 | third_party/boringssl/crypto/evp/p_rsa_asn1.c \ |
| 4530 | third_party/boringssl/crypto/evp/pbkdf.c \ |
| 4531 | third_party/boringssl/crypto/evp/sign.c \ |
| 4532 | third_party/boringssl/crypto/ex_data.c \ |
| 4533 | third_party/boringssl/crypto/hkdf/hkdf.c \ |
| 4534 | third_party/boringssl/crypto/hmac/hmac.c \ |
| 4535 | third_party/boringssl/crypto/lhash/lhash.c \ |
| 4536 | third_party/boringssl/crypto/md4/md4.c \ |
| 4537 | third_party/boringssl/crypto/md5/md5.c \ |
| 4538 | third_party/boringssl/crypto/mem.c \ |
| 4539 | third_party/boringssl/crypto/modes/cbc.c \ |
| 4540 | third_party/boringssl/crypto/modes/cfb.c \ |
| 4541 | third_party/boringssl/crypto/modes/ctr.c \ |
| 4542 | third_party/boringssl/crypto/modes/gcm.c \ |
| 4543 | third_party/boringssl/crypto/modes/ofb.c \ |
| 4544 | third_party/boringssl/crypto/obj/obj.c \ |
| 4545 | third_party/boringssl/crypto/obj/obj_xref.c \ |
| 4546 | third_party/boringssl/crypto/pem/pem_all.c \ |
| 4547 | third_party/boringssl/crypto/pem/pem_info.c \ |
| 4548 | third_party/boringssl/crypto/pem/pem_lib.c \ |
| 4549 | third_party/boringssl/crypto/pem/pem_oth.c \ |
| 4550 | third_party/boringssl/crypto/pem/pem_pk8.c \ |
| 4551 | third_party/boringssl/crypto/pem/pem_pkey.c \ |
| 4552 | third_party/boringssl/crypto/pem/pem_x509.c \ |
| 4553 | third_party/boringssl/crypto/pem/pem_xaux.c \ |
| 4554 | third_party/boringssl/crypto/pkcs8/p5_pbe.c \ |
| 4555 | third_party/boringssl/crypto/pkcs8/p5_pbev2.c \ |
| 4556 | third_party/boringssl/crypto/pkcs8/p8_pkey.c \ |
| 4557 | third_party/boringssl/crypto/pkcs8/pkcs8.c \ |
| 4558 | third_party/boringssl/crypto/poly1305/poly1305.c \ |
| 4559 | third_party/boringssl/crypto/poly1305/poly1305_arm.c \ |
| 4560 | third_party/boringssl/crypto/poly1305/poly1305_vec.c \ |
| 4561 | third_party/boringssl/crypto/rand/rand.c \ |
| 4562 | third_party/boringssl/crypto/rand/urandom.c \ |
| 4563 | third_party/boringssl/crypto/rand/windows.c \ |
| 4564 | third_party/boringssl/crypto/rc4/rc4.c \ |
| 4565 | third_party/boringssl/crypto/refcount_c11.c \ |
| 4566 | third_party/boringssl/crypto/refcount_lock.c \ |
| 4567 | third_party/boringssl/crypto/rsa/blinding.c \ |
| 4568 | third_party/boringssl/crypto/rsa/padding.c \ |
| 4569 | third_party/boringssl/crypto/rsa/rsa.c \ |
| 4570 | third_party/boringssl/crypto/rsa/rsa_asn1.c \ |
| 4571 | third_party/boringssl/crypto/rsa/rsa_impl.c \ |
| 4572 | third_party/boringssl/crypto/sha/sha1.c \ |
| 4573 | third_party/boringssl/crypto/sha/sha256.c \ |
| 4574 | third_party/boringssl/crypto/sha/sha512.c \ |
| 4575 | third_party/boringssl/crypto/stack/stack.c \ |
| 4576 | third_party/boringssl/crypto/thread.c \ |
| 4577 | third_party/boringssl/crypto/thread_none.c \ |
| 4578 | third_party/boringssl/crypto/thread_pthread.c \ |
| 4579 | third_party/boringssl/crypto/thread_win.c \ |
| 4580 | third_party/boringssl/crypto/time_support.c \ |
| 4581 | third_party/boringssl/crypto/x509/a_digest.c \ |
| 4582 | third_party/boringssl/crypto/x509/a_sign.c \ |
| 4583 | third_party/boringssl/crypto/x509/a_strex.c \ |
| 4584 | third_party/boringssl/crypto/x509/a_verify.c \ |
| 4585 | third_party/boringssl/crypto/x509/asn1_gen.c \ |
| 4586 | third_party/boringssl/crypto/x509/by_dir.c \ |
| 4587 | third_party/boringssl/crypto/x509/by_file.c \ |
| 4588 | third_party/boringssl/crypto/x509/i2d_pr.c \ |
| 4589 | third_party/boringssl/crypto/x509/pkcs7.c \ |
| 4590 | third_party/boringssl/crypto/x509/t_crl.c \ |
| 4591 | third_party/boringssl/crypto/x509/t_req.c \ |
| 4592 | third_party/boringssl/crypto/x509/t_x509.c \ |
| 4593 | third_party/boringssl/crypto/x509/t_x509a.c \ |
| 4594 | third_party/boringssl/crypto/x509/x509.c \ |
| 4595 | third_party/boringssl/crypto/x509/x509_att.c \ |
| 4596 | third_party/boringssl/crypto/x509/x509_cmp.c \ |
| 4597 | third_party/boringssl/crypto/x509/x509_d2.c \ |
| 4598 | third_party/boringssl/crypto/x509/x509_def.c \ |
| 4599 | third_party/boringssl/crypto/x509/x509_ext.c \ |
| 4600 | third_party/boringssl/crypto/x509/x509_lu.c \ |
| 4601 | third_party/boringssl/crypto/x509/x509_obj.c \ |
| 4602 | third_party/boringssl/crypto/x509/x509_r2x.c \ |
| 4603 | third_party/boringssl/crypto/x509/x509_req.c \ |
| 4604 | third_party/boringssl/crypto/x509/x509_set.c \ |
| 4605 | third_party/boringssl/crypto/x509/x509_trs.c \ |
| 4606 | third_party/boringssl/crypto/x509/x509_txt.c \ |
| 4607 | third_party/boringssl/crypto/x509/x509_v3.c \ |
| 4608 | third_party/boringssl/crypto/x509/x509_vfy.c \ |
| 4609 | third_party/boringssl/crypto/x509/x509_vpm.c \ |
| 4610 | third_party/boringssl/crypto/x509/x509cset.c \ |
| 4611 | third_party/boringssl/crypto/x509/x509name.c \ |
| 4612 | third_party/boringssl/crypto/x509/x509rset.c \ |
| 4613 | third_party/boringssl/crypto/x509/x509spki.c \ |
| 4614 | third_party/boringssl/crypto/x509/x509type.c \ |
| 4615 | third_party/boringssl/crypto/x509/x_algor.c \ |
| 4616 | third_party/boringssl/crypto/x509/x_all.c \ |
| 4617 | third_party/boringssl/crypto/x509/x_attrib.c \ |
| 4618 | third_party/boringssl/crypto/x509/x_crl.c \ |
| 4619 | third_party/boringssl/crypto/x509/x_exten.c \ |
| 4620 | third_party/boringssl/crypto/x509/x_info.c \ |
| 4621 | third_party/boringssl/crypto/x509/x_name.c \ |
| 4622 | third_party/boringssl/crypto/x509/x_pkey.c \ |
| 4623 | third_party/boringssl/crypto/x509/x_pubkey.c \ |
| 4624 | third_party/boringssl/crypto/x509/x_req.c \ |
| 4625 | third_party/boringssl/crypto/x509/x_sig.c \ |
| 4626 | third_party/boringssl/crypto/x509/x_spki.c \ |
| 4627 | third_party/boringssl/crypto/x509/x_val.c \ |
| 4628 | third_party/boringssl/crypto/x509/x_x509.c \ |
| 4629 | third_party/boringssl/crypto/x509/x_x509a.c \ |
| 4630 | third_party/boringssl/crypto/x509v3/pcy_cache.c \ |
| 4631 | third_party/boringssl/crypto/x509v3/pcy_data.c \ |
| 4632 | third_party/boringssl/crypto/x509v3/pcy_lib.c \ |
| 4633 | third_party/boringssl/crypto/x509v3/pcy_map.c \ |
| 4634 | third_party/boringssl/crypto/x509v3/pcy_node.c \ |
| 4635 | third_party/boringssl/crypto/x509v3/pcy_tree.c \ |
| 4636 | third_party/boringssl/crypto/x509v3/v3_akey.c \ |
| 4637 | third_party/boringssl/crypto/x509v3/v3_akeya.c \ |
| 4638 | third_party/boringssl/crypto/x509v3/v3_alt.c \ |
| 4639 | third_party/boringssl/crypto/x509v3/v3_bcons.c \ |
| 4640 | third_party/boringssl/crypto/x509v3/v3_bitst.c \ |
| 4641 | third_party/boringssl/crypto/x509v3/v3_conf.c \ |
| 4642 | third_party/boringssl/crypto/x509v3/v3_cpols.c \ |
| 4643 | third_party/boringssl/crypto/x509v3/v3_crld.c \ |
| 4644 | third_party/boringssl/crypto/x509v3/v3_enum.c \ |
| 4645 | third_party/boringssl/crypto/x509v3/v3_extku.c \ |
| 4646 | third_party/boringssl/crypto/x509v3/v3_genn.c \ |
| 4647 | third_party/boringssl/crypto/x509v3/v3_ia5.c \ |
| 4648 | third_party/boringssl/crypto/x509v3/v3_info.c \ |
| 4649 | third_party/boringssl/crypto/x509v3/v3_int.c \ |
| 4650 | third_party/boringssl/crypto/x509v3/v3_lib.c \ |
| 4651 | third_party/boringssl/crypto/x509v3/v3_ncons.c \ |
| 4652 | third_party/boringssl/crypto/x509v3/v3_pci.c \ |
| 4653 | third_party/boringssl/crypto/x509v3/v3_pcia.c \ |
| 4654 | third_party/boringssl/crypto/x509v3/v3_pcons.c \ |
| 4655 | third_party/boringssl/crypto/x509v3/v3_pku.c \ |
| 4656 | third_party/boringssl/crypto/x509v3/v3_pmaps.c \ |
| 4657 | third_party/boringssl/crypto/x509v3/v3_prn.c \ |
| 4658 | third_party/boringssl/crypto/x509v3/v3_purp.c \ |
| 4659 | third_party/boringssl/crypto/x509v3/v3_skey.c \ |
| 4660 | third_party/boringssl/crypto/x509v3/v3_sxnet.c \ |
| 4661 | third_party/boringssl/crypto/x509v3/v3_utl.c \ |
| 4662 | third_party/boringssl/ssl/custom_extensions.c \ |
| 4663 | third_party/boringssl/ssl/d1_both.c \ |
| 4664 | third_party/boringssl/ssl/d1_clnt.c \ |
| 4665 | third_party/boringssl/ssl/d1_lib.c \ |
| 4666 | third_party/boringssl/ssl/d1_meth.c \ |
| 4667 | third_party/boringssl/ssl/d1_pkt.c \ |
| 4668 | third_party/boringssl/ssl/d1_srtp.c \ |
| 4669 | third_party/boringssl/ssl/d1_srvr.c \ |
| 4670 | third_party/boringssl/ssl/dtls_record.c \ |
| 4671 | third_party/boringssl/ssl/pqueue/pqueue.c \ |
| 4672 | third_party/boringssl/ssl/s3_both.c \ |
| 4673 | third_party/boringssl/ssl/s3_clnt.c \ |
| 4674 | third_party/boringssl/ssl/s3_enc.c \ |
| 4675 | third_party/boringssl/ssl/s3_lib.c \ |
| 4676 | third_party/boringssl/ssl/s3_meth.c \ |
| 4677 | third_party/boringssl/ssl/s3_pkt.c \ |
| 4678 | third_party/boringssl/ssl/s3_srvr.c \ |
| 4679 | third_party/boringssl/ssl/ssl_aead_ctx.c \ |
| 4680 | third_party/boringssl/ssl/ssl_asn1.c \ |
| 4681 | third_party/boringssl/ssl/ssl_buffer.c \ |
| 4682 | third_party/boringssl/ssl/ssl_cert.c \ |
| 4683 | third_party/boringssl/ssl/ssl_cipher.c \ |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 4684 | third_party/boringssl/ssl/ssl_ecdh.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4685 | third_party/boringssl/ssl/ssl_file.c \ |
| 4686 | third_party/boringssl/ssl/ssl_lib.c \ |
| 4687 | third_party/boringssl/ssl/ssl_rsa.c \ |
| 4688 | third_party/boringssl/ssl/ssl_session.c \ |
| 4689 | third_party/boringssl/ssl/ssl_stat.c \ |
| 4690 | third_party/boringssl/ssl/t1_enc.c \ |
| 4691 | third_party/boringssl/ssl/t1_lib.c \ |
| 4692 | third_party/boringssl/ssl/tls_record.c \ |
| 4693 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4694 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4695 | |
| 4696 | LIBBORINGSSL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_SRC)))) |
| 4697 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4698 | $(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] | 4699 | $(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] | 4700 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4701 | $(LIBDIR)/$(CONFIG)/libboringssl.a: $(ZLIB_DEP) $(LIBBORINGSSL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4702 | $(E) "[AR] Creating $@" |
| 4703 | $(Q) mkdir -p `dirname $@` |
| 4704 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4705 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl.a $(LIBBORINGSSL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4706 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4707 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl.a |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4708 | endif |
| 4709 | |
| 4710 | |
| 4711 | |
| 4712 | |
| 4713 | ifneq ($(NO_DEPS),true) |
| 4714 | -include $(LIBBORINGSSL_OBJS:.o=.dep) |
| 4715 | endif |
| 4716 | |
| 4717 | |
| 4718 | LIBBORINGSSL_TEST_UTIL_SRC = \ |
| 4719 | third_party/boringssl/crypto/test/file_test.cc \ |
| 4720 | third_party/boringssl/crypto/test/malloc.cc \ |
| 4721 | third_party/boringssl/crypto/test/test_util.cc \ |
| 4722 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4723 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4724 | |
| 4725 | LIBBORINGSSL_TEST_UTIL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_TEST_UTIL_SRC)))) |
| 4726 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4727 | $(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] | 4728 | $(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] | 4729 | |
| 4730 | ifeq ($(NO_PROTOBUF),true) |
| 4731 | |
| 4732 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4733 | |
| 4734 | $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a: protobuf_dep_error |
| 4735 | |
| 4736 | |
| 4737 | else |
| 4738 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4739 | $(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] | 4740 | $(E) "[AR] Creating $@" |
| 4741 | $(Q) mkdir -p `dirname $@` |
| 4742 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4743 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBBORINGSSL_TEST_UTIL_OBJS) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4744 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4745 | $(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] | 4746 | endif |
| 4747 | |
| 4748 | |
| 4749 | |
| 4750 | |
| 4751 | endif |
| 4752 | |
| 4753 | ifneq ($(NO_DEPS),true) |
| 4754 | -include $(LIBBORINGSSL_TEST_UTIL_OBJS:.o=.dep) |
| 4755 | endif |
| 4756 | |
| 4757 | |
| 4758 | LIBBORINGSSL_AES_TEST_LIB_SRC = \ |
| 4759 | third_party/boringssl/crypto/aes/aes_test.cc \ |
| 4760 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4761 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4762 | |
| 4763 | LIBBORINGSSL_AES_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_AES_TEST_LIB_SRC)))) |
| 4764 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4765 | $(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] | 4766 | $(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] | 4767 | |
| 4768 | ifeq ($(NO_PROTOBUF),true) |
| 4769 | |
| 4770 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4771 | |
| 4772 | $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a: protobuf_dep_error |
| 4773 | |
| 4774 | |
| 4775 | else |
| 4776 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4777 | $(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] | 4778 | $(E) "[AR] Creating $@" |
| 4779 | $(Q) mkdir -p `dirname $@` |
| 4780 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_aes_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4781 | $(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] | 4782 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4783 | $(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] | 4784 | endif |
| 4785 | |
| 4786 | |
| 4787 | |
| 4788 | |
| 4789 | endif |
| 4790 | |
| 4791 | ifneq ($(NO_DEPS),true) |
| 4792 | -include $(LIBBORINGSSL_AES_TEST_LIB_OBJS:.o=.dep) |
| 4793 | endif |
| 4794 | |
| 4795 | |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 4796 | LIBBORINGSSL_ASN1_TEST_LIB_SRC = \ |
| 4797 | third_party/boringssl/crypto/asn1/asn1_test.cc \ |
| 4798 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4799 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 3d62fc6 | 2016-03-15 09:57:26 -0700 | [diff] [blame] | 4800 | |
| 4801 | LIBBORINGSSL_ASN1_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ASN1_TEST_LIB_SRC)))) |
| 4802 | |
| 4803 | $(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] | 4804 | $(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] | 4805 | |
| 4806 | ifeq ($(NO_PROTOBUF),true) |
| 4807 | |
| 4808 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4809 | |
| 4810 | $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a: protobuf_dep_error |
| 4811 | |
| 4812 | |
| 4813 | else |
| 4814 | |
| 4815 | $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS) |
| 4816 | $(E) "[AR] Creating $@" |
| 4817 | $(Q) mkdir -p `dirname $@` |
| 4818 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a |
| 4819 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS) |
| 4820 | ifeq ($(SYSTEM),Darwin) |
| 4821 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a |
| 4822 | endif |
| 4823 | |
| 4824 | |
| 4825 | |
| 4826 | |
| 4827 | endif |
| 4828 | |
| 4829 | ifneq ($(NO_DEPS),true) |
| 4830 | -include $(LIBBORINGSSL_ASN1_TEST_LIB_OBJS:.o=.dep) |
| 4831 | endif |
| 4832 | |
| 4833 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4834 | LIBBORINGSSL_BASE64_TEST_LIB_SRC = \ |
| 4835 | third_party/boringssl/crypto/base64/base64_test.cc \ |
| 4836 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4837 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4838 | |
| 4839 | LIBBORINGSSL_BASE64_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BASE64_TEST_LIB_SRC)))) |
| 4840 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4841 | $(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] | 4842 | $(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] | 4843 | |
| 4844 | ifeq ($(NO_PROTOBUF),true) |
| 4845 | |
| 4846 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4847 | |
| 4848 | $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a: protobuf_dep_error |
| 4849 | |
| 4850 | |
| 4851 | else |
| 4852 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4853 | $(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] | 4854 | $(E) "[AR] Creating $@" |
| 4855 | $(Q) mkdir -p `dirname $@` |
| 4856 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_base64_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4857 | $(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] | 4858 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4859 | $(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] | 4860 | endif |
| 4861 | |
| 4862 | |
| 4863 | |
| 4864 | |
| 4865 | endif |
| 4866 | |
| 4867 | ifneq ($(NO_DEPS),true) |
| 4868 | -include $(LIBBORINGSSL_BASE64_TEST_LIB_OBJS:.o=.dep) |
| 4869 | endif |
| 4870 | |
| 4871 | |
| 4872 | LIBBORINGSSL_BIO_TEST_LIB_SRC = \ |
| 4873 | third_party/boringssl/crypto/bio/bio_test.cc \ |
| 4874 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4875 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4876 | |
| 4877 | LIBBORINGSSL_BIO_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BIO_TEST_LIB_SRC)))) |
| 4878 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4879 | $(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] | 4880 | $(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] | 4881 | |
| 4882 | ifeq ($(NO_PROTOBUF),true) |
| 4883 | |
| 4884 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4885 | |
| 4886 | $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a: protobuf_dep_error |
| 4887 | |
| 4888 | |
| 4889 | else |
| 4890 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4891 | $(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] | 4892 | $(E) "[AR] Creating $@" |
| 4893 | $(Q) mkdir -p `dirname $@` |
| 4894 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_bio_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4895 | $(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] | 4896 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4897 | $(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] | 4898 | endif |
| 4899 | |
| 4900 | |
| 4901 | |
| 4902 | |
| 4903 | endif |
| 4904 | |
| 4905 | ifneq ($(NO_DEPS),true) |
| 4906 | -include $(LIBBORINGSSL_BIO_TEST_LIB_OBJS:.o=.dep) |
| 4907 | endif |
| 4908 | |
| 4909 | |
| 4910 | LIBBORINGSSL_BN_TEST_LIB_SRC = \ |
| 4911 | third_party/boringssl/crypto/bn/bn_test.cc \ |
| 4912 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4913 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4914 | |
| 4915 | LIBBORINGSSL_BN_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BN_TEST_LIB_SRC)))) |
| 4916 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4917 | $(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] | 4918 | $(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] | 4919 | |
| 4920 | ifeq ($(NO_PROTOBUF),true) |
| 4921 | |
| 4922 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4923 | |
| 4924 | $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a: protobuf_dep_error |
| 4925 | |
| 4926 | |
| 4927 | else |
| 4928 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4929 | $(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] | 4930 | $(E) "[AR] Creating $@" |
| 4931 | $(Q) mkdir -p `dirname $@` |
| 4932 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_bn_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4933 | $(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] | 4934 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4935 | $(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] | 4936 | endif |
| 4937 | |
| 4938 | |
| 4939 | |
| 4940 | |
| 4941 | endif |
| 4942 | |
| 4943 | ifneq ($(NO_DEPS),true) |
| 4944 | -include $(LIBBORINGSSL_BN_TEST_LIB_OBJS:.o=.dep) |
| 4945 | endif |
| 4946 | |
| 4947 | |
| 4948 | LIBBORINGSSL_BYTESTRING_TEST_LIB_SRC = \ |
| 4949 | third_party/boringssl/crypto/bytestring/bytestring_test.cc \ |
| 4950 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4951 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4952 | |
| 4953 | LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_BYTESTRING_TEST_LIB_SRC)))) |
| 4954 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4955 | $(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] | 4956 | $(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] | 4957 | |
| 4958 | ifeq ($(NO_PROTOBUF),true) |
| 4959 | |
| 4960 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4961 | |
| 4962 | $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a: protobuf_dep_error |
| 4963 | |
| 4964 | |
| 4965 | else |
| 4966 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4967 | $(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] | 4968 | $(E) "[AR] Creating $@" |
| 4969 | $(Q) mkdir -p `dirname $@` |
| 4970 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_bytestring_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 4971 | $(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] | 4972 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 4973 | $(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] | 4974 | endif |
| 4975 | |
| 4976 | |
| 4977 | |
| 4978 | |
| 4979 | endif |
| 4980 | |
| 4981 | ifneq ($(NO_DEPS),true) |
| 4982 | -include $(LIBBORINGSSL_BYTESTRING_TEST_LIB_OBJS:.o=.dep) |
| 4983 | endif |
| 4984 | |
| 4985 | |
| 4986 | LIBBORINGSSL_AEAD_TEST_LIB_SRC = \ |
| 4987 | third_party/boringssl/crypto/cipher/aead_test.cc \ |
| 4988 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 4989 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 4990 | |
| 4991 | LIBBORINGSSL_AEAD_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_AEAD_TEST_LIB_SRC)))) |
| 4992 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 4993 | $(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] | 4994 | $(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] | 4995 | |
| 4996 | ifeq ($(NO_PROTOBUF),true) |
| 4997 | |
| 4998 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 4999 | |
| 5000 | $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a: protobuf_dep_error |
| 5001 | |
| 5002 | |
| 5003 | else |
| 5004 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5005 | $(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] | 5006 | $(E) "[AR] Creating $@" |
| 5007 | $(Q) mkdir -p `dirname $@` |
| 5008 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_aead_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5009 | $(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] | 5010 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5011 | $(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] | 5012 | endif |
| 5013 | |
| 5014 | |
| 5015 | |
| 5016 | |
| 5017 | endif |
| 5018 | |
| 5019 | ifneq ($(NO_DEPS),true) |
| 5020 | -include $(LIBBORINGSSL_AEAD_TEST_LIB_OBJS:.o=.dep) |
| 5021 | endif |
| 5022 | |
| 5023 | |
| 5024 | LIBBORINGSSL_CIPHER_TEST_LIB_SRC = \ |
| 5025 | third_party/boringssl/crypto/cipher/cipher_test.cc \ |
| 5026 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5027 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5028 | |
| 5029 | LIBBORINGSSL_CIPHER_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_CIPHER_TEST_LIB_SRC)))) |
| 5030 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5031 | $(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] | 5032 | $(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] | 5033 | |
| 5034 | ifeq ($(NO_PROTOBUF),true) |
| 5035 | |
| 5036 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5037 | |
| 5038 | $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a: protobuf_dep_error |
| 5039 | |
| 5040 | |
| 5041 | else |
| 5042 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5043 | $(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] | 5044 | $(E) "[AR] Creating $@" |
| 5045 | $(Q) mkdir -p `dirname $@` |
| 5046 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_cipher_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5047 | $(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] | 5048 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5049 | $(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] | 5050 | endif |
| 5051 | |
| 5052 | |
| 5053 | |
| 5054 | |
| 5055 | endif |
| 5056 | |
| 5057 | ifneq ($(NO_DEPS),true) |
| 5058 | -include $(LIBBORINGSSL_CIPHER_TEST_LIB_OBJS:.o=.dep) |
| 5059 | endif |
| 5060 | |
| 5061 | |
| 5062 | LIBBORINGSSL_CMAC_TEST_LIB_SRC = \ |
| 5063 | third_party/boringssl/crypto/cmac/cmac_test.cc \ |
| 5064 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5065 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5066 | |
| 5067 | LIBBORINGSSL_CMAC_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_CMAC_TEST_LIB_SRC)))) |
| 5068 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5069 | $(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] | 5070 | $(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] | 5071 | |
| 5072 | ifeq ($(NO_PROTOBUF),true) |
| 5073 | |
| 5074 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5075 | |
| 5076 | $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a: protobuf_dep_error |
| 5077 | |
| 5078 | |
| 5079 | else |
| 5080 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5081 | $(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] | 5082 | $(E) "[AR] Creating $@" |
| 5083 | $(Q) mkdir -p `dirname $@` |
| 5084 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_cmac_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5085 | $(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] | 5086 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5087 | $(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] | 5088 | endif |
| 5089 | |
| 5090 | |
| 5091 | |
| 5092 | |
| 5093 | endif |
| 5094 | |
| 5095 | ifneq ($(NO_DEPS),true) |
| 5096 | -include $(LIBBORINGSSL_CMAC_TEST_LIB_OBJS:.o=.dep) |
| 5097 | endif |
| 5098 | |
| 5099 | |
| 5100 | LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_SRC = \ |
| 5101 | third_party/boringssl/crypto/constant_time_test.c \ |
| 5102 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5103 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5104 | |
| 5105 | LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_SRC)))) |
| 5106 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5107 | $(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] | 5108 | $(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] | 5109 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5110 | $(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] | 5111 | $(E) "[AR] Creating $@" |
| 5112 | $(Q) mkdir -p `dirname $@` |
| 5113 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_constant_time_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5114 | $(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] | 5115 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5116 | $(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] | 5117 | endif |
| 5118 | |
| 5119 | |
| 5120 | |
| 5121 | |
| 5122 | ifneq ($(NO_DEPS),true) |
| 5123 | -include $(LIBBORINGSSL_CONSTANT_TIME_TEST_LIB_OBJS:.o=.dep) |
| 5124 | endif |
| 5125 | |
| 5126 | |
| 5127 | LIBBORINGSSL_ED25519_TEST_LIB_SRC = \ |
| 5128 | third_party/boringssl/crypto/curve25519/ed25519_test.cc \ |
| 5129 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5130 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5131 | |
| 5132 | LIBBORINGSSL_ED25519_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ED25519_TEST_LIB_SRC)))) |
| 5133 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5134 | $(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] | 5135 | $(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] | 5136 | |
| 5137 | ifeq ($(NO_PROTOBUF),true) |
| 5138 | |
| 5139 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5140 | |
| 5141 | $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a: protobuf_dep_error |
| 5142 | |
| 5143 | |
| 5144 | else |
| 5145 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5146 | $(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] | 5147 | $(E) "[AR] Creating $@" |
| 5148 | $(Q) mkdir -p `dirname $@` |
| 5149 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ed25519_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5150 | $(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] | 5151 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5152 | $(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] | 5153 | endif |
| 5154 | |
| 5155 | |
| 5156 | |
| 5157 | |
| 5158 | endif |
| 5159 | |
| 5160 | ifneq ($(NO_DEPS),true) |
| 5161 | -include $(LIBBORINGSSL_ED25519_TEST_LIB_OBJS:.o=.dep) |
| 5162 | endif |
| 5163 | |
| 5164 | |
| 5165 | LIBBORINGSSL_X25519_TEST_LIB_SRC = \ |
| 5166 | third_party/boringssl/crypto/curve25519/x25519_test.cc \ |
| 5167 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5168 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5169 | |
| 5170 | LIBBORINGSSL_X25519_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_X25519_TEST_LIB_SRC)))) |
| 5171 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5172 | $(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] | 5173 | $(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] | 5174 | |
| 5175 | ifeq ($(NO_PROTOBUF),true) |
| 5176 | |
| 5177 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5178 | |
| 5179 | $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a: protobuf_dep_error |
| 5180 | |
| 5181 | |
| 5182 | else |
| 5183 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5184 | $(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] | 5185 | $(E) "[AR] Creating $@" |
| 5186 | $(Q) mkdir -p `dirname $@` |
| 5187 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_x25519_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5188 | $(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] | 5189 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5190 | $(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] | 5191 | endif |
| 5192 | |
| 5193 | |
| 5194 | |
| 5195 | |
| 5196 | endif |
| 5197 | |
| 5198 | ifneq ($(NO_DEPS),true) |
| 5199 | -include $(LIBBORINGSSL_X25519_TEST_LIB_OBJS:.o=.dep) |
| 5200 | endif |
| 5201 | |
| 5202 | |
| 5203 | LIBBORINGSSL_DH_TEST_LIB_SRC = \ |
| 5204 | third_party/boringssl/crypto/dh/dh_test.cc \ |
| 5205 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5206 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5207 | |
| 5208 | LIBBORINGSSL_DH_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_DH_TEST_LIB_SRC)))) |
| 5209 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5210 | $(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] | 5211 | $(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] | 5212 | |
| 5213 | ifeq ($(NO_PROTOBUF),true) |
| 5214 | |
| 5215 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5216 | |
| 5217 | $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a: protobuf_dep_error |
| 5218 | |
| 5219 | |
| 5220 | else |
| 5221 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5222 | $(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] | 5223 | $(E) "[AR] Creating $@" |
| 5224 | $(Q) mkdir -p `dirname $@` |
| 5225 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_dh_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5226 | $(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] | 5227 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5228 | $(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] | 5229 | endif |
| 5230 | |
| 5231 | |
| 5232 | |
| 5233 | |
| 5234 | endif |
| 5235 | |
| 5236 | ifneq ($(NO_DEPS),true) |
| 5237 | -include $(LIBBORINGSSL_DH_TEST_LIB_OBJS:.o=.dep) |
| 5238 | endif |
| 5239 | |
| 5240 | |
| 5241 | LIBBORINGSSL_DIGEST_TEST_LIB_SRC = \ |
| 5242 | third_party/boringssl/crypto/digest/digest_test.cc \ |
| 5243 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5244 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5245 | |
| 5246 | LIBBORINGSSL_DIGEST_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_DIGEST_TEST_LIB_SRC)))) |
| 5247 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5248 | $(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] | 5249 | $(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] | 5250 | |
| 5251 | ifeq ($(NO_PROTOBUF),true) |
| 5252 | |
| 5253 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5254 | |
| 5255 | $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a: protobuf_dep_error |
| 5256 | |
| 5257 | |
| 5258 | else |
| 5259 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5260 | $(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] | 5261 | $(E) "[AR] Creating $@" |
| 5262 | $(Q) mkdir -p `dirname $@` |
| 5263 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_digest_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5264 | $(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] | 5265 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5266 | $(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] | 5267 | endif |
| 5268 | |
| 5269 | |
| 5270 | |
| 5271 | |
| 5272 | endif |
| 5273 | |
| 5274 | ifneq ($(NO_DEPS),true) |
| 5275 | -include $(LIBBORINGSSL_DIGEST_TEST_LIB_OBJS:.o=.dep) |
| 5276 | endif |
| 5277 | |
| 5278 | |
| 5279 | LIBBORINGSSL_DSA_TEST_LIB_SRC = \ |
| 5280 | third_party/boringssl/crypto/dsa/dsa_test.c \ |
| 5281 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5282 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5283 | |
| 5284 | LIBBORINGSSL_DSA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_DSA_TEST_LIB_SRC)))) |
| 5285 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5286 | $(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] | 5287 | $(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] | 5288 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5289 | $(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] | 5290 | $(E) "[AR] Creating $@" |
| 5291 | $(Q) mkdir -p `dirname $@` |
| 5292 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_dsa_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5293 | $(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] | 5294 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5295 | $(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] | 5296 | endif |
| 5297 | |
| 5298 | |
| 5299 | |
| 5300 | |
| 5301 | ifneq ($(NO_DEPS),true) |
| 5302 | -include $(LIBBORINGSSL_DSA_TEST_LIB_OBJS:.o=.dep) |
| 5303 | endif |
| 5304 | |
| 5305 | |
| 5306 | LIBBORINGSSL_EC_TEST_LIB_SRC = \ |
| 5307 | third_party/boringssl/crypto/ec/ec_test.cc \ |
| 5308 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5309 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5310 | |
| 5311 | LIBBORINGSSL_EC_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EC_TEST_LIB_SRC)))) |
| 5312 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5313 | $(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] | 5314 | $(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] | 5315 | |
| 5316 | ifeq ($(NO_PROTOBUF),true) |
| 5317 | |
| 5318 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5319 | |
| 5320 | $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a: protobuf_dep_error |
| 5321 | |
| 5322 | |
| 5323 | else |
| 5324 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5325 | $(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] | 5326 | $(E) "[AR] Creating $@" |
| 5327 | $(Q) mkdir -p `dirname $@` |
| 5328 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ec_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5329 | $(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] | 5330 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5331 | $(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] | 5332 | endif |
| 5333 | |
| 5334 | |
| 5335 | |
| 5336 | |
| 5337 | endif |
| 5338 | |
| 5339 | ifneq ($(NO_DEPS),true) |
| 5340 | -include $(LIBBORINGSSL_EC_TEST_LIB_OBJS:.o=.dep) |
| 5341 | endif |
| 5342 | |
| 5343 | |
| 5344 | LIBBORINGSSL_EXAMPLE_MUL_LIB_SRC = \ |
| 5345 | third_party/boringssl/crypto/ec/example_mul.c \ |
| 5346 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5347 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5348 | |
| 5349 | LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EXAMPLE_MUL_LIB_SRC)))) |
| 5350 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5351 | $(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] | 5352 | $(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] | 5353 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5354 | $(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] | 5355 | $(E) "[AR] Creating $@" |
| 5356 | $(Q) mkdir -p `dirname $@` |
| 5357 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_example_mul_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5358 | $(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] | 5359 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5360 | $(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] | 5361 | endif |
| 5362 | |
| 5363 | |
| 5364 | |
| 5365 | |
| 5366 | ifneq ($(NO_DEPS),true) |
| 5367 | -include $(LIBBORINGSSL_EXAMPLE_MUL_LIB_OBJS:.o=.dep) |
| 5368 | endif |
| 5369 | |
| 5370 | |
| 5371 | LIBBORINGSSL_ECDSA_TEST_LIB_SRC = \ |
| 5372 | third_party/boringssl/crypto/ecdsa/ecdsa_test.cc \ |
| 5373 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5374 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5375 | |
| 5376 | LIBBORINGSSL_ECDSA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ECDSA_TEST_LIB_SRC)))) |
| 5377 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5378 | $(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] | 5379 | $(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] | 5380 | |
| 5381 | ifeq ($(NO_PROTOBUF),true) |
| 5382 | |
| 5383 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5384 | |
| 5385 | $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a: protobuf_dep_error |
| 5386 | |
| 5387 | |
| 5388 | else |
| 5389 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5390 | $(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] | 5391 | $(E) "[AR] Creating $@" |
| 5392 | $(Q) mkdir -p `dirname $@` |
| 5393 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ecdsa_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5394 | $(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] | 5395 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5396 | $(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] | 5397 | endif |
| 5398 | |
| 5399 | |
| 5400 | |
| 5401 | |
| 5402 | endif |
| 5403 | |
| 5404 | ifneq ($(NO_DEPS),true) |
| 5405 | -include $(LIBBORINGSSL_ECDSA_TEST_LIB_OBJS:.o=.dep) |
| 5406 | endif |
| 5407 | |
| 5408 | |
| 5409 | LIBBORINGSSL_ERR_TEST_LIB_SRC = \ |
| 5410 | third_party/boringssl/crypto/err/err_test.cc \ |
| 5411 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5412 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5413 | |
| 5414 | LIBBORINGSSL_ERR_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_ERR_TEST_LIB_SRC)))) |
| 5415 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5416 | $(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] | 5417 | $(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] | 5418 | |
| 5419 | ifeq ($(NO_PROTOBUF),true) |
| 5420 | |
| 5421 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5422 | |
| 5423 | $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a: protobuf_dep_error |
| 5424 | |
| 5425 | |
| 5426 | else |
| 5427 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5428 | $(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] | 5429 | $(E) "[AR] Creating $@" |
| 5430 | $(Q) mkdir -p `dirname $@` |
| 5431 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_err_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5432 | $(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] | 5433 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5434 | $(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] | 5435 | endif |
| 5436 | |
| 5437 | |
| 5438 | |
| 5439 | |
| 5440 | endif |
| 5441 | |
| 5442 | ifneq ($(NO_DEPS),true) |
| 5443 | -include $(LIBBORINGSSL_ERR_TEST_LIB_OBJS:.o=.dep) |
| 5444 | endif |
| 5445 | |
| 5446 | |
| 5447 | LIBBORINGSSL_EVP_EXTRA_TEST_LIB_SRC = \ |
| 5448 | third_party/boringssl/crypto/evp/evp_extra_test.cc \ |
| 5449 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5450 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5451 | |
| 5452 | LIBBORINGSSL_EVP_EXTRA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EVP_EXTRA_TEST_LIB_SRC)))) |
| 5453 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5454 | $(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] | 5455 | $(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] | 5456 | |
| 5457 | ifeq ($(NO_PROTOBUF),true) |
| 5458 | |
| 5459 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5460 | |
| 5461 | $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a: protobuf_dep_error |
| 5462 | |
| 5463 | |
| 5464 | else |
| 5465 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5466 | $(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] | 5467 | $(E) "[AR] Creating $@" |
| 5468 | $(Q) mkdir -p `dirname $@` |
| 5469 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_evp_extra_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5470 | $(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] | 5471 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5472 | $(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] | 5473 | endif |
| 5474 | |
| 5475 | |
| 5476 | |
| 5477 | |
| 5478 | endif |
| 5479 | |
| 5480 | ifneq ($(NO_DEPS),true) |
| 5481 | -include $(LIBBORINGSSL_EVP_EXTRA_TEST_LIB_OBJS:.o=.dep) |
| 5482 | endif |
| 5483 | |
| 5484 | |
| 5485 | LIBBORINGSSL_EVP_TEST_LIB_SRC = \ |
| 5486 | third_party/boringssl/crypto/evp/evp_test.cc \ |
| 5487 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5488 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5489 | |
| 5490 | LIBBORINGSSL_EVP_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_EVP_TEST_LIB_SRC)))) |
| 5491 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5492 | $(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] | 5493 | $(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] | 5494 | |
| 5495 | ifeq ($(NO_PROTOBUF),true) |
| 5496 | |
| 5497 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5498 | |
| 5499 | $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a: protobuf_dep_error |
| 5500 | |
| 5501 | |
| 5502 | else |
| 5503 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5504 | $(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] | 5505 | $(E) "[AR] Creating $@" |
| 5506 | $(Q) mkdir -p `dirname $@` |
| 5507 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_evp_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5508 | $(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] | 5509 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5510 | $(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] | 5511 | endif |
| 5512 | |
| 5513 | |
| 5514 | |
| 5515 | |
| 5516 | endif |
| 5517 | |
| 5518 | ifneq ($(NO_DEPS),true) |
| 5519 | -include $(LIBBORINGSSL_EVP_TEST_LIB_OBJS:.o=.dep) |
| 5520 | endif |
| 5521 | |
| 5522 | |
| 5523 | LIBBORINGSSL_PBKDF_TEST_LIB_SRC = \ |
| 5524 | third_party/boringssl/crypto/evp/pbkdf_test.cc \ |
| 5525 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5526 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5527 | |
| 5528 | LIBBORINGSSL_PBKDF_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PBKDF_TEST_LIB_SRC)))) |
| 5529 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5530 | $(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] | 5531 | $(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] | 5532 | |
| 5533 | ifeq ($(NO_PROTOBUF),true) |
| 5534 | |
| 5535 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5536 | |
| 5537 | $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a: protobuf_dep_error |
| 5538 | |
| 5539 | |
| 5540 | else |
| 5541 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5542 | $(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] | 5543 | $(E) "[AR] Creating $@" |
| 5544 | $(Q) mkdir -p `dirname $@` |
| 5545 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pbkdf_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5546 | $(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] | 5547 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5548 | $(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] | 5549 | endif |
| 5550 | |
| 5551 | |
| 5552 | |
| 5553 | |
| 5554 | endif |
| 5555 | |
| 5556 | ifneq ($(NO_DEPS),true) |
| 5557 | -include $(LIBBORINGSSL_PBKDF_TEST_LIB_OBJS:.o=.dep) |
| 5558 | endif |
| 5559 | |
| 5560 | |
| 5561 | LIBBORINGSSL_HKDF_TEST_LIB_SRC = \ |
| 5562 | third_party/boringssl/crypto/hkdf/hkdf_test.c \ |
| 5563 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5564 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5565 | |
| 5566 | LIBBORINGSSL_HKDF_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_HKDF_TEST_LIB_SRC)))) |
| 5567 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5568 | $(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] | 5569 | $(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] | 5570 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5571 | $(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] | 5572 | $(E) "[AR] Creating $@" |
| 5573 | $(Q) mkdir -p `dirname $@` |
| 5574 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_hkdf_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5575 | $(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] | 5576 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5577 | $(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] | 5578 | endif |
| 5579 | |
| 5580 | |
| 5581 | |
| 5582 | |
| 5583 | ifneq ($(NO_DEPS),true) |
| 5584 | -include $(LIBBORINGSSL_HKDF_TEST_LIB_OBJS:.o=.dep) |
| 5585 | endif |
| 5586 | |
| 5587 | |
| 5588 | LIBBORINGSSL_HMAC_TEST_LIB_SRC = \ |
| 5589 | third_party/boringssl/crypto/hmac/hmac_test.cc \ |
| 5590 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5591 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5592 | |
| 5593 | LIBBORINGSSL_HMAC_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_HMAC_TEST_LIB_SRC)))) |
| 5594 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5595 | $(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] | 5596 | $(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] | 5597 | |
| 5598 | ifeq ($(NO_PROTOBUF),true) |
| 5599 | |
| 5600 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5601 | |
| 5602 | $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a: protobuf_dep_error |
| 5603 | |
| 5604 | |
| 5605 | else |
| 5606 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5607 | $(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] | 5608 | $(E) "[AR] Creating $@" |
| 5609 | $(Q) mkdir -p `dirname $@` |
| 5610 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_hmac_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5611 | $(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] | 5612 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5613 | $(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] | 5614 | endif |
| 5615 | |
| 5616 | |
| 5617 | |
| 5618 | |
| 5619 | endif |
| 5620 | |
| 5621 | ifneq ($(NO_DEPS),true) |
| 5622 | -include $(LIBBORINGSSL_HMAC_TEST_LIB_OBJS:.o=.dep) |
| 5623 | endif |
| 5624 | |
| 5625 | |
| 5626 | LIBBORINGSSL_LHASH_TEST_LIB_SRC = \ |
| 5627 | third_party/boringssl/crypto/lhash/lhash_test.c \ |
| 5628 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5629 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5630 | |
| 5631 | LIBBORINGSSL_LHASH_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_LHASH_TEST_LIB_SRC)))) |
| 5632 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5633 | $(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] | 5634 | $(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] | 5635 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5636 | $(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] | 5637 | $(E) "[AR] Creating $@" |
| 5638 | $(Q) mkdir -p `dirname $@` |
| 5639 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_lhash_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5640 | $(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] | 5641 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5642 | $(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] | 5643 | endif |
| 5644 | |
| 5645 | |
| 5646 | |
| 5647 | |
| 5648 | ifneq ($(NO_DEPS),true) |
| 5649 | -include $(LIBBORINGSSL_LHASH_TEST_LIB_OBJS:.o=.dep) |
| 5650 | endif |
| 5651 | |
| 5652 | |
| 5653 | LIBBORINGSSL_GCM_TEST_LIB_SRC = \ |
| 5654 | third_party/boringssl/crypto/modes/gcm_test.c \ |
| 5655 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5656 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5657 | |
| 5658 | LIBBORINGSSL_GCM_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_GCM_TEST_LIB_SRC)))) |
| 5659 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5660 | $(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] | 5661 | $(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] | 5662 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5663 | $(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] | 5664 | $(E) "[AR] Creating $@" |
| 5665 | $(Q) mkdir -p `dirname $@` |
| 5666 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_gcm_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5667 | $(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] | 5668 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5669 | $(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] | 5670 | endif |
| 5671 | |
| 5672 | |
| 5673 | |
| 5674 | |
| 5675 | ifneq ($(NO_DEPS),true) |
| 5676 | -include $(LIBBORINGSSL_GCM_TEST_LIB_OBJS:.o=.dep) |
| 5677 | endif |
| 5678 | |
| 5679 | |
| 5680 | LIBBORINGSSL_PKCS12_TEST_LIB_SRC = \ |
| 5681 | third_party/boringssl/crypto/pkcs8/pkcs12_test.cc \ |
| 5682 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5683 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5684 | |
| 5685 | LIBBORINGSSL_PKCS12_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PKCS12_TEST_LIB_SRC)))) |
| 5686 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5687 | $(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] | 5688 | $(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] | 5689 | |
| 5690 | ifeq ($(NO_PROTOBUF),true) |
| 5691 | |
| 5692 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5693 | |
| 5694 | $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a: protobuf_dep_error |
| 5695 | |
| 5696 | |
| 5697 | else |
| 5698 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5699 | $(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] | 5700 | $(E) "[AR] Creating $@" |
| 5701 | $(Q) mkdir -p `dirname $@` |
| 5702 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pkcs12_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5703 | $(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] | 5704 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5705 | $(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] | 5706 | endif |
| 5707 | |
| 5708 | |
| 5709 | |
| 5710 | |
| 5711 | endif |
| 5712 | |
| 5713 | ifneq ($(NO_DEPS),true) |
| 5714 | -include $(LIBBORINGSSL_PKCS12_TEST_LIB_OBJS:.o=.dep) |
| 5715 | endif |
| 5716 | |
| 5717 | |
| 5718 | LIBBORINGSSL_PKCS8_TEST_LIB_SRC = \ |
| 5719 | third_party/boringssl/crypto/pkcs8/pkcs8_test.cc \ |
| 5720 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5721 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5722 | |
| 5723 | LIBBORINGSSL_PKCS8_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PKCS8_TEST_LIB_SRC)))) |
| 5724 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5725 | $(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] | 5726 | $(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] | 5727 | |
| 5728 | ifeq ($(NO_PROTOBUF),true) |
| 5729 | |
| 5730 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5731 | |
| 5732 | $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a: protobuf_dep_error |
| 5733 | |
| 5734 | |
| 5735 | else |
| 5736 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5737 | $(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] | 5738 | $(E) "[AR] Creating $@" |
| 5739 | $(Q) mkdir -p `dirname $@` |
| 5740 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pkcs8_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5741 | $(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] | 5742 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5743 | $(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] | 5744 | endif |
| 5745 | |
| 5746 | |
| 5747 | |
| 5748 | |
| 5749 | endif |
| 5750 | |
| 5751 | ifneq ($(NO_DEPS),true) |
| 5752 | -include $(LIBBORINGSSL_PKCS8_TEST_LIB_OBJS:.o=.dep) |
| 5753 | endif |
| 5754 | |
| 5755 | |
| 5756 | LIBBORINGSSL_POLY1305_TEST_LIB_SRC = \ |
| 5757 | third_party/boringssl/crypto/poly1305/poly1305_test.cc \ |
| 5758 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5759 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5760 | |
| 5761 | LIBBORINGSSL_POLY1305_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_POLY1305_TEST_LIB_SRC)))) |
| 5762 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5763 | $(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] | 5764 | $(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] | 5765 | |
| 5766 | ifeq ($(NO_PROTOBUF),true) |
| 5767 | |
| 5768 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5769 | |
| 5770 | $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a: protobuf_dep_error |
| 5771 | |
| 5772 | |
| 5773 | else |
| 5774 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5775 | $(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] | 5776 | $(E) "[AR] Creating $@" |
| 5777 | $(Q) mkdir -p `dirname $@` |
| 5778 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_poly1305_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5779 | $(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] | 5780 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5781 | $(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] | 5782 | endif |
| 5783 | |
| 5784 | |
| 5785 | |
| 5786 | |
| 5787 | endif |
| 5788 | |
| 5789 | ifneq ($(NO_DEPS),true) |
| 5790 | -include $(LIBBORINGSSL_POLY1305_TEST_LIB_OBJS:.o=.dep) |
| 5791 | endif |
| 5792 | |
| 5793 | |
| 5794 | LIBBORINGSSL_REFCOUNT_TEST_LIB_SRC = \ |
| 5795 | third_party/boringssl/crypto/refcount_test.c \ |
| 5796 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5797 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5798 | |
| 5799 | LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_REFCOUNT_TEST_LIB_SRC)))) |
| 5800 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5801 | $(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] | 5802 | $(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] | 5803 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5804 | $(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] | 5805 | $(E) "[AR] Creating $@" |
| 5806 | $(Q) mkdir -p `dirname $@` |
| 5807 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_refcount_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5808 | $(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] | 5809 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5810 | $(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] | 5811 | endif |
| 5812 | |
| 5813 | |
| 5814 | |
| 5815 | |
| 5816 | ifneq ($(NO_DEPS),true) |
| 5817 | -include $(LIBBORINGSSL_REFCOUNT_TEST_LIB_OBJS:.o=.dep) |
| 5818 | endif |
| 5819 | |
| 5820 | |
| 5821 | LIBBORINGSSL_RSA_TEST_LIB_SRC = \ |
| 5822 | third_party/boringssl/crypto/rsa/rsa_test.cc \ |
| 5823 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5824 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5825 | |
| 5826 | LIBBORINGSSL_RSA_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_RSA_TEST_LIB_SRC)))) |
| 5827 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5828 | $(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] | 5829 | $(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] | 5830 | |
| 5831 | ifeq ($(NO_PROTOBUF),true) |
| 5832 | |
| 5833 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5834 | |
| 5835 | $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a: protobuf_dep_error |
| 5836 | |
| 5837 | |
| 5838 | else |
| 5839 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5840 | $(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] | 5841 | $(E) "[AR] Creating $@" |
| 5842 | $(Q) mkdir -p `dirname $@` |
| 5843 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_rsa_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5844 | $(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] | 5845 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5846 | $(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] | 5847 | endif |
| 5848 | |
| 5849 | |
| 5850 | |
| 5851 | |
| 5852 | endif |
| 5853 | |
| 5854 | ifneq ($(NO_DEPS),true) |
| 5855 | -include $(LIBBORINGSSL_RSA_TEST_LIB_OBJS:.o=.dep) |
| 5856 | endif |
| 5857 | |
| 5858 | |
| 5859 | LIBBORINGSSL_THREAD_TEST_LIB_SRC = \ |
| 5860 | third_party/boringssl/crypto/thread_test.c \ |
| 5861 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5862 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5863 | |
| 5864 | LIBBORINGSSL_THREAD_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_THREAD_TEST_LIB_SRC)))) |
| 5865 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5866 | $(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] | 5867 | $(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] | 5868 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5869 | $(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] | 5870 | $(E) "[AR] Creating $@" |
| 5871 | $(Q) mkdir -p `dirname $@` |
| 5872 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_thread_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5873 | $(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] | 5874 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5875 | $(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] | 5876 | endif |
| 5877 | |
| 5878 | |
| 5879 | |
| 5880 | |
| 5881 | ifneq ($(NO_DEPS),true) |
| 5882 | -include $(LIBBORINGSSL_THREAD_TEST_LIB_OBJS:.o=.dep) |
| 5883 | endif |
| 5884 | |
| 5885 | |
| 5886 | LIBBORINGSSL_PKCS7_TEST_LIB_SRC = \ |
| 5887 | third_party/boringssl/crypto/x509/pkcs7_test.c \ |
| 5888 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5889 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5890 | |
| 5891 | LIBBORINGSSL_PKCS7_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PKCS7_TEST_LIB_SRC)))) |
| 5892 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5893 | $(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] | 5894 | $(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] | 5895 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5896 | $(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] | 5897 | $(E) "[AR] Creating $@" |
| 5898 | $(Q) mkdir -p `dirname $@` |
| 5899 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pkcs7_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5900 | $(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] | 5901 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5902 | $(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] | 5903 | endif |
| 5904 | |
| 5905 | |
| 5906 | |
| 5907 | |
| 5908 | ifneq ($(NO_DEPS),true) |
| 5909 | -include $(LIBBORINGSSL_PKCS7_TEST_LIB_OBJS:.o=.dep) |
| 5910 | endif |
| 5911 | |
| 5912 | |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 5913 | LIBBORINGSSL_X509_TEST_LIB_SRC = \ |
| 5914 | third_party/boringssl/crypto/x509/x509_test.cc \ |
| 5915 | |
| 5916 | PUBLIC_HEADERS_CXX += \ |
| 5917 | |
| 5918 | LIBBORINGSSL_X509_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_X509_TEST_LIB_SRC)))) |
| 5919 | |
| 5920 | $(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] | 5921 | $(LIBBORINGSSL_X509_TEST_LIB_OBJS): CFLAGS += -Wno-sign-conversion -Wno-conversion -Wno-unused-value -Wno-unknown-pragmas -Wno-implicit-function-declaration -Wno-unused-variable -Wno-sign-compare $(NO_W_EXTRA_SEMI) |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 5922 | |
| 5923 | ifeq ($(NO_PROTOBUF),true) |
| 5924 | |
| 5925 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 5926 | |
| 5927 | $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a: protobuf_dep_error |
| 5928 | |
| 5929 | |
| 5930 | else |
| 5931 | |
| 5932 | $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a: $(ZLIB_DEP) $(PROTOBUF_DEP) $(LIBBORINGSSL_X509_TEST_LIB_OBJS) |
| 5933 | $(E) "[AR] Creating $@" |
| 5934 | $(Q) mkdir -p `dirname $@` |
| 5935 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a |
| 5936 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a $(LIBBORINGSSL_X509_TEST_LIB_OBJS) |
| 5937 | ifeq ($(SYSTEM),Darwin) |
| 5938 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a |
| 5939 | endif |
| 5940 | |
| 5941 | |
| 5942 | |
| 5943 | |
| 5944 | endif |
| 5945 | |
| 5946 | ifneq ($(NO_DEPS),true) |
| 5947 | -include $(LIBBORINGSSL_X509_TEST_LIB_OBJS:.o=.dep) |
| 5948 | endif |
| 5949 | |
| 5950 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5951 | LIBBORINGSSL_TAB_TEST_LIB_SRC = \ |
| 5952 | third_party/boringssl/crypto/x509v3/tab_test.c \ |
| 5953 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5954 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5955 | |
| 5956 | LIBBORINGSSL_TAB_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_TAB_TEST_LIB_SRC)))) |
| 5957 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5958 | $(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] | 5959 | $(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] | 5960 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5961 | $(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] | 5962 | $(E) "[AR] Creating $@" |
| 5963 | $(Q) mkdir -p `dirname $@` |
| 5964 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_tab_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5965 | $(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] | 5966 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5967 | $(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] | 5968 | endif |
| 5969 | |
| 5970 | |
| 5971 | |
| 5972 | |
| 5973 | ifneq ($(NO_DEPS),true) |
| 5974 | -include $(LIBBORINGSSL_TAB_TEST_LIB_OBJS:.o=.dep) |
| 5975 | endif |
| 5976 | |
| 5977 | |
| 5978 | LIBBORINGSSL_V3NAME_TEST_LIB_SRC = \ |
| 5979 | third_party/boringssl/crypto/x509v3/v3name_test.c \ |
| 5980 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 5981 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 5982 | |
| 5983 | LIBBORINGSSL_V3NAME_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_V3NAME_TEST_LIB_SRC)))) |
| 5984 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 5985 | $(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] | 5986 | $(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] | 5987 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5988 | $(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] | 5989 | $(E) "[AR] Creating $@" |
| 5990 | $(Q) mkdir -p `dirname $@` |
| 5991 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_v3name_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 5992 | $(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] | 5993 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 5994 | $(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] | 5995 | endif |
| 5996 | |
| 5997 | |
| 5998 | |
| 5999 | |
| 6000 | ifneq ($(NO_DEPS),true) |
| 6001 | -include $(LIBBORINGSSL_V3NAME_TEST_LIB_OBJS:.o=.dep) |
| 6002 | endif |
| 6003 | |
| 6004 | |
| 6005 | LIBBORINGSSL_PQUEUE_TEST_LIB_SRC = \ |
| 6006 | third_party/boringssl/ssl/pqueue/pqueue_test.c \ |
| 6007 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6008 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6009 | |
| 6010 | LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_PQUEUE_TEST_LIB_SRC)))) |
| 6011 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6012 | $(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] | 6013 | $(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] | 6014 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6015 | $(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] | 6016 | $(E) "[AR] Creating $@" |
| 6017 | $(Q) mkdir -p `dirname $@` |
| 6018 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_pqueue_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6019 | $(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] | 6020 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6021 | $(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] | 6022 | endif |
| 6023 | |
| 6024 | |
| 6025 | |
| 6026 | |
| 6027 | ifneq ($(NO_DEPS),true) |
| 6028 | -include $(LIBBORINGSSL_PQUEUE_TEST_LIB_OBJS:.o=.dep) |
| 6029 | endif |
| 6030 | |
| 6031 | |
| 6032 | LIBBORINGSSL_SSL_TEST_LIB_SRC = \ |
| 6033 | third_party/boringssl/ssl/ssl_test.cc \ |
| 6034 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6035 | PUBLIC_HEADERS_CXX += \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6036 | |
| 6037 | LIBBORINGSSL_SSL_TEST_LIB_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBORINGSSL_SSL_TEST_LIB_SRC)))) |
| 6038 | |
Nicolas "Pixel" Noble | b8e2f9c | 2016-01-28 05:00:40 +0100 | [diff] [blame] | 6039 | $(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] | 6040 | $(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] | 6041 | |
| 6042 | ifeq ($(NO_PROTOBUF),true) |
| 6043 | |
| 6044 | # You can't build a C++ library if you don't have protobuf - a bit overreached, but still okay. |
| 6045 | |
| 6046 | $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a: protobuf_dep_error |
| 6047 | |
| 6048 | |
| 6049 | else |
| 6050 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6051 | $(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] | 6052 | $(E) "[AR] Creating $@" |
| 6053 | $(Q) mkdir -p `dirname $@` |
| 6054 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libboringssl_ssl_test_lib.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6055 | $(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] | 6056 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6057 | $(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] | 6058 | endif |
| 6059 | |
| 6060 | |
| 6061 | |
| 6062 | |
| 6063 | endif |
| 6064 | |
| 6065 | ifneq ($(NO_DEPS),true) |
| 6066 | -include $(LIBBORINGSSL_SSL_TEST_LIB_OBJS:.o=.dep) |
| 6067 | endif |
| 6068 | |
| 6069 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6070 | LIBZ_SRC = \ |
| 6071 | third_party/zlib/adler32.c \ |
| 6072 | third_party/zlib/compress.c \ |
| 6073 | third_party/zlib/crc32.c \ |
| 6074 | third_party/zlib/deflate.c \ |
| 6075 | third_party/zlib/gzclose.c \ |
| 6076 | third_party/zlib/gzlib.c \ |
| 6077 | third_party/zlib/gzread.c \ |
| 6078 | third_party/zlib/gzwrite.c \ |
| 6079 | third_party/zlib/infback.c \ |
| 6080 | third_party/zlib/inffast.c \ |
| 6081 | third_party/zlib/inflate.c \ |
| 6082 | third_party/zlib/inftrees.c \ |
| 6083 | third_party/zlib/trees.c \ |
| 6084 | third_party/zlib/uncompr.c \ |
| 6085 | third_party/zlib/zutil.c \ |
| 6086 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6087 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6088 | |
| 6089 | LIBZ_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBZ_SRC)))) |
| 6090 | |
Nicolas "Pixel" Noble | 545c6c1 | 2016-01-28 06:01:46 +0100 | [diff] [blame] | 6091 | $(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] | 6092 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6093 | $(LIBDIR)/$(CONFIG)/libz.a: $(LIBZ_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6094 | $(E) "[AR] Creating $@" |
| 6095 | $(Q) mkdir -p `dirname $@` |
| 6096 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libz.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6097 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libz.a $(LIBZ_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6098 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6099 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libz.a |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6100 | endif |
| 6101 | |
| 6102 | |
| 6103 | |
| 6104 | |
| 6105 | ifneq ($(NO_DEPS),true) |
| 6106 | -include $(LIBZ_OBJS:.o=.dep) |
| 6107 | endif |
| 6108 | |
| 6109 | |
| 6110 | LIBBAD_CLIENT_TEST_SRC = \ |
| 6111 | test/core/bad_client/bad_client.c \ |
| 6112 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6113 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6114 | |
| 6115 | LIBBAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBAD_CLIENT_TEST_SRC)))) |
| 6116 | |
| 6117 | |
| 6118 | ifeq ($(NO_SECURE),true) |
| 6119 | |
| 6120 | # You can't build secure libraries if you don't have OpenSSL. |
| 6121 | |
| 6122 | $(LIBDIR)/$(CONFIG)/libbad_client_test.a: openssl_dep_error |
| 6123 | |
| 6124 | |
| 6125 | else |
| 6126 | |
| 6127 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6128 | $(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] | 6129 | $(E) "[AR] Creating $@" |
| 6130 | $(Q) mkdir -p `dirname $@` |
| 6131 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libbad_client_test.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6132 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libbad_client_test.a $(LIBBAD_CLIENT_TEST_OBJS) |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6133 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6134 | $(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] | 6135 | endif |
| 6136 | |
| 6137 | |
| 6138 | |
| 6139 | |
| 6140 | endif |
| 6141 | |
| 6142 | ifneq ($(NO_SECURE),true) |
| 6143 | ifneq ($(NO_DEPS),true) |
| 6144 | -include $(LIBBAD_CLIENT_TEST_OBJS:.o=.dep) |
| 6145 | endif |
| 6146 | endif |
| 6147 | |
| 6148 | |
| 6149 | LIBBAD_SSL_TEST_SERVER_SRC = \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6150 | test/core/bad_ssl/server_common.c \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6151 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6152 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 6153 | |
| 6154 | LIBBAD_SSL_TEST_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBBAD_SSL_TEST_SERVER_SRC)))) |
| 6155 | |
| 6156 | |
| 6157 | ifeq ($(NO_SECURE),true) |
| 6158 | |
| 6159 | # You can't build secure libraries if you don't have OpenSSL. |
| 6160 | |
| 6161 | $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a: openssl_dep_error |
| 6162 | |
| 6163 | |
| 6164 | else |
| 6165 | |
| 6166 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6167 | $(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] | 6168 | $(E) "[AR] Creating $@" |
| 6169 | $(Q) mkdir -p `dirname $@` |
| 6170 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libbad_ssl_test_server.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6171 | $(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] | 6172 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6173 | $(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] | 6174 | endif |
| 6175 | |
| 6176 | |
| 6177 | |
| 6178 | |
| 6179 | endif |
| 6180 | |
| 6181 | ifneq ($(NO_SECURE),true) |
| 6182 | ifneq ($(NO_DEPS),true) |
| 6183 | -include $(LIBBAD_SSL_TEST_SERVER_OBJS:.o=.dep) |
| 6184 | endif |
| 6185 | endif |
| 6186 | |
| 6187 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6188 | LIBEND2END_TESTS_SRC = \ |
| 6189 | test/core/end2end/end2end_tests.c \ |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 6190 | test/core/end2end/tests/bad_hostname.c \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6191 | test/core/end2end/tests/binary_metadata.c \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6192 | test/core/end2end/tests/call_creds.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6193 | test/core/end2end/tests/cancel_after_accept.c \ |
| 6194 | test/core/end2end/tests/cancel_after_client_done.c \ |
| 6195 | test/core/end2end/tests/cancel_after_invoke.c \ |
| 6196 | test/core/end2end/tests/cancel_before_invoke.c \ |
| 6197 | test/core/end2end/tests/cancel_in_a_vacuum.c \ |
| 6198 | test/core/end2end/tests/cancel_with_status.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6199 | test/core/end2end/tests/compressed_payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6200 | test/core/end2end/tests/connectivity.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6201 | test/core/end2end/tests/default_host.c \ |
| 6202 | test/core/end2end/tests/disappearing_server.c \ |
| 6203 | test/core/end2end/tests/empty_batch.c \ |
Craig Tiller | a446ee2 | 2016-04-04 13:09:30 -0700 | [diff] [blame] | 6204 | test/core/end2end/tests/filter_causes_close.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6205 | test/core/end2end/tests/graceful_server_shutdown.c \ |
| 6206 | test/core/end2end/tests/high_initial_seqno.c \ |
| 6207 | test/core/end2end/tests/hpack_size.c \ |
Craig Tiller | 7885ea5 | 2016-03-10 06:53:29 -0800 | [diff] [blame] | 6208 | test/core/end2end/tests/idempotent_request.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6209 | test/core/end2end/tests/invoke_large_request.c \ |
| 6210 | test/core/end2end/tests/large_metadata.c \ |
| 6211 | test/core/end2end/tests/max_concurrent_streams.c \ |
| 6212 | test/core/end2end/tests/max_message_length.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6213 | test/core/end2end/tests/negative_deadline.c \ |
| 6214 | test/core/end2end/tests/no_op.c \ |
| 6215 | test/core/end2end/tests/payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6216 | test/core/end2end/tests/ping.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6217 | test/core/end2end/tests/ping_pong_streaming.c \ |
| 6218 | test/core/end2end/tests/registered_call.c \ |
| 6219 | test/core/end2end/tests/request_with_flags.c \ |
| 6220 | test/core/end2end/tests/request_with_payload.c \ |
| 6221 | test/core/end2end/tests/server_finishes_request.c \ |
| 6222 | test/core/end2end/tests/shutdown_finishes_calls.c \ |
| 6223 | test/core/end2end/tests/shutdown_finishes_tags.c \ |
| 6224 | test/core/end2end/tests/simple_delayed_request.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6225 | test/core/end2end/tests/simple_metadata.c \ |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6226 | test/core/end2end/tests/simple_request.c \ |
| 6227 | test/core/end2end/tests/trailing_metadata.c \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6228 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6229 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6230 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6231 | LIBEND2END_TESTS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LIBEND2END_TESTS_SRC)))) |
| 6232 | |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6233 | |
| 6234 | ifeq ($(NO_SECURE),true) |
| 6235 | |
| 6236 | # You can't build secure libraries if you don't have OpenSSL. |
| 6237 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6238 | $(LIBDIR)/$(CONFIG)/libend2end_tests.a: openssl_dep_error |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6239 | |
| 6240 | |
| 6241 | else |
| 6242 | |
| 6243 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6244 | $(LIBDIR)/$(CONFIG)/libend2end_tests.a: $(ZLIB_DEP) $(OPENSSL_DEP) $(LIBEND2END_TESTS_OBJS) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6245 | $(E) "[AR] Creating $@" |
| 6246 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6247 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libend2end_tests.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6248 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libend2end_tests.a $(LIBEND2END_TESTS_OBJS) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6249 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6250 | $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libend2end_tests.a |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6251 | endif |
| 6252 | |
| 6253 | |
| 6254 | |
| 6255 | |
| 6256 | endif |
| 6257 | |
| 6258 | ifneq ($(NO_SECURE),true) |
| 6259 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6260 | -include $(LIBEND2END_TESTS_OBJS:.o=.dep) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 6261 | endif |
| 6262 | endif |
| 6263 | |
| 6264 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6265 | LIBEND2END_NOSEC_TESTS_SRC = \ |
| 6266 | test/core/end2end/end2end_nosec_tests.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6267 | test/core/end2end/tests/bad_hostname.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6268 | test/core/end2end/tests/binary_metadata.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6269 | test/core/end2end/tests/cancel_after_accept.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6270 | test/core/end2end/tests/cancel_after_client_done.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6271 | test/core/end2end/tests/cancel_after_invoke.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6272 | test/core/end2end/tests/cancel_before_invoke.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6273 | test/core/end2end/tests/cancel_in_a_vacuum.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6274 | test/core/end2end/tests/cancel_with_status.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6275 | test/core/end2end/tests/compressed_payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6276 | test/core/end2end/tests/connectivity.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6277 | test/core/end2end/tests/default_host.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6278 | test/core/end2end/tests/disappearing_server.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6279 | test/core/end2end/tests/empty_batch.c \ |
Craig Tiller | a446ee2 | 2016-04-04 13:09:30 -0700 | [diff] [blame] | 6280 | test/core/end2end/tests/filter_causes_close.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6281 | test/core/end2end/tests/graceful_server_shutdown.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6282 | test/core/end2end/tests/high_initial_seqno.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6283 | test/core/end2end/tests/hpack_size.c \ |
Craig Tiller | 7885ea5 | 2016-03-10 06:53:29 -0800 | [diff] [blame] | 6284 | test/core/end2end/tests/idempotent_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6285 | test/core/end2end/tests/invoke_large_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6286 | test/core/end2end/tests/large_metadata.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6287 | test/core/end2end/tests/max_concurrent_streams.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6288 | test/core/end2end/tests/max_message_length.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6289 | test/core/end2end/tests/negative_deadline.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6290 | test/core/end2end/tests/no_op.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6291 | test/core/end2end/tests/payload.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6292 | test/core/end2end/tests/ping.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6293 | test/core/end2end/tests/ping_pong_streaming.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6294 | test/core/end2end/tests/registered_call.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6295 | test/core/end2end/tests/request_with_flags.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6296 | test/core/end2end/tests/request_with_payload.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6297 | test/core/end2end/tests/server_finishes_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6298 | test/core/end2end/tests/shutdown_finishes_calls.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6299 | test/core/end2end/tests/shutdown_finishes_tags.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6300 | test/core/end2end/tests/simple_delayed_request.c \ |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 6301 | test/core/end2end/tests/simple_metadata.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6302 | test/core/end2end/tests/simple_request.c \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6303 | test/core/end2end/tests/trailing_metadata.c \ |
| 6304 | |
Craig Tiller | 44cc10b | 2016-03-28 10:45:29 -0700 | [diff] [blame] | 6305 | PUBLIC_HEADERS_C += \ |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6306 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6307 | 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] | 6308 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6309 | |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6310 | $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a: $(ZLIB_DEP) $(LIBEND2END_NOSEC_TESTS_OBJS) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6311 | $(E) "[AR] Creating $@" |
| 6312 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6313 | $(Q) rm -f $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a |
Nicolas "Pixel" Noble | f51a901 | 2016-02-03 07:39:43 +0100 | [diff] [blame] | 6314 | $(Q) $(AR) $(LIBDIR)/$(CONFIG)/libend2end_nosec_tests.a $(LIBEND2END_NOSEC_TESTS_OBJS) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6315 | ifeq ($(SYSTEM),Darwin) |
Nicolas "Pixel" Noble | e0dbd3f | 2016-02-23 00:21:38 +0100 | [diff] [blame] | 6316 | $(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] | 6317 | endif |
| 6318 | |
| 6319 | |
| 6320 | |
| 6321 | |
| 6322 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6323 | -include $(LIBEND2END_NOSEC_TESTS_OBJS:.o=.dep) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 6324 | endif |
| 6325 | |
| 6326 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 6327 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 6328 | # All of the test targets, and protoc plugins |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 6329 | |
| 6330 | |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 6331 | ALARM_TEST_SRC = \ |
| 6332 | test/core/surface/alarm_test.c \ |
| 6333 | |
| 6334 | ALARM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_TEST_SRC)))) |
| 6335 | ifeq ($(NO_SECURE),true) |
| 6336 | |
| 6337 | # You can't build secure targets if you don't have OpenSSL. |
| 6338 | |
| 6339 | $(BINDIR)/$(CONFIG)/alarm_test: openssl_dep_error |
| 6340 | |
| 6341 | else |
| 6342 | |
| 6343 | |
| 6344 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 6345 | $(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] | 6346 | $(E) "[LD] Linking $@" |
| 6347 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 6348 | $(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] | 6349 | |
| 6350 | endif |
| 6351 | |
Craig Tiller | 1298afd | 2016-02-09 12:29:17 -0800 | [diff] [blame] | 6352 | $(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] | 6353 | |
| 6354 | deps_alarm_test: $(ALARM_TEST_OBJS:.o=.dep) |
| 6355 | |
| 6356 | ifneq ($(NO_SECURE),true) |
| 6357 | ifneq ($(NO_DEPS),true) |
| 6358 | -include $(ALARM_TEST_OBJS:.o=.dep) |
| 6359 | endif |
| 6360 | endif |
| 6361 | |
| 6362 | |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 6363 | ALGORITHM_TEST_SRC = \ |
| 6364 | test/core/compression/algorithm_test.c \ |
| 6365 | |
| 6366 | ALGORITHM_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALGORITHM_TEST_SRC)))) |
| 6367 | ifeq ($(NO_SECURE),true) |
| 6368 | |
| 6369 | # You can't build secure targets if you don't have OpenSSL. |
| 6370 | |
| 6371 | $(BINDIR)/$(CONFIG)/algorithm_test: openssl_dep_error |
| 6372 | |
| 6373 | else |
| 6374 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6375 | |
| 6376 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6377 | $(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] | 6378 | $(E) "[LD] Linking $@" |
| 6379 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6380 | $(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] | 6381 | |
| 6382 | endif |
| 6383 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6384 | $(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] | 6385 | |
David Garcia Quintas | 48ec806 | 2015-12-11 14:04:59 -0800 | [diff] [blame] | 6386 | deps_algorithm_test: $(ALGORITHM_TEST_OBJS:.o=.dep) |
| 6387 | |
| 6388 | ifneq ($(NO_SECURE),true) |
| 6389 | ifneq ($(NO_DEPS),true) |
| 6390 | -include $(ALGORITHM_TEST_OBJS:.o=.dep) |
| 6391 | endif |
| 6392 | endif |
| 6393 | |
| 6394 | |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 6395 | ALLOC_TEST_SRC = \ |
| 6396 | test/core/support/alloc_test.c \ |
| 6397 | |
| 6398 | ALLOC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALLOC_TEST_SRC)))) |
| 6399 | ifeq ($(NO_SECURE),true) |
| 6400 | |
| 6401 | # You can't build secure targets if you don't have OpenSSL. |
| 6402 | |
| 6403 | $(BINDIR)/$(CONFIG)/alloc_test: openssl_dep_error |
| 6404 | |
| 6405 | else |
| 6406 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6407 | |
| 6408 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6409 | $(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] | 6410 | $(E) "[LD] Linking $@" |
| 6411 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6412 | $(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] | 6413 | |
| 6414 | endif |
| 6415 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6416 | $(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] | 6417 | |
David Garcia Quintas | a5aa19b | 2015-12-09 14:17:52 -0800 | [diff] [blame] | 6418 | deps_alloc_test: $(ALLOC_TEST_OBJS:.o=.dep) |
| 6419 | |
| 6420 | ifneq ($(NO_SECURE),true) |
| 6421 | ifneq ($(NO_DEPS),true) |
| 6422 | -include $(ALLOC_TEST_OBJS:.o=.dep) |
| 6423 | endif |
| 6424 | endif |
| 6425 | |
| 6426 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6427 | ALPN_TEST_SRC = \ |
| 6428 | test/core/transport/chttp2/alpn_test.c \ |
| 6429 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6430 | ALPN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALPN_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6431 | ifeq ($(NO_SECURE),true) |
| 6432 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6433 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6434 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6435 | $(BINDIR)/$(CONFIG)/alpn_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6436 | |
| 6437 | else |
| 6438 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6439 | |
| 6440 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6441 | $(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] | 6442 | $(E) "[LD] Linking $@" |
| 6443 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6444 | $(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] | 6445 | |
| 6446 | endif |
| 6447 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6448 | $(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] | 6449 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6450 | deps_alpn_test: $(ALPN_TEST_OBJS:.o=.dep) |
| 6451 | |
| 6452 | ifneq ($(NO_SECURE),true) |
| 6453 | ifneq ($(NO_DEPS),true) |
| 6454 | -include $(ALPN_TEST_OBJS:.o=.dep) |
| 6455 | endif |
| 6456 | endif |
| 6457 | |
| 6458 | |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 6459 | API_FUZZER_SRC = \ |
| 6460 | test/core/end2end/fuzzers/api_fuzzer.c \ |
| 6461 | |
| 6462 | API_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(API_FUZZER_SRC)))) |
| 6463 | ifeq ($(NO_SECURE),true) |
| 6464 | |
| 6465 | # You can't build secure targets if you don't have OpenSSL. |
| 6466 | |
| 6467 | $(BINDIR)/$(CONFIG)/api_fuzzer: openssl_dep_error |
| 6468 | |
| 6469 | else |
| 6470 | |
| 6471 | |
| 6472 | |
| 6473 | $(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 |
| 6474 | $(E) "[LD] Linking $@" |
| 6475 | $(Q) mkdir -p `dirname $@` |
| 6476 | $(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 |
| 6477 | |
| 6478 | endif |
| 6479 | |
| 6480 | $(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 |
| 6481 | |
| 6482 | deps_api_fuzzer: $(API_FUZZER_OBJS:.o=.dep) |
| 6483 | |
| 6484 | ifneq ($(NO_SECURE),true) |
| 6485 | ifneq ($(NO_DEPS),true) |
| 6486 | -include $(API_FUZZER_OBJS:.o=.dep) |
| 6487 | endif |
| 6488 | endif |
| 6489 | |
| 6490 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6491 | BIN_ENCODER_TEST_SRC = \ |
| 6492 | test/core/transport/chttp2/bin_encoder_test.c \ |
| 6493 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6494 | 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] | 6495 | ifeq ($(NO_SECURE),true) |
| 6496 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6497 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6498 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6499 | $(BINDIR)/$(CONFIG)/bin_encoder_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6500 | |
| 6501 | else |
| 6502 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6503 | |
| 6504 | |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 6505 | $(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] | 6506 | $(E) "[LD] Linking $@" |
| 6507 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 6508 | $(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] | 6509 | |
| 6510 | endif |
| 6511 | |
Nicolas "Pixel" Noble | 0912179 | 2016-01-30 09:01:53 +0100 | [diff] [blame] | 6512 | $(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] | 6513 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6514 | deps_bin_encoder_test: $(BIN_ENCODER_TEST_OBJS:.o=.dep) |
| 6515 | |
| 6516 | ifneq ($(NO_SECURE),true) |
| 6517 | ifneq ($(NO_DEPS),true) |
| 6518 | -include $(BIN_ENCODER_TEST_OBJS:.o=.dep) |
| 6519 | endif |
| 6520 | endif |
| 6521 | |
| 6522 | |
Alistair Veitch | 75d5c0f | 2016-02-02 09:43:02 -0800 | [diff] [blame] | 6523 | CENSUS_CONTEXT_TEST_SRC = \ |
| 6524 | test/core/census/context_test.c \ |
| 6525 | |
| 6526 | CENSUS_CONTEXT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CENSUS_CONTEXT_TEST_SRC)))) |
| 6527 | ifeq ($(NO_SECURE),true) |
| 6528 | |
| 6529 | # You can't build secure targets if you don't have OpenSSL. |
| 6530 | |
| 6531 | $(BINDIR)/$(CONFIG)/census_context_test: openssl_dep_error |
| 6532 | |
| 6533 | else |
| 6534 | |
| 6535 | |
| 6536 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6537 | $(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] | 6538 | $(E) "[LD] Linking $@" |
| 6539 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6540 | $(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] | 6541 | |
| 6542 | endif |
| 6543 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6544 | $(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] | 6545 | |
| 6546 | deps_census_context_test: $(CENSUS_CONTEXT_TEST_OBJS:.o=.dep) |
| 6547 | |
| 6548 | ifneq ($(NO_SECURE),true) |
| 6549 | ifneq ($(NO_DEPS),true) |
| 6550 | -include $(CENSUS_CONTEXT_TEST_OBJS:.o=.dep) |
| 6551 | endif |
| 6552 | endif |
| 6553 | |
| 6554 | |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 6555 | CHANNEL_CREATE_TEST_SRC = \ |
| 6556 | test/core/surface/channel_create_test.c \ |
| 6557 | |
| 6558 | CHANNEL_CREATE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHANNEL_CREATE_TEST_SRC)))) |
| 6559 | ifeq ($(NO_SECURE),true) |
| 6560 | |
| 6561 | # You can't build secure targets if you don't have OpenSSL. |
| 6562 | |
| 6563 | $(BINDIR)/$(CONFIG)/channel_create_test: openssl_dep_error |
| 6564 | |
| 6565 | else |
| 6566 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6567 | |
| 6568 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6569 | $(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] | 6570 | $(E) "[LD] Linking $@" |
| 6571 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6572 | $(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] | 6573 | |
| 6574 | endif |
| 6575 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6576 | $(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] | 6577 | |
yang-g | c0ed509 | 2015-12-09 08:48:08 -0800 | [diff] [blame] | 6578 | deps_channel_create_test: $(CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 6579 | |
| 6580 | ifneq ($(NO_SECURE),true) |
| 6581 | ifneq ($(NO_DEPS),true) |
| 6582 | -include $(CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 6583 | endif |
| 6584 | endif |
| 6585 | |
| 6586 | |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 6587 | CHTTP2_HPACK_ENCODER_TEST_SRC = \ |
| 6588 | test/core/transport/chttp2/hpack_encoder_test.c \ |
| 6589 | |
| 6590 | CHTTP2_HPACK_ENCODER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_HPACK_ENCODER_TEST_SRC)))) |
| 6591 | ifeq ($(NO_SECURE),true) |
| 6592 | |
| 6593 | # You can't build secure targets if you don't have OpenSSL. |
| 6594 | |
| 6595 | $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test: openssl_dep_error |
| 6596 | |
| 6597 | else |
| 6598 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6599 | |
| 6600 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6601 | $(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] | 6602 | $(E) "[LD] Linking $@" |
| 6603 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6604 | $(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] | 6605 | |
| 6606 | endif |
| 6607 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6608 | $(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] | 6609 | |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 6610 | deps_chttp2_hpack_encoder_test: $(CHTTP2_HPACK_ENCODER_TEST_OBJS:.o=.dep) |
| 6611 | |
| 6612 | ifneq ($(NO_SECURE),true) |
| 6613 | ifneq ($(NO_DEPS),true) |
| 6614 | -include $(CHTTP2_HPACK_ENCODER_TEST_OBJS:.o=.dep) |
| 6615 | endif |
| 6616 | endif |
| 6617 | |
| 6618 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6619 | CHTTP2_STATUS_CONVERSION_TEST_SRC = \ |
| 6620 | test/core/transport/chttp2/status_conversion_test.c \ |
| 6621 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6622 | 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] | 6623 | ifeq ($(NO_SECURE),true) |
| 6624 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6625 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6626 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6627 | $(BINDIR)/$(CONFIG)/chttp2_status_conversion_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6628 | |
| 6629 | else |
| 6630 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6631 | |
| 6632 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6633 | $(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] | 6634 | $(E) "[LD] Linking $@" |
| 6635 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6636 | $(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] | 6637 | |
| 6638 | endif |
| 6639 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6640 | $(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] | 6641 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6642 | deps_chttp2_status_conversion_test: $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep) |
| 6643 | |
| 6644 | ifneq ($(NO_SECURE),true) |
| 6645 | ifneq ($(NO_DEPS),true) |
| 6646 | -include $(CHTTP2_STATUS_CONVERSION_TEST_OBJS:.o=.dep) |
| 6647 | endif |
| 6648 | endif |
| 6649 | |
| 6650 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6651 | CHTTP2_STREAM_MAP_TEST_SRC = \ |
| 6652 | test/core/transport/chttp2/stream_map_test.c \ |
| 6653 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6654 | 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] | 6655 | ifeq ($(NO_SECURE),true) |
| 6656 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6657 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6658 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6659 | $(BINDIR)/$(CONFIG)/chttp2_stream_map_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6660 | |
| 6661 | else |
| 6662 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6663 | |
| 6664 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6665 | $(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] | 6666 | $(E) "[LD] Linking $@" |
| 6667 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6668 | $(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] | 6669 | |
| 6670 | endif |
| 6671 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6672 | $(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] | 6673 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6674 | deps_chttp2_stream_map_test: $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep) |
| 6675 | |
| 6676 | ifneq ($(NO_SECURE),true) |
| 6677 | ifneq ($(NO_DEPS),true) |
| 6678 | -include $(CHTTP2_STREAM_MAP_TEST_OBJS:.o=.dep) |
| 6679 | endif |
| 6680 | endif |
| 6681 | |
| 6682 | |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 6683 | CHTTP2_VARINT_TEST_SRC = \ |
| 6684 | test/core/transport/chttp2/varint_test.c \ |
| 6685 | |
| 6686 | CHTTP2_VARINT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CHTTP2_VARINT_TEST_SRC)))) |
| 6687 | ifeq ($(NO_SECURE),true) |
| 6688 | |
| 6689 | # You can't build secure targets if you don't have OpenSSL. |
| 6690 | |
| 6691 | $(BINDIR)/$(CONFIG)/chttp2_varint_test: openssl_dep_error |
| 6692 | |
| 6693 | else |
| 6694 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6695 | |
| 6696 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6697 | $(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] | 6698 | $(E) "[LD] Linking $@" |
| 6699 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6700 | $(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] | 6701 | |
| 6702 | endif |
| 6703 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6704 | $(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] | 6705 | |
Craig Tiller | 8ab91b2 | 2015-12-07 11:28:51 -0800 | [diff] [blame] | 6706 | deps_chttp2_varint_test: $(CHTTP2_VARINT_TEST_OBJS:.o=.dep) |
| 6707 | |
| 6708 | ifneq ($(NO_SECURE),true) |
| 6709 | ifneq ($(NO_DEPS),true) |
| 6710 | -include $(CHTTP2_VARINT_TEST_OBJS:.o=.dep) |
| 6711 | endif |
| 6712 | endif |
| 6713 | |
| 6714 | |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 6715 | CLIENT_FUZZER_SRC = \ |
| 6716 | test/core/end2end/fuzzers/client_fuzzer.c \ |
| 6717 | |
| 6718 | CLIENT_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLIENT_FUZZER_SRC)))) |
| 6719 | ifeq ($(NO_SECURE),true) |
| 6720 | |
| 6721 | # You can't build secure targets if you don't have OpenSSL. |
| 6722 | |
| 6723 | $(BINDIR)/$(CONFIG)/client_fuzzer: openssl_dep_error |
| 6724 | |
| 6725 | else |
| 6726 | |
| 6727 | |
| 6728 | |
| 6729 | $(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 |
| 6730 | $(E) "[LD] Linking $@" |
| 6731 | $(Q) mkdir -p `dirname $@` |
| 6732 | $(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 |
| 6733 | |
| 6734 | endif |
| 6735 | |
| 6736 | $(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 |
| 6737 | |
| 6738 | deps_client_fuzzer: $(CLIENT_FUZZER_OBJS:.o=.dep) |
| 6739 | |
| 6740 | ifneq ($(NO_SECURE),true) |
| 6741 | ifneq ($(NO_DEPS),true) |
| 6742 | -include $(CLIENT_FUZZER_OBJS:.o=.dep) |
| 6743 | endif |
| 6744 | endif |
| 6745 | |
| 6746 | |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 6747 | COMPRESSION_TEST_SRC = \ |
| 6748 | test/core/compression/compression_test.c \ |
| 6749 | |
| 6750 | COMPRESSION_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(COMPRESSION_TEST_SRC)))) |
| 6751 | ifeq ($(NO_SECURE),true) |
| 6752 | |
| 6753 | # You can't build secure targets if you don't have OpenSSL. |
| 6754 | |
| 6755 | $(BINDIR)/$(CONFIG)/compression_test: openssl_dep_error |
| 6756 | |
| 6757 | else |
| 6758 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6759 | |
| 6760 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6761 | $(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] | 6762 | $(E) "[LD] Linking $@" |
| 6763 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6764 | $(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] | 6765 | |
| 6766 | endif |
| 6767 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6768 | $(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] | 6769 | |
David Garcia Quintas | 8ec09f6 | 2015-07-21 17:18:36 -0700 | [diff] [blame] | 6770 | deps_compression_test: $(COMPRESSION_TEST_OBJS:.o=.dep) |
| 6771 | |
| 6772 | ifneq ($(NO_SECURE),true) |
| 6773 | ifneq ($(NO_DEPS),true) |
| 6774 | -include $(COMPRESSION_TEST_OBJS:.o=.dep) |
| 6775 | endif |
| 6776 | endif |
| 6777 | |
| 6778 | |
Craig Tiller | 57e2743 | 2016-03-11 16:53:58 -0800 | [diff] [blame] | 6779 | CONCURRENT_CONNECTIVITY_TEST_SRC = \ |
| 6780 | test/core/surface/concurrent_connectivity_test.c \ |
| 6781 | |
| 6782 | CONCURRENT_CONNECTIVITY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CONCURRENT_CONNECTIVITY_TEST_SRC)))) |
| 6783 | ifeq ($(NO_SECURE),true) |
| 6784 | |
| 6785 | # You can't build secure targets if you don't have OpenSSL. |
| 6786 | |
| 6787 | $(BINDIR)/$(CONFIG)/concurrent_connectivity_test: openssl_dep_error |
| 6788 | |
| 6789 | else |
| 6790 | |
| 6791 | |
| 6792 | |
| 6793 | $(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 |
| 6794 | $(E) "[LD] Linking $@" |
| 6795 | $(Q) mkdir -p `dirname $@` |
| 6796 | $(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 |
| 6797 | |
| 6798 | endif |
| 6799 | |
| 6800 | $(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 |
| 6801 | |
| 6802 | deps_concurrent_connectivity_test: $(CONCURRENT_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 6803 | |
| 6804 | ifneq ($(NO_SECURE),true) |
| 6805 | ifneq ($(NO_DEPS),true) |
| 6806 | -include $(CONCURRENT_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 6807 | endif |
| 6808 | endif |
| 6809 | |
| 6810 | |
Craig Tiller | e91ef68 | 2016-03-11 08:59:17 -0800 | [diff] [blame] | 6811 | DNS_RESOLVER_CONNECTIVITY_TEST_SRC = \ |
| 6812 | test/core/client_config/resolvers/dns_resolver_connectivity_test.c \ |
| 6813 | |
| 6814 | DNS_RESOLVER_CONNECTIVITY_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DNS_RESOLVER_CONNECTIVITY_TEST_SRC)))) |
| 6815 | ifeq ($(NO_SECURE),true) |
| 6816 | |
| 6817 | # You can't build secure targets if you don't have OpenSSL. |
| 6818 | |
| 6819 | $(BINDIR)/$(CONFIG)/dns_resolver_connectivity_test: openssl_dep_error |
| 6820 | |
| 6821 | else |
| 6822 | |
| 6823 | |
| 6824 | |
| 6825 | $(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 |
| 6826 | $(E) "[LD] Linking $@" |
| 6827 | $(Q) mkdir -p `dirname $@` |
| 6828 | $(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 |
| 6829 | |
| 6830 | endif |
| 6831 | |
| 6832 | $(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 |
| 6833 | |
| 6834 | deps_dns_resolver_connectivity_test: $(DNS_RESOLVER_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 6835 | |
| 6836 | ifneq ($(NO_SECURE),true) |
| 6837 | ifneq ($(NO_DEPS),true) |
| 6838 | -include $(DNS_RESOLVER_CONNECTIVITY_TEST_OBJS:.o=.dep) |
| 6839 | endif |
| 6840 | endif |
| 6841 | |
| 6842 | |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 6843 | DNS_RESOLVER_TEST_SRC = \ |
| 6844 | test/core/client_config/resolvers/dns_resolver_test.c \ |
| 6845 | |
| 6846 | DNS_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(DNS_RESOLVER_TEST_SRC)))) |
| 6847 | ifeq ($(NO_SECURE),true) |
| 6848 | |
| 6849 | # You can't build secure targets if you don't have OpenSSL. |
| 6850 | |
| 6851 | $(BINDIR)/$(CONFIG)/dns_resolver_test: openssl_dep_error |
| 6852 | |
| 6853 | else |
| 6854 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6855 | |
| 6856 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6857 | $(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] | 6858 | $(E) "[LD] Linking $@" |
| 6859 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6860 | $(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] | 6861 | |
| 6862 | endif |
| 6863 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6864 | $(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] | 6865 | |
Craig Tiller | 147c4f4 | 2015-12-11 12:32:39 -0800 | [diff] [blame] | 6866 | deps_dns_resolver_test: $(DNS_RESOLVER_TEST_OBJS:.o=.dep) |
| 6867 | |
| 6868 | ifneq ($(NO_SECURE),true) |
| 6869 | ifneq ($(NO_DEPS),true) |
| 6870 | -include $(DNS_RESOLVER_TEST_OBJS:.o=.dep) |
| 6871 | endif |
| 6872 | endif |
| 6873 | |
| 6874 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6875 | DUALSTACK_SOCKET_TEST_SRC = \ |
| 6876 | test/core/end2end/dualstack_socket_test.c \ |
| 6877 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6878 | 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] | 6879 | ifeq ($(NO_SECURE),true) |
| 6880 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6881 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6882 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6883 | $(BINDIR)/$(CONFIG)/dualstack_socket_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6884 | |
| 6885 | else |
| 6886 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6887 | |
| 6888 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6889 | $(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] | 6890 | $(E) "[LD] Linking $@" |
| 6891 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6892 | $(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] | 6893 | |
| 6894 | endif |
| 6895 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6896 | $(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] | 6897 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6898 | deps_dualstack_socket_test: $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep) |
| 6899 | |
| 6900 | ifneq ($(NO_SECURE),true) |
| 6901 | ifneq ($(NO_DEPS),true) |
| 6902 | -include $(DUALSTACK_SOCKET_TEST_OBJS:.o=.dep) |
| 6903 | endif |
| 6904 | endif |
| 6905 | |
| 6906 | |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 6907 | ENDPOINT_PAIR_TEST_SRC = \ |
| 6908 | test/core/iomgr/endpoint_pair_test.c \ |
| 6909 | |
| 6910 | ENDPOINT_PAIR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ENDPOINT_PAIR_TEST_SRC)))) |
| 6911 | ifeq ($(NO_SECURE),true) |
| 6912 | |
| 6913 | # You can't build secure targets if you don't have OpenSSL. |
| 6914 | |
| 6915 | $(BINDIR)/$(CONFIG)/endpoint_pair_test: openssl_dep_error |
| 6916 | |
| 6917 | else |
| 6918 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6919 | |
| 6920 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6921 | $(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] | 6922 | $(E) "[LD] Linking $@" |
| 6923 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6924 | $(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] | 6925 | |
| 6926 | endif |
| 6927 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6928 | $(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] | 6929 | |
Craig Tiller | ae69ad1 | 2015-08-27 09:06:31 -0700 | [diff] [blame] | 6930 | deps_endpoint_pair_test: $(ENDPOINT_PAIR_TEST_OBJS:.o=.dep) |
| 6931 | |
| 6932 | ifneq ($(NO_SECURE),true) |
| 6933 | ifneq ($(NO_DEPS),true) |
| 6934 | -include $(ENDPOINT_PAIR_TEST_OBJS:.o=.dep) |
| 6935 | endif |
| 6936 | endif |
| 6937 | |
| 6938 | |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 6939 | FD_CONSERVATION_POSIX_TEST_SRC = \ |
| 6940 | test/core/iomgr/fd_conservation_posix_test.c \ |
| 6941 | |
| 6942 | FD_CONSERVATION_POSIX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FD_CONSERVATION_POSIX_TEST_SRC)))) |
| 6943 | ifeq ($(NO_SECURE),true) |
| 6944 | |
Craig Tiller | 8ebc34d | 2015-07-08 07:46:04 -0700 | [diff] [blame] | 6945 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 6946 | |
| 6947 | $(BINDIR)/$(CONFIG)/fd_conservation_posix_test: openssl_dep_error |
| 6948 | |
| 6949 | else |
| 6950 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6951 | |
| 6952 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6953 | $(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] | 6954 | $(E) "[LD] Linking $@" |
| 6955 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6956 | $(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] | 6957 | |
| 6958 | endif |
| 6959 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6960 | $(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] | 6961 | |
Craig Tiller | ee98d84 | 2015-06-29 08:45:55 -0700 | [diff] [blame] | 6962 | deps_fd_conservation_posix_test: $(FD_CONSERVATION_POSIX_TEST_OBJS:.o=.dep) |
| 6963 | |
| 6964 | ifneq ($(NO_SECURE),true) |
| 6965 | ifneq ($(NO_DEPS),true) |
| 6966 | -include $(FD_CONSERVATION_POSIX_TEST_OBJS:.o=.dep) |
| 6967 | endif |
| 6968 | endif |
| 6969 | |
| 6970 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6971 | FD_POSIX_TEST_SRC = \ |
| 6972 | test/core/iomgr/fd_posix_test.c \ |
| 6973 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6974 | 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] | 6975 | ifeq ($(NO_SECURE),true) |
| 6976 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 6977 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6978 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 6979 | $(BINDIR)/$(CONFIG)/fd_posix_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6980 | |
| 6981 | else |
| 6982 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 6983 | |
| 6984 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6985 | $(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] | 6986 | $(E) "[LD] Linking $@" |
| 6987 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6988 | $(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] | 6989 | |
| 6990 | endif |
| 6991 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 6992 | $(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] | 6993 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 6994 | deps_fd_posix_test: $(FD_POSIX_TEST_OBJS:.o=.dep) |
| 6995 | |
| 6996 | ifneq ($(NO_SECURE),true) |
| 6997 | ifneq ($(NO_DEPS),true) |
| 6998 | -include $(FD_POSIX_TEST_OBJS:.o=.dep) |
| 6999 | endif |
| 7000 | endif |
| 7001 | |
| 7002 | |
| 7003 | FLING_CLIENT_SRC = \ |
| 7004 | test/core/fling/client.c \ |
| 7005 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7006 | FLING_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_CLIENT_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7007 | ifeq ($(NO_SECURE),true) |
| 7008 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7009 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7010 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7011 | $(BINDIR)/$(CONFIG)/fling_client: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7012 | |
| 7013 | else |
| 7014 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7015 | |
| 7016 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7017 | $(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] | 7018 | $(E) "[LD] Linking $@" |
| 7019 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7020 | $(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] | 7021 | |
| 7022 | endif |
| 7023 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7024 | $(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] | 7025 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7026 | deps_fling_client: $(FLING_CLIENT_OBJS:.o=.dep) |
| 7027 | |
| 7028 | ifneq ($(NO_SECURE),true) |
| 7029 | ifneq ($(NO_DEPS),true) |
| 7030 | -include $(FLING_CLIENT_OBJS:.o=.dep) |
| 7031 | endif |
| 7032 | endif |
| 7033 | |
| 7034 | |
| 7035 | FLING_SERVER_SRC = \ |
| 7036 | test/core/fling/server.c \ |
| 7037 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7038 | FLING_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_SERVER_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7039 | ifeq ($(NO_SECURE),true) |
| 7040 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7041 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7042 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7043 | $(BINDIR)/$(CONFIG)/fling_server: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7044 | |
| 7045 | else |
| 7046 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7047 | |
| 7048 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7049 | $(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] | 7050 | $(E) "[LD] Linking $@" |
| 7051 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7052 | $(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] | 7053 | |
| 7054 | endif |
| 7055 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7056 | $(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] | 7057 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7058 | deps_fling_server: $(FLING_SERVER_OBJS:.o=.dep) |
| 7059 | |
| 7060 | ifneq ($(NO_SECURE),true) |
| 7061 | ifneq ($(NO_DEPS),true) |
| 7062 | -include $(FLING_SERVER_OBJS:.o=.dep) |
| 7063 | endif |
| 7064 | endif |
| 7065 | |
| 7066 | |
| 7067 | FLING_STREAM_TEST_SRC = \ |
| 7068 | test/core/fling/fling_stream_test.c \ |
| 7069 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7070 | 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] | 7071 | ifeq ($(NO_SECURE),true) |
| 7072 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7073 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7074 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7075 | $(BINDIR)/$(CONFIG)/fling_stream_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7076 | |
| 7077 | else |
| 7078 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7079 | |
| 7080 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7081 | $(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] | 7082 | $(E) "[LD] Linking $@" |
| 7083 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7084 | $(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] | 7085 | |
| 7086 | endif |
| 7087 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7088 | $(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] | 7089 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7090 | deps_fling_stream_test: $(FLING_STREAM_TEST_OBJS:.o=.dep) |
| 7091 | |
| 7092 | ifneq ($(NO_SECURE),true) |
| 7093 | ifneq ($(NO_DEPS),true) |
| 7094 | -include $(FLING_STREAM_TEST_OBJS:.o=.dep) |
| 7095 | endif |
| 7096 | endif |
| 7097 | |
| 7098 | |
| 7099 | FLING_TEST_SRC = \ |
| 7100 | test/core/fling/fling_test.c \ |
| 7101 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7102 | FLING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(FLING_TEST_SRC)))) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7103 | ifeq ($(NO_SECURE),true) |
| 7104 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7105 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7106 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7107 | $(BINDIR)/$(CONFIG)/fling_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7108 | |
| 7109 | else |
| 7110 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7111 | |
| 7112 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7113 | $(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] | 7114 | $(E) "[LD] Linking $@" |
| 7115 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7116 | $(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] | 7117 | |
| 7118 | endif |
| 7119 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7120 | $(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] | 7121 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7122 | deps_fling_test: $(FLING_TEST_OBJS:.o=.dep) |
| 7123 | |
| 7124 | ifneq ($(NO_SECURE),true) |
| 7125 | ifneq ($(NO_DEPS),true) |
| 7126 | -include $(FLING_TEST_OBJS:.o=.dep) |
| 7127 | endif |
| 7128 | endif |
| 7129 | |
| 7130 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7131 | GEN_HPACK_TABLES_SRC = \ |
Craig Tiller | 31489e3 | 2015-06-23 14:27:34 -0700 | [diff] [blame] | 7132 | tools/codegen/core/gen_hpack_tables.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7133 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7134 | 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] | 7135 | ifeq ($(NO_SECURE),true) |
| 7136 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7137 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7138 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7139 | $(BINDIR)/$(CONFIG)/gen_hpack_tables: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7140 | |
| 7141 | else |
| 7142 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7143 | |
| 7144 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7145 | $(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] | 7146 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7147 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7148 | $(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] | 7149 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7150 | endif |
| 7151 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7152 | $(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] | 7153 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7154 | deps_gen_hpack_tables: $(GEN_HPACK_TABLES_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7155 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7156 | ifneq ($(NO_SECURE),true) |
| 7157 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7158 | -include $(GEN_HPACK_TABLES_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7159 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7160 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7161 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7162 | |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 7163 | GEN_LEGAL_METADATA_CHARACTERS_SRC = \ |
| 7164 | tools/codegen/core/gen_legal_metadata_characters.c \ |
| 7165 | |
| 7166 | GEN_LEGAL_METADATA_CHARACTERS_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GEN_LEGAL_METADATA_CHARACTERS_SRC)))) |
| 7167 | ifeq ($(NO_SECURE),true) |
| 7168 | |
| 7169 | # You can't build secure targets if you don't have OpenSSL. |
| 7170 | |
| 7171 | $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters: openssl_dep_error |
| 7172 | |
| 7173 | else |
| 7174 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7175 | |
| 7176 | |
Craig Tiller | 11a28c7 | 2015-08-24 07:54:34 -0700 | [diff] [blame] | 7177 | $(BINDIR)/$(CONFIG)/gen_legal_metadata_characters: $(GEN_LEGAL_METADATA_CHARACTERS_OBJS) |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 7178 | $(E) "[LD] Linking $@" |
| 7179 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 11a28c7 | 2015-08-24 07:54:34 -0700 | [diff] [blame] | 7180 | $(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] | 7181 | |
| 7182 | endif |
| 7183 | |
Craig Tiller | 11a28c7 | 2015-08-24 07:54:34 -0700 | [diff] [blame] | 7184 | $(OBJDIR)/$(CONFIG)/tools/codegen/core/gen_legal_metadata_characters.o: |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 7185 | |
Craig Tiller | 49772e0 | 2015-08-21 08:08:37 -0700 | [diff] [blame] | 7186 | deps_gen_legal_metadata_characters: $(GEN_LEGAL_METADATA_CHARACTERS_OBJS:.o=.dep) |
| 7187 | |
| 7188 | ifneq ($(NO_SECURE),true) |
| 7189 | ifneq ($(NO_DEPS),true) |
| 7190 | -include $(GEN_LEGAL_METADATA_CHARACTERS_OBJS:.o=.dep) |
| 7191 | endif |
| 7192 | endif |
| 7193 | |
| 7194 | |
Craig Tiller | 1b71958 | 2016-03-24 09:06:13 -0700 | [diff] [blame] | 7195 | GOAWAY_SERVER_TEST_SRC = \ |
| 7196 | test/core/end2end/goaway_server_test.c \ |
| 7197 | |
| 7198 | GOAWAY_SERVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GOAWAY_SERVER_TEST_SRC)))) |
| 7199 | ifeq ($(NO_SECURE),true) |
| 7200 | |
| 7201 | # You can't build secure targets if you don't have OpenSSL. |
| 7202 | |
| 7203 | $(BINDIR)/$(CONFIG)/goaway_server_test: openssl_dep_error |
| 7204 | |
| 7205 | else |
| 7206 | |
| 7207 | |
| 7208 | |
| 7209 | $(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 |
| 7210 | $(E) "[LD] Linking $@" |
| 7211 | $(Q) mkdir -p `dirname $@` |
| 7212 | $(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 |
| 7213 | |
| 7214 | endif |
| 7215 | |
| 7216 | $(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 |
| 7217 | |
| 7218 | deps_goaway_server_test: $(GOAWAY_SERVER_TEST_OBJS:.o=.dep) |
| 7219 | |
| 7220 | ifneq ($(NO_SECURE),true) |
| 7221 | ifneq ($(NO_DEPS),true) |
| 7222 | -include $(GOAWAY_SERVER_TEST_OBJS:.o=.dep) |
| 7223 | endif |
| 7224 | endif |
| 7225 | |
| 7226 | |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 7227 | GPR_AVL_TEST_SRC = \ |
| 7228 | test/core/support/avl_test.c \ |
| 7229 | |
| 7230 | GPR_AVL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_AVL_TEST_SRC)))) |
| 7231 | ifeq ($(NO_SECURE),true) |
| 7232 | |
| 7233 | # You can't build secure targets if you don't have OpenSSL. |
| 7234 | |
| 7235 | $(BINDIR)/$(CONFIG)/gpr_avl_test: openssl_dep_error |
| 7236 | |
| 7237 | else |
| 7238 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7239 | |
| 7240 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7241 | $(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] | 7242 | $(E) "[LD] Linking $@" |
| 7243 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7244 | $(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] | 7245 | |
| 7246 | endif |
| 7247 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7248 | $(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] | 7249 | |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 7250 | deps_gpr_avl_test: $(GPR_AVL_TEST_OBJS:.o=.dep) |
| 7251 | |
| 7252 | ifneq ($(NO_SECURE),true) |
| 7253 | ifneq ($(NO_DEPS),true) |
| 7254 | -include $(GPR_AVL_TEST_OBJS:.o=.dep) |
| 7255 | endif |
| 7256 | endif |
| 7257 | |
| 7258 | |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 7259 | GPR_BACKOFF_TEST_SRC = \ |
| 7260 | test/core/support/backoff_test.c \ |
| 7261 | |
| 7262 | GPR_BACKOFF_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_BACKOFF_TEST_SRC)))) |
| 7263 | ifeq ($(NO_SECURE),true) |
| 7264 | |
| 7265 | # You can't build secure targets if you don't have OpenSSL. |
| 7266 | |
| 7267 | $(BINDIR)/$(CONFIG)/gpr_backoff_test: openssl_dep_error |
| 7268 | |
| 7269 | else |
| 7270 | |
| 7271 | |
| 7272 | |
| 7273 | $(BINDIR)/$(CONFIG)/gpr_backoff_test: $(GPR_BACKOFF_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7274 | $(E) "[LD] Linking $@" |
| 7275 | $(Q) mkdir -p `dirname $@` |
| 7276 | $(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 |
| 7277 | |
| 7278 | endif |
| 7279 | |
| 7280 | $(OBJDIR)/$(CONFIG)/test/core/support/backoff_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7281 | |
| 7282 | deps_gpr_backoff_test: $(GPR_BACKOFF_TEST_OBJS:.o=.dep) |
| 7283 | |
| 7284 | ifneq ($(NO_SECURE),true) |
| 7285 | ifneq ($(NO_DEPS),true) |
| 7286 | -include $(GPR_BACKOFF_TEST_OBJS:.o=.dep) |
| 7287 | endif |
| 7288 | endif |
| 7289 | |
| 7290 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7291 | GPR_CMDLINE_TEST_SRC = \ |
| 7292 | test/core/support/cmdline_test.c \ |
| 7293 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7294 | 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] | 7295 | ifeq ($(NO_SECURE),true) |
| 7296 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7297 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7298 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7299 | $(BINDIR)/$(CONFIG)/gpr_cmdline_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7300 | |
| 7301 | else |
| 7302 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7303 | |
| 7304 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7305 | $(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] | 7306 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7307 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7308 | $(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] | 7309 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7310 | endif |
| 7311 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7312 | $(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] | 7313 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7314 | deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS:.o=.dep) |
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 | ifneq ($(NO_SECURE),true) |
| 7317 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7318 | -include $(GPR_CMDLINE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7319 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7320 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7321 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7322 | |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 7323 | GPR_CPU_TEST_SRC = \ |
| 7324 | test/core/support/cpu_test.c \ |
| 7325 | |
| 7326 | GPR_CPU_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CPU_TEST_SRC)))) |
| 7327 | ifeq ($(NO_SECURE),true) |
| 7328 | |
| 7329 | # You can't build secure targets if you don't have OpenSSL. |
| 7330 | |
| 7331 | $(BINDIR)/$(CONFIG)/gpr_cpu_test: openssl_dep_error |
| 7332 | |
| 7333 | else |
| 7334 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7335 | |
| 7336 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7337 | $(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] | 7338 | $(E) "[LD] Linking $@" |
| 7339 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7340 | $(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] | 7341 | |
| 7342 | endif |
| 7343 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7344 | $(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] | 7345 | |
Alistair Veitch | dcfb3fe | 2015-10-20 17:01:59 -0700 | [diff] [blame] | 7346 | deps_gpr_cpu_test: $(GPR_CPU_TEST_OBJS:.o=.dep) |
| 7347 | |
| 7348 | ifneq ($(NO_SECURE),true) |
| 7349 | ifneq ($(NO_DEPS),true) |
| 7350 | -include $(GPR_CPU_TEST_OBJS:.o=.dep) |
| 7351 | endif |
| 7352 | endif |
| 7353 | |
| 7354 | |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 7355 | GPR_ENV_TEST_SRC = \ |
| 7356 | test/core/support/env_test.c \ |
| 7357 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7358 | 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] | 7359 | ifeq ($(NO_SECURE),true) |
| 7360 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7361 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 7362 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7363 | $(BINDIR)/$(CONFIG)/gpr_env_test: openssl_dep_error |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 7364 | |
| 7365 | else |
| 7366 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7367 | |
| 7368 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7369 | $(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] | 7370 | $(E) "[LD] Linking $@" |
| 7371 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7372 | $(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] | 7373 | |
| 7374 | endif |
| 7375 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7376 | $(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] | 7377 | |
Craig Tiller | 1ffa52f | 2015-02-06 16:32:46 -0800 | [diff] [blame] | 7378 | deps_gpr_env_test: $(GPR_ENV_TEST_OBJS:.o=.dep) |
| 7379 | |
| 7380 | ifneq ($(NO_SECURE),true) |
| 7381 | ifneq ($(NO_DEPS),true) |
| 7382 | -include $(GPR_ENV_TEST_OBJS:.o=.dep) |
| 7383 | endif |
| 7384 | endif |
| 7385 | |
| 7386 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7387 | GPR_HISTOGRAM_TEST_SRC = \ |
| 7388 | test/core/support/histogram_test.c \ |
| 7389 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7390 | 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] | 7391 | ifeq ($(NO_SECURE),true) |
| 7392 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7393 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7394 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7395 | $(BINDIR)/$(CONFIG)/gpr_histogram_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7396 | |
| 7397 | else |
| 7398 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7399 | |
| 7400 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7401 | $(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] | 7402 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7403 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7404 | $(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] | 7405 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7406 | endif |
| 7407 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7408 | $(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] | 7409 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7410 | deps_gpr_histogram_test: $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7411 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7412 | ifneq ($(NO_SECURE),true) |
| 7413 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7414 | -include $(GPR_HISTOGRAM_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7415 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7416 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7417 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7418 | |
| 7419 | GPR_HOST_PORT_TEST_SRC = \ |
| 7420 | test/core/support/host_port_test.c \ |
| 7421 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7422 | 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] | 7423 | ifeq ($(NO_SECURE),true) |
| 7424 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7425 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7426 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7427 | $(BINDIR)/$(CONFIG)/gpr_host_port_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7428 | |
| 7429 | else |
| 7430 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7431 | |
| 7432 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7433 | $(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] | 7434 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7435 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7436 | $(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] | 7437 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7438 | endif |
| 7439 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7440 | $(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] | 7441 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7442 | deps_gpr_host_port_test: $(GPR_HOST_PORT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7443 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7444 | ifneq ($(NO_SECURE),true) |
| 7445 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7446 | -include $(GPR_HOST_PORT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7447 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7448 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7449 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7450 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7451 | GPR_LOAD_FILE_TEST_SRC = \ |
| 7452 | test/core/support/load_file_test.c \ |
| 7453 | |
| 7454 | GPR_LOAD_FILE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_LOAD_FILE_TEST_SRC)))) |
| 7455 | ifeq ($(NO_SECURE),true) |
| 7456 | |
| 7457 | # You can't build secure targets if you don't have OpenSSL. |
| 7458 | |
| 7459 | $(BINDIR)/$(CONFIG)/gpr_load_file_test: openssl_dep_error |
| 7460 | |
| 7461 | else |
| 7462 | |
| 7463 | |
| 7464 | |
| 7465 | $(BINDIR)/$(CONFIG)/gpr_load_file_test: $(GPR_LOAD_FILE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7466 | $(E) "[LD] Linking $@" |
| 7467 | $(Q) mkdir -p `dirname $@` |
| 7468 | $(Q) $(LD) $(LDFLAGS) $(GPR_LOAD_FILE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_load_file_test |
| 7469 | |
| 7470 | endif |
| 7471 | |
| 7472 | $(OBJDIR)/$(CONFIG)/test/core/support/load_file_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 7473 | |
| 7474 | deps_gpr_load_file_test: $(GPR_LOAD_FILE_TEST_OBJS:.o=.dep) |
| 7475 | |
| 7476 | ifneq ($(NO_SECURE),true) |
| 7477 | ifneq ($(NO_DEPS),true) |
| 7478 | -include $(GPR_LOAD_FILE_TEST_OBJS:.o=.dep) |
| 7479 | endif |
| 7480 | endif |
| 7481 | |
| 7482 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7483 | GPR_LOG_TEST_SRC = \ |
| 7484 | test/core/support/log_test.c \ |
| 7485 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7486 | 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] | 7487 | ifeq ($(NO_SECURE),true) |
| 7488 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7489 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7490 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7491 | $(BINDIR)/$(CONFIG)/gpr_log_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7492 | |
| 7493 | else |
| 7494 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7495 | |
| 7496 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7497 | $(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] | 7498 | $(E) "[LD] Linking $@" |
| 7499 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7500 | $(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] | 7501 | |
| 7502 | endif |
| 7503 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7504 | $(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] | 7505 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7506 | deps_gpr_log_test: $(GPR_LOG_TEST_OBJS:.o=.dep) |
| 7507 | |
| 7508 | ifneq ($(NO_SECURE),true) |
| 7509 | ifneq ($(NO_DEPS),true) |
| 7510 | -include $(GPR_LOG_TEST_OBJS:.o=.dep) |
| 7511 | endif |
| 7512 | endif |
| 7513 | |
| 7514 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7515 | GPR_SLICE_BUFFER_TEST_SRC = \ |
| 7516 | test/core/support/slice_buffer_test.c \ |
| 7517 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7518 | 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] | 7519 | ifeq ($(NO_SECURE),true) |
| 7520 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7521 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7522 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7523 | $(BINDIR)/$(CONFIG)/gpr_slice_buffer_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7524 | |
| 7525 | else |
| 7526 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7527 | |
| 7528 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7529 | $(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] | 7530 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7531 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7532 | $(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] | 7533 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7534 | endif |
| 7535 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7536 | $(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] | 7537 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7538 | deps_gpr_slice_buffer_test: $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7539 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7540 | ifneq ($(NO_SECURE),true) |
| 7541 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7542 | -include $(GPR_SLICE_BUFFER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7543 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7544 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7545 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7546 | |
| 7547 | GPR_SLICE_TEST_SRC = \ |
| 7548 | test/core/support/slice_test.c \ |
| 7549 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7550 | 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] | 7551 | ifeq ($(NO_SECURE),true) |
| 7552 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7553 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7554 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7555 | $(BINDIR)/$(CONFIG)/gpr_slice_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7556 | |
| 7557 | else |
| 7558 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7559 | |
| 7560 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7561 | $(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] | 7562 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7563 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7564 | $(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] | 7565 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7566 | endif |
| 7567 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7568 | $(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] | 7569 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7570 | deps_gpr_slice_test: $(GPR_SLICE_TEST_OBJS:.o=.dep) |
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 | ifneq ($(NO_SECURE),true) |
| 7573 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7574 | -include $(GPR_SLICE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7575 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7576 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7577 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7578 | |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 7579 | GPR_STACK_LOCKFREE_TEST_SRC = \ |
| 7580 | test/core/support/stack_lockfree_test.c \ |
| 7581 | |
| 7582 | GPR_STACK_LOCKFREE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_STACK_LOCKFREE_TEST_SRC)))) |
| 7583 | ifeq ($(NO_SECURE),true) |
| 7584 | |
| 7585 | # You can't build secure targets if you don't have OpenSSL. |
| 7586 | |
| 7587 | $(BINDIR)/$(CONFIG)/gpr_stack_lockfree_test: openssl_dep_error |
| 7588 | |
| 7589 | else |
| 7590 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7591 | |
| 7592 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7593 | $(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] | 7594 | $(E) "[LD] Linking $@" |
| 7595 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7596 | $(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] | 7597 | |
| 7598 | endif |
| 7599 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7600 | $(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] | 7601 | |
Vijay Pai | 887f86b | 2015-07-10 17:12:10 -0700 | [diff] [blame] | 7602 | deps_gpr_stack_lockfree_test: $(GPR_STACK_LOCKFREE_TEST_OBJS:.o=.dep) |
| 7603 | |
| 7604 | ifneq ($(NO_SECURE),true) |
| 7605 | ifneq ($(NO_DEPS),true) |
| 7606 | -include $(GPR_STACK_LOCKFREE_TEST_OBJS:.o=.dep) |
| 7607 | endif |
| 7608 | endif |
| 7609 | |
| 7610 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7611 | GPR_STRING_TEST_SRC = \ |
| 7612 | test/core/support/string_test.c \ |
| 7613 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7614 | 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] | 7615 | ifeq ($(NO_SECURE),true) |
| 7616 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7617 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7618 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7619 | $(BINDIR)/$(CONFIG)/gpr_string_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7620 | |
| 7621 | else |
| 7622 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7623 | |
| 7624 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7625 | $(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] | 7626 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7627 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7628 | $(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] | 7629 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7630 | endif |
| 7631 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7632 | $(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] | 7633 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7634 | deps_gpr_string_test: $(GPR_STRING_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7635 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7636 | ifneq ($(NO_SECURE),true) |
| 7637 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7638 | -include $(GPR_STRING_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7639 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7640 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7641 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7642 | |
| 7643 | GPR_SYNC_TEST_SRC = \ |
| 7644 | test/core/support/sync_test.c \ |
| 7645 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7646 | 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] | 7647 | ifeq ($(NO_SECURE),true) |
| 7648 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7649 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7650 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7651 | $(BINDIR)/$(CONFIG)/gpr_sync_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7652 | |
| 7653 | else |
| 7654 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7655 | |
| 7656 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7657 | $(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] | 7658 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7659 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7660 | $(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] | 7661 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7662 | endif |
| 7663 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7664 | $(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] | 7665 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7666 | deps_gpr_sync_test: $(GPR_SYNC_TEST_OBJS:.o=.dep) |
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 | ifneq ($(NO_SECURE),true) |
| 7669 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7670 | -include $(GPR_SYNC_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7671 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7672 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7673 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7674 | |
| 7675 | GPR_THD_TEST_SRC = \ |
| 7676 | test/core/support/thd_test.c \ |
| 7677 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7678 | 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] | 7679 | ifeq ($(NO_SECURE),true) |
| 7680 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7681 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7682 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7683 | $(BINDIR)/$(CONFIG)/gpr_thd_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7684 | |
| 7685 | else |
| 7686 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7687 | |
| 7688 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7689 | $(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] | 7690 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7691 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7692 | $(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] | 7693 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7694 | endif |
| 7695 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7696 | $(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] | 7697 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7698 | deps_gpr_thd_test: $(GPR_THD_TEST_OBJS:.o=.dep) |
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 | ifneq ($(NO_SECURE),true) |
| 7701 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7702 | -include $(GPR_THD_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7703 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7704 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7705 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7706 | |
| 7707 | GPR_TIME_TEST_SRC = \ |
| 7708 | test/core/support/time_test.c \ |
| 7709 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7710 | 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] | 7711 | ifeq ($(NO_SECURE),true) |
| 7712 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7713 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7714 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7715 | $(BINDIR)/$(CONFIG)/gpr_time_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7716 | |
| 7717 | else |
| 7718 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7719 | |
| 7720 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7721 | $(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] | 7722 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7723 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7724 | $(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] | 7725 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7726 | endif |
| 7727 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7728 | $(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] | 7729 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7730 | deps_gpr_time_test: $(GPR_TIME_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7731 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7732 | ifneq ($(NO_SECURE),true) |
| 7733 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7734 | -include $(GPR_TIME_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7735 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7736 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7737 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7738 | |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 7739 | GPR_TLS_TEST_SRC = \ |
| 7740 | test/core/support/tls_test.c \ |
| 7741 | |
| 7742 | 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] | 7743 | ifeq ($(NO_SECURE),true) |
| 7744 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7745 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 7746 | |
| 7747 | $(BINDIR)/$(CONFIG)/gpr_tls_test: openssl_dep_error |
| 7748 | |
| 7749 | else |
| 7750 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7751 | |
| 7752 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7753 | $(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] | 7754 | $(E) "[LD] Linking $@" |
| 7755 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7756 | $(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] | 7757 | |
| 7758 | endif |
| 7759 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7760 | $(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] | 7761 | |
Craig Tiller | 8cca9ab | 2015-04-10 10:39:38 -0700 | [diff] [blame] | 7762 | deps_gpr_tls_test: $(GPR_TLS_TEST_OBJS:.o=.dep) |
| 7763 | |
| 7764 | ifneq ($(NO_SECURE),true) |
| 7765 | ifneq ($(NO_DEPS),true) |
| 7766 | -include $(GPR_TLS_TEST_OBJS:.o=.dep) |
| 7767 | endif |
| 7768 | endif |
| 7769 | |
| 7770 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7771 | GPR_USEFUL_TEST_SRC = \ |
| 7772 | test/core/support/useful_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7773 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7774 | 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] | 7775 | ifeq ($(NO_SECURE),true) |
| 7776 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7777 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7778 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7779 | $(BINDIR)/$(CONFIG)/gpr_useful_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7780 | |
| 7781 | else |
| 7782 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7783 | |
| 7784 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7785 | $(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] | 7786 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7787 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7788 | $(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] | 7789 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7790 | endif |
| 7791 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7792 | $(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] | 7793 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7794 | deps_gpr_useful_test: $(GPR_USEFUL_TEST_OBJS:.o=.dep) |
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 | ifneq ($(NO_SECURE),true) |
| 7797 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7798 | -include $(GPR_USEFUL_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7799 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7800 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7801 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7802 | |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 7803 | GRPC_AUTH_CONTEXT_TEST_SRC = \ |
| 7804 | test/core/security/auth_context_test.c \ |
| 7805 | |
| 7806 | GRPC_AUTH_CONTEXT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_AUTH_CONTEXT_TEST_SRC)))) |
| 7807 | ifeq ($(NO_SECURE),true) |
| 7808 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7809 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 7810 | |
| 7811 | $(BINDIR)/$(CONFIG)/grpc_auth_context_test: openssl_dep_error |
| 7812 | |
| 7813 | else |
| 7814 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7815 | |
| 7816 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7817 | $(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] | 7818 | $(E) "[LD] Linking $@" |
| 7819 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7820 | $(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] | 7821 | |
| 7822 | endif |
| 7823 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7824 | $(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] | 7825 | |
Julien Boeuf | 84d964a | 2015-04-29 11:31:06 -0700 | [diff] [blame] | 7826 | deps_grpc_auth_context_test: $(GRPC_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 7827 | |
| 7828 | ifneq ($(NO_SECURE),true) |
| 7829 | ifneq ($(NO_DEPS),true) |
| 7830 | -include $(GRPC_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 7831 | endif |
| 7832 | endif |
| 7833 | |
| 7834 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7835 | GRPC_B64_TEST_SRC = \ |
| 7836 | test/core/security/b64_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7837 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7838 | 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] | 7839 | ifeq ($(NO_SECURE),true) |
| 7840 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7841 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7842 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7843 | $(BINDIR)/$(CONFIG)/grpc_b64_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7844 | |
| 7845 | else |
| 7846 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7847 | |
| 7848 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7849 | $(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] | 7850 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7851 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7852 | $(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] | 7853 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7854 | endif |
| 7855 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7856 | $(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] | 7857 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7858 | deps_grpc_b64_test: $(GRPC_B64_TEST_OBJS:.o=.dep) |
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 | ifneq ($(NO_SECURE),true) |
| 7861 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 7862 | -include $(GRPC_B64_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7863 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7864 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7865 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7866 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7867 | GRPC_BYTE_BUFFER_READER_TEST_SRC = \ |
| 7868 | test/core/surface/byte_buffer_reader_test.c \ |
nnoble | 0c475f0 | 2014-12-05 15:37:39 -0800 | [diff] [blame] | 7869 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7870 | 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] | 7871 | ifeq ($(NO_SECURE),true) |
| 7872 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7873 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7874 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7875 | $(BINDIR)/$(CONFIG)/grpc_byte_buffer_reader_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7876 | |
| 7877 | else |
| 7878 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7879 | |
| 7880 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7881 | $(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] | 7882 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7883 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7884 | $(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] | 7885 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7886 | endif |
| 7887 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7888 | $(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] | 7889 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7890 | 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] | 7891 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7892 | ifneq ($(NO_SECURE),true) |
| 7893 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 7894 | -include $(GRPC_BYTE_BUFFER_READER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7895 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7896 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7897 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7898 | |
David Garcia Quintas | a4c4f02 | 2015-08-21 00:05:42 -0700 | [diff] [blame] | 7899 | GRPC_CHANNEL_ARGS_TEST_SRC = \ |
| 7900 | test/core/channel/channel_args_test.c \ |
| 7901 | |
| 7902 | GRPC_CHANNEL_ARGS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CHANNEL_ARGS_TEST_SRC)))) |
| 7903 | ifeq ($(NO_SECURE),true) |
| 7904 | |
| 7905 | # You can't build secure targets if you don't have OpenSSL. |
| 7906 | |
| 7907 | $(BINDIR)/$(CONFIG)/grpc_channel_args_test: openssl_dep_error |
| 7908 | |
| 7909 | else |
| 7910 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7911 | |
| 7912 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7913 | $(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] | 7914 | $(E) "[LD] Linking $@" |
| 7915 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7916 | $(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] | 7917 | |
| 7918 | endif |
| 7919 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7920 | $(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] | 7921 | |
David Garcia Quintas | a4c4f02 | 2015-08-21 00:05:42 -0700 | [diff] [blame] | 7922 | deps_grpc_channel_args_test: $(GRPC_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 7923 | |
| 7924 | ifneq ($(NO_SECURE),true) |
| 7925 | ifneq ($(NO_DEPS),true) |
| 7926 | -include $(GRPC_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 7927 | endif |
| 7928 | endif |
| 7929 | |
| 7930 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7931 | GRPC_CHANNEL_STACK_TEST_SRC = \ |
| 7932 | test/core/channel/channel_stack_test.c \ |
| 7933 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7934 | 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] | 7935 | ifeq ($(NO_SECURE),true) |
| 7936 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7937 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7938 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7939 | $(BINDIR)/$(CONFIG)/grpc_channel_stack_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7940 | |
| 7941 | else |
| 7942 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7943 | |
| 7944 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7945 | $(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] | 7946 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7947 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7948 | $(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] | 7949 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7950 | endif |
| 7951 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7952 | $(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] | 7953 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7954 | deps_grpc_channel_stack_test: $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7955 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7956 | ifneq ($(NO_SECURE),true) |
| 7957 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7958 | -include $(GRPC_CHANNEL_STACK_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7959 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7960 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7961 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7962 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7963 | GRPC_COMPLETION_QUEUE_TEST_SRC = \ |
| 7964 | test/core/surface/completion_queue_test.c \ |
| 7965 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7966 | 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] | 7967 | ifeq ($(NO_SECURE),true) |
| 7968 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 7969 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 7970 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 7971 | $(BINDIR)/$(CONFIG)/grpc_completion_queue_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7972 | |
| 7973 | else |
| 7974 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 7975 | |
| 7976 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7977 | $(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] | 7978 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 7979 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7980 | $(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] | 7981 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7982 | endif |
| 7983 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 7984 | $(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] | 7985 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7986 | deps_grpc_completion_queue_test: $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep) |
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 | ifneq ($(NO_SECURE),true) |
| 7989 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 7990 | -include $(GRPC_COMPLETION_QUEUE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7991 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 7992 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7993 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 7994 | |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 7995 | GRPC_CREATE_JWT_SRC = \ |
| 7996 | test/core/security/create_jwt.c \ |
| 7997 | |
| 7998 | 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] | 7999 | ifeq ($(NO_SECURE),true) |
| 8000 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8001 | # 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] | 8002 | |
| 8003 | $(BINDIR)/$(CONFIG)/grpc_create_jwt: openssl_dep_error |
| 8004 | |
| 8005 | else |
| 8006 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8007 | |
| 8008 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8009 | $(BINDIR)/$(CONFIG)/grpc_create_jwt: $(GRPC_CREATE_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8010 | $(E) "[LD] Linking $@" |
| 8011 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8012 | $(Q) $(LD) $(LDFLAGS) $(GRPC_CREATE_JWT_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_create_jwt |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8013 | |
| 8014 | endif |
| 8015 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8016 | $(OBJDIR)/$(CONFIG)/test/core/security/create_jwt.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] | 8017 | |
Nicolas "Pixel" Noble | b8f5f1b | 2015-02-21 19:03:00 +0100 | [diff] [blame] | 8018 | deps_grpc_create_jwt: $(GRPC_CREATE_JWT_OBJS:.o=.dep) |
| 8019 | |
| 8020 | ifneq ($(NO_SECURE),true) |
| 8021 | ifneq ($(NO_DEPS),true) |
| 8022 | -include $(GRPC_CREATE_JWT_OBJS:.o=.dep) |
| 8023 | endif |
| 8024 | endif |
| 8025 | |
| 8026 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8027 | GRPC_CREDENTIALS_TEST_SRC = \ |
| 8028 | test/core/security/credentials_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8029 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8030 | 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] | 8031 | ifeq ($(NO_SECURE),true) |
| 8032 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8033 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8034 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8035 | $(BINDIR)/$(CONFIG)/grpc_credentials_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8036 | |
| 8037 | else |
| 8038 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8039 | |
| 8040 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8041 | $(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] | 8042 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8043 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8044 | $(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] | 8045 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8046 | endif |
| 8047 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8048 | $(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] | 8049 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8050 | deps_grpc_credentials_test: $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8051 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8052 | ifneq ($(NO_SECURE),true) |
| 8053 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8054 | -include $(GRPC_CREDENTIALS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8055 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8056 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8057 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8058 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8059 | GRPC_FETCH_OAUTH2_SRC = \ |
| 8060 | test/core/security/fetch_oauth2.c \ |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8061 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8062 | 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] | 8063 | ifeq ($(NO_SECURE),true) |
| 8064 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8065 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8066 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8067 | $(BINDIR)/$(CONFIG)/grpc_fetch_oauth2: openssl_dep_error |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8068 | |
| 8069 | else |
| 8070 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8071 | |
| 8072 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8073 | $(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] | 8074 | $(E) "[LD] Linking $@" |
| 8075 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8076 | $(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] | 8077 | |
| 8078 | endif |
| 8079 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8080 | $(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] | 8081 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8082 | deps_grpc_fetch_oauth2: $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8083 | |
| 8084 | ifneq ($(NO_SECURE),true) |
| 8085 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8086 | -include $(GRPC_FETCH_OAUTH2_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8087 | endif |
| 8088 | endif |
| 8089 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8090 | |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 8091 | GRPC_INVALID_CHANNEL_ARGS_TEST_SRC = \ |
| 8092 | test/core/surface/invalid_channel_args_test.c \ |
| 8093 | |
| 8094 | GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_INVALID_CHANNEL_ARGS_TEST_SRC)))) |
| 8095 | ifeq ($(NO_SECURE),true) |
| 8096 | |
| 8097 | # You can't build secure targets if you don't have OpenSSL. |
| 8098 | |
| 8099 | $(BINDIR)/$(CONFIG)/grpc_invalid_channel_args_test: openssl_dep_error |
| 8100 | |
| 8101 | else |
| 8102 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8103 | |
| 8104 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8105 | $(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] | 8106 | $(E) "[LD] Linking $@" |
| 8107 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8108 | $(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] | 8109 | |
| 8110 | endif |
| 8111 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8112 | $(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] | 8113 | |
yang-g | a1fecbc | 2015-12-07 15:46:49 -0800 | [diff] [blame] | 8114 | deps_grpc_invalid_channel_args_test: $(GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 8115 | |
| 8116 | ifneq ($(NO_SECURE),true) |
| 8117 | ifneq ($(NO_DEPS),true) |
| 8118 | -include $(GRPC_INVALID_CHANNEL_ARGS_TEST_OBJS:.o=.dep) |
| 8119 | endif |
| 8120 | endif |
| 8121 | |
| 8122 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8123 | GRPC_JSON_TOKEN_TEST_SRC = \ |
| 8124 | test/core/security/json_token_test.c \ |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8125 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8126 | 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] | 8127 | ifeq ($(NO_SECURE),true) |
| 8128 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8129 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8130 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8131 | $(BINDIR)/$(CONFIG)/grpc_json_token_test: openssl_dep_error |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8132 | |
| 8133 | else |
| 8134 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8135 | |
| 8136 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8137 | $(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] | 8138 | $(E) "[LD] Linking $@" |
| 8139 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8140 | $(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] | 8141 | |
| 8142 | endif |
| 8143 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8144 | $(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] | 8145 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8146 | deps_grpc_json_token_test: $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8147 | |
| 8148 | ifneq ($(NO_SECURE),true) |
| 8149 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8150 | -include $(GRPC_JSON_TOKEN_TEST_OBJS:.o=.dep) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8151 | endif |
| 8152 | endif |
| 8153 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 8154 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8155 | GRPC_JWT_VERIFIER_TEST_SRC = \ |
| 8156 | test/core/security/jwt_verifier_test.c \ |
| 8157 | |
| 8158 | GRPC_JWT_VERIFIER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_JWT_VERIFIER_TEST_SRC)))) |
| 8159 | ifeq ($(NO_SECURE),true) |
| 8160 | |
Julien Boeuf | ea94e46 | 2015-07-08 16:24:31 -0700 | [diff] [blame] | 8161 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8162 | |
| 8163 | $(BINDIR)/$(CONFIG)/grpc_jwt_verifier_test: openssl_dep_error |
| 8164 | |
| 8165 | else |
| 8166 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8167 | |
| 8168 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8169 | $(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] | 8170 | $(E) "[LD] Linking $@" |
| 8171 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8172 | $(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] | 8173 | |
| 8174 | endif |
| 8175 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8176 | $(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] | 8177 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8178 | deps_grpc_jwt_verifier_test: $(GRPC_JWT_VERIFIER_TEST_OBJS:.o=.dep) |
| 8179 | |
| 8180 | ifneq ($(NO_SECURE),true) |
| 8181 | ifneq ($(NO_DEPS),true) |
| 8182 | -include $(GRPC_JWT_VERIFIER_TEST_OBJS:.o=.dep) |
| 8183 | endif |
| 8184 | endif |
| 8185 | |
| 8186 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8187 | GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_SRC = \ |
| 8188 | test/core/security/print_google_default_creds_token.c \ |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8189 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8190 | 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] | 8191 | ifeq ($(NO_SECURE),true) |
| 8192 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8193 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8194 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8195 | $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token: openssl_dep_error |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8196 | |
| 8197 | else |
| 8198 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8199 | |
| 8200 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8201 | $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token: $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8202 | $(E) "[LD] Linking $@" |
| 8203 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8204 | $(Q) $(LD) $(LDFLAGS) $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_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_print_google_default_creds_token |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8205 | |
| 8206 | endif |
| 8207 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8208 | $(OBJDIR)/$(CONFIG)/test/core/security/print_google_default_creds_token.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] | 8209 | |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8210 | 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] | 8211 | |
| 8212 | ifneq ($(NO_SECURE),true) |
| 8213 | ifneq ($(NO_DEPS),true) |
Julien Boeuf | c66f2a8 | 2015-02-23 13:00:36 -0800 | [diff] [blame] | 8214 | -include $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS:.o=.dep) |
Julien Boeuf | cd9b1c8 | 2015-02-20 17:40:41 -0800 | [diff] [blame] | 8215 | endif |
| 8216 | endif |
| 8217 | |
| 8218 | |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8219 | GRPC_SECURITY_CONNECTOR_TEST_SRC = \ |
| 8220 | test/core/security/security_connector_test.c \ |
| 8221 | |
| 8222 | GRPC_SECURITY_CONNECTOR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_SECURITY_CONNECTOR_TEST_SRC)))) |
| 8223 | ifeq ($(NO_SECURE),true) |
| 8224 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8225 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8226 | |
| 8227 | $(BINDIR)/$(CONFIG)/grpc_security_connector_test: openssl_dep_error |
| 8228 | |
| 8229 | else |
| 8230 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8231 | |
| 8232 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8233 | $(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] | 8234 | $(E) "[LD] Linking $@" |
| 8235 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8236 | $(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] | 8237 | |
| 8238 | endif |
| 8239 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8240 | $(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] | 8241 | |
Julien Boeuf | a701ade | 2015-06-18 15:23:40 +0200 | [diff] [blame] | 8242 | deps_grpc_security_connector_test: $(GRPC_SECURITY_CONNECTOR_TEST_OBJS:.o=.dep) |
| 8243 | |
| 8244 | ifneq ($(NO_SECURE),true) |
| 8245 | ifneq ($(NO_DEPS),true) |
| 8246 | -include $(GRPC_SECURITY_CONNECTOR_TEST_OBJS:.o=.dep) |
| 8247 | endif |
| 8248 | endif |
| 8249 | |
| 8250 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8251 | GRPC_VERIFY_JWT_SRC = \ |
| 8252 | test/core/security/verify_jwt.c \ |
| 8253 | |
| 8254 | GRPC_VERIFY_JWT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_VERIFY_JWT_SRC)))) |
| 8255 | ifeq ($(NO_SECURE),true) |
| 8256 | |
Julien Boeuf | ea94e46 | 2015-07-08 16:24:31 -0700 | [diff] [blame] | 8257 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8258 | |
| 8259 | $(BINDIR)/$(CONFIG)/grpc_verify_jwt: openssl_dep_error |
| 8260 | |
| 8261 | else |
| 8262 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8263 | |
| 8264 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8265 | $(BINDIR)/$(CONFIG)/grpc_verify_jwt: $(GRPC_VERIFY_JWT_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] | 8266 | $(E) "[LD] Linking $@" |
| 8267 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8268 | $(Q) $(LD) $(LDFLAGS) $(GRPC_VERIFY_JWT_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_verify_jwt |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8269 | |
| 8270 | endif |
| 8271 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8272 | $(OBJDIR)/$(CONFIG)/test/core/security/verify_jwt.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] | 8273 | |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 8274 | deps_grpc_verify_jwt: $(GRPC_VERIFY_JWT_OBJS:.o=.dep) |
| 8275 | |
| 8276 | ifneq ($(NO_SECURE),true) |
| 8277 | ifneq ($(NO_DEPS),true) |
| 8278 | -include $(GRPC_VERIFY_JWT_OBJS:.o=.dep) |
| 8279 | endif |
| 8280 | endif |
| 8281 | |
| 8282 | |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 8283 | HPACK_PARSER_FUZZER_TEST_SRC = \ |
| 8284 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c \ |
| 8285 | |
| 8286 | HPACK_PARSER_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_FUZZER_TEST_SRC)))) |
| 8287 | ifeq ($(NO_SECURE),true) |
| 8288 | |
| 8289 | # You can't build secure targets if you don't have OpenSSL. |
| 8290 | |
| 8291 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test: openssl_dep_error |
| 8292 | |
| 8293 | else |
| 8294 | |
| 8295 | |
| 8296 | |
| 8297 | $(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 |
| 8298 | $(E) "[LD] Linking $@" |
| 8299 | $(Q) mkdir -p `dirname $@` |
| 8300 | $(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 |
| 8301 | |
| 8302 | endif |
| 8303 | |
| 8304 | $(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 |
| 8305 | |
| 8306 | deps_hpack_parser_fuzzer_test: $(HPACK_PARSER_FUZZER_TEST_OBJS:.o=.dep) |
| 8307 | |
| 8308 | ifneq ($(NO_SECURE),true) |
| 8309 | ifneq ($(NO_DEPS),true) |
| 8310 | -include $(HPACK_PARSER_FUZZER_TEST_OBJS:.o=.dep) |
| 8311 | endif |
| 8312 | endif |
| 8313 | |
| 8314 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8315 | HPACK_PARSER_TEST_SRC = \ |
| 8316 | test/core/transport/chttp2/hpack_parser_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8317 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8318 | 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] | 8319 | ifeq ($(NO_SECURE),true) |
| 8320 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8321 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8322 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8323 | $(BINDIR)/$(CONFIG)/hpack_parser_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8324 | |
| 8325 | else |
| 8326 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8327 | |
| 8328 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8329 | $(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] | 8330 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8331 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8332 | $(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] | 8333 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8334 | endif |
| 8335 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8336 | $(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] | 8337 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8338 | deps_hpack_parser_test: $(HPACK_PARSER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8339 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8340 | ifneq ($(NO_SECURE),true) |
| 8341 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8342 | -include $(HPACK_PARSER_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8343 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8344 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8345 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8346 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8347 | HPACK_TABLE_TEST_SRC = \ |
| 8348 | test/core/transport/chttp2/hpack_table_test.c \ |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 8349 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8350 | 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] | 8351 | ifeq ($(NO_SECURE),true) |
| 8352 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8353 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8354 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8355 | $(BINDIR)/$(CONFIG)/hpack_table_test: openssl_dep_error |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 8356 | |
| 8357 | else |
| 8358 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8359 | |
| 8360 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8361 | $(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] | 8362 | $(E) "[LD] Linking $@" |
| 8363 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8364 | $(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] | 8365 | |
| 8366 | endif |
| 8367 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8368 | $(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] | 8369 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8370 | deps_hpack_table_test: $(HPACK_TABLE_TEST_OBJS:.o=.dep) |
aveitch | 482a5be | 2014-12-15 10:25:12 -0800 | [diff] [blame] | 8371 | |
| 8372 | ifneq ($(NO_SECURE),true) |
| 8373 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8374 | -include $(HPACK_TABLE_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8375 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8376 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8377 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8378 | |
Craig Tiller | 2123974 | 2016-03-23 16:33:28 -0700 | [diff] [blame] | 8379 | HTTP_FUZZER_TEST_SRC = \ |
| 8380 | test/core/http/fuzzer.c \ |
| 8381 | |
| 8382 | HTTP_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_FUZZER_TEST_SRC)))) |
| 8383 | ifeq ($(NO_SECURE),true) |
| 8384 | |
| 8385 | # You can't build secure targets if you don't have OpenSSL. |
| 8386 | |
| 8387 | $(BINDIR)/$(CONFIG)/http_fuzzer_test: openssl_dep_error |
| 8388 | |
| 8389 | else |
| 8390 | |
| 8391 | |
| 8392 | |
| 8393 | $(BINDIR)/$(CONFIG)/http_fuzzer_test: $(HTTP_FUZZER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 8394 | $(E) "[LD] Linking $@" |
| 8395 | $(Q) mkdir -p `dirname $@` |
| 8396 | $(Q) $(LDXX) $(LDFLAGS) $(HTTP_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_fuzzer_test |
| 8397 | |
| 8398 | endif |
| 8399 | |
| 8400 | $(OBJDIR)/$(CONFIG)/test/core/http/fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 8401 | |
| 8402 | deps_http_fuzzer_test: $(HTTP_FUZZER_TEST_OBJS:.o=.dep) |
| 8403 | |
| 8404 | ifneq ($(NO_SECURE),true) |
| 8405 | ifneq ($(NO_DEPS),true) |
| 8406 | -include $(HTTP_FUZZER_TEST_OBJS:.o=.dep) |
| 8407 | endif |
| 8408 | endif |
| 8409 | |
| 8410 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8411 | HTTP_PARSER_TEST_SRC = \ |
| 8412 | test/core/http/parser_test.c \ |
| 8413 | |
| 8414 | HTTP_PARSER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_PARSER_TEST_SRC)))) |
| 8415 | ifeq ($(NO_SECURE),true) |
| 8416 | |
| 8417 | # You can't build secure targets if you don't have OpenSSL. |
| 8418 | |
| 8419 | $(BINDIR)/$(CONFIG)/http_parser_test: openssl_dep_error |
| 8420 | |
| 8421 | else |
| 8422 | |
| 8423 | |
| 8424 | |
| 8425 | $(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 |
| 8426 | $(E) "[LD] Linking $@" |
| 8427 | $(Q) mkdir -p `dirname $@` |
| 8428 | $(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 |
| 8429 | |
| 8430 | endif |
| 8431 | |
| 8432 | $(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 |
| 8433 | |
| 8434 | deps_http_parser_test: $(HTTP_PARSER_TEST_OBJS:.o=.dep) |
| 8435 | |
| 8436 | ifneq ($(NO_SECURE),true) |
| 8437 | ifneq ($(NO_DEPS),true) |
| 8438 | -include $(HTTP_PARSER_TEST_OBJS:.o=.dep) |
| 8439 | endif |
| 8440 | endif |
| 8441 | |
| 8442 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8443 | HTTPCLI_FORMAT_REQUEST_TEST_SRC = \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8444 | test/core/http/format_request_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8445 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8446 | 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] | 8447 | ifeq ($(NO_SECURE),true) |
| 8448 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8449 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8450 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8451 | $(BINDIR)/$(CONFIG)/httpcli_format_request_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8452 | |
| 8453 | else |
| 8454 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8455 | |
| 8456 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8457 | $(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] | 8458 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8459 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8460 | $(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] | 8461 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8462 | endif |
| 8463 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8464 | $(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] | 8465 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8466 | deps_httpcli_format_request_test: $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep) |
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 | ifneq ($(NO_SECURE),true) |
| 8469 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8470 | -include $(HTTPCLI_FORMAT_REQUEST_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8471 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8472 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8473 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8474 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8475 | HTTPCLI_TEST_SRC = \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8476 | test/core/http/httpcli_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8477 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8478 | HTTPCLI_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPCLI_TEST_SRC)))) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8479 | ifeq ($(NO_SECURE),true) |
| 8480 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8481 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8482 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8483 | $(BINDIR)/$(CONFIG)/httpcli_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8484 | |
| 8485 | else |
| 8486 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8487 | |
| 8488 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8489 | $(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] | 8490 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8491 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8492 | $(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] | 8493 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8494 | endif |
| 8495 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8496 | $(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] | 8497 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8498 | deps_httpcli_test: $(HTTPCLI_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8499 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8500 | ifneq ($(NO_SECURE),true) |
| 8501 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8502 | -include $(HTTPCLI_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8503 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8504 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8505 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8506 | |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 8507 | HTTPSCLI_TEST_SRC = \ |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8508 | test/core/http/httpscli_test.c \ |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 8509 | |
| 8510 | HTTPSCLI_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTPSCLI_TEST_SRC)))) |
| 8511 | ifeq ($(NO_SECURE),true) |
| 8512 | |
| 8513 | # You can't build secure targets if you don't have OpenSSL. |
| 8514 | |
| 8515 | $(BINDIR)/$(CONFIG)/httpscli_test: openssl_dep_error |
| 8516 | |
| 8517 | else |
| 8518 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8519 | |
| 8520 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8521 | $(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] | 8522 | $(E) "[LD] Linking $@" |
| 8523 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8524 | $(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] | 8525 | |
| 8526 | endif |
| 8527 | |
Matthew Iselin | 1824f05 | 2016-02-10 12:16:06 +1100 | [diff] [blame] | 8528 | $(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] | 8529 | |
Craig Tiller | cc0535d | 2015-12-08 15:14:47 -0800 | [diff] [blame] | 8530 | deps_httpscli_test: $(HTTPSCLI_TEST_OBJS:.o=.dep) |
| 8531 | |
| 8532 | ifneq ($(NO_SECURE),true) |
| 8533 | ifneq ($(NO_DEPS),true) |
| 8534 | -include $(HTTPSCLI_TEST_OBJS:.o=.dep) |
| 8535 | endif |
| 8536 | endif |
| 8537 | |
| 8538 | |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 8539 | INIT_TEST_SRC = \ |
| 8540 | test/core/surface/init_test.c \ |
| 8541 | |
| 8542 | INIT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INIT_TEST_SRC)))) |
| 8543 | ifeq ($(NO_SECURE),true) |
| 8544 | |
| 8545 | # You can't build secure targets if you don't have OpenSSL. |
| 8546 | |
| 8547 | $(BINDIR)/$(CONFIG)/init_test: openssl_dep_error |
| 8548 | |
| 8549 | else |
| 8550 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8551 | |
| 8552 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8553 | $(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] | 8554 | $(E) "[LD] Linking $@" |
| 8555 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8556 | $(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] | 8557 | |
| 8558 | endif |
| 8559 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8560 | $(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] | 8561 | |
yang-g | f118330 | 2015-12-07 16:02:05 -0800 | [diff] [blame] | 8562 | deps_init_test: $(INIT_TEST_OBJS:.o=.dep) |
| 8563 | |
| 8564 | ifneq ($(NO_SECURE),true) |
| 8565 | ifneq ($(NO_DEPS),true) |
| 8566 | -include $(INIT_TEST_OBJS:.o=.dep) |
| 8567 | endif |
| 8568 | endif |
| 8569 | |
| 8570 | |
Craig Tiller | 5cb7962 | 2016-03-15 14:46:54 -0700 | [diff] [blame] | 8571 | INTERNAL_API_CANARY_IOMGR_TEST_SRC = \ |
| 8572 | test/core/internal_api_canaries/iomgr.c \ |
| 8573 | |
| 8574 | INTERNAL_API_CANARY_IOMGR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTERNAL_API_CANARY_IOMGR_TEST_SRC)))) |
| 8575 | ifeq ($(NO_SECURE),true) |
| 8576 | |
| 8577 | # You can't build secure targets if you don't have OpenSSL. |
| 8578 | |
| 8579 | $(BINDIR)/$(CONFIG)/internal_api_canary_iomgr_test: openssl_dep_error |
| 8580 | |
| 8581 | else |
| 8582 | |
| 8583 | |
| 8584 | |
| 8585 | $(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 |
| 8586 | $(E) "[LD] Linking $@" |
| 8587 | $(Q) mkdir -p `dirname $@` |
| 8588 | $(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 |
| 8589 | |
| 8590 | endif |
| 8591 | |
| 8592 | $(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 |
| 8593 | |
| 8594 | deps_internal_api_canary_iomgr_test: $(INTERNAL_API_CANARY_IOMGR_TEST_OBJS:.o=.dep) |
| 8595 | |
| 8596 | ifneq ($(NO_SECURE),true) |
| 8597 | ifneq ($(NO_DEPS),true) |
| 8598 | -include $(INTERNAL_API_CANARY_IOMGR_TEST_OBJS:.o=.dep) |
| 8599 | endif |
| 8600 | endif |
| 8601 | |
| 8602 | |
| 8603 | INTERNAL_API_CANARY_SUPPORT_TEST_SRC = \ |
| 8604 | test/core/internal_api_canaries/iomgr.c \ |
| 8605 | |
| 8606 | INTERNAL_API_CANARY_SUPPORT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTERNAL_API_CANARY_SUPPORT_TEST_SRC)))) |
| 8607 | ifeq ($(NO_SECURE),true) |
| 8608 | |
| 8609 | # You can't build secure targets if you don't have OpenSSL. |
| 8610 | |
| 8611 | $(BINDIR)/$(CONFIG)/internal_api_canary_support_test: openssl_dep_error |
| 8612 | |
| 8613 | else |
| 8614 | |
| 8615 | |
| 8616 | |
| 8617 | $(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 |
| 8618 | $(E) "[LD] Linking $@" |
| 8619 | $(Q) mkdir -p `dirname $@` |
| 8620 | $(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 |
| 8621 | |
| 8622 | endif |
| 8623 | |
| 8624 | $(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 |
| 8625 | |
| 8626 | deps_internal_api_canary_support_test: $(INTERNAL_API_CANARY_SUPPORT_TEST_OBJS:.o=.dep) |
| 8627 | |
| 8628 | ifneq ($(NO_SECURE),true) |
| 8629 | ifneq ($(NO_DEPS),true) |
| 8630 | -include $(INTERNAL_API_CANARY_SUPPORT_TEST_OBJS:.o=.dep) |
| 8631 | endif |
| 8632 | endif |
| 8633 | |
| 8634 | |
| 8635 | INTERNAL_API_CANARY_TRANSPORT_TEST_SRC = \ |
| 8636 | test/core/internal_api_canaries/iomgr.c \ |
| 8637 | |
| 8638 | INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTERNAL_API_CANARY_TRANSPORT_TEST_SRC)))) |
| 8639 | ifeq ($(NO_SECURE),true) |
| 8640 | |
| 8641 | # You can't build secure targets if you don't have OpenSSL. |
| 8642 | |
| 8643 | $(BINDIR)/$(CONFIG)/internal_api_canary_transport_test: openssl_dep_error |
| 8644 | |
| 8645 | else |
| 8646 | |
| 8647 | |
| 8648 | |
| 8649 | $(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 |
| 8650 | $(E) "[LD] Linking $@" |
| 8651 | $(Q) mkdir -p `dirname $@` |
| 8652 | $(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 |
| 8653 | |
| 8654 | endif |
| 8655 | |
| 8656 | $(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 |
| 8657 | |
| 8658 | deps_internal_api_canary_transport_test: $(INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS:.o=.dep) |
| 8659 | |
| 8660 | ifneq ($(NO_SECURE),true) |
| 8661 | ifneq ($(NO_DEPS),true) |
| 8662 | -include $(INTERNAL_API_CANARY_TRANSPORT_TEST_OBJS:.o=.dep) |
| 8663 | endif |
| 8664 | endif |
| 8665 | |
| 8666 | |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 8667 | INVALID_CALL_ARGUMENT_TEST_SRC = \ |
| 8668 | test/core/end2end/invalid_call_argument_test.c \ |
| 8669 | |
| 8670 | INVALID_CALL_ARGUMENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INVALID_CALL_ARGUMENT_TEST_SRC)))) |
| 8671 | ifeq ($(NO_SECURE),true) |
| 8672 | |
| 8673 | # You can't build secure targets if you don't have OpenSSL. |
| 8674 | |
| 8675 | $(BINDIR)/$(CONFIG)/invalid_call_argument_test: openssl_dep_error |
| 8676 | |
| 8677 | else |
| 8678 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8679 | |
| 8680 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8681 | $(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] | 8682 | $(E) "[LD] Linking $@" |
| 8683 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8684 | $(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] | 8685 | |
| 8686 | endif |
| 8687 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8688 | $(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] | 8689 | |
yang-g | 077f6f8 | 2015-12-07 11:22:51 -0800 | [diff] [blame] | 8690 | deps_invalid_call_argument_test: $(INVALID_CALL_ARGUMENT_TEST_OBJS:.o=.dep) |
| 8691 | |
| 8692 | ifneq ($(NO_SECURE),true) |
| 8693 | ifneq ($(NO_DEPS),true) |
| 8694 | -include $(INVALID_CALL_ARGUMENT_TEST_OBJS:.o=.dep) |
| 8695 | endif |
| 8696 | endif |
| 8697 | |
| 8698 | |
Craig Tiller | 32173c5 | 2016-03-17 14:12:45 -0700 | [diff] [blame] | 8699 | JSON_FUZZER_TEST_SRC = \ |
| 8700 | test/core/json/fuzzer.c \ |
| 8701 | |
| 8702 | JSON_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_FUZZER_TEST_SRC)))) |
| 8703 | ifeq ($(NO_SECURE),true) |
| 8704 | |
| 8705 | # You can't build secure targets if you don't have OpenSSL. |
| 8706 | |
| 8707 | $(BINDIR)/$(CONFIG)/json_fuzzer_test: openssl_dep_error |
| 8708 | |
| 8709 | else |
| 8710 | |
| 8711 | |
| 8712 | |
| 8713 | $(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 |
| 8714 | $(E) "[LD] Linking $@" |
| 8715 | $(Q) mkdir -p `dirname $@` |
| 8716 | $(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 |
| 8717 | |
| 8718 | endif |
| 8719 | |
| 8720 | $(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 |
| 8721 | |
| 8722 | deps_json_fuzzer_test: $(JSON_FUZZER_TEST_OBJS:.o=.dep) |
| 8723 | |
| 8724 | ifneq ($(NO_SECURE),true) |
| 8725 | ifneq ($(NO_DEPS),true) |
| 8726 | -include $(JSON_FUZZER_TEST_OBJS:.o=.dep) |
| 8727 | endif |
| 8728 | endif |
| 8729 | |
| 8730 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8731 | JSON_REWRITE_SRC = \ |
| 8732 | test/core/json/json_rewrite.c \ |
| 8733 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8734 | JSON_REWRITE_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_REWRITE_SRC)))) |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8735 | ifeq ($(NO_SECURE),true) |
| 8736 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8737 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8738 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8739 | $(BINDIR)/$(CONFIG)/json_rewrite: openssl_dep_error |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8740 | |
| 8741 | else |
| 8742 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8743 | |
| 8744 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8745 | $(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] | 8746 | $(E) "[LD] Linking $@" |
| 8747 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8748 | $(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] | 8749 | |
| 8750 | endif |
| 8751 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8752 | $(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] | 8753 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8754 | deps_json_rewrite: $(JSON_REWRITE_OBJS:.o=.dep) |
| 8755 | |
| 8756 | ifneq ($(NO_SECURE),true) |
| 8757 | ifneq ($(NO_DEPS),true) |
| 8758 | -include $(JSON_REWRITE_OBJS:.o=.dep) |
| 8759 | endif |
| 8760 | endif |
| 8761 | |
| 8762 | |
| 8763 | JSON_REWRITE_TEST_SRC = \ |
| 8764 | test/core/json/json_rewrite_test.c \ |
| 8765 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8766 | 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] | 8767 | ifeq ($(NO_SECURE),true) |
| 8768 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8769 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8770 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8771 | $(BINDIR)/$(CONFIG)/json_rewrite_test: openssl_dep_error |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8772 | |
| 8773 | else |
| 8774 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8775 | |
| 8776 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8777 | $(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] | 8778 | $(E) "[LD] Linking $@" |
| 8779 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8780 | $(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] | 8781 | |
| 8782 | endif |
| 8783 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8784 | $(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] | 8785 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8786 | deps_json_rewrite_test: $(JSON_REWRITE_TEST_OBJS:.o=.dep) |
| 8787 | |
| 8788 | ifneq ($(NO_SECURE),true) |
| 8789 | ifneq ($(NO_DEPS),true) |
| 8790 | -include $(JSON_REWRITE_TEST_OBJS:.o=.dep) |
| 8791 | endif |
| 8792 | endif |
| 8793 | |
| 8794 | |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 8795 | JSON_STREAM_ERROR_TEST_SRC = \ |
| 8796 | test/core/json/json_stream_error_test.c \ |
| 8797 | |
| 8798 | JSON_STREAM_ERROR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_STREAM_ERROR_TEST_SRC)))) |
| 8799 | ifeq ($(NO_SECURE),true) |
| 8800 | |
| 8801 | # You can't build secure targets if you don't have OpenSSL. |
| 8802 | |
| 8803 | $(BINDIR)/$(CONFIG)/json_stream_error_test: openssl_dep_error |
| 8804 | |
| 8805 | else |
| 8806 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8807 | |
| 8808 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8809 | $(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] | 8810 | $(E) "[LD] Linking $@" |
| 8811 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8812 | $(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] | 8813 | |
| 8814 | endif |
| 8815 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8816 | $(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] | 8817 | |
Nicolas "Pixel" Noble | 11c320d | 2015-12-12 01:47:36 +0100 | [diff] [blame] | 8818 | deps_json_stream_error_test: $(JSON_STREAM_ERROR_TEST_OBJS:.o=.dep) |
| 8819 | |
| 8820 | ifneq ($(NO_SECURE),true) |
| 8821 | ifneq ($(NO_DEPS),true) |
| 8822 | -include $(JSON_STREAM_ERROR_TEST_OBJS:.o=.dep) |
| 8823 | endif |
| 8824 | endif |
| 8825 | |
| 8826 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8827 | JSON_TEST_SRC = \ |
| 8828 | test/core/json/json_test.c \ |
| 8829 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8830 | JSON_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_TEST_SRC)))) |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8831 | ifeq ($(NO_SECURE),true) |
| 8832 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8833 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8834 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8835 | $(BINDIR)/$(CONFIG)/json_test: openssl_dep_error |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8836 | |
| 8837 | else |
| 8838 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8839 | |
| 8840 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8841 | $(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] | 8842 | $(E) "[LD] Linking $@" |
| 8843 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8844 | $(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] | 8845 | |
| 8846 | endif |
| 8847 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8848 | $(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] | 8849 | |
Craig Tiller | 4450db2 | 2015-01-30 16:49:22 -0800 | [diff] [blame] | 8850 | deps_json_test: $(JSON_TEST_OBJS:.o=.dep) |
| 8851 | |
| 8852 | ifneq ($(NO_SECURE),true) |
| 8853 | ifneq ($(NO_DEPS),true) |
| 8854 | -include $(JSON_TEST_OBJS:.o=.dep) |
| 8855 | endif |
| 8856 | endif |
| 8857 | |
| 8858 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8859 | LAME_CLIENT_TEST_SRC = \ |
| 8860 | test/core/surface/lame_client_test.c \ |
| 8861 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8862 | 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] | 8863 | ifeq ($(NO_SECURE),true) |
| 8864 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8865 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8866 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8867 | $(BINDIR)/$(CONFIG)/lame_client_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8868 | |
| 8869 | else |
| 8870 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8871 | |
| 8872 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8873 | $(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] | 8874 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8875 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8876 | $(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] | 8877 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8878 | endif |
| 8879 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8880 | $(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] | 8881 | |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8882 | deps_lame_client_test: $(LAME_CLIENT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8883 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8884 | ifneq ($(NO_SECURE),true) |
| 8885 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 8f126a6 | 2015-01-15 08:50:19 -0800 | [diff] [blame] | 8886 | -include $(LAME_CLIENT_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8887 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8888 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8889 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8890 | |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 8891 | LB_POLICIES_TEST_SRC = \ |
| 8892 | test/core/client_config/lb_policies_test.c \ |
| 8893 | |
| 8894 | LB_POLICIES_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LB_POLICIES_TEST_SRC)))) |
| 8895 | ifeq ($(NO_SECURE),true) |
| 8896 | |
| 8897 | # You can't build secure targets if you don't have OpenSSL. |
| 8898 | |
| 8899 | $(BINDIR)/$(CONFIG)/lb_policies_test: openssl_dep_error |
| 8900 | |
| 8901 | else |
| 8902 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8903 | |
| 8904 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8905 | $(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] | 8906 | $(E) "[LD] Linking $@" |
| 8907 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8908 | $(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] | 8909 | |
| 8910 | endif |
| 8911 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8912 | $(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] | 8913 | |
David Garcia Quintas | 4fb049b | 2015-09-03 17:26:06 -0700 | [diff] [blame] | 8914 | deps_lb_policies_test: $(LB_POLICIES_TEST_OBJS:.o=.dep) |
| 8915 | |
| 8916 | ifneq ($(NO_SECURE),true) |
| 8917 | ifneq ($(NO_DEPS),true) |
| 8918 | -include $(LB_POLICIES_TEST_OBJS:.o=.dep) |
| 8919 | endif |
| 8920 | endif |
| 8921 | |
| 8922 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8923 | LOW_LEVEL_PING_PONG_BENCHMARK_SRC = \ |
| 8924 | test/core/network_benchmarks/low_level_ping_pong.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8925 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8926 | 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] | 8927 | ifeq ($(NO_SECURE),true) |
| 8928 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8929 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8930 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8931 | $(BINDIR)/$(CONFIG)/low_level_ping_pong_benchmark: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8932 | |
| 8933 | else |
| 8934 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8935 | |
| 8936 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8937 | $(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] | 8938 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8939 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8940 | $(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] | 8941 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8942 | endif |
| 8943 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8944 | $(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] | 8945 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8946 | 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] | 8947 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8948 | ifneq ($(NO_SECURE),true) |
| 8949 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8950 | -include $(LOW_LEVEL_PING_PONG_BENCHMARK_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8951 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8952 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8953 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8954 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8955 | MESSAGE_COMPRESS_TEST_SRC = \ |
| 8956 | test/core/compression/message_compress_test.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8957 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8958 | 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] | 8959 | ifeq ($(NO_SECURE),true) |
| 8960 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 8961 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 8962 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 8963 | $(BINDIR)/$(CONFIG)/message_compress_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8964 | |
| 8965 | else |
| 8966 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 8967 | |
| 8968 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8969 | $(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] | 8970 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 8971 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8972 | $(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] | 8973 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8974 | endif |
| 8975 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 8976 | $(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] | 8977 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8978 | deps_message_compress_test: $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8979 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8980 | ifneq ($(NO_SECURE),true) |
| 8981 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 8982 | -include $(MESSAGE_COMPRESS_TEST_OBJS:.o=.dep) |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8983 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 8984 | endif |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8985 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 8986 | |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 8987 | MLOG_TEST_SRC = \ |
| 8988 | test/core/census/mlog_test.c \ |
| 8989 | |
| 8990 | MLOG_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MLOG_TEST_SRC)))) |
| 8991 | ifeq ($(NO_SECURE),true) |
| 8992 | |
| 8993 | # You can't build secure targets if you don't have OpenSSL. |
| 8994 | |
| 8995 | $(BINDIR)/$(CONFIG)/mlog_test: openssl_dep_error |
| 8996 | |
| 8997 | else |
| 8998 | |
| 8999 | |
| 9000 | |
| 9001 | $(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 |
| 9002 | $(E) "[LD] Linking $@" |
| 9003 | $(Q) mkdir -p `dirname $@` |
| 9004 | $(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 |
| 9005 | |
| 9006 | endif |
| 9007 | |
| 9008 | $(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 |
| 9009 | |
| 9010 | deps_mlog_test: $(MLOG_TEST_OBJS:.o=.dep) |
| 9011 | |
| 9012 | ifneq ($(NO_SECURE),true) |
| 9013 | ifneq ($(NO_DEPS),true) |
| 9014 | -include $(MLOG_TEST_OBJS:.o=.dep) |
| 9015 | endif |
| 9016 | endif |
| 9017 | |
| 9018 | |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9019 | MULTIPLE_SERVER_QUEUES_TEST_SRC = \ |
| 9020 | test/core/end2end/multiple_server_queues_test.c \ |
| 9021 | |
| 9022 | MULTIPLE_SERVER_QUEUES_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MULTIPLE_SERVER_QUEUES_TEST_SRC)))) |
| 9023 | ifeq ($(NO_SECURE),true) |
| 9024 | |
Craig Tiller | 8ebc34d | 2015-07-08 07:46:04 -0700 | [diff] [blame] | 9025 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9026 | |
| 9027 | $(BINDIR)/$(CONFIG)/multiple_server_queues_test: openssl_dep_error |
| 9028 | |
| 9029 | else |
| 9030 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9031 | |
| 9032 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9033 | $(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] | 9034 | $(E) "[LD] Linking $@" |
| 9035 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9036 | $(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] | 9037 | |
| 9038 | endif |
| 9039 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9040 | $(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] | 9041 | |
Craig Tiller | 30ee10b | 2015-06-26 08:09:01 -0700 | [diff] [blame] | 9042 | deps_multiple_server_queues_test: $(MULTIPLE_SERVER_QUEUES_TEST_OBJS:.o=.dep) |
| 9043 | |
| 9044 | ifneq ($(NO_SECURE),true) |
| 9045 | ifneq ($(NO_DEPS),true) |
| 9046 | -include $(MULTIPLE_SERVER_QUEUES_TEST_OBJS:.o=.dep) |
| 9047 | endif |
| 9048 | endif |
| 9049 | |
| 9050 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9051 | MURMUR_HASH_TEST_SRC = \ |
| 9052 | test/core/support/murmur_hash_test.c \ |
| 9053 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9054 | 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] | 9055 | ifeq ($(NO_SECURE),true) |
| 9056 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9057 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9058 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9059 | $(BINDIR)/$(CONFIG)/murmur_hash_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9060 | |
| 9061 | else |
| 9062 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9063 | |
| 9064 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9065 | $(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] | 9066 | $(E) "[LD] Linking $@" |
| 9067 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9068 | $(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] | 9069 | |
| 9070 | endif |
| 9071 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9072 | $(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] | 9073 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9074 | deps_murmur_hash_test: $(MURMUR_HASH_TEST_OBJS:.o=.dep) |
| 9075 | |
| 9076 | ifneq ($(NO_SECURE),true) |
| 9077 | ifneq ($(NO_DEPS),true) |
| 9078 | -include $(MURMUR_HASH_TEST_OBJS:.o=.dep) |
| 9079 | endif |
| 9080 | endif |
| 9081 | |
| 9082 | |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 9083 | NANOPB_FUZZER_RESPONSE_TEST_SRC = \ |
| 9084 | test/core/nanopb/fuzzer_response.c \ |
| 9085 | |
| 9086 | NANOPB_FUZZER_RESPONSE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_RESPONSE_TEST_SRC)))) |
| 9087 | ifeq ($(NO_SECURE),true) |
| 9088 | |
| 9089 | # You can't build secure targets if you don't have OpenSSL. |
| 9090 | |
| 9091 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test: openssl_dep_error |
| 9092 | |
| 9093 | else |
| 9094 | |
| 9095 | |
| 9096 | |
| 9097 | $(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 |
| 9098 | $(E) "[LD] Linking $@" |
| 9099 | $(Q) mkdir -p `dirname $@` |
| 9100 | $(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 |
| 9101 | |
| 9102 | endif |
| 9103 | |
| 9104 | $(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 |
| 9105 | |
| 9106 | deps_nanopb_fuzzer_response_test: $(NANOPB_FUZZER_RESPONSE_TEST_OBJS:.o=.dep) |
| 9107 | |
| 9108 | ifneq ($(NO_SECURE),true) |
| 9109 | ifneq ($(NO_DEPS),true) |
| 9110 | -include $(NANOPB_FUZZER_RESPONSE_TEST_OBJS:.o=.dep) |
| 9111 | endif |
| 9112 | endif |
| 9113 | |
| 9114 | |
| 9115 | NANOPB_FUZZER_SERVERLIST_TEST_SRC = \ |
| 9116 | test/core/nanopb/fuzzer_serverlist.c \ |
| 9117 | |
| 9118 | NANOPB_FUZZER_SERVERLIST_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_SERVERLIST_TEST_SRC)))) |
| 9119 | ifeq ($(NO_SECURE),true) |
| 9120 | |
| 9121 | # You can't build secure targets if you don't have OpenSSL. |
| 9122 | |
| 9123 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test: openssl_dep_error |
| 9124 | |
| 9125 | else |
| 9126 | |
| 9127 | |
| 9128 | |
| 9129 | $(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 |
| 9130 | $(E) "[LD] Linking $@" |
| 9131 | $(Q) mkdir -p `dirname $@` |
| 9132 | $(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 |
| 9133 | |
| 9134 | endif |
| 9135 | |
| 9136 | $(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 |
| 9137 | |
| 9138 | deps_nanopb_fuzzer_serverlist_test: $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS:.o=.dep) |
| 9139 | |
| 9140 | ifneq ($(NO_SECURE),true) |
| 9141 | ifneq ($(NO_DEPS),true) |
| 9142 | -include $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS:.o=.dep) |
| 9143 | endif |
| 9144 | endif |
| 9145 | |
| 9146 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9147 | NO_SERVER_TEST_SRC = \ |
| 9148 | test/core/end2end/no_server_test.c \ |
| 9149 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9150 | 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] | 9151 | ifeq ($(NO_SECURE),true) |
| 9152 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9153 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9154 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9155 | $(BINDIR)/$(CONFIG)/no_server_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9156 | |
| 9157 | else |
| 9158 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9159 | |
| 9160 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9161 | $(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] | 9162 | $(E) "[LD] Linking $@" |
| 9163 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9164 | $(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] | 9165 | |
| 9166 | endif |
| 9167 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9168 | $(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] | 9169 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9170 | deps_no_server_test: $(NO_SERVER_TEST_OBJS:.o=.dep) |
| 9171 | |
| 9172 | ifneq ($(NO_SECURE),true) |
| 9173 | ifneq ($(NO_DEPS),true) |
| 9174 | -include $(NO_SERVER_TEST_OBJS:.o=.dep) |
| 9175 | endif |
| 9176 | endif |
| 9177 | |
| 9178 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9179 | RESOLVE_ADDRESS_TEST_SRC = \ |
| 9180 | test/core/iomgr/resolve_address_test.c \ |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9181 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9182 | 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] | 9183 | ifeq ($(NO_SECURE),true) |
| 9184 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9185 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9186 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9187 | $(BINDIR)/$(CONFIG)/resolve_address_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9188 | |
| 9189 | else |
| 9190 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9191 | |
| 9192 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9193 | $(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] | 9194 | $(E) "[LD] Linking $@" |
| 9195 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9196 | $(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] | 9197 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9198 | endif |
| 9199 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9200 | $(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] | 9201 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9202 | deps_resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9203 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9204 | ifneq ($(NO_SECURE),true) |
| 9205 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9206 | -include $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9207 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9208 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9209 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9210 | |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 9211 | SECURE_CHANNEL_CREATE_TEST_SRC = \ |
| 9212 | test/core/surface/secure_channel_create_test.c \ |
| 9213 | |
| 9214 | SECURE_CHANNEL_CREATE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_CHANNEL_CREATE_TEST_SRC)))) |
| 9215 | ifeq ($(NO_SECURE),true) |
| 9216 | |
| 9217 | # You can't build secure targets if you don't have OpenSSL. |
| 9218 | |
| 9219 | $(BINDIR)/$(CONFIG)/secure_channel_create_test: openssl_dep_error |
| 9220 | |
| 9221 | else |
| 9222 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9223 | |
| 9224 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9225 | $(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] | 9226 | $(E) "[LD] Linking $@" |
| 9227 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9228 | $(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] | 9229 | |
| 9230 | endif |
| 9231 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9232 | $(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] | 9233 | |
yang-g | d482e59 | 2015-12-10 14:04:00 -0800 | [diff] [blame] | 9234 | deps_secure_channel_create_test: $(SECURE_CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 9235 | |
| 9236 | ifneq ($(NO_SECURE),true) |
| 9237 | ifneq ($(NO_DEPS),true) |
| 9238 | -include $(SECURE_CHANNEL_CREATE_TEST_OBJS:.o=.dep) |
| 9239 | endif |
| 9240 | endif |
| 9241 | |
| 9242 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9243 | SECURE_ENDPOINT_TEST_SRC = \ |
| 9244 | test/core/security/secure_endpoint_test.c \ |
| 9245 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9246 | 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] | 9247 | ifeq ($(NO_SECURE),true) |
| 9248 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9249 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9250 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9251 | $(BINDIR)/$(CONFIG)/secure_endpoint_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9252 | |
| 9253 | else |
| 9254 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9255 | |
| 9256 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9257 | $(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] | 9258 | $(E) "[LD] Linking $@" |
| 9259 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9260 | $(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] | 9261 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9262 | endif |
| 9263 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9264 | $(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] | 9265 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9266 | deps_secure_endpoint_test: $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9267 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9268 | ifneq ($(NO_SECURE),true) |
| 9269 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9270 | -include $(SECURE_ENDPOINT_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9271 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9272 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9273 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9274 | |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 9275 | SERVER_CHTTP2_TEST_SRC = \ |
| 9276 | test/core/surface/server_chttp2_test.c \ |
| 9277 | |
| 9278 | SERVER_CHTTP2_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_CHTTP2_TEST_SRC)))) |
| 9279 | ifeq ($(NO_SECURE),true) |
| 9280 | |
| 9281 | # You can't build secure targets if you don't have OpenSSL. |
| 9282 | |
| 9283 | $(BINDIR)/$(CONFIG)/server_chttp2_test: openssl_dep_error |
| 9284 | |
| 9285 | else |
| 9286 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9287 | |
| 9288 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9289 | $(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] | 9290 | $(E) "[LD] Linking $@" |
| 9291 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9292 | $(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] | 9293 | |
| 9294 | endif |
| 9295 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9296 | $(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] | 9297 | |
yang-g | fe9a975 | 2015-12-09 10:47:18 -0800 | [diff] [blame] | 9298 | deps_server_chttp2_test: $(SERVER_CHTTP2_TEST_OBJS:.o=.dep) |
| 9299 | |
| 9300 | ifneq ($(NO_SECURE),true) |
| 9301 | ifneq ($(NO_DEPS),true) |
| 9302 | -include $(SERVER_CHTTP2_TEST_OBJS:.o=.dep) |
| 9303 | endif |
| 9304 | endif |
| 9305 | |
| 9306 | |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 9307 | SERVER_FUZZER_SRC = \ |
| 9308 | test/core/end2end/fuzzers/server_fuzzer.c \ |
| 9309 | |
| 9310 | SERVER_FUZZER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_FUZZER_SRC)))) |
| 9311 | ifeq ($(NO_SECURE),true) |
| 9312 | |
| 9313 | # You can't build secure targets if you don't have OpenSSL. |
| 9314 | |
| 9315 | $(BINDIR)/$(CONFIG)/server_fuzzer: openssl_dep_error |
| 9316 | |
| 9317 | else |
| 9318 | |
| 9319 | |
| 9320 | |
| 9321 | $(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 |
| 9322 | $(E) "[LD] Linking $@" |
| 9323 | $(Q) mkdir -p `dirname $@` |
| 9324 | $(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 |
| 9325 | |
| 9326 | endif |
| 9327 | |
| 9328 | $(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 |
| 9329 | |
| 9330 | deps_server_fuzzer: $(SERVER_FUZZER_OBJS:.o=.dep) |
| 9331 | |
| 9332 | ifneq ($(NO_SECURE),true) |
| 9333 | ifneq ($(NO_DEPS),true) |
| 9334 | -include $(SERVER_FUZZER_OBJS:.o=.dep) |
| 9335 | endif |
| 9336 | endif |
| 9337 | |
| 9338 | |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 9339 | SERVER_TEST_SRC = \ |
| 9340 | test/core/surface/server_test.c \ |
| 9341 | |
| 9342 | SERVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_TEST_SRC)))) |
| 9343 | ifeq ($(NO_SECURE),true) |
| 9344 | |
| 9345 | # You can't build secure targets if you don't have OpenSSL. |
| 9346 | |
| 9347 | $(BINDIR)/$(CONFIG)/server_test: openssl_dep_error |
| 9348 | |
| 9349 | else |
| 9350 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9351 | |
| 9352 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9353 | $(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] | 9354 | $(E) "[LD] Linking $@" |
| 9355 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9356 | $(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] | 9357 | |
| 9358 | endif |
| 9359 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9360 | $(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] | 9361 | |
yang-g | c3d94fb | 2015-12-10 14:38:00 -0800 | [diff] [blame] | 9362 | deps_server_test: $(SERVER_TEST_OBJS:.o=.dep) |
| 9363 | |
| 9364 | ifneq ($(NO_SECURE),true) |
| 9365 | ifneq ($(NO_DEPS),true) |
| 9366 | -include $(SERVER_TEST_OBJS:.o=.dep) |
| 9367 | endif |
| 9368 | endif |
| 9369 | |
| 9370 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 9371 | SET_INITIAL_CONNECT_STRING_TEST_SRC = \ |
| 9372 | test/core/client_config/set_initial_connect_string_test.c \ |
| 9373 | |
| 9374 | SET_INITIAL_CONNECT_STRING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SET_INITIAL_CONNECT_STRING_TEST_SRC)))) |
| 9375 | ifeq ($(NO_SECURE),true) |
| 9376 | |
| 9377 | # You can't build secure targets if you don't have OpenSSL. |
| 9378 | |
| 9379 | $(BINDIR)/$(CONFIG)/set_initial_connect_string_test: openssl_dep_error |
| 9380 | |
| 9381 | else |
| 9382 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9383 | |
| 9384 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9385 | $(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] | 9386 | $(E) "[LD] Linking $@" |
| 9387 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9388 | $(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] | 9389 | |
| 9390 | endif |
| 9391 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9392 | $(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] | 9393 | |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 9394 | deps_set_initial_connect_string_test: $(SET_INITIAL_CONNECT_STRING_TEST_OBJS:.o=.dep) |
| 9395 | |
| 9396 | ifneq ($(NO_SECURE),true) |
| 9397 | ifneq ($(NO_DEPS),true) |
| 9398 | -include $(SET_INITIAL_CONNECT_STRING_TEST_OBJS:.o=.dep) |
| 9399 | endif |
| 9400 | endif |
| 9401 | |
| 9402 | |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 9403 | SOCKADDR_RESOLVER_TEST_SRC = \ |
| 9404 | test/core/client_config/resolvers/sockaddr_resolver_test.c \ |
| 9405 | |
| 9406 | SOCKADDR_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKADDR_RESOLVER_TEST_SRC)))) |
| 9407 | ifeq ($(NO_SECURE),true) |
| 9408 | |
| 9409 | # You can't build secure targets if you don't have OpenSSL. |
| 9410 | |
| 9411 | $(BINDIR)/$(CONFIG)/sockaddr_resolver_test: openssl_dep_error |
| 9412 | |
| 9413 | else |
| 9414 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9415 | |
| 9416 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9417 | $(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] | 9418 | $(E) "[LD] Linking $@" |
| 9419 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9420 | $(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] | 9421 | |
| 9422 | endif |
| 9423 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9424 | $(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] | 9425 | |
Craig Tiller | b8bd62e | 2015-12-10 15:51:15 -0800 | [diff] [blame] | 9426 | deps_sockaddr_resolver_test: $(SOCKADDR_RESOLVER_TEST_OBJS:.o=.dep) |
| 9427 | |
| 9428 | ifneq ($(NO_SECURE),true) |
| 9429 | ifneq ($(NO_DEPS),true) |
| 9430 | -include $(SOCKADDR_RESOLVER_TEST_OBJS:.o=.dep) |
| 9431 | endif |
| 9432 | endif |
| 9433 | |
| 9434 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9435 | SOCKADDR_UTILS_TEST_SRC = \ |
| 9436 | test/core/iomgr/sockaddr_utils_test.c \ |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9437 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9438 | 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] | 9439 | ifeq ($(NO_SECURE),true) |
| 9440 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9441 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9442 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9443 | $(BINDIR)/$(CONFIG)/sockaddr_utils_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9444 | |
| 9445 | else |
| 9446 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9447 | |
| 9448 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9449 | $(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] | 9450 | $(E) "[LD] Linking $@" |
| 9451 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9452 | $(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] | 9453 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9454 | endif |
| 9455 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9456 | $(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] | 9457 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9458 | deps_sockaddr_utils_test: $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9459 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9460 | ifneq ($(NO_SECURE),true) |
| 9461 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9462 | -include $(SOCKADDR_UTILS_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9463 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9464 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9465 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9466 | |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 9467 | SOCKET_UTILS_TEST_SRC = \ |
| 9468 | test/core/iomgr/socket_utils_test.c \ |
| 9469 | |
| 9470 | SOCKET_UTILS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SOCKET_UTILS_TEST_SRC)))) |
| 9471 | ifeq ($(NO_SECURE),true) |
| 9472 | |
| 9473 | # You can't build secure targets if you don't have OpenSSL. |
| 9474 | |
| 9475 | $(BINDIR)/$(CONFIG)/socket_utils_test: openssl_dep_error |
| 9476 | |
| 9477 | else |
| 9478 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9479 | |
| 9480 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9481 | $(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] | 9482 | $(E) "[LD] Linking $@" |
| 9483 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9484 | $(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] | 9485 | |
| 9486 | endif |
| 9487 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9488 | $(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] | 9489 | |
Craig Tiller | 2749320 | 2015-12-11 11:30:26 -0800 | [diff] [blame] | 9490 | deps_socket_utils_test: $(SOCKET_UTILS_TEST_OBJS:.o=.dep) |
| 9491 | |
| 9492 | ifneq ($(NO_SECURE),true) |
| 9493 | ifneq ($(NO_DEPS),true) |
| 9494 | -include $(SOCKET_UTILS_TEST_OBJS:.o=.dep) |
| 9495 | endif |
| 9496 | endif |
| 9497 | |
| 9498 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9499 | TCP_CLIENT_POSIX_TEST_SRC = \ |
| 9500 | test/core/iomgr/tcp_client_posix_test.c \ |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9501 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9502 | 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] | 9503 | ifeq ($(NO_SECURE),true) |
| 9504 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9505 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9506 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9507 | $(BINDIR)/$(CONFIG)/tcp_client_posix_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9508 | |
| 9509 | else |
| 9510 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9511 | |
| 9512 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9513 | $(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] | 9514 | $(E) "[LD] Linking $@" |
| 9515 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9516 | $(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] | 9517 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9518 | endif |
| 9519 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9520 | $(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] | 9521 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9522 | deps_tcp_client_posix_test: $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9523 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9524 | ifneq ($(NO_SECURE),true) |
| 9525 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9526 | -include $(TCP_CLIENT_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9527 | endif |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 9528 | endif |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9529 | |
ctiller | 8919f60 | 2014-12-10 10:19:42 -0800 | [diff] [blame] | 9530 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9531 | TCP_POSIX_TEST_SRC = \ |
| 9532 | test/core/iomgr/tcp_posix_test.c \ |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9533 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9534 | 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] | 9535 | ifeq ($(NO_SECURE),true) |
| 9536 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9537 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9538 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9539 | $(BINDIR)/$(CONFIG)/tcp_posix_test: openssl_dep_error |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9540 | |
| 9541 | else |
| 9542 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9543 | |
| 9544 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9545 | $(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] | 9546 | $(E) "[LD] Linking $@" |
| 9547 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9548 | $(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] | 9549 | |
| 9550 | endif |
| 9551 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9552 | $(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] | 9553 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9554 | deps_tcp_posix_test: $(TCP_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9555 | |
| 9556 | ifneq ($(NO_SECURE),true) |
| 9557 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9558 | -include $(TCP_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9559 | endif |
| 9560 | endif |
| 9561 | |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9562 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9563 | TCP_SERVER_POSIX_TEST_SRC = \ |
| 9564 | test/core/iomgr/tcp_server_posix_test.c \ |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9565 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9566 | 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] | 9567 | ifeq ($(NO_SECURE),true) |
| 9568 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9569 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 9570 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9571 | $(BINDIR)/$(CONFIG)/tcp_server_posix_test: openssl_dep_error |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9572 | |
| 9573 | else |
| 9574 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9575 | |
| 9576 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9577 | $(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] | 9578 | $(E) "[LD] Linking $@" |
| 9579 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9580 | $(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] | 9581 | |
| 9582 | endif |
| 9583 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9584 | $(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] | 9585 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9586 | deps_tcp_server_posix_test: $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9587 | |
| 9588 | ifneq ($(NO_SECURE),true) |
| 9589 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9590 | -include $(TCP_SERVER_POSIX_TEST_OBJS:.o=.dep) |
| 9591 | endif |
| 9592 | endif |
| 9593 | |
| 9594 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9595 | TIME_AVERAGED_STATS_TEST_SRC = \ |
| 9596 | test/core/iomgr/time_averaged_stats_test.c \ |
| 9597 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9598 | 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] | 9599 | ifeq ($(NO_SECURE),true) |
| 9600 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9601 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9602 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9603 | $(BINDIR)/$(CONFIG)/time_averaged_stats_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9604 | |
| 9605 | else |
| 9606 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9607 | |
| 9608 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9609 | $(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] | 9610 | $(E) "[LD] Linking $@" |
| 9611 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9612 | $(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] | 9613 | |
| 9614 | endif |
| 9615 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9616 | $(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] | 9617 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9618 | deps_time_averaged_stats_test: $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep) |
| 9619 | |
| 9620 | ifneq ($(NO_SECURE),true) |
| 9621 | ifneq ($(NO_DEPS),true) |
| 9622 | -include $(TIME_AVERAGED_STATS_TEST_OBJS:.o=.dep) |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9623 | endif |
| 9624 | endif |
| 9625 | |
ctiller | 3bf466f | 2014-12-19 16:21:57 -0800 | [diff] [blame] | 9626 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9627 | TIMEOUT_ENCODING_TEST_SRC = \ |
| 9628 | test/core/transport/chttp2/timeout_encoding_test.c \ |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 9629 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9630 | 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] | 9631 | ifeq ($(NO_SECURE),true) |
| 9632 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9633 | # You can't build secure targets if you don't have OpenSSL. |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 9634 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9635 | $(BINDIR)/$(CONFIG)/timeout_encoding_test: openssl_dep_error |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 9636 | |
| 9637 | else |
| 9638 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9639 | |
| 9640 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9641 | $(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] | 9642 | $(E) "[LD] Linking $@" |
| 9643 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9644 | $(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] | 9645 | |
| 9646 | endif |
| 9647 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9648 | $(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] | 9649 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9650 | deps_timeout_encoding_test: $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep) |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 9651 | |
| 9652 | ifneq ($(NO_SECURE),true) |
| 9653 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9654 | -include $(TIMEOUT_ENCODING_TEST_OBJS:.o=.dep) |
| 9655 | endif |
| 9656 | endif |
| 9657 | |
| 9658 | |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 9659 | TIMER_HEAP_TEST_SRC = \ |
| 9660 | test/core/iomgr/timer_heap_test.c \ |
| 9661 | |
| 9662 | TIMER_HEAP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMER_HEAP_TEST_SRC)))) |
| 9663 | ifeq ($(NO_SECURE),true) |
| 9664 | |
| 9665 | # You can't build secure targets if you don't have OpenSSL. |
| 9666 | |
| 9667 | $(BINDIR)/$(CONFIG)/timer_heap_test: openssl_dep_error |
| 9668 | |
| 9669 | else |
| 9670 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9671 | |
| 9672 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9673 | $(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] | 9674 | $(E) "[LD] Linking $@" |
| 9675 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9676 | $(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] | 9677 | |
| 9678 | endif |
| 9679 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9680 | $(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] | 9681 | |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 9682 | deps_timer_heap_test: $(TIMER_HEAP_TEST_OBJS:.o=.dep) |
| 9683 | |
| 9684 | ifneq ($(NO_SECURE),true) |
| 9685 | ifneq ($(NO_DEPS),true) |
| 9686 | -include $(TIMER_HEAP_TEST_OBJS:.o=.dep) |
| 9687 | endif |
| 9688 | endif |
| 9689 | |
| 9690 | |
| 9691 | TIMER_LIST_TEST_SRC = \ |
| 9692 | test/core/iomgr/timer_list_test.c \ |
| 9693 | |
| 9694 | TIMER_LIST_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMER_LIST_TEST_SRC)))) |
| 9695 | ifeq ($(NO_SECURE),true) |
| 9696 | |
| 9697 | # You can't build secure targets if you don't have OpenSSL. |
| 9698 | |
| 9699 | $(BINDIR)/$(CONFIG)/timer_list_test: openssl_dep_error |
| 9700 | |
| 9701 | else |
| 9702 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9703 | |
| 9704 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9705 | $(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] | 9706 | $(E) "[LD] Linking $@" |
| 9707 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9708 | $(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] | 9709 | |
| 9710 | endif |
| 9711 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9712 | $(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] | 9713 | |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 9714 | deps_timer_list_test: $(TIMER_LIST_TEST_OBJS:.o=.dep) |
| 9715 | |
| 9716 | ifneq ($(NO_SECURE),true) |
| 9717 | ifneq ($(NO_DEPS),true) |
| 9718 | -include $(TIMER_LIST_TEST_OBJS:.o=.dep) |
| 9719 | endif |
| 9720 | endif |
| 9721 | |
| 9722 | |
Vijay Pai | c914c4a | 2015-04-13 07:00:07 -0700 | [diff] [blame] | 9723 | TIMERS_TEST_SRC = \ |
Vijay Pai | 6dfa7e6 | 2015-04-13 10:41:40 -0700 | [diff] [blame] | 9724 | test/core/profiling/timers_test.c \ |
Vijay Pai | c914c4a | 2015-04-13 07:00:07 -0700 | [diff] [blame] | 9725 | |
| 9726 | TIMERS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TIMERS_TEST_SRC)))) |
Vijay Pai | c914c4a | 2015-04-13 07:00:07 -0700 | [diff] [blame] | 9727 | ifeq ($(NO_SECURE),true) |
| 9728 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9729 | # You can't build secure targets if you don't have OpenSSL. |
Vijay Pai | c914c4a | 2015-04-13 07:00:07 -0700 | [diff] [blame] | 9730 | |
| 9731 | $(BINDIR)/$(CONFIG)/timers_test: openssl_dep_error |
| 9732 | |
| 9733 | else |
| 9734 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9735 | |
| 9736 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9737 | $(BINDIR)/$(CONFIG)/timers_test: $(TIMERS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Vijay Pai | c914c4a | 2015-04-13 07:00:07 -0700 | [diff] [blame] | 9738 | $(E) "[LD] Linking $@" |
| 9739 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9740 | $(Q) $(LD) $(LDFLAGS) $(TIMERS_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)/timers_test |
Vijay Pai | c914c4a | 2015-04-13 07:00:07 -0700 | [diff] [blame] | 9741 | |
| 9742 | endif |
| 9743 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9744 | $(OBJDIR)/$(CONFIG)/test/core/profiling/timers_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] | 9745 | |
Vijay Pai | c914c4a | 2015-04-13 07:00:07 -0700 | [diff] [blame] | 9746 | deps_timers_test: $(TIMERS_TEST_OBJS:.o=.dep) |
| 9747 | |
| 9748 | ifneq ($(NO_SECURE),true) |
| 9749 | ifneq ($(NO_DEPS),true) |
| 9750 | -include $(TIMERS_TEST_OBJS:.o=.dep) |
| 9751 | endif |
| 9752 | endif |
| 9753 | |
| 9754 | |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 9755 | TRANSPORT_CONNECTIVITY_STATE_TEST_SRC = \ |
| 9756 | test/core/transport/connectivity_state_test.c \ |
| 9757 | |
| 9758 | TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(TRANSPORT_CONNECTIVITY_STATE_TEST_SRC)))) |
| 9759 | ifeq ($(NO_SECURE),true) |
| 9760 | |
| 9761 | # You can't build secure targets if you don't have OpenSSL. |
| 9762 | |
| 9763 | $(BINDIR)/$(CONFIG)/transport_connectivity_state_test: openssl_dep_error |
| 9764 | |
| 9765 | else |
| 9766 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9767 | |
| 9768 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9769 | $(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] | 9770 | $(E) "[LD] Linking $@" |
| 9771 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9772 | $(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] | 9773 | |
| 9774 | endif |
| 9775 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9776 | $(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] | 9777 | |
Craig Tiller | 179e6fe | 2015-12-09 11:09:47 -0800 | [diff] [blame] | 9778 | deps_transport_connectivity_state_test: $(TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS:.o=.dep) |
| 9779 | |
| 9780 | ifneq ($(NO_SECURE),true) |
| 9781 | ifneq ($(NO_DEPS),true) |
| 9782 | -include $(TRANSPORT_CONNECTIVITY_STATE_TEST_OBJS:.o=.dep) |
| 9783 | endif |
| 9784 | endif |
| 9785 | |
| 9786 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9787 | TRANSPORT_METADATA_TEST_SRC = \ |
| 9788 | test/core/transport/metadata_test.c \ |
| 9789 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9790 | 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] | 9791 | ifeq ($(NO_SECURE),true) |
| 9792 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9793 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9794 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 9795 | $(BINDIR)/$(CONFIG)/transport_metadata_test: openssl_dep_error |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9796 | |
| 9797 | else |
| 9798 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9799 | |
| 9800 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9801 | $(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] | 9802 | $(E) "[LD] Linking $@" |
| 9803 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9804 | $(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] | 9805 | |
| 9806 | endif |
| 9807 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9808 | $(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] | 9809 | |
Craig Tiller | 17ec5f9 | 2015-01-18 11:30:41 -0800 | [diff] [blame] | 9810 | deps_transport_metadata_test: $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep) |
| 9811 | |
| 9812 | ifneq ($(NO_SECURE),true) |
| 9813 | ifneq ($(NO_DEPS),true) |
| 9814 | -include $(TRANSPORT_METADATA_TEST_OBJS:.o=.dep) |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 9815 | endif |
| 9816 | endif |
| 9817 | |
| 9818 | |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 9819 | TRANSPORT_SECURITY_TEST_SRC = \ |
| 9820 | test/core/tsi/transport_security_test.c \ |
| 9821 | |
| 9822 | 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] | 9823 | ifeq ($(NO_SECURE),true) |
| 9824 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 9825 | # You can't build secure targets if you don't have OpenSSL. |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 9826 | |
| 9827 | $(BINDIR)/$(CONFIG)/transport_security_test: openssl_dep_error |
| 9828 | |
| 9829 | else |
| 9830 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9831 | |
| 9832 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9833 | $(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] | 9834 | $(E) "[LD] Linking $@" |
| 9835 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9836 | $(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] | 9837 | |
| 9838 | endif |
| 9839 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9840 | $(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] | 9841 | |
Julien Boeuf | 9fff77e | 2015-02-24 16:50:35 -0800 | [diff] [blame] | 9842 | deps_transport_security_test: $(TRANSPORT_SECURITY_TEST_OBJS:.o=.dep) |
| 9843 | |
| 9844 | ifneq ($(NO_SECURE),true) |
| 9845 | ifneq ($(NO_DEPS),true) |
| 9846 | -include $(TRANSPORT_SECURITY_TEST_OBJS:.o=.dep) |
| 9847 | endif |
| 9848 | endif |
| 9849 | |
| 9850 | |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 9851 | UDP_SERVER_TEST_SRC = \ |
| 9852 | test/core/iomgr/udp_server_test.c \ |
| 9853 | |
| 9854 | UDP_SERVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(UDP_SERVER_TEST_SRC)))) |
| 9855 | ifeq ($(NO_SECURE),true) |
| 9856 | |
| 9857 | # You can't build secure targets if you don't have OpenSSL. |
| 9858 | |
| 9859 | $(BINDIR)/$(CONFIG)/udp_server_test: openssl_dep_error |
| 9860 | |
| 9861 | else |
| 9862 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9863 | |
| 9864 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9865 | $(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] | 9866 | $(E) "[LD] Linking $@" |
| 9867 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9868 | $(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] | 9869 | |
| 9870 | endif |
| 9871 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9872 | $(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] | 9873 | |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 9874 | deps_udp_server_test: $(UDP_SERVER_TEST_OBJS:.o=.dep) |
| 9875 | |
| 9876 | ifneq ($(NO_SECURE),true) |
| 9877 | ifneq ($(NO_DEPS),true) |
| 9878 | -include $(UDP_SERVER_TEST_OBJS:.o=.dep) |
| 9879 | endif |
| 9880 | endif |
| 9881 | |
| 9882 | |
Craig Tiller | 71c610d | 2016-03-18 15:57:08 -0700 | [diff] [blame] | 9883 | URI_FUZZER_TEST_SRC = \ |
| 9884 | test/core/client_config/uri_fuzzer_test.c \ |
| 9885 | |
| 9886 | URI_FUZZER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(URI_FUZZER_TEST_SRC)))) |
| 9887 | ifeq ($(NO_SECURE),true) |
| 9888 | |
| 9889 | # You can't build secure targets if you don't have OpenSSL. |
| 9890 | |
| 9891 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test: openssl_dep_error |
| 9892 | |
| 9893 | else |
| 9894 | |
| 9895 | |
| 9896 | |
| 9897 | $(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 |
| 9898 | $(E) "[LD] Linking $@" |
| 9899 | $(Q) mkdir -p `dirname $@` |
| 9900 | $(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 |
| 9901 | |
| 9902 | endif |
| 9903 | |
| 9904 | $(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 |
| 9905 | |
| 9906 | deps_uri_fuzzer_test: $(URI_FUZZER_TEST_OBJS:.o=.dep) |
| 9907 | |
| 9908 | ifneq ($(NO_SECURE),true) |
| 9909 | ifneq ($(NO_DEPS),true) |
| 9910 | -include $(URI_FUZZER_TEST_OBJS:.o=.dep) |
| 9911 | endif |
| 9912 | endif |
| 9913 | |
| 9914 | |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 9915 | URI_PARSER_TEST_SRC = \ |
| 9916 | test/core/client_config/uri_parser_test.c \ |
| 9917 | |
| 9918 | URI_PARSER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(URI_PARSER_TEST_SRC)))) |
| 9919 | ifeq ($(NO_SECURE),true) |
| 9920 | |
Craig Tiller | 8ebc34d | 2015-07-08 07:46:04 -0700 | [diff] [blame] | 9921 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 9922 | |
| 9923 | $(BINDIR)/$(CONFIG)/uri_parser_test: openssl_dep_error |
| 9924 | |
| 9925 | else |
| 9926 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9927 | |
| 9928 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9929 | $(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] | 9930 | $(E) "[LD] Linking $@" |
| 9931 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9932 | $(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] | 9933 | |
| 9934 | endif |
| 9935 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9936 | $(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] | 9937 | |
Craig Tiller | 3bc8ebd | 2015-06-24 15:41:15 -0700 | [diff] [blame] | 9938 | deps_uri_parser_test: $(URI_PARSER_TEST_OBJS:.o=.dep) |
| 9939 | |
| 9940 | ifneq ($(NO_SECURE),true) |
| 9941 | ifneq ($(NO_DEPS),true) |
| 9942 | -include $(URI_PARSER_TEST_OBJS:.o=.dep) |
| 9943 | endif |
| 9944 | endif |
| 9945 | |
| 9946 | |
Craig Tiller | 73b6606 | 2015-09-09 09:34:46 -0700 | [diff] [blame] | 9947 | WORKQUEUE_TEST_SRC = \ |
| 9948 | test/core/iomgr/workqueue_test.c \ |
| 9949 | |
| 9950 | WORKQUEUE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(WORKQUEUE_TEST_SRC)))) |
| 9951 | ifeq ($(NO_SECURE),true) |
| 9952 | |
| 9953 | # You can't build secure targets if you don't have OpenSSL. |
| 9954 | |
| 9955 | $(BINDIR)/$(CONFIG)/workqueue_test: openssl_dep_error |
| 9956 | |
| 9957 | else |
| 9958 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 9959 | |
| 9960 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9961 | $(BINDIR)/$(CONFIG)/workqueue_test: $(WORKQUEUE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Craig Tiller | 73b6606 | 2015-09-09 09:34:46 -0700 | [diff] [blame] | 9962 | $(E) "[LD] Linking $@" |
| 9963 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9964 | $(Q) $(LD) $(LDFLAGS) $(WORKQUEUE_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)/workqueue_test |
Craig Tiller | 73b6606 | 2015-09-09 09:34:46 -0700 | [diff] [blame] | 9965 | |
| 9966 | endif |
| 9967 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 9968 | $(OBJDIR)/$(CONFIG)/test/core/iomgr/workqueue_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] | 9969 | |
Craig Tiller | 73b6606 | 2015-09-09 09:34:46 -0700 | [diff] [blame] | 9970 | deps_workqueue_test: $(WORKQUEUE_TEST_OBJS:.o=.dep) |
| 9971 | |
| 9972 | ifneq ($(NO_SECURE),true) |
| 9973 | ifneq ($(NO_DEPS),true) |
| 9974 | -include $(WORKQUEUE_TEST_OBJS:.o=.dep) |
| 9975 | endif |
| 9976 | endif |
| 9977 | |
| 9978 | |
vjpai | 04e992a | 2016-02-10 16:58:38 -0800 | [diff] [blame] | 9979 | ALARM_CPP_TEST_SRC = \ |
| 9980 | test/cpp/common/alarm_cpp_test.cc \ |
| 9981 | |
| 9982 | ALARM_CPP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ALARM_CPP_TEST_SRC)))) |
| 9983 | ifeq ($(NO_SECURE),true) |
| 9984 | |
| 9985 | # You can't build secure targets if you don't have OpenSSL. |
| 9986 | |
| 9987 | $(BINDIR)/$(CONFIG)/alarm_cpp_test: openssl_dep_error |
| 9988 | |
| 9989 | else |
| 9990 | |
| 9991 | |
| 9992 | |
| 9993 | |
| 9994 | ifeq ($(NO_PROTOBUF),true) |
| 9995 | |
| 9996 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 9997 | |
| 9998 | $(BINDIR)/$(CONFIG)/alarm_cpp_test: protobuf_dep_error |
| 9999 | |
| 10000 | else |
| 10001 | |
Vijay Pai | 29e1d95 | 2016-02-11 00:26:18 -0800 | [diff] [blame] | 10002 | $(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] | 10003 | $(E) "[LD] Linking $@" |
| 10004 | $(Q) mkdir -p `dirname $@` |
Vijay Pai | 29e1d95 | 2016-02-11 00:26:18 -0800 | [diff] [blame] | 10005 | $(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] | 10006 | |
| 10007 | endif |
| 10008 | |
| 10009 | endif |
| 10010 | |
Vijay Pai | 29e1d95 | 2016-02-11 00:26:18 -0800 | [diff] [blame] | 10011 | $(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] | 10012 | |
| 10013 | deps_alarm_cpp_test: $(ALARM_CPP_TEST_OBJS:.o=.dep) |
| 10014 | |
| 10015 | ifneq ($(NO_SECURE),true) |
| 10016 | ifneq ($(NO_DEPS),true) |
| 10017 | -include $(ALARM_CPP_TEST_OBJS:.o=.dep) |
| 10018 | endif |
| 10019 | endif |
| 10020 | |
| 10021 | |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10022 | ASYNC_END2END_TEST_SRC = \ |
| 10023 | test/cpp/end2end/async_end2end_test.cc \ |
| 10024 | |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 10025 | 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] | 10026 | ifeq ($(NO_SECURE),true) |
| 10027 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10028 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10029 | |
Craig Tiller | 1f1b630 | 2015-02-17 07:33:19 -0800 | [diff] [blame] | 10030 | $(BINDIR)/$(CONFIG)/async_end2end_test: openssl_dep_error |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10031 | |
| 10032 | else |
| 10033 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10034 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10035 | |
| 10036 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10037 | ifeq ($(NO_PROTOBUF),true) |
| 10038 | |
| 10039 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10040 | |
| 10041 | $(BINDIR)/$(CONFIG)/async_end2end_test: protobuf_dep_error |
| 10042 | |
| 10043 | else |
| 10044 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10045 | $(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] | 10046 | $(E) "[LD] Linking $@" |
| 10047 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10048 | $(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] | 10049 | |
| 10050 | endif |
| 10051 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10052 | endif |
| 10053 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10054 | $(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] | 10055 | |
Craig Tiller | 0220cf1 | 2015-02-12 17:39:26 -0800 | [diff] [blame] | 10056 | deps_async_end2end_test: $(ASYNC_END2END_TEST_OBJS:.o=.dep) |
| 10057 | |
| 10058 | ifneq ($(NO_SECURE),true) |
| 10059 | ifneq ($(NO_DEPS),true) |
| 10060 | -include $(ASYNC_END2END_TEST_OBJS:.o=.dep) |
| 10061 | endif |
| 10062 | endif |
| 10063 | |
| 10064 | |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10065 | AUTH_PROPERTY_ITERATOR_TEST_SRC = \ |
| 10066 | test/cpp/common/auth_property_iterator_test.cc \ |
| 10067 | |
| 10068 | AUTH_PROPERTY_ITERATOR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(AUTH_PROPERTY_ITERATOR_TEST_SRC)))) |
| 10069 | ifeq ($(NO_SECURE),true) |
| 10070 | |
| 10071 | # You can't build secure targets if you don't have OpenSSL. |
| 10072 | |
| 10073 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test: openssl_dep_error |
| 10074 | |
| 10075 | else |
| 10076 | |
| 10077 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10078 | |
| 10079 | |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10080 | ifeq ($(NO_PROTOBUF),true) |
| 10081 | |
| 10082 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10083 | |
| 10084 | $(BINDIR)/$(CONFIG)/auth_property_iterator_test: protobuf_dep_error |
| 10085 | |
| 10086 | else |
| 10087 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10088 | $(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] | 10089 | $(E) "[LD] Linking $@" |
| 10090 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10091 | $(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] | 10092 | |
| 10093 | endif |
| 10094 | |
| 10095 | endif |
| 10096 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10097 | $(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] | 10098 | |
yang-g | 7ef7232 | 2015-07-16 21:00:51 -0700 | [diff] [blame] | 10099 | deps_auth_property_iterator_test: $(AUTH_PROPERTY_ITERATOR_TEST_OBJS:.o=.dep) |
| 10100 | |
| 10101 | ifneq ($(NO_SECURE),true) |
| 10102 | ifneq ($(NO_DEPS),true) |
| 10103 | -include $(AUTH_PROPERTY_ITERATOR_TEST_OBJS:.o=.dep) |
| 10104 | endif |
| 10105 | endif |
| 10106 | |
| 10107 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10108 | CHANNEL_ARGUMENTS_TEST_SRC = \ |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 10109 | test/cpp/common/channel_arguments_test.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10110 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10111 | 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] | 10112 | ifeq ($(NO_SECURE),true) |
| 10113 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10114 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10115 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10116 | $(BINDIR)/$(CONFIG)/channel_arguments_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10117 | |
| 10118 | else |
| 10119 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10120 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10121 | |
| 10122 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10123 | ifeq ($(NO_PROTOBUF),true) |
| 10124 | |
| 10125 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10126 | |
| 10127 | $(BINDIR)/$(CONFIG)/channel_arguments_test: protobuf_dep_error |
| 10128 | |
| 10129 | else |
| 10130 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10131 | $(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] | 10132 | $(E) "[LD] Linking $@" |
| 10133 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10134 | $(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] | 10135 | |
| 10136 | endif |
| 10137 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10138 | endif |
| 10139 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10140 | $(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] | 10141 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10142 | deps_channel_arguments_test: $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep) |
| 10143 | |
| 10144 | ifneq ($(NO_SECURE),true) |
| 10145 | ifneq ($(NO_DEPS),true) |
| 10146 | -include $(CHANNEL_ARGUMENTS_TEST_OBJS:.o=.dep) |
| 10147 | endif |
| 10148 | endif |
| 10149 | |
| 10150 | |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 10151 | CLI_CALL_TEST_SRC = \ |
| 10152 | test/cpp/util/cli_call_test.cc \ |
| 10153 | |
| 10154 | 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] | 10155 | ifeq ($(NO_SECURE),true) |
| 10156 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10157 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 10158 | |
| 10159 | $(BINDIR)/$(CONFIG)/cli_call_test: openssl_dep_error |
| 10160 | |
| 10161 | else |
| 10162 | |
| 10163 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10164 | |
| 10165 | |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 10166 | ifeq ($(NO_PROTOBUF),true) |
| 10167 | |
| 10168 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10169 | |
| 10170 | $(BINDIR)/$(CONFIG)/cli_call_test: protobuf_dep_error |
| 10171 | |
| 10172 | else |
| 10173 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10174 | $(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] | 10175 | $(E) "[LD] Linking $@" |
| 10176 | $(Q) mkdir -p `dirname $@` |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10177 | $(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] | 10178 | |
| 10179 | endif |
| 10180 | |
| 10181 | endif |
| 10182 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10183 | $(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] | 10184 | |
Yang Gao | b946b5e | 2015-03-27 13:20:59 -0700 | [diff] [blame] | 10185 | deps_cli_call_test: $(CLI_CALL_TEST_OBJS:.o=.dep) |
| 10186 | |
| 10187 | ifneq ($(NO_SECURE),true) |
| 10188 | ifneq ($(NO_DEPS),true) |
| 10189 | -include $(CLI_CALL_TEST_OBJS:.o=.dep) |
| 10190 | endif |
| 10191 | endif |
| 10192 | |
| 10193 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10194 | CLIENT_CRASH_TEST_SRC = \ |
| 10195 | test/cpp/end2end/client_crash_test.cc \ |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10196 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10197 | 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] | 10198 | ifeq ($(NO_SECURE),true) |
| 10199 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10200 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10201 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10202 | $(BINDIR)/$(CONFIG)/client_crash_test: openssl_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10203 | |
| 10204 | else |
| 10205 | |
| 10206 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10207 | |
| 10208 | |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10209 | ifeq ($(NO_PROTOBUF),true) |
| 10210 | |
| 10211 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10212 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10213 | $(BINDIR)/$(CONFIG)/client_crash_test: protobuf_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10214 | |
| 10215 | else |
| 10216 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10217 | $(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] | 10218 | $(E) "[LD] Linking $@" |
| 10219 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10220 | $(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] | 10221 | |
| 10222 | endif |
| 10223 | |
| 10224 | endif |
| 10225 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10226 | $(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] | 10227 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10228 | deps_client_crash_test: $(CLIENT_CRASH_TEST_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10229 | |
| 10230 | ifneq ($(NO_SECURE),true) |
| 10231 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10232 | -include $(CLIENT_CRASH_TEST_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10233 | endif |
| 10234 | endif |
| 10235 | |
| 10236 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10237 | CLIENT_CRASH_TEST_SERVER_SRC = \ |
| 10238 | test/cpp/end2end/client_crash_test_server.cc \ |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10239 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10240 | 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] | 10241 | ifeq ($(NO_SECURE),true) |
| 10242 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10243 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10244 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10245 | $(BINDIR)/$(CONFIG)/client_crash_test_server: openssl_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10246 | |
| 10247 | else |
| 10248 | |
| 10249 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10250 | |
| 10251 | |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10252 | ifeq ($(NO_PROTOBUF),true) |
| 10253 | |
| 10254 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10255 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10256 | $(BINDIR)/$(CONFIG)/client_crash_test_server: protobuf_dep_error |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10257 | |
| 10258 | else |
| 10259 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10260 | $(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] | 10261 | $(E) "[LD] Linking $@" |
| 10262 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10263 | $(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] | 10264 | |
| 10265 | endif |
| 10266 | |
| 10267 | endif |
| 10268 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10269 | $(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] | 10270 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10271 | deps_client_crash_test_server: $(CLIENT_CRASH_TEST_SERVER_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10272 | |
| 10273 | ifneq ($(NO_SECURE),true) |
| 10274 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 10275 | -include $(CLIENT_CRASH_TEST_SERVER_OBJS:.o=.dep) |
Craig Tiller | fbac5f1 | 2015-05-15 14:20:44 -0700 | [diff] [blame] | 10276 | endif |
| 10277 | endif |
| 10278 | |
| 10279 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10280 | CODEGEN_TEST_FULL_SRC = \ |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10281 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc \ |
| 10282 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 10283 | $(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] | 10284 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc \ |
| 10285 | $(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] | 10286 | test/cpp/codegen/codegen_test_full.cc \ |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10287 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10288 | 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] | 10289 | ifeq ($(NO_SECURE),true) |
| 10290 | |
| 10291 | # You can't build secure targets if you don't have OpenSSL. |
| 10292 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10293 | $(BINDIR)/$(CONFIG)/codegen_test_full: openssl_dep_error |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10294 | |
| 10295 | else |
| 10296 | |
| 10297 | |
| 10298 | |
| 10299 | |
| 10300 | ifeq ($(NO_PROTOBUF),true) |
| 10301 | |
| 10302 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10303 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10304 | $(BINDIR)/$(CONFIG)/codegen_test_full: protobuf_dep_error |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10305 | |
| 10306 | else |
| 10307 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10308 | $(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] | 10309 | $(E) "[LD] Linking $@" |
| 10310 | $(Q) mkdir -p `dirname $@` |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10311 | $(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 |
| 10312 | |
| 10313 | endif |
| 10314 | |
| 10315 | endif |
| 10316 | |
| 10317 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/control.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10318 | |
| 10319 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10320 | |
| 10321 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/payloads.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10322 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10323 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/services.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10324 | |
| 10325 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/stats.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10326 | |
| 10327 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/codegen_test_full.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10328 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10329 | deps_codegen_test_full: $(CODEGEN_TEST_FULL_OBJS:.o=.dep) |
| 10330 | |
| 10331 | ifneq ($(NO_SECURE),true) |
| 10332 | ifneq ($(NO_DEPS),true) |
| 10333 | -include $(CODEGEN_TEST_FULL_OBJS:.o=.dep) |
| 10334 | endif |
| 10335 | endif |
vjpai | d8364f7 | 2016-05-31 12:54:04 -0700 | [diff] [blame] | 10336 | $(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] | 10337 | |
| 10338 | |
| 10339 | CODEGEN_TEST_MINIMAL_SRC = \ |
| 10340 | $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc \ |
| 10341 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 10342 | $(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] | 10343 | $(GENDIR)/src/proto/grpc/testing/services.pb.cc $(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc \ |
| 10344 | $(GENDIR)/src/proto/grpc/testing/stats.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc \ |
| 10345 | test/cpp/codegen/codegen_test_minimal.cc \ |
| 10346 | src/cpp/codegen/codegen_init.cc \ |
| 10347 | |
| 10348 | CODEGEN_TEST_MINIMAL_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CODEGEN_TEST_MINIMAL_SRC)))) |
| 10349 | ifeq ($(NO_SECURE),true) |
| 10350 | |
| 10351 | # You can't build secure targets if you don't have OpenSSL. |
| 10352 | |
| 10353 | $(BINDIR)/$(CONFIG)/codegen_test_minimal: openssl_dep_error |
| 10354 | |
| 10355 | else |
| 10356 | |
| 10357 | |
| 10358 | |
| 10359 | |
| 10360 | ifeq ($(NO_PROTOBUF),true) |
| 10361 | |
| 10362 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10363 | |
| 10364 | $(BINDIR)/$(CONFIG)/codegen_test_minimal: protobuf_dep_error |
| 10365 | |
| 10366 | else |
| 10367 | |
| 10368 | $(BINDIR)/$(CONFIG)/codegen_test_minimal: $(PROTOBUF_DEP) $(CODEGEN_TEST_MINIMAL_OBJS) |
| 10369 | $(E) "[LD] Linking $@" |
| 10370 | $(Q) mkdir -p `dirname $@` |
| 10371 | $(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] | 10372 | |
| 10373 | endif |
| 10374 | |
| 10375 | endif |
| 10376 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 10377 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/control.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10378 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 10379 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/messages.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10380 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 10381 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/payloads.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10382 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 10383 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/services.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10384 | |
Craig Tiller | 03d8f2f | 2016-04-07 08:02:16 -0700 | [diff] [blame] | 10385 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/stats.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10386 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10387 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/codegen_test_minimal.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10388 | |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 10389 | $(OBJDIR)/$(CONFIG)/src/cpp/codegen/codegen_init.o: |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10390 | |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10391 | deps_codegen_test_minimal: $(CODEGEN_TEST_MINIMAL_OBJS:.o=.dep) |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10392 | |
| 10393 | ifneq ($(NO_SECURE),true) |
| 10394 | ifneq ($(NO_DEPS),true) |
David Garcia Quintas | 3a43cc0 | 2016-04-08 16:59:51 -0700 | [diff] [blame] | 10395 | -include $(CODEGEN_TEST_MINIMAL_OBJS:.o=.dep) |
David Garcia Quintas | 4ac52fa | 2016-03-06 20:31:39 -0800 | [diff] [blame] | 10396 | endif |
| 10397 | endif |
vjpai | d8364f7 | 2016-05-31 12:54:04 -0700 | [diff] [blame] | 10398 | $(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 |
| 10399 | $(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] | 10400 | |
| 10401 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10402 | CREDENTIALS_TEST_SRC = \ |
| 10403 | test/cpp/client/credentials_test.cc \ |
| 10404 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10405 | CREDENTIALS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CREDENTIALS_TEST_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10406 | ifeq ($(NO_SECURE),true) |
| 10407 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10408 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10409 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10410 | $(BINDIR)/$(CONFIG)/credentials_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10411 | |
| 10412 | else |
| 10413 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10414 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10415 | |
| 10416 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10417 | ifeq ($(NO_PROTOBUF),true) |
| 10418 | |
| 10419 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10420 | |
| 10421 | $(BINDIR)/$(CONFIG)/credentials_test: protobuf_dep_error |
| 10422 | |
| 10423 | else |
| 10424 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10425 | $(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] | 10426 | $(E) "[LD] Linking $@" |
| 10427 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10428 | $(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] | 10429 | |
| 10430 | endif |
| 10431 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10432 | endif |
| 10433 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10434 | $(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] | 10435 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10436 | deps_credentials_test: $(CREDENTIALS_TEST_OBJS:.o=.dep) |
| 10437 | |
| 10438 | ifneq ($(NO_SECURE),true) |
| 10439 | ifneq ($(NO_DEPS),true) |
| 10440 | -include $(CREDENTIALS_TEST_OBJS:.o=.dep) |
| 10441 | endif |
| 10442 | endif |
| 10443 | |
| 10444 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10445 | CXX_BYTE_BUFFER_TEST_SRC = \ |
| 10446 | test/cpp/util/byte_buffer_test.cc \ |
| 10447 | |
| 10448 | CXX_BYTE_BUFFER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CXX_BYTE_BUFFER_TEST_SRC)))) |
| 10449 | ifeq ($(NO_SECURE),true) |
| 10450 | |
Nicolas "Pixel" Noble | be2d3a3 | 2015-06-30 19:48:47 +0200 | [diff] [blame] | 10451 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10452 | |
| 10453 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test: openssl_dep_error |
| 10454 | |
| 10455 | else |
| 10456 | |
| 10457 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10458 | |
| 10459 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10460 | ifeq ($(NO_PROTOBUF),true) |
| 10461 | |
| 10462 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10463 | |
| 10464 | $(BINDIR)/$(CONFIG)/cxx_byte_buffer_test: protobuf_dep_error |
| 10465 | |
| 10466 | else |
| 10467 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10468 | $(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] | 10469 | $(E) "[LD] Linking $@" |
| 10470 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10471 | $(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] | 10472 | |
| 10473 | endif |
| 10474 | |
| 10475 | endif |
| 10476 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10477 | $(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] | 10478 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10479 | deps_cxx_byte_buffer_test: $(CXX_BYTE_BUFFER_TEST_OBJS:.o=.dep) |
| 10480 | |
| 10481 | ifneq ($(NO_SECURE),true) |
| 10482 | ifneq ($(NO_DEPS),true) |
| 10483 | -include $(CXX_BYTE_BUFFER_TEST_OBJS:.o=.dep) |
| 10484 | endif |
| 10485 | endif |
| 10486 | |
| 10487 | |
| 10488 | CXX_SLICE_TEST_SRC = \ |
| 10489 | test/cpp/util/slice_test.cc \ |
| 10490 | |
| 10491 | CXX_SLICE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CXX_SLICE_TEST_SRC)))) |
| 10492 | ifeq ($(NO_SECURE),true) |
| 10493 | |
Nicolas "Pixel" Noble | be2d3a3 | 2015-06-30 19:48:47 +0200 | [diff] [blame] | 10494 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10495 | |
| 10496 | $(BINDIR)/$(CONFIG)/cxx_slice_test: openssl_dep_error |
| 10497 | |
| 10498 | else |
| 10499 | |
| 10500 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10501 | |
| 10502 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10503 | ifeq ($(NO_PROTOBUF),true) |
| 10504 | |
| 10505 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10506 | |
| 10507 | $(BINDIR)/$(CONFIG)/cxx_slice_test: protobuf_dep_error |
| 10508 | |
| 10509 | else |
| 10510 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10511 | $(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] | 10512 | $(E) "[LD] Linking $@" |
| 10513 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10514 | $(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] | 10515 | |
| 10516 | endif |
| 10517 | |
| 10518 | endif |
| 10519 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10520 | $(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] | 10521 | |
Yang Gao | 89c5a56 | 2015-06-22 16:31:11 -0700 | [diff] [blame] | 10522 | deps_cxx_slice_test: $(CXX_SLICE_TEST_OBJS:.o=.dep) |
| 10523 | |
| 10524 | ifneq ($(NO_SECURE),true) |
| 10525 | ifneq ($(NO_DEPS),true) |
| 10526 | -include $(CXX_SLICE_TEST_OBJS:.o=.dep) |
| 10527 | endif |
| 10528 | endif |
| 10529 | |
| 10530 | |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 10531 | CXX_STRING_REF_TEST_SRC = \ |
| 10532 | test/cpp/util/string_ref_test.cc \ |
| 10533 | |
| 10534 | CXX_STRING_REF_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CXX_STRING_REF_TEST_SRC)))) |
| 10535 | ifeq ($(NO_SECURE),true) |
| 10536 | |
| 10537 | # You can't build secure targets if you don't have OpenSSL. |
| 10538 | |
| 10539 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test: openssl_dep_error |
| 10540 | |
| 10541 | else |
| 10542 | |
| 10543 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10544 | |
| 10545 | |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 10546 | ifeq ($(NO_PROTOBUF),true) |
| 10547 | |
| 10548 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10549 | |
| 10550 | $(BINDIR)/$(CONFIG)/cxx_string_ref_test: protobuf_dep_error |
| 10551 | |
| 10552 | else |
| 10553 | |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 10554 | $(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] | 10555 | $(E) "[LD] Linking $@" |
| 10556 | $(Q) mkdir -p `dirname $@` |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 10557 | $(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] | 10558 | |
| 10559 | endif |
| 10560 | |
| 10561 | endif |
| 10562 | |
Julien Boeuf | 0382bfa | 2015-08-24 23:55:43 -0700 | [diff] [blame] | 10563 | $(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] | 10564 | |
Julien Boeuf | 8fd915a | 2015-08-19 21:18:14 -0700 | [diff] [blame] | 10565 | deps_cxx_string_ref_test: $(CXX_STRING_REF_TEST_OBJS:.o=.dep) |
| 10566 | |
| 10567 | ifneq ($(NO_SECURE),true) |
| 10568 | ifneq ($(NO_DEPS),true) |
| 10569 | -include $(CXX_STRING_REF_TEST_OBJS:.o=.dep) |
| 10570 | endif |
| 10571 | endif |
| 10572 | |
| 10573 | |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 10574 | CXX_TIME_TEST_SRC = \ |
| 10575 | test/cpp/util/time_test.cc \ |
| 10576 | |
| 10577 | 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] | 10578 | ifeq ($(NO_SECURE),true) |
| 10579 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10580 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 10581 | |
| 10582 | $(BINDIR)/$(CONFIG)/cxx_time_test: openssl_dep_error |
| 10583 | |
| 10584 | else |
| 10585 | |
| 10586 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10587 | |
| 10588 | |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 10589 | ifeq ($(NO_PROTOBUF),true) |
| 10590 | |
| 10591 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10592 | |
| 10593 | $(BINDIR)/$(CONFIG)/cxx_time_test: protobuf_dep_error |
| 10594 | |
| 10595 | else |
| 10596 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10597 | $(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] | 10598 | $(E) "[LD] Linking $@" |
| 10599 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10600 | $(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] | 10601 | |
| 10602 | endif |
| 10603 | |
| 10604 | endif |
| 10605 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10606 | $(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] | 10607 | |
Yang Gao | cdb2a6e | 2015-03-20 23:55:04 -0700 | [diff] [blame] | 10608 | deps_cxx_time_test: $(CXX_TIME_TEST_OBJS:.o=.dep) |
| 10609 | |
| 10610 | ifneq ($(NO_SECURE),true) |
| 10611 | ifneq ($(NO_DEPS),true) |
| 10612 | -include $(CXX_TIME_TEST_OBJS:.o=.dep) |
| 10613 | endif |
| 10614 | endif |
| 10615 | |
| 10616 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10617 | END2END_TEST_SRC = \ |
| 10618 | test/cpp/end2end/end2end_test.cc \ |
| 10619 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10620 | END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(END2END_TEST_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10621 | ifeq ($(NO_SECURE),true) |
| 10622 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10623 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10624 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 10625 | $(BINDIR)/$(CONFIG)/end2end_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10626 | |
| 10627 | else |
| 10628 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10629 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10630 | |
| 10631 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10632 | ifeq ($(NO_PROTOBUF),true) |
| 10633 | |
| 10634 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10635 | |
| 10636 | $(BINDIR)/$(CONFIG)/end2end_test: protobuf_dep_error |
| 10637 | |
| 10638 | else |
| 10639 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10640 | $(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] | 10641 | $(E) "[LD] Linking $@" |
| 10642 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10643 | $(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] | 10644 | |
| 10645 | endif |
| 10646 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10647 | endif |
| 10648 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10649 | $(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] | 10650 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 10651 | deps_end2end_test: $(END2END_TEST_OBJS:.o=.dep) |
| 10652 | |
| 10653 | ifneq ($(NO_SECURE),true) |
| 10654 | ifneq ($(NO_DEPS),true) |
| 10655 | -include $(END2END_TEST_OBJS:.o=.dep) |
| 10656 | endif |
| 10657 | endif |
| 10658 | |
| 10659 | |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 10660 | GENERIC_END2END_TEST_SRC = \ |
| 10661 | test/cpp/end2end/generic_end2end_test.cc \ |
| 10662 | |
| 10663 | 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] | 10664 | ifeq ($(NO_SECURE),true) |
| 10665 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10666 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 10667 | |
| 10668 | $(BINDIR)/$(CONFIG)/generic_end2end_test: openssl_dep_error |
| 10669 | |
| 10670 | else |
| 10671 | |
| 10672 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10673 | |
| 10674 | |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 10675 | ifeq ($(NO_PROTOBUF),true) |
| 10676 | |
| 10677 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10678 | |
| 10679 | $(BINDIR)/$(CONFIG)/generic_end2end_test: protobuf_dep_error |
| 10680 | |
| 10681 | else |
| 10682 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10683 | $(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] | 10684 | $(E) "[LD] Linking $@" |
| 10685 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10686 | $(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] | 10687 | |
| 10688 | endif |
| 10689 | |
| 10690 | endif |
| 10691 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 10692 | $(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] | 10693 | |
Yang Gao | 005eb88 | 2015-03-11 22:17:13 -0700 | [diff] [blame] | 10694 | deps_generic_end2end_test: $(GENERIC_END2END_TEST_OBJS:.o=.dep) |
| 10695 | |
| 10696 | ifneq ($(NO_SECURE),true) |
| 10697 | ifneq ($(NO_DEPS),true) |
| 10698 | -include $(GENERIC_END2END_TEST_OBJS:.o=.dep) |
| 10699 | endif |
| 10700 | endif |
| 10701 | |
| 10702 | |
yang-g | b8aa58b | 2016-04-14 15:50:50 -0700 | [diff] [blame] | 10703 | GOLDEN_FILE_TEST_SRC = \ |
| 10704 | $(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc $(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc \ |
| 10705 | test/cpp/codegen/golden_file_test.cc \ |
| 10706 | |
| 10707 | GOLDEN_FILE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GOLDEN_FILE_TEST_SRC)))) |
| 10708 | ifeq ($(NO_SECURE),true) |
| 10709 | |
| 10710 | # You can't build secure targets if you don't have OpenSSL. |
| 10711 | |
| 10712 | $(BINDIR)/$(CONFIG)/golden_file_test: openssl_dep_error |
| 10713 | |
| 10714 | else |
| 10715 | |
| 10716 | |
| 10717 | |
| 10718 | |
| 10719 | ifeq ($(NO_PROTOBUF),true) |
| 10720 | |
| 10721 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10722 | |
| 10723 | $(BINDIR)/$(CONFIG)/golden_file_test: protobuf_dep_error |
| 10724 | |
| 10725 | else |
| 10726 | |
| 10727 | $(BINDIR)/$(CONFIG)/golden_file_test: $(PROTOBUF_DEP) $(GOLDEN_FILE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10728 | $(E) "[LD] Linking $@" |
| 10729 | $(Q) mkdir -p `dirname $@` |
| 10730 | $(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 |
| 10731 | |
| 10732 | endif |
| 10733 | |
| 10734 | endif |
| 10735 | |
| 10736 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/compiler_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10737 | |
| 10738 | $(OBJDIR)/$(CONFIG)/test/cpp/codegen/golden_file_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 10739 | |
| 10740 | deps_golden_file_test: $(GOLDEN_FILE_TEST_OBJS:.o=.dep) |
| 10741 | |
| 10742 | ifneq ($(NO_SECURE),true) |
| 10743 | ifneq ($(NO_DEPS),true) |
| 10744 | -include $(GOLDEN_FILE_TEST_OBJS:.o=.dep) |
| 10745 | endif |
| 10746 | endif |
| 10747 | $(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 |
| 10748 | |
| 10749 | |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10750 | GRPC_CLI_SRC = \ |
| 10751 | test/cpp/util/grpc_cli.cc \ |
| 10752 | |
| 10753 | GRPC_CLI_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CLI_SRC)))) |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10754 | ifeq ($(NO_SECURE),true) |
| 10755 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 10756 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10757 | |
| 10758 | $(BINDIR)/$(CONFIG)/grpc_cli: openssl_dep_error |
| 10759 | |
| 10760 | else |
| 10761 | |
| 10762 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10763 | |
| 10764 | |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10765 | ifeq ($(NO_PROTOBUF),true) |
| 10766 | |
| 10767 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10768 | |
| 10769 | $(BINDIR)/$(CONFIG)/grpc_cli: protobuf_dep_error |
| 10770 | |
| 10771 | else |
| 10772 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10773 | $(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] | 10774 | $(E) "[LD] Linking $@" |
| 10775 | $(Q) mkdir -p `dirname $@` |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10776 | $(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] | 10777 | |
| 10778 | endif |
| 10779 | |
| 10780 | endif |
| 10781 | |
yang-g | abdec2d | 2016-05-19 10:11:24 -0700 | [diff] [blame] | 10782 | $(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] | 10783 | |
Yang Gao | a5e20d3 | 2015-03-25 09:55:20 -0700 | [diff] [blame] | 10784 | deps_grpc_cli: $(GRPC_CLI_OBJS:.o=.dep) |
| 10785 | |
| 10786 | ifneq ($(NO_SECURE),true) |
| 10787 | ifneq ($(NO_DEPS),true) |
| 10788 | -include $(GRPC_CLI_OBJS:.o=.dep) |
| 10789 | endif |
| 10790 | endif |
| 10791 | |
| 10792 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10793 | GRPC_CPP_PLUGIN_SRC = \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10794 | src/compiler/cpp_plugin.cc \ |
| 10795 | |
| 10796 | GRPC_CPP_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CPP_PLUGIN_SRC)))) |
| 10797 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10798 | |
| 10799 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10800 | ifeq ($(NO_PROTOBUF),true) |
| 10801 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10802 | # 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] | 10803 | |
| 10804 | $(BINDIR)/$(CONFIG)/grpc_cpp_plugin: protobuf_dep_error |
| 10805 | |
| 10806 | else |
| 10807 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10808 | $(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] | 10809 | $(E) "[HOSTLD] Linking $@" |
| 10810 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10811 | $(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] | 10812 | |
| 10813 | endif |
| 10814 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10815 | $(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] | 10816 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10817 | deps_grpc_cpp_plugin: $(GRPC_CPP_PLUGIN_OBJS:.o=.dep) |
| 10818 | |
| 10819 | ifneq ($(NO_DEPS),true) |
| 10820 | -include $(GRPC_CPP_PLUGIN_OBJS:.o=.dep) |
| 10821 | endif |
| 10822 | |
| 10823 | |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 10824 | GRPC_CSHARP_PLUGIN_SRC = \ |
| 10825 | src/compiler/csharp_plugin.cc \ |
| 10826 | |
| 10827 | GRPC_CSHARP_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_CSHARP_PLUGIN_SRC)))) |
| 10828 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10829 | |
| 10830 | |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 10831 | ifeq ($(NO_PROTOBUF),true) |
| 10832 | |
| 10833 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10834 | |
| 10835 | $(BINDIR)/$(CONFIG)/grpc_csharp_plugin: protobuf_dep_error |
| 10836 | |
| 10837 | else |
| 10838 | |
| 10839 | $(BINDIR)/$(CONFIG)/grpc_csharp_plugin: $(PROTOBUF_DEP) $(GRPC_CSHARP_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 10840 | $(E) "[HOSTLD] Linking $@" |
| 10841 | $(Q) mkdir -p `dirname $@` |
| 10842 | $(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 |
| 10843 | |
| 10844 | endif |
| 10845 | |
| 10846 | $(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] | 10847 | |
Jan Tattermusch | 2d92495 | 2015-05-06 10:23:17 -0700 | [diff] [blame] | 10848 | deps_grpc_csharp_plugin: $(GRPC_CSHARP_PLUGIN_OBJS:.o=.dep) |
| 10849 | |
| 10850 | ifneq ($(NO_DEPS),true) |
| 10851 | -include $(GRPC_CSHARP_PLUGIN_OBJS:.o=.dep) |
| 10852 | endif |
| 10853 | |
| 10854 | |
murgatroid99 | d2ee81f | 2016-02-26 11:10:33 -0800 | [diff] [blame] | 10855 | GRPC_NODE_PLUGIN_SRC = \ |
| 10856 | src/compiler/node_plugin.cc \ |
| 10857 | |
| 10858 | GRPC_NODE_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_NODE_PLUGIN_SRC)))) |
| 10859 | |
| 10860 | |
| 10861 | |
| 10862 | ifeq ($(NO_PROTOBUF),true) |
| 10863 | |
| 10864 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10865 | |
| 10866 | $(BINDIR)/$(CONFIG)/grpc_node_plugin: protobuf_dep_error |
| 10867 | |
| 10868 | else |
| 10869 | |
| 10870 | $(BINDIR)/$(CONFIG)/grpc_node_plugin: $(PROTOBUF_DEP) $(GRPC_NODE_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 10871 | $(E) "[HOSTLD] Linking $@" |
| 10872 | $(Q) mkdir -p `dirname $@` |
| 10873 | $(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 |
| 10874 | |
| 10875 | endif |
| 10876 | |
| 10877 | $(OBJDIR)/$(CONFIG)/src/compiler/node_plugin.o: $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 10878 | |
| 10879 | deps_grpc_node_plugin: $(GRPC_NODE_PLUGIN_OBJS:.o=.dep) |
| 10880 | |
| 10881 | ifneq ($(NO_DEPS),true) |
| 10882 | -include $(GRPC_NODE_PLUGIN_OBJS:.o=.dep) |
| 10883 | endif |
| 10884 | |
| 10885 | |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 10886 | GRPC_OBJECTIVE_C_PLUGIN_SRC = \ |
| 10887 | src/compiler/objective_c_plugin.cc \ |
| 10888 | |
| 10889 | GRPC_OBJECTIVE_C_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_OBJECTIVE_C_PLUGIN_SRC)))) |
| 10890 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10891 | |
| 10892 | |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 10893 | ifeq ($(NO_PROTOBUF),true) |
| 10894 | |
| 10895 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10896 | |
| 10897 | $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin: protobuf_dep_error |
| 10898 | |
| 10899 | else |
| 10900 | |
| 10901 | $(BINDIR)/$(CONFIG)/grpc_objective_c_plugin: $(PROTOBUF_DEP) $(GRPC_OBJECTIVE_C_PLUGIN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
| 10902 | $(E) "[HOSTLD] Linking $@" |
| 10903 | $(Q) mkdir -p `dirname $@` |
| 10904 | $(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 |
| 10905 | |
| 10906 | endif |
| 10907 | |
| 10908 | $(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] | 10909 | |
murgatroid99 | ac0002a | 2015-04-07 12:49:14 -0700 | [diff] [blame] | 10910 | deps_grpc_objective_c_plugin: $(GRPC_OBJECTIVE_C_PLUGIN_OBJS:.o=.dep) |
| 10911 | |
| 10912 | ifneq ($(NO_DEPS),true) |
| 10913 | -include $(GRPC_OBJECTIVE_C_PLUGIN_OBJS:.o=.dep) |
| 10914 | endif |
| 10915 | |
| 10916 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10917 | GRPC_PYTHON_PLUGIN_SRC = \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10918 | src/compiler/python_plugin.cc \ |
| 10919 | |
| 10920 | GRPC_PYTHON_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_PYTHON_PLUGIN_SRC)))) |
| 10921 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10922 | |
| 10923 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10924 | ifeq ($(NO_PROTOBUF),true) |
| 10925 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10926 | # 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] | 10927 | |
| 10928 | $(BINDIR)/$(CONFIG)/grpc_python_plugin: protobuf_dep_error |
| 10929 | |
| 10930 | else |
| 10931 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10932 | $(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] | 10933 | $(E) "[HOSTLD] Linking $@" |
| 10934 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10935 | $(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] | 10936 | |
| 10937 | endif |
| 10938 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10939 | $(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] | 10940 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10941 | deps_grpc_python_plugin: $(GRPC_PYTHON_PLUGIN_OBJS:.o=.dep) |
| 10942 | |
| 10943 | ifneq ($(NO_DEPS),true) |
| 10944 | -include $(GRPC_PYTHON_PLUGIN_OBJS:.o=.dep) |
| 10945 | endif |
| 10946 | |
| 10947 | |
| 10948 | GRPC_RUBY_PLUGIN_SRC = \ |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10949 | src/compiler/ruby_plugin.cc \ |
| 10950 | |
| 10951 | GRPC_RUBY_PLUGIN_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPC_RUBY_PLUGIN_SRC)))) |
| 10952 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 10953 | |
| 10954 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10955 | ifeq ($(NO_PROTOBUF),true) |
| 10956 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 10957 | # 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] | 10958 | |
| 10959 | $(BINDIR)/$(CONFIG)/grpc_ruby_plugin: protobuf_dep_error |
| 10960 | |
| 10961 | else |
| 10962 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10963 | $(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] | 10964 | $(E) "[HOSTLD] Linking $@" |
| 10965 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10966 | $(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] | 10967 | |
| 10968 | endif |
| 10969 | |
Nicolas "Pixel" Noble | 714cf69 | 2015-03-26 00:20:13 +0100 | [diff] [blame] | 10970 | $(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] | 10971 | |
Nicolas "Pixel" Noble | 3f1e696 | 2015-02-20 19:44:26 +0100 | [diff] [blame] | 10972 | deps_grpc_ruby_plugin: $(GRPC_RUBY_PLUGIN_OBJS:.o=.dep) |
| 10973 | |
| 10974 | ifneq ($(NO_DEPS),true) |
| 10975 | -include $(GRPC_RUBY_PLUGIN_OBJS:.o=.dep) |
| 10976 | endif |
| 10977 | |
| 10978 | |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 10979 | GRPCLB_API_TEST_SRC = \ |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 10980 | $(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] | 10981 | test/cpp/grpclb/grpclb_api_test.cc \ |
| 10982 | |
| 10983 | GRPCLB_API_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GRPCLB_API_TEST_SRC)))) |
| 10984 | ifeq ($(NO_SECURE),true) |
| 10985 | |
| 10986 | # You can't build secure targets if you don't have OpenSSL. |
| 10987 | |
| 10988 | $(BINDIR)/$(CONFIG)/grpclb_api_test: openssl_dep_error |
| 10989 | |
| 10990 | else |
| 10991 | |
| 10992 | |
| 10993 | |
| 10994 | |
| 10995 | ifeq ($(NO_PROTOBUF),true) |
| 10996 | |
| 10997 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 10998 | |
| 10999 | $(BINDIR)/$(CONFIG)/grpclb_api_test: protobuf_dep_error |
| 11000 | |
| 11001 | else |
| 11002 | |
| 11003 | $(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 |
| 11004 | $(E) "[LD] Linking $@" |
| 11005 | $(Q) mkdir -p `dirname $@` |
| 11006 | $(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 |
| 11007 | |
| 11008 | endif |
| 11009 | |
| 11010 | endif |
| 11011 | |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 11012 | $(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] | 11013 | |
| 11014 | $(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 |
| 11015 | |
| 11016 | deps_grpclb_api_test: $(GRPCLB_API_TEST_OBJS:.o=.dep) |
| 11017 | |
| 11018 | ifneq ($(NO_SECURE),true) |
| 11019 | ifneq ($(NO_DEPS),true) |
| 11020 | -include $(GRPCLB_API_TEST_OBJS:.o=.dep) |
| 11021 | endif |
| 11022 | endif |
David Garcia Quintas | 7f0793a | 2016-04-25 12:35:58 -0700 | [diff] [blame] | 11023 | $(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] | 11024 | |
| 11025 | |
yang-g | be5a2c4 | 2016-01-14 13:11:15 -0800 | [diff] [blame] | 11026 | HYBRID_END2END_TEST_SRC = \ |
| 11027 | test/cpp/end2end/hybrid_end2end_test.cc \ |
| 11028 | |
| 11029 | HYBRID_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HYBRID_END2END_TEST_SRC)))) |
| 11030 | ifeq ($(NO_SECURE),true) |
| 11031 | |
| 11032 | # You can't build secure targets if you don't have OpenSSL. |
| 11033 | |
| 11034 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test: openssl_dep_error |
| 11035 | |
| 11036 | else |
| 11037 | |
| 11038 | |
| 11039 | |
| 11040 | |
| 11041 | ifeq ($(NO_PROTOBUF),true) |
| 11042 | |
| 11043 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11044 | |
| 11045 | $(BINDIR)/$(CONFIG)/hybrid_end2end_test: protobuf_dep_error |
| 11046 | |
| 11047 | else |
| 11048 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11049 | $(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] | 11050 | $(E) "[LD] Linking $@" |
| 11051 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11052 | $(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] | 11053 | |
| 11054 | endif |
| 11055 | |
| 11056 | endif |
| 11057 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11058 | $(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] | 11059 | |
| 11060 | deps_hybrid_end2end_test: $(HYBRID_END2END_TEST_OBJS:.o=.dep) |
| 11061 | |
| 11062 | ifneq ($(NO_SECURE),true) |
| 11063 | ifneq ($(NO_DEPS),true) |
| 11064 | -include $(HYBRID_END2END_TEST_OBJS:.o=.dep) |
| 11065 | endif |
| 11066 | endif |
| 11067 | |
| 11068 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11069 | ifeq ($(NO_SECURE),true) |
| 11070 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11071 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11072 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 11073 | $(BINDIR)/$(CONFIG)/interop_client: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11074 | |
| 11075 | else |
| 11076 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11077 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11078 | |
| 11079 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11080 | ifeq ($(NO_PROTOBUF),true) |
| 11081 | |
| 11082 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11083 | |
| 11084 | $(BINDIR)/$(CONFIG)/interop_client: protobuf_dep_error |
| 11085 | |
| 11086 | else |
| 11087 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11088 | $(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] | 11089 | $(E) "[LD] Linking $@" |
| 11090 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11091 | $(Q) $(LDXX) $(LDFLAGS) $(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] | 11092 | |
| 11093 | endif |
| 11094 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11095 | endif |
| 11096 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11097 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11098 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11099 | |
| 11100 | ifeq ($(NO_SECURE),true) |
| 11101 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11102 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11103 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 11104 | $(BINDIR)/$(CONFIG)/interop_server: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11105 | |
| 11106 | else |
| 11107 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11108 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11109 | |
| 11110 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11111 | ifeq ($(NO_PROTOBUF),true) |
| 11112 | |
| 11113 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11114 | |
| 11115 | $(BINDIR)/$(CONFIG)/interop_server: protobuf_dep_error |
| 11116 | |
| 11117 | else |
| 11118 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11119 | $(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] | 11120 | $(E) "[LD] Linking $@" |
| 11121 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11122 | $(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] | 11123 | |
| 11124 | endif |
| 11125 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11126 | endif |
| 11127 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11128 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11129 | |
| 11130 | |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 11131 | INTEROP_TEST_SRC = \ |
| 11132 | test/cpp/interop/interop_test.cc \ |
| 11133 | |
| 11134 | INTEROP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INTEROP_TEST_SRC)))) |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 11135 | ifeq ($(NO_SECURE),true) |
| 11136 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11137 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 11138 | |
| 11139 | $(BINDIR)/$(CONFIG)/interop_test: openssl_dep_error |
| 11140 | |
| 11141 | else |
| 11142 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11143 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11144 | |
| 11145 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11146 | ifeq ($(NO_PROTOBUF),true) |
| 11147 | |
| 11148 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11149 | |
| 11150 | $(BINDIR)/$(CONFIG)/interop_test: protobuf_dep_error |
| 11151 | |
| 11152 | else |
| 11153 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11154 | $(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] | 11155 | $(E) "[LD] Linking $@" |
| 11156 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11157 | $(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] | 11158 | |
| 11159 | endif |
| 11160 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11161 | endif |
| 11162 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11163 | $(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] | 11164 | |
Craig Tiller | fe8af4e | 2015-02-21 07:04:49 -0800 | [diff] [blame] | 11165 | deps_interop_test: $(INTEROP_TEST_OBJS:.o=.dep) |
| 11166 | |
| 11167 | ifneq ($(NO_SECURE),true) |
| 11168 | ifneq ($(NO_DEPS),true) |
| 11169 | -include $(INTEROP_TEST_OBJS:.o=.dep) |
| 11170 | endif |
| 11171 | endif |
| 11172 | |
| 11173 | |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 11174 | JSON_RUN_LOCALHOST_SRC = \ |
| 11175 | test/cpp/qps/json_run_localhost.cc \ |
| 11176 | |
| 11177 | JSON_RUN_LOCALHOST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_RUN_LOCALHOST_SRC)))) |
| 11178 | ifeq ($(NO_SECURE),true) |
| 11179 | |
| 11180 | # You can't build secure targets if you don't have OpenSSL. |
| 11181 | |
| 11182 | $(BINDIR)/$(CONFIG)/json_run_localhost: openssl_dep_error |
| 11183 | |
| 11184 | else |
| 11185 | |
| 11186 | |
| 11187 | |
| 11188 | |
| 11189 | ifeq ($(NO_PROTOBUF),true) |
| 11190 | |
| 11191 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11192 | |
| 11193 | $(BINDIR)/$(CONFIG)/json_run_localhost: protobuf_dep_error |
| 11194 | |
| 11195 | else |
| 11196 | |
| 11197 | $(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 |
| 11198 | $(E) "[LD] Linking $@" |
| 11199 | $(Q) mkdir -p `dirname $@` |
| 11200 | $(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 |
| 11201 | |
| 11202 | endif |
| 11203 | |
| 11204 | endif |
| 11205 | |
| 11206 | $(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 |
| 11207 | |
| 11208 | deps_json_run_localhost: $(JSON_RUN_LOCALHOST_OBJS:.o=.dep) |
| 11209 | |
| 11210 | ifneq ($(NO_SECURE),true) |
| 11211 | ifneq ($(NO_DEPS),true) |
| 11212 | -include $(JSON_RUN_LOCALHOST_OBJS:.o=.dep) |
| 11213 | endif |
| 11214 | endif |
| 11215 | |
| 11216 | |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 11217 | METRICS_CLIENT_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11218 | $(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] | 11219 | test/cpp/interop/metrics_client.cc \ |
| 11220 | |
| 11221 | METRICS_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(METRICS_CLIENT_SRC)))) |
| 11222 | ifeq ($(NO_SECURE),true) |
| 11223 | |
| 11224 | # You can't build secure targets if you don't have OpenSSL. |
| 11225 | |
| 11226 | $(BINDIR)/$(CONFIG)/metrics_client: openssl_dep_error |
| 11227 | |
| 11228 | else |
| 11229 | |
| 11230 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11231 | |
| 11232 | |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 11233 | ifeq ($(NO_PROTOBUF),true) |
| 11234 | |
| 11235 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11236 | |
| 11237 | $(BINDIR)/$(CONFIG)/metrics_client: protobuf_dep_error |
| 11238 | |
| 11239 | else |
| 11240 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11241 | $(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] | 11242 | $(E) "[LD] Linking $@" |
| 11243 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11244 | $(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] | 11245 | |
| 11246 | endif |
| 11247 | |
| 11248 | endif |
| 11249 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11250 | $(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] | 11251 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11252 | $(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] | 11253 | |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 11254 | deps_metrics_client: $(METRICS_CLIENT_OBJS:.o=.dep) |
| 11255 | |
| 11256 | ifneq ($(NO_SECURE),true) |
| 11257 | ifneq ($(NO_DEPS),true) |
| 11258 | -include $(METRICS_CLIENT_OBJS:.o=.dep) |
| 11259 | endif |
| 11260 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11261 | $(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] | 11262 | |
| 11263 | |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 11264 | MOCK_TEST_SRC = \ |
| 11265 | test/cpp/end2end/mock_test.cc \ |
| 11266 | |
| 11267 | MOCK_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(MOCK_TEST_SRC)))) |
| 11268 | ifeq ($(NO_SECURE),true) |
| 11269 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11270 | # You can't build secure targets if you don't have OpenSSL. |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 11271 | |
| 11272 | $(BINDIR)/$(CONFIG)/mock_test: openssl_dep_error |
| 11273 | |
| 11274 | else |
| 11275 | |
| 11276 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11277 | |
| 11278 | |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 11279 | ifeq ($(NO_PROTOBUF),true) |
| 11280 | |
| 11281 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11282 | |
| 11283 | $(BINDIR)/$(CONFIG)/mock_test: protobuf_dep_error |
| 11284 | |
| 11285 | else |
| 11286 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11287 | $(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] | 11288 | $(E) "[LD] Linking $@" |
| 11289 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11290 | $(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] | 11291 | |
| 11292 | endif |
| 11293 | |
| 11294 | endif |
| 11295 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11296 | $(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] | 11297 | |
Yang Gao | 196ade3 | 2015-05-05 13:31:12 -0700 | [diff] [blame] | 11298 | deps_mock_test: $(MOCK_TEST_OBJS:.o=.dep) |
| 11299 | |
| 11300 | ifneq ($(NO_SECURE),true) |
| 11301 | ifneq ($(NO_DEPS),true) |
| 11302 | -include $(MOCK_TEST_OBJS:.o=.dep) |
| 11303 | endif |
| 11304 | endif |
| 11305 | |
| 11306 | |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 11307 | QPS_INTERARRIVAL_TEST_SRC = \ |
| 11308 | test/cpp/qps/qps_interarrival_test.cc \ |
| 11309 | |
| 11310 | QPS_INTERARRIVAL_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_INTERARRIVAL_TEST_SRC)))) |
| 11311 | ifeq ($(NO_SECURE),true) |
| 11312 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11313 | # You can't build secure targets if you don't have OpenSSL. |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 11314 | |
| 11315 | $(BINDIR)/$(CONFIG)/qps_interarrival_test: openssl_dep_error |
| 11316 | |
| 11317 | else |
| 11318 | |
| 11319 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11320 | |
| 11321 | |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 11322 | ifeq ($(NO_PROTOBUF),true) |
| 11323 | |
| 11324 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11325 | |
| 11326 | $(BINDIR)/$(CONFIG)/qps_interarrival_test: protobuf_dep_error |
| 11327 | |
| 11328 | else |
| 11329 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11330 | $(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] | 11331 | $(E) "[LD] Linking $@" |
| 11332 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11333 | $(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] | 11334 | |
| 11335 | endif |
| 11336 | |
| 11337 | endif |
| 11338 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11339 | $(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] | 11340 | |
Vijay Pai | 372fd87 | 2015-06-08 13:30:08 -0700 | [diff] [blame] | 11341 | deps_qps_interarrival_test: $(QPS_INTERARRIVAL_TEST_OBJS:.o=.dep) |
| 11342 | |
| 11343 | ifneq ($(NO_SECURE),true) |
| 11344 | ifneq ($(NO_DEPS),true) |
| 11345 | -include $(QPS_INTERARRIVAL_TEST_OBJS:.o=.dep) |
| 11346 | endif |
| 11347 | endif |
| 11348 | |
| 11349 | |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 11350 | QPS_JSON_DRIVER_SRC = \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 11351 | test/cpp/qps/parse_json.cc \ |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 11352 | test/cpp/qps/qps_json_driver.cc \ |
| 11353 | |
| 11354 | QPS_JSON_DRIVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_JSON_DRIVER_SRC)))) |
| 11355 | ifeq ($(NO_SECURE),true) |
| 11356 | |
| 11357 | # You can't build secure targets if you don't have OpenSSL. |
| 11358 | |
| 11359 | $(BINDIR)/$(CONFIG)/qps_json_driver: openssl_dep_error |
| 11360 | |
| 11361 | else |
| 11362 | |
| 11363 | |
| 11364 | |
| 11365 | |
| 11366 | ifeq ($(NO_PROTOBUF),true) |
| 11367 | |
| 11368 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11369 | |
| 11370 | $(BINDIR)/$(CONFIG)/qps_json_driver: protobuf_dep_error |
| 11371 | |
| 11372 | else |
| 11373 | |
| 11374 | $(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 |
| 11375 | $(E) "[LD] Linking $@" |
| 11376 | $(Q) mkdir -p `dirname $@` |
| 11377 | $(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 |
| 11378 | |
| 11379 | endif |
| 11380 | |
| 11381 | endif |
| 11382 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 11383 | $(OBJDIR)/$(CONFIG)/test/cpp/qps/parse_json.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 |
| 11384 | |
Craig Tiller | 0bda0b3 | 2016-03-03 12:51:53 -0800 | [diff] [blame] | 11385 | $(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 |
| 11386 | |
| 11387 | deps_qps_json_driver: $(QPS_JSON_DRIVER_OBJS:.o=.dep) |
| 11388 | |
| 11389 | ifneq ($(NO_SECURE),true) |
| 11390 | ifneq ($(NO_DEPS),true) |
| 11391 | -include $(QPS_JSON_DRIVER_OBJS:.o=.dep) |
| 11392 | endif |
| 11393 | endif |
| 11394 | |
| 11395 | |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 11396 | QPS_OPENLOOP_TEST_SRC = \ |
| 11397 | test/cpp/qps/qps_openloop_test.cc \ |
| 11398 | |
| 11399 | QPS_OPENLOOP_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_OPENLOOP_TEST_SRC)))) |
| 11400 | ifeq ($(NO_SECURE),true) |
| 11401 | |
| 11402 | # You can't build secure targets if you don't have OpenSSL. |
| 11403 | |
| 11404 | $(BINDIR)/$(CONFIG)/qps_openloop_test: openssl_dep_error |
| 11405 | |
| 11406 | else |
| 11407 | |
| 11408 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11409 | |
| 11410 | |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 11411 | ifeq ($(NO_PROTOBUF),true) |
| 11412 | |
| 11413 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11414 | |
| 11415 | $(BINDIR)/$(CONFIG)/qps_openloop_test: protobuf_dep_error |
| 11416 | |
| 11417 | else |
| 11418 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11419 | $(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] | 11420 | $(E) "[LD] Linking $@" |
| 11421 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11422 | $(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] | 11423 | |
| 11424 | endif |
| 11425 | |
| 11426 | endif |
| 11427 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11428 | $(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] | 11429 | |
Craig Tiller | 2c3a35e | 2015-07-10 14:06:00 -0700 | [diff] [blame] | 11430 | deps_qps_openloop_test: $(QPS_OPENLOOP_TEST_OBJS:.o=.dep) |
| 11431 | |
| 11432 | ifneq ($(NO_SECURE),true) |
| 11433 | ifneq ($(NO_DEPS),true) |
| 11434 | -include $(QPS_OPENLOOP_TEST_OBJS:.o=.dep) |
| 11435 | endif |
| 11436 | endif |
| 11437 | |
| 11438 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11439 | QPS_WORKER_SRC = \ |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11440 | test/cpp/qps/worker.cc \ |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11441 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11442 | QPS_WORKER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(QPS_WORKER_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11443 | ifeq ($(NO_SECURE),true) |
| 11444 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11445 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11446 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11447 | $(BINDIR)/$(CONFIG)/qps_worker: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11448 | |
| 11449 | else |
| 11450 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11451 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11452 | |
| 11453 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11454 | ifeq ($(NO_PROTOBUF),true) |
| 11455 | |
| 11456 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11457 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11458 | $(BINDIR)/$(CONFIG)/qps_worker: protobuf_dep_error |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11459 | |
| 11460 | else |
| 11461 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11462 | $(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] | 11463 | $(E) "[LD] Linking $@" |
| 11464 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11465 | $(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] | 11466 | |
| 11467 | endif |
| 11468 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11469 | endif |
| 11470 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11471 | $(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] | 11472 | |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11473 | deps_qps_worker: $(QPS_WORKER_OBJS:.o=.dep) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11474 | |
| 11475 | ifneq ($(NO_SECURE),true) |
| 11476 | ifneq ($(NO_DEPS),true) |
Craig Tiller | 26598a3 | 2015-03-02 16:16:00 -0800 | [diff] [blame] | 11477 | -include $(QPS_WORKER_OBJS:.o=.dep) |
vjpai | 95a34ef | 2015-02-26 16:42:24 -0800 | [diff] [blame] | 11478 | endif |
| 11479 | endif |
| 11480 | |
| 11481 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 11482 | RECONNECT_INTEROP_CLIENT_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11483 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 11484 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 11485 | $(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] | 11486 | test/cpp/interop/reconnect_interop_client.cc \ |
| 11487 | |
| 11488 | RECONNECT_INTEROP_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RECONNECT_INTEROP_CLIENT_SRC)))) |
| 11489 | ifeq ($(NO_SECURE),true) |
| 11490 | |
| 11491 | # You can't build secure targets if you don't have OpenSSL. |
| 11492 | |
| 11493 | $(BINDIR)/$(CONFIG)/reconnect_interop_client: openssl_dep_error |
| 11494 | |
| 11495 | else |
| 11496 | |
| 11497 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11498 | |
| 11499 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 11500 | ifeq ($(NO_PROTOBUF),true) |
| 11501 | |
| 11502 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11503 | |
| 11504 | $(BINDIR)/$(CONFIG)/reconnect_interop_client: protobuf_dep_error |
| 11505 | |
| 11506 | else |
| 11507 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11508 | $(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] | 11509 | $(E) "[LD] Linking $@" |
| 11510 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11511 | $(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] | 11512 | |
| 11513 | endif |
| 11514 | |
| 11515 | endif |
| 11516 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11517 | $(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] | 11518 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11519 | $(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] | 11520 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11521 | $(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] | 11522 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11523 | $(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] | 11524 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 11525 | deps_reconnect_interop_client: $(RECONNECT_INTEROP_CLIENT_OBJS:.o=.dep) |
| 11526 | |
| 11527 | ifneq ($(NO_SECURE),true) |
| 11528 | ifneq ($(NO_DEPS),true) |
| 11529 | -include $(RECONNECT_INTEROP_CLIENT_OBJS:.o=.dep) |
| 11530 | endif |
| 11531 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11532 | $(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] | 11533 | |
| 11534 | |
| 11535 | RECONNECT_INTEROP_SERVER_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11536 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 11537 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 11538 | $(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] | 11539 | test/cpp/interop/reconnect_interop_server.cc \ |
| 11540 | |
| 11541 | RECONNECT_INTEROP_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RECONNECT_INTEROP_SERVER_SRC)))) |
| 11542 | ifeq ($(NO_SECURE),true) |
| 11543 | |
| 11544 | # You can't build secure targets if you don't have OpenSSL. |
| 11545 | |
| 11546 | $(BINDIR)/$(CONFIG)/reconnect_interop_server: openssl_dep_error |
| 11547 | |
| 11548 | else |
| 11549 | |
| 11550 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11551 | |
| 11552 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 11553 | ifeq ($(NO_PROTOBUF),true) |
| 11554 | |
| 11555 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11556 | |
| 11557 | $(BINDIR)/$(CONFIG)/reconnect_interop_server: protobuf_dep_error |
| 11558 | |
| 11559 | else |
| 11560 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11561 | $(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] | 11562 | $(E) "[LD] Linking $@" |
| 11563 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11564 | $(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] | 11565 | |
| 11566 | endif |
| 11567 | |
| 11568 | endif |
| 11569 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11570 | $(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] | 11571 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11572 | $(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] | 11573 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11574 | $(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] | 11575 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11576 | $(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] | 11577 | |
yang-g | c9c69e2 | 2015-07-24 14:38:26 -0700 | [diff] [blame] | 11578 | deps_reconnect_interop_server: $(RECONNECT_INTEROP_SERVER_OBJS:.o=.dep) |
| 11579 | |
| 11580 | ifneq ($(NO_SECURE),true) |
| 11581 | ifneq ($(NO_DEPS),true) |
| 11582 | -include $(RECONNECT_INTEROP_SERVER_OBJS:.o=.dep) |
| 11583 | endif |
| 11584 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11585 | $(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] | 11586 | |
| 11587 | |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 11588 | SECURE_AUTH_CONTEXT_TEST_SRC = \ |
| 11589 | test/cpp/common/secure_auth_context_test.cc \ |
| 11590 | |
| 11591 | SECURE_AUTH_CONTEXT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_AUTH_CONTEXT_TEST_SRC)))) |
| 11592 | ifeq ($(NO_SECURE),true) |
| 11593 | |
yang-g | 96a643a | 2015-07-09 13:11:53 -0700 | [diff] [blame] | 11594 | # You can't build secure targets if you don't have OpenSSL. |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 11595 | |
| 11596 | $(BINDIR)/$(CONFIG)/secure_auth_context_test: openssl_dep_error |
| 11597 | |
| 11598 | else |
| 11599 | |
| 11600 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11601 | |
| 11602 | |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 11603 | ifeq ($(NO_PROTOBUF),true) |
| 11604 | |
| 11605 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11606 | |
| 11607 | $(BINDIR)/$(CONFIG)/secure_auth_context_test: protobuf_dep_error |
| 11608 | |
| 11609 | else |
| 11610 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11611 | $(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] | 11612 | $(E) "[LD] Linking $@" |
| 11613 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11614 | $(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] | 11615 | |
| 11616 | endif |
| 11617 | |
| 11618 | endif |
| 11619 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11620 | $(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] | 11621 | |
yang-g | 8068f86 | 2015-07-06 15:05:48 -0700 | [diff] [blame] | 11622 | deps_secure_auth_context_test: $(SECURE_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 11623 | |
| 11624 | ifneq ($(NO_SECURE),true) |
| 11625 | ifneq ($(NO_DEPS),true) |
| 11626 | -include $(SECURE_AUTH_CONTEXT_TEST_OBJS:.o=.dep) |
| 11627 | endif |
| 11628 | endif |
| 11629 | |
| 11630 | |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 11631 | SECURE_SYNC_UNARY_PING_PONG_TEST_SRC = \ |
| 11632 | test/cpp/qps/secure_sync_unary_ping_pong_test.cc \ |
| 11633 | |
| 11634 | SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SECURE_SYNC_UNARY_PING_PONG_TEST_SRC)))) |
| 11635 | ifeq ($(NO_SECURE),true) |
| 11636 | |
| 11637 | # You can't build secure targets if you don't have OpenSSL. |
| 11638 | |
| 11639 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test: openssl_dep_error |
| 11640 | |
| 11641 | else |
| 11642 | |
| 11643 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11644 | |
| 11645 | |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 11646 | ifeq ($(NO_PROTOBUF),true) |
| 11647 | |
| 11648 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11649 | |
| 11650 | $(BINDIR)/$(CONFIG)/secure_sync_unary_ping_pong_test: protobuf_dep_error |
| 11651 | |
| 11652 | else |
| 11653 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11654 | $(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] | 11655 | $(E) "[LD] Linking $@" |
| 11656 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11657 | $(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] | 11658 | |
| 11659 | endif |
| 11660 | |
| 11661 | endif |
| 11662 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11663 | $(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] | 11664 | |
vjpai | f8603ad | 2015-11-04 12:49:33 -0800 | [diff] [blame] | 11665 | deps_secure_sync_unary_ping_pong_test: $(SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS:.o=.dep) |
| 11666 | |
| 11667 | ifneq ($(NO_SECURE),true) |
| 11668 | ifneq ($(NO_DEPS),true) |
| 11669 | -include $(SECURE_SYNC_UNARY_PING_PONG_TEST_OBJS:.o=.dep) |
| 11670 | endif |
| 11671 | endif |
| 11672 | |
| 11673 | |
Yuchen Zeng | a42ec21 | 2016-04-29 13:03:06 -0700 | [diff] [blame] | 11674 | SERVER_BUILDER_PLUGIN_TEST_SRC = \ |
| 11675 | test/cpp/end2end/server_builder_plugin_test.cc \ |
| 11676 | |
| 11677 | SERVER_BUILDER_PLUGIN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_BUILDER_PLUGIN_TEST_SRC)))) |
| 11678 | ifeq ($(NO_SECURE),true) |
| 11679 | |
| 11680 | # You can't build secure targets if you don't have OpenSSL. |
| 11681 | |
| 11682 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test: openssl_dep_error |
| 11683 | |
| 11684 | else |
| 11685 | |
| 11686 | |
| 11687 | |
| 11688 | |
| 11689 | ifeq ($(NO_PROTOBUF),true) |
| 11690 | |
| 11691 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11692 | |
| 11693 | $(BINDIR)/$(CONFIG)/server_builder_plugin_test: protobuf_dep_error |
| 11694 | |
| 11695 | else |
| 11696 | |
| 11697 | $(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 |
| 11698 | $(E) "[LD] Linking $@" |
| 11699 | $(Q) mkdir -p `dirname $@` |
| 11700 | $(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 |
| 11701 | |
| 11702 | endif |
| 11703 | |
| 11704 | endif |
| 11705 | |
| 11706 | $(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 |
| 11707 | |
| 11708 | deps_server_builder_plugin_test: $(SERVER_BUILDER_PLUGIN_TEST_OBJS:.o=.dep) |
| 11709 | |
| 11710 | ifneq ($(NO_SECURE),true) |
| 11711 | ifneq ($(NO_DEPS),true) |
| 11712 | -include $(SERVER_BUILDER_PLUGIN_TEST_OBJS:.o=.dep) |
| 11713 | endif |
| 11714 | endif |
| 11715 | |
| 11716 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11717 | SERVER_CRASH_TEST_SRC = \ |
| 11718 | test/cpp/end2end/server_crash_test.cc \ |
| 11719 | |
| 11720 | SERVER_CRASH_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_CRASH_TEST_SRC)))) |
| 11721 | ifeq ($(NO_SECURE),true) |
| 11722 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11723 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11724 | |
| 11725 | $(BINDIR)/$(CONFIG)/server_crash_test: openssl_dep_error |
| 11726 | |
| 11727 | else |
| 11728 | |
| 11729 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11730 | |
| 11731 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11732 | ifeq ($(NO_PROTOBUF),true) |
| 11733 | |
| 11734 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11735 | |
| 11736 | $(BINDIR)/$(CONFIG)/server_crash_test: protobuf_dep_error |
| 11737 | |
| 11738 | else |
| 11739 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11740 | $(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] | 11741 | $(E) "[LD] Linking $@" |
| 11742 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11743 | $(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] | 11744 | |
| 11745 | endif |
| 11746 | |
| 11747 | endif |
| 11748 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11749 | $(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] | 11750 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11751 | deps_server_crash_test: $(SERVER_CRASH_TEST_OBJS:.o=.dep) |
| 11752 | |
| 11753 | ifneq ($(NO_SECURE),true) |
| 11754 | ifneq ($(NO_DEPS),true) |
| 11755 | -include $(SERVER_CRASH_TEST_OBJS:.o=.dep) |
| 11756 | endif |
| 11757 | endif |
| 11758 | |
| 11759 | |
| 11760 | SERVER_CRASH_TEST_CLIENT_SRC = \ |
| 11761 | test/cpp/end2end/server_crash_test_client.cc \ |
| 11762 | |
| 11763 | SERVER_CRASH_TEST_CLIENT_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_CRASH_TEST_CLIENT_SRC)))) |
| 11764 | ifeq ($(NO_SECURE),true) |
| 11765 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11766 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11767 | |
| 11768 | $(BINDIR)/$(CONFIG)/server_crash_test_client: openssl_dep_error |
| 11769 | |
| 11770 | else |
| 11771 | |
| 11772 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11773 | |
| 11774 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11775 | ifeq ($(NO_PROTOBUF),true) |
| 11776 | |
| 11777 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11778 | |
| 11779 | $(BINDIR)/$(CONFIG)/server_crash_test_client: protobuf_dep_error |
| 11780 | |
| 11781 | else |
| 11782 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11783 | $(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] | 11784 | $(E) "[LD] Linking $@" |
| 11785 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11786 | $(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] | 11787 | |
| 11788 | endif |
| 11789 | |
| 11790 | endif |
| 11791 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11792 | $(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] | 11793 | |
Craig Tiller | 7a317e5 | 2015-05-19 09:38:29 -0700 | [diff] [blame] | 11794 | deps_server_crash_test_client: $(SERVER_CRASH_TEST_CLIENT_OBJS:.o=.dep) |
| 11795 | |
| 11796 | ifneq ($(NO_SECURE),true) |
| 11797 | ifneq ($(NO_DEPS),true) |
| 11798 | -include $(SERVER_CRASH_TEST_CLIENT_OBJS:.o=.dep) |
| 11799 | endif |
| 11800 | endif |
| 11801 | |
| 11802 | |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 11803 | SHUTDOWN_TEST_SRC = \ |
| 11804 | test/cpp/end2end/shutdown_test.cc \ |
| 11805 | |
| 11806 | SHUTDOWN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SHUTDOWN_TEST_SRC)))) |
| 11807 | ifeq ($(NO_SECURE),true) |
| 11808 | |
| 11809 | # You can't build secure targets if you don't have OpenSSL. |
| 11810 | |
| 11811 | $(BINDIR)/$(CONFIG)/shutdown_test: openssl_dep_error |
| 11812 | |
| 11813 | else |
| 11814 | |
| 11815 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11816 | |
| 11817 | |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 11818 | ifeq ($(NO_PROTOBUF),true) |
| 11819 | |
| 11820 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11821 | |
| 11822 | $(BINDIR)/$(CONFIG)/shutdown_test: protobuf_dep_error |
| 11823 | |
| 11824 | else |
| 11825 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11826 | $(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] | 11827 | $(E) "[LD] Linking $@" |
| 11828 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11829 | $(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] | 11830 | |
| 11831 | endif |
| 11832 | |
| 11833 | endif |
| 11834 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11835 | $(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] | 11836 | |
Craig Tiller | e50e5cb | 2015-08-18 12:44:57 -0700 | [diff] [blame] | 11837 | deps_shutdown_test: $(SHUTDOWN_TEST_OBJS:.o=.dep) |
| 11838 | |
| 11839 | ifneq ($(NO_SECURE),true) |
| 11840 | ifneq ($(NO_DEPS),true) |
| 11841 | -include $(SHUTDOWN_TEST_OBJS:.o=.dep) |
| 11842 | endif |
| 11843 | endif |
| 11844 | |
| 11845 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11846 | STATUS_TEST_SRC = \ |
| 11847 | test/cpp/util/status_test.cc \ |
| 11848 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 11849 | STATUS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(STATUS_TEST_SRC)))) |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11850 | ifeq ($(NO_SECURE),true) |
| 11851 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 11852 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11853 | |
Craig Tiller | 61b910f | 2015-02-15 10:54:07 -0800 | [diff] [blame] | 11854 | $(BINDIR)/$(CONFIG)/status_test: openssl_dep_error |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11855 | |
| 11856 | else |
| 11857 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11858 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11859 | |
| 11860 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11861 | ifeq ($(NO_PROTOBUF),true) |
| 11862 | |
| 11863 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11864 | |
| 11865 | $(BINDIR)/$(CONFIG)/status_test: protobuf_dep_error |
| 11866 | |
| 11867 | else |
| 11868 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11869 | $(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] | 11870 | $(E) "[LD] Linking $@" |
| 11871 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11872 | $(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] | 11873 | |
| 11874 | endif |
| 11875 | |
Nicolas "Pixel" Noble | 18953e3 | 2015-02-27 02:41:11 +0100 | [diff] [blame] | 11876 | endif |
| 11877 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11878 | $(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] | 11879 | |
Craig Tiller | 996d9df | 2015-01-19 21:06:50 -0800 | [diff] [blame] | 11880 | deps_status_test: $(STATUS_TEST_OBJS:.o=.dep) |
| 11881 | |
| 11882 | ifneq ($(NO_SECURE),true) |
| 11883 | ifneq ($(NO_DEPS),true) |
| 11884 | -include $(STATUS_TEST_OBJS:.o=.dep) |
| 11885 | endif |
| 11886 | endif |
| 11887 | |
| 11888 | |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 11889 | STREAMING_THROUGHPUT_TEST_SRC = \ |
| 11890 | test/cpp/end2end/streaming_throughput_test.cc \ |
| 11891 | |
| 11892 | STREAMING_THROUGHPUT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(STREAMING_THROUGHPUT_TEST_SRC)))) |
| 11893 | ifeq ($(NO_SECURE),true) |
| 11894 | |
| 11895 | # You can't build secure targets if you don't have OpenSSL. |
| 11896 | |
| 11897 | $(BINDIR)/$(CONFIG)/streaming_throughput_test: openssl_dep_error |
| 11898 | |
| 11899 | else |
| 11900 | |
| 11901 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11902 | |
| 11903 | |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 11904 | ifeq ($(NO_PROTOBUF),true) |
| 11905 | |
| 11906 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11907 | |
| 11908 | $(BINDIR)/$(CONFIG)/streaming_throughput_test: protobuf_dep_error |
| 11909 | |
| 11910 | else |
| 11911 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11912 | $(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] | 11913 | $(E) "[LD] Linking $@" |
| 11914 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11915 | $(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] | 11916 | |
| 11917 | endif |
| 11918 | |
| 11919 | endif |
| 11920 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11921 | $(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] | 11922 | |
Craig Tiller | 2ded19b | 2015-08-26 16:39:17 -0700 | [diff] [blame] | 11923 | deps_streaming_throughput_test: $(STREAMING_THROUGHPUT_TEST_OBJS:.o=.dep) |
| 11924 | |
| 11925 | ifneq ($(NO_SECURE),true) |
| 11926 | ifneq ($(NO_DEPS),true) |
| 11927 | -include $(STREAMING_THROUGHPUT_TEST_OBJS:.o=.dep) |
| 11928 | endif |
| 11929 | endif |
| 11930 | |
| 11931 | |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 11932 | STRESS_TEST_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11933 | $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc \ |
| 11934 | $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc \ |
| 11935 | $(GENDIR)/src/proto/grpc/testing/metrics.pb.cc $(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc \ |
| 11936 | $(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] | 11937 | test/cpp/interop/interop_client.cc \ |
| 11938 | test/cpp/interop/stress_interop_client.cc \ |
| 11939 | test/cpp/interop/stress_test.cc \ |
Sree Kuchibhotla | b5e98c5 | 2015-10-27 22:55:26 -0700 | [diff] [blame] | 11940 | test/cpp/util/metrics_server.cc \ |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 11941 | |
| 11942 | STRESS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(STRESS_TEST_SRC)))) |
| 11943 | ifeq ($(NO_SECURE),true) |
| 11944 | |
| 11945 | # You can't build secure targets if you don't have OpenSSL. |
| 11946 | |
| 11947 | $(BINDIR)/$(CONFIG)/stress_test: openssl_dep_error |
| 11948 | |
| 11949 | else |
| 11950 | |
| 11951 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 11952 | |
| 11953 | |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 11954 | ifeq ($(NO_PROTOBUF),true) |
| 11955 | |
| 11956 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 11957 | |
| 11958 | $(BINDIR)/$(CONFIG)/stress_test: protobuf_dep_error |
| 11959 | |
| 11960 | else |
| 11961 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11962 | $(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] | 11963 | $(E) "[LD] Linking $@" |
| 11964 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11965 | $(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] | 11966 | |
| 11967 | endif |
| 11968 | |
| 11969 | endif |
| 11970 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11971 | $(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] | 11972 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11973 | $(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] | 11974 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11975 | $(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] | 11976 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11977 | $(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] | 11978 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11979 | $(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] | 11980 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11981 | $(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] | 11982 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11983 | $(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] | 11984 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 11985 | $(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] | 11986 | |
Sree Kuchibhotla | fbc376f | 2015-10-16 10:56:31 -0700 | [diff] [blame] | 11987 | deps_stress_test: $(STRESS_TEST_OBJS:.o=.dep) |
| 11988 | |
| 11989 | ifneq ($(NO_SECURE),true) |
| 11990 | ifneq ($(NO_DEPS),true) |
| 11991 | -include $(STRESS_TEST_OBJS:.o=.dep) |
| 11992 | endif |
| 11993 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 11994 | $(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 |
| 11995 | $(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 |
| 11996 | $(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 |
| 11997 | $(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] | 11998 | |
| 11999 | |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 12000 | THREAD_STRESS_TEST_SRC = \ |
| 12001 | test/cpp/end2end/thread_stress_test.cc \ |
| 12002 | |
| 12003 | THREAD_STRESS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(THREAD_STRESS_TEST_SRC)))) |
| 12004 | ifeq ($(NO_SECURE),true) |
| 12005 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 12006 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 12007 | |
| 12008 | $(BINDIR)/$(CONFIG)/thread_stress_test: openssl_dep_error |
| 12009 | |
| 12010 | else |
| 12011 | |
| 12012 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12013 | |
| 12014 | |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 12015 | ifeq ($(NO_PROTOBUF),true) |
| 12016 | |
| 12017 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12018 | |
| 12019 | $(BINDIR)/$(CONFIG)/thread_stress_test: protobuf_dep_error |
| 12020 | |
| 12021 | else |
| 12022 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12023 | $(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] | 12024 | $(E) "[LD] Linking $@" |
| 12025 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12026 | $(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] | 12027 | |
| 12028 | endif |
| 12029 | |
| 12030 | endif |
| 12031 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12032 | $(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] | 12033 | |
Craig Tiller | 0c23320 | 2015-05-06 07:42:43 -0700 | [diff] [blame] | 12034 | deps_thread_stress_test: $(THREAD_STRESS_TEST_OBJS:.o=.dep) |
| 12035 | |
| 12036 | ifneq ($(NO_SECURE),true) |
| 12037 | ifneq ($(NO_DEPS),true) |
| 12038 | -include $(THREAD_STRESS_TEST_OBJS:.o=.dep) |
| 12039 | endif |
| 12040 | endif |
| 12041 | |
| 12042 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 12043 | ZOOKEEPER_TEST_SRC = \ |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 12044 | $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc \ |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 12045 | test/cpp/end2end/zookeeper_test.cc \ |
| 12046 | |
| 12047 | ZOOKEEPER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(ZOOKEEPER_TEST_SRC)))) |
| 12048 | ifeq ($(NO_SECURE),true) |
| 12049 | |
| 12050 | # You can't build secure targets if you don't have OpenSSL. |
| 12051 | |
| 12052 | $(BINDIR)/$(CONFIG)/zookeeper_test: openssl_dep_error |
| 12053 | |
| 12054 | else |
| 12055 | |
| 12056 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12057 | |
| 12058 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 12059 | ifeq ($(NO_PROTOBUF),true) |
| 12060 | |
| 12061 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12062 | |
| 12063 | $(BINDIR)/$(CONFIG)/zookeeper_test: protobuf_dep_error |
| 12064 | |
| 12065 | else |
| 12066 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12067 | $(BINDIR)/$(CONFIG)/zookeeper_test: $(PROTOBUF_DEP) $(ZOOKEEPER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 12068 | $(E) "[LD] Linking $@" |
| 12069 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12070 | $(Q) $(LDXX) $(LDFLAGS) $(ZOOKEEPER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a -lzookeeper_mt $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/zookeeper_test |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 12071 | |
| 12072 | endif |
| 12073 | |
| 12074 | endif |
| 12075 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12076 | $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/echo.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.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] | 12077 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12078 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/zookeeper_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc_zookeeper.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] | 12079 | |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 12080 | deps_zookeeper_test: $(ZOOKEEPER_TEST_OBJS:.o=.dep) |
| 12081 | |
| 12082 | ifneq ($(NO_SECURE),true) |
| 12083 | ifneq ($(NO_DEPS),true) |
| 12084 | -include $(ZOOKEEPER_TEST_OBJS:.o=.dep) |
| 12085 | endif |
| 12086 | endif |
Craig Tiller | 1b4e330 | 2015-12-17 16:35:00 -0800 | [diff] [blame] | 12087 | $(OBJDIR)/$(CONFIG)/test/cpp/end2end/zookeeper_test.o: $(GENDIR)/src/proto/grpc/testing/echo.pb.cc $(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc |
Hongwei Wang | 8e04d41 | 2015-07-31 15:12:51 -0700 | [diff] [blame] | 12088 | |
| 12089 | |
Craig Tiller | ab23045 | 2016-01-04 08:18:43 -0800 | [diff] [blame] | 12090 | PUBLIC_HEADERS_MUST_BE_C89_SRC = \ |
| 12091 | test/core/surface/public_headers_must_be_c89.c \ |
| 12092 | |
| 12093 | PUBLIC_HEADERS_MUST_BE_C89_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(PUBLIC_HEADERS_MUST_BE_C89_SRC)))) |
| 12094 | ifeq ($(NO_SECURE),true) |
| 12095 | |
| 12096 | # You can't build secure targets if you don't have OpenSSL. |
| 12097 | |
| 12098 | $(BINDIR)/$(CONFIG)/public_headers_must_be_c89: openssl_dep_error |
| 12099 | |
| 12100 | else |
| 12101 | |
| 12102 | |
| 12103 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12104 | $(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] | 12105 | $(E) "[LD] Linking $@" |
| 12106 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12107 | $(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] | 12108 | |
| 12109 | endif |
| 12110 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 12111 | $(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] | 12112 | $(OBJDIR)/$(CONFIG)/test/core/surface/public_headers_must_be_c89.o : test/core/surface/public_headers_must_be_c89.c |
| 12113 | $(E) "[C] Compiling $<" |
| 12114 | $(Q) mkdir -p `dirname $@` |
Nicolas "Pixel" Noble | 4500034 | 2016-01-28 05:04:45 +0100 | [diff] [blame] | 12115 | $(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] | 12116 | |
| 12117 | deps_public_headers_must_be_c89: $(PUBLIC_HEADERS_MUST_BE_C89_OBJS:.o=.dep) |
| 12118 | |
| 12119 | ifneq ($(NO_SECURE),true) |
| 12120 | ifneq ($(NO_DEPS),true) |
| 12121 | -include $(PUBLIC_HEADERS_MUST_BE_C89_OBJS:.o=.dep) |
| 12122 | endif |
| 12123 | endif |
| 12124 | |
| 12125 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 12126 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12127 | # boringssl needs an override to ensure that it does not include |
| 12128 | # system openssl headers regardless of other configuration |
| 12129 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12130 | $(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] | 12131 | $(BORINGSSL_AES_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12132 | $(BORINGSSL_AES_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 12133 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12134 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12135 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12136 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12137 | # 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] | 12138 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12139 | $(BINDIR)/$(CONFIG)/boringssl_aes_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12140 | |
| 12141 | else |
| 12142 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12143 | $(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] | 12144 | $(E) "[LD] Linking $@" |
| 12145 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12146 | $(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] | 12147 | |
| 12148 | endif |
| 12149 | |
| 12150 | |
| 12151 | |
| 12152 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12153 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12154 | # boringssl needs an override to ensure that it does not include |
| 12155 | # system openssl headers regardless of other configuration |
| 12156 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12157 | $(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] | 12158 | $(BORINGSSL_ASN1_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12159 | $(BORINGSSL_ASN1_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
| 12160 | |
| 12161 | |
| 12162 | ifeq ($(NO_PROTOBUF),true) |
| 12163 | |
| 12164 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 12165 | |
| 12166 | $(BINDIR)/$(CONFIG)/boringssl_asn1_test: protobuf_dep_error |
| 12167 | |
| 12168 | else |
| 12169 | |
| 12170 | $(BINDIR)/$(CONFIG)/boringssl_asn1_test: $(LIBDIR)/$(CONFIG)/libboringssl_asn1_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
| 12171 | $(E) "[LD] Linking $@" |
| 12172 | $(Q) mkdir -p `dirname $@` |
| 12173 | $(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 |
| 12174 | |
| 12175 | endif |
| 12176 | |
| 12177 | |
| 12178 | |
| 12179 | |
| 12180 | |
| 12181 | # boringssl needs an override to ensure that it does not include |
| 12182 | # system openssl headers regardless of other configuration |
| 12183 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12184 | $(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] | 12185 | $(BORINGSSL_BASE64_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12186 | $(BORINGSSL_BASE64_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12187 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12188 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12189 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12190 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12191 | # 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] | 12192 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12193 | $(BINDIR)/$(CONFIG)/boringssl_base64_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12194 | |
| 12195 | else |
| 12196 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12197 | $(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] | 12198 | $(E) "[LD] Linking $@" |
| 12199 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12200 | $(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] | 12201 | |
| 12202 | endif |
| 12203 | |
| 12204 | |
| 12205 | |
| 12206 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12207 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12208 | # boringssl needs an override to ensure that it does not include |
| 12209 | # system openssl headers regardless of other configuration |
| 12210 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12211 | $(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] | 12212 | $(BORINGSSL_BIO_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12213 | $(BORINGSSL_BIO_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12214 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12215 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12216 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12217 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12218 | # 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] | 12219 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12220 | $(BINDIR)/$(CONFIG)/boringssl_bio_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12221 | |
| 12222 | else |
| 12223 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12224 | $(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] | 12225 | $(E) "[LD] Linking $@" |
| 12226 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12227 | $(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] | 12228 | |
| 12229 | endif |
| 12230 | |
| 12231 | |
| 12232 | |
| 12233 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12234 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12235 | # boringssl needs an override to ensure that it does not include |
| 12236 | # system openssl headers regardless of other configuration |
| 12237 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12238 | $(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] | 12239 | $(BORINGSSL_BN_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12240 | $(BORINGSSL_BN_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12241 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12242 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12243 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12244 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12245 | # 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] | 12246 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12247 | $(BINDIR)/$(CONFIG)/boringssl_bn_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12248 | |
| 12249 | else |
| 12250 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12251 | $(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] | 12252 | $(E) "[LD] Linking $@" |
| 12253 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12254 | $(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] | 12255 | |
| 12256 | endif |
| 12257 | |
| 12258 | |
| 12259 | |
| 12260 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12261 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12262 | # boringssl needs an override to ensure that it does not include |
| 12263 | # system openssl headers regardless of other configuration |
| 12264 | # we do so here with a target specific variable assignment |
Craig Tiller | 78222f7 | 2016-05-10 09:55:38 -0700 | [diff] [blame] | 12265 | $(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] | 12266 | $(BORINGSSL_BYTESTRING_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12267 | $(BORINGSSL_BYTESTRING_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12268 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12269 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12270 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12271 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12272 | # 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] | 12273 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12274 | $(BINDIR)/$(CONFIG)/boringssl_bytestring_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12275 | |
| 12276 | else |
| 12277 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12278 | $(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] | 12279 | $(E) "[LD] Linking $@" |
| 12280 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12281 | $(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] | 12282 | |
| 12283 | endif |
| 12284 | |
| 12285 | |
| 12286 | |
| 12287 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -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_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] | 12293 | $(BORINGSSL_AEAD_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12294 | $(BORINGSSL_AEAD_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12295 | |
Craig Tiller | aae3b8c | 2015-12-10 14:43:04 -0800 | [diff] [blame] | 12296 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12297 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | aae3b8c | 2015-12-10 14:43:04 -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 | aae3b8c | 2015-12-10 14:43:04 -0800 | [diff] [blame] | 12300 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12301 | $(BINDIR)/$(CONFIG)/boringssl_aead_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_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] | 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_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] | 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_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] | 12320 | $(BORINGSSL_CIPHER_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12321 | $(BORINGSSL_CIPHER_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12322 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12323 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12324 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12325 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12326 | # 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] | 12327 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12328 | $(BINDIR)/$(CONFIG)/boringssl_cipher_test: protobuf_dep_error |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12329 | |
| 12330 | else |
| 12331 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12332 | $(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] | 12333 | $(E) "[LD] Linking $@" |
| 12334 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12335 | $(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] | 12336 | |
| 12337 | endif |
| 12338 | |
| 12339 | |
| 12340 | |
| 12341 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12342 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 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_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] | 12347 | $(BORINGSSL_CMAC_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12348 | $(BORINGSSL_CMAC_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_cmac_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_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] | 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_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] | 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_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] | 12374 | $(BORINGSSL_CONSTANT_TIME_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12375 | $(BORINGSSL_CONSTANT_TIME_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_constant_time_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_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] | 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_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] | 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_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] | 12401 | $(BORINGSSL_ED25519_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12402 | $(BORINGSSL_ED25519_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_ed25519_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_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] | 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_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] | 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_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] | 12428 | $(BORINGSSL_X25519_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12429 | $(BORINGSSL_X25519_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12430 | |
| 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_x25519_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_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] | 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_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] | 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_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] | 12455 | $(BORINGSSL_DH_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12456 | $(BORINGSSL_DH_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12457 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12458 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12459 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -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 | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12462 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12463 | $(BINDIR)/$(CONFIG)/boringssl_dh_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_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] | 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_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] | 12471 | |
| 12472 | endif |
| 12473 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12474 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12475 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12476 | |
| 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_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] | 12482 | $(BORINGSSL_DIGEST_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12483 | $(BORINGSSL_DIGEST_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12484 | |
| 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_digest_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_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] | 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_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] | 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_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] | 12509 | $(BORINGSSL_DSA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12510 | $(BORINGSSL_DSA_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_dsa_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_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] | 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_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] | 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_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] | 12536 | $(BORINGSSL_EC_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12537 | $(BORINGSSL_EC_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_ec_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_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] | 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_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] | 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_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] | 12563 | $(BORINGSSL_EXAMPLE_MUL_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12564 | $(BORINGSSL_EXAMPLE_MUL_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_example_mul: 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_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] | 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_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] | 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_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] | 12590 | $(BORINGSSL_ECDSA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12591 | $(BORINGSSL_ECDSA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12592 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 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_ecdsa_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_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] | 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_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] | 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_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] | 12617 | $(BORINGSSL_ERR_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12618 | $(BORINGSSL_ERR_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12619 | |
| 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_err_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_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] | 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_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] | 12633 | |
| 12634 | endif |
| 12635 | |
| 12636 | |
| 12637 | |
| 12638 | |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 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_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] | 12644 | $(BORINGSSL_EVP_EXTRA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12645 | $(BORINGSSL_EVP_EXTRA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c586f4e | 2015-12-10 10:26:05 -0800 | [diff] [blame] | 12646 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 12647 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12648 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -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+. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12651 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12652 | $(BINDIR)/$(CONFIG)/boringssl_evp_extra_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12653 | |
| 12654 | else |
| 12655 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12656 | $(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] | 12657 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 12658 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12659 | $(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] | 12660 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12661 | endif |
| 12662 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 12663 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12664 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12665 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -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_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] | 12671 | $(BORINGSSL_EVP_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12672 | $(BORINGSSL_EVP_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12673 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12674 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12675 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -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+. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12678 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12679 | $(BINDIR)/$(CONFIG)/boringssl_evp_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12680 | |
| 12681 | else |
| 12682 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12683 | $(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] | 12684 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 12685 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12686 | $(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] | 12687 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12688 | endif |
| 12689 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 12690 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12691 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12692 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -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_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] | 12698 | $(BORINGSSL_PBKDF_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12699 | $(BORINGSSL_PBKDF_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12700 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12701 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12702 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -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+. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12705 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12706 | $(BINDIR)/$(CONFIG)/boringssl_pbkdf_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12707 | |
| 12708 | else |
| 12709 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12710 | $(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] | 12711 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 12712 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12713 | $(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] | 12714 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12715 | endif |
| 12716 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 12717 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12718 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 12719 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -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_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] | 12725 | $(BORINGSSL_HKDF_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12726 | $(BORINGSSL_HKDF_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12727 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 12728 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12729 | ifeq ($(NO_PROTOBUF),true) |
hongyu | 24200d3 | 2015-01-08 15:13:49 -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+. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12732 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12733 | $(BINDIR)/$(CONFIG)/boringssl_hkdf_test: protobuf_dep_error |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 12734 | |
| 12735 | else |
| 12736 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12737 | $(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] | 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_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] | 12741 | |
| 12742 | endif |
| 12743 | |
| 12744 | |
| 12745 | |
| 12746 | |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [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_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] | 12752 | $(BORINGSSL_HMAC_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12753 | $(BORINGSSL_HMAC_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 12754 | |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 12755 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12756 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -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 | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 12759 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12760 | $(BINDIR)/$(CONFIG)/boringssl_hmac_test: protobuf_dep_error |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 12761 | |
| 12762 | else |
| 12763 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12764 | $(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] | 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_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] | 12768 | |
| 12769 | endif |
| 12770 | |
| 12771 | |
| 12772 | |
| 12773 | |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [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_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] | 12779 | $(BORINGSSL_LHASH_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12780 | $(BORINGSSL_LHASH_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 12781 | |
ctiller | c6d61c4 | 2014-12-15 14:52:08 -0800 | [diff] [blame] | 12782 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12783 | ifeq ($(NO_PROTOBUF),true) |
nnoble | 69ac39f | 2014-12-12 15:43:38 -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+. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12786 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12787 | $(BINDIR)/$(CONFIG)/boringssl_lhash_test: protobuf_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12788 | |
| 12789 | else |
| 12790 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12791 | $(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] | 12792 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 12793 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12794 | $(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] | 12795 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 12796 | endif |
| 12797 | |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 12798 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12799 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 12800 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -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_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] | 12806 | $(BORINGSSL_GCM_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12807 | $(BORINGSSL_GCM_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 12808 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -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+. |
murgatroid99 | a8c21e8 | 2015-02-12 13:55:53 -0800 | [diff] [blame] | 12813 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12814 | $(BINDIR)/$(CONFIG)/boringssl_gcm_test: protobuf_dep_error |
murgatroid99 | a8c21e8 | 2015-02-12 13:55:53 -0800 | [diff] [blame] | 12815 | |
| 12816 | else |
| 12817 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12818 | $(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] | 12819 | $(E) "[LD] Linking $@" |
| 12820 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12821 | $(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] | 12822 | |
| 12823 | endif |
| 12824 | |
| 12825 | |
murgatroid99 | a8c21e8 | 2015-02-12 13:55:53 -0800 | [diff] [blame] | 12826 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 12827 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -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_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] | 12833 | $(BORINGSSL_PKCS12_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12834 | $(BORINGSSL_PKCS12_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 12835 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 12836 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12837 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -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+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12840 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12841 | $(BINDIR)/$(CONFIG)/boringssl_pkcs12_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12842 | |
| 12843 | else |
| 12844 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12845 | $(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] | 12846 | $(E) "[LD] Linking $@" |
| 12847 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12848 | $(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] | 12849 | |
| 12850 | endif |
| 12851 | |
| 12852 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12853 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12854 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [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_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] | 12860 | $(BORINGSSL_PKCS8_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12861 | $(BORINGSSL_PKCS8_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12862 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12863 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12864 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [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+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12867 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12868 | $(BINDIR)/$(CONFIG)/boringssl_pkcs8_test: protobuf_dep_error |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 12869 | |
| 12870 | else |
| 12871 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12872 | $(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] | 12873 | $(E) "[LD] Linking $@" |
| 12874 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12875 | $(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] | 12876 | |
| 12877 | endif |
| 12878 | |
| 12879 | |
| 12880 | |
| 12881 | |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [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_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] | 12887 | $(BORINGSSL_POLY1305_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12888 | $(BORINGSSL_POLY1305_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 12889 | |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [diff] [blame] | 12890 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12891 | ifeq ($(NO_PROTOBUF),true) |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [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+. |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [diff] [blame] | 12894 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12895 | $(BINDIR)/$(CONFIG)/boringssl_poly1305_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12896 | |
| 12897 | else |
| 12898 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12899 | $(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] | 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_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] | 12903 | |
| 12904 | endif |
| 12905 | |
| 12906 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12907 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12908 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -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_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] | 12914 | $(BORINGSSL_REFCOUNT_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12915 | $(BORINGSSL_REFCOUNT_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12916 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12917 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12918 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [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 | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12921 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12922 | $(BINDIR)/$(CONFIG)/boringssl_refcount_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12923 | |
| 12924 | else |
| 12925 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12926 | $(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] | 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_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] | 12930 | |
| 12931 | endif |
| 12932 | |
| 12933 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12934 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12935 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -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_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] | 12941 | $(BORINGSSL_RSA_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12942 | $(BORINGSSL_RSA_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12943 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12944 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12945 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [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+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12948 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12949 | $(BINDIR)/$(CONFIG)/boringssl_rsa_test: protobuf_dep_error |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 12950 | |
| 12951 | else |
| 12952 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12953 | $(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] | 12954 | $(E) "[LD] Linking $@" |
| 12955 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12956 | $(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] | 12957 | |
| 12958 | endif |
| 12959 | |
| 12960 | |
| 12961 | |
| 12962 | |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -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_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] | 12968 | $(BORINGSSL_THREAD_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12969 | $(BORINGSSL_THREAD_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12970 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12971 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12972 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [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+. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12975 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12976 | $(BINDIR)/$(CONFIG)/boringssl_thread_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12977 | |
| 12978 | else |
| 12979 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12980 | $(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] | 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_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] | 12984 | |
| 12985 | endif |
| 12986 | |
| 12987 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12988 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12989 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [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_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] | 12995 | $(BORINGSSL_PKCS7_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 12996 | $(BORINGSSL_PKCS7_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 12997 | |
Craig Tiller | 93ec371 | 2015-05-05 09:41:03 -0700 | [diff] [blame] | 12998 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 12999 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 93ec371 | 2015-05-05 09:41:03 -0700 | [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 | 93ec371 | 2015-05-05 09:41:03 -0700 | [diff] [blame] | 13002 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13003 | $(BINDIR)/$(CONFIG)/boringssl_pkcs7_test: protobuf_dep_error |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 13004 | |
| 13005 | else |
| 13006 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13007 | $(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] | 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_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] | 13011 | |
| 13012 | endif |
| 13013 | |
| 13014 | |
| 13015 | |
| 13016 | |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -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_X509_TEST_OBJS): CFLAGS := -Ithird_party/boringssl/include $(CFLAGS) -Wno-sign-conversion -Wno-conversion -Wno-unused-value $(NO_W_EXTRA_SEMI) |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 13022 | $(BORINGSSL_X509_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13023 | $(BORINGSSL_X509_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
| 13024 | |
| 13025 | |
| 13026 | ifeq ($(NO_PROTOBUF),true) |
| 13027 | |
| 13028 | # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.0.0+. |
| 13029 | |
| 13030 | $(BINDIR)/$(CONFIG)/boringssl_x509_test: protobuf_dep_error |
| 13031 | |
| 13032 | else |
| 13033 | |
| 13034 | $(BINDIR)/$(CONFIG)/boringssl_x509_test: $(LIBDIR)/$(CONFIG)/libboringssl_x509_test_lib.a $(LIBDIR)/$(CONFIG)/libboringssl_test_util.a $(LIBDIR)/$(CONFIG)/libboringssl.a |
| 13035 | $(E) "[LD] Linking $@" |
| 13036 | $(Q) mkdir -p `dirname $@` |
| 13037 | $(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 |
| 13038 | |
| 13039 | endif |
| 13040 | |
| 13041 | |
| 13042 | |
| 13043 | |
| 13044 | |
| 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_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] | 13049 | $(BORINGSSL_TAB_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13050 | $(BORINGSSL_TAB_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 13051 | |
| 13052 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13053 | ifeq ($(NO_PROTOBUF),true) |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -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+. |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 13056 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13057 | $(BINDIR)/$(CONFIG)/boringssl_tab_test: protobuf_dep_error |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 13058 | |
| 13059 | else |
| 13060 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13061 | $(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] | 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_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] | 13065 | |
| 13066 | endif |
| 13067 | |
| 13068 | |
| 13069 | |
| 13070 | |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -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_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] | 13076 | $(BORINGSSL_V3NAME_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13077 | $(BORINGSSL_V3NAME_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -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_v3name_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_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] | 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_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] | 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_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] | 13103 | $(BORINGSSL_PQUEUE_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13104 | $(BORINGSSL_PQUEUE_TEST_OBJS): CPPFLAGS += -DOPENSSL_NO_ASM -D_GNU_SOURCE |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13105 | |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 13106 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13107 | ifeq ($(NO_PROTOBUF),true) |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -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 | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 13110 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13111 | $(BINDIR)/$(CONFIG)/boringssl_pqueue_test: protobuf_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13112 | |
| 13113 | else |
| 13114 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13115 | $(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] | 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_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] | 13119 | |
| 13120 | endif |
| 13121 | |
| 13122 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13123 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13124 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [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_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] | 13130 | $(BORINGSSL_SSL_TEST_OBJS): CXXFLAGS := -Ithird_party/boringssl/include $(CXXFLAGS) |
| 13131 | $(BORINGSSL_SSL_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_ssl_test: protobuf_dep_error |
Craig Tiller | 434a36b | 2015-05-04 09:49:22 -0700 | [diff] [blame] | 13139 | |
| 13140 | else |
| 13141 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13142 | $(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] | 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_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] | 13146 | |
| 13147 | endif |
| 13148 | |
| 13149 | |
| 13150 | |
| 13151 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 13152 | BADREQ_BAD_CLIENT_TEST_SRC = \ |
| 13153 | test/core/bad_client/tests/badreq.c \ |
| 13154 | |
| 13155 | BADREQ_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BADREQ_BAD_CLIENT_TEST_SRC)))) |
| 13156 | |
| 13157 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13158 | $(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] | 13159 | $(E) "[LD] Linking $@" |
| 13160 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13161 | $(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] | 13162 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13163 | $(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] | 13164 | |
| 13165 | deps_badreq_bad_client_test: $(BADREQ_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13166 | |
| 13167 | ifneq ($(NO_DEPS),true) |
| 13168 | -include $(BADREQ_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13169 | endif |
| 13170 | |
| 13171 | |
| 13172 | CONNECTION_PREFIX_BAD_CLIENT_TEST_SRC = \ |
| 13173 | test/core/bad_client/tests/connection_prefix.c \ |
| 13174 | |
| 13175 | CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CONNECTION_PREFIX_BAD_CLIENT_TEST_SRC)))) |
| 13176 | |
| 13177 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13178 | $(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] | 13179 | $(E) "[LD] Linking $@" |
| 13180 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13181 | $(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] | 13182 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13183 | $(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] | 13184 | |
| 13185 | deps_connection_prefix_bad_client_test: $(CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13186 | |
| 13187 | ifneq ($(NO_DEPS),true) |
| 13188 | -include $(CONNECTION_PREFIX_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13189 | endif |
| 13190 | |
| 13191 | |
Craig Tiller | 307a720 | 2016-04-02 07:40:39 -0700 | [diff] [blame] | 13192 | HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_SRC = \ |
| 13193 | test/core/bad_client/tests/head_of_line_blocking.c \ |
| 13194 | |
| 13195 | HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_SRC)))) |
| 13196 | |
| 13197 | |
| 13198 | $(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 |
| 13199 | $(E) "[LD] Linking $@" |
| 13200 | $(Q) mkdir -p `dirname $@` |
| 13201 | $(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 |
| 13202 | |
| 13203 | $(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 |
| 13204 | |
| 13205 | deps_head_of_line_blocking_bad_client_test: $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13206 | |
| 13207 | ifneq ($(NO_DEPS),true) |
| 13208 | -include $(HEAD_OF_LINE_BLOCKING_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13209 | endif |
| 13210 | |
| 13211 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 13212 | HEADERS_BAD_CLIENT_TEST_SRC = \ |
| 13213 | test/core/bad_client/tests/headers.c \ |
| 13214 | |
| 13215 | HEADERS_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HEADERS_BAD_CLIENT_TEST_SRC)))) |
| 13216 | |
| 13217 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13218 | $(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] | 13219 | $(E) "[LD] Linking $@" |
| 13220 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13221 | $(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] | 13222 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13223 | $(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] | 13224 | |
| 13225 | deps_headers_bad_client_test: $(HEADERS_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13226 | |
| 13227 | ifneq ($(NO_DEPS),true) |
| 13228 | -include $(HEADERS_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13229 | endif |
| 13230 | |
| 13231 | |
| 13232 | INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_SRC = \ |
| 13233 | test/core/bad_client/tests/initial_settings_frame.c \ |
| 13234 | |
| 13235 | INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_SRC)))) |
| 13236 | |
| 13237 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13238 | $(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] | 13239 | $(E) "[LD] Linking $@" |
| 13240 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13241 | $(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] | 13242 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13243 | $(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] | 13244 | |
| 13245 | deps_initial_settings_frame_bad_client_test: $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13246 | |
| 13247 | ifneq ($(NO_DEPS),true) |
| 13248 | -include $(INITIAL_SETTINGS_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13249 | endif |
| 13250 | |
| 13251 | |
Mark D. Roth | 8a1d805 | 2016-05-03 10:44:56 -0700 | [diff] [blame] | 13252 | LARGE_METADATA_BAD_CLIENT_TEST_SRC = \ |
| 13253 | test/core/bad_client/tests/large_metadata.c \ |
| 13254 | |
| 13255 | LARGE_METADATA_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(LARGE_METADATA_BAD_CLIENT_TEST_SRC)))) |
| 13256 | |
| 13257 | |
| 13258 | $(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 |
| 13259 | $(E) "[LD] Linking $@" |
| 13260 | $(Q) mkdir -p `dirname $@` |
| 13261 | $(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 |
| 13262 | |
| 13263 | $(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 |
| 13264 | |
| 13265 | deps_large_metadata_bad_client_test: $(LARGE_METADATA_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13266 | |
| 13267 | ifneq ($(NO_DEPS),true) |
| 13268 | -include $(LARGE_METADATA_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13269 | endif |
| 13270 | |
| 13271 | |
Craig Tiller | 3dca23a | 2016-01-21 11:44:55 -0800 | [diff] [blame] | 13272 | SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_SRC = \ |
| 13273 | test/core/bad_client/tests/server_registered_method.c \ |
| 13274 | |
| 13275 | SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_SRC)))) |
| 13276 | |
| 13277 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13278 | $(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] | 13279 | $(E) "[LD] Linking $@" |
| 13280 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13281 | $(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] | 13282 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13283 | $(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] | 13284 | |
| 13285 | deps_server_registered_method_bad_client_test: $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13286 | |
| 13287 | ifneq ($(NO_DEPS),true) |
| 13288 | -include $(SERVER_REGISTERED_METHOD_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13289 | endif |
| 13290 | |
| 13291 | |
| 13292 | SIMPLE_REQUEST_BAD_CLIENT_TEST_SRC = \ |
| 13293 | test/core/bad_client/tests/simple_request.c \ |
| 13294 | |
| 13295 | SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SIMPLE_REQUEST_BAD_CLIENT_TEST_SRC)))) |
| 13296 | |
| 13297 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13298 | $(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] | 13299 | $(E) "[LD] Linking $@" |
| 13300 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13301 | $(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] | 13302 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13303 | $(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] | 13304 | |
| 13305 | deps_simple_request_bad_client_test: $(SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13306 | |
| 13307 | ifneq ($(NO_DEPS),true) |
| 13308 | -include $(SIMPLE_REQUEST_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13309 | endif |
| 13310 | |
| 13311 | |
| 13312 | UNKNOWN_FRAME_BAD_CLIENT_TEST_SRC = \ |
| 13313 | test/core/bad_client/tests/unknown_frame.c \ |
| 13314 | |
| 13315 | UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(UNKNOWN_FRAME_BAD_CLIENT_TEST_SRC)))) |
| 13316 | |
| 13317 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13318 | $(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] | 13319 | $(E) "[LD] Linking $@" |
| 13320 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13321 | $(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] | 13322 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13323 | $(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] | 13324 | |
| 13325 | deps_unknown_frame_bad_client_test: $(UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13326 | |
| 13327 | ifneq ($(NO_DEPS),true) |
| 13328 | -include $(UNKNOWN_FRAME_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13329 | endif |
| 13330 | |
| 13331 | |
| 13332 | WINDOW_OVERFLOW_BAD_CLIENT_TEST_SRC = \ |
| 13333 | test/core/bad_client/tests/window_overflow.c \ |
| 13334 | |
| 13335 | WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_SRC)))) |
| 13336 | |
| 13337 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13338 | $(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] | 13339 | $(E) "[LD] Linking $@" |
| 13340 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13341 | $(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] | 13342 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13343 | $(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] | 13344 | |
| 13345 | deps_window_overflow_bad_client_test: $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13346 | |
| 13347 | ifneq ($(NO_DEPS),true) |
| 13348 | -include $(WINDOW_OVERFLOW_BAD_CLIENT_TEST_OBJS:.o=.dep) |
| 13349 | endif |
| 13350 | |
| 13351 | |
| 13352 | BAD_SSL_ALPN_SERVER_SRC = \ |
| 13353 | test/core/bad_ssl/servers/alpn.c \ |
| 13354 | |
| 13355 | BAD_SSL_ALPN_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SSL_ALPN_SERVER_SRC)))) |
| 13356 | ifeq ($(NO_SECURE),true) |
| 13357 | |
| 13358 | # You can't build secure targets if you don't have OpenSSL. |
| 13359 | |
| 13360 | $(BINDIR)/$(CONFIG)/bad_ssl_alpn_server: openssl_dep_error |
| 13361 | |
| 13362 | else |
| 13363 | |
| 13364 | |
| 13365 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13366 | $(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] | 13367 | $(E) "[LD] Linking $@" |
| 13368 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13369 | $(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] | 13370 | |
| 13371 | endif |
| 13372 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13373 | $(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] | 13374 | |
| 13375 | deps_bad_ssl_alpn_server: $(BAD_SSL_ALPN_SERVER_OBJS:.o=.dep) |
| 13376 | |
| 13377 | ifneq ($(NO_SECURE),true) |
| 13378 | ifneq ($(NO_DEPS),true) |
| 13379 | -include $(BAD_SSL_ALPN_SERVER_OBJS:.o=.dep) |
| 13380 | endif |
| 13381 | endif |
| 13382 | |
| 13383 | |
| 13384 | BAD_SSL_CERT_SERVER_SRC = \ |
| 13385 | test/core/bad_ssl/servers/cert.c \ |
| 13386 | |
| 13387 | BAD_SSL_CERT_SERVER_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SSL_CERT_SERVER_SRC)))) |
| 13388 | ifeq ($(NO_SECURE),true) |
| 13389 | |
| 13390 | # You can't build secure targets if you don't have OpenSSL. |
| 13391 | |
| 13392 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_server: openssl_dep_error |
| 13393 | |
| 13394 | else |
| 13395 | |
| 13396 | |
| 13397 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13398 | $(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] | 13399 | $(E) "[LD] Linking $@" |
| 13400 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13401 | $(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] | 13402 | |
| 13403 | endif |
| 13404 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13405 | $(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] | 13406 | |
| 13407 | deps_bad_ssl_cert_server: $(BAD_SSL_CERT_SERVER_OBJS:.o=.dep) |
| 13408 | |
| 13409 | ifneq ($(NO_SECURE),true) |
| 13410 | ifneq ($(NO_DEPS),true) |
| 13411 | -include $(BAD_SSL_CERT_SERVER_OBJS:.o=.dep) |
| 13412 | endif |
| 13413 | endif |
| 13414 | |
| 13415 | |
| 13416 | BAD_SSL_ALPN_TEST_SRC = \ |
| 13417 | test/core/bad_ssl/bad_ssl_test.c \ |
| 13418 | |
| 13419 | BAD_SSL_ALPN_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SSL_ALPN_TEST_SRC)))) |
| 13420 | ifeq ($(NO_SECURE),true) |
| 13421 | |
| 13422 | # You can't build secure targets if you don't have OpenSSL. |
| 13423 | |
| 13424 | $(BINDIR)/$(CONFIG)/bad_ssl_alpn_test: openssl_dep_error |
| 13425 | |
| 13426 | else |
| 13427 | |
| 13428 | |
| 13429 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13430 | $(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] | 13431 | $(E) "[LD] Linking $@" |
| 13432 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13433 | $(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] | 13434 | |
| 13435 | endif |
| 13436 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13437 | $(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] | 13438 | |
| 13439 | deps_bad_ssl_alpn_test: $(BAD_SSL_ALPN_TEST_OBJS:.o=.dep) |
| 13440 | |
| 13441 | ifneq ($(NO_SECURE),true) |
| 13442 | ifneq ($(NO_DEPS),true) |
| 13443 | -include $(BAD_SSL_ALPN_TEST_OBJS:.o=.dep) |
| 13444 | endif |
| 13445 | endif |
| 13446 | |
| 13447 | |
| 13448 | BAD_SSL_CERT_TEST_SRC = \ |
| 13449 | test/core/bad_ssl/bad_ssl_test.c \ |
| 13450 | |
| 13451 | BAD_SSL_CERT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BAD_SSL_CERT_TEST_SRC)))) |
| 13452 | ifeq ($(NO_SECURE),true) |
| 13453 | |
| 13454 | # You can't build secure targets if you don't have OpenSSL. |
| 13455 | |
| 13456 | $(BINDIR)/$(CONFIG)/bad_ssl_cert_test: openssl_dep_error |
| 13457 | |
| 13458 | else |
| 13459 | |
| 13460 | |
| 13461 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13462 | $(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] | 13463 | $(E) "[LD] Linking $@" |
| 13464 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13465 | $(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] | 13466 | |
| 13467 | endif |
| 13468 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 13469 | $(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] | 13470 | |
| 13471 | deps_bad_ssl_cert_test: $(BAD_SSL_CERT_TEST_OBJS:.o=.dep) |
| 13472 | |
| 13473 | ifneq ($(NO_SECURE),true) |
| 13474 | ifneq ($(NO_DEPS),true) |
| 13475 | -include $(BAD_SSL_CERT_TEST_OBJS:.o=.dep) |
| 13476 | endif |
| 13477 | endif |
| 13478 | |
| 13479 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13480 | H2_CENSUS_TEST_SRC = \ |
| 13481 | test/core/end2end/fixtures/h2_census.c \ |
| 13482 | |
| 13483 | 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] | 13484 | ifeq ($(NO_SECURE),true) |
| 13485 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13486 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | 434a36b | 2015-05-04 09:49:22 -0700 | [diff] [blame] | 13487 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13488 | $(BINDIR)/$(CONFIG)/h2_census_test: openssl_dep_error |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 13489 | |
| 13490 | else |
| 13491 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 13492 | |
Craig Tiller | c9f660d | 2015-03-03 11:01:48 -0800 | [diff] [blame] | 13493 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13494 | $(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] | 13495 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 13496 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13497 | $(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] | 13498 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13499 | endif |
| 13500 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13501 | $(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] | 13502 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13503 | deps_h2_census_test: $(H2_CENSUS_TEST_OBJS:.o=.dep) |
| 13504 | |
| 13505 | ifneq ($(NO_SECURE),true) |
| 13506 | ifneq ($(NO_DEPS),true) |
| 13507 | -include $(H2_CENSUS_TEST_OBJS:.o=.dep) |
| 13508 | endif |
| 13509 | endif |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 13510 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13511 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13512 | H2_COMPRESS_TEST_SRC = \ |
| 13513 | test/core/end2end/fixtures/h2_compress.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13514 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13515 | 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] | 13516 | ifeq ($(NO_SECURE),true) |
| 13517 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13518 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13519 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13520 | $(BINDIR)/$(CONFIG)/h2_compress_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13521 | |
| 13522 | else |
| 13523 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13524 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13525 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13526 | $(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] | 13527 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 13528 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13529 | $(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] | 13530 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13531 | endif |
| 13532 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13533 | $(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] | 13534 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13535 | deps_h2_compress_test: $(H2_COMPRESS_TEST_OBJS:.o=.dep) |
| 13536 | |
| 13537 | ifneq ($(NO_SECURE),true) |
| 13538 | ifneq ($(NO_DEPS),true) |
| 13539 | -include $(H2_COMPRESS_TEST_OBJS:.o=.dep) |
| 13540 | endif |
| 13541 | endif |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 13542 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13543 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13544 | H2_FAKESEC_TEST_SRC = \ |
| 13545 | test/core/end2end/fixtures/h2_fakesec.c \ |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13546 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13547 | 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] | 13548 | ifeq ($(NO_SECURE),true) |
| 13549 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13550 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13551 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13552 | $(BINDIR)/$(CONFIG)/h2_fakesec_test: openssl_dep_error |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13553 | |
| 13554 | else |
| 13555 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13556 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13557 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13558 | $(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] | 13559 | $(E) "[LD] Linking $@" |
nnoble | 85a4926 | 2014-12-08 18:14:03 -0800 | [diff] [blame] | 13560 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13561 | $(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] | 13562 | |
nnoble | 69ac39f | 2014-12-12 15:43:38 -0800 | [diff] [blame] | 13563 | endif |
| 13564 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13565 | $(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] | 13566 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13567 | deps_h2_fakesec_test: $(H2_FAKESEC_TEST_OBJS:.o=.dep) |
| 13568 | |
| 13569 | ifneq ($(NO_SECURE),true) |
| 13570 | ifneq ($(NO_DEPS),true) |
| 13571 | -include $(H2_FAKESEC_TEST_OBJS:.o=.dep) |
| 13572 | endif |
| 13573 | endif |
Craig Tiller | d4773f5 | 2015-01-12 16:38:47 -0800 | [diff] [blame] | 13574 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 13575 | |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 13576 | H2_FD_TEST_SRC = \ |
| 13577 | test/core/end2end/fixtures/h2_fd.c \ |
| 13578 | |
| 13579 | H2_FD_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FD_TEST_SRC)))) |
| 13580 | ifeq ($(NO_SECURE),true) |
| 13581 | |
| 13582 | # You can't build secure targets if you don't have OpenSSL. |
| 13583 | |
| 13584 | $(BINDIR)/$(CONFIG)/h2_fd_test: openssl_dep_error |
| 13585 | |
| 13586 | else |
| 13587 | |
| 13588 | |
| 13589 | |
| 13590 | $(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 |
| 13591 | $(E) "[LD] Linking $@" |
| 13592 | $(Q) mkdir -p `dirname $@` |
| 13593 | $(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 |
| 13594 | |
| 13595 | endif |
| 13596 | |
| 13597 | $(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 |
| 13598 | |
| 13599 | deps_h2_fd_test: $(H2_FD_TEST_OBJS:.o=.dep) |
| 13600 | |
| 13601 | ifneq ($(NO_SECURE),true) |
| 13602 | ifneq ($(NO_DEPS),true) |
| 13603 | -include $(H2_FD_TEST_OBJS:.o=.dep) |
| 13604 | endif |
| 13605 | endif |
| 13606 | |
| 13607 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13608 | H2_FULL_TEST_SRC = \ |
| 13609 | test/core/end2end/fixtures/h2_full.c \ |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13610 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13611 | 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] | 13612 | ifeq ($(NO_SECURE),true) |
| 13613 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13614 | # You can't build secure targets if you don't have OpenSSL. |
Nicolas Noble | 047b727 | 2015-01-16 13:55:05 -0800 | [diff] [blame] | 13615 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13616 | $(BINDIR)/$(CONFIG)/h2_full_test: openssl_dep_error |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13617 | |
| 13618 | else |
| 13619 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13620 | |
hongyu | 24200d3 | 2015-01-08 15:13:49 -0800 | [diff] [blame] | 13621 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13622 | $(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] | 13623 | $(E) "[LD] Linking $@" |
| 13624 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13625 | $(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] | 13626 | |
| 13627 | endif |
| 13628 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13629 | $(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] | 13630 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13631 | deps_h2_full_test: $(H2_FULL_TEST_OBJS:.o=.dep) |
| 13632 | |
| 13633 | ifneq ($(NO_SECURE),true) |
| 13634 | ifneq ($(NO_DEPS),true) |
| 13635 | -include $(H2_FULL_TEST_OBJS:.o=.dep) |
| 13636 | endif |
| 13637 | endif |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 13638 | |
| 13639 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13640 | H2_FULL+PIPE_TEST_SRC = \ |
| 13641 | test/core/end2end/fixtures/h2_full+pipe.c \ |
Craig Tiller | 1ada6ad | 2015-07-16 16:19:14 -0700 | [diff] [blame] | 13642 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13643 | 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] | 13644 | ifeq ($(NO_SECURE),true) |
| 13645 | |
| 13646 | # You can't build secure targets if you don't have OpenSSL. |
| 13647 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13648 | $(BINDIR)/$(CONFIG)/h2_full+pipe_test: openssl_dep_error |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 13649 | |
| 13650 | else |
| 13651 | |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 13652 | |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 13653 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13654 | $(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] | 13655 | $(E) "[LD] Linking $@" |
| 13656 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13657 | $(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] | 13658 | |
| 13659 | endif |
| 13660 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13661 | $(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] | 13662 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13663 | deps_h2_full+pipe_test: $(H2_FULL+PIPE_TEST_OBJS:.o=.dep) |
| 13664 | |
| 13665 | ifneq ($(NO_SECURE),true) |
| 13666 | ifneq ($(NO_DEPS),true) |
| 13667 | -include $(H2_FULL+PIPE_TEST_OBJS:.o=.dep) |
| 13668 | endif |
| 13669 | endif |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 13670 | |
| 13671 | |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 13672 | H2_FULL+TRACE_TEST_SRC = \ |
| 13673 | test/core/end2end/fixtures/h2_full+trace.c \ |
| 13674 | |
| 13675 | H2_FULL+TRACE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FULL+TRACE_TEST_SRC)))) |
| 13676 | ifeq ($(NO_SECURE),true) |
| 13677 | |
| 13678 | # You can't build secure targets if you don't have OpenSSL. |
| 13679 | |
| 13680 | $(BINDIR)/$(CONFIG)/h2_full+trace_test: openssl_dep_error |
| 13681 | |
| 13682 | else |
| 13683 | |
| 13684 | |
| 13685 | |
Craig Tiller | 6a59cf2 | 2016-03-17 10:55:30 -0700 | [diff] [blame] | 13686 | $(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] | 13687 | $(E) "[LD] Linking $@" |
| 13688 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 6a59cf2 | 2016-03-17 10:55:30 -0700 | [diff] [blame] | 13689 | $(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] | 13690 | |
| 13691 | endif |
| 13692 | |
Craig Tiller | 6a59cf2 | 2016-03-17 10:55:30 -0700 | [diff] [blame] | 13693 | $(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] | 13694 | |
| 13695 | deps_h2_full+trace_test: $(H2_FULL+TRACE_TEST_OBJS:.o=.dep) |
| 13696 | |
| 13697 | ifneq ($(NO_SECURE),true) |
| 13698 | ifneq ($(NO_DEPS),true) |
| 13699 | -include $(H2_FULL+TRACE_TEST_OBJS:.o=.dep) |
| 13700 | endif |
| 13701 | endif |
| 13702 | |
| 13703 | |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 13704 | H2_LOADREPORTING_TEST_SRC = \ |
| 13705 | test/core/end2end/fixtures/h2_loadreporting.c \ |
| 13706 | |
| 13707 | H2_LOADREPORTING_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_LOADREPORTING_TEST_SRC)))) |
| 13708 | ifeq ($(NO_SECURE),true) |
| 13709 | |
| 13710 | # You can't build secure targets if you don't have OpenSSL. |
| 13711 | |
| 13712 | $(BINDIR)/$(CONFIG)/h2_loadreporting_test: openssl_dep_error |
| 13713 | |
| 13714 | else |
| 13715 | |
| 13716 | |
| 13717 | |
| 13718 | $(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 |
| 13719 | $(E) "[LD] Linking $@" |
| 13720 | $(Q) mkdir -p `dirname $@` |
| 13721 | $(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 |
| 13722 | |
| 13723 | endif |
| 13724 | |
| 13725 | $(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 |
| 13726 | |
| 13727 | deps_h2_loadreporting_test: $(H2_LOADREPORTING_TEST_OBJS:.o=.dep) |
| 13728 | |
| 13729 | ifneq ($(NO_SECURE),true) |
| 13730 | ifneq ($(NO_DEPS),true) |
| 13731 | -include $(H2_LOADREPORTING_TEST_OBJS:.o=.dep) |
| 13732 | endif |
| 13733 | endif |
| 13734 | |
| 13735 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13736 | H2_OAUTH2_TEST_SRC = \ |
| 13737 | test/core/end2end/fixtures/h2_oauth2.c \ |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13738 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13739 | 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] | 13740 | ifeq ($(NO_SECURE),true) |
| 13741 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13742 | # You can't build secure targets if you don't have OpenSSL. |
David Klempner | 7f3ed1e | 2015-01-16 15:35:56 -0800 | [diff] [blame] | 13743 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13744 | $(BINDIR)/$(CONFIG)/h2_oauth2_test: openssl_dep_error |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13745 | |
| 13746 | else |
| 13747 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13748 | |
Craig Tiller | 4ffdcd5 | 2015-01-16 11:34:55 -0800 | [diff] [blame] | 13749 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13750 | $(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] | 13751 | $(E) "[LD] Linking $@" |
| 13752 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13753 | $(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] | 13754 | |
| 13755 | endif |
| 13756 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13757 | $(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] | 13758 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13759 | deps_h2_oauth2_test: $(H2_OAUTH2_TEST_OBJS:.o=.dep) |
| 13760 | |
| 13761 | ifneq ($(NO_SECURE),true) |
| 13762 | ifneq ($(NO_DEPS),true) |
| 13763 | -include $(H2_OAUTH2_TEST_OBJS:.o=.dep) |
| 13764 | endif |
| 13765 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13766 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13767 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13768 | H2_PROXY_TEST_SRC = \ |
| 13769 | test/core/end2end/fixtures/h2_proxy.c \ |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13770 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13771 | 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] | 13772 | ifeq ($(NO_SECURE),true) |
| 13773 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13774 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13775 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13776 | $(BINDIR)/$(CONFIG)/h2_proxy_test: openssl_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13777 | |
| 13778 | else |
| 13779 | |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13780 | |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13781 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13782 | $(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] | 13783 | $(E) "[LD] Linking $@" |
| 13784 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13785 | $(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] | 13786 | |
| 13787 | endif |
| 13788 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13789 | $(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] | 13790 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13791 | deps_h2_proxy_test: $(H2_PROXY_TEST_OBJS:.o=.dep) |
| 13792 | |
| 13793 | ifneq ($(NO_SECURE),true) |
| 13794 | ifneq ($(NO_DEPS),true) |
| 13795 | -include $(H2_PROXY_TEST_OBJS:.o=.dep) |
| 13796 | endif |
| 13797 | endif |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13798 | |
| 13799 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13800 | H2_SOCKPAIR_TEST_SRC = \ |
| 13801 | test/core/end2end/fixtures/h2_sockpair.c \ |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13802 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13803 | H2_SOCKPAIR_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_TEST_SRC)))) |
Craig Tiller | e4008cf | 2015-11-10 08:41:17 +0000 | [diff] [blame] | 13804 | ifeq ($(NO_SECURE),true) |
| 13805 | |
| 13806 | # You can't build secure targets if you don't have OpenSSL. |
| 13807 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13808 | $(BINDIR)/$(CONFIG)/h2_sockpair_test: openssl_dep_error |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [diff] [blame] | 13809 | |
| 13810 | else |
| 13811 | |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [diff] [blame] | 13812 | |
Yang Gao | 26839c7 | 2015-05-04 13:49:38 -0700 | [diff] [blame] | 13813 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13814 | $(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 | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13815 | $(E) "[LD] Linking $@" |
| 13816 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13817 | $(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 | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13818 | |
| 13819 | endif |
| 13820 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13821 | $(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 | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 13822 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13823 | deps_h2_sockpair_test: $(H2_SOCKPAIR_TEST_OBJS:.o=.dep) |
| 13824 | |
| 13825 | ifneq ($(NO_SECURE),true) |
| 13826 | ifneq ($(NO_DEPS),true) |
| 13827 | -include $(H2_SOCKPAIR_TEST_OBJS:.o=.dep) |
| 13828 | endif |
| 13829 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13830 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13831 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13832 | H2_SOCKPAIR+TRACE_TEST_SRC = \ |
| 13833 | test/core/end2end/fixtures/h2_sockpair+trace.c \ |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13834 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13835 | H2_SOCKPAIR+TRACE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR+TRACE_TEST_SRC)))) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13836 | ifeq ($(NO_SECURE),true) |
| 13837 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13838 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13839 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13840 | $(BINDIR)/$(CONFIG)/h2_sockpair+trace_test: openssl_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13841 | |
| 13842 | else |
| 13843 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13844 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13845 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13846 | $(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 | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13847 | $(E) "[LD] Linking $@" |
| 13848 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13849 | $(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 | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13850 | |
| 13851 | endif |
| 13852 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13853 | $(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 | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 13854 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13855 | deps_h2_sockpair+trace_test: $(H2_SOCKPAIR+TRACE_TEST_OBJS:.o=.dep) |
| 13856 | |
| 13857 | ifneq ($(NO_SECURE),true) |
| 13858 | ifneq ($(NO_DEPS),true) |
| 13859 | -include $(H2_SOCKPAIR+TRACE_TEST_OBJS:.o=.dep) |
| 13860 | endif |
| 13861 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13862 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13863 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13864 | H2_SOCKPAIR_1BYTE_TEST_SRC = \ |
| 13865 | test/core/end2end/fixtures/h2_sockpair_1byte.c \ |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13866 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13867 | H2_SOCKPAIR_1BYTE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_1BYTE_TEST_SRC)))) |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13868 | ifeq ($(NO_SECURE),true) |
| 13869 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13870 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13871 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13872 | $(BINDIR)/$(CONFIG)/h2_sockpair_1byte_test: openssl_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13873 | |
| 13874 | else |
| 13875 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13876 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13877 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13878 | $(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 | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 13879 | $(E) "[LD] Linking $@" |
| 13880 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13881 | $(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 | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 13882 | |
| 13883 | endif |
| 13884 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13885 | $(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 | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 13886 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13887 | deps_h2_sockpair_1byte_test: $(H2_SOCKPAIR_1BYTE_TEST_OBJS:.o=.dep) |
| 13888 | |
| 13889 | ifneq ($(NO_SECURE),true) |
| 13890 | ifneq ($(NO_DEPS),true) |
| 13891 | -include $(H2_SOCKPAIR_1BYTE_TEST_OBJS:.o=.dep) |
| 13892 | endif |
| 13893 | endif |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 13894 | |
| 13895 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13896 | H2_SSL_TEST_SRC = \ |
| 13897 | test/core/end2end/fixtures/h2_ssl.c \ |
Craig Tiller | 1726e83 | 2015-11-03 12:45:11 -0800 | [diff] [blame] | 13898 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13899 | 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] | 13900 | ifeq ($(NO_SECURE),true) |
| 13901 | |
| 13902 | # You can't build secure targets if you don't have OpenSSL. |
| 13903 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13904 | $(BINDIR)/$(CONFIG)/h2_ssl_test: openssl_dep_error |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13905 | |
| 13906 | else |
| 13907 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13908 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13909 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13910 | $(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] | 13911 | $(E) "[LD] Linking $@" |
| 13912 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13913 | $(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] | 13914 | |
| 13915 | endif |
| 13916 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13917 | $(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] | 13918 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13919 | deps_h2_ssl_test: $(H2_SSL_TEST_OBJS:.o=.dep) |
| 13920 | |
| 13921 | ifneq ($(NO_SECURE),true) |
| 13922 | ifneq ($(NO_DEPS),true) |
| 13923 | -include $(H2_SSL_TEST_OBJS:.o=.dep) |
| 13924 | endif |
| 13925 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13926 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13927 | |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 13928 | H2_SSL_CERT_TEST_SRC = \ |
| 13929 | test/core/end2end/fixtures/h2_ssl_cert.c \ |
| 13930 | |
| 13931 | H2_SSL_CERT_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SSL_CERT_TEST_SRC)))) |
| 13932 | ifeq ($(NO_SECURE),true) |
| 13933 | |
| 13934 | # You can't build secure targets if you don't have OpenSSL. |
| 13935 | |
| 13936 | $(BINDIR)/$(CONFIG)/h2_ssl_cert_test: openssl_dep_error |
| 13937 | |
| 13938 | else |
| 13939 | |
| 13940 | |
| 13941 | |
| 13942 | $(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 |
| 13943 | $(E) "[LD] Linking $@" |
| 13944 | $(Q) mkdir -p `dirname $@` |
| 13945 | $(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 |
| 13946 | |
| 13947 | endif |
| 13948 | |
| 13949 | $(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 |
| 13950 | |
| 13951 | deps_h2_ssl_cert_test: $(H2_SSL_CERT_TEST_OBJS:.o=.dep) |
| 13952 | |
| 13953 | ifneq ($(NO_SECURE),true) |
| 13954 | ifneq ($(NO_DEPS),true) |
| 13955 | -include $(H2_SSL_CERT_TEST_OBJS:.o=.dep) |
| 13956 | endif |
| 13957 | endif |
| 13958 | |
| 13959 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13960 | H2_SSL_PROXY_TEST_SRC = \ |
| 13961 | test/core/end2end/fixtures/h2_ssl_proxy.c \ |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 13962 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13963 | 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] | 13964 | ifeq ($(NO_SECURE),true) |
| 13965 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13966 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | fff495e | 2015-05-15 15:11:09 -0700 | [diff] [blame] | 13967 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 13968 | $(BINDIR)/$(CONFIG)/h2_ssl_proxy_test: openssl_dep_error |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 13969 | |
| 13970 | else |
| 13971 | |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 13972 | |
David Garcia Quintas | f74a49e | 2015-06-18 17:22:45 -0700 | [diff] [blame] | 13973 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13974 | $(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] | 13975 | $(E) "[LD] Linking $@" |
| 13976 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13977 | $(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] | 13978 | |
| 13979 | endif |
| 13980 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 13981 | $(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] | 13982 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13983 | deps_h2_ssl_proxy_test: $(H2_SSL_PROXY_TEST_OBJS:.o=.dep) |
| 13984 | |
| 13985 | ifneq ($(NO_SECURE),true) |
| 13986 | ifneq ($(NO_DEPS),true) |
| 13987 | -include $(H2_SSL_PROXY_TEST_OBJS:.o=.dep) |
| 13988 | endif |
| 13989 | endif |
David Garcia Quintas | 1d5aca5 | 2015-06-14 14:42:04 -0700 | [diff] [blame] | 13990 | |
| 13991 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13992 | H2_UDS_TEST_SRC = \ |
| 13993 | test/core/end2end/fixtures/h2_uds.c \ |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13994 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 13995 | 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] | 13996 | ifeq ($(NO_SECURE),true) |
| 13997 | |
Nicolas "Pixel" Noble | 4cc8c8a | 2015-06-23 02:37:49 +0200 | [diff] [blame] | 13998 | # You can't build secure targets if you don't have OpenSSL. |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 13999 | |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14000 | $(BINDIR)/$(CONFIG)/h2_uds_test: openssl_dep_error |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 14001 | |
| 14002 | else |
| 14003 | |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 14004 | |
Craig Tiller | 7a29098 | 2015-05-19 12:49:54 -0700 | [diff] [blame] | 14005 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14006 | $(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] | 14007 | $(E) "[LD] Linking $@" |
| 14008 | $(Q) mkdir -p `dirname $@` |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14009 | $(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] | 14010 | |
| 14011 | endif |
| 14012 | |
yang-g | 4e5c6d9 | 2016-03-15 15:34:59 -0700 | [diff] [blame] | 14013 | $(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] | 14014 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14015 | deps_h2_uds_test: $(H2_UDS_TEST_OBJS:.o=.dep) |
| 14016 | |
| 14017 | ifneq ($(NO_SECURE),true) |
| 14018 | ifneq ($(NO_DEPS),true) |
| 14019 | -include $(H2_UDS_TEST_OBJS:.o=.dep) |
| 14020 | endif |
| 14021 | endif |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14022 | |
Craig Tiller | c8b357f | 2015-04-20 16:36:52 -0700 | [diff] [blame] | 14023 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14024 | H2_CENSUS_NOSEC_TEST_SRC = \ |
| 14025 | test/core/end2end/fixtures/h2_census.c \ |
| 14026 | |
| 14027 | 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] | 14028 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14029 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14030 | $(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] | 14031 | $(E) "[LD] Linking $@" |
| 14032 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14033 | $(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] | 14034 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14035 | $(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] | 14036 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14037 | deps_h2_census_nosec_test: $(H2_CENSUS_NOSEC_TEST_OBJS:.o=.dep) |
| 14038 | |
| 14039 | ifneq ($(NO_DEPS),true) |
| 14040 | -include $(H2_CENSUS_NOSEC_TEST_OBJS:.o=.dep) |
| 14041 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14042 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14043 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14044 | H2_COMPRESS_NOSEC_TEST_SRC = \ |
| 14045 | test/core/end2end/fixtures/h2_compress.c \ |
| 14046 | |
| 14047 | 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] | 14048 | |
| 14049 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14050 | $(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] | 14051 | $(E) "[LD] Linking $@" |
| 14052 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14053 | $(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] | 14054 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14055 | $(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] | 14056 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14057 | deps_h2_compress_nosec_test: $(H2_COMPRESS_NOSEC_TEST_OBJS:.o=.dep) |
| 14058 | |
| 14059 | ifneq ($(NO_DEPS),true) |
| 14060 | -include $(H2_COMPRESS_NOSEC_TEST_OBJS:.o=.dep) |
| 14061 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14062 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14063 | |
Adam Michalik | 46cc2ac | 2016-05-16 11:12:04 -0700 | [diff] [blame] | 14064 | H2_FD_NOSEC_TEST_SRC = \ |
| 14065 | test/core/end2end/fixtures/h2_fd.c \ |
| 14066 | |
| 14067 | H2_FD_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FD_NOSEC_TEST_SRC)))) |
| 14068 | |
| 14069 | |
| 14070 | $(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 |
| 14071 | $(E) "[LD] Linking $@" |
| 14072 | $(Q) mkdir -p `dirname $@` |
| 14073 | $(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 |
| 14074 | |
| 14075 | $(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 |
| 14076 | |
| 14077 | deps_h2_fd_nosec_test: $(H2_FD_NOSEC_TEST_OBJS:.o=.dep) |
| 14078 | |
| 14079 | ifneq ($(NO_DEPS),true) |
| 14080 | -include $(H2_FD_NOSEC_TEST_OBJS:.o=.dep) |
| 14081 | endif |
| 14082 | |
| 14083 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14084 | H2_FULL_NOSEC_TEST_SRC = \ |
| 14085 | test/core/end2end/fixtures/h2_full.c \ |
| 14086 | |
| 14087 | 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] | 14088 | |
| 14089 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14090 | $(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] | 14091 | $(E) "[LD] Linking $@" |
| 14092 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14093 | $(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] | 14094 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14095 | $(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] | 14096 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14097 | deps_h2_full_nosec_test: $(H2_FULL_NOSEC_TEST_OBJS:.o=.dep) |
| 14098 | |
| 14099 | ifneq ($(NO_DEPS),true) |
| 14100 | -include $(H2_FULL_NOSEC_TEST_OBJS:.o=.dep) |
| 14101 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14102 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14103 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14104 | H2_FULL+PIPE_NOSEC_TEST_SRC = \ |
| 14105 | test/core/end2end/fixtures/h2_full+pipe.c \ |
| 14106 | |
| 14107 | 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] | 14108 | |
| 14109 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14110 | $(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] | 14111 | $(E) "[LD] Linking $@" |
| 14112 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14113 | $(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] | 14114 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14115 | $(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] | 14116 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14117 | deps_h2_full+pipe_nosec_test: $(H2_FULL+PIPE_NOSEC_TEST_OBJS:.o=.dep) |
| 14118 | |
| 14119 | ifneq ($(NO_DEPS),true) |
| 14120 | -include $(H2_FULL+PIPE_NOSEC_TEST_OBJS:.o=.dep) |
| 14121 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14122 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14123 | |
Craig Tiller | 178edfa | 2016-02-17 20:54:46 -0800 | [diff] [blame] | 14124 | H2_FULL+TRACE_NOSEC_TEST_SRC = \ |
| 14125 | test/core/end2end/fixtures/h2_full+trace.c \ |
| 14126 | |
| 14127 | H2_FULL+TRACE_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_FULL+TRACE_NOSEC_TEST_SRC)))) |
| 14128 | |
| 14129 | |
| 14130 | $(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 |
| 14131 | $(E) "[LD] Linking $@" |
| 14132 | $(Q) mkdir -p `dirname $@` |
| 14133 | $(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 |
| 14134 | |
| 14135 | $(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 |
| 14136 | |
| 14137 | deps_h2_full+trace_nosec_test: $(H2_FULL+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 14138 | |
| 14139 | ifneq ($(NO_DEPS),true) |
| 14140 | -include $(H2_FULL+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 14141 | endif |
| 14142 | |
| 14143 | |
David Garcia Quintas | 4bb11ac | 2016-05-02 09:20:21 -0700 | [diff] [blame] | 14144 | H2_LOADREPORTING_NOSEC_TEST_SRC = \ |
| 14145 | test/core/end2end/fixtures/h2_loadreporting.c \ |
| 14146 | |
| 14147 | H2_LOADREPORTING_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_LOADREPORTING_NOSEC_TEST_SRC)))) |
| 14148 | |
| 14149 | |
| 14150 | $(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 |
| 14151 | $(E) "[LD] Linking $@" |
| 14152 | $(Q) mkdir -p `dirname $@` |
| 14153 | $(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 |
| 14154 | |
| 14155 | $(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 |
| 14156 | |
| 14157 | deps_h2_loadreporting_nosec_test: $(H2_LOADREPORTING_NOSEC_TEST_OBJS:.o=.dep) |
| 14158 | |
| 14159 | ifneq ($(NO_DEPS),true) |
| 14160 | -include $(H2_LOADREPORTING_NOSEC_TEST_OBJS:.o=.dep) |
| 14161 | endif |
| 14162 | |
| 14163 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14164 | H2_PROXY_NOSEC_TEST_SRC = \ |
| 14165 | test/core/end2end/fixtures/h2_proxy.c \ |
| 14166 | |
| 14167 | 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] | 14168 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14169 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14170 | $(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] | 14171 | $(E) "[LD] Linking $@" |
| 14172 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14173 | $(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] | 14174 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14175 | $(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] | 14176 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14177 | deps_h2_proxy_nosec_test: $(H2_PROXY_NOSEC_TEST_OBJS:.o=.dep) |
| 14178 | |
| 14179 | ifneq ($(NO_DEPS),true) |
| 14180 | -include $(H2_PROXY_NOSEC_TEST_OBJS:.o=.dep) |
| 14181 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14182 | |
| 14183 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14184 | H2_SOCKPAIR_NOSEC_TEST_SRC = \ |
| 14185 | test/core/end2end/fixtures/h2_sockpair.c \ |
| 14186 | |
| 14187 | H2_SOCKPAIR_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_NOSEC_TEST_SRC)))) |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14188 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14189 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14190 | $(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 |
Craig Tiller | 9d25e94 | 2015-07-20 10:31:12 -0700 | [diff] [blame] | 14191 | $(E) "[LD] Linking $@" |
| 14192 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14193 | $(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 |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14194 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14195 | $(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 |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14196 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14197 | deps_h2_sockpair_nosec_test: $(H2_SOCKPAIR_NOSEC_TEST_OBJS:.o=.dep) |
| 14198 | |
| 14199 | ifneq ($(NO_DEPS),true) |
| 14200 | -include $(H2_SOCKPAIR_NOSEC_TEST_OBJS:.o=.dep) |
| 14201 | endif |
Craig Tiller | 9d25e94 | 2015-07-20 10:31:12 -0700 | [diff] [blame] | 14202 | |
| 14203 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14204 | H2_SOCKPAIR+TRACE_NOSEC_TEST_SRC = \ |
| 14205 | test/core/end2end/fixtures/h2_sockpair+trace.c \ |
| 14206 | |
| 14207 | H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR+TRACE_NOSEC_TEST_SRC)))) |
Craig Tiller | 9d25e94 | 2015-07-20 10:31:12 -0700 | [diff] [blame] | 14208 | |
Craig Tiller | 9d25e94 | 2015-07-20 10:31:12 -0700 | [diff] [blame] | 14209 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14210 | $(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 |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 14211 | $(E) "[LD] Linking $@" |
| 14212 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14213 | $(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 |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14214 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14215 | $(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 |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14216 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14217 | deps_h2_sockpair+trace_nosec_test: $(H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 14218 | |
| 14219 | ifneq ($(NO_DEPS),true) |
| 14220 | -include $(H2_SOCKPAIR+TRACE_NOSEC_TEST_OBJS:.o=.dep) |
| 14221 | endif |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 14222 | |
| 14223 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14224 | H2_SOCKPAIR_1BYTE_NOSEC_TEST_SRC = \ |
| 14225 | test/core/end2end/fixtures/h2_sockpair_1byte.c \ |
| 14226 | |
| 14227 | H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_SRC)))) |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 14228 | |
Craig Tiller | 32bd81d | 2015-11-03 13:02:07 -0800 | [diff] [blame] | 14229 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14230 | $(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 |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 14231 | $(E) "[LD] Linking $@" |
| 14232 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14233 | $(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 |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14234 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14235 | $(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 |
Craig Tiller | 54ed674 | 2016-01-06 17:05:34 -0800 | [diff] [blame] | 14236 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14237 | deps_h2_sockpair_1byte_nosec_test: $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS:.o=.dep) |
| 14238 | |
| 14239 | ifneq ($(NO_DEPS),true) |
| 14240 | -include $(H2_SOCKPAIR_1BYTE_NOSEC_TEST_OBJS:.o=.dep) |
| 14241 | endif |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 14242 | |
Craig Tiller | c4b56b6 | 2015-07-23 17:44:11 -0700 | [diff] [blame] | 14243 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14244 | H2_UDS_NOSEC_TEST_SRC = \ |
| 14245 | test/core/end2end/fixtures/h2_uds.c \ |
| 14246 | |
| 14247 | 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] | 14248 | |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14249 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14250 | $(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] | 14251 | $(E) "[LD] Linking $@" |
| 14252 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14253 | $(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] | 14254 | |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 14255 | $(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] | 14256 | |
Craig Tiller | 769567e | 2015-12-22 15:36:52 -0800 | [diff] [blame] | 14257 | deps_h2_uds_nosec_test: $(H2_UDS_NOSEC_TEST_OBJS:.o=.dep) |
| 14258 | |
| 14259 | ifneq ($(NO_DEPS),true) |
| 14260 | -include $(H2_UDS_NOSEC_TEST_OBJS:.o=.dep) |
| 14261 | endif |
David Garcia Quintas | dd2ebee | 2015-06-23 18:42:17 -0700 | [diff] [blame] | 14262 | |
| 14263 | |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 14264 | API_FUZZER_ONE_ENTRY_SRC = \ |
| 14265 | test/core/end2end/fuzzers/api_fuzzer.c \ |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 14266 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | fc98f92 | 2016-04-13 08:45:06 -0700 | [diff] [blame] | 14267 | |
| 14268 | API_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(API_FUZZER_ONE_ENTRY_SRC)))) |
| 14269 | ifeq ($(NO_SECURE),true) |
| 14270 | |
| 14271 | # You can't build secure targets if you don't have OpenSSL. |
| 14272 | |
| 14273 | $(BINDIR)/$(CONFIG)/api_fuzzer_one_entry: openssl_dep_error |
| 14274 | |
| 14275 | else |
| 14276 | |
| 14277 | |
| 14278 | |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 14279 | $(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] | 14280 | $(E) "[LD] Linking $@" |
| 14281 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 14282 | $(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] | 14283 | |
| 14284 | endif |
| 14285 | |
Craig Tiller | 0ca01ed | 2016-04-23 13:31:34 -0700 | [diff] [blame] | 14286 | $(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 |
| 14287 | |
| 14288 | $(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] | 14289 | |
| 14290 | deps_api_fuzzer_one_entry: $(API_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14291 | |
| 14292 | ifneq ($(NO_SECURE),true) |
| 14293 | ifneq ($(NO_DEPS),true) |
| 14294 | -include $(API_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14295 | endif |
| 14296 | endif |
| 14297 | |
| 14298 | |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 14299 | CLIENT_FUZZER_ONE_ENTRY_SRC = \ |
| 14300 | test/core/end2end/fuzzers/client_fuzzer.c \ |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 14301 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | 845516e | 2016-04-11 20:49:20 -0700 | [diff] [blame] | 14302 | |
| 14303 | CLIENT_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLIENT_FUZZER_ONE_ENTRY_SRC)))) |
| 14304 | ifeq ($(NO_SECURE),true) |
| 14305 | |
| 14306 | # You can't build secure targets if you don't have OpenSSL. |
| 14307 | |
| 14308 | $(BINDIR)/$(CONFIG)/client_fuzzer_one_entry: openssl_dep_error |
| 14309 | |
| 14310 | else |
| 14311 | |
| 14312 | |
| 14313 | |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 14314 | $(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] | 14315 | $(E) "[LD] Linking $@" |
| 14316 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 14317 | $(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] | 14318 | |
| 14319 | endif |
| 14320 | |
Craig Tiller | abf7d75 | 2016-04-12 13:58:02 -0700 | [diff] [blame] | 14321 | $(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 |
| 14322 | |
| 14323 | $(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] | 14324 | |
| 14325 | deps_client_fuzzer_one_entry: $(CLIENT_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14326 | |
| 14327 | ifneq ($(NO_SECURE),true) |
| 14328 | ifneq ($(NO_DEPS),true) |
| 14329 | -include $(CLIENT_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14330 | endif |
| 14331 | endif |
| 14332 | |
| 14333 | |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14334 | HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 14335 | test/core/transport/chttp2/hpack_parser_fuzzer_test.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14336 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14337 | |
| 14338 | HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 14339 | ifeq ($(NO_SECURE),true) |
| 14340 | |
| 14341 | # You can't build secure targets if you don't have OpenSSL. |
| 14342 | |
| 14343 | $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry: openssl_dep_error |
| 14344 | |
| 14345 | else |
| 14346 | |
| 14347 | |
| 14348 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14349 | $(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] | 14350 | $(E) "[LD] Linking $@" |
| 14351 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14352 | $(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] | 14353 | |
| 14354 | endif |
| 14355 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14356 | $(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 |
| 14357 | |
| 14358 | $(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] | 14359 | |
| 14360 | deps_hpack_parser_fuzzer_test_one_entry: $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14361 | |
| 14362 | ifneq ($(NO_SECURE),true) |
| 14363 | ifneq ($(NO_DEPS),true) |
| 14364 | -include $(HPACK_PARSER_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14365 | endif |
| 14366 | endif |
| 14367 | |
| 14368 | |
| 14369 | HTTP_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 14370 | test/core/http/fuzzer.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14371 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14372 | |
| 14373 | HTTP_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(HTTP_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 14374 | ifeq ($(NO_SECURE),true) |
| 14375 | |
| 14376 | # You can't build secure targets if you don't have OpenSSL. |
| 14377 | |
| 14378 | $(BINDIR)/$(CONFIG)/http_fuzzer_test_one_entry: openssl_dep_error |
| 14379 | |
| 14380 | else |
| 14381 | |
| 14382 | |
| 14383 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14384 | $(BINDIR)/$(CONFIG)/http_fuzzer_test_one_entry: $(HTTP_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] | 14385 | $(E) "[LD] Linking $@" |
| 14386 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14387 | $(Q) $(LD) $(LDFLAGS) $(HTTP_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_fuzzer_test_one_entry |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14388 | |
| 14389 | endif |
| 14390 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14391 | $(OBJDIR)/$(CONFIG)/test/core/http/fuzzer.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
| 14392 | |
| 14393 | $(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] | 14394 | |
| 14395 | deps_http_fuzzer_test_one_entry: $(HTTP_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14396 | |
| 14397 | ifneq ($(NO_SECURE),true) |
| 14398 | ifneq ($(NO_DEPS),true) |
| 14399 | -include $(HTTP_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14400 | endif |
| 14401 | endif |
| 14402 | |
| 14403 | |
| 14404 | JSON_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 14405 | test/core/json/fuzzer.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14406 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14407 | |
| 14408 | JSON_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(JSON_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 14409 | ifeq ($(NO_SECURE),true) |
| 14410 | |
| 14411 | # You can't build secure targets if you don't have OpenSSL. |
| 14412 | |
| 14413 | $(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry: openssl_dep_error |
| 14414 | |
| 14415 | else |
| 14416 | |
| 14417 | |
| 14418 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14419 | $(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] | 14420 | $(E) "[LD] Linking $@" |
| 14421 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14422 | $(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] | 14423 | |
| 14424 | endif |
| 14425 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14426 | $(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 |
| 14427 | |
| 14428 | $(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] | 14429 | |
| 14430 | deps_json_fuzzer_test_one_entry: $(JSON_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14431 | |
| 14432 | ifneq ($(NO_SECURE),true) |
| 14433 | ifneq ($(NO_DEPS),true) |
| 14434 | -include $(JSON_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14435 | endif |
| 14436 | endif |
| 14437 | |
| 14438 | |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 14439 | NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_SRC = \ |
| 14440 | test/core/nanopb/fuzzer_response.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14441 | test/core/util/one_corpus_entry_fuzzer.c \ |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 14442 | |
| 14443 | NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_SRC)))) |
| 14444 | ifeq ($(NO_SECURE),true) |
| 14445 | |
| 14446 | # You can't build secure targets if you don't have OpenSSL. |
| 14447 | |
| 14448 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry: openssl_dep_error |
| 14449 | |
| 14450 | else |
| 14451 | |
| 14452 | |
| 14453 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14454 | $(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] | 14455 | $(E) "[LD] Linking $@" |
| 14456 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14457 | $(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] | 14458 | |
| 14459 | endif |
| 14460 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14461 | $(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 |
| 14462 | |
| 14463 | $(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] | 14464 | |
| 14465 | deps_nanopb_fuzzer_response_test_one_entry: $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14466 | |
| 14467 | ifneq ($(NO_SECURE),true) |
| 14468 | ifneq ($(NO_DEPS),true) |
| 14469 | -include $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14470 | endif |
| 14471 | endif |
| 14472 | |
| 14473 | |
| 14474 | NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_SRC = \ |
| 14475 | test/core/nanopb/fuzzer_serverlist.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14476 | test/core/util/one_corpus_entry_fuzzer.c \ |
David Garcia Quintas | bf2e73d | 2016-04-04 18:03:47 -0700 | [diff] [blame] | 14477 | |
| 14478 | NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_SRC)))) |
| 14479 | ifeq ($(NO_SECURE),true) |
| 14480 | |
| 14481 | # You can't build secure targets if you don't have OpenSSL. |
| 14482 | |
| 14483 | $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry: openssl_dep_error |
| 14484 | |
| 14485 | else |
| 14486 | |
| 14487 | |
| 14488 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14489 | $(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] | 14490 | $(E) "[LD] Linking $@" |
| 14491 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14492 | $(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] | 14493 | |
| 14494 | endif |
| 14495 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14496 | $(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 |
| 14497 | |
| 14498 | $(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] | 14499 | |
| 14500 | deps_nanopb_fuzzer_serverlist_test_one_entry: $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14501 | |
| 14502 | ifneq ($(NO_SECURE),true) |
| 14503 | ifneq ($(NO_DEPS),true) |
| 14504 | -include $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14505 | endif |
| 14506 | endif |
| 14507 | |
| 14508 | |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 14509 | SERVER_FUZZER_ONE_ENTRY_SRC = \ |
| 14510 | test/core/end2end/fuzzers/server_fuzzer.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14511 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | df262c6 | 2016-04-02 13:53:49 -0700 | [diff] [blame] | 14512 | |
| 14513 | SERVER_FUZZER_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(SERVER_FUZZER_ONE_ENTRY_SRC)))) |
| 14514 | ifeq ($(NO_SECURE),true) |
| 14515 | |
| 14516 | # You can't build secure targets if you don't have OpenSSL. |
| 14517 | |
| 14518 | $(BINDIR)/$(CONFIG)/server_fuzzer_one_entry: openssl_dep_error |
| 14519 | |
| 14520 | else |
| 14521 | |
| 14522 | |
| 14523 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14524 | $(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] | 14525 | $(E) "[LD] Linking $@" |
| 14526 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14527 | $(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] | 14528 | |
| 14529 | endif |
| 14530 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14531 | $(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 |
| 14532 | |
| 14533 | $(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] | 14534 | |
| 14535 | deps_server_fuzzer_one_entry: $(SERVER_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14536 | |
| 14537 | ifneq ($(NO_SECURE),true) |
| 14538 | ifneq ($(NO_DEPS),true) |
| 14539 | -include $(SERVER_FUZZER_ONE_ENTRY_OBJS:.o=.dep) |
| 14540 | endif |
| 14541 | endif |
| 14542 | |
| 14543 | |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14544 | URI_FUZZER_TEST_ONE_ENTRY_SRC = \ |
| 14545 | test/core/client_config/uri_fuzzer_test.c \ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14546 | test/core/util/one_corpus_entry_fuzzer.c \ |
Craig Tiller | f05837a | 2016-03-29 20:42:29 -0700 | [diff] [blame] | 14547 | |
| 14548 | URI_FUZZER_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(URI_FUZZER_TEST_ONE_ENTRY_SRC)))) |
| 14549 | ifeq ($(NO_SECURE),true) |
| 14550 | |
| 14551 | # You can't build secure targets if you don't have OpenSSL. |
| 14552 | |
| 14553 | $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry: openssl_dep_error |
| 14554 | |
| 14555 | else |
| 14556 | |
| 14557 | |
| 14558 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14559 | $(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] | 14560 | $(E) "[LD] Linking $@" |
| 14561 | $(Q) mkdir -p `dirname $@` |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14562 | $(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] | 14563 | |
| 14564 | endif |
| 14565 | |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 14566 | $(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 |
| 14567 | |
| 14568 | $(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] | 14569 | |
| 14570 | deps_uri_fuzzer_test_one_entry: $(URI_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14571 | |
| 14572 | ifneq ($(NO_SECURE),true) |
| 14573 | ifneq ($(NO_DEPS),true) |
| 14574 | -include $(URI_FUZZER_TEST_ONE_ENTRY_OBJS:.o=.dep) |
| 14575 | endif |
| 14576 | endif |
| 14577 | |
| 14578 | |
Nicolas Noble | b7ebd3b | 2014-11-26 16:33:03 -0800 | [diff] [blame] | 14579 | |
| 14580 | |
| 14581 | |
nnoble | 0c475f0 | 2014-12-05 15:37:39 -0800 | [diff] [blame] | 14582 | |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 14583 | ifneq ($(OPENSSL_DEP),) |
| 14584 | # This is to ensure the embedded OpenSSL is built beforehand, properly |
| 14585 | # installing headers to their final destination on the drive. We need this |
| 14586 | # otherwise parallel compilation will fail if a source is compiled first. |
Craig Tiller | c7762a8 | 2016-03-28 10:13:08 -0700 | [diff] [blame] | 14587 | src/core/ext/transport/chttp2/client/secure/secure_channel_create.c: $(OPENSSL_DEP) |
| 14588 | src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c: $(OPENSSL_DEP) |
makdharma | c2ec95b | 2016-05-11 16:26:15 -0700 | [diff] [blame] | 14589 | src/core/ext/transport/cronet/client/secure/cronet_channel_create.c: $(OPENSSL_DEP) |
| 14590 | src/core/ext/transport/cronet/transport/cronet_api_dummy.c: $(OPENSSL_DEP) |
| 14591 | src/core/ext/transport/cronet/transport/cronet_transport.c: $(OPENSSL_DEP) |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 14592 | src/core/lib/http/httpcli_security_connector.c: $(OPENSSL_DEP) |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 14593 | src/core/lib/security/context/security_context.c: $(OPENSSL_DEP) |
| 14594 | src/core/lib/security/credentials/composite/composite_credentials.c: $(OPENSSL_DEP) |
| 14595 | src/core/lib/security/credentials/credentials.c: $(OPENSSL_DEP) |
| 14596 | src/core/lib/security/credentials/credentials_metadata.c: $(OPENSSL_DEP) |
| 14597 | src/core/lib/security/credentials/fake/fake_credentials.c: $(OPENSSL_DEP) |
| 14598 | src/core/lib/security/credentials/google_default/credentials_posix.c: $(OPENSSL_DEP) |
Yuchen Zeng | 4594bd9 | 2016-05-31 14:06:01 -0700 | [diff] [blame] | 14599 | src/core/lib/security/credentials/google_default/credentials_windows.c: $(OPENSSL_DEP) |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 14600 | src/core/lib/security/credentials/google_default/google_default_credentials.c: $(OPENSSL_DEP) |
| 14601 | src/core/lib/security/credentials/iam/iam_credentials.c: $(OPENSSL_DEP) |
| 14602 | src/core/lib/security/credentials/jwt/json_token.c: $(OPENSSL_DEP) |
| 14603 | src/core/lib/security/credentials/jwt/jwt_credentials.c: $(OPENSSL_DEP) |
| 14604 | src/core/lib/security/credentials/jwt/jwt_verifier.c: $(OPENSSL_DEP) |
| 14605 | src/core/lib/security/credentials/oauth2/oauth2_credentials.c: $(OPENSSL_DEP) |
| 14606 | src/core/lib/security/credentials/plugin/plugin_credentials.c: $(OPENSSL_DEP) |
| 14607 | src/core/lib/security/credentials/ssl/ssl_credentials.c: $(OPENSSL_DEP) |
| 14608 | src/core/lib/security/transport/client_auth_filter.c: $(OPENSSL_DEP) |
| 14609 | src/core/lib/security/transport/handshake.c: $(OPENSSL_DEP) |
| 14610 | src/core/lib/security/transport/secure_endpoint.c: $(OPENSSL_DEP) |
| 14611 | src/core/lib/security/transport/security_connector.c: $(OPENSSL_DEP) |
| 14612 | src/core/lib/security/transport/server_auth_filter.c: $(OPENSSL_DEP) |
| 14613 | src/core/lib/security/util/b64.c: $(OPENSSL_DEP) |
| 14614 | src/core/lib/security/util/json_util.c: $(OPENSSL_DEP) |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 14615 | src/core/lib/surface/init_secure.c: $(OPENSSL_DEP) |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 14616 | src/core/lib/tsi/fake_transport_security.c: $(OPENSSL_DEP) |
| 14617 | src/core/lib/tsi/ssl_transport_security.c: $(OPENSSL_DEP) |
| 14618 | src/core/lib/tsi/transport_security.c: $(OPENSSL_DEP) |
Makarand Dharmapurikar | 38d8055 | 2016-06-01 15:02:04 -0700 | [diff] [blame] | 14619 | src/core/plugin_registry/grpc_cronet_plugin_registry.c: $(OPENSSL_DEP) |
Craig Tiller | fb43385 | 2016-03-29 08:51:07 -0700 | [diff] [blame] | 14620 | src/core/plugin_registry/grpc_plugin_registry.c: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14621 | src/cpp/client/secure_credentials.cc: $(OPENSSL_DEP) |
| 14622 | src/cpp/common/auth_property_iterator.cc: $(OPENSSL_DEP) |
| 14623 | src/cpp/common/secure_auth_context.cc: $(OPENSSL_DEP) |
yang-g | 5270559 | 2015-11-25 11:45:33 -0800 | [diff] [blame] | 14624 | src/cpp/common/secure_channel_arguments.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14625 | src/cpp/common/secure_create_auth_context.cc: $(OPENSSL_DEP) |
| 14626 | src/cpp/server/secure_server_credentials.cc: $(OPENSSL_DEP) |
| 14627 | src/csharp/ext/grpc_csharp_ext.c: $(OPENSSL_DEP) |
| 14628 | test/core/bad_client/bad_client.c: $(OPENSSL_DEP) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 14629 | test/core/bad_ssl/server_common.c: $(OPENSSL_DEP) |
Deepak Lukose | dba4c5f | 2016-03-25 12:54:25 -0700 | [diff] [blame] | 14630 | test/core/end2end/data/client_certs.c: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14631 | test/core/end2end/data/server1_cert.c: $(OPENSSL_DEP) |
| 14632 | test/core/end2end/data/server1_key.c: $(OPENSSL_DEP) |
| 14633 | test/core/end2end/data/test_root_cert.c: $(OPENSSL_DEP) |
Craig Tiller | 0fe5ee7 | 2015-12-22 12:50:36 -0800 | [diff] [blame] | 14634 | test/core/end2end/end2end_tests.c: $(OPENSSL_DEP) |
Craig Tiller | 02a7bed | 2015-08-31 15:54:05 -0700 | [diff] [blame] | 14635 | test/core/end2end/tests/call_creds.c: $(OPENSSL_DEP) |
Craig Tiller | 917c29e | 2015-12-02 11:03:19 -0800 | [diff] [blame] | 14636 | test/core/security/oauth2_utils.c: $(OPENSSL_DEP) |
yang-g | 62ff690 | 2015-08-05 09:27:17 -0700 | [diff] [blame] | 14637 | test/core/util/reconnect_server.c: $(OPENSSL_DEP) |
yang-g | c9fca18 | 2015-11-06 16:41:33 -0800 | [diff] [blame] | 14638 | test/core/util/test_tcp_server.c: $(OPENSSL_DEP) |
yang-g | d6f7d99 | 2016-01-14 16:04:20 -0800 | [diff] [blame] | 14639 | test/cpp/end2end/test_service_impl.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14640 | test/cpp/interop/client.cc: $(OPENSSL_DEP) |
| 14641 | test/cpp/interop/client_helper.cc: $(OPENSSL_DEP) |
| 14642 | test/cpp/interop/interop_client.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14643 | test/cpp/interop/server_helper.cc: $(OPENSSL_DEP) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 14644 | test/cpp/interop/server_main.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14645 | test/cpp/qps/client_async.cc: $(OPENSSL_DEP) |
| 14646 | test/cpp/qps/client_sync.cc: $(OPENSSL_DEP) |
| 14647 | test/cpp/qps/driver.cc: $(OPENSSL_DEP) |
vjpai | c803442 | 2016-01-19 15:32:42 -0800 | [diff] [blame] | 14648 | test/cpp/qps/limit_cores.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14649 | test/cpp/qps/qps_worker.cc: $(OPENSSL_DEP) |
| 14650 | test/cpp/qps/report.cc: $(OPENSSL_DEP) |
| 14651 | test/cpp/qps/server_async.cc: $(OPENSSL_DEP) |
| 14652 | test/cpp/qps/server_sync.cc: $(OPENSSL_DEP) |
Craig Tiller | 521423c | 2016-02-22 22:22:22 -0800 | [diff] [blame] | 14653 | test/cpp/qps/usage_timer.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14654 | test/cpp/util/benchmark_config.cc: $(OPENSSL_DEP) |
yang-g | 9f17314 | 2016-01-15 12:46:40 -0800 | [diff] [blame] | 14655 | test/cpp/util/byte_buffer_proto_helper.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14656 | test/cpp/util/cli_call.cc: $(OPENSSL_DEP) |
| 14657 | test/cpp/util/create_test_channel.cc: $(OPENSSL_DEP) |
yang-g | df012d0 | 2016-05-18 15:44:06 -0700 | [diff] [blame] | 14658 | test/cpp/util/proto_file_parser.cc: $(OPENSSL_DEP) |
yang-g | e21908f | 2015-08-25 13:47:51 -0700 | [diff] [blame] | 14659 | test/cpp/util/string_ref_helper.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | a7c162c | 2015-07-24 20:21:51 +0200 | [diff] [blame] | 14660 | test/cpp/util/subprocess.cc: $(OPENSSL_DEP) |
| 14661 | test/cpp/util/test_config.cc: $(OPENSSL_DEP) |
yang-g | 7d2a3e1 | 2016-02-18 15:41:56 -0800 | [diff] [blame] | 14662 | test/cpp/util/test_credentials_provider.cc: $(OPENSSL_DEP) |
Nicolas "Pixel" Noble | 010f1e7 | 2015-04-23 02:23:49 +0200 | [diff] [blame] | 14663 | endif |
| 14664 | |
Craig Tiller | f0afe50 | 2015-01-15 09:04:49 -0800 | [diff] [blame] | 14665 | .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] | 14666 | |
| 14667 | .PHONY: printvars |
| 14668 | printvars: |
| 14669 | @$(foreach V,$(sort $(.VARIABLES)), $(if $(filter-out environment% default automatic, $(origin $V)),$(warning $V=$($V) ($(value $V))))) |