1# $NetBSD: Makefile,v 1.2 2021/05/30 01:56:56 joerg Exp $ 2 3LIB= clangFormat 4 5.include <bsd.init.mk> 6 7.PATH: ${CLANG_SRCDIR}/lib/Format 8 9SRCS+= AffectedRangeManager.cpp \ 10 BreakableToken.cpp \ 11 ContinuationIndenter.cpp \ 12 Format.cpp \ 13 FormatToken.cpp \ 14 FormatTokenLexer.cpp \ 15 MacroExpander.cpp \ 16 NamespaceEndCommentsFixer.cpp \ 17 SortJavaScriptImports.cpp \ 18 TokenAnalyzer.cpp \ 19 TokenAnnotator.cpp \ 20 UnwrappedLineFormatter.cpp \ 21 UnwrappedLineParser.cpp \ 22 UsingDeclarationsSorter.cpp \ 23 WhitespaceManager.cpp 24 25.if defined(HOSTLIB) 26.include <bsd.hostlib.mk> 27.else 28.include <bsd.lib.mk> 29.endif 30