From 544f83db6b124d042cdb4eba1c83528056e81f09 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Thu, 13 Dec 2007 02:17:17 +0000 Subject: 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 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c367e731ac..dcb98fc36f 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 -- cgit v1.2.3