Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/crunch/crunchgen Add a .WAIT to ensure that all the ...



details:   https://anonhg.NetBSD.org/src/rev/9a2ae8a39772
branches:  trunk
changeset: 547141:9a2ae8a39772
user:      dsl <dsl%NetBSD.org@localhost>
date:      Wed May 14 11:20:01 2003 +0000

description:
Add a .WAIT to ensure that all the program objects are built before
trying to build the crunched binary.
Might fix toolchain/21563

diffstat:

 usr.bin/crunch/crunchgen/crunchgen.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8f5e62138bbb -r 9a2ae8a39772 usr.bin/crunch/crunchgen/crunchgen.c
--- a/usr.bin/crunch/crunchgen/crunchgen.c      Wed May 14 10:09:49 2003 +0000
+++ b/usr.bin/crunch/crunchgen/crunchgen.c      Wed May 14 11:20:01 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crunchgen.c,v 1.45 2003/05/09 12:10:15 dsl Exp $       */
+/*     $NetBSD: crunchgen.c,v 1.46 2003/05/14 11:20:01 dsl Exp $       */
 /*
  * Copyright (c) 1994 University of Maryland
  * All Rights Reserved.
@@ -33,7 +33,7 @@
  */
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: crunchgen.c,v 1.45 2003/05/09 12:10:15 dsl Exp $");
+__RCSID("$NetBSD: crunchgen.c,v 1.46 2003/05/14 11:20:01 dsl Exp $");
 #endif
 
 #if HAVE_CONFIG_H
@@ -857,7 +857,7 @@
 
     fprintf(outmk, "PROG=%s\n\n", execfname);
     
-    fprintf(outmk, "all: ${SUBMAKE_TARGETS} ${PROG}.strip\n");
+    fprintf(outmk, "all: ${SUBMAKE_TARGETS} .WAIT ${PROG}.strip\n");
     fprintf(outmk, "${PROG}.strip:\n");
     fprintf(outmk, "\t${MAKE} -f ${PROG}.mk ${PROG}\n");
     fprintf(outmk, "\t[ -f ${PROG}.stripped -a ! ${PROG} -nt ${PROG}.stripped ] || { \\\n");



Home | Main Index | Thread Index | Old Index