glibc/wcsmbs
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
..
bits Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Depend Update. 2000-09-06 22:15:07 +00:00
Makefile Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
Versions Sort Versions files 2013-02-17 16:34:04 +01:00
btowc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
c16rtomb.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
isoc99_fwscanf.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
isoc99_swscanf.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
isoc99_vfwscanf.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
isoc99_vswscanf.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
isoc99_vwscanf.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
isoc99_wscanf.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mbrlen.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mbrtoc16.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
mbrtowc.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
mbsinit.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mbsnrtowcs.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mbsrtowcs.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mbsrtowcs_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-wcschr-ifunc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-wcschr.c Add wcschr test cases 2011-10-23 14:14:26 -04:00
test-wcscmp-ifunc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-wcscmp.c Move wide char tests to wcsmbs directory 2011-09-08 18:01:07 -04:00
test-wcscpy-ifunc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-wcscpy.c Add tests for wcsrchr and wcscpy 2011-12-17 14:14:58 -05:00
test-wcslen-ifunc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-wcslen.c Add wcslen test cases 2011-10-23 14:11:50 -04:00
test-wcsrchr-ifunc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-wcsrchr.c Add tests for wcsrchr and wcscpy 2011-12-17 14:14:58 -05:00
test-wmemcmp-ifunc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-wmemcmp.c Move wide char tests to wcsmbs directory 2011-09-08 18:01:07 -04:00
tst-btowc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-c16c32-1.c Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). 2013-05-16 11:32:54 -05:00
tst-mbrtowc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-mbrtowc2.c * wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8. 2005-10-15 15:38:52 +00:00
tst-mbsrtowcs.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-wchar-h.c * wcsmbs/Makefile: Add rules to build and run tst-wchar-h. 2005-07-24 20:03:14 +00:00
tst-wcpncpy.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-wcrtomb.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-wcsnlen.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-wcstof.c Update. 1997-08-04 14:31:26 +00:00
uchar.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wchar.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcpcpy.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcpncpy.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcrtomb.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsatcliff.c Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmp 2010-10-03 22:10:30 -04:00
wcscasecmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcscasecmp_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcscat.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcschr.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcschrnul.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcscmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcscoll.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcscoll_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcscpy.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcscspn.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsdup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcslen.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsmbs-tst1.c Update. 2003-07-31 19:26:38 +00:00
wcsmbsload.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wcsmbsload.h Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
wcsncase.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsncase_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsncat.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsncmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsncpy.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsnlen.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsnrtombs.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcspbrk.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsrchr.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsrtombs.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsspn.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsstr.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstod.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstod_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstof.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstof_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstok.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstol.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstol_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstold.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstold_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstoll.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstoll_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstoul.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstoul_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstoull.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcstoull_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcswidth.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsxfrm.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcsxfrm_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wctob.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcwidth.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wcwidth.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wmemchr.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wmemcmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wmemcpy.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wmemmove.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wmempcpy.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wmemset.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00