]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - lib/clang/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / lib / clang / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .if !make(install)
6 .if !defined(EARLY_BUILD)
7 .if defined(MK_CLANG_FULL) && ${MK_CLANG_FULL} != "no"
8 _libclangstaticanalyzer= \
9         libclangstaticanalyzercheckers \
10         libclangstaticanalyzercore \
11         libclangstaticanalyzerfrontend
12 _libclangarcmigrate= \
13         libclangarcmigrate
14 .endif # MK_CLANG_FULL
15 .if (defined(MK_CLANG_FULL) && ${MK_CLANG_FULL} != "no") || \
16     (defined(MK_LLDB) && ${MK_LLDB} != "no")
17 _libclangrewriter= \
18         libclangrewritecore \
19         libclangrewritefrontend
20 .endif # (MK_CLANG_FULL || MK_LLDB)
21 .endif # !EARLY_BUILD
22
23 SUBDIR= libclanganalysis \
24         ${_libclangarcmigrate} \
25         libclangast \
26         libclangbasic \
27         libclangcodegen \
28         libclangdriver \
29         libclangedit \
30         libclangfrontend \
31         libclangfrontendtool \
32         libclanglex \
33         libclangparse \
34         ${_libclangrewriter} \
35         libclangsema \
36         libclangserialization \
37         ${_libclangstaticanalyzer} \
38         \
39         libllvmanalysis \
40         libllvmasmparser \
41         libllvmasmprinter \
42         libllvmbitreader \
43         libllvmbitwriter \
44         libllvmcodegen \
45         libllvmcore \
46         libllvminstcombine \
47         libllvminstrumentation \
48         libllvmipa \
49         libllvmipo \
50         libllvmirreader \
51         libllvmlinker \
52         libllvmmc \
53         libllvmmcparser \
54         libllvmobjcarcopts \
55         libllvmobject \
56         libllvmoption \
57         libllvmscalaropts \
58         libllvmselectiondag \
59         libllvmsupport \
60         libllvmtablegen \
61         libllvmtarget \
62         libllvmtransformutils \
63         libllvmvectorize \
64         \
65         libllvmarmasmparser \
66         libllvmarmcodegen \
67         libllvmarmdesc \
68         libllvmarmdisassembler \
69         libllvmarminfo \
70         libllvmarminstprinter \
71         libllvmmipsasmparser \
72         libllvmmipscodegen \
73         libllvmmipsdesc \
74         libllvmmipsdisassembler \
75         libllvmmipsinfo \
76         libllvmmipsinstprinter \
77         libllvmpowerpcasmparser \
78         libllvmpowerpccodegen \
79         libllvmpowerpcdesc \
80         libllvmpowerpcinfo \
81         libllvmpowerpcinstprinter \
82         libllvmsparcasmparser \
83         libllvmsparccodegen \
84         libllvmsparcdesc \
85         libllvmsparcdisassembler \
86         libllvmsparcinfo \
87         libllvmsparcinstprinter \
88         libllvmx86asmparser \
89         libllvmx86codegen \
90         libllvmx86desc \
91         libllvmx86disassembler \
92         libllvmx86info \
93         libllvmx86instprinter \
94         libllvmx86utils
95
96 .if ${MK_CLANG_EXTRAS} != "no"
97 SUBDIR+=libllvmdebuginfo
98 .endif # MK_CLANG_EXTRAS
99 .if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
100 SUBDIR+=libllvmexecutionengine \
101         libllvminterpreter \
102         libllvmjit \
103         libllvmmcdisassembler \
104         libllvmmcjit \
105         libllvmruntimedyld
106 .endif # MK_CLANG_EXTRAS | LLDB
107
108 .if !defined(EARLY_BUILD) && ${MK_LLDB} != "no"
109 SUBDIR+=liblldb \
110         \
111         liblldbAPI \
112         liblldbBreakpoint \
113         liblldbCommands \
114         liblldbCore \
115         liblldbDataFormatters \
116         liblldbExpression \
117         liblldbHostCommon \
118         liblldbHostFreeBSD \
119         liblldbInterpreter \
120         liblldbSymbol \
121         liblldbTarget \
122         liblldbUtility \
123         \
124         liblldbPluginABISysV_x86_64 \
125         liblldbPluginCXXItaniumABI \
126         liblldbPluginDisassemblerLLVM \
127         liblldbPluginDynamicLoaderStatic \
128         liblldbPluginDynamicLoaderPosixDYLD \
129         liblldbPluginInstructionARM \
130         liblldbPluginObjectContainerBSDArchive \
131         liblldbPluginObjectFileELF \
132         liblldbPluginPlatformFreeBSD \
133         liblldbPluginPlatformGDB \
134         liblldbPluginProcessElfCore \
135         liblldbPluginProcessFreeBSD \
136         liblldbPluginProcessGDBRemote \
137         liblldbPluginProcessPOSIX \
138         liblldbPluginProcessUtility \
139         liblldbPluginSymbolFileDWARF \
140         liblldbPluginSymbolFileSymtab \
141         liblldbPluginSymbolVendorELF \
142         liblldbPluginUnwindAssemblyInstEmulation \
143         liblldbPluginUnwindAssemblyX86
144 .endif # !EARLY_BUILD && MK_LLDB
145
146 .endif # !make(install)
147
148 SUBDIR+= include
149
150 SUBDIR_PARALLEL=
151
152 .include <bsd.subdir.mk>