summaryrefslogtreecommitdiff
path: root/external/apache2/llvm/lib/libclangTooling/Makefile
blob: 9085d9d709d2ac3b6c36de5907e2d6529bdb350b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#	$NetBSD: Makefile,v 1.2 2021/05/30 01:56:57 joerg Exp $

LIB=	clangTooling

.include <bsd.init.mk>

.PATH: ${CLANG_SRCDIR}/lib/Tooling

SRCS+=	ArgumentsAdjusters.cpp \
	AllTUsExecution.cpp \
	CommonOptionsParser.cpp \
	CompilationDatabase.cpp \
	Execution.cpp \
	ExpandResponseFilesCompilationDatabase.cpp \
	FileMatchTrie.cpp \
	FixIt.cpp \
	GuessTargetAndModeCompilationDatabase.cpp \
	InterpolatingCompilationDatabase.cpp \
	JSONCompilationDatabase.cpp \
	NodeIntrospection.cpp \
	RefactoringCallbacks.cpp \
	Refactoring.cpp \
	StandaloneExecution.cpp \
	Tooling.cpp

clang/Tooling/NodeIntrospection.inc: ${CLANG_SRCDIR}/lib/Tooling
	mkdir -p ${.TARGET:H}
	${CAT} < ${CLANG_SRCDIR}/lib/Tooling/EmptyNodeIntrospection.inc.in > ${.TARGET}

DPSRCS+=	clang/Tooling/NodeIntrospection.inc
CLEANFILES+=	clang/Tooling/NodeIntrospection.inc

.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif