summaryrefslogtreecommitdiffstats
path: root/atc
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2003-08-01 17:03:41 +0000
committerlukem <lukem@NetBSD.org>2003-08-01 17:03:41 +0000
commit777ce12ba55c91d9e55aeaace852e7eadac41c70 (patch)
tree4cf28dd4e412aa91b42155a1ab0a5f50926fe0f0 /atc
parentdc8899773571950d90fea6b3683f4189d25d5472 (diff)
downloadbsdgames-darwin-777ce12ba55c91d9e55aeaace852e7eadac41c70.tar.gz
bsdgames-darwin-777ce12ba55c91d9e55aeaace852e7eadac41c70.tar.zst
bsdgames-darwin-777ce12ba55c91d9e55aeaace852e7eadac41c70.zip
Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES. This is a change of behaviour. If a Makefile wants the clean semantics it must specifically append to CLEANFILES. Resolves PR toolchain/5204. * To recap: .d (depend) files are generated for all files in SRCS and DPSRCS that have a suffix of: .c .m .s .S .C .cc .cpp .cxx * If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES * Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS} * Deprecate the (short lived) DEPENDSRCS Update the various Makefiles to these new semantics; generally either adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing specific .o dependencies with DPSRCS entries. Tested with "make -j 8 distribution" and "make distribution".
Diffstat (limited to 'atc')
-rw-r--r--atc/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/atc/Makefile b/atc/Makefile
index ad5efc6e..5adc5e40 100644
--- a/atc/Makefile
+++ b/atc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 1999/07/17 19:57:03 hubertf Exp $
+# $NetBSD: Makefile,v 1.23 2003/08/01 17:03:42 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk>
@@ -22,6 +22,4 @@ FILESDIR=/usr/share/games/atc
FILESMODE=444
.endif
-lex.o: grammar.h
-
.include <bsd.prog.mk>