=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/targ.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/make/targ.c 1996/09/02 16:04:20 1.4 +++ src/usr.bin/make/targ.c 1996/11/30 21:09:05 1.5 @@ -1,9 +1,9 @@ -/* $OpenBSD: targ.c,v 1.4 1996/09/02 16:04:20 briggs Exp $ */ -/* $NetBSD: targ.c,v 1.9 1996/08/30 17:59:43 thorpej Exp $ */ +/* $OpenBSD: targ.c,v 1.5 1996/11/30 21:09:05 millert Exp $ */ +/* $NetBSD: targ.c,v 1.10 1996/11/06 17:59:27 christos Exp $ */ /* - * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. - * Copyright (c) 1988, 1989 by Adam de Boor + * Copyright (c) 1988, 1989, 1990, 1993 + * The Regents of the University of California. All rights reserved. * Copyright (c) 1989 by Berkeley Softworks * All rights reserved. * @@ -40,8 +40,11 @@ */ #ifndef lint -/* from: static char sccsid[] = "@(#)targ.c 5.9 (Berkeley) 3/1/91"; */ -static char *rcsid = "$Id: targ.c,v 1.4 1996/09/02 16:04:20 briggs Exp $"; +#if 0 +static char sccsid[] = "@(#)targ.c 8.2 (Berkeley) 3/19/94"; +#else +static char *rcsid = "$OpenBSD: targ.c,v 1.5 1996/11/30 21:09:05 millert Exp $"; +#endif #endif /* not lint */ /*- @@ -274,11 +277,11 @@ /*- *----------------------------------------------------------------------- * Targ_FindList -- - * Make a complete list of GNodes from the given list of names + * Make a complete list of GNodes from the given list of names * * Results: * A complete list of graph nodes corresponding to all instances of all - * the names in names. + * the names in names. * * Side Effects: * If flags is TARG_CREATE, nodes will be created for all names in @@ -395,7 +398,7 @@ /******************* DEBUG INFO PRINTING ****************/ static GNode *mainTarg; /* the main target, as set by Targ_SetMain */ -/*- +/*- *----------------------------------------------------------------------- * Targ_SetMain -- * Set our idea of the main target we'll be creating. Used for @@ -477,7 +480,7 @@ months[parts->tm_mon], parts->tm_mday, 1900 + parts->tm_year); return(buf); } - + /*- *----------------------------------------------------------------------- * Targ_PrintType -- @@ -495,7 +498,7 @@ register int type; { register int tbit; - + #ifdef __STDC__ #define PRINTBIT(attr) case CONCAT(OP_,attr): printf("." #attr " "); break #define PRINTDBIT(attr) case CONCAT(OP_,attr): if (DEBUG(TARG)) printf("." #attr " "); break @@ -582,7 +585,7 @@ Lst_ForEach (gn->parents, TargPrintName, (ClientData)0); fputc ('\n', stdout); } - + printf("%-16s", gn->name); switch (gn->type & OP_OPMASK) { case OP_DEPENDS: