summaryrefslogtreecommitdiff
path: root/libc/misc/time
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-03 21:23:07 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-03 21:23:07 +0000
commitec2261ba97cc523230aed37979d81092e4b11f14 (patch)
treef971ffb4564f6a75772d21f05fa25936ccad5e5d /libc/misc/time
parent48e47d2f49bc42e23a95f3c4830db912a1304388 (diff)
Last bits for IMA, now everything can be built w/ DOMULTI=y on gcc-3.4.4 with my config (no locale, the rest enabled). Not tested if libc is complete and usable. All the files listed in *_NO_MULTI need love, best would be to replace all multisources w/ single sources.
Diffstat (limited to 'libc/misc/time')
-rw-r--r--libc/misc/time/Makefile.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/libc/misc/time/Makefile.in b/libc/misc/time/Makefile.in
index 1588bed0e..64cbfe253 100644
--- a/libc/misc/time/Makefile.in
+++ b/libc/misc/time/Makefile.in
@@ -32,10 +32,7 @@ CSRC:=adjtime.c ftime.c
MISC_TIME_DIR:=$(top_srcdir)libc/misc/time
MISC_TIME_OUT:=$(top_builddir)libc/misc/time
-ifndef ($(DOMULTI),n)
-MISC_TIME_NO_MULTI:=strftime.o
-MOBJ:=$(filter-out $(MISC_TIME_NO_MULTI),$(MOBJ))
-endif
+MISC_TIME_NO_MULTI:=strftime.o mktime.o strptime.o gmtime.o localtime.o asctime.o asctime_r.o gmtime_r.o localtime_r.o
MISC_TIME_SRC:=$(patsubst %.c,$(MISC_TIME_DIR)/%.c,$(CSRC))
MISC_TIME_OBJ:=$(patsubst %.c,$(MISC_TIME_OUT)/%.o,$(CSRC))
@@ -44,7 +41,7 @@ MISC_TIME_MSRC:=$(patsubst %.c,$(MISC_TIME_DIR)/%.c,$(MSRC))
MISC_TIME_MOBJ:=$(patsubst %.o,$(MISC_TIME_OUT)/%.o,$(MOBJ))
MISC_TIME_MOBJx=$(patsubst %.o,$(MISC_TIME_OUT)/%.o,$(MOBJx))
-MISC_TIME_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(notdir $(MISC_TIME_MOBJ))))
+MISC_TIME_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(filter-out $(MISC_TIME_NO_MULTI),$(notdir $(MISC_TIME_MOBJ)))))
MISC_TIME_OBJS:=$(MISC_TIME_OBJ) $(MISC_TIME_MOBJ)