From c89146587ac8a030b1c63a52bdecd8eedbc87b09 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 8 May 2009 17:32:47 +0000 Subject: [PATCH] =?UTF-8?q?Change=20'make=20install'=20to=20install=20tblg?= =?UTF-8?q?en,=20for=20better=20support=20of=20out-of-tree=20targets,=20pa?= =?UTF-8?q?tch=20by=20Mikael=20Lepist=C3=B6!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71226 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile | 5 ++--- utils/TableGen/Makefile | 1 - utils/unittest/googletest/Makefile | 2 ++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 058eabcf424..123595dc55e 100644 --- a/Makefile +++ b/Makefile @@ -71,10 +71,9 @@ ifeq ($(MAKECMDGOALS),unittests) OPTIONAL_DIRS := endif -# Don't install utils, examples, or projects they are only used to -# build LLVM. +# Use NO_INSTALL define of the Makefile of each directory for deciding +# if the directory is installed or not ifeq ($(MAKECMDGOALS),install) - DIRS := $(filter-out utils, $(DIRS)) OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS)) endif diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile index ba0e157ec38..7ea88de0559 100644 --- a/utils/TableGen/Makefile +++ b/utils/TableGen/Makefile @@ -9,7 +9,6 @@ LEVEL = ../.. TOOLNAME = tblgen -NO_INSTALL = 1; USEDLIBS = LLVMSupport.a LLVMSystem.a REQUIRES_EH := 1 REQUIRES_RTTI := 1 diff --git a/utils/unittest/googletest/Makefile b/utils/unittest/googletest/Makefile index 6e262413cc4..d709878449a 100644 --- a/utils/unittest/googletest/Makefile +++ b/utils/unittest/googletest/Makefile @@ -22,4 +22,6 @@ ifeq ($(OS),MingW) CPP.Flags += -DGTEST_OS_WINDOWS=1 endif +NO_INSTALL = 1 + include $(LEVEL)/Makefile.common