2014-01-01 11:03:15 +00:00
|
|
|
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
1997-03-05 00:35:19 +00:00
|
|
|
# This file is part of the GNU C Library.
|
|
|
|
|
|
|
|
# The GNU C Library is free software; you can redistribute it and/or
|
2001-07-06 04:58:11 +00:00
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2.1 of the License, or (at your option) any later version.
|
1997-03-05 00:35:19 +00:00
|
|
|
|
|
|
|
# The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2001-07-06 04:58:11 +00:00
|
|
|
# Lesser General Public License for more details.
|
1997-03-05 00:35:19 +00:00
|
|
|
|
2001-07-06 04:58:11 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
2012-02-09 23:18:22 +00:00
|
|
|
# License along with the GNU C Library; if not, see
|
|
|
|
# <http://www.gnu.org/licenses/>.
|
1997-03-05 00:35:19 +00:00
|
|
|
|
|
|
|
# Makefile for installing locale data source files.
|
|
|
|
|
|
|
|
subdir := localedata
|
|
|
|
|
2014-02-26 23:12:03 +00:00
|
|
|
include ../Makeconfig
|
1997-03-05 00:35:19 +00:00
|
|
|
|
|
|
|
# List with all available character set descriptions.
|
2011-11-17 17:33:33 +00:00
|
|
|
charmaps := $(wildcard charmaps/[A-I]*) $(wildcard charmaps/[J-Z]*)
|
1997-03-05 00:35:19 +00:00
|
|
|
|
|
|
|
# List with all available character set descriptions.
|
2011-11-17 17:33:33 +00:00
|
|
|
locales := $(wildcard locales/*)
|
1997-03-05 00:35:19 +00:00
|
|
|
|
2000-06-27 12:14:09 +00:00
|
|
|
|
|
|
|
subdir-dirs = tests-mbwc
|
|
|
|
vpath %.c tests-mbwc
|
|
|
|
vpath %.h tests-mbwc
|
|
|
|
|
|
|
|
|
2000-04-27 05:42:19 +00:00
|
|
|
test-srcs := collate-test xfrm-test tst-fmon tst-rpmatch tst-trans \
|
2000-06-27 01:03:13 +00:00
|
|
|
tst-mbswcs1 tst-mbswcs2 tst-mbswcs3 tst-mbswcs4 tst-mbswcs5 \
|
2014-05-15 22:06:54 +00:00
|
|
|
tst-ctype tst-wctype tst-langinfo tst-langinfo-static tst-numeric
|
2000-08-22 08:00:17 +00:00
|
|
|
test-input := de_DE.ISO-8859-1 en_US.ISO-8859-1 da_DK.ISO-8859-1 \
|
2008-10-31 15:12:51 +00:00
|
|
|
hr_HR.ISO-8859-2 sv_SE.ISO-8859-1 tr_TR.UTF-8 fr_FR.UTF-8 \
|
|
|
|
si_LK.UTF-8
|
1998-12-21 12:25:07 +00:00
|
|
|
test-input-data = $(addsuffix .in, $(basename $(test-input)))
|
Update.
1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
* misc/tst-efgcvt.c: Add more tests.
* misc/efgcvt_r.c: Correct result for above new tests.
1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
* misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
NDIGIT <= 0.
1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
* Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
if the programs weren't built.
1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
* sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
FE_TONEAREST, soldier on regardless and do the best we can.
* sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
* sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
_STDIO_H, before including <bits/stdio_lim.h>.
* sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
* io/fts.c (fts_build): Don't try to use d_type if it doesn't
exist.
* sysdeps/arm/sys/ucontext.h: New file.
1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
* manual/stdio.texi (Formatted Output Functions): Explicitly say
that the return value from snprintf() does not count the
terminating NUL as a character.
1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
* manual/users.texi: Rewrite to describe correct POSIX behaviour,
add description for sete[ug]id and general cleanup.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (parent-clean): Don't remove makefile fragments here.
(postclean): New variable.
(clean): Remove makefile fragments here.
(realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
(generated): Add isomac and isomanc.out.
* Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
avoid-generated is set.
(postclean-generated): Add soversion.mk.
($(common-objpfx)version.mk): Don't include if avoid-generated is
set.
* Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
avoid-generated is set.
(common-generated): Add libc.so and libc.so$(libc.so-version).
(generated): Add versioned libraries.
(common-mostlyclean): Also remove %.so and %_pic.a.
* csu/Makefile (generated): Add abi-tag.h.
* db2/Makefile (extra-objs): Add getlong.o.
* elf/Makefile (generated): Add ld.so, ldd and
$(rtld-installed-name).
(others): Add ldconfig here instead of ldconfig.o to extra-objs.
* malloc/Makefile (generated): Add mtrace.
* po/Makefile: Don't include version.mk, not needed any more.
* sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
* sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
syscall.h -> sys/syscall.h.
(common-generated): Add s-proto.d.
(postclean-generated): Add sysd-syscalls.
* localedata/Makefile (test-output): Add all output files.
(generated): Add test-input and test-output.
(generated-dirs): Add all the dirs.
1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (test-output, generated, generated-dirs): New
variables.
1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
* resolv/nss_dns/dns-host.c: Various code cleanups.
1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
* resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
From Philip Blundell <pb@nexus.co.uk>.
* resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
Suggested by debian/sparc porters.
1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
for ecvt and fcvt.
1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
__fxstat instead of stat and fstat. Use namespace clean __stpcpy.
* signal/signal.h: Always define sigset_t if __need_sigset_t is
defined even if __USE_POSIX is not defined.
1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
to support obsolete tty major numbers correctly.
1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
* login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
directory first and ignore install error.
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
128 from ptyno and fix a typo for the BSD style pty.
1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
syscalls.list's.
1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
getresuid and getresgid.
* sysdeps/unix/sysv/linux/getresuid.c: New file.
* sysdeps/unix/sysv/linux/getresgid.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
s_getres[ug]id.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
* nscd/grpcache.c: Include <stdlib.h>.
1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
* stdlib/atoll.c: Fix comments.
* sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
* sysdeps/posix/ttyname_r.c: Ditto.
1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
__USE_MISC, independent of __USE_UNIX98.
1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
Rename from __libc_have_rt_sigs and leave as COMMON data.
1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
* Makeconfig (CFLAGS-.os): Kill -fno-common.
* Makerules (libc.so): Prelink libc_pic.a, allocating commons.
* libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
* elf/rtld.map: New file. Needed to define the GLIBC_2.*
version symbols.
* include/libc-symbols.h (symbol_version, default_symbol_version):
Provide asm versions and correct !DO_VERSIONING versions.
* sysdeps/unix/make-syscalls.sh: Recognize version symbols in
the weak symbol list.
* sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
Rename from __libc_have_rt_sigs and leave as COMMON data.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sunrpc/Makefile: Correct dependencies of rpcgen.
1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
* nscd/Makefile: Fix test for available linuxthreads add-on.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/gnu/Makefile: Respect with-cvs variable.
* manual/errno.texi (Error Messages): Correct description of
strerror_r. Pointed out by jonas@bagge.se.
1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/socket.texi (Host Address Functions): Clarify description
of inet_network.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/grantpt.c (argv): Move const to toplevel.
(grantpt): Delete superfluous cast.
1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
elf/ldso_install instead of elf/subdir_install.
(elf/ldso_install): New target.
* elf/Makefile (ldso_install): New target.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
of 1998-01-06.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
constant expressions.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
for __nss_configure_lookup.
(output_hostent): Remove unused variable.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/tst-inlcall.c: Fix format string.
1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* inet/netinet/in.h: Rename second parameter of bindresvport to
avoid buggy gcc warning. [PR libc/412]
1998-02-10 20:06:30 +00:00
|
|
|
test-output := $(foreach s, .out .xout, \
|
|
|
|
$(addsuffix $s, $(basename $(test-input))))
|
2000-07-29 06:45:51 +00:00
|
|
|
ld-test-names := test1 test2 test3 test4 test5 test6 test7
|
1998-02-17 15:15:51 +00:00
|
|
|
ld-test-srcs := $(addprefix tests/,$(addsuffix .cm,$(ld-test-names)) \
|
Update.
* crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
ufc.c, speeds.c, README.ufc-crypt, and Banner.
* sysdeps/sparc/Subdirs: New file.
* locale/Makefile (distribute): Add weightwc.h and
programs/localedef.h.
* time/Makefile (distribute): Add datemsk.
* sysdeps/ia64/Dist: Add softpipe.h.
* sysdeps/unix/sysv/aix/Dist: New file.
* posix/setpgrp.c: Moved to...
* sysdeps/generic/setpgrp.c: ...here. New file.
* io/mknod.c: Moved to...
* sysdeps/generic/mknod.c: ...here. New file.
* sysdeps/unix/sysv/linux/ia64/Dist: New file.
* sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
* sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
* sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
gprsave0.S, gprrest1.S, and gprrest0.S.
* sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
* posix/Makefile (routines): Add spawnattr_getsigmask,
spawnattr_getschedpolicy, spawnattr_getschedparam,
spawnattr_setsigmask, spawnattr_setschedpolicy, and
spawnattr_setschedparam.
* posix/Versions: Add posix_spawnattr_getschedpolicy,
posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
posix_spawnattr_setschedparam.
* posix/spawnattr_setschedparam.c: Fix typo.
* posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
Correct typo.
* login/programs/utmpd.c: Removed.
* login/programs/utmpd.h: Removed.
* login/programs/utmpd-private.h: Removed.
* Makefile (distribute): Add include/db_185.h and include/db.h.
* iconvdata/Makefile (distribute): Add iso-ir-165.c and
iso-ir-165.h.
* elf/Makefile (distribute): Add missing files.
* dlfcn/Makefile: Add back rules to include eval in libdl.so.
* elf/eval.c: Moved to...
* dlfcn/eval.c: ...here. New file.
* Makefile (distribute): Also distribute ChangeLog.1?.
2000-06-14 00:55:24 +00:00
|
|
|
$(addsuffix .def,$(ld-test-names)) \
|
2000-06-14 03:46:36 +00:00
|
|
|
$(addsuffix .ds,test5 test6) \
|
|
|
|
test6.c trans.def)
|
Update.
1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
* elf/rtld.c (dl_main): Recognize --library-path parameter and
pass value (or NULL) to _dl_init_paths.
* elf/dl-load.c (_dl_init_paths): Change to take one parameter,
replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
environment variable.
* elf/link.h: Change prototype for _dl_init_paths.
* elf/dl-support.c: Pass NULL in _dl_init_paths call.
* localedata/Makefile (distribute): Add test files.
1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
test1.def, test2.def, test3.def, test4.def}: Simple input files
for localedef. Contributed by Yung-Ching Hsiao
<yhsiao@cae.wisc.edu>.
* localedata/Makefile (tests): Call tst-locale.sh.
* localedata/tst-locale.sh: New file, regression tests for some
localedef problems.
1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
* nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
terminated.
* nis/nss_nisplus/nisplus-network.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise.
* nis/nss_nisplus/nisplus-rpc.c: Likewise.
* nis/nss_nisplus/nisplus-service.c: Likewise.
Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
and support generating thread safe RPC code.
* sunrpc/rpc_main.c: Add changes.
* sunrpc/rpc_clntout.c: Likewise.
* sunrpc/rpc_cout.c: Likewise.
* sunrpc/rpc_hout.c: Likewise.
* sunrpc/rpc_parse.c: Likewise.
* sunrpc/rpc_sample.c: Likewise.
* sunrpc/rpc_scan.c: Likewise.
* sunrpc/rpc_svcout.c: Likewise.
* sunrpc/rpc_util.c: Likewise.
* sunrpc/rpc_util.h: Add new structs and prototypes.
* sunrpc/proto.h: Remove prototypes for static functions.
1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* locale/programs/ld-messages.c (messages_finish): Don't skip
error checking when being quiet.
* locale/programs/ld-ctype.c (ctype_finish): Likewise.
(set_class_defaults): Likewise.
* locale/programs/charmap.c (parse_charmap): Likewise.
* locale/programs/ld-collate.c (collate_finish): Likewise.
* locale/programs/ld-monetary.c (monetary_finish): Likewise.
* locale/programs/ld-time.c (time_finish): Likewise.
* locale/programs/locfile.c (write_locale_data): Likewise.
* locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
unknown characters and empty ranges.
* locale/programs/ld-collate.c (collate_order_elem): When
processing an ellipsis properly form a linked list in the result
table, fix typo when allocating ordering array.
[PR libc/419]
1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/Makefile (ld-map): Define.
(rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
`$(rtld-ldscript)'.
($(objpfx)ld.so): Combine the two versions of this rule. Depend
on $(ld-map).
(rtld-link): Combine the two versions of this definition. Fixed
to make it work when no symbol versioning is used.
1998-02-16 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig (build-program-cmd): Use --library-path parameter to
ld.so instead of environment variable.
* sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
* sunrpc/rpc_main.c: Remove support for -$$ option again.
1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* Make-dist: Respect with-cvs setting.
* MakeTAGS (all-pot): Likewise.
* sysdeps/sparc/sparc32/Makefile: Likewise.
* sysdeps/mach/hurd/Makefile: Likewise.
* stdlib/Makefile: Likewise.
* posix/Makefile: Likewise.
* intl/Makefile: Likewise.
* po/Makefile (linguas): Likewise
1998-02-16 17:42:46 +00:00
|
|
|
|
2000-04-10 05:13:54 +00:00
|
|
|
fmon-tests = n01y12 n02n40 n10y31 n11y41 n12y11 n20n32 n30y20 n41n00 \
|
|
|
|
y01y10 y02n22 y22n42 y30y21 y32n31 y40y00 y42n21
|
|
|
|
|
2014-02-28 21:00:27 +00:00
|
|
|
generated += $(test-input) $(test-output) sort-test.out tst-locale.out \
|
2014-03-07 03:29:23 +00:00
|
|
|
tst-mbswcs.out tst-leaks.mtrace mtrace-tst-leaks.out
|
2014-02-28 21:00:27 +00:00
|
|
|
generated-dirs += $(ld-test-names) tt_TT de_DE.437 \
|
2000-07-01 15:41:36 +00:00
|
|
|
$(addprefix tstfmon_,$(fmon-tests)) \
|
1998-05-08 15:16:22 +00:00
|
|
|
|
2012-10-24 00:08:46 +00:00
|
|
|
ifeq ($(run-built-tests),yes)
|
2000-06-29 10:36:12 +00:00
|
|
|
locale_test_suite := tst_iswalnum tst_iswalpha tst_iswcntrl \
|
|
|
|
tst_iswctype tst_iswdigit tst_iswgraph \
|
|
|
|
tst_iswlower tst_iswprint tst_iswpunct \
|
|
|
|
tst_iswspace tst_iswupper tst_iswxdigit tst_mblen \
|
|
|
|
tst_mbrlen tst_mbrtowc tst_mbsrtowcs tst_mbstowcs \
|
|
|
|
tst_mbtowc tst_strcoll tst_strfmon tst_strxfrm \
|
|
|
|
tst_swscanf tst_towctrans tst_towlower \
|
|
|
|
tst_towupper tst_wcrtomb tst_wcscat tst_wcschr \
|
|
|
|
tst_wcscmp tst_wcscoll tst_wcscpy tst_wcscspn \
|
|
|
|
tst_wcslen tst_wcsncat tst_wcsncmp tst_wcsncpy \
|
|
|
|
tst_wcspbrk tst_wcsrtombs tst_wcsspn tst_wcsstr \
|
|
|
|
tst_wcstod tst_wcstok tst_wcstombs tst_wcswidth \
|
|
|
|
tst_wcsxfrm tst_wctob tst_wctomb tst_wctrans \
|
|
|
|
tst_wctype tst_wcwidth
|
2000-06-29 07:13:12 +00:00
|
|
|
|
2001-06-27 07:59:20 +00:00
|
|
|
tests = $(locale_test_suite) tst-digits tst-setlocale bug-iconv-trans \
|
2006-04-26 05:52:58 +00:00
|
|
|
tst-leaks tst-mbswcs6 tst-xlocale1 tst-xlocale2 bug-usesetlocale \
|
2012-05-21 18:41:36 +00:00
|
|
|
tst-strfmon1 tst-sscanf bug-setlocale1 tst-setlocale2
|
2013-01-10 22:15:49 +00:00
|
|
|
tests-static = bug-setlocale1-static
|
|
|
|
tests += $(tests-static)
|
2001-06-27 07:59:20 +00:00
|
|
|
ifeq (yes,$(build-shared))
|
|
|
|
ifneq (no,$(PERL))
|
2014-03-07 03:29:23 +00:00
|
|
|
tests-special += $(objpfx)mtrace-tst-leaks.out
|
2001-06-27 07:59:20 +00:00
|
|
|
endif
|
|
|
|
endif
|
2000-06-28 04:27:24 +00:00
|
|
|
endif
|
|
|
|
|
1997-03-05 00:35:19 +00:00
|
|
|
# Files to install.
|
2000-10-01 19:08:30 +00:00
|
|
|
install-others := $(addprefix $(inst_i18ndir)/, \
|
|
|
|
$(addsuffix .gz, $(charmaps)) \
|
|
|
|
$(locales))
|
1997-03-05 00:35:19 +00:00
|
|
|
|
2010-03-17 16:01:34 +00:00
|
|
|
tests: $(objdir)/iconvdata/gconv-modules
|
|
|
|
|
Enumerate tests with special rules in tests-special variable.
This patch is a revised and updated version of
<https://sourceware.org/ml/libc-alpha/2014-01/msg00196.html>.
In order to generate overall summaries of the results of all tests in
the glibc testsuite, we need to identify and concatenate the files
with the results of individual tests.
Tomas Dohnalek's patch used $(common-objpfx)*/*.test-result for this.
However, the normal glibc approach is explicit enumeration of the
expected set of files with a given property, rather than all files
matching some pattern like that. Furthermore, we would like to be
able to mark tests as UNRESOLVED if the file with their results is for
some reason missing, and in future we would like to be able to mark
tests as UNSUPPORTED if they are disabled for a particular
configuration (rather than simply having them missing from the list of
tests as at present). Such handling of tests that were not run or did
not record results requires an explicit enumeration of tests.
For the tests following the default makefile rules, $(tests) (and
$(xtests)) provides such an enumeration. Others, however, are added
directly as dependencies of the "tests" and "xtests" makefile
targets. This patch changes the makefiles to put them in variables
tests-special and xtests-special, with appropriate dependencies on the
tests listed there then being added centrally.
Those variables are used in Rules and so need to be set before Rules
is included in a subdirectory makefile, which is often earlier in the
makefile than the dependencies were present before. We previously
discussed the question of where to include Rules; see the question at
<https://sourceware.org/ml/libc-alpha/2012-11/msg00798.html>, and a
discussion in
<https://sourceware.org/ml/libc-alpha/2013-01/msg00337.html> of why
Rules is included early rather than late in subdirectory makefiles.
It was necessary to avoid an indirection through the check-abi target
and get the check-abi-* targets for individual libraries into the
tests-special variable. The intl/ test $(objpfx)tst-gettext.out,
previously built only because of dependencies from other tests, was
also added to tests-special for the same reason.
The entries in tests-special are the full makefile targets, complete
with $(objpfx) and .out. If a future change causes tests to be named
consistently with a .out suffix, this can be changed to include just
the path relative to $(objpfx), without .out.
Tested x86_64, including that the same set of files is generated in
the build directory by a build and testsuite run both before and after
the patch (except for changes to the
elf/tst-null-argv.debug.out.<number> file name), and a build with
run-built-tests=no to verify there aren't any more obvious instances
of the issue Marcus Shawcroft reported with a previous version in
<https://sourceware.org/ml/libc-alpha/2014-01/msg00462.html>.
* Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
(tests): Depend on $(tests-special).
* Makerules (check-abi-list): New variable.
(check-abi): Depend on $(check-abi-list).
[$(subdir) = elf] (tests-special): Add
$(objpfx)check-abi-libc.out.
[$(build-shared) = yes && subdir] (tests-special): Add
$(check-abi-list).
[$(build-shared) = yes && subdir] (tests): Do not depend on
check-abi.
* Rules (tests): Depend on $(tests-special).
(xtests): Depend on $(xtests-special).
* catgets/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* conform/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* elf/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* grp/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* iconv/Makefile (xtests): Change dependencies to ....
(xtests-special): ... additions to this variable.
* iconvdata/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* intl/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable. Also add
$(objpfx)tst-gettext.out.
* io/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* libio/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* malloc/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* misc/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* nptl/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* nptl_db/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* posix/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
(xtests): Change dependencies to ....
(xtests-special): ... additions to this variable.
* resolv/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
(xtests): Change dependencies to ....
(xtests-special): ... additions to this variable.
* stdio-common/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
(do-tst-unbputc): Remove target.
(do-tst-printf): Likewise.
* stdlib/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* string/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* sysdeps/x86/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
localedata:
* Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
2014-03-06 22:35:33 +00:00
|
|
|
tests-special += $(objpfx)sort-test.out $(objpfx)tst-fmon.out \
|
|
|
|
$(objpfx)tst-locale.out $(objpfx)tst-rpmatch.out \
|
|
|
|
$(objpfx)tst-trans.out $(objpfx)tst-mbswcs.out \
|
|
|
|
$(objpfx)tst-ctype.out $(objpfx)tst-wctype.out \
|
2014-05-15 22:06:54 +00:00
|
|
|
$(objpfx)tst-langinfo.out $(objpfx)tst-langinfo-static.out \
|
|
|
|
$(objpfx)tst-numeric.out
|
|
|
|
tests-static += tst-langinfo-static
|
Enumerate tests with special rules in tests-special variable.
This patch is a revised and updated version of
<https://sourceware.org/ml/libc-alpha/2014-01/msg00196.html>.
In order to generate overall summaries of the results of all tests in
the glibc testsuite, we need to identify and concatenate the files
with the results of individual tests.
Tomas Dohnalek's patch used $(common-objpfx)*/*.test-result for this.
However, the normal glibc approach is explicit enumeration of the
expected set of files with a given property, rather than all files
matching some pattern like that. Furthermore, we would like to be
able to mark tests as UNRESOLVED if the file with their results is for
some reason missing, and in future we would like to be able to mark
tests as UNSUPPORTED if they are disabled for a particular
configuration (rather than simply having them missing from the list of
tests as at present). Such handling of tests that were not run or did
not record results requires an explicit enumeration of tests.
For the tests following the default makefile rules, $(tests) (and
$(xtests)) provides such an enumeration. Others, however, are added
directly as dependencies of the "tests" and "xtests" makefile
targets. This patch changes the makefiles to put them in variables
tests-special and xtests-special, with appropriate dependencies on the
tests listed there then being added centrally.
Those variables are used in Rules and so need to be set before Rules
is included in a subdirectory makefile, which is often earlier in the
makefile than the dependencies were present before. We previously
discussed the question of where to include Rules; see the question at
<https://sourceware.org/ml/libc-alpha/2012-11/msg00798.html>, and a
discussion in
<https://sourceware.org/ml/libc-alpha/2013-01/msg00337.html> of why
Rules is included early rather than late in subdirectory makefiles.
It was necessary to avoid an indirection through the check-abi target
and get the check-abi-* targets for individual libraries into the
tests-special variable. The intl/ test $(objpfx)tst-gettext.out,
previously built only because of dependencies from other tests, was
also added to tests-special for the same reason.
The entries in tests-special are the full makefile targets, complete
with $(objpfx) and .out. If a future change causes tests to be named
consistently with a .out suffix, this can be changed to include just
the path relative to $(objpfx), without .out.
Tested x86_64, including that the same set of files is generated in
the build directory by a build and testsuite run both before and after
the patch (except for changes to the
elf/tst-null-argv.debug.out.<number> file name), and a build with
run-built-tests=no to verify there aren't any more obvious instances
of the issue Marcus Shawcroft reported with a previous version in
<https://sourceware.org/ml/libc-alpha/2014-01/msg00462.html>.
* Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
(tests): Depend on $(tests-special).
* Makerules (check-abi-list): New variable.
(check-abi): Depend on $(check-abi-list).
[$(subdir) = elf] (tests-special): Add
$(objpfx)check-abi-libc.out.
[$(build-shared) = yes && subdir] (tests-special): Add
$(check-abi-list).
[$(build-shared) = yes && subdir] (tests): Do not depend on
check-abi.
* Rules (tests): Depend on $(tests-special).
(xtests): Depend on $(xtests-special).
* catgets/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* conform/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* elf/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* grp/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* iconv/Makefile (xtests): Change dependencies to ....
(xtests-special): ... additions to this variable.
* iconvdata/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* intl/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable. Also add
$(objpfx)tst-gettext.out.
* io/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* libio/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* malloc/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* misc/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* nptl/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* nptl_db/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* posix/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
(xtests): Change dependencies to ....
(xtests-special): ... additions to this variable.
* resolv/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
(xtests): Change dependencies to ....
(xtests-special): ... additions to this variable.
* stdio-common/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
(do-tst-unbputc): Remove target.
(do-tst-printf): Likewise.
* stdlib/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* string/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
* sysdeps/x86/Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
localedata:
* Makefile (tests): Change dependencies to ....
(tests-special): ... additions to this variable.
2014-03-06 22:35:33 +00:00
|
|
|
|
2014-03-07 03:31:41 +00:00
|
|
|
ifeq ($(run-built-tests),yes)
|
|
|
|
# We have to generate locales
|
|
|
|
LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ANSI_X3.4-1968 \
|
|
|
|
en_US.ISO-8859-1 en_US.UTF-8 ja_JP.EUC-JP da_DK.ISO-8859-1 \
|
|
|
|
hr_HR.ISO-8859-2 sv_SE.ISO-8859-1 ja_JP.SJIS fr_FR.ISO-8859-1 \
|
|
|
|
nb_NO.ISO-8859-1 nn_NO.ISO-8859-1 tr_TR.UTF-8 cs_CZ.UTF-8 \
|
|
|
|
zh_TW.EUC-TW fa_IR.UTF-8 fr_FR.UTF-8 ja_JP.UTF-8 si_LK.UTF-8 \
|
|
|
|
tr_TR.ISO-8859-9
|
|
|
|
LOCALE_SRCS := $(shell echo "$(LOCALES)"|sed 's/\([^ .]*\)[^ ]*/\1/g')
|
|
|
|
CHARMAPS := $(shell echo "$(LOCALES)" | \
|
|
|
|
sed -e 's/[^ .]*[.]\([^ ]*\)/\1/g' -e s/SJIS/SHIFT_JIS/g)
|
|
|
|
CTYPE_FILES = $(addsuffix /LC_CTYPE,$(LOCALES))
|
|
|
|
tests-special += $(addprefix $(objpfx),$(CTYPE_FILES))
|
|
|
|
endif
|
|
|
|
|
1997-03-05 00:35:19 +00:00
|
|
|
include ../Rules
|
|
|
|
|
2000-10-01 19:08:30 +00:00
|
|
|
# Install the charmap files in gzipped format.
|
|
|
|
$(inst_i18ndir)/charmaps/%.gz: charmaps/% $(+force)
|
|
|
|
$(make-target-directory)
|
|
|
|
rm -f $(@:.gz=) $@
|
|
|
|
$(INSTALL_DATA) $< $(@:.gz=)
|
2009-02-07 05:29:10 +00:00
|
|
|
gzip -9n $(@:.gz=)
|
2000-10-01 19:08:30 +00:00
|
|
|
|
|
|
|
# Install the locale source files in the appropriate directory.
|
1998-04-09 10:14:17 +00:00
|
|
|
$(inst_i18ndir)/locales/%: locales/% $(+force); $(do-install)
|
1997-03-05 00:35:19 +00:00
|
|
|
|
2000-06-19 21:12:06 +00:00
|
|
|
# gcc does not know all the format specifiers we are using here.
|
|
|
|
CFLAGS-tst-mbswcs1.c = -Wno-format
|
|
|
|
CFLAGS-tst-mbswcs2.c = -Wno-format
|
|
|
|
CFLAGS-tst-mbswcs3.c = -Wno-format
|
|
|
|
CFLAGS-tst-mbswcs4.c = -Wno-format
|
|
|
|
CFLAGS-tst-mbswcs5.c = -Wno-format
|
|
|
|
CFLAGS-tst-trans.c = -Wno-format
|
1997-03-05 00:35:19 +00:00
|
|
|
|
2000-06-28 04:27:24 +00:00
|
|
|
|
2012-10-24 00:08:46 +00:00
|
|
|
ifeq ($(run-built-tests),yes)
|
2000-07-01 15:41:36 +00:00
|
|
|
generated-dirs += $(LOCALES)
|
|
|
|
|
2000-07-01 05:19:18 +00:00
|
|
|
# Dependency for the locale files. We actually make it depend only on
|
|
|
|
# one of the files.
|
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES)): %: \
|
2000-07-12 20:06:44 +00:00
|
|
|
gen-locale.sh $(common-objpfx)locale/localedef Makefile \
|
2000-07-01 05:19:18 +00:00
|
|
|
$(addprefix charmaps/,$(CHARMAPS)) $(addprefix locales/,$(LOCALE_SRCS))
|
2014-03-07 03:31:41 +00:00
|
|
|
@$(SHELL) gen-locale.sh $(common-objpfx) '$(built-program-cmd)' $@; \
|
|
|
|
$(evaluate-test)
|
2000-07-01 05:19:18 +00:00
|
|
|
|
2001-07-08 05:57:47 +00:00
|
|
|
$(addsuffix .out,$(addprefix $(objpfx),$(tests))): %: \
|
2000-07-01 05:19:18 +00:00
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES))
|
|
|
|
|
2000-07-16 07:30:42 +00:00
|
|
|
$(objpfx)sort-test.out: sort-test.sh $(objpfx)collate-test $(objpfx)xfrm-test \
|
|
|
|
$(test-input-data) $(addprefix $(objpfx),$(CTYPE_FILES))
|
2013-01-11 15:14:18 +00:00
|
|
|
$(SHELL) $< $(common-objpfx) '$(test-program-prefix)' $(test-input) \
|
2014-02-21 21:48:08 +00:00
|
|
|
> $@; \
|
|
|
|
$(evaluate-test)
|
2000-07-16 07:30:42 +00:00
|
|
|
$(objpfx)tst-fmon.out: tst-fmon.sh $(objpfx)tst-fmon tst-fmon.data \
|
|
|
|
$(objpfx)sort-test.out \
|
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES))
|
2013-01-11 15:14:18 +00:00
|
|
|
$(SHELL) $< $(common-objpfx) '$(run-program-prefix)' \
|
|
|
|
'$(test-program-prefix)' tst-fmon.data \
|
2014-02-21 21:48:08 +00:00
|
|
|
> $@; \
|
|
|
|
$(evaluate-test)
|
2003-04-27 09:02:51 +00:00
|
|
|
$(objpfx)tst-numeric.out: tst-numeric.sh $(objpfx)tst-numeric tst-numeric.data \
|
|
|
|
$(objpfx)sort-test.out \
|
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES))
|
2013-01-11 15:14:18 +00:00
|
|
|
$(SHELL) $< $(common-objpfx) '$(test-program-prefix)' tst-numeric.data \
|
2014-02-21 21:48:08 +00:00
|
|
|
> $@; \
|
|
|
|
$(evaluate-test)
|
2000-07-16 07:30:42 +00:00
|
|
|
$(objpfx)tst-locale.out: tst-locale.sh $(common-objpfx)locale/localedef \
|
|
|
|
$(ld-test-srcs) $(addprefix $(objpfx),$(CTYPE_FILES))
|
2014-02-21 21:48:08 +00:00
|
|
|
$(SHELL) $< $(common-objpfx) '$(built-program-cmd)' > $@; \
|
|
|
|
$(evaluate-test)
|
2000-07-16 07:30:42 +00:00
|
|
|
$(objpfx)tst-rpmatch.out: tst-rpmatch.sh $(objpfx)tst-rpmatch \
|
|
|
|
$(objpfx)tst-fmon.out \
|
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES))
|
2014-02-21 21:48:08 +00:00
|
|
|
$(SHELL) $< $(common-objpfx) '$(test-program-cmd)' > $@; \
|
|
|
|
$(evaluate-test)
|
2000-07-16 07:30:42 +00:00
|
|
|
$(objpfx)tst-trans.out: tst-trans.sh $(objpfx)tst-trans \
|
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES))
|
2014-02-21 21:48:08 +00:00
|
|
|
$(SHELL) $< $(common-objpfx) '$(run-program-prefix)' '$(test-program-prefix)'; \
|
|
|
|
$(evaluate-test)
|
2000-07-16 07:30:42 +00:00
|
|
|
$(objpfx)tst-mbswcs.out: tst-mbswcs.sh $(objpfx)tst-mbswcs1 \
|
|
|
|
$(objpfx)tst-mbswcs2 $(objpfx)tst-mbswcs3 \
|
|
|
|
$(objpfx)tst-mbswcs4 $(objpfx)tst-mbswcs5 \
|
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES))
|
2014-02-21 21:48:08 +00:00
|
|
|
$(SHELL) $< $(common-objpfx) '$(test-program-prefix)'; \
|
|
|
|
$(evaluate-test)
|
2000-07-16 07:30:42 +00:00
|
|
|
$(objpfx)tst-ctype.out: tst-ctype.sh $(objpfx)tst-ctype \
|
|
|
|
$(objpfx)sort-test.out \
|
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES))
|
2014-02-21 21:48:08 +00:00
|
|
|
$(SHELL) $< $(common-objpfx) '$(test-program-cmd)'; \
|
|
|
|
$(evaluate-test)
|
2000-07-25 00:38:27 +00:00
|
|
|
$(objpfx)tst-wctype.out: tst-wctype.sh $(objpfx)tst-wctype \
|
|
|
|
$(objpfx)sort-test.out tst-wctype.input \
|
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES))
|
2014-02-21 21:48:08 +00:00
|
|
|
$(SHELL) $< $(common-objpfx) '$(test-program-cmd)'; \
|
|
|
|
$(evaluate-test)
|
2000-07-25 03:54:45 +00:00
|
|
|
$(objpfx)tst-langinfo.out: tst-langinfo.sh $(objpfx)tst-langinfo \
|
|
|
|
$(objpfx)sort-test.out \
|
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES))
|
2014-05-15 22:06:54 +00:00
|
|
|
$(SHELL) $< $(common-objpfx) '$(test-program-cmd)' > $@; \
|
|
|
|
$(evaluate-test)
|
|
|
|
$(objpfx)tst-langinfo-static.out: tst-langinfo.sh $(objpfx)tst-langinfo-static \
|
|
|
|
$(objpfx)sort-test.out \
|
|
|
|
$(addprefix $(objpfx),$(CTYPE_FILES))
|
|
|
|
$(SHELL) $< $(common-objpfx) '$(test-program-cmd)' > $@; \
|
2014-02-21 21:48:08 +00:00
|
|
|
$(evaluate-test)
|
2000-07-29 06:45:51 +00:00
|
|
|
$(objpfx)tst-digits.out: $(objpfx)tst-locale.out
|
2001-08-03 22:09:42 +00:00
|
|
|
$(objpfx)tst-mbswcs6.out: $(addprefix $(objpfx),$(CTYPE_FILES))
|
1999-03-20 17:16:44 +00:00
|
|
|
endif
|
1998-03-24 12:21:06 +00:00
|
|
|
|
2001-06-29 01:19:02 +00:00
|
|
|
include SUPPORTED
|
|
|
|
|
|
|
|
INSTALL-SUPPORTED-LOCALES=$(addprefix install-, $(SUPPORTED-LOCALES))
|
|
|
|
|
1998-03-24 12:21:06 +00:00
|
|
|
# Sometimes the whole collection of locale files should be installed.
|
2000-08-21 17:06:55 +00:00
|
|
|
LOCALEDEF=I18NPATH=. GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
|
2014-05-21 16:52:08 +00:00
|
|
|
$(elf-objpfx)ld.so --library-path $(rpath-link) $(common-objpfx)locale/localedef
|
2001-06-29 01:19:02 +00:00
|
|
|
install-locales: $(INSTALL-SUPPORTED-LOCALES)
|
|
|
|
|
|
|
|
install-locales-dir:
|
2000-01-08 04:46:10 +00:00
|
|
|
$(..)./scripts/mkinstalldirs $(inst_localedir)
|
2001-06-29 01:19:02 +00:00
|
|
|
|
|
|
|
$(INSTALL-SUPPORTED-LOCALES): install-locales-dir
|
|
|
|
@locale=`echo $@ | sed -e 's/^install-//'`; \
|
|
|
|
charset=`echo $$locale | sed -e 's,.*/,,'`; \
|
|
|
|
locale=`echo $$locale | sed -e 's,/[^/]*,,'`; \
|
|
|
|
echo -n `echo $$locale | sed 's/\([^.\@]*\).*/\1/'`; \
|
|
|
|
echo -n ".$$charset"; \
|
|
|
|
echo -n `echo $$locale | sed 's/\([^\@]*\)\(\@.*\)*/\2/'`; \
|
|
|
|
echo -n '...'; \
|
|
|
|
input=`echo $$locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; \
|
2002-08-10 06:47:30 +00:00
|
|
|
$(LOCALEDEF) --alias-file=../intl/locale.alias \
|
|
|
|
-i locales/$$input -c -f charmaps/$$charset \
|
|
|
|
$(addprefix --prefix=,$(install_root)) $$locale; \
|
2001-06-29 01:19:02 +00:00
|
|
|
echo ' done'; \
|
2000-06-27 12:14:09 +00:00
|
|
|
|
2000-06-29 07:13:12 +00:00
|
|
|
# The mbwc-tests need some environment setup to find the locale data files
|
2000-06-28 21:38:03 +00:00
|
|
|
TEST_MBWC_ENV:= LOCPATH=$(common-objpfx)localedata
|
2000-06-27 17:37:42 +00:00
|
|
|
tst_iswalnum-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswalpha-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswcntrl-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswctype-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswdigit-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswgraph-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswlower-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswprint-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswpunct-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswspace-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswupper-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_iswxdigit-ENV = $(TEST_MBWC_ENV)
|
2000-06-29 07:13:12 +00:00
|
|
|
tst_mblen-ENV = $(TEST_MBWC_ENV)
|
2000-06-28 13:05:23 +00:00
|
|
|
tst_mbrlen-ENV = $(TEST_MBWC_ENV)
|
2000-06-29 10:36:12 +00:00
|
|
|
tst_mbrtowc-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_mbsrtowcs-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_mbstowcs-ENV = $(TEST_MBWC_ENV)
|
2000-06-29 07:13:12 +00:00
|
|
|
tst_mbtowc-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_strcoll-ENV = $(TEST_MBWC_ENV)
|
2000-06-29 10:36:12 +00:00
|
|
|
tst_strfmon-ENV = $(TEST_MBWC_ENV)
|
2000-06-29 07:13:12 +00:00
|
|
|
tst_strxfrm-ENV = $(TEST_MBWC_ENV)
|
2000-06-27 17:37:42 +00:00
|
|
|
tst_swscanf-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_towctrans-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_towlower-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_towupper-ENV = $(TEST_MBWC_ENV)
|
2000-06-29 10:36:12 +00:00
|
|
|
tst_wcrtomb-ENV = $(TEST_MBWC_ENV)
|
2000-06-27 17:37:42 +00:00
|
|
|
tst_wcscat-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcschr-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcscmp-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcscoll-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcscpy-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcscspn-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcslen-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcsncat-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcsncmp-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcsncpy-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcspbrk-ENV = $(TEST_MBWC_ENV)
|
2000-06-29 10:36:12 +00:00
|
|
|
tst_wcsrtombs-ENV = $(TEST_MBWC_ENV)
|
2000-06-27 17:37:42 +00:00
|
|
|
tst_wcsspn-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcsstr-ENV = $(TEST_MBWC_ENV)
|
2000-06-29 10:36:12 +00:00
|
|
|
tst_wcstod-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcstok-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcstombs-ENV = $(TEST_MBWC_ENV)
|
2000-06-27 17:37:42 +00:00
|
|
|
tst_wcswidth-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcsxfrm-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wctob-ENV = $(TEST_MBWC_ENV)
|
2000-06-29 07:13:12 +00:00
|
|
|
tst_wctomb-ENV = $(TEST_MBWC_ENV)
|
2000-06-27 17:37:42 +00:00
|
|
|
tst_wctrans-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wctype-ENV = $(TEST_MBWC_ENV)
|
|
|
|
tst_wcwidth-ENV = $(TEST_MBWC_ENV)
|
2000-07-29 06:45:51 +00:00
|
|
|
tst-digits-ENV = $(TEST_MBWC_ENV)
|
2001-08-03 22:09:42 +00:00
|
|
|
tst-mbswcs6-ENV = $(TEST_MBWC_ENV)
|
2001-08-14 22:29:43 +00:00
|
|
|
tst-xlocale1-ENV = $(TEST_MBWC_ENV)
|
2001-08-18 02:46:36 +00:00
|
|
|
tst-xlocale2-ENV = $(TEST_MBWC_ENV)
|
2006-04-26 05:52:58 +00:00
|
|
|
tst-strfmon1-ENV = $(TEST_MBWC_ENV)
|
2007-07-10 22:14:12 +00:00
|
|
|
tst-strptime-ENV = $(TEST_MBWC_ENV)
|
2000-12-01 00:43:32 +00:00
|
|
|
|
|
|
|
tst-setlocale-ENV = LOCPATH=$(common-objpfx)localedata LC_ALL=ja_JP.EUC-JP
|
2001-02-06 04:20:37 +00:00
|
|
|
|
|
|
|
bug-iconv-trans-ENV = LOCPATH=$(common-objpfx)localedata
|
2001-06-27 07:59:20 +00:00
|
|
|
|
2007-03-14 22:32:50 +00:00
|
|
|
tst-sscanf-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
|
|
2003-11-16 07:14:28 +00:00
|
|
|
tst-leaks-ENV = MALLOC_TRACE=$(objpfx)tst-leaks.mtrace \
|
|
|
|
LOCPATH=$(common-objpfx)localedata
|
2014-03-07 03:29:23 +00:00
|
|
|
$(objpfx)mtrace-tst-leaks.out: $(objpfx)tst-leaks.out
|
2014-02-21 21:48:08 +00:00
|
|
|
$(common-objpfx)malloc/mtrace $(objpfx)tst-leaks.mtrace > $@; \
|
|
|
|
$(evaluate-test)
|
2010-03-17 16:01:34 +00:00
|
|
|
|
2011-05-21 06:06:45 +00:00
|
|
|
bug-setlocale1-ENV = LOCPATH=$(common-objpfx)localedata
|
2013-01-14 22:10:58 +00:00
|
|
|
bug-setlocale1-ARGS = -- $(host-test-program-cmd)
|
2013-01-10 22:15:49 +00:00
|
|
|
bug-setlocale1-static-ENV = $(bug-setlocale1-ENV)
|
|
|
|
bug-setlocale1-static-ARGS = $(bug-setlocale1-ARGS)
|
2011-10-15 20:27:08 +00:00
|
|
|
tst-setlocale2-ENV = LOCPATH=$(common-objpfx)localedata
|
2011-05-21 06:06:45 +00:00
|
|
|
|
2010-03-17 16:01:34 +00:00
|
|
|
$(objdir)/iconvdata/gconv-modules:
|
|
|
|
$(MAKE) -C ../iconvdata subdir=iconvdata $@
|