Changeset 1989 in kBuild for vendor/gnumake/current/remake.c
- Timestamp:
- Oct 28, 2008 11:02:45 PM (16 years ago)
- File:
-
- 1 edited
-
vendor/gnumake/current/remake.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vendor/gnumake/current/remake.c
r900 r1989 1 1 /* Basic dependency engine 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" … … 464 464 && default_file != 0 && default_file->cmds != 0) 465 465 { 466 DBF (DB_IMPLICIT, _("Using default commandsfor `%s'.\n"));466 DBF (DB_IMPLICIT, _("Using default recipe for `%s'.\n")); 467 467 file->cmds = default_file->cmds; 468 468 } … … 715 715 must_make = 0; 716 716 DBF (DB_VERBOSE, 717 _("No commandsfor `%s' and no prerequisites actually changed.\n"));717 _("No recipe for `%s' and no prerequisites actually changed.\n")); 718 718 } 719 719 else if (!must_make && file->cmds != 0 && always_make_flag) … … 765 765 if (file->command_state != cs_finished) 766 766 { 767 DBF (DB_VERBOSE, _(" Commands of `%s' arebeing run.\n"));767 DBF (DB_VERBOSE, _("Recipe of `%s' is being run.\n")); 768 768 return 0; 769 769 } … … 988 988 file on whose behalf we are checking. */ 989 989 struct dep *lastd; 990 int deps_running = 0; 991 992 /* Reset this target's state so that we check it fresh. It could be 993 that it's already been checked as part of an order-only 994 prerequisite and so wasn't rebuilt then, but should be now. */ 995 set_command_state (file, cs_not_started); 990 996 991 997 lastd = 0; … … 1026 1032 if (d->file->command_state == cs_running 1027 1033 || d->file->command_state == cs_deps_running) 1028 /* Record that some of FILE's deps are still being made. 1029 This tells the upper levels to wait on processing it until 1030 the commands are finished. */ 1031 set_command_state (file, cs_deps_running); 1034 deps_running = 1; 1032 1035 1033 1036 lastd = d; 1034 1037 d = d->next; 1035 1038 } 1039 1040 if (deps_running) 1041 /* Record that some of FILE's deps are still being made. 1042 This tells the upper levels to wait on processing it until the 1043 commands are finished. */ 1044 set_command_state (file, cs_deps_running); 1036 1045 } 1037 1046 } … … 1302 1311 + ((FILE_TIMESTAMP_NS (mtime) - FILE_TIMESTAMP_NS (now)) 1303 1312 / 1e9)); 1304 error (NILF, _("Warning: File `%s' has modification time %.2g s in the future"), 1305 file->name, from_now); 1313 char from_now_string[100]; 1314 1315 if (from_now >= 99 && from_now <= ULONG_MAX) 1316 sprintf (from_now_string, "%lu", (unsigned long) from_now); 1317 else 1318 sprintf (from_now_string, "%.2g", from_now); 1319 error (NILF, _("Warning: File `%s' has modification time %s s in the future"), 1320 file->name, from_now_string); 1306 1321 #endif 1307 1322 clock_skew_detected = 1;
Note:
See TracChangeset
for help on using the changeset viewer.

