diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-13 09:57:02 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-13 09:57:02 +0000 |
commit | 4390d8e705e11eec6c2eed552ceea25277fdbde3 (patch) | |
tree | c71e47cbc69b1b40dd222fcee66e36da1d340fd7 /libc/misc/time | |
parent | 9f88426bbabbe3518c6017961f041e41ddbd3d27 (diff) |
libc-{a,so,multi}-y replaced by libc-y covering common objects both in libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore
Diffstat (limited to 'libc/misc/time')
-rw-r--r-- | libc/misc/time/Makefile.in | 67 |
1 files changed, 17 insertions, 50 deletions
diff --git a/libc/misc/time/Makefile.in b/libc/misc/time/Makefile.in index b62032a25..b710b8b7c 100644 --- a/libc/misc/time/Makefile.in +++ b/libc/misc/time/Makefile.in @@ -1,73 +1,40 @@ # Makefile for uClibc # # Copyright (C) 2000 by Lineo, inc. -# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org> +# Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> # # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # -MSRC:=time.c -MOBJ:= asctime.o asctime_r.o clock.o ctime.o ctime_r.o gmtime.o gmtime_r.o \ - localtime.o localtime_r.o mktime.o strftime.o strptime.o tzset.o \ - _time_t2tm.o __time_tm.o _time_mktime.o dysize.o timegm.o \ - _time_mktime_tzi.o _time_localtime_tzi.o -MOBJx:= +CSRC := adjtime.c ftime.c +# multi source time.c +CSRC += asctime.c asctime_r.c clock.c ctime.c ctime_r.c gmtime.c gmtime_r.c \ + localtime.c localtime_r.c mktime.c strftime.c strptime.c tzset.c \ + _time_t2tm.c __time_tm.c _time_mktime.c dysize.c timegm.c \ + _time_mktime_tzi.c _time_localtime_tzi.c ifeq ($(UCLIBC_HAS_FLOATS),y) -MOBJ+=difftime.o +CSRC += difftime.c endif ifeq ($(UCLIBC_HAS_XLOCALE),y) -MOBJx:=strftime_l.o strptime_l.o +CSRC += strftime_l.c strptime_l.c endif - ifeq ($(UCLIBC_HAS_WCHAR),y) -MOBJ+=wcsftime.o +CSRC += wcsftime.c ifeq ($(UCLIBC_HAS_XLOCALE),y) -MOBJx+=wcsftime_l.o +CSRC += wcsftime_l.c endif endif -CSRC:=adjtime.c ftime.c - -MISC_TIME_DIR:=$(top_srcdir)libc/misc/time -MISC_TIME_OUT:=$(top_builddir)libc/misc/time - -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)) - -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,,$(filter-out $(MISC_TIME_NO_MULTI),$(notdir $(MISC_TIME_MOBJ))))) - -MISC_TIME_OBJS:=$(MISC_TIME_OBJ) $(MISC_TIME_MOBJ) - -$(MISC_TIME_MOBJ): $(MISC_TIME_MSRC) - $(compile.m) - -$(MISC_TIME_MOBJ:.o=.os): $(MISC_TIME_MSRC) - $(compile.m) - -$(MISC_TIME_MOBJx): $(MISC_TIME_MSRC) - $(compile.m) -D__UCLIBC_DO_XLOCALE - -$(MISC_TIME_MOBJx:.o=.os): $(MISC_TIME_MSRC) - $(compile.m) -D__UCLIBC_DO_XLOCALE +MISC_TIME_DIR := $(top_srcdir)libc/misc/time +MISC_TIME_OUT := $(top_builddir)libc/misc/time -libc-a-y+=$(MISC_TIME_OBJS) -libc-a-$(UCLIBC_HAS_XLOCALE)+=$(MISC_TIME_MOBJx) -libc-so-y+=$(MISC_TIME_OBJS:.o=.os) -libc-so-$(UCLIBC_HAS_XLOCALE)+=$(MISC_TIME_MOBJx:.o=.os) +MISC_TIME_SRC := $(patsubst %.c,$(MISC_TIME_DIR)/%.c,$(CSRC)) +MISC_TIME_OBJ := $(patsubst %.c,$(MISC_TIME_OUT)/%.o,$(CSRC)) -CFLAGS-multi-y+=$(MISC_TIME_DEF) -libc-multi-y+=$(MISC_TIME_MSRC) -libc-nomulti-y+=$(patsubst %.o,$(MISC_TIME_OUT)/%.o,$(MISC_TIME_NO_MULTI)) -libc-nomulti-$(UCLIBC_HAS_XLOCALE)+=$(MISC_TIME_MOBJx) +libc-y += $(MISC_TIME_OBJ) -objclean-y+=misc_time_objclean +objclean-y += misc_time_objclean misc_time_objclean: $(RM) $(MISC_TIME_OUT)/*.{o,os} |