PR/9567: Arne H. Juul: .BEGIN targets should not use dependencies.

This commit is contained in:
christos 2005-05-01 00:31:23 +00:00
parent 5283bc3d82
commit db24f1bda4
3 changed files with 6 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.booters,v 1.58 2004/09/06 23:41:21 thorpej Exp $
# $NetBSD: Makefile.booters,v 1.59 2005/05/01 00:31:23 christos Exp $
.include <bsd.own.mk>
@ -50,11 +50,10 @@ CLEANFILES+= ${STARTFILE} vers.c ${BASE}.list
SRCS+= vers.c
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN: machine x86 lib
.NOPATH: machine x86
.endif
realdepend realall: machine x86 lib
depend realall: machine x86 lib
CLEANFILES+= machine x86
machine:: x86

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2003/04/19 07:34:15 tsutsui Exp $
# $NetBSD: Makefile,v 1.18 2005/05/01 00:32:53 christos Exp $
NOMAN= # defined
@ -30,9 +30,8 @@ CLEANFILES+= ${PROG}.sym machine m68k
L= ${COMMONOBJ}/lib
LIBS= ${L}/sa/libsa.a ${L}/kern/libkern.a ${L}/z/libz.a
.BEGIN: machine m68k
.NOPATH: machine m68k
realdepend realall: machine m68k
depend realall: machine m68k
machine::
-rm -f $@

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2002/05/20 14:05:22 lukem Exp $
# $NetBSD: Makefile,v 1.11 2005/05/01 00:33:37 christos Exp $
NOMAN= # defined
@ -32,9 +32,8 @@ CLEANFILES+= machine m68k ${PROG}.sym
L= ${COMMONOBJ}/lib
LIBS= ${L}/sa/libsa.a ${L}/kern/libkern.a
.BEGIN: machine m68k
.NOPATH: machine m68k
realdepend realall: machine m68k
depend realall: machine m68k
machine::
-rm -f $@