diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2024-02-08 20:28:55 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2024-02-08 20:28:55 +0000 |
commit | fa0db14a4595cffa2f5e2169461265acd8c4714e (patch) | |
tree | f43d285971ad899f361a23eacf2309e8288a5e6d /gnu/usr.bin | |
parent | 74f508cd641d1c66166e4e24341defcd910aeeb7 (diff) |
Feed more generated files to the clean target; joint work with naddy@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 11 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile | 5 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMIRPrinter/Makefile | 4 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMInstrumentation/Makefile | 4 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMObject/Makefile | 5 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libclangAST/Makefile | 4 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libclangBasic/Makefile | 3 | ||||
-rw-r--r-- | gnu/usr.bin/clang/liblldCommon/Makefile | 3 | ||||
-rw-r--r-- | gnu/usr.bin/clang/lldb-server/Makefile | 3 | ||||
-rw-r--r-- | gnu/usr.bin/clang/lldb/Makefile | 3 |
10 files changed, 32 insertions, 13 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 4260536c91e..38588fa3a1b 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -1,5 +1,5 @@ # $FreeBSD: src/gnu/usr.bin/cc/cc_tools/Makefile,v 1.88.8.1 2009/04/15 03:14:26 kensmith Exp $ -# $OpenBSD: Makefile,v 1.18 2017/07/19 12:50:32 espie Exp $ +# $OpenBSD: Makefile,v 1.19 2024/02/08 20:28:54 miod Exp $ .include <bsd.own.mk> @@ -390,11 +390,12 @@ gengtype-yacc+%DIKED.c: gengtype-yacc.c ${.ALLSRC} > ${.TARGET} GENSRCS+= gengtype-lex.c gengtype-yacc.h gengtype-yacc+%DIKED.c -CLEANFILES+= gengtype-yacc.c +CLEANFILES+= gengtype-yacc.c gengtype-lex.d gengtype-yacc+%DIKED.d gengtype: gengtype.o gengtype-yacc+%DIKED.o gengtype-lex.o errors.o \ ${LIBIBERTY} ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} +CLEANFILES+= gengtype.d gtype-desc.h: gengtype ./gengtype @@ -411,17 +412,23 @@ CLEANFILES+= gt-*.h gtype-*.h .for F in check checksum genrtl modes gen$F: gen$F.o errors.o ${LIBIBERTY} ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} +CLEANFILES+= gen$F.d .endfor +CLEANFILES+= errors.d .for F in attr attrtab automata codes conditions config constants emit \ extract flags opinit output peep preds recog gen$F: gen$F.o rtl.o read-rtl.o ggc-none.o vec.o min-insn-modes.o \ gensupport.o print-rtl.o errors.o ${LIBIBERTY} ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} -lm +CLEANFILES+= gen$F.d .endfor +CLEANFILES+= rtl.d read-rtl.d ggc-none.d vec.d min-insn-modes.d \ + gensupport.d print-rtl.d gencondmd: gencondmd.o ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} +CLEANFILES+= gencondmd.d # # Generated .md files. 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 $@ |