[uClibc-cvs] uClibc/extra/locale Makefile,1.8,1.9
Manuel Novoa III
mjn3 at uclibc.org
Fri Dec 20 21:52:27 UTC 2002
Update of /var/cvs/uClibc/extra/locale
In directory winder:/tmp/cvs-serv20830
Modified Files:
Makefile
Log Message:
Add a target so that people can download and use pregenerated locale data
files instead of generating approx 40Mb of glibc locales to get the 300+
locales currently supported.
Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/extra/locale/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile 20 Dec 2002 19:26:15 -0000 1.8
+++ Makefile 20 Dec 2002 21:52:24 -0000 1.9
@@ -111,6 +111,12 @@
ln -sf ../../../extra/locale/locale_data.o ../../libc/misc/locale
cp uClibc_locale_data.h ../../libc/sysdeps/linux/common/bits/
+pregen:
+ $(CC) $(CFLAGS_mmap) -c locale_data.c
+ $(STRIPTOOL) -x -R .note -R .comment locale_data.o
+ ln -sf ../../../extra/locale/locale_data.o ../../libc/misc/locale
+ cp uClibc_locale_data.h ../../libc/sysdeps/linux/common/bits/
+
clean:
rm -f *.[oa] *~ core
rm -f gen_wc8bit gen_wctype gen_locale gen_ldc gen_collate
More information about the uClibc-cvs
mailing list