Changeset 1989 in kBuild for vendor/gnumake/current/file.c
- Timestamp:
- Oct 28, 2008 11:02:45 PM (16 years ago)
- File:
-
- 1 edited
-
vendor/gnumake/current/file.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vendor/gnumake/current/file.c
r900 r1989 1 1 /* Target file management for GNU Make. 2 2 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 3 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software3 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software 4 4 Foundation, Inc. 5 5 This file is part of GNU Make. … … 7 7 GNU Make is free software; you can redistribute it and/or modify it under the 8 8 terms of the GNU General Public License as published by the Free Software 9 Foundation; either version 2, or (at your option) any later version. 9 Foundation; either version 3 of the License, or (at your option) any later 10 version. 10 11 11 12 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY … … 14 15 15 16 You should have received a copy of the GNU General Public License along with 16 GNU Make; see the file COPYING. If not, write to the Free Software 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ 17 this program. If not, see <http://www.gnu.org/licenses/>. */ 18 18 19 19 #include "make.h" … … 257 257 if (to_file->cmds->fileinfo.filenm != 0) 258 258 error (&from_file->cmds->fileinfo, 259 _(" Commands werespecified for file `%s' at %s:%lu,"),259 _("Recipe was specified for file `%s' at %s:%lu,"), 260 260 from_file->name, to_file->cmds->fileinfo.filenm, 261 261 to_file->cmds->fileinfo.lineno); 262 262 else 263 263 error (&from_file->cmds->fileinfo, 264 _(" Commands for file `%s' werefound by implicit rule search,"),264 _("Recipe for file `%s' was found by implicit rule search,"), 265 265 from_file->name); 266 266 error (&from_file->cmds->fileinfo, … … 268 268 from_file->name, to_hname); 269 269 error (&from_file->cmds->fileinfo, 270 _(" Commands for `%s' will be ignored in favor of those for `%s'."),270 _("Recipe for `%s' will be ignored in favor of the one for `%s'."), 271 271 to_hname, from_file->name); 272 272 } … … 362 362 /* Is this file eligible for automatic deletion? 363 363 Yes, IFF: it's marked intermediate, it's not secondary, it wasn't 364 given on the command -line, and it's either a -include makefile or364 given on the command line, and it's either a -include makefile or 365 365 it's not precious. */ 366 366 if (f->intermediate && (f->dontcare || !f->precious) … … 487 487 p = variable_expand (""); 488 488 variable_buffer_output (p, d->name, strlen (d->name) + 1); 489 p = variable_buffer; 489 490 } 490 491 else … … 499 500 o = subst_expand (buffer, d->name, "%", "$*", 1, 2, 0); 500 501 501 d->name = strcache_add_len (buffer, o - buffer); 502 d->name = strcache_add_len (variable_buffer, 503 o - variable_buffer); 502 504 d->staticpattern = 0; /* Clear staticpattern so that we don't 503 505 re-expand %s below. */ … … 901 903 puts (_("# Phony target (prerequisite of .PHONY).")); 902 904 if (f->cmd_target) 903 puts (_("# Command -line target."));905 puts (_("# Command line target.")); 904 906 if (f->dontcare) 905 907 puts (_("# A default, MAKEFILES, or -include/sinclude makefile.")); … … 935 937 { 936 938 case cs_running: 937 puts (_("# Commandscurrently running (THIS IS A BUG)."));939 puts (_("# Recipe currently running (THIS IS A BUG).")); 938 940 break; 939 941 case cs_deps_running: 940 puts (_("# Dependencies commandsrunning (THIS IS A BUG)."));942 puts (_("# Dependencies recipe running (THIS IS A BUG).")); 941 943 break; 942 944 case cs_not_started:
Note:
See TracChangeset
for help on using the changeset viewer.

