summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/examples/PrintFunctionNames/Makefile5
-rw-r--r--clang/examples/clang-interpreter/Makefile5
-rw-r--r--clang/examples/wpa/Makefile5
-rw-r--r--clang/tools/c-index-test/Makefile2
-rw-r--r--clang/tools/libclang/Makefile5
5 files changed, 0 insertions, 22 deletions
diff --git a/clang/examples/PrintFunctionNames/Makefile b/clang/examples/PrintFunctionNames/Makefile
index fe9712f8f22..297412d6b2e 100644
--- a/clang/examples/PrintFunctionNames/Makefile
+++ b/clang/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/clang/examples/clang-interpreter/Makefile b/clang/examples/clang-interpreter/Makefile
index e46b2037b9d..6fa58d22cbd 100644
--- a/clang/examples/clang-interpreter/Makefile
+++ b/clang/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/clang/examples/wpa/Makefile b/clang/examples/wpa/Makefile
index 2c2154d8d30..46fba7ca742 100644
--- a/clang/examples/wpa/Makefile
+++ b/clang/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/clang/tools/c-index-test/Makefile b/clang/tools/c-index-test/Makefile
index ff3dbe9a8ab..d168df55365 100644
--- a/clang/tools/c-index-test/Makefile
+++ b/clang/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/clang/tools/libclang/Makefile b/clang/tools/libclang/Makefile
index 2fbdb0c6f35..253ea38c7b9 100644
--- a/clang/tools/libclang/Makefile
+++ b/clang/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
OpenPOWER on IntegriCloud