From 938d8cb8d9308f43338739f1203f39ec045336d7 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Thu, 13 Dec 2007 02:17:17 +0000 Subject: [PATCH] Add install-libs target which only installs libraries, not tools llvm-svn: 44979 --- llvm/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/llvm/Makefile b/llvm/Makefile index c367e731acd2..dcb98fc36f17 100644 --- a/llvm/Makefile +++ b/llvm/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