Dimitry Andric 999971f7f7 Minimize the number of files compiled for clang only (e.g. when neither
WITH_CLANG_EXTRAS nor WITH_LLDB is in effect).
2015-09-06 22:02:13 +00:00

47 lines
850 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
LIB= clanganalysis
SRCDIR= tools/clang/lib/Analysis
SRCS= AnalysisDeclContext.cpp \
BodyFarm.cpp \
CFG.cpp \
CFGReachabilityAnalysis.cpp \
CFGStmtMap.cpp \
CallGraph.cpp \
CocoaConventions.cpp \
CodeInjector.cpp \
Consumed.cpp \
Dominators.cpp \
FormatString.cpp \
LiveVariables.cpp \
ObjCNoReturn.cpp \
PostOrderCFGView.cpp \
PrintfFormatString.cpp \
ProgramPoint.cpp \
PseudoConstantAnalysis.cpp \
ReachableCode.cpp \
ScanfFormatString.cpp \
ThreadSafety.cpp \
ThreadSafetyCommon.cpp \
ThreadSafetyTIL.cpp \
UninitializedValues.cpp
.if ${MK_CLANG_EXTRAS} != "no"
SRCS+= ThreadSafetyLogical.cpp
.endif
TGHDRS= AttrList \
AttrVisitor \
Attrs \
CommentCommandList \
CommentNodes \
DeclNodes \
DiagnosticAnalysisKinds \
DiagnosticCommonKinds \
StmtNodes
.include "../clang.lib.mk"