Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/stand I've been informed that any dependent ta...
details: https://anonhg.NetBSD.org/src/rev/4d3f83988ea5
branches: trunk
changeset: 555679:4d3f83988ea5
user: he <he%NetBSD.org@localhost>
date: Mon Nov 24 23:29:54 2003 +0000
description:
I've been informed that any dependent targets on .BEGIN are
ignored. Fix the symlink creation for machine, mips, and pmax
accordingly.
Also, there's nothing .PHONY about the vers.c target, as far as I
can see, so I've removed that.
diffstat:
sys/arch/pmax/stand/Makefile.booters | 21 ++++++++-------------
1 files changed, 8 insertions(+), 13 deletions(-)
diffs (42 lines):
diff -r decbdeed9835 -r 4d3f83988ea5 sys/arch/pmax/stand/Makefile.booters
--- a/sys/arch/pmax/stand/Makefile.booters Mon Nov 24 23:24:18 2003 +0000
+++ b/sys/arch/pmax/stand/Makefile.booters Mon Nov 24 23:29:54 2003 +0000
@@ -1,22 +1,18 @@
-# $NetBSD: Makefile.booters,v 1.42 2003/10/26 07:25:37 lukem Exp $
+# $NetBSD: Makefile.booters,v 1.43 2003/11/24 23:29:54 he Exp $
.include <bsd.sys.mk> # for HOST_SH
# $S must correspond to the top of the 'sys' tree
S= ${.CURDIR}/../../../..
-.BEGIN: machine pmax mips
-${PROG} realdepend realall: machine pmax mips
+.if !make(obj) && !make(clean) && !make(cleandir)
+.BEGIN:
+ @[ -h machine ] || ln -s $S/arch/${MACHINE}/include machine
+ @[ -h pmax ] || ln -s $S/arch/${MACHINE}/include pmax
+ @[ -h mips ] || ln -s $S/arch/mips/include mips
+.NOPATH: machine pmax mips
+.endif
CLEANFILES+= machine pmax mips
-machine:
- -rm -f ${.TARGET}
- ln -s $S/arch/${MACHINE}/include ${.TARGET}
-pmax:
- -rm -f ${.TARGET}
- ln -s $S/arch/${MACHINE}/include ${.TARGET}
-mips:
- -rm -f ${.TARGET}
- ln -s $S/arch/mips/include mips
BINMODE?= 444
@@ -111,7 +107,6 @@
.include <bsd.own.mk>
-.PHONY: vers.c
vers.c: ${.CURDIR}/version
${HOST_SH} ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "pmax"
Home |
Main Index |
Thread Index |
Old Index