patch by Mikael Lepistö!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71226
91177308-0d34-0410-b5e6-
96231b3b80d8
-# 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)
ifeq ($(MAKECMDGOALS),install)
- DIRS := $(filter-out utils, $(DIRS))
OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
endif
OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
endif
LEVEL = ../..
TOOLNAME = tblgen
LEVEL = ../..
TOOLNAME = tblgen
USEDLIBS = LLVMSupport.a LLVMSystem.a
REQUIRES_EH := 1
REQUIRES_RTTI := 1
USEDLIBS = LLVMSupport.a LLVMSystem.a
REQUIRES_EH := 1
REQUIRES_RTTI := 1
CPP.Flags += -DGTEST_OS_WINDOWS=1
endif
CPP.Flags += -DGTEST_OS_WINDOWS=1
endif
include $(LEVEL)/Makefile.common
include $(LEVEL)/Makefile.common