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

90 lines
2.1 KiB
Makefile

# $FreeBSD$
.include <src.opts.mk>
LIB= clangstaticanalyzercheckers
SRCDIR= tools/clang/lib/StaticAnalyzer/Checkers
SRCS= AllocationDiagnostics.cpp \
AnalyzerStatsChecker.cpp \
ArrayBoundChecker.cpp \
ArrayBoundCheckerV2.cpp \
BasicObjCFoundationChecks.cpp \
BoolAssignmentChecker.cpp \
BuiltinFunctionChecker.cpp \
CStringChecker.cpp \
CStringSyntaxChecker.cpp \
CallAndMessageChecker.cpp \
CastSizeChecker.cpp \
CastToStructChecker.cpp \
CheckObjCDealloc.cpp \
CheckObjCInstMethSignature.cpp \
CheckSecuritySyntaxOnly.cpp \
CheckSizeofPointer.cpp \
ChrootChecker.cpp \
ClangCheckers.cpp \
DeadStoresChecker.cpp \
DebugCheckers.cpp \
DereferenceChecker.cpp \
DirectIvarAssignment.cpp \
DivZeroChecker.cpp \
DynamicTypePropagation.cpp \
ExprInspectionChecker.cpp \
FixedAddressChecker.cpp \
GenericTaintChecker.cpp \
IdenticalExprChecker.cpp \
IvarInvalidationChecker.cpp \
LLVMConventionsChecker.cpp \
MacOSKeychainAPIChecker.cpp \
MacOSXAPIChecker.cpp \
MallocChecker.cpp \
MallocOverflowSecurityChecker.cpp \
MallocSizeofChecker.cpp \
NSAutoreleasePoolChecker.cpp \
NSErrorChecker.cpp \
NoReturnFunctionChecker.cpp \
NonNullParamChecker.cpp \
ObjCAtSyncChecker.cpp \
ObjCContainersASTChecker.cpp \
ObjCContainersChecker.cpp \
ObjCMissingSuperCallChecker.cpp \
ObjCSelfInitChecker.cpp \
ObjCUnusedIVarsChecker.cpp \
PointerArithChecker.cpp \
PointerSubChecker.cpp \
PthreadLockChecker.cpp \
RetainCountChecker.cpp \
ReturnPointerRangeChecker.cpp \
ReturnUndefChecker.cpp \
SimpleStreamChecker.cpp \
StackAddrEscapeChecker.cpp \
StreamChecker.cpp \
TaintTesterChecker.cpp \
TestAfterDivZeroChecker.cpp \
TraversalChecker.cpp \
UndefBranchChecker.cpp \
UndefCapturedBlockVarChecker.cpp \
UndefResultChecker.cpp \
UndefinedArraySubscriptChecker.cpp \
UndefinedAssignmentChecker.cpp \
UnixAPIChecker.cpp \
UnreachableCodeChecker.cpp \
VLASizeChecker.cpp \
VirtualCallChecker.cpp
.if ${MK_CLANG_EXTRAS} != "no"
SRCS+= CheckerDocumentation.cpp
.endif
TGHDRS= AttrList \
AttrVisitor \
Attrs \
Checkers \
CommentCommandList \
CommentNodes \
DeclNodes \
DiagnosticCommonKinds \
StmtNodes
.include "../clang.lib.mk"