public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFA 00/13] Makefile simplifications and subdirification
@ 2017-11-21 22:10 Tom Tromey
  2017-11-21 22:10 ` [RFA 05/13] Move tui object files to tui subdirectory Tom Tromey
                   ` (13 more replies)
  0 siblings, 14 replies; 21+ messages in thread
From: Tom Tromey @ 2017-11-21 22:10 UTC (permalink / raw)
  To: gdb-patches

This is a follow-on to Yao's earlier patch to move some object files
to subdirectories.

This first changes the approach to making such subdirectories, to make
it simpler on subsequent patches.  Then it moves object files to
subdirs, removing hand-maintained lists of .o files in favor of
patsubst, following the "don't repeat yourself" principle.

The last patches apply similar cleanups more generically.  The net
result is the removal of many redundant lines of code.

I did not touch common/ in this series.  I started this, but due to
commmon/common.host, a change here would require touching gdbserver as
well, which I did not want to do.

I think there are more cleanups available to be done; I just did not
do them.  A good end goal, I think, would be to make it so that only
source files are explicitly named in the Makefile, with the
intermediate names being generated from the source lists.  This would
make adding new source files much simpler.

Tested by rebuilding.  I also did a build with
--disable-{python,guile,tui,gdbmi} (did you know you can disable MI?).
You may need to do a clean build if this lands; though I am not
completely certain.

Tom

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2017-11-27 23:57 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-21 22:10 [RFA 00/13] Makefile simplifications and subdirification Tom Tromey
2017-11-21 22:10 ` [RFA 05/13] Move tui object files to tui subdirectory Tom Tromey
2017-11-21 22:10 ` [RFA 04/13] Move compile object files to compile subdirectory Tom Tromey
2017-11-21 22:10 ` [RFA 01/13] A simpler way to make the "arch" build directory Tom Tromey
2017-11-21 22:10 ` [RFA 11/13] Add missing files to COMMON_SFILES Tom Tromey
2017-11-21 22:10 ` [RFA 06/13] Move unittests object files to unittests subdirectory Tom Tromey
2017-11-21 22:10 ` [RFA 10/13] Simplify COMMON_OBS by using list of sources Tom Tromey
2017-11-22 11:06   ` Pedro Alves
2017-11-23  3:44     ` Tom Tromey
2017-11-21 22:10 ` [RFA 02/13] Move cli object files to cli subdirectory Tom Tromey
2017-11-21 22:10 ` [RFA 09/13] Define YYOBJ in terms of YYFILES Tom Tromey
2017-11-21 22:10 ` [RFA 13/13] Redefine REMOTE_OBS in terms of a list of sources Tom Tromey
2017-11-22 11:12   ` Pedro Alves
2017-11-23  4:01     ` Tom Tromey
2017-11-23 13:25       ` Pedro Alves
2017-11-21 22:10 ` [RFA 08/13] Move python object files to python subdirectory Tom Tromey
2017-11-21 22:12 ` [RFA 03/13] Move mi objects to mi subdirectory Tom Tromey
2017-11-21 22:12 ` [RFA 12/13] Move target object files to target subdirectory Tom Tromey
2017-11-21 22:12 ` [RFA 07/13] Move guile object files to guile subdirectory Tom Tromey
2017-11-22 11:14 ` [RFA 00/13] Makefile simplifications and subdirification Pedro Alves
2017-11-27 23:57   ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).