summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-02-01 13:03:30 -0800
committerKhem Raj <raj.khem@gmail.com>2010-02-01 13:03:30 -0800
commit5bf029cb1bb9d82523ea8a80f8a962e4da339099 (patch)
tree5856c6d9d8d644af3d1851b405de70c95147c0c2 /libc/stdlib
parent9e22545a13d62299c59b048ae5923bf6da14ff9f (diff)
Fix accidently dropped hunk during last merge from master.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/Makefile.in29
1 files changed, 8 insertions, 21 deletions
diff --git a/libc/stdlib/Makefile.in b/libc/stdlib/Makefile.in
index 4fd095e58..c6bc8cae3 100644
--- a/libc/stdlib/Makefile.in
+++ b/libc/stdlib/Makefile.in
@@ -18,27 +18,14 @@ CSRC-y := \
jrand48_r.c lrand48.c lrand48_r.c mrand48.c mrand48_r.c nrand48.c \
nrand48_r.c rand_r.c srand48.c srand48_r.c seed48.c seed48_r.c \
valloc.c a64l.c l64a.c __uc_malloc.c
-ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y)
-CSRC += posix_memalign.c
-endif
-ifeq ($(UCLIBC_HAS_PTY),y)
-CSRC += grantpt.c unlockpt.c ptsname.c
-endif
-ifeq ($(UCLIBC_HAS_ARC4RANDOM),y)
-CSRC += arc4random.c
-endif
-ifeq ($(UCLIBC_HAS_LFS),y)
-CSRC += mkstemp64.c
-endif
-ifeq ($(UCLIBC_HAS_FLOATS),y)
-CSRC += drand48.c drand48_r.c erand48.c erand48_r.c
-ifeq ($(UCLIBC_SUSV3_LEGACY),y)
-CSRC += gcvt.c
-endif
-endif
-ifeq ($(UCLIBC_SUSV3_LEGACY),y)
-CSRC += mktemp.c
-endif
+CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_memalign.c
+CSRC-$(UCLIBC_HAS_PTY) += grantpt.c unlockpt.c ptsname.c
+CSRC-$(UCLIBC_HAS_ARC4RANDOM) += arc4random.c
+CSRC-$(UCLIBC_HAS_LFS) += mkstemp64.c
+CSRC-$(UCLIBC_HAS_FLOATS) += drand48.c drand48_r.c erand48.c erand48_r.c
+CSRC-$(if $(findstring yy,$(UCLIBC_HAS_FLOATS)$(UCLIBC_SUSV3_LEGACY)),y) += \
+ gcvt.c
+CSRC-$(UCLIBC_SUSV3_LEGACY) += mktemp.c
# multi source stdlib.c
CSRC-y += abs.c labs.c atoi.c atol.c strtol.c strtoul.c _stdlib_strto_l.c \