]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/Makefile.in
Make init.c depend on source files
authorTom Tromey <tom@tromey.com>
Mon, 24 Dec 2018 18:44:10 +0000 (11:44 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 27 Dec 2018 20:15:31 +0000 (13:15 -0700)
commitb180d0a254034c14fd540c1b57391bb413f788f7
treeef5d5780cca45313c3b1689c36b57a96e78f8d51
parentc88c222e3c01e3f936455dca59f486e310d12f69
Make init.c depend on source files

I noticed that init.c depends on the object files that go into gdb.
Because init.c actually only requires the contents of the
corresponding source files, this unnecessarily serializes the step
that builds init.c.

This patch changes gdb's Makefile to make init.c depend on the source
files.  This also simplifies the rule to build init.c.

gdb/ChangeLog
2018-12-27  Tom Tromey  <tom@tromey.com>

* Makefile.in (INIT_FILES): Redefine.
(stamp-init): Remove sed, tr invocations.  Use for loop.  Don't
set LANG or LC_ALL.
gdb/ChangeLog
gdb/Makefile.in