xref: /freebsd/lib/clang/Makefile (revision 595e514d0df2bac5b813d35f83e32875dbf16a83)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5.if !make(install)
6.if !defined(EARLY_BUILD) && defined(MK_CLANG_FULL) && ${MK_CLANG_FULL} != "no"
7_libclangstaticanalyzer= \
8	libclangstaticanalyzercheckers \
9	libclangstaticanalyzercore \
10	libclangstaticanalyzerfrontend
11_libclangarcmigrate= \
12	libclangarcmigrate
13_libclangrewriter= \
14	libclangrewritecore \
15	libclangrewritefrontend
16.endif # !EARLY_BUILD && MK_CLANG_FULL
17
18SUBDIR=	libclanganalysis \
19	${_libclangarcmigrate} \
20	libclangast \
21	libclangbasic \
22	libclangcodegen \
23	libclangdriver \
24	libclangedit \
25	libclangfrontend \
26	libclangfrontendtool \
27	libclanglex \
28	libclangparse \
29	${_libclangrewriter} \
30	libclangsema \
31	libclangserialization \
32	${_libclangstaticanalyzer} \
33	\
34	libllvmanalysis \
35	libllvmarchive \
36	libllvmasmparser \
37	libllvmasmprinter \
38	libllvmbitreader \
39	libllvmbitwriter \
40	libllvmcodegen \
41	libllvmcore \
42	libllvminstcombine \
43	libllvminstrumentation \
44	libllvmipa \
45	libllvmipo \
46	libllvmirreader \
47	libllvmlinker \
48	libllvmmc \
49	libllvmmcparser \
50	libllvmobjcarcopts \
51	libllvmobject \
52	libllvmscalaropts \
53	libllvmselectiondag \
54	libllvmsupport \
55	libllvmtablegen \
56	libllvmtarget \
57	libllvmtransformutils \
58	libllvmvectorize \
59	\
60	libllvmarmasmparser \
61	libllvmarmcodegen \
62	libllvmarmdesc \
63	libllvmarmdisassembler \
64	libllvmarminfo \
65	libllvmarminstprinter \
66	libllvmmipsasmparser \
67	libllvmmipscodegen \
68	libllvmmipsdesc \
69	libllvmmipsdisassembler \
70	libllvmmipsinfo \
71	libllvmmipsinstprinter \
72	libllvmpowerpccodegen \
73	libllvmpowerpcdesc \
74	libllvmpowerpcinfo \
75	libllvmpowerpcinstprinter \
76	libllvmx86asmparser \
77	libllvmx86codegen \
78	libllvmx86desc \
79	libllvmx86disassembler \
80	libllvmx86info \
81	libllvmx86instprinter \
82	libllvmx86utils
83
84.if ${MK_CLANG_EXTRAS} != "no"
85SUBDIR+=libllvmdebuginfo \
86	libllvmexecutionengine \
87	libllvminterpreter \
88	libllvmjit \
89	libllvmmcdisassembler \
90	libllvmmcjit \
91	libllvmruntimedyld
92.endif # MK_CLANG_EXTRAS
93.endif # !make(install)
94
95SUBDIR+= include
96
97.include <bsd.subdir.mk>
98