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##===----------------------------------------------------------------------===##
9CLANG_LEVEL := ../..
10
11TOOLNAME = c-arcmt-test
12
13# No plugins, optimize startup time.
14TOOL_NO_EXPORTS = 1
15
16# Don't install this. It is used for tests.
17NO_INSTALL = 1
18
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
22include $(CLANG_LEVEL)/../../Makefile.config
23
24LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc option
25
26# Note that 'USEDLIBS' must include all of the core clang libraries
27# when -static is given to linker on cygming.
28USEDLIBS = clang.a \
29	   clangARCMigrate.a \
30	   clangIndex.a \
31	   clangFormat.a \
32	   clangTooling.a \
33	   clangRewriteFrontend.a \
34	   clangRewriteCore.a \
35	   clangFrontend.a clangDriver.a \
36	   clangStaticAnalyzerCheckers.a clangStaticAnalyzerCore.a \
37	   clangSerialization.a clangParse.a clangSema.a \
38	   clangAnalysis.a clangEdit.a clangAST.a clangLex.a clangBasic.a
39
40include $(CLANG_LEVEL)/Makefile
41