Commit f59a2f55 by Ralf Wildenhues Committed by Ralf Wildenhues

maint-tool (deps): Output config.h instead of stamp-h.

libiberty/

	* maint-tool (deps): Output config.h instead of stamp-h.
	* Makefile.in: Rebuild deps.
	(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
	Reverts 2007-07-11 change.

From-SVN: r138110
parent 11522353
2008-07-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* maint-tool (deps): Output config.h instead of stamp-h.
* Makefile.in: Rebuild deps.
(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
Reverts 2007-07-11 change.
2008-06-19 Eric Blake <ebb9@byu.net> 2008-06-19 Eric Blake <ebb9@byu.net>
Adjust strsignal to POSIX 200x prototype. Adjust strsignal to POSIX 200x prototype.
......
...@@ -226,6 +226,7 @@ sub deps { ...@@ -226,6 +226,7 @@ sub deps {
$mine{$f} = "\$(INCDIR)/$f"; $mine{$f} = "\$(INCDIR)/$f";
$deps{$f} = join(' ', &deps_for("$incdir/$f")); $deps{$f} = join(' ', &deps_for("$incdir/$f"));
} }
$mine{'config.h'} = "config.h";
opendir(INC, $srcdir); opendir(INC, $srcdir);
while ($f = readdir INC) { while ($f = readdir INC) {
...@@ -233,8 +234,7 @@ sub deps { ...@@ -233,8 +234,7 @@ sub deps {
$mine{$f} = "\$(srcdir)/$f"; $mine{$f} = "\$(srcdir)/$f";
$deps{$f} = join(' ', &deps_for("$srcdir/$f")); $deps{$f} = join(' ', &deps_for("$srcdir/$f"));
} }
$mine{'config.h'} = "config.h";
$mine{'config.h'} = "stamp-h";
open(IN, "$srcdir/Makefile.in"); open(IN, "$srcdir/Makefile.in");
open(OUT, ">$srcdir/Makefile.tmp"); open(OUT, ">$srcdir/Makefile.tmp");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment