summaryrefslogtreecommitdiff
path: root/external/apache2/llvm/lib/libLLVMFileCheck/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2021-05-30 01:56:44 +0000
committerjoerg <joerg@NetBSD.org>2021-05-30 01:56:44 +0000
commit40e3ea6a478c9261e8967dea4f3f31b847b90672 (patch)
treed96e2db8092ebdf41789ea57e76759fba417196d /external/apache2/llvm/lib/libLLVMFileCheck/Makefile
parent49fa550c02ab2afecb85b328f092b03626b3e83a (diff)
Update LLVM build system for 249b40b558955afe5ac2b549edcf2d7f859c8cc9
This enables the use of modules for a significant build performance gain when building with clang as host compiler or when using HAVE_LLVM=yes. Switch libc++ to using the copy from the mono-repo.
Diffstat (limited to 'external/apache2/llvm/lib/libLLVMFileCheck/Makefile')
-rw-r--r--external/apache2/llvm/lib/libLLVMFileCheck/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/external/apache2/llvm/lib/libLLVMFileCheck/Makefile b/external/apache2/llvm/lib/libLLVMFileCheck/Makefile
new file mode 100644
index 00000000000..df0c2012378
--- /dev/null
+++ b/external/apache2/llvm/lib/libLLVMFileCheck/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2021/05/30 01:56:52 joerg Exp $
+
+LIB= LLVMFileCheck
+
+.include <bsd.init.mk>
+
+.PATH: ${LLVM_SRCDIR}/lib/FileCheck
+
+SRCS+= FileCheck.cpp
+
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
+.include <bsd.lib.mk>
+.endif