Index: src/Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.499 diff -u -r1.499 Makefile.inc1 --- src/Makefile.inc1 7 Jul 2005 00:58:41 -0000 1.499 +++ src/Makefile.inc1 14 Jul 2005 20:37:25 -0000 @@ -370,7 +370,7 @@ @echo "--------------------------------------------------------------" ${_+_}cd ${.CURDIR}; \ ${WMAKE} -DNO_FSCHG -DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN \ - -DNO_NLS -DNO_PROFILE libraries + -DNO_PROFILE libraries _depend: @echo @echo "--------------------------------------------------------------" Index: src/lib/libc/Makefile =================================================================== RCS file: /home/ncvs/src/lib/libc/Makefile,v retrieving revision 1.56 diff -u -r1.56 Makefile --- src/lib/libc/Makefile 15 Jan 2005 05:23:56 -0000 1.56 +++ src/lib/libc/Makefile 14 Jul 2005 20:37:25 -0000 @@ -37,7 +37,10 @@ .endif .include "${.CURDIR}/locale/Makefile.inc" .include "${.CURDIR}/net/Makefile.inc" +.if !defined(NO_NLS) +CFLAGS+= -DNLS .include "${.CURDIR}/nls/Makefile.inc" +.endif .include "${.CURDIR}/posix1e/Makefile.inc" .if !defined(NO_QUAD) .include "${.CURDIR}/quad/Makefile.inc" Index: src/lib/libc/nls/Makefile.inc =================================================================== RCS file: /home/ncvs/src/lib/libc/nls/Makefile.inc,v retrieving revision 1.10 diff -u -r1.10 Makefile.inc --- src/lib/libc/nls/Makefile.inc 27 Feb 2005 22:17:47 -0000 1.10 +++ src/lib/libc/nls/Makefile.inc 14 Jul 2005 20:37:25 -0000 @@ -6,3 +6,17 @@ SRCS+= msgcat.c MAN+= catclose.3 catgets.3 catopen.3 + +# NOTE: C.msg should not be processed here, it's using as template +# for translators. + +NLSNAME= libc +NLSLANG+= ko_KR.UTF-8 +NLSLANG+= ko_KR.eucKR +NLSLANG+= pl_PL.ISO8859-2 +NLSLANG+= ru_RU.KOI8-R + +NLSSRCDIR= ${.CURDIR}/nls +.for lang in ${NLSLANG} +NLSSRCFILES_${lang}=${lang}.msg +.endfor