summaryrefslogtreecommitdiffstats
path: root/clang/examples/clang-interpreter
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-08 20:34:18 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-08 20:34:18 +0000
commite6c1daa8fd5c6e2f5b1c2820491d6f748d4918c8 (patch)
tree2ec2822d7dcaeaabd296499dbf3ffbc0f3719be9 /clang/examples/clang-interpreter
parent281d6bc8946661b8620e6d2729b0a2ab80b77e58 (diff)
downloadbcm5719-llvm-e6c1daa8fd5c6e2f5b1c2820491d6f748d4918c8.tar.gz
bcm5719-llvm-e6c1daa8fd5c6e2f5b1c2820491d6f748d4918c8.zip
Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.
- This eliminates most dependencies on how Clang is installed relative to LLVM. llvm-svn: 105637
Diffstat (limited to 'clang/examples/clang-interpreter')
-rw-r--r--clang/examples/clang-interpreter/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/examples/clang-interpreter/Makefile b/clang/examples/clang-interpreter/Makefile
index 397a1f9584a..6683a57c3b9 100644
--- a/clang/examples/clang-interpreter/Makefile
+++ b/clang/examples/clang-interpreter/Makefile
@@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
-LEVEL = ../../../..
+CLANG_LEVEL := ../..
TOOLNAME = clang-interpreter
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
@@ -19,7 +19,7 @@ TOOL_NO_EXPORTS = 1
# Include this here so we can get the configuration of the targets that have
# been configured for construction. We have to do this early so we can set up
# LINK_COMPONENTS before including Makefile.rules
-include $(LEVEL)/Makefile.config
+include $(CLANG_LEVEL)/../../Makefile.config
LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \
selectiondag asmparser
@@ -27,4 +27,4 @@ USEDLIBS = clangFrontend.a clangDriver.a clangCodeGen.a clangSema.a \
clangChecker.a clangAnalysis.a clangRewrite.a clangAST.a \
clangParse.a clangLex.a clangBasic.a
-include $(LLVM_SRC_ROOT)/Makefile.rules
+include $(CLANG_LEVEL)/Makefile
OpenPOWER on IntegriCloud