Skip to content

Commit d04e1a7

Browse files
committed
Makefiles: Remove unnecessary early include of Makefile.config.
llvm-svn: 105640
1 parent 5d02e0b commit d04e1a7

File tree

5 files changed

+0
-22
lines changed

5 files changed

+0
-22
lines changed

clang/examples/PrintFunctionNames/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
CLANG_LEVEL := ../..
1111
LIBRARYNAME = PrintFunctionNames
1212

13-
# Include this here so we can get the configuration of the targets that have
14-
# been configured for construction. We have to do this early so we can set up
15-
# LINK_COMPONENTS before including Makefile.rules
16-
include $(CLANG_LEVEL)/../../Makefile.config
17-
1813
LINK_LIBS_IN_SHARED = 1
1914
SHARED_LIBRARY = 1
2015

clang/examples/clang-interpreter/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ NO_INSTALL = 1
1515
# No plugins, optimize startup time.
1616
TOOL_NO_EXPORTS = 1
1717

18-
# Include this here so we can get the configuration of the targets that have
19-
# been configured for construction. We have to do this early so we can set up
20-
# LINK_COMPONENTS before including Makefile.rules
21-
include $(CLANG_LEVEL)/../../Makefile.config
22-
2318
LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \
2419
selectiondag asmparser
2520
USEDLIBS = clangFrontend.a clangDriver.a clangCodeGen.a clangSema.a \

clang/examples/wpa/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ NO_INSTALL = 1
1515
# No plugins, optimize startup time.
1616
TOOL_NO_EXPORTS = 1
1717

18-
# Include this here so we can get the configuration of the targets that have
19-
# been configured for construction. We have to do this early so we can set up
20-
# LINK_COMPONENTS before including Makefile.rules
21-
include $(CLANG_LEVEL)/../../Makefile.config
22-
2318
LINK_COMPONENTS := asmparser bitreader mc core
2419
USEDLIBS = clangIndex.a clangFrontend.a clangDriver.a clangSema.a \
2520
clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a

clang/tools/c-index-test/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ TOOLNAME = c-index-test
1313
# No plugins, optimize startup time.
1414
TOOL_NO_EXPORTS = 1
1515

16-
include $(CLANG_LEVEL)/../../Makefile.config
17-
1816
LINK_COMPONENTS := bitreader mc core
1917
USEDLIBS = clang.a clangIndex.a clangFrontend.a clangDriver.a clangSema.a \
2018
clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a

clang/tools/libclang/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ LIBRARYNAME = clang
1212

1313
EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libclang.exports
1414

15-
# Include this here so we can get the configuration of the targets
16-
# that have been configured for construction. We have to do this
17-
# early so we can set up LINK_COMPONENTS before including Makefile.rules
18-
include $(CLANG_LEVEL)/../../Makefile.config
19-
2015
LINK_LIBS_IN_SHARED = 1
2116
SHARED_LIBRARY = 1
2217

0 commit comments

Comments
 (0)