]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/c-arcmt-test/Makefile
Vendor import of clang trunk r242221:
[FreeBSD/FreeBSD.git] / tools / c-arcmt-test / Makefile
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
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
24 LINK_COMPONENTS := $(TARGETS_TO_BUILD) \
25         AsmParser \
26         BitReader \
27         BitWriter \
28         IPO \
29         MC \
30         ObjCARCOpts \
31         Option \
32         Support
33
34 # Note that 'USEDLIBS' must include all of the core clang libraries
35 # when -static is given to linker on cygming.
36 USEDLIBS = clang.a \
37            clangCodeGen.a \
38            clangARCMigrate.a \
39            clangIndex.a \
40            clangFormat.a \
41            clangTooling.a \
42            clangToolingCore.a \
43            clangRewriteFrontend.a \
44            clangRewrite.a \
45            clangFrontend.a clangDriver.a \
46            clangStaticAnalyzerCheckers.a clangStaticAnalyzerCore.a \
47            clangSerialization.a clangParse.a clangSema.a \
48            clangAnalysis.a clangEdit.a clangAST.a clangLex.a clangBasic.a
49
50 include $(CLANG_LEVEL)/Makefile