Change 'make install' to install tblgen, for better support of out-of-tree targets,

patch by Mikael Lepistö!

llvm-svn: 71226
This commit is contained in:
Chris Lattner 2009-05-08 17:32:47 +00:00
parent 0fd5aea274
commit 5e3bb54910
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -9,7 +9,6 @@
LEVEL = ../..
TOOLNAME = tblgen
NO_INSTALL = 1;
USEDLIBS = LLVMSupport.a LLVMSystem.a
REQUIRES_EH := 1
REQUIRES_RTTI := 1

View File

@ -22,4 +22,6 @@ ifeq ($(OS),MingW)
CPP.Flags += -DGTEST_OS_WINDOWS=1
endif
NO_INSTALL = 1
include $(LEVEL)/Makefile.common