blob: b97976a22092877239e1d3b088feb77986a4cd04 [file] [log] [blame]
diff -Naur a/Makefile b/Makefile
--- a/Makefile 2017-04-04 16:02:23.257788221 -0700
+++ b/Makefile 2017-04-04 16:02:08.949636437 -0700
@@ -2353,27 +2353,20 @@
$(Q) mkdir -p `dirname $@`
$(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
-install: install_c install_cxx install-plugins install-certs
+install: install_c install_cxx install-plugins install-certs install-headers
-install_c: install-headers_c install-static_c install-shared_c
+install_c: install-static_c install-shared_c
-install_cxx: install-headers_cxx install-static_cxx install-shared_cxx
+install_cxx: install-static_cxx install-shared_cxx
install_csharp: install-shared_csharp install_c
install_grpc_csharp_ext: install_csharp
-install-headers: install-headers_c install-headers_cxx
-
-install-headers_c:
+install-headers:
$(E) "[INSTALL] Installing public C headers"
- $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1
- $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
-
-install-headers_cxx:
- $(E) "[INSTALL] Installing public C++ headers"
- $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1
- $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
+ $(Q) $(foreach h, $(sort $(PUBLIC_HEADERS_C) $(PUBLIC_HEADERS_CXX)), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1
+ $(Q) $(foreach h, $(sort $(PUBLIC_HEADERS_C) $(PUBLIC_HEADERS_CXX)), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
install-static: install-static_c install-static_cxx
@@ -17799,7 +17792,7 @@
test/cpp/util/test_credentials_provider.cc: $(OPENSSL_DEP)
endif
-.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
+.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-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
.PHONY: printvars
printvars: