Argyrios Kyrtzidis | 69325d5 | 2011-07-09 20:00:58 +0000 | [diff] [blame] | 1 | ##===- tools/c-arcmt-test/Makefile -------------------------*- Makefile -*-===## |
| 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
| 5 | # This file is distributed under the University of Illinois Open Source |
| 6 | # License. See LICENSE.TXT for details. |
| 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
| 9 | CLANG_LEVEL := ../.. |
| 10 | |
| 11 | TOOLNAME = c-arcmt-test |
| 12 | |
| 13 | # No plugins, optimize startup time. |
| 14 | TOOL_NO_EXPORTS = 1 |
| 15 | |
| 16 | # Don't install this. It is used for tests. |
| 17 | NO_INSTALL = 1 |
| 18 | |
NAKAMURA Takumi | a59114b | 2012-08-10 06:10:58 +0000 | [diff] [blame] | 19 | # Include this here so we can get the configuration of the targets that have |
| 20 | # been configured for construction. We have to do this early so we can set up |
| 21 | # LINK_COMPONENTS before including Makefile.rules |
| 22 | include $(CLANG_LEVEL)/../../Makefile.config |
| 23 | |
Reid Kleckner | b1e25a1 | 2013-06-14 17:17:23 +0000 | [diff] [blame^] | 24 | LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc option |
Ted Kremenek | 296028e | 2012-09-01 07:38:58 +0000 | [diff] [blame] | 25 | |
| 26 | # Note that 'USEDLIBS' must include all of the core clang libraries |
NAKAMURA Takumi | 6f7eeb9 | 2013-01-22 04:11:33 +0000 | [diff] [blame] | 27 | # when -static is given to linker on cygming. |
NAKAMURA Takumi | b6678d7 | 2012-09-01 06:38:53 +0000 | [diff] [blame] | 28 | USEDLIBS = clang.a \ |
| 29 | clangARCMigrate.a \ |
| 30 | clangRewriteFrontend.a \ |
| 31 | clangRewriteCore.a \ |
| 32 | clangFrontend.a clangDriver.a \ |
| 33 | clangSerialization.a clangParse.a clangSema.a \ |
| 34 | clangAnalysis.a clangEdit.a clangAST.a clangLex.a clangBasic.a |
Argyrios Kyrtzidis | 69325d5 | 2011-07-09 20:00:58 +0000 | [diff] [blame] | 35 | |
| 36 | include $(CLANG_LEVEL)/Makefile |