Simplify COMMON_OBS by using list of sources
authorTom Tromey <tom@tromey.com>
Tue, 21 Nov 2017 21:19:27 +0000 (14:19 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 27 Nov 2017 23:53:26 +0000 (16:53 -0700)
commitb5adff3b5e14a45501f5761877d587019c94368a
tree39b281743f51e51971e867364ec1d704fce3f100
parentafa0a4115985939f242bcd54211c98345eefe16b
Simplify COMMON_OBS by using list of sources

This introduces a new COMMON_SFILES variable, and then defines some of
COMMON_OBS in terms of this new variable.  This simpifies adding a new
ordinary source file.

ChangeLog
2017-11-27  Tom Tromey  <tom@tromey.com>

* Makefile.in (COMMON_SFILES): New.
(SFILES): Move some entries to COMMON_SFILES.
(COMMON_OBS): Use COMMON_SFILES.
gdb/ChangeLog
gdb/Makefile.in