xref: /netbsd-src/external/apache2/llvm/lib/libclangTooling/Makefile (revision 53d1339bf7f9c7367b35a9e1ebe693f9b047a47b)
1*53d1339bSjoerg#	$NetBSD: Makefile,v 1.2 2021/05/30 01:56:57 joerg Exp $
276c7fc5fSjoerg
376c7fc5fSjoergLIB=	clangTooling
476c7fc5fSjoerg
576c7fc5fSjoerg.include <bsd.init.mk>
676c7fc5fSjoerg
776c7fc5fSjoerg.PATH: ${CLANG_SRCDIR}/lib/Tooling
876c7fc5fSjoerg
976c7fc5fSjoergSRCS+=	ArgumentsAdjusters.cpp \
1076c7fc5fSjoerg	AllTUsExecution.cpp \
1176c7fc5fSjoerg	CommonOptionsParser.cpp \
1276c7fc5fSjoerg	CompilationDatabase.cpp \
1376c7fc5fSjoerg	Execution.cpp \
14*53d1339bSjoerg	ExpandResponseFilesCompilationDatabase.cpp \
1576c7fc5fSjoerg	FileMatchTrie.cpp \
1676c7fc5fSjoerg	FixIt.cpp \
1776c7fc5fSjoerg	GuessTargetAndModeCompilationDatabase.cpp \
1876c7fc5fSjoerg	InterpolatingCompilationDatabase.cpp \
1976c7fc5fSjoerg	JSONCompilationDatabase.cpp \
20*53d1339bSjoerg	NodeIntrospection.cpp \
2176c7fc5fSjoerg	RefactoringCallbacks.cpp \
2276c7fc5fSjoerg	Refactoring.cpp \
2376c7fc5fSjoerg	StandaloneExecution.cpp \
2476c7fc5fSjoerg	Tooling.cpp
2576c7fc5fSjoerg
26*53d1339bSjoergclang/Tooling/NodeIntrospection.inc: ${CLANG_SRCDIR}/lib/Tooling
27*53d1339bSjoerg	mkdir -p ${.TARGET:H}
28*53d1339bSjoerg	${CAT} < ${CLANG_SRCDIR}/lib/Tooling/EmptyNodeIntrospection.inc.in > ${.TARGET}
29*53d1339bSjoerg
30*53d1339bSjoergDPSRCS+=	clang/Tooling/NodeIntrospection.inc
31*53d1339bSjoergCLEANFILES+=	clang/Tooling/NodeIntrospection.inc
32*53d1339bSjoerg
3376c7fc5fSjoerg.if defined(HOSTLIB)
3476c7fc5fSjoerg.include <bsd.hostlib.mk>
3576c7fc5fSjoerg.else
3676c7fc5fSjoerg.include <bsd.lib.mk>
3776c7fc5fSjoerg.endif
38