[llvm-commits] [llvm] r71226 - in /llvm/trunk: Makefile utils/TableGen/Makefile utils/unittest/googletest/Makefile
Chris Lattner
sabre at nondot.org
Fri May 8 10:32:47 PDT 2009
Author: lattner
Date: Fri May 8 12:32:47 2009
New Revision: 71226
URL: http://llvm.org/viewvc/llvm-project?rev=71226&view=rev
Log:
Change 'make install' to install tblgen, for better support of out-of-tree targets,
patch by Mikael Lepistö!
Modified:
llvm/trunk/Makefile
llvm/trunk/utils/TableGen/Makefile
llvm/trunk/utils/unittest/googletest/Makefile
Modified: llvm/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile?rev=71226&r1=71225&r2=71226&view=diff
==============================================================================
--- llvm/trunk/Makefile (original)
+++ llvm/trunk/Makefile Fri May 8 12:32:47 2009
@@ -71,10 +71,9 @@
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
Modified: llvm/trunk/utils/TableGen/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/Makefile?rev=71226&r1=71225&r2=71226&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/Makefile (original)
+++ llvm/trunk/utils/TableGen/Makefile Fri May 8 12:32:47 2009
@@ -9,7 +9,6 @@
LEVEL = ../..
TOOLNAME = tblgen
-NO_INSTALL = 1;
USEDLIBS = LLVMSupport.a LLVMSystem.a
REQUIRES_EH := 1
REQUIRES_RTTI := 1
Modified: llvm/trunk/utils/unittest/googletest/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/Makefile?rev=71226&r1=71225&r2=71226&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/Makefile (original)
+++ llvm/trunk/utils/unittest/googletest/Makefile Fri May 8 12:32:47 2009
@@ -22,4 +22,6 @@
CPP.Flags += -DGTEST_OS_WINDOWS=1
endif
+NO_INSTALL = 1
+
include $(LEVEL)/Makefile.common
More information about the llvm-commits
mailing list