summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/clang
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/clang')
-rw-r--r--gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile5
-rw-r--r--gnu/usr.bin/clang/libLLVMIRPrinter/Makefile4
-rw-r--r--gnu/usr.bin/clang/libLLVMInstrumentation/Makefile4
-rw-r--r--gnu/usr.bin/clang/libLLVMObject/Makefile5
-rw-r--r--gnu/usr.bin/clang/libclangAST/Makefile4
-rw-r--r--gnu/usr.bin/clang/libclangBasic/Makefile3
-rw-r--r--gnu/usr.bin/clang/liblldCommon/Makefile3
-rw-r--r--gnu/usr.bin/clang/lldb-server/Makefile3
-rw-r--r--gnu/usr.bin/clang/lldb/Makefile3
9 files changed, 23 insertions, 11 deletions
diff --git a/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile b/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile
index 00f8e0d83bf..c26908eb05c 100644
--- a/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile
+++ b/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2023/11/11 18:35:37 robert Exp $
+# $OpenBSD: Makefile,v 1.9 2024/02/08 20:28:54 miod Exp $
LIB= LLVMExecutionEngine
NOPROFILE=
@@ -143,6 +143,7 @@ ExecutionEngineELF.cpp:
.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/RuntimeDyld
.PATH: ${.CURDIR}/../../../llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets
-CLEANFILES+= ExecutionEngineCore.cpp \
+CLEANFILES+= ExecutionEngineCOFF.cpp \
+ ExecutionEngineCore.cpp \
ExecutionEngineMachO.cpp \
ExecutionEngineELF.cpp
diff --git a/gnu/usr.bin/clang/libLLVMIRPrinter/Makefile b/gnu/usr.bin/clang/libLLVMIRPrinter/Makefile
index aec7f1d2d62..04344a6a3e3 100644
--- a/gnu/usr.bin/clang/libLLVMIRPrinter/Makefile
+++ b/gnu/usr.bin/clang/libLLVMIRPrinter/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2023/11/11 18:35:37 robert Exp $
+# $OpenBSD: Makefile,v 1.2 2024/02/08 20:28:54 miod Exp $
LIB= LLVMIRPrinter
NOPROFILE=
@@ -9,3 +9,5 @@ IRPrinterIRPrintingPasses.cpp:
ln -s ${LLVM_SRCS}/lib/IRPrinter/IRPrintingPasses.cpp $@
.PATH: ${.CURDIR}/../../../llvm/llvm/lib/IRPrinter
+
+CLEANFILES+= IRPrinterIRPrintingPasses.cpp
diff --git a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile
index 553fcd132f2..2aa80f12888 100644
--- a/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile
+++ b/gnu/usr.bin/clang/libLLVMInstrumentation/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2023/11/11 18:35:37 robert Exp $
+# $OpenBSD: Makefile,v 1.13 2024/02/08 20:28:54 miod Exp $
LIB= LLVMInstrumentation
NOPROFILE=
@@ -31,3 +31,5 @@ InstrumentationSanitizerBinaryMetadata.cpp:
ln -s ${LLVM_SRCS}/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp $@
.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Transforms/Instrumentation
+
+CLEANFILES+= InstrumentationSanitizerBinaryMetadata.cpp
diff --git a/gnu/usr.bin/clang/libLLVMObject/Makefile b/gnu/usr.bin/clang/libLLVMObject/Makefile
index 99d51b51b31..2e0ffebef45 100644
--- a/gnu/usr.bin/clang/libLLVMObject/Makefile
+++ b/gnu/usr.bin/clang/libLLVMObject/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:37 robert Exp $
+# $OpenBSD: Makefile,v 1.12 2024/02/08 20:28:54 miod Exp $
LIB= LLVMObject
NOPROFILE=
@@ -53,4 +53,5 @@ ObjectMinidump.cpp:
.PATH: ${.CURDIR}/../../../llvm/llvm/lib/Object
-CLEANFILES+= ObjectELF.cpp ObjectError.cpp ObjectMinidump.cpp
+CLEANFILES+= ObjectDXContainer.cpp ObjectELF.cpp ObjectError.cpp \
+ ObjectMinidump.cpp
diff --git a/gnu/usr.bin/clang/libclangAST/Makefile b/gnu/usr.bin/clang/libclangAST/Makefile
index c0977efd502..1926ad66673 100644
--- a/gnu/usr.bin/clang/libclangAST/Makefile
+++ b/gnu/usr.bin/clang/libclangAST/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2023/11/11 18:35:38 robert Exp $
+# $OpenBSD: Makefile,v 1.11 2024/02/08 20:28:54 miod Exp $
LIB= clangAST
NOPIC=
@@ -121,6 +121,8 @@ SRCS+= ByteCodeEmitter.cpp \
BUILDFIRST= AttrDocTable.inc \
Opcodes.inc
+CLEANFILES+= AttrDocTable.inc \
+ Opcodes.inc
AttrDocTable.inc:
${TBLGEN} -I${CLANG_INC} -gen-clang-attr-doc-table ${CLANG_INC}/clang/Basic/Attr.td \
diff --git a/gnu/usr.bin/clang/libclangBasic/Makefile b/gnu/usr.bin/clang/libclangBasic/Makefile
index 7b8158fac6e..622757ebe39 100644
--- a/gnu/usr.bin/clang/libclangBasic/Makefile
+++ b/gnu/usr.bin/clang/libclangBasic/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2023/11/11 18:35:38 robert Exp $
+# $OpenBSD: Makefile,v 1.12 2024/02/08 20:28:54 miod Exp $
LIB= clangBasic
NOPIC=
@@ -85,6 +85,7 @@ SRCS+= AArch64.cpp \
.PATH: ${.CURDIR}/../../../llvm/clang/lib/Basic/Targets
BUILDFIRST= VCSVersion.inc
+CLEANFILES+= VCSVersion.inc
VCSVersion.inc:
touch $@
diff --git a/gnu/usr.bin/clang/liblldCommon/Makefile b/gnu/usr.bin/clang/liblldCommon/Makefile
index 56b43b2b3a6..53ea8a24d13 100644
--- a/gnu/usr.bin/clang/liblldCommon/Makefile
+++ b/gnu/usr.bin/clang/liblldCommon/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2023/11/11 18:35:39 robert Exp $
+# $OpenBSD: Makefile,v 1.6 2024/02/08 20:28:54 miod Exp $
LIB= lldCommon
NOPROFILE=
@@ -22,6 +22,7 @@ SRCS= Args.cpp \
.PATH: ${.CURDIR}/../../../llvm/lld/Common
BUILDFIRST= VCSVersion.inc
+CLEANFILES+= VCSVersion.inc
VCSVersion.inc:
touch $@
diff --git a/gnu/usr.bin/clang/lldb-server/Makefile b/gnu/usr.bin/clang/lldb-server/Makefile
index c6347ab73ff..aa3bd981c67 100644
--- a/gnu/usr.bin/clang/lldb-server/Makefile
+++ b/gnu/usr.bin/clang/lldb-server/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2023/11/11 18:35:40 robert Exp $
+# $OpenBSD: Makefile,v 1.11 2024/02/08 20:28:54 miod Exp $
.include <bsd.own.mk>
@@ -74,6 +74,7 @@ LLVM_LIBDEPS= clangAST \
lldbUtility
BUILDFIRST= VCSVersion.inc LLGSOptions.inc
+CLEANFILES+= VCSVersion.inc LLGSOptions.inc
VCSVersion.inc:
touch $@
diff --git a/gnu/usr.bin/clang/lldb/Makefile b/gnu/usr.bin/clang/lldb/Makefile
index 9b4fc859b7d..31a1ffc7b8b 100644
--- a/gnu/usr.bin/clang/lldb/Makefile
+++ b/gnu/usr.bin/clang/lldb/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.15 2023/11/11 18:35:40 robert Exp $
+# $OpenBSD: Makefile,v 1.16 2024/02/08 20:28:54 miod Exp $
.include <bsd.own.mk>
@@ -82,6 +82,7 @@ Options.inc: Options.td
-o ${.TARGET} ${.ALLSRC}
BUILDFIRST= VCSVersion.inc
+CLEANFILES+= Options.inc VCSVersion.inc
VCSVersion.inc:
touch $@