summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authormaxim <maxim@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-04-20 18:04:40 +0000
committermaxim <maxim@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-04-20 18:04:40 +0000
commit6bf6ab56f4f80faa5f67b1d66b3fa962bf6b2391 (patch)
treec489369687b83717bb4a2aa4d9bffdf5bbe6eaac /libc/stdlib
parent3a94d6c7d70dbf42a737b420e52a28da9cc8ce71 (diff)
* option-groups.def (OPTION_EGLIBC_FCVT, OPTION_EGLIBC_FMTMSG):
Define new option groups. (OPTION_EGLIBC_FTRAVERSE): Define new option group. * option-groups.defaults: Set defaults for new option groups. * misc/Makefile: Handle OPTION_EGLIBC_FCVT option group. * stdlib/Makefile: Handle OPTION_EGLIBC_FMTMSG option group. * io/Makefile: Handle OPTION_EGLIBC_FTRAVERSE option group. git-svn-id: svn://svn.eglibc.org/trunk@8330 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile
index f81cf9c43..bf4df6411 100644
--- a/libc/stdlib/Makefile
+++ b/libc/stdlib/Makefile
@@ -51,7 +51,7 @@ routines-y := \
strtof_l strtod_l strtold_l \
system canonicalize \
a64l l64a \
- getsubopt xpg_basename fmtmsg \
+ getsubopt xpg_basename \
strtoimax strtoumax \
getcontext setcontext makecontext swapcontext
routines-$(OPTION_EGLIBC_LOCALE_CODE) += \
@@ -62,6 +62,7 @@ routines-$(OPTION_POSIX_C_LANG_WIDE_CHAR) += \
ifeq (yy,$(OPTION_EGLIBC_LOCALE_CODE)$(OPTION_POSIX_REGEXP))
routines-y += rpmatch
endif
+routines-$(OPTION_EGLIBC_FMTMSG) += fmtmsg
aux = grouping groupingwc tens_in_limb
# These routines will be omitted from the libc shared object.
@@ -71,7 +72,7 @@ static-only-routines = atexit at_quick_exit
distribute := exit.h grouping.h abort-instr.h isomac.c tst-fmtmsg.sh \
allocalim.h
-test-srcs := tst-fmtmsg
+test-srcs-$(OPTION_EGLIBC_FMTMSG) := tst-fmtmsg
tests := tst-strtol tst-strtod testrand testsort testdiv \
test-canon test-canon2 tst-strtoll tst-environ \
tst-xpg-basename tst-random tst-random2 tst-bsearch \
@@ -137,7 +138,9 @@ testmb2-ENV = LOCPATH=$(common-objpfx)localedata
tests: $(objpfx)isomac.out
# eglibc: ifeq (no,$(cross-compiling))
+ifeq (y,$(OPTION_EGLIBC_FMTMSG))
tests: $(objpfx)tst-fmtmsg.out
+endif
# eglibc: endif
$(objpfx)isomac.out: $(objpfx)isomac