summaryrefslogtreecommitdiff
path: root/libc/misc/locale
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/misc/locale
parent8b9c2bd0462a1185eaa4d320472106e9aa0c7646 (diff)
Only because of multi sources I had to touch up these and add code duplication
Diffstat (limited to 'libc/misc/locale')
-rw-r--r--libc/misc/locale/Makefile.in15
1 files changed, 12 insertions, 3 deletions
diff --git a/libc/misc/locale/Makefile.in b/libc/misc/locale/Makefile.in
index bdf42204d..e2fa8158a 100644
--- a/libc/misc/locale/Makefile.in
+++ b/libc/misc/locale/Makefile.in
@@ -33,13 +33,22 @@ MISC_LOCALE_DATA=$(patsubst %.o,$(MISC_LOCALE_OUT)/%.o,$(DATA))
MISC_LOCALE_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(notdir $(MISC_LOCALE_MOBJ))))
-$(MISC_LOCALE_MOBJ) $(MISC_LOCALE_MOBJ:.o=.os): $(MISC_LOCALE_MSRC)
+$(MISC_LOCALE_MOBJ): $(MISC_LOCALE_MSRC)
$(compile.m)
-$(MISC_LOCALE_MOBJx) $(MISC_LOCALE_MOBJx:.o=.os): $(MISC_LOCALE_MSRC)
+$(MISC_LOCALE_MOBJ:.o=.os): $(MISC_LOCALE_MSRC)
+ $(compile.m)
+
+$(MISC_LOCALE_MOBJx): $(MISC_LOCALE_MSRC)
+ $(compile.m) -D__UCLIBC_DO_XLOCALE
+
+$(MISC_LOCALE_MOBJx:.o=.os): $(MISC_LOCALE_MSRC)
$(compile.m) -D__UCLIBC_DO_XLOCALE
-$(MISC_LOCALE_DATA) $(MISC_LOCALE_DATA:.o=.os): $(top_builddir)extra/locale/$(notdir $(MISC_LOCALE_DATA:.o=.c))
+$(MISC_LOCALE_DATA): $(top_builddir)extra/locale/$(notdir $(MISC_LOCALE_DATA:.o=.c))
+ $(compile.c) -D__WCHAR_ENABLED -I$(dir $<)
+
+$(MISC_LOCALE_DATA:.o=.os): $(top_builddir)extra/locale/$(notdir $(MISC_LOCALE_DATA:.o=.c))
$(compile.c) -D__WCHAR_ENABLED -I$(dir $<)
libc-a-y+=$(MISC_LOCALE_MOBJ)