xref: /freebsd/usr.bin/clang/opt/Makefile (revision dbc595b2aef4a0b0f115d7297ee1234f6ade8d21)
16bb1caddSDimitry Andric# $FreeBSD$
26bb1caddSDimitry Andric
38a166cafSAndrew Turner.include <bsd.own.mk>
48a166cafSAndrew Turner
56bb1caddSDimitry AndricPROG_CXX=opt
66bb1caddSDimitry Andric
76bb1caddSDimitry AndricSRCDIR=	tools/opt
86bb1caddSDimitry AndricSRCS=	AnalysisWrappers.cpp \
9046ffce1SDimitry Andric	BreakpointPrinter.cpp \
106bb1caddSDimitry Andric	GraphPrinters.cpp \
11046ffce1SDimitry Andric	NewPMDriver.cpp \
12046ffce1SDimitry Andric	PassPrinters.cpp \
136bb1caddSDimitry Andric	PrintSCC.cpp \
146bb1caddSDimitry Andric	opt.cpp
156bb1caddSDimitry Andric
16ffa548aeSDimitry AndricTGHDRS=	Attributes \
17ffa548aeSDimitry Andric	Intrinsics
18ffa548aeSDimitry Andric
19ebeff3f9SDimitry AndricLIBDEPS=llvmpasses \
20ebeff3f9SDimitry Andric	llvmaarch64disassembler \
2147a80b92SDimitry Andric	llvmaarch64codegen \
2247a80b92SDimitry Andric	llvmaarch64asmparser \
2347a80b92SDimitry Andric	llvmaarch64desc \
2447a80b92SDimitry Andric	llvmaarch64info \
25ffa548aeSDimitry Andric	llvmaarch64asmprinter \
2647a80b92SDimitry Andric	llvmaarch64utils \
2747a80b92SDimitry Andric	llvmarmdisassembler \
283861d79fSDimitry Andric	llvmarmcodegen \
29139f7f9bSDimitry Andric	llvmarmasmparser \
303861d79fSDimitry Andric	llvmarmdesc \
313861d79fSDimitry Andric	llvmarminfo \
32ffa548aeSDimitry Andric	llvmarmasmprinter \
333861d79fSDimitry Andric	llvmmipsdisassembler \
34139f7f9bSDimitry Andric	llvmmipscodegen \
35139f7f9bSDimitry Andric	llvmmipsasmparser \
36139f7f9bSDimitry Andric	llvmmipsdesc \
373861d79fSDimitry Andric	llvmmipsinfo \
38ffa548aeSDimitry Andric	llvmmipsasmprinter \
39046ffce1SDimitry Andric	llvmpowerpcdisassembler \
403861d79fSDimitry Andric	llvmpowerpccodegen \
41840f0971SDimitry Andric	llvmpowerpcasmparser \
42f785676fSDimitry Andric	llvmpowerpcdesc \
43840f0971SDimitry Andric	llvmpowerpcinfo \
44ffa548aeSDimitry Andric	llvmpowerpcasmprinter \
45137470fbSDimitry Andric	llvmsparcdisassembler \
46137470fbSDimitry Andric	llvmsparccodegen \
47137470fbSDimitry Andric	llvmsparcasmparser \
48137470fbSDimitry Andric	llvmsparcdesc \
49137470fbSDimitry Andric	llvmsparcinfo \
50ffa548aeSDimitry Andric	llvmsparcasmprinter \
51139f7f9bSDimitry Andric	llvmx86disassembler \
523861d79fSDimitry Andric	llvmx86asmparser \
533861d79fSDimitry Andric	llvmx86codegen \
543861d79fSDimitry Andric	llvmselectiondag \
553861d79fSDimitry Andric	llvmasmprinter \
563861d79fSDimitry Andric	llvmcodegen \
57ebeff3f9SDimitry Andric	llvmtarget \
583861d79fSDimitry Andric	llvmx86desc \
591ae6788eSDimitry Andric	llvmmcdisassembler \
603861d79fSDimitry Andric	llvmx86info \
61ffa548aeSDimitry Andric	llvmx86asmprinter \
623861d79fSDimitry Andric	llvmx86utils \
633861d79fSDimitry Andric	llvmipo \
64dff0c46cSDimitry Andric	llvmvectorize \
65ffa548aeSDimitry Andric	llvmlinker \
66139f7f9bSDimitry Andric	llvmobjcarcopts \
676bb1caddSDimitry Andric	llvmscalaropts \
68ffa548aeSDimitry Andric	llvminstcombine \
69ffa548aeSDimitry Andric	llvminstrumentation \
701ae6788eSDimitry Andric	llvmprofiledata \
711ae6788eSDimitry Andric	llvmobject \
721ae6788eSDimitry Andric	llvmmcparser \
736bb1caddSDimitry Andric	llvmtransformutils \
746bb1caddSDimitry Andric	llvmmc \
75ebeff3f9SDimitry Andric	llvmanalysis \
76139f7f9bSDimitry Andric	llvmirreader \
776bb1caddSDimitry Andric	llvmasmparser \
786bb1caddSDimitry Andric	llvmbitwriter \
796bb1caddSDimitry Andric	llvmbitreader \
806bb1caddSDimitry Andric	llvmcore \
816bb1caddSDimitry Andric	llvmsupport
826bb1caddSDimitry Andric
83*dbc595b2SDimitry AndricLIBADD+=	z
84046ffce1SDimitry Andric
85eacae6dcSBryan Drewery.include "../clang.prog.mk"
86