|  | @@ -380,7 +380,6 @@
 | 
	
		
			
				|  |  |    PROTOC_CHECK_VERSION_CMD = protoc --version | grep -q libprotoc.3
 | 
	
		
			
				|  |  |    DTRACE_CHECK_CMD = which dtrace > /dev/null
 | 
	
		
			
				|  |  |    SYSTEMTAP_HEADERS_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/systemtap.c $(LDFLAGS)
 | 
	
		
			
				|  |  | -  ZOOKEEPER_CHECK_CMD = $(CC) $(CPPFLAGS) $(CFLAGS) -o $(TMPOUT) test/build/zookeeper.c $(LDFLAGS) -lzookeeper_mt
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    ifndef REQUIRE_CUSTOM_LIBRARIES_$(CONFIG)
 | 
	
		
			
				|  |  |    HAS_SYSTEM_PERFTOOLS ?= $(shell $(PERFTOOLS_CHECK_CMD) 2> /dev/null && echo true || echo false)
 | 
	
	
		
			
				|  | @@ -448,8 +447,6 @@
 | 
	
		
			
				|  |  |    CACHE_MK += HAS_SYSTEMTAP = true,
 | 
	
		
			
				|  |  |    endif
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  HAS_ZOOKEEPER = $(shell $(ZOOKEEPER_CHECK_CMD) 2> /dev/null && echo true || echo false)
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    # Note that for testing purposes, one can do:
 | 
	
		
			
				|  |  |    #   make HAS_EMBEDDED_OPENSSL_ALPN=false
 | 
	
		
			
				|  |  |    # to emulate the fact we do not have OpenSSL in the third_party folder.
 | 
	
	
		
			
				|  | @@ -593,14 +590,6 @@
 | 
	
		
			
				|  |  |    PC_LIB = -lgrpc
 | 
	
		
			
				|  |  |    GRPC_UNSECURE_PC_FILE := $(PC_TEMPLATE)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  # grpc_zookeeper .pc file
 | 
	
		
			
				|  |  | -  PC_NAME = gRPC zookeeper
 | 
	
		
			
				|  |  | -  PC_DESCRIPTION = gRPC's zookeeper plugin
 | 
	
		
			
				|  |  | -  PC_CFLAGS =
 | 
	
		
			
				|  |  | -  PC_REQUIRES_PRIVATE =
 | 
	
		
			
				|  |  | -  PC_LIBS_PRIVATE = -lzookeeper_mt
 | 
	
		
			
				|  |  | -  GRPC_ZOOKEEPER_PC_FILE := $(PC_TEMPLATE)
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    PROTOBUF_PKG_CONFIG = false
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    PC_REQUIRES_GRPCXX =
 | 
	
	
		
			
				|  | @@ -796,7 +785,6 @@
 | 
	
		
			
				|  |  |    	$(PERFTOOLS_CHECK_CMD) || true
 | 
	
		
			
				|  |  |    	$(PROTOBUF_CHECK_CMD) || true
 | 
	
		
			
				|  |  |    	$(PROTOC_CHECK_VERSION_CMD) || true
 | 
	
		
			
				|  |  | -  	$(ZOOKEEPER_CHECK_CMD) || true
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    third_party/protobuf/configure:
 | 
	
		
			
				|  |  |    	$(E) "[AUTOGEN] Preparing protobuf"
 | 
	
	
		
			
				|  | @@ -815,7 +803,7 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    static: static_c static_cxx
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  static_c: pc_c pc_c_unsecure cache.mk pc_c_zookeeper\
 | 
	
		
			
				|  |  | +  static_c: pc_c pc_c_unsecure cache.mk \
 | 
	
		
			
				|  |  |    % for lib in libs:
 | 
	
		
			
				|  |  |    % if 'Makefile' in lib.get('build_system', ['Makefile']):
 | 
	
		
			
				|  |  |    % if lib.build == 'all' and lib.language == 'c' and not lib.get('external_deps', None):
 | 
	
	
		
			
				|  | @@ -823,7 +811,6 @@
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -   static_zookeeper_libs
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    static_cxx: pc_cxx pc_cxx_unsecure cache.mk \
 | 
	
	
		
			
				|  | @@ -838,7 +825,7 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    shared: shared_c shared_cxx
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  shared_c: pc_c pc_c_unsecure cache.mk pc_c_zookeeper\
 | 
	
		
			
				|  |  | +  shared_c: pc_c pc_c_unsecure cache.mk\
 | 
	
		
			
				|  |  |    % for lib in libs:
 | 
	
		
			
				|  |  |    % if 'Makefile' in lib.get('build_system', ['Makefile']):
 | 
	
		
			
				|  |  |    % if lib.build == 'all' and lib.language == 'c' and not lib.get('external_deps', None):
 | 
	
	
		
			
				|  | @@ -846,7 +833,6 @@
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -   shared_zookeeper_libs
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    shared_cxx: pc_cxx pc_cxx_unsecure cache.mk\
 | 
	
		
			
				|  |  |    % for lib in libs:
 | 
	
	
		
			
				|  | @@ -867,33 +853,6 @@
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  ifeq ($(HAS_ZOOKEEPER),true)
 | 
	
		
			
				|  |  | -  static_zookeeper_libs:\
 | 
	
		
			
				|  |  | -  % for lib in libs:
 | 
	
		
			
				|  |  | -  % if 'Makefile' in lib.get('build_system', ['Makefile']):
 | 
	
		
			
				|  |  | -  % if lib.build == 'all' and lib.language == 'c' and 'zookeeper' in lib.get('external_deps', []):
 | 
	
		
			
				|  |  | -   $(LIBDIR)/$(CONFIG)/lib${lib.name}.a\
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endfor
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  shared_zookeeper_libs:\
 | 
	
		
			
				|  |  | -  % for lib in libs:
 | 
	
		
			
				|  |  | -  % if 'Makefile' in lib.get('build_system', ['Makefile']):
 | 
	
		
			
				|  |  | -  % if lib.build == 'all' and lib.language == 'c' and 'zookeeper' in lib.get('external_deps', []):
 | 
	
		
			
				|  |  | -   $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)${lib.name}$(SHARED_VERSION).$(SHARED_EXT)\
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endfor
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  else
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  static_zookeeper_libs:
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  shared_zookeeper_libs:
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    grpc_csharp_ext: shared_csharp
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    plugins: $(PROTOC_PLUGINS)
 | 
	
	
		
			
				|  | @@ -913,12 +872,6 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    pc_c_unsecure: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  ifeq ($(HAS_ZOOKEEPER),true)
 | 
	
		
			
				|  |  | -  pc_c_zookeeper: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_zookeeper.pc
 | 
	
		
			
				|  |  | -  else
 | 
	
		
			
				|  |  | -  pc_c_zookeeper:
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    pc_cxx: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    pc_cxx_unsecure: $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++_unsecure.pc
 | 
	
	
		
			
				|  | @@ -932,7 +885,7 @@
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    else
 | 
	
		
			
				|  |  |    privatelibs_cxx: \
 | 
	
		
			
				|  |  |    % for lib in libs:
 | 
	
	
		
			
				|  | @@ -942,26 +895,11 @@
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  ifeq ($(HAS_ZOOKEEPER),true)
 | 
	
		
			
				|  |  | -  privatelibs_zookeeper: \
 | 
	
		
			
				|  |  | -  % for lib in libs:
 | 
	
		
			
				|  |  | -  % if 'Makefile' in lib.get('build_system', ['Makefile']):
 | 
	
		
			
				|  |  | -  % if lib.build == 'private' and lib.language == 'c++' and zookeeper in lib.get('external_deps', []):
 | 
	
		
			
				|  |  | -   $(LIBDIR)/$(CONFIG)/lib${lib.name}.a\
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endfor
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  else
 | 
	
		
			
				|  |  | -  privatelibs_zookeeper:
 | 
	
		
			
				|  |  |    endif
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  buildtests: buildtests_c buildtests_cxx buildtests_zookeeper
 | 
	
		
			
				|  |  | +  buildtests: buildtests_c buildtests_cxx
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    buildtests_c: privatelibs_c <%text>\</%text>
 | 
	
		
			
				|  |  |    % for tgt in targets:
 | 
	
	
		
			
				|  | @@ -972,40 +910,27 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    ifeq ($(EMBED_OPENSSL),true)
 | 
	
		
			
				|  |  | -  buildtests_cxx: buildtests_zookeeper privatelibs_cxx <%text>\</%text>
 | 
	
		
			
				|  |  | +  buildtests_cxx: privatelibs_cxx <%text>\</%text>
 | 
	
		
			
				|  |  |    % for tgt in targets:
 | 
	
		
			
				|  |  |    % if tgt.build == 'test' and tgt.language == 'c++' and not tgt.get('external_deps', None):
 | 
	
		
			
				|  |  |      $(BINDIR)/$(CONFIG)/${tgt.name} <%text>\</%text>
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    else
 | 
	
		
			
				|  |  | -  buildtests_cxx: buildtests_zookeeper privatelibs_cxx <%text>\</%text>
 | 
	
		
			
				|  |  | +  buildtests_cxx: privatelibs_cxx <%text>\</%text>
 | 
	
		
			
				|  |  |    % for tgt in targets:
 | 
	
		
			
				|  |  |    % if tgt.build == 'test' and tgt.language == 'c++' and not tgt.get('external_deps', None) and not tgt.boringssl:
 | 
	
		
			
				|  |  |      $(BINDIR)/$(CONFIG)/${tgt.name} <%text>\</%text>
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  ifeq ($(HAS_ZOOKEEPER),true)
 | 
	
		
			
				|  |  | -  buildtests_zookeeper: privatelibs_zookeeper <%text>\</%text>
 | 
	
		
			
				|  |  | -  % for tgt in targets:
 | 
	
		
			
				|  |  | -  % if tgt.build == 'test' and tgt.language == 'c++' and 'zookeeper' in tgt.get('external_deps', []):
 | 
	
		
			
				|  |  | -   $(BINDIR)/$(CONFIG)/${tgt.name} <%text>\</%text>
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endfor
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  else
 | 
	
		
			
				|  |  | -  buildtests_zookeeper:
 | 
	
		
			
				|  |  |    endif
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  test: test_c test_cxx test_zookeeper
 | 
	
		
			
				|  |  | +  test: test_c test_cxx
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  flaky_test: flaky_test_c flaky_test_cxx flaky_test_zookeeper
 | 
	
		
			
				|  |  | +  flaky_test: flaky_test_c flaky_test_cxx
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    test_c: buildtests_c
 | 
	
		
			
				|  |  |    % for tgt in targets:
 | 
	
	
		
			
				|  | @@ -1025,7 +950,7 @@
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  test_cxx: test_zookeeper buildtests_cxx
 | 
	
		
			
				|  |  | +  test_cxx: buildtests_cxx
 | 
	
		
			
				|  |  |    % for tgt in targets:
 | 
	
		
			
				|  |  |    % if tgt.build == 'test' and tgt.get('run', True) and tgt.language == 'c++' and not tgt.get('flaky', False) and not tgt.get('external_deps', None):
 | 
	
		
			
				|  |  |    	$(E) "[RUN]     Testing ${tgt.name}"
 | 
	
	
		
			
				|  | @@ -1043,30 +968,6 @@
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  ifeq ($(HAS_ZOOKEEPER),true)
 | 
	
		
			
				|  |  | -  test_zookeeper: buildtests_zookeeper
 | 
	
		
			
				|  |  | -  % for tgt in targets:
 | 
	
		
			
				|  |  | -  % if tgt.build == 'test' and tgt.get('run', True) and tgt.language == 'c++' and not tgt.get('flaky', False) and 'zookeeper' in tgt.get('external_deps', []):
 | 
	
		
			
				|  |  | -  	$(E) "[RUN]     Testing ${tgt.name}"
 | 
	
		
			
				|  |  | -  	$(Q) $(BINDIR)/$(CONFIG)/${tgt.name} || ( echo test ${tgt.name} failed ; exit 1 )
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endfor
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  flaky_test_zookeeper: buildtests_zookeeper
 | 
	
		
			
				|  |  | -  % for tgt in targets:
 | 
	
		
			
				|  |  | -  % if tgt.build == 'test' and tgt.get('run', True) and tgt.language == 'c++' and tgt.get('flaky', False) and 'zookeeper' in tgt.get('external_deps', []):
 | 
	
		
			
				|  |  | -  	$(E) "[RUN]     Testing ${tgt.name}"
 | 
	
		
			
				|  |  | -  	$(Q) $(BINDIR)/$(CONFIG)/${tgt.name} || ( echo test ${tgt.name} failed ; exit 1 )
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endfor
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -  else
 | 
	
		
			
				|  |  | -  test_zookeeper:
 | 
	
		
			
				|  |  | -  flaky_test_zookeeper:
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    test_python: static_c
 | 
	
		
			
				|  |  |    	$(E) "[RUN]     Testing python code"
 | 
	
		
			
				|  |  |    	$(Q) tools/run_tests/run_tests.py -lpython -c$(CONFIG)
 | 
	
	
		
			
				|  | @@ -1126,20 +1027,6 @@
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -  ifeq ($(HAS_ZOOKEEPER),true)
 | 
	
		
			
				|  |  | -  % for lib in libs:
 | 
	
		
			
				|  |  | -  % if 'Makefile' in lib.get('build_system', ['Makefile']):
 | 
	
		
			
				|  |  | -  % if lib.language == "c":
 | 
	
		
			
				|  |  | -  % if lib.build == "all":
 | 
	
		
			
				|  |  | -  % if 'zookeeper' in lib.get('external_deps', []):
 | 
	
		
			
				|  |  | -  	$(E) "[STRIP]   Stripping lib${lib.name}.a"
 | 
	
		
			
				|  |  | -  	$(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/lib${lib.name}.a
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endfor
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  |    endif
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    strip-static_cxx: static_cxx
 | 
	
	
		
			
				|  | @@ -1170,20 +1057,6 @@
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -  ifeq ($(HAS_ZOOKEEPER),true)
 | 
	
		
			
				|  |  | -  % for lib in libs:
 | 
	
		
			
				|  |  | -  % if 'Makefile' in lib.get('build_system', ['Makefile']):
 | 
	
		
			
				|  |  | -  % if lib.language == "c":
 | 
	
		
			
				|  |  | -  % if lib.build == "all":
 | 
	
		
			
				|  |  | -  % if 'zookeeper' in lib.get('external_deps', []):
 | 
	
		
			
				|  |  | -  	$(E) "[STRIP]   Stripping $(SHARED_PREFIX)${lib.name}$(SHARED_VERSION).$(SHARED_EXT)"
 | 
	
		
			
				|  |  | -  	$(Q) $(STRIP) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)${lib.name}$(SHARED_VERSION).$(SHARED_EXT)
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endfor
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  |    endif
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    strip-shared_cxx: shared_cxx
 | 
	
	
		
			
				|  | @@ -1228,11 +1101,6 @@
 | 
	
		
			
				|  |  |    	$(Q) mkdir -p $(@D)
 | 
	
		
			
				|  |  |    	$(Q) echo "$(GRPC_UNSECURE_PC_FILE)" | tr , '\n' >$@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_zookeeper.pc:
 | 
	
		
			
				|  |  | -  	$(E) "[MAKE]    Generating $@"
 | 
	
		
			
				|  |  | -  	$(Q) mkdir -p $(@D)
 | 
	
		
			
				|  |  | -  	$(Q) echo "$(GRPC_ZOOKEEPER_PC_FILE)" | tr , '\n' >$@
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    $(LIBDIR)/$(CONFIG)/pkgconfig/grpc++.pc:
 | 
	
		
			
				|  |  |    	$(E) "[MAKE]    Generating $@"
 | 
	
		
			
				|  |  |    	$(Q) mkdir -p $(@D)
 | 
	
	
		
			
				|  | @@ -1331,21 +1199,6 @@
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -  ifeq ($(HAS_ZOOKEEPER),true)
 | 
	
		
			
				|  |  | -  % for lib in libs:
 | 
	
		
			
				|  |  | -  % if 'Makefile' in lib.get('build_system', ['Makefile']):
 | 
	
		
			
				|  |  | -  % if lib.language == "c":
 | 
	
		
			
				|  |  | -  % if lib.build == "all":
 | 
	
		
			
				|  |  | -  % if 'zookeeper' in lib.get('external_deps', []):
 | 
	
		
			
				|  |  | -  	$(E) "[INSTALL] Installing lib${lib.name}.a"
 | 
	
		
			
				|  |  | -  	$(Q) $(INSTALL) -d $(prefix)/lib
 | 
	
		
			
				|  |  | -  	$(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/lib${lib.name}.a $(prefix)/lib/lib${lib.name}.a
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endfor
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    install-static_cxx: static_cxx strip-static_cxx install-pkg-config_cxx
 | 
	
		
			
				|  |  |    % for lib in libs:
 | 
	
	
		
			
				|  | @@ -1380,27 +1233,6 @@
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endif
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -  ifeq ($(HAS_ZOOKEEPER),true)
 | 
	
		
			
				|  |  | -  % for lib in libs:
 | 
	
		
			
				|  |  | -  % if 'Makefile' in lib.get('build_system', ['Makefile']):
 | 
	
		
			
				|  |  | -  % if lib.language == lang_filter:
 | 
	
		
			
				|  |  | -  % if lib.build == "all":
 | 
	
		
			
				|  |  | -  % if 'zookeeper' in lib.get('external_deps', []):
 | 
	
		
			
				|  |  | -  	$(E) "[INSTALL] Installing $(SHARED_PREFIX)${lib.name}$(SHARED_VERSION).$(SHARED_EXT)"
 | 
	
		
			
				|  |  | -  	$(Q) $(INSTALL) -d $(prefix)/lib
 | 
	
		
			
				|  |  | -  	$(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/$(SHARED_PREFIX)${lib.name}$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/$(SHARED_PREFIX)${lib.name}$(SHARED_VERSION).$(SHARED_EXT)
 | 
	
		
			
				|  |  | -  ifeq ($(SYSTEM),MINGW32)
 | 
	
		
			
				|  |  | -  	$(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/lib${lib.name}-imp.a $(prefix)/lib/lib${lib.name}-imp.a
 | 
	
		
			
				|  |  | -  else ifneq ($(SYSTEM),Darwin)
 | 
	
		
			
				|  |  | -  	$(Q) ln -sf $(SHARED_PREFIX)${lib.name}$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/lib${lib.name}.so.${settings.core_version.major}
 | 
	
		
			
				|  |  | -  	$(Q) ln -sf $(SHARED_PREFIX)${lib.name}$(SHARED_VERSION).$(SHARED_EXT) $(prefix)/lib/lib${lib.name}.so
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  | -  % endfor
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  |    ifneq ($(SYSTEM),MINGW32)
 | 
	
		
			
				|  |  |    ifneq ($(SYSTEM),Darwin)
 | 
	
		
			
				|  |  |    	$(Q) ldconfig || true
 | 
	
	
		
			
				|  | @@ -1430,14 +1262,11 @@
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  |    endif
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  install-pkg-config_c: pc_c pc_c_unsecure pc_c_zookeeper
 | 
	
		
			
				|  |  | +  install-pkg-config_c: pc_c pc_c_unsecure
 | 
	
		
			
				|  |  |    	$(E) "[INSTALL] Installing C pkg-config files"
 | 
	
		
			
				|  |  |    	$(Q) $(INSTALL) -d $(prefix)/lib/pkgconfig
 | 
	
		
			
				|  |  |    	$(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc.pc $(prefix)/lib/pkgconfig/grpc.pc
 | 
	
		
			
				|  |  |    	$(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_unsecure.pc $(prefix)/lib/pkgconfig/grpc_unsecure.pc
 | 
	
		
			
				|  |  | -  ifeq ($(HAS_ZOOKEEPER),true)
 | 
	
		
			
				|  |  | -  	$(Q) $(INSTALL) $(LIBDIR)/$(CONFIG)/pkgconfig/grpc_zookeeper.pc $(prefix)/lib/pkgconfig/grpc_zookeeper.pc
 | 
	
		
			
				|  |  | -  endif
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    install-pkg-config_cxx: pc_cxx pc_cxx_unsecure
 | 
	
		
			
				|  |  |    	$(E) "[INSTALL] Installing C++ pkg-config files"
 | 
	
	
		
			
				|  | @@ -1645,9 +1474,6 @@
 | 
	
		
			
				|  |  |        for src in lib.src:
 | 
	
		
			
				|  |  |          sources_that_don_t_need_openssl.add(src)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    if 'zookeeper' in lib.get('external_deps', []):
 | 
	
		
			
				|  |  | -      libs = libs + ' -lzookeeper_mt'
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      if lib.get('secure', 'check') == True or lib.get('secure', 'check') == 'check':
 | 
	
		
			
				|  |  |        lib_deps = lib_deps + ' $(OPENSSL_DEP)'
 | 
	
		
			
				|  |  |        mingw_lib_deps = mingw_lib_deps + ' $(OPENSSL_DEP)'
 | 
	
	
		
			
				|  | @@ -1802,9 +1628,6 @@
 | 
	
		
			
				|  |  |    % for dep in tgt.deps:
 | 
	
		
			
				|  |  |     $(LIBDIR)/$(CONFIG)/lib${dep}.a\
 | 
	
		
			
				|  |  |    % endfor
 | 
	
		
			
				|  |  | -  % if 'zookeeper' in tgt.get('external_deps', []):
 | 
	
		
			
				|  |  | -   -lzookeeper_mt\
 | 
	
		
			
				|  |  | -  % endif
 | 
	
		
			
				|  |  |    % if tgt.language == "c++":
 | 
	
		
			
				|  |  |    % if tgt.build == 'protoc':
 | 
	
		
			
				|  |  |     $(HOST_LDLIBSXX) $(HOST_LDLIBS_PROTOC)\
 |