]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/Makefile.in
Build gdb "nat" files in subdirectory
authorTom Tromey <tom@tromey.com>
Mon, 24 Dec 2018 19:01:34 +0000 (12:01 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 27 Dec 2018 20:15:31 +0000 (13:15 -0700)
commit6987262214a204ea3ab857d86a1faf9f4e66f211
treea1943c2805edb3b185d29619ec9c48c407715496
parentb180d0a254034c14fd540c1b57391bb413f788f7
Build gdb "nat" files in subdirectory

This moves the various "nat" object files into the nat/ subdirectory.
This allows for the removal of a pattern rule from the gdb Makefile,
which is a small cleanup.

I made the configure.nat change in a (semi-) automated way, hopefully
meaning that it is more likely to be correct than had I done it by
hand.

Eventually I would like for the various configure scripts to only
mention source files, and let the Makefile compute the object file
names.

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

* configure.nat (NATDEPFILES): Use nat/ prefix.
* Makefile.in (CONFIG_SRC_SUBDIR): Add nat.
(%.o: ${srcdir}/nat/%.c): Remove rule.
(INIT_FILES): Do not filter out NATDEPFILES.
gdb/ChangeLog
gdb/Makefile.in
gdb/configure.nat