glibc/po
Joseph Myers a5f891ac8d Consistently include Makeconfig after defining subdir.
In <https://sourceware.org/ml/libc-alpha/2014-01/msg00196.html> I
noted it was necessary to add includes of Makeconfig early in various
subdirectory makefiles for the tests-special variable settings added
by that patch to be conditional on configuration information.  No-one
commented on the general question there of whether Makeconfig should
always be included immediately after the definition of subdir.

This patch implements that early inclusion of Makeconfig in each
directory (which is a lot easier than consistent placement of includes
of Rules).  Includes are added if needed, or moved up if already
present.  Subdirectory "all:" targets are removed, since Makeconfig
provides one.

There is potential for further cleanups I haven't done.  Rules and
Makerules have code such as

ifneq   "$(findstring env,$(origin headers))" ""
headers :=
endif

to override to empty any value of various variables that came from the
environment.  I think there is a case for Makeconfig setting all the
subdirectory variables (other than subdir) to empty to ensure no
outside value is going to take effect if a subdirectory fails to
define a variable.  (A list of such variables, possibly out of date
and incomplete, is in manual/maint.texi.)  Rules and Makerules would
give errors if Makeconfig hadn't already been included, instead of
including it themselves.  The special code to override values coming
from the environment would then be obsolete and could be removed.

Tested x86_64, including that installed binaries are identical before
and after the patch.

	* argp/Makefile: Include Makeconfig immediately after defining
	subdir.
	* assert/Makefile: Likewise.
	* benchtests/Makefile: Likewise.
	* catgets/Makefile: Likewise.
	* conform/Makefile: Likewise.
	* crypt/Makefile: Likewise.
	* csu/Makefile: Likewise.
	(all): Remove target.
	* ctype/Makefile: Include Makeconfig immediately after defining
	subdir.
	* debug/Makefile: Likewise.
	* dirent/Makefile: Likewise.
	* dlfcn/Makefile: Likewise.
	* gmon/Makefile: Likewise.
	* gnulib/Makefile: Likewise.
	* grp/Makefile: Likewise.
	* gshadow/Makefile: Likewise.
	* hesiod/Makefile: Likewise.
	* hurd/Makefile: Likewise.
	(all): Remove target.
	* iconvdata/Makefile: Include Makeconfig immediately after
	defining subdir.
	* inet/Makefile: Likewise.
	* intl/Makefile: Likewise.
	* io/Makefile: Likewise.
	* libio/Makefile: Likewise.
	(all): Remove target.
	* locale/Makefile: Include Makeconfig immediately after defining
	subdir.
	* login/Makefile: Likewise.
	* mach/Makefile: Likewise.
	(all): Remove target.
	* malloc/Makefile: Include Makeconfig immediately after defining
	subdir.
	(all): Remove target.
	* manual/Makefile: Include Makeconfig immediately after defining
	subdir.
	* math/Makefile: Likewise.
	* misc/Makefile: Likewise.
	* nis/Makefile: Likewise.
	* nss/Makefile: Likewise.
	* po/Makefile: Likewise.
	(all): Remove target.
	* posix/Makefile: Include Makeconfig immediately after defining
	subdir.
	* pwd/Makefile: Likewise.
	* resolv/Makefile: Likewise.
	* resource/Makefile: Likewise.
	* rt/Makefile: Likewise.
	* setjmp/Makefile: Likewise.
	* shadow/Makefile: Likewise.
	* signal/Makefile: Likewise.
	* socket/Makefile: Likewise.
	* soft-fp/Makefile: Likewise.
	* stdio-common/Makefile: Likewise.
	* stdlib/Makefile: Likewise.
	* streams/Makefile: Likewise.
	* string/Makefile: Likewise.
	* sunrpc/Makefile: Likewise.
	(all): Remove target.
	* sysvipc/Makefile: Include Makeconfig immediately after defining
	subdir.
	* termios/Makefile: Likewise.
	* time/Makefile: Likewise.
	* timezone/Makefile: Likewise.
	(all): Remove target.
	* wcsmbs/Makefile: Include Makeconfig immediately after defining
	subdir.
	* wctype/Makefile: Likewise.

libidn/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.

localedata/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.
	(all): Remove target.

nptl/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.

nptl_db/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.
2014-02-26 23:12:03 +00:00
..
.gitignore rename each .cvsignore file to .gitignore 2009-05-15 18:13:37 +02:00
be.po Revert po and pot files changes. 2013-05-31 13:34:42 -04:00
bg.po Update Bulgarian translations 2014-01-11 15:19:59 +10:00
ca.po Update Catalan translations 2014-01-20 11:36:37 +10:00
cs.po Update Czech translations 2014-01-10 12:22:12 +10:00
da.po Update Danish translations. 2010-11-01 14:27:55 -04:00
de.po Update German translations 2014-01-11 15:02:34 +10:00
el.po
en_GB.po
eo.po Update Esperanto translations 2014-01-10 12:23:21 +10:00
es.po Update Spanish PO file from translation team. 2013-03-05 14:29:06 -05:00
fi.po * po/fi.po: Likewise. 2009-02-28 22:24:35 +00:00
fr.po Update French translations 2014-01-27 11:28:02 +10:00
gl.po
hr.po Update Croatian translations. 2012-12-21 12:22:48 -08:00
hu.po Hungarian and Vietnamese translation update. 2009-09-20 00:21:30 -07:00
ia.po Update Interlingua translation from translation project 2013-06-12 10:12:19 +02:00
id.po Update from translation team. 2009-06-22 22:53:20 -07:00
it.po Update Italian translation 2011-10-29 11:40:55 -04:00
ja.po Update Japanese translation 2011-10-09 13:16:29 -04:00
ko.po Update Korean translations. 2013-08-03 10:35:26 -07:00
libc.pot Regenerate libc.po 2014-01-05 17:47:49 +10:00
lt.po * po/lt.po: Update from translation team. 2009-02-12 04:56:50 +00:00
Makefile Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
nb.po
nl.po Update Dutch translations 2014-01-10 12:20:48 +10:00
pl.po Update Polish translations 2014-01-10 12:20:44 +10:00
pot.header Rename header.pot to pot.header. 2014-01-08 17:17:48 -05:00
pt_BR.po
ru.po Update Russian translations 2014-01-10 12:20:38 +10:00
rw.po
sk.po
sl.po Update Slovenian translations 2014-02-03 10:12:05 +10:00
sv.po Update Swedish translations 2014-01-10 12:25:59 +10:00
tr.po
uk.po Update Ukrainian translations 2014-01-10 12:20:26 +10:00
vi.po Update Vietnamese translations 2014-01-10 12:24:43 +10:00
zh_CN.po Revert po and pot files changes. 2013-05-31 13:34:42 -04:00
zh_TW.po Update Chinese (traditional) translations. 2013-09-06 15:26:43 -04:00