aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-08 20:57:22 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-08 20:57:22 +0000
commitc9f362d73b7e76e7cfa800fd6ed8b7f2a84d2f95 (patch)
tree71a444c41db22121dc2f4943aa22ec875acab8dd
parentf24f3d12c10d5f09b4831817d6b525fab9884110 (diff)
Makefiles: Remove unnecessary early include of Makefile.config.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105640 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--examples/PrintFunctionNames/Makefile5
-rw-r--r--examples/clang-interpreter/Makefile5
-rw-r--r--examples/wpa/Makefile5
-rw-r--r--tools/c-index-test/Makefile2
-rw-r--r--tools/libclang/Makefile5
5 files changed, 0 insertions, 22 deletions
diff --git a/examples/PrintFunctionNames/Makefile b/examples/PrintFunctionNames/Makefile
index fe9712f8f2..297412d6b2 100644
--- a/examples/PrintFunctionNames/Makefile
+++ b/examples/PrintFunctionNames/Makefile
@@ -10,11 +10,6 @@
CLANG_LEVEL := ../..
LIBRARYNAME = PrintFunctionNames
-# 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 $(CLANG_LEVEL)/../../Makefile.config
-
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
diff --git a/examples/clang-interpreter/Makefile b/examples/clang-interpreter/Makefile
index e46b2037b9..6fa58d22cb 100644
--- a/examples/clang-interpreter/Makefile
+++ b/examples/clang-interpreter/Makefile
@@ -15,11 +15,6 @@ NO_INSTALL = 1
# No plugins, optimize startup time.
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 $(CLANG_LEVEL)/../../Makefile.config
-
LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \
selectiondag asmparser
USEDLIBS = clangFrontend.a clangDriver.a clangCodeGen.a clangSema.a \
diff --git a/examples/wpa/Makefile b/examples/wpa/Makefile
index 2c2154d8d3..46fba7ca74 100644
--- a/examples/wpa/Makefile
+++ b/examples/wpa/Makefile
@@ -15,11 +15,6 @@ NO_INSTALL = 1
# No plugins, optimize startup time.
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 $(CLANG_LEVEL)/../../Makefile.config
-
LINK_COMPONENTS := asmparser bitreader mc core
USEDLIBS = clangIndex.a clangFrontend.a clangDriver.a clangSema.a \
clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a
diff --git a/tools/c-index-test/Makefile b/tools/c-index-test/Makefile
index ff3dbe9a8a..d168df5536 100644
--- a/tools/c-index-test/Makefile
+++ b/tools/c-index-test/Makefile
@@ -13,8 +13,6 @@ TOOLNAME = c-index-test
# No plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
-include $(CLANG_LEVEL)/../../Makefile.config
-
LINK_COMPONENTS := bitreader mc core
USEDLIBS = clang.a clangIndex.a clangFrontend.a clangDriver.a clangSema.a \
clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a
diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile
index 2fbdb0c6f3..253ea38c7b 100644
--- a/tools/libclang/Makefile
+++ b/tools/libclang/Makefile
@@ -12,11 +12,6 @@ LIBRARYNAME = clang
EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libclang.exports
-# 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 $(CLANG_LEVEL)/../../Makefile.config
-
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1