1#	$NetBSD: Makefile,v 1.22 2013/11/11 23:51:36 joerg Exp $
2
3LIB=	clangStaticAnalyzerCheckers
4
5.include <bsd.init.mk>
6
7.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Checkers
8
9SRCS+=	AllocationDiagnostics.cpp \
10	AnalyzerStatsChecker.cpp \
11	ArrayBoundChecker.cpp \
12	ArrayBoundCheckerV2.cpp \
13	BasicObjCFoundationChecks.cpp \
14	BoolAssignmentChecker.cpp \
15	BuiltinFunctionChecker.cpp \
16	ClangCheckers.cpp \
17	CStringChecker.cpp \
18	CStringSyntaxChecker.cpp \
19	CallAndMessageChecker.cpp \
20	CastSizeChecker.cpp \
21	CastToStructChecker.cpp \
22	CheckObjCDealloc.cpp \
23	CheckObjCInstMethSignature.cpp \
24	CheckSecuritySyntaxOnly.cpp \
25	CheckSizeofPointer.cpp \
26	CheckerDocumentation.cpp \
27	ChrootChecker.cpp \
28	DeadStoresChecker.cpp \
29	DebugCheckers.cpp \
30	DereferenceChecker.cpp \
31	DirectIvarAssignment.cpp \
32	DivZeroChecker.cpp \
33	DynamicTypePropagation.cpp \
34	ExprInspectionChecker.cpp \
35	FixedAddressChecker.cpp \
36	GenericTaintChecker.cpp \
37	IdempotentOperationChecker.cpp \
38	IdenticalExprChecker.cpp \
39	IvarInvalidationChecker.cpp \
40	LLVMConventionsChecker.cpp \
41	MacOSKeychainAPIChecker.cpp \
42	MacOSXAPIChecker.cpp \
43	MallocChecker.cpp \
44	MallocOverflowSecurityChecker.cpp \
45	MallocSizeofChecker.cpp \
46	NSAutoreleasePoolChecker.cpp \
47	NSErrorChecker.cpp \
48	NoReturnFunctionChecker.cpp \
49	NonNullParamChecker.cpp \
50	ObjCAtSyncChecker.cpp \
51	ObjCContainersASTChecker.cpp \
52	ObjCContainersChecker.cpp \
53	ObjCMissingSuperCallChecker.cpp \
54	ObjCSelfInitChecker.cpp \
55	ObjCUnusedIVarsChecker.cpp \
56	PointerArithChecker.cpp \
57	PointerSubChecker.cpp \
58	PthreadLockChecker.cpp \
59	RetainCountChecker.cpp \
60	ReturnPointerRangeChecker.cpp \
61	ReturnUndefChecker.cpp \
62	SimpleStreamChecker.cpp \
63	StackAddrEscapeChecker.cpp \
64	StreamChecker.cpp \
65	TaintTesterChecker.cpp \
66	TraversalChecker.cpp \
67	UndefBranchChecker.cpp \
68	UndefCapturedBlockVarChecker.cpp \
69	UndefResultChecker.cpp \
70	UndefinedArraySubscriptChecker.cpp \
71	UndefinedAssignmentChecker.cpp \
72	UnixAPIChecker.cpp \
73	UnreachableCodeChecker.cpp \
74	VLASizeChecker.cpp \
75	VirtualCallChecker.cpp
76
77CLANG_TABLEGEN_SRC=		Checkers.td
78CLANG_TABLEGEN_INCLUDES=	-I${CLANG_SRCDIR}/include
79CLANG_TABLEGEN_OUTPUT=	Checkers.inc|-gen-clang-sa-checkers
80
81.include "${.PARSEDIR}/../../tablegen.mk"
82
83.if defined(HOSTLIB)
84.include <bsd.hostlib.mk>
85.else
86.include <bsd.lib.mk>
87.endif
88