From: Nate Begeman Date: Thu, 13 Dec 2007 02:17:17 +0000 (+0000) Subject: Add install-libs target which only installs libraries, not tools X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=544f83db6b124d042cdb4eba1c83528056e81f09;p=oota-llvm.git Add install-libs target which only installs libraries, not tools git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44979 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile b/Makefile index c367e731acd..dcb98fc36f1 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,11 @@ ifeq ($(MAKECMDGOALS),libs-only) OPTIONAL_DIRS := endif +ifeq ($(MAKECMDGOALS),install-libs) + DIRS := $(filter-out tools runtime docs, $(DIRS)) + OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS)) +endif + ifeq ($(MAKECMDGOALS),tools-only) DIRS := $(filter-out runtime docs, $(DIRS)) OPTIONAL_DIRS := @@ -81,6 +86,7 @@ dist-hook:: tools-only: all libs-only: all +install-libs: install #------------------------------------------------------------------------ # Make sure the generated headers are up-to-date. This must be kept in