summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-01 22:12:53 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-01 22:12:53 +0000
commite077860853db46c4813969257c1a9e3025f0974f (patch)
tree2f5a051dc1fb50dd9ce9552c4312569133b913e9 /libc/string
parent8b9c2bd0462a1185eaa4d320472106e9aa0c7646 (diff)
Only because of multi sources I had to touch up these and add code duplication
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/Makefile.in20
-rw-r--r--libc/string/i386/Makefile.arch5
-rw-r--r--libc/string/powerpc/Makefile.arch5
3 files changed, 24 insertions, 6 deletions
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)