summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-05-08 17:32:47 +0000
committerChris Lattner <sabre@nondot.org>2009-05-08 17:32:47 +0000
commit8bbd76b031cc861b63cec8ee69fafdd720474c45 (patch)
tree77b945485fcf3b7f151fee9d31ed47efb6f72bf9
parentc48091f1419336649bf2d9774437ba558daa873e (diff)
downloadbcm5719-llvm-8bbd76b031cc861b63cec8ee69fafdd720474c45.tar.gz
bcm5719-llvm-8bbd76b031cc861b63cec8ee69fafdd720474c45.zip
Change 'make install' to install tblgen, for better support of out-of-tree targets,
patch by Mikael Lepistö! llvm-svn: 71226
-rw-r--r--llvm/Makefile5
-rw-r--r--llvm/utils/TableGen/Makefile1
-rw-r--r--llvm/utils/unittest/googletest/Makefile2
3 files changed, 4 insertions, 4 deletions
diff --git a/llvm/Makefile b/llvm/Makefile
index 058eabcf424..123595dc55e 100644
--- a/llvm/Makefile
+++ b/llvm/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/llvm/utils/TableGen/Makefile b/llvm/utils/TableGen/Makefile
index ba0e157ec38..7ea88de0559 100644
--- a/llvm/utils/TableGen/Makefile
+++ b/llvm/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/llvm/utils/unittest/googletest/Makefile b/llvm/utils/unittest/googletest/Makefile
index 6e262413cc4..d709878449a 100644
--- a/llvm/utils/unittest/googletest/Makefile
+++ b/llvm/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
OpenPOWER on IntegriCloud