From e077860853db46c4813969257c1a9e3025f0974f Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 1 Nov 2005 22:12:53 +0000 Subject: Only because of multi sources I had to touch up these and add code duplication --- libc/string/Makefile.in | 20 ++++++++++++++++---- libc/string/i386/Makefile.arch | 5 ++++- libc/string/powerpc/Makefile.arch | 5 ++++- 3 files changed, 24 insertions(+), 6 deletions(-) (limited to 'libc/string') diff --git a/libc/string/Makefile.in b/libc/string/Makefile.in index 5f1f188c4..6b0a154ca 100644 --- a/libc/string/Makefile.in +++ b/libc/string/Makefile.in @@ -67,16 +67,28 @@ STRING_MOBJWx=$(patsubst %.o,$(STRING_OUT)/%.o,$(MOBJWx)) STRING_Wx=$(STRING_MOBJW) $(STRING_MOBJx) $(STRING_MOBJWx) STRING_OBJS:=$(STRING_MOBJ) $(STRING_Wx) -$(STRING_MOBJ) $(STRING_MOBJ:.o=.os): $(STRING_MSRC) +$(STRING_MOBJ): $(STRING_MSRC) $(compile.m) -$(STRING_MOBJW) $(STRING_MOBJW:.o=.os): $(STRING_MSRC) +$(STRING_MOBJ:.o=.os): $(STRING_MSRC) + $(compile.m) + +$(STRING_MOBJW): $(STRING_MSRC) + $(compile.m) -DWANT_WIDE + +$(STRING_MOBJW:.o=.os): $(STRING_MSRC) $(compile.m) -DWANT_WIDE -$(STRING_MOBJx) $(STRING_MOBJx:.o=.os): $(STRING_MSRC) +$(STRING_MOBJx): $(STRING_MSRC) $(compile.m) -D__UCLIBC_DO_XLOCALE -$(STRING_MOBJWx) $(STRING_MOBJWx:.o=.os): $(STRING_MSRC) +$(STRING_MOBJx:.o=.os): $(STRING_MSRC) + $(compile.m) -D__UCLIBC_DO_XLOCALE + +$(STRING_MOBJWx): $(STRING_MSRC) + $(compile.m) -DWANT_WIDE -D__UCLIBC_DO_XLOCALE + +$(STRING_MOBJWx:.o=.os): $(STRING_MSRC) $(compile.m) -DWANT_WIDE -D__UCLIBC_DO_XLOCALE libc-a-y+=$(STRING_OBJS) diff --git a/libc/string/i386/Makefile.arch b/libc/string/i386/Makefile.arch index 65f461cbb..36f4ec26f 100644 --- a/libc/string/i386/Makefile.arch +++ b/libc/string/i386/Makefile.arch @@ -20,7 +20,10 @@ STRING_ARCH_OBJS:=$(STRING_ARCH_MOBJ) STRING_ARCH_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(notdir $(STRING_ARCH_OBJS)))) -$(STRING_ARCH_MOBJ) $(STRING_ARCH_MOBJ:.o=.os): $(STRING_ARCH_MSRC) +$(STRING_ARCH_MOBJ): $(STRING_ARCH_MSRC) + $(compile.m) + +$(STRING_ARCH_MOBJ:.o=.os): $(STRING_ARCH_MSRC) $(compile.m) libc-a-$(UCLIBC_HAS_STRING_ARCH_OPT)+=$(STRING_ARCH_OBJS) diff --git a/libc/string/powerpc/Makefile.arch b/libc/string/powerpc/Makefile.arch index 97ae14e7f..75fcfc67d 100644 --- a/libc/string/powerpc/Makefile.arch +++ b/libc/string/powerpc/Makefile.arch @@ -18,7 +18,10 @@ STRING_ARCH_OBJS:=$(STRING_ARCH_MOBJ) STRING_ARCH_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(notdir $(STRING_ARCH_MOBJ)))) -$(STRING_ARCH_MOBJ) $(STRING_ARCH_MOBJ:.o=.os): $(STRING_ARCH_MSRC) +$(STRING_ARCH_MOBJ): $(STRING_ARCH_MSRC) + $(compile.m) + +$(STRING_ARCH_MOBJ:.o=.os): $(STRING_ARCH_MSRC) $(compile.m) libc-a-$(UCLIBC_HAS_STRING_ARCH_OPT)+=$(STRING_ARCH_OBJS) -- cgit v1.2.3