aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-29 07:32:44 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-29 07:32:44 +0000
commit15a2315cb457be0599d7a662e64aa54e560f96f0 (patch)
tree0e9915fb5d494269e1637674e5a78368d0700f81 /iconvdata/Makefile
parent6d110ca1858feba75e4b5528d7941770c59d6b5d (diff)
downloadglibc-15a2315cb457be0599d7a662e64aa54e560f96f0.tar
glibc-15a2315cb457be0599d7a662e64aa54e560f96f0.tar.gz
glibc-15a2315cb457be0599d7a662e64aa54e560f96f0.tar.bz2
glibc-15a2315cb457be0599d7a662e64aa54e560f96f0.zip
Update.
* iconvdata/Makefile (modules): Add ISO-2022-CN. Add link rules for this module. (distribute): Add iso-2022-cn.c and cns11643l2.h. * iconvdata/cns11643l2.h: New file. * iconvdata/iso-2022-cn.c: New file. * iconvdata/gconv-modules: Add entries for ISO-2022-CN module. * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument unsigned. (ucs4_to_cns11643l1): Likewise. * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4. * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion loop to UCS4. Optimize recognition of escape sequences a bit.
Diffstat (limited to 'iconvdata/Makefile')
-rw-r--r--iconvdata/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 8380f10526..73bb096e0f 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -44,7 +44,8 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
GOST_19768-74 GREEK-CCITT GREEK7 GREEK7-OLD INIS INIS-8 \
INIS-CYRILLIC ISO_6937-2 ISO_2033 ISO_5427 ISO_5427-EXT \
ISO_5428 ISO_10367-BOX MAC-IS MAC-UK NATS-DANO NATS-SEFI \
- SAMI-WS2 ISO-IR-197 TIS-620 KOI8-U GBK ISIRI-3342 GBGBK
+ SAMI-WS2 ISO-IR-197 TIS-620 KOI8-U GBK ISIRI-3342 GBGBK \
+ ISO-2022-CN
modules.so := $(addsuffix .so, $(modules))
@@ -73,6 +74,8 @@ $(objpfx)ISO-2022-JP.so: $(objpfx)libJIS.so $(objpfx)libGB.so \
$(objpfx)libCNS.so $(objpfx)libKSC.so
LDFLAGS-ISO-2022-KR.so = -Wl,-rpath,'$$ORIGIN'
$(objpfx)ISO-2022-KR.so: $(objpfx)libKSC.so
+LDFLAGS-ISO-2022-CN.so = -Wl,-rpath,'$$ORIGIN'
+$(objpfx)ISO-2022-CN.so: $(objpfx)libGB.so $(objpfx)libCNS.so
LDFLAGS-libJIS.so = -Wl,-soname,$(@F)
LDFLAGS-libKSC.so = -Wl,-soname,$(@F)
@@ -112,7 +115,7 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk \
koi8-r.c ksc5601.c ksc5601.h latin-greek.c latin-greek-1.c \
macintosh.c mac-is.c mac-uk.c nats-dano.c nats-sefi.c sjis.c \
t.61.c uhc.c sami-ws2.c iso-ir-197.c tis-620.c koi8-u.c \
- isiri-3342.c gbgbk.c
+ isiri-3342.c gbgbk.c iso-2022-cn.c cns11643l2.h
# We build the transformation modules only when we build shared libs.
ifeq (yes,$(build-shared))