blob: 6ac5e20fe48aa3f0d6e409b7d0a7a760e83e8ce4 [file] [log] [blame]
Argyrios Kyrtzidis69325d52011-07-09 20:00:58 +00001##===- 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
NAKAMURA Takumia59114b2012-08-10 06:10:58 +000019# 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
Reid Klecknerb1e25a12013-06-14 17:17:23 +000024LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc option
Ted Kremenek296028e2012-09-01 07:38:58 +000025
26# Note that 'USEDLIBS' must include all of the core clang libraries
NAKAMURA Takumi6f7eeb92013-01-22 04:11:33 +000027# when -static is given to linker on cygming.
NAKAMURA Takumib6678d72012-09-01 06:38:53 +000028USEDLIBS = clang.a \
29 clangARCMigrate.a \
30 clangRewriteFrontend.a \
31 clangRewriteCore.a \
NAKAMURA Takumi166fa982013-08-18 03:48:57 +000032 clangIndex.a clangFrontend.a clangDriver.a \
Stephen Hines651f13c2014-04-23 16:59:28 -070033 clangStaticAnalyzerCheckers.a clangStaticAnalyzerCore.a \
NAKAMURA Takumib6678d72012-09-01 06:38:53 +000034 clangSerialization.a clangParse.a clangSema.a \
35 clangAnalysis.a clangEdit.a clangAST.a clangLex.a clangBasic.a
Argyrios Kyrtzidis69325d52011-07-09 20:00:58 +000036
37include $(CLANG_LEVEL)/Makefile