xref: /freebsd/targets/pseudo/clang/Makefile.depend (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1b6209a9bSSimon J. Gerraty# This file is not autogenerated - take care!
2b6209a9bSSimon J. Gerraty
371e221e8SSimon J. Gerraty.include <src.opts.mk>
471e221e8SSimon J. Gerraty
5b6209a9bSSimon J. GerratyDIRDEPS = \
6142d4b37SBryan Drewery	lib/clang/headers \
7b6209a9bSSimon J. Gerraty	share/doc/llvm/clang \
8b6209a9bSSimon J. Gerraty	usr.bin/clang/clang \
9b6209a9bSSimon J. Gerraty	usr.bin/clang/clang-tblgen \
10*06c3fb27SDimitry Andric	usr.bin/clang/llvm-min-tblgen \
11611e4bb2SBryan Drewery	usr.bin/clang/llvm-objdump \
12f51eac06SBryan Drewery	usr.bin/clang/llvm-tblgen \
13b6209a9bSSimon J. Gerraty
146c0e7523SBryan Drewery.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
156c0e7523SBryan DreweryDIRDEPS+= \
166c0e7523SBryan Drewery	lib/libclang_rt/include \
176c0e7523SBryan Drewery	lib/libclang_rt/asan \
186c0e7523SBryan Drewery	lib/libclang_rt/asan-preinit \
196c0e7523SBryan Drewery	lib/libclang_rt/asan_dynamic \
206c0e7523SBryan Drewery	lib/libclang_rt/asan_cxx \
216c0e7523SBryan Drewery	lib/libclang_rt/safestack \
226c0e7523SBryan Drewery	lib/libclang_rt/stats \
236c0e7523SBryan Drewery	lib/libclang_rt/stats_client \
246c0e7523SBryan Drewery	lib/libclang_rt/ubsan_standalone \
256c0e7523SBryan Drewery	lib/libclang_rt/ubsan_standalone_cxx \
266c0e7523SBryan Drewery
276c0e7523SBryan Drewery.endif
286c0e7523SBryan Drewery
296c0e7523SBryan Drewery.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \
3071cb2dfcSWarner Losh    ${MACHINE_CPUARCH} == "arm"
316c0e7523SBryan DreweryDIRDEPS+= \
326c0e7523SBryan Drewery	lib/libclang_rt/profile \
336c0e7523SBryan Drewery
346c0e7523SBryan Drewery.endif
356c0e7523SBryan Drewery
3671e221e8SSimon J. Gerraty.if ${MK_LLDB} == "yes"
3771e221e8SSimon J. GerratyDIRDEPS+= \
3871e221e8SSimon J. Gerraty	usr.bin/clang/lldb
3971e221e8SSimon J. Gerraty.endif
40b6209a9bSSimon J. Gerraty
416b128c17SBryan Drewery.if ${MK_CLANG_EXTRAS} == "yes"
426b128c17SBryan DreweryDIRDEPS+= \
436b128c17SBryan Drewery	usr.bin/clang/bugpoint \
446b128c17SBryan Drewery	usr.bin/clang/llc \
456b128c17SBryan Drewery	usr.bin/clang/lli \
466b128c17SBryan Drewery	usr.bin/clang/llvm-ar \
476b128c17SBryan Drewery	usr.bin/clang/llvm-as \
486b128c17SBryan Drewery	usr.bin/clang/llvm-bcanalyzer \
496b128c17SBryan Drewery	usr.bin/clang/llvm-cov \
506b128c17SBryan Drewery	usr.bin/clang/llvm-cxxdump \
516106a50eSBryan Drewery	usr.bin/clang/llvm-cxxfilt \
526b128c17SBryan Drewery	usr.bin/clang/llvm-diff \
536b128c17SBryan Drewery	usr.bin/clang/llvm-dis \
546b128c17SBryan Drewery	usr.bin/clang/llvm-dwarfdump \
556b128c17SBryan Drewery	usr.bin/clang/llvm-extract \
566b128c17SBryan Drewery	usr.bin/clang/llvm-link \
576b128c17SBryan Drewery	usr.bin/clang/llvm-lto \
586106a50eSBryan Drewery	usr.bin/clang/llvm-lto2 \
596b128c17SBryan Drewery	usr.bin/clang/llvm-mc \
606106a50eSBryan Drewery	usr.bin/clang/llvm-modextract \
616b128c17SBryan Drewery	usr.bin/clang/llvm-nm \
626b128c17SBryan Drewery	usr.bin/clang/llvm-pdbdump \
6338069501SBryan Drewery	usr.bin/clang/llvm-pdbutil \
646b128c17SBryan Drewery	usr.bin/clang/llvm-profdata \
656b128c17SBryan Drewery	usr.bin/clang/llvm-rtdyld \
666b128c17SBryan Drewery	usr.bin/clang/llvm-symbolizer \
676106a50eSBryan Drewery	usr.bin/clang/llvm-xray \
686b128c17SBryan Drewery	usr.bin/clang/opt \
696b128c17SBryan Drewery
706b128c17SBryan Drewery.endif
716b128c17SBryan Drewery
720a9ab9f5SConrad Meyer.if ${MK_CLANG_EXTRAS} == "yes" || ${MK_CLANG_FORMAT} == "yes"
730a9ab9f5SConrad MeyerDIRDEPS+=	usr.bin/clang/clang-format
740a9ab9f5SConrad Meyer.endif
750a9ab9f5SConrad Meyer
7608e3200cSBryan Drewery.if ${MK_LLD} == "yes"
7708e3200cSBryan DreweryDIRDEPS+=	usr.bin/clang/lld
7808e3200cSBryan Drewery.endif
7908e3200cSBryan Drewery
80b6209a9bSSimon J. Gerraty.include <dirdeps.mk>
81