f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
98 lines
1.5 KiB
Makefile
98 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.27 2013/07/07 21:36:42 joerg Exp $
|
|
|
|
PROG_CXX= clang
|
|
NOMAN= yes
|
|
|
|
.if !defined(HOSTPROG)
|
|
SYMLINKS+= clang ${BINDIR}/clang++
|
|
SYMLINKS+= clang ${BINDIR}/clang-cpp
|
|
.endif
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
.PATH: ${CLANG_SRCDIR}/tools/driver
|
|
|
|
SRCS= driver.cpp \
|
|
cc1_main.cpp \
|
|
cc1as_main.cpp
|
|
|
|
CLANG_LIBS+= \
|
|
clangFrontendTool \
|
|
clangFrontend \
|
|
clangARCMigrate \
|
|
clangStaticAnalyzerFrontend \
|
|
clangStaticAnalyzerCheckers \
|
|
clangStaticAnalyzerCore \
|
|
clangDriver \
|
|
clangSerialization \
|
|
clangCodeGen \
|
|
clangParse \
|
|
clangSema \
|
|
clangEdit \
|
|
clangAnalysis \
|
|
clangRewriteFrontend \
|
|
clangRewriteCore \
|
|
clangAST \
|
|
clangLex \
|
|
clangBasic
|
|
|
|
LLVM_LIBS+= \
|
|
ObjCARC \
|
|
ipo \
|
|
IRReader \
|
|
AsmParser \
|
|
BitReader \
|
|
BitWriter \
|
|
AArch64CodeGen \
|
|
AArch64TargetInfo \
|
|
AArch64MCTargetDesc \
|
|
AArch64AsmParser \
|
|
AArch64AsmPrinter \
|
|
AArch64Utils \
|
|
ARMCodeGen \
|
|
ARMTargetInfo \
|
|
ARMMCTargetDesc \
|
|
ARMAsmParser \
|
|
ARMAsmPrinter \
|
|
MipsCodeGen \
|
|
MipsTargetInfo \
|
|
MipsMCTargetDesc \
|
|
MipsAsmPrinter \
|
|
MipsAsmParser \
|
|
PowerPCCodeGen \
|
|
PowerPCTargetInfo \
|
|
PowerPCMCTargetDesc \
|
|
PowerPCAsmParser \
|
|
PowerPCAsmPrinter \
|
|
SparcCodeGen \
|
|
SparcTargetInfo \
|
|
SparcMCTargetDesc \
|
|
X86CodeGen \
|
|
X86MCTargetDesc \
|
|
X86TargetInfo \
|
|
X86Utils \
|
|
X86AsmParser \
|
|
X86AsmPrinter \
|
|
Object \
|
|
SelectionDAG \
|
|
AsmPrinter \
|
|
CodeGen \
|
|
Vectorize \
|
|
Target \
|
|
InstCombine \
|
|
Instrumentation \
|
|
ScalarOpts \
|
|
Analysis \
|
|
MCDisassembler \
|
|
MCParser \
|
|
MC \
|
|
Linker \
|
|
TransformsUtils \
|
|
ipa \
|
|
IR \
|
|
Option \
|
|
Support
|
|
|
|
.include "${.PARSEDIR}/../../link.mk"
|
|
|
|
.include <bsd.prog.mk>
|