summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2007-12-13 02:17:17 +0000
committerNate Begeman <natebegeman@mac.com>2007-12-13 02:17:17 +0000
commit544f83db6b124d042cdb4eba1c83528056e81f09 (patch)
tree13da73f826fbac8538de553f25027d33ec6cd585 /Makefile
parentf488a8d39427786eefac8b2846c222dc48a1d2ed (diff)
downloadexternal_llvm-544f83db6b124d042cdb4eba1c83528056e81f09.zip
external_llvm-544f83db6b124d042cdb4eba1c83528056e81f09.tar.gz
external_llvm-544f83db6b124d042cdb4eba1c83528056e81f09.tar.bz2
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c367e73..dcb98fc 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