xref: /minix3/external/bsd/llvm/lib/libclangStaticAnalyzerFrontend/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.2 2015/01/29 20:41:37 joerg Exp $
2f4a2713aSLionel Sambuc
3f4a2713aSLionel SambucLIB=	clangStaticAnalyzerFrontend
4f4a2713aSLionel Sambuc
5f4a2713aSLionel Sambuc.include <bsd.init.mk>
6f4a2713aSLionel Sambuc
7f4a2713aSLionel Sambuc.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Frontend
8f4a2713aSLionel Sambuc
9f4a2713aSLionel SambucSRCS+=	AnalysisConsumer.cpp \
10f4a2713aSLionel Sambuc	CheckerRegistration.cpp \
11*0a6a1f1dSLionel Sambuc	FrontendActions.cpp \
12*0a6a1f1dSLionel Sambuc	ModelConsumer.cpp \
13*0a6a1f1dSLionel Sambuc	ModelInjector.cpp
14f4a2713aSLionel Sambuc
15f4a2713aSLionel SambucCHECKERS_OBJDIR!=	cd ${.CURDIR}/../libclangStaticAnalyzerCheckers && ${PRINTOBJDIR}
16f4a2713aSLionel SambucCPPFLAGS+=	-I${CHECKERS_OBJDIR}
17f4a2713aSLionel Sambuc
18f4a2713aSLionel Sambuc.if defined(HOSTLIB)
19f4a2713aSLionel Sambuc.include <bsd.hostlib.mk>
20f4a2713aSLionel Sambuc.else
21f4a2713aSLionel Sambuc.include <bsd.lib.mk>
22f4a2713aSLionel Sambuc.endif
23