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 | |
parent | 74f508cd641d1c66166e4e24341defcd910aeeb7 (diff) |
Feed more generated files to the clean target; joint work with naddy@
-rw-r--r-- | games/hack/Makefile | 4 | ||||
-rw-r--r-- | games/monop/Makefile | 4 | ||||
-rw-r--r-- | games/phantasia/Makefile | 4 | ||||
-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 | ||||
-rw-r--r-- | lib/libcurses/Makefile | 6 | ||||
-rw-r--r-- | usr.sbin/mrouted/Makefile | 4 |
15 files changed, 43 insertions, 24 deletions
diff --git a/games/hack/Makefile b/games/hack/Makefile index 64f39445c06..ed30427bf86 100644 --- a/games/hack/Makefile +++ b/games/hack/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.17 2019/04/05 09:02:27 bentley Exp $ +# $OpenBSD: Makefile,v 1.18 2024/02/08 20:28:53 miod Exp $ PROG= hack CFLAGS+=-I. @@ -16,7 +16,7 @@ SRCS+= alloc.c hack.Decl.c hack.apply.c hack.bones.c hack.c hack.cmd.c \ MAN= hack.6 DPADD+= ${LIBCURSES} LDADD+= -lcurses -CLEANFILES+=hack.onames.h makedefs +CLEANFILES+=hack.onames.h makedefs makedefs.d BUILDFIRST = hack.onames.h diff --git a/games/monop/Makefile b/games/monop/Makefile index da93f0bff5b..bc331c6b884 100644 --- a/games/monop/Makefile +++ b/games/monop/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.7 2002/05/23 18:43:00 deraadt Exp $ +# $OpenBSD: Makefile,v 1.8 2024/02/08 20:28:53 miod Exp $ PROG= monop SRCS= monop.c cards.c execute.c getinp.c houses.c jail.c misc.c morg.c \ print.c prop.c rent.c roll.c spec.c trade.c MAN= monop.6 -CLEANFILES+=initdeck cards.pck +CLEANFILES+=initdeck initdeck.d cards.pck monop: cards.pck diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile index af9c7da959e..56967cc222d 100644 --- a/games/phantasia/Makefile +++ b/games/phantasia/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.19 2022/07/11 03:11:49 daniel Exp $ +# $OpenBSD: Makefile,v 1.20 2024/02/08 20:28:54 miod Exp $ PROG= phantasia SRCS= main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c @@ -6,7 +6,7 @@ CFLAGS+=-DTERMIOS DPADD= ${LIBM} ${LIBCURSES} LDADD= -lm -lcurses MAN= phantasia.6 -CLEANFILES+=map setup setup.o phantglobs.o.bld +CLEANFILES+=map setup setup.d setup.o phantglobs.d phantglobs.o.bld all: setup phantasia 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 $@ diff --git a/lib/libcurses/Makefile b/lib/libcurses/Makefile index 027a876ea4d..be6b83d6c67 100644 --- a/lib/libcurses/Makefile +++ b/lib/libcurses/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.75 2023/10/17 09:52:08 nicm Exp $ +# $OpenBSD: Makefile,v 1.76 2024/02/08 20:28:54 miod Exp $ LIB= curses @@ -72,12 +72,12 @@ MAN= curs_add_wch.3 curs_add_wchstr.3 curs_addch.3 curs_addchstr.3 \ wresize.3 GENERATED= codes.c comp_captab.c comp_userdefs.c expanded.c fallback.c \ init_keytry.h keys.list lib_gen.c lib_keyname.c make_hash make_keys \ - names.c + names.c unctrl.c CAPLIST = ${.CURDIR}/Caps USE_BIG_STRINGS = 1 -CLEANFILES+= ${GENERATED} +CLEANFILES+= ${GENERATED} make_hash.d make_keys.d BUILDFIRST = ${GENERATED} diff --git a/usr.sbin/mrouted/Makefile b/usr.sbin/mrouted/Makefile index 9bfd3ccd546..72821714934 100644 --- a/usr.sbin/mrouted/Makefile +++ b/usr.sbin/mrouted/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2015/10/26 10:34:19 tedu Exp $ +# $OpenBSD: Makefile,v 1.8 2024/02/08 20:28:54 miod Exp $ PROG= mrouted SRCS= callout.c cfparse.c config.c igmp.c inet.c kern.c main.c prune.c \ @@ -7,6 +7,6 @@ MAN= mrouted.8 CFLAGS+=-I${.CURDIR} -CLEANFILES+= cfparse.c y.tab.h +CLEANFILES+= cfparse.c cfparse.h y.tab.h .include <bsd.prog.mk> |