summaryrefslogtreecommitdiff
path: root/implicit.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-01-06 22:57:30 +0000
committerRoland McGrath <roland@redhat.com>1993-01-06 22:57:30 +0000
commit1632e7feb311504a1850b97dcfe2d732adc3f0e8 (patch)
treec0858e3e7bebb874118c59615beeaa24f645c252 /implicit.c
parent9403ef9942c7a3d876b3738b2efb42cc72632bdb (diff)
downloadgunmake-1632e7feb311504a1850b97dcfe2d732adc3f0e8.tar.gz
Formerly implicit.c.~8~
Diffstat (limited to 'implicit.c')
-rw-r--r--implicit.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/implicit.c b/implicit.c
index a9dc3d8..7fdf88d 100644
--- a/implicit.c
+++ b/implicit.c
@@ -1,5 +1,5 @@
/* Implicit rule searching for GNU Make.
-Copyright (C) 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@@ -176,7 +176,7 @@ pattern_search (file, archive, depth, recursions)
don't use it here. */
if (rule->in_use)
{
- DEBUGP2 ("Avoiding implicit rule recursion.\n", 0, 0);
+ DEBUGP2 ("Avoiding implicit rule recursion.%s%s\n", "", "");
continue;
}
@@ -317,7 +317,7 @@ pattern_search (file, archive, depth, recursions)
}
DEBUGP2 ("Trying pattern rule with stem `%.*s'.\n",
- stemlen, stem);
+ (int) stemlen, stem);
/* Try each dependency; see if it "exists". */
@@ -364,7 +364,7 @@ pattern_search (file, archive, depth, recursions)
DEBUGP2 ("Trying %s dependency `%s'.\n",
p == depname ? "implicit" : "rule", p);
- if (!rule->subdir && lookup_file (p) != 0 || file_exists_p (p))
+ if (!rule->subdir && (lookup_file (p) != 0 || file_exists_p (p)))
{
found_files[deps_found++] = savestring (p, strlen (p));
continue;
@@ -373,7 +373,7 @@ pattern_search (file, archive, depth, recursions)
"lib/foo.c", and VPATH=src, searches for "src/lib/foo.c". */
if (vpath_search (&p))
{
- DEBUGP2 ("Found dependent as `%s'.\n", p, 0);
+ DEBUGP2 ("Found dependency as `%s'.%s\n", p, "");
found_files[deps_found++] = p;
continue;
}
@@ -388,8 +388,8 @@ pattern_search (file, archive, depth, recursions)
intermediate_file
= (struct file *) alloca (sizeof (struct file));
- DEBUGP2 ("Looking for a rule with intermediate file `%s'.\n",
- p, 0);
+ DEBUGP2 ("Looking for a rule with %s file `%s'.\n",
+ "intermediate", p);
bzero ((char *) intermediate_file, sizeof (struct file));
intermediate_file->name = p;